Repository navigation
Description
Found by the canonical-content review pass on the PR for #1075/#1120/#1114/#1119/#1129/#1078. The path-qualification defects that pass found are fixed there; these four need a decision about what the text should say, so they are filed instead.
1. repo-worktree forbids in one unit the command it requires in another
The Base Branch says of the base clone:
outside "Listing and Cleanup"'s own terminal step below, nothing else does: never
checkout,pull,reset,commit, or any other command that mutates its own working tree, index, or HEAD while a task is in progress.
Creating a Worktree says, of a continuation whose branch is already checked out somewhere:
Return that checkout to its own working branch first when its tree is clean, and stop when it is not, because a dirty tree there may be another task's uncommitted work.
When the "somewhere" is the base clone, which is the case the mandate exists for, the two units give opposite instructions and neither states an exception. The reader either stalls or performs the base-clone checkout the first sentence forbids.
Mechanically the switch is already permitted: gh-write-guard.py exempts checkout <ref>/switch <ref> carrying no force flag, and The Base Branch names that exemption. So only the prose conflicts, and prose is the only layer that binds a non-Claude-Code agent. What it needs is one sentence saying which unit wins.
2. resync-a-repo omits the --branch flag its own cited procedure requires
The skill says:
Then run the audit end to end,
RESYNC.mdsection 2, against the target'smainbranch, neverdevelop. A finding is a snapshot, so quote the run stamp in anything derived from it and re-run before acting on a finding read earlier in the session.
RESYNC.md section 2 documents python3 spec/audit.py --branch <ref> <Repo> as "the supported way to read something else, and a resync is when it earns its place", because convergence lands on a feature branch and reaches main only after the maintainer merges. The skill names no flag.
Following both sentences literally fails mid-resync: a reader re-running the audit after applying fixes measures main, sees every finding their in-flight branch already fixed, and cannot tell converged work from outstanding work.
3. GOVERNANCE.md "Repository Layout" mis-describes two entries and omits two trees
The hub-only trees now carry their qualifier, but three content problems remain.
.github/workflows/ is described as:
this repo's own lint-only CI and source-only release, the workflow contract it dogfoods.
The directory also holds the fleet's reusable task workflows every downstream repo calls (build-release-task.yml, validate-task.yml, deploy-site-task.yml among others), which this does not account for. In a carrier the same line asserts that repo's CI is lint-only and its release source-only, which is wrong for every csharp, python, docker and hugo repo in the fleet.
docs/ is described as holding "hub-only procedure and measurement docs", but STANDUP.md and RESYNC.md are hub-only procedure docs sitting at the repository root, and neither appears in the layout at all. A reader asking where the STANDUP.md that AGENTS.md "Fleet Bootstrap" routes them to lives is sent to docs/ and finds it is not there.
The section is the fleet's answer to "where a file belongs in the tree" and omits .agents/ and host-setup/, both cited by path from other canonical units. The omission is invisible because the list otherwise reads as complete.
4. Nothing lints .github/actions/**/action.yml
workflow-ci-contract "After Any Workflow Edit" tells the reader to run actionlint locally before pushing. That check covers only .github/workflows/*.yml|yaml: scripts/docker_lint.py's actionlint entry declares exactly those two patterns, and the raven-actions/actionlint step in .github/workflows/validate-task.yml passes no file list, so it uses the same default.
The hub holds nine composite actions under .github/actions/, and the same skill's "Reached, not carried" bullet makes them part of the workflow surface. A reader edits a composite action's action.yml, runs the prescribed check, gets a clean result that read zero of their changed files, and pushes a malformed action that surfaces only when a publish run executes it.
This is a gate gap rather than a wording one, which is why it is filed rather than patched: whether docker_lint.py and the CI step widen their patterns is a tooling decision.
Not This Issue
#1152coversWORKFLOW.mdsection 4's contract claims.#1153coversCODESTYLE.md's language coverage.#1154covers the commit-subject length rule.
Activity
ptr727 commentedon Sep 1, 2026
5. The C# "authoritative gate" never compiles, so
TreatWarningsAsErrorsis not exerciseddotnet-codestyle"Build requirements" says:The same unit defines the clean-compile as
CSharpier Format->.NET Build->dotnet format style --verify-no-changes..github/workflows/validate-task.yml's C# steps are only two:There is no build step. The only compile anywhere in that workflow is
dotnet testin theunit-testjob, gated onhashFiles('**/*Tests*.csproj') != ''(line 281).So a .NET repo with no test project never compiles in the validator, and a PR introducing an analyzer warning passes the gate green. A repo that trusted the "authoritative gate" sentence and skipped the local hook, which the same bullet only "strongly suggests", merges the warning. A repo with no
.config/dotnet-tools.jsonalso silently loses the CSharpier half, since that step is gated on the manifest existing.This is the same shape as item 4 above: the prescribed check does not reach what the prose says it covers. Whether the validator grows a build step, or the prose stops calling it the authoritative gate for warnings, is the decision.
Found by the third canonical-review round on the PR for #1075/#1120/#1114/#1119/#1129/#1078.
ptr727 commentedon Sep 1, 2026
6.
repo-worktreehas no continuation procedure for the standalone-clone fallbackCreating a Worktreegives one continuation procedure, the registered-worktreegit worktree add <path> <task-branch>. The standalone-clone fallback block above it ends atswitch -c <task-branch> origin/develop, and nothing says how a continuation under that fallback attaches its existing branch.An agent resuming a task under the fallback follows the only fallback commands it has, recreates
<task-branch>atorigin/develop, and loses the branch's existing commits from its local tip. The first push is rejected as non-fast-forward with no explanation the unit covers.I drafted a fix for this in the PR for #1075/#1120 and then reverted it, because each review round found another defect in the added text and the underlying gaps belong here rather than in a carried-text PR. What a correct fix has to cover, all of it verified against the unit and the guard:
~/repos/worktrees/<Repo>-<task-slug>andgit worktree addexitsfatal: '<path>' already exists. The unit anticipates only the other refusal, a branch already checked out elsewhere, and its remedy does not clear an occupied path.fatal: cannot change to '<temporary-root>/...'.git switch <task-branch>without-Cis not backstopped.gh-write-guard.pyrule 6 exemptscheckout <ref>/switch <ref>carrying no force flag when the argument resolves as a ref, which is exactly the normal continuation case in a base clone holding the local task branch. So a forgotten-Cmutates the maintainer's primary checkout and no hook fires. Any wording here must not claim rule 6 catches it.-Cin this unit is not one idea. In the create blocks-C ~/repos/<Repo>points at the base clone deliberately, andgit clone --no-checkoutcarries none, so a rationale framing every-Cas protecting the base clone is false against the unit's own blocks.7.
The Base Branch's exemption list does not match the cleanup step it citesCleanup also runs
git worktree remove <exact-path>,git branch -d/-D <exact-branch>,git fetch --prune, andgit statusagainst the base clone, so it needs more than "exactly those". A reader checking cleanup against this sentence findsworktree removeandbranch -Din neither the exempt list nor the never-list, and either stops mid-cleanup or runs them blind.8.
Creating a Worktree's command blocks hardcodeorigin/developEvery block in that unit bases on
origin/develop, and themain-only exception lives only inThe Base Branch. A reader who reaches the unit with the commands directly bases amain-only task ondevelop.ptr727 commentedon Sep 1, 2026
9.
resync-a-reporeads hub-owned content one section before it says to fetch the hubRaised by CodeRabbit on PR #1157 and confirmed against the file.
"Confirm the procedure before starting" opens the skill with:
The next section, "Reach the hub and measure before changing anything", is where the reader is told to:
RESYNC.md,spec/andregistry/are all hub-hosted rather than carried, so the first section directs a reader to read and run hub-owned content one section before the fetch rule appears. A reader with no hub checkout cannot do the first section at all, and one with a stale checkout does it against whatever that clone last fetched, which is the failure the fetch rule exists to prevent.The fix is a restructuring of the two sections rather than a wording change, which is why it is filed rather than folded into #1157.
ptr727 commentedon Sep 1, 2026
10. "The Base Branch" both permits and forbids
pull --ff-onlyin the same paragraphA sharper statement of item 7's conflict, from the canonical pass on PR #1157's third fix round. Item 7 covered the exemption list not matching the cleanup step's commands; this is about the paragraph contradicting itself on one command.
The paragraph bans, with a catch-all:
then says:
and closes:
"stay exempt even there" presupposes these shapes are already exempt from the prose ban, but that ban grants no
--ff-onlyexemption and its catch-all coversmergetoo. The closing sentence then says prose is what binds for exactly the shapes the hook exempts, which reads as forbidding them.Concrete failure: an agent asked to refresh a base clone before
worktree addcannot tell whethergit -C <base clone> pull --ff-onlyis permitted. The hook allows it, one sentence calls it exempt, and the next says prose is the binding layer for it.One detail for whoever fixes it: the exemption text is otherwise accurate against
gh-write-guard.pyrule 6, except that it omits that a bare-positional is exempt without needing to resolve as a ref.Answer the Third Review Round
Fix Carried Text a Downstream Repository Cannot Fix in Its Own Copy (#…
Split Two Sentences That Carried Several Instructions Each (#1181)
Promote develop to main: carried-text fixes a downstream repository c…
ptr727 commentedon Sep 11, 2026
Answered by the maintainer on 2026-09-11, for item 5 only (the C# validator and the authoritative-gate claim): add a build step to the validator. The prose's "authoritative gate" wording stands and the validator changes to match it, rather than the wording being narrowed. The
decisionlabel stays, since the issue's other sub-decisions are still open.ptr727 commentedon Sep 18, 2026
Decision (ptr727, 2026-09-17), item by item.
1. The base-clone conflict: name the switch an exception.
The Base Branchgains one sentence making a continuation's return of the base clone to its own working branch a second exception beside "Listing and Cleanup"'s terminal step.gh-write-guard.pyalready exempts a non-forcecheckout <ref>orswitch <ref>, and that unit already names the exemption, so only the prose moves and the documented path becomes performable. The alternative considered and declined wasThe Base Branchwinning absolutely, which stalls exactly the continuation case the mandate exists for.2.
resync-a-repo's missing flag: the skill states both invocations itself. The first read measures the target'smain. Every re-run after fixes are applied measures the in-flight convergence branch,python3 spec/audit.py --branch <ref> <Repo>. Both appear in the skill rather than as a pointer toRESYNC.mdsection 2, so the skill still works read in isolation without a hub checkout open beside it.3.
GOVERNANCE.md"Repository Layout": fix all three. Re-describe.github/workflows/as holding both this repository's own CI and the fleet's reusable task workflows, with the hub-specific half qualified so a carrier does not read it as a claim about itself. Add the root-levelSTANDUP.mdandRESYNC.md. Add.agents/andhost-setup/rows.4. Unlinted composite actions: add a schema check, because actionlint cannot be the tool. Measured on this tree rather than inferred:
docker run --rm -v "$PWD":/repo -w /repo rhysd/actionlint:latest .github/actions/validate/action.ymlexits 1 with"jobs" section is missing in workflow, so actionlint parses action metadata as a workflow and widening its globs is unavailable. Instead add a linter entry validating.github/actions/**/action.ymlagainst the GitHub action-metadata schema, check-jsonschema'svendor.github-actionsbuiltin, inscripts/docker_lint.pyand in the CI step, and correctworkflow-ci-contract"After Any Workflow Edit" to say what each check actually covers. That closes structure and key errors. It leaves a composite action'srun:blocks andif:expressions still unchecked, which the corrected text has to say rather than imply.The
decisionlabel comes off with this comment, per round 15's learning that an answered decision still carrying the label is indistinguishable from an unanswered one.Fix the Base-Clone Conflict, the Missing Audit Flag, and the Layout
Fix the Base-Clone Conflict, the Missing Audit Flag, and the Layout (#…
Check Composite Action Metadata Against the GitHub Action Schema (#1686)
Promote the #1155 Carried-Text Fixes and the Composite Action Schema …
ptr727 commentedon Nov 1, 2026
Split per item at the maintainer's direction (backlog-burndown run, 2026-11-01). Each item is now its own issue and carries its decision: #3766 (item 1, base-clone switch exception), #3767 (item 2, resync-a-repo's two audit.py invocations), #3768 (item 3, Repository Layout), and #3769 (item 4, composite-action schema check). Further work happens on those issues. This parent stays open for the maintainer to close.
Explain the Workspace-Edit Default and Name the Aggregator's Expressi…
ptr727 commentedon Nov 10, 2026
Closed as superseded by its split issues (open-issue sweep, 2026-11-10), at the maintainer's direction.
Each of the four items is its own issue carrying its decision. #3767, #3768, and #3769 are closed as fixed in this sweep. #3766, the base-clone switch exception in
repo-worktree, is the one still open, and work continues there.