Skip to content

docs: point repository docs and lane prompts at current upstream sections - #11772

Merged
kyle-sexton merged 15 commits into
mainfrom
docs/6916-w5-docs-prompts-pointers
Nov 1, 2026
Merged

kyle-sexton merged 15 commits into
mainfrom
docs/6916-w5-docs-prompts-pointers

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Refs: #6916

Summary

Wave 5 findings from the #6916 drift sweep in docs/ and prompts/loops/: 18 findings, each re-read at main b0e26671d3, with its upstream quote re-read raw on 2026-11-01. Every edit adds a pointer with an as-of date and recheck trigger, a label, or a qualifier. Findings: .work/backlog-to-zero/host-run-records/6916-w5.md waves B, C, D, I and J.

Fix

  • ADR 0045: dated notes saying a named agent keeps its pinned model only when the spawn passes none (a mod's agent.spawn hook or CLAUDE_CODE_SUBAGENT_MODEL_FORCE can replace both), and that the fan-out guard's opus can resolve to the main model on a provider where Claude Code cannot tell the family.
  • loop-lane/README.md and hook-observability/README.md: "fresh context" narrowed to non-fork subagents, pointing at sub-agents#how-forks-differ-from-other-subagents.
  • pr-pipeline/README.md Models: an unset effort takes the next level in the effort resolution order; subagent-model points at the subagent model order. A pr-pipeline patch fragment is included.
  • plugin-philosophy.md: the per-plugin model surface is narrowed to userConfig, and the mod hook is named; the low-effort reason is labeled as this repository's judgment; the pin-propagation probe is marked UNVERIFIED because its 2.1.285 trigger fired.
  • native-surfaces store and view: the three /agents dismissals give the command's current behavior; the claude-api row records the current subcommand table and its re-verify date. The view is regenerated with overlap.py generate.
  • official-docs.md: the agents row adds projects and its date. migration-playbook.md: drops the Agent fan-out example, since a subagent keeps Agent by default.
  • prompts/loops/: the four frontier best dispatches now name opus, by the coordinator's decision on the owner's recorded hold. The Fable rung is off (the ladder paragraph under "Models" in docs/conventions/pr-pipeline/README.md), with a recheck when the per-week Fable allowance is set. The alias list points at sub-agents#choose-a-model, as of 2026-11-01. The effort record points at model-config#adjust-effort-level and has a wider trigger.
  • The explicit-autopilot pre-escalation resolver is the one frontier dispatch that does not take opus: babysit-loop's reference/pre-escalation-dispatch.md rules out the review-work model, and opus is also the strong tier. While the Fable rung is off, that run escalates instead of dispatching, so the widening's resolution attempt is off until Fable is set. The merge-lane blocks in both prompt files say so, and the loop-lane/README.md Alias binding note names it as the exception.

Verification

  • scripts/check-affected.sh --tests on the committed head: 11 passed, 5 skipped.
  • Each upstream quote was grepped against a raw fetch (lib/fetch-docs.sh) of sub-agents, model-config, workflows, goal, hooks-guide, agents and skills on 2026-11-01. All held.
  • After the review fix: scripts/check-loop-lane-floor-drift.sh passes (7 consumers match) and markdownlint reports 0 issues on docs/contracts/loop-lane/README.md.

Remaining on #6916

This pull request delivers the docs and prompts share of wave 5. Still open on the issue:

Related

🤖 Generated with Claude Code

…ions

Wave 5 findings from the #6916 drift sweep in docs/ and prompts/loops/.
Each edit adds a pointer, as-of date and recheck trigger, a label, or a
qualifier. The lane prompts' frontier `best` dispatches now name `opus`,
because the Fable rung is off by the owner's recorded hold.

Refs: #6916

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 01:05
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T01:06:29.656228Z 2528e3c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 2528e3ce3ad38b3cfee81fb15bfc164f2d3ea79c; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread prompts/loops/loop-lane-prompts.md Resolved
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 908e44a55f69ea22f27c1a03c03894362204d7ae: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Incremental review since 9a38250a: no findings. It covers one file, docs/contracts/loop-lane/README.md, and I read the whole change.

What changed: One paragraph was added under "Alias binding" → "frontier binds best" (README.md#L731-L734). It makes the explicit-autopilot pre-escalation resolver an exception to the rule that frontier-tier Agent dispatches name opus. While the Fable rung is off, that resolver escalates instead of dispatching.

Consistency checks:

  • Lane prompts. The prompts/loops/ hunks in this PR say the same thing: the resolver "dispatches only at the frontier tier, never at the review-work model", and while the frontier rung is off it cannot dispatch. The contract no longer contradicts the prompts it says they follow.
  • The cited reference. pre-escalation-dispatch.md#L18-L20 says a run that cannot find which alias satisfies frontier escalates, because "inheriting the session's model, or a lower review-work model" gives up the capability the dispatch relies on. The README reads that clause as excluding opus, the strong tier's alias. That fits the reference's intent: the reference names no Agent-dispatchable alias that satisfies frontier while Fable is off, so escalating follows.
  • Known gap. The PR description says the merge-lane block still describes the resolver as dispatching at "the frontier tier's current alias" and leaves that out of scope. This change does not touch that file, so I did not report it.

I ran no checks myself. The PR's verification (check-affected.sh --tests, upstream quote greps) is the author's claim and unverified here.

Spend: none. This is a docs-only change and spends no credits or billing.

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 908e44a55f69ea22f27c1a03c03894362204d7ae: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: incremental (9a38250 → 908e44a)

Scope: I read the whole incremental change to docs/contracts/loop-lane/README.md, one hunk at L731-L734. I used the PR context only to check what the change claims to do. No other file changed since the last review.

What changed: The "Alias binding" subsection of §3 Capability tiers gets one new note. The explicit-autopilot pre-escalation resolver doesn't take the opus frontier alias. While the Fable rung is off, that run escalates instead of dispatching.

Security assessment: I found no security issues.

  • The text is documentation about which model alias a dispatch uses. It grants no token scope, trusts no new actor and widens no lane permission. It sends no untrusted text to a lane that holds credentials, and nothing in it can create a charge.
  • The note makes the automation do less: a run escalates to a person instead of dispatching. That narrows autonomous action, so the instruction-surface lens has nothing to flag.
  • The hunk sits outside "When work stops for the owner" (L316), the record this lane's threat-model exemption relies on. It changes no named friction hold and no hold on untrusted provenance.
  • The file doesn't match any listed trusted path, and it isn't a trust control, a merge hold or a plugin manifest.

PR context: It contains no embedded directives aimed at the review lane.

Spend: none. The note may lead to fewer autopilot dispatches, which only draws on subscription usage.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head f6beab18edb7de76a1d3bfa9d29e2ad3670ad0fd. What it wrote, as data:

What it wrote (29 lines)
Summary: PR #11772 is linked to #6916 by a `Refs:` line, so it only has to deliver part of that
  issue. The part it claims is in scope and the edits look correct: the wave 5 sweep findings in
  `docs/` and `prompts/loops/`, fixed with pointers, as-of dates and qualifiers. The CI suites that
  cover these files all passed. But the body never names what is left of #6916: the waves still to
  run over the remaining files, the 8 wave 4 findings, the capped files to re-run, and the final
  count comment. A partial delivery has to name its remaining work, so this fails. Smaller items for
  a person to look at are in the notes.
- PR body: under `Refs: #6916` it says which part it delivers (wave 5 findings in docs/ and
  prompts/loops/) but never says what remains of the issue. Add a 'Remaining' section that lists:
  the sweep waves over the files not yet covered, the 8 wave 4 findings still unfixed, the re-run of
  the capped files, the unpushed per-plugin branches, and the final count comment the done-when asks
  for. The 'Noticed but out of scope' line names one stray wording, not the issue's remaining work.
- prompts/loops/loop-lane-prompts.md:567: the frontier-tier dispatch for conflict resolution and
  security-surface work moves from `best` to `opus` (the same change is in
  prompts/loops/loop-lane-profile-claude-code-plugins.md:197 and :349, and
  loop-lane-prompts.md:716). The PR attributes this to the coordinator's decision under the owner's
  Fable hold. That fits #6916's recorded decision to drop `best`, and it does not loosen a hold, but
  a person should confirm that running security-surface work at `opus` is intended.
- docs/contracts/loop-lane/README.md:722: the new note says `best` is not a per-invocation Agent
  `model` value and ties frontier dispatches to `opus` until the Fable allowance is set. This is
  policy text that the lane prompts now follow, so it is worth an owner's read.
- docs/migration-playbook.md:129, docs/migration-playbook.md:1335, docs/official-docs.md:28,
  docs/official-docs.md:196 and docs/plugin-philosophy.md:1268: these are wording and punctuation
  edits ('collision bait', 'wreckage', colon-to-period) that are not sweep findings. They are out of
  scope but harmless.
- docs/plugin-philosophy.md:1316: 'No row names `haiku`, and no role routes to it until ..., and the
  routing rubric owns' chains two 'and's; the original colon read more clearly.
- upstream-jobs.json: every suite that ran passed. `lint-shell` was skipped, which is correct
  because the diff changes no shell file.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 1, 2026
Lane-Activity: pr-refine/fix-docs

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 95869ad720d7bc3f537f21a2666c5846b9dd4fe7; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread docs/migration-playbook.md Resolved
kyle-sexton and others added 3 commits October 31, 2026 21:29
The loop-lane convention binds the frontier tier to `best`, which the
Agent tool's `model` parameter does not take. A dated note in "Alias
binding" says frontier Agent dispatches name `opus` while the Fable rung
is held, so the lane prompts and the convention give one reading.

Refs: #6916

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review finding on the fix-docs lane's rewording: namespaced skills do not
collide, so the rule says a bare `audit` is ambiguous instead.

Refs: #6916

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on fef265093af5a11c65ec452430aac8e6ba93c2fa; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread docs/contracts/loop-lane/README.md Resolved
@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 1, 2026
kyle-sexton and others added 2 commits November 1, 2026 00:42
The cited ladder paragraph (pr-pipeline README, "Models") says the rung
waits on an owner decision and a per-week Fable allowance; it records no
hold. The loop-lane alias note and the four lane-prompt dispatch blocks now
say that.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 6e8bdde3f4dff5603e92814d932dc93487c9a86a; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread docs/plugin-philosophy.md Resolved
kyle-sexton and others added 2 commits November 1, 2026 02:37
The headline still claimed the pin covers every main turn while the
skill is active and every dispatched subagent, against the docs row it
quotes (rest of the current turn; a forked subagent under context:
fork). The headline now states the documented scope, the probe's wider
result stays as an unverified observation, and the Status line records
that both recheck triggers fired.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 5dc1245a378ce05b1095119a868287506ed3a9a4; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread prompts/loops/loop-lane-prompts.md Resolved
kyle-sexton and others added 2 commits November 1, 2026 03:40
… names

With frontier work now naming opus, the resolver exception still said it
"never runs at the review-work model", which no alias could satisfy. It
now dispatches at the alias the frontier work names (opus until the
frontier rung returns), never drops to the fast tier, and escalates when
it cannot dispatch at that alias. Same change in the claude-code-plugins
profile.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on dcd588082b9aab0a92661b992f9ba8afbb06cd92; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread prompts/loops/loop-lane-prompts.md Resolved
kyle-sexton and others added 2 commits November 1, 2026 04:58
The previous edit told the resolver to dispatch at opus, which the
babysit-loop reference it cites forbids (a review-work model forfeits the
dispatch's capability, so the run escalates). The prompts now say the
resolver dispatches only at the frontier tier and, while the frontier
rung is off, escalates instead, matching the reference and the behavior
before this PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 9a38250a4dcfd229106d74c22b175bbb8de3289e; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread prompts/loops/loop-lane-prompts.md Resolved
…s-opus

The Alias binding note says frontier-tier Agent dispatches name opus,
while the lane prompts keep the explicit-autopilot pre-escalation
resolver on the frontier tier or escalate. The note now states that
exception and why: opus is also the strong tier, so it adds no
capability over the review-work model pre-escalation-dispatch.md rules
out, and the run escalates while the Fable rung is off.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit d46d321 Nov 1, 2026
62 checks passed
@kyle-sexton
kyle-sexton deleted the docs/6916-w5-docs-prompts-pointers branch November 1, 2026 10:58
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