PyAutoMind holds task intent and workflow state. For registry schemas, prompt conventions, and operational detail, read REFERENCE.md only when the task needs them. Read README.md for the public overview.
- Inference and profiling campaign intent and their pending domain tasks live
in PyAutoInsight and PyAutoPulse (
campaigns.yaml,tasks/,CHECKIN.md; start with their check-in). Mind keeps the bounded implementation phases, issue/PR lifecycle and claims, linking the canonical task (docs/insight-task-migration.md,docs/pulse-task-migration.md). Source removal follows the destination merge, never precedes it. draft/<work-type>/<target>/<name>.mdholds unstarted prompts. Work types:feature,bug,refactor,docs,test,release,maintenance,research, andtriagewhen genuinely unclear;human_reviewonly when a human explicitly asks to review shipped work (hard rule 5).active/<name>.mdholds issued prompts;complete/<YYYY>/<MM>/<slug>.mdholds shipped records.scripts/lifecycle.pyowns these moves.repos.yamlowns repository identity and generated adapter rollout. Change it, then runpython3 scripts/repos_sync.py --write; never edit generated copies directly; root routing and Brain owner maps come from it.- Registry files (
active.md,planned.md,parked.md,condemned.md,epics.md,ideas.md) change through skills inskills/.dashboard.mdis generated (pyauto-brain intake --apply dashboardafter registry or draft changes); never hand-edit it. Dashboard copy follows policy/dashboard_copy.md. - Codex users trust the current
.codex/hooks.jsonhash with/hooks(untrusted hooks are skipped); the remote SessionStart bootstrap is Claude-only.
- Never rewrite history on any branch with a remote. No
git initover an existing repo, nogit push --forcetomain. - Pull before edit.
git fetch && git statusfirst, every time. If behindorigin/main,git pull --ff-onlybefore touching anything. - One prompt = one task = one PR. Split loosely related work before issuing.
tmp/is scratch. Never commit anything under it.- A human review is explicit. Only file
draft/human_review/when a human asks for it and declareType: human review; neither intake nor close-out may infer it.
Three facts, measured in a web/mobile container. A session holding several organs is cwd'd at the repos' parent, where no project hook fires, so nothing has set it up — this block is what does.
- Bootstrap in the first turn, unconditionally — before the first test
command, not as a remedy:
bash PyAutoMind/scripts/session_bootstrap.sh(--checkreports only). It supplies pytest/PyYAML/xdist and unshallows the clones, without whichgit merge-base --is-ancestorcalls a merged branch "not an ancestor" and the close-out acts on it. - Run the suite in parallel:
python3 -m pytest -q -n auto(4 cores, ~3.5x). - There is no
gh, and installing one does not help — it authenticates, then 403s every repo-scoped call through the egress proxy. GitHub is themcp__github__*tools;PyAutoBrain/skills/GITHUB_ACCESS.mdmaps eachghoperation onto its tool and is the one full page on the subject.
New intent: write draft/<work-type>/<target>/<name>.md or use $intake; never
move prompts into active/ or edit completion records by hand. Existing work:
$start-dev draft/<work-type>/<target>/<name>.md (Mind-relative in grouped and
flat layouts; it routes from @RepoName references). Set PYAUTO_MIND for an
explicit checkout.
Ledger-only pushes on claude/** or codex/** auto-merge
(.github/workflows/mind_ledger_merge.yml); code, skills, policy and prose need
a PR. Predict with python3 scripts/ledger_merge.py classify --base origin/main;
conflicts and classes: REFERENCE.md "How the ledger lands".
Never rewrite pushed history on any repo with a remote — no git init over a
tracked repo, no force-push to main, no fresh-start "Initial commit", no
filter-repo / filter-branch / rebase -i on pushed branches. To get a
clean tree: git fetch origin && git reset --hard origin/main && git clean -fd.
A session ends when it reports its deliverable — never arm anything that
outlives the turn to wait for CI, a review or a merge: no send_later, no
subscribe_pr_activity, CronCreate, ScheduleWakeup, /loop, RemoteTrigger
create/update/run, or Monitor or background loop on GitHub. Judge once, report,
stop; the human re-runs /prm (or the batch review) when it is green. The one
exception, the shift cockpit's stream: PyAutoMind policy/shift_cockpit_watch.md.
Measured: five batch members armed hourly check-ins on 2026-08-31, and a mobile
/prm re-armed a 60-minute send_later all night on 2026-09-03, draining usage.
Questions, help with code or an analysis, ideas, bug reports and results from a
user or collaborator — or an agent acting for one — go to
https://github.com/orgs/PyAutoLabs/discussions in the matching category
(Help & Questions, Ideas & Proposals, Bugs & Errors, Show and tell;
Announcements is maintainers-only), never to this repo's Issues. An agent never
runs gh issue create for such a report: it drafts the title, category and
body and hands them to the human (sessions cannot create Discussions). Only the
development flow — Mind prompt → /start_dev → /create_issue → one issue per
task → PR — opens issues here. Why: PyAutoMind/policy/community_surface.md.
Before changing a shared interface, consult the applicable organism standard on demand, identify affected consumers, and validate their adoption. Change generated guidance at its canonical source and regenerate.
For board changes, follow the applicable sizing, navigation and orchestration standards and reuse Brain’s shared components. Keep domain data, prompt meaning and approval boundaries with the board’s owner.