Skip to content

docs: pass explicit paths to prompt_sync_push (PyAutoMind#554) - #605

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/prompt-sync-explicit-paths
Nov 12, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/prompt-sync-explicit-paths

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Programme task M1.2, the companion to PyAutoLabs/PyAutoMind#555 (issue PyAutoLabs/PyAutoMind#554). Every skill call to prompt_sync_push now passes the files that step actually writes. The helper refuses a call with no paths or with changes outside the given paths.

  • intake and prm include state.json alongside the dashboard pages.
  • prm/reference.md and closeout.md use the exact line lifecycle.py close prints. They name the conditional files explicitly: planned.md / parked.md, autonomy_log.md for a glance row, and the prompt's real path. The add -A warning is replaced by the new rule.
  • ship_library: the PR-open push includes active.md, and the workspace-pending step gains its push call.
  • start_library / start_workspace: the push adds planned.md when the entry was promoted from it.
  • ship_workspace: the record path uses the same <slug> as record.

Docs only, no code. Merge after PyAutoLabs/PyAutoMind#555.

Test plan

  • Brain skill line counts OK. Tenant firewall OK.
  • Brain pytest tests/: 1662 passed, 1 failed. The failure, test_grouped_organ_consumers.py::test_hygiene_map_and_heart_board_find_grouped_checkouts, comes from the PYAUTO_MIND exported by activate.sh and also fails on the base. It is filed as a follow-up.
  • Independent review covered both repos: FINDINGS, then fixed, then CLEAN.

Heart RED override (development only)

Authorization from the live human in the programme session, 2026-11-12: "Override + merge on green". This authorizes the development-only RED override for PyAutoMind#554 and gives the merge command (Mind PR first, then the Brain docs PR), conditional on every required check being green within the turn.

Heart verdict RED (pyauto-heart readiness, ts 2026-11-12T17:29:04Z). The current RED reasons, verbatim:

  • "PyAutoLens: on branch feature/shapelets-review (not main)"
  • "PyAutoLens: 2 uncommitted source change(s)"
  • "install verification FAILED (testpypi; checks F)"
  • "release validation FAILED (stage integrate)"

None of these is in PyAutoMind or PyAutoBrain. Branch gates passed: tests (above), review CLEAN, smoke not applicable. This PR does not fix Heart, and Heart stays RED for release.

Tier: glance. Merge mode: auto-merge on green if the Witness passes, with a post-merge summary. A RED override additionally needs the human's merge command, which was given in the same turn.

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits November 12, 2026 17:26
prompt_sync_push now commits only the paths it is given and refuses on
changes outside them, conflict markers, or an unparseable state.json. Every
skill call site names the files its step changes: intake (prompt +
dashboard pages), start_dev / start_dev_for_user / start_library /
start_workspace (active.md, or planned.md on a conflict), ship_library /
ship_workspace (the paths `lifecycle.py record` changes, plus
autonomy_log.md at PR-open), and prm, whose `add -A` warning is replaced by
the new rule. start_dev carries the one-paragraph note on the refusals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…554 review)

Review findings on #554: several documented calls would refuse.

- intake + prm: the dashboard render writes state.json too; it is now listed.
- prm close-out: points at the exact line `lifecycle.py close` prints and
  spells out the conditional files (planned.md / parked.md when the dry run's
  `registry:` lines name them, autonomy_log.md for a glance shadow row, the
  prompt's real active/ or draft/ path, plus sweep paths); closeout.md says
  the same.
- ship_workspace: the record path uses the same <slug> passed to `record`.
- ship_library: the PR-open push carries active.md with autonomy_log.md (the
  row's awaiting-merge status), and the workspace-pending push gets its call.
- start_library / start_workspace: add planned.md when the entry was promoted
  from it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 3dfe370 into main Nov 12, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/prompt-sync-explicit-paths branch November 12, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant