You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Order STANDUP.md Section 2 So carry.py Runs Against a Clean Target #4228
STANDUP.md section 2 opens with this order: "After the baseline files are present, apply every applicable whole-tree declaration" with scripts/carry.py.
The same paragraph says the carry tool "refuses a shared or dirty target worktree".
A standup tree that already holds its baseline files, uncommitted, is dirty, so carry.py check and apply refuse it.
In practice the standup has to move its uncommitted baseline out of the tree, run check, apply and check, and then move the files back.
That is easy to get wrong, and the section never says to do it.
Reproduce
On a fresh standup branch, copy in the section 1A and section 2 files without committing them.
Run uv run --no-project --script scripts/carry.py check "<Repo>" --target <standup worktree>.
It refuses the dirty target.
Suggested fix
Put the whole-tree carry where a clean tree is guaranteed. Either:
run carry.py first in section 2, before any other baseline file is written, or
tell the standup to commit the baseline on its feature branch before running carry.py, then commit the carried tree on its own.
Alternatively, let carry.py accept a target whose only changes sit outside every declared tree. That would keep the current order valid.
Decision triage, 2026-11-19. How should STANDUP.md section 2 be ordered so scripts/carry.py runs against a target it accepts?
carry.py refuses a target with uncommitted changes outside the declared trees, and section 2 runs it "after the baseline files are present". The issue's first suggestion, running carry.py first in section 2, does not work on its own. Section 1A has already written AGENTS.md, GOVERNANCE.md and the rest into the tree by then, uncommitted, so the target is already dirty when section 2 starts. The choice between a procedure change and a tool change is the maintainer's.
Options
Commit before carrying (recommended). Section 2 tells the standup to commit what sections 1A and 2 wrote on its feature branch, then run check, apply and check, then commit the carried tree on its own. The commits cost nothing to history, because section 0B already squashes the standup pull request into develop. It also keeps every later re-run working, including the closing check and any re-carry when the hub's skills move during a long standup. It changes prose only.
Carry before section 1A writes anything. Move the whole-tree carry to the first write into the standup tree, right after section 1. This matches RESYNC.md, which runs the carry modes before anything else writes. It holds only for the first run. Any later check meets the same refusal unless the work in between is committed, so it still needs the commit instruction from option 1.
Relax carry.py. Let a tree carry accept changes outside every declared tree. The tree modes write only inside their owned roots, so this risks no overwrite. It removes a check that Add Manifest-Driven Verbatim Tree Propagation #804 added deliberately, and it makes the tree modes differ from the section modes, which must keep refusing because they write into mixed files. It is a code change with tests for a problem a sentence of procedure solves.
Evidence:
scripts/carry.py, verify_target already allows changes inside the declared trees and refuses the rest as "unrelated changes". run_sections passes no owned roots, and its comment explains why mixed files cannot be exempted.
spec/files.json declares two trees, .github/skills for every repository and lib/fleet/sh for host-secrets. Section 1A's files sit outside both.
Effect on work in flight: none. No open pull request touches STANDUP.md, the standup-a-repo skill, or carry.py. #4223 edits the same section of STANDUP.md, so the two fixes can land in one pull request.
Maintainer's answer, 2026-11-19 (decision triage): option 1.STANDUP.md section 2 commits what sections 1A and 2 wrote on the feature branch, then runs carry.py check, apply, and check, then commits the carried tree on its own. carry.py is unchanged. This is now work, in one pull request with #4223.
Activity
ptr727 commentedon Nov 20, 2026
Decision triage, 2026-11-19. How should
STANDUP.mdsection 2 be ordered soscripts/carry.pyruns against a target it accepts?carry.pyrefuses a target with uncommitted changes outside the declared trees, and section 2 runs it "after the baseline files are present". The issue's first suggestion, runningcarry.pyfirst in section 2, does not work on its own. Section 1A has already writtenAGENTS.md,GOVERNANCE.mdand the rest into the tree by then, uncommitted, so the target is already dirty when section 2 starts. The choice between a procedure change and a tool change is the maintainer's.Options
check,applyandcheck, then commit the carried tree on its own. The commits cost nothing to history, because section 0B already squashes the standup pull request intodevelop. It also keeps every later re-run working, including the closingcheckand any re-carry when the hub's skills move during a long standup. It changes prose only.RESYNC.md, which runs the carry modes before anything else writes. It holds only for the first run. Any latercheckmeets the same refusal unless the work in between is committed, so it still needs the commit instruction from option 1.carry.py. Let a tree carry accept changes outside every declared tree. The tree modes write only inside their owned roots, so this risks no overwrite. It removes a check that Add Manifest-Driven Verbatim Tree Propagation #804 added deliberately, and it makes the tree modes differ from the section modes, which must keep refusing because they write into mixed files. It is a code change with tests for a problem a sentence of procedure solves.Evidence:
scripts/carry.py,verify_targetalready allows changes inside the declared trees and refuses the rest as "unrelated changes".run_sectionspasses no owned roots, and its comment explains why mixed files cannot be exempted.spec/files.jsondeclares two trees,.github/skillsfor every repository andlib/fleet/shforhost-secrets. Section 1A's files sit outside both.applyvalidates before writing.carry.py checkclean in a standup that had to work around this order.verify_targetfetchesorigin developand requires the feature branch to contain it. So any option here needs the seed push from section 0B done first. Option 2 pulls that deadline earlier, to right after section 1. The answer here does not constrain the choice in Let a Guarded Session Seed main and develop in a STANDUP.md Section 0B Standup #4223, only where its step sits.Effect on work in flight: none. No open pull request touches
STANDUP.md, thestandup-a-reposkill, orcarry.py. #4223 edits the same section ofSTANDUP.md, so the two fixes can land in one pull request.ptr727 commentedon Nov 20, 2026
Maintainer's answer, 2026-11-19 (decision triage): option 1.
STANDUP.mdsection 2 commits what sections 1A and 2 wrote on the feature branch, then runscarry.pycheck, apply, and check, then commits the carried tree on its own.carry.pyis unchanged. This is now work, in one pull request with #4223.ptr727 commentedon Nov 20, 2026
Backlog burndown claim (2026-11-19 attended run, round 1, group 4): branch
burndown/standup-seed-carry-order.Issues: #4223, #4228, #4224.
Predicted file set:
STANDUP.md.agents/skills/standup-a-repo/SKILL.mdGenerated from those:
.github/skills/standup-a-repo/SKILL.md,.claude-plugin/fleet-skills/skills/standup-a-repo/SKILL.md,.claude-plugin/fleet-skills/.source-digests/standup-a-repo.Order the STANDUP.md Seed Push, Carry Commits, and Secret Hand-Over (#…