Repository navigation
docs: pass explicit paths to prompt_sync_push (PyAutoMind#554) - #605
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Programme task M1.2, the companion to PyAutoLabs/PyAutoMind#555 (issue PyAutoLabs/PyAutoMind#554). Every skill call to
prompt_sync_pushnow passes the files that step actually writes. The helper refuses a call with no paths or with changes outside the given paths.intakeandprmincludestate.jsonalongside the dashboard pages.prm/reference.mdandcloseout.mduse the exact linelifecycle.py closeprints. They name the conditional files explicitly:planned.md/parked.md,autonomy_log.mdfor a glance row, and the prompt's real path. Theadd -Awarning is replaced by the new rule.ship_library: the PR-open push includesactive.md, and the workspace-pending step gains its push call.start_library/start_workspace: the push addsplanned.mdwhen the entry was promoted from it.ship_workspace: the record path uses the same<slug>asrecord.Docs only, no code. Merge after PyAutoLabs/PyAutoMind#555.
Test plan
pytest tests/: 1662 passed, 1 failed. The failure,test_grouped_organ_consumers.py::test_hygiene_map_and_heart_board_find_grouped_checkouts, comes from thePYAUTO_MINDexported byactivate.shand also fails on the base. It is filed as a follow-up.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: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