Repository navigation
docs(conventions): add loop-lane convention with ci-workflows-work-loop contract slice - #1147
Conversation
Move the work-loop and babysit-loop Briefs and the design-resolution gate file into the tracked topic-docs contract slice (contract_tier: branch default) so sibling worktrees, PR-babysit checkouts, and cloud clones see the plan as committed state. Faithful copies of the working Briefs; the .work originals stay in place. Phase 1 and Phase 2 status tags advanced to DONE (Phase 2 completes with this PR); other phase tags left TODO. Markdown-significant characters in the copied plan escaped so the now-tracked file passes the repo markdown gate. Co-authored-by: Claude Opus 4.8 <[email protected]>
Land the owner doc for the concerns shared across loop lanes in two plugins (work-items work-loop/attend-queue and source-control babysit-loop), before the second adopter, per the convention-registry rule: three-session topology with a human-merge-default autonomy ladder, the needs-human escalation contract, order-defined capability tiers resolved by model alias only, the loop-layer invariants (stop shapes with a drain-terminal state, #691 session-restart budget, #502 single edit-in-place telemetry comment with durable loop state, headless-config floor, seam exit 8, snapshot drain exit), the launch surfaces (/loop primary, claude-ops lanes one-directional), and the rate-limit guard inline-floor binding. Pointer-not-copy throughout; live Claude Code surfaces verified against official docs 2026-07-23. Adds one registry row to PLUGIN-PHILOSOPHY.md. Co-authored-by: Claude Opus 4.8 <[email protected]>
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
|
Warning Automated review did not complete — this is an infrastructure failure, not a review verdict. Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."
Re-running the job, or pushing a new commit, will retry the review. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4624f622b3
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…mantics Address two review findings on the loop-lane convention. §1 autonomy ladder: the shipped-default merge exception is a work-class test, not an authorship test. It covers only gate-proven C2-mechanical PRs (bot-, human-, or worker-authored); bot authorship alone never qualifies, and C3/C4/C5/unclassified stay human-gated regardless of author. State that the shipped default is the recorded baseline rung and every higher rung — including any C3 merge — requires the tracked-seam config flip that is the matrix's human-ratified promotion. §4 cycle budget (#691): state the invariant launcher-relative. A budget hit always emits a restart-request into the #502 block and stops the loop cleanly; under a launcher that acts on restart-requests the lane is relaunched and the loop continues (session restarts, loop does not end), but under a bare interactive /loop with no launcher the same hit is a terminal manual-restart state the operator owns. Removes the implied always-on restart owner. CHANGELOG summary bullet updated to match. Co-authored-by: Claude Opus 4.8 <[email protected]>
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1caa6c8848
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address two more review findings. §4 stop shapes: record the /loop seven-day expiry as a hard bound of the launch surface. A self-paced /loop ends automatically seven days after it starts regardless of idle backoff, so a standing lane needs a relaunch owner (operator while attended, or claude-ops lanes after the migration); the lane carries a loop-started timestamp in its #502 block so the expiry is visible ahead of time, and an expiry hit is handled like the cycle-budget hit. Fact verified against the official scheduled-tasks doc (#seven-day-expiry) on 2026-07-23 and cited inline. design-resolution.md (topic slice): the rationale ledgers stay in the gitignored .work memory slice per the plan, so the committed copy no longer references those paths as if tracked. It states they are session-local working state and points at the durable do-not-relitigate record — the Stress-test summary / Open questions sections of the two PLAN files in this slice. Co-authored-by: Claude Opus 4.8 <[email protected]>
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 05454a722d
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…at the seam Two review findings on §1 of the loop-lane convention. Recording (no policy change): the shipped C2-mechanical merge default is the operator-ratified baseline rung; state that a repository adopts it through its own reviewable lane-enabling change (the binding/config PR that turns a lane on), which is the recorded human-ratified act for the baseline, so no lane auto-merges without a reviewed change having enabled it. Directionality (gap fix): invocation arguments never raise the merge rung — a raise binds only from the tracked seam config layer, so every increase in merge authority is the recorded, reviewable act. Arguments may select a lower (safer) rung for a single run; argument precedence, which wins for other lane dimensions, is floored at the seam-config rung for merge authority. Co-authored-by: Claude Opus 4.8 <[email protected]>
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7f6ac4c2b7
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…anes Address a review finding: claude-ops lanes' restart is operator-initiated by its own contract (no scheduler runs restart today), so the cycle-budget and seven-day-expiry paragraphs no longer present it as an automatic restart owner. Until an automatic relaunch trigger exists, every budget or expiry hit is a terminal manual-restart state under any launch surface; the #502 restart-request is the shared surface the operator acts on today and an automatic trigger can act on later. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0169XBydnqC5S6bkHDz1TDwL
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 31a4726e3f
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Align the tracked babysit-PLAN B1 key-table with the loop-lane convention's "Merge-rung raises are seam-only" rule: invocation arguments may only select a lower merge rung; raises bind only from the tracked seam config. Closes the internal contradiction a review flagged between the plan's precedence note and the owner contract. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0169XBydnqC5S6bkHDz1TDwL
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 63569b97cb
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ding Two review findings. The subagent discipline preamble is now presence-gated per the seam-phrasing convention: with the re-anchor plugin installed the dispatch prompt invokes its sweep, and without it the prompt inlines the equivalent standing instructions — re-anchor is never a hard dependency. The tracked PLAN's Phase 7 launch-surface note no longer implies lanes automatically consumes restart-requests: lanes restart is the operator's one-command relaunch surface, with no automatic trigger today. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0169XBydnqC5S6bkHDz1TDwL
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f50849ccff
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Replace every remaining "bot/C2" disjunction in the tracked plan copies with the convention's work-class test: the shipped-default merge exception covers gate-proven C2-mechanical PRs irrespective of author, and bot authorship alone never qualifies. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0169XBydnqC5S6bkHDz1TDwL
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9fd1193a41
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| any higher rung — including any C3-autonomous merge — is a config change on the tracked, layered | ||
| config seam ([consumer-config layering](../consumer-config-layering/README.md)), which makes it | ||
| exactly the autonomy matrix's required **human-ratified knob flip recorded on the governance | ||
| surface** | ||
| ([`work-classes.md`](../../../plugins/autonomy/reference/guardrails/work-classes.md#promotion-and-demotion)). | ||
| C3-autonomous merge is therefore reachable only through a recorded, reviewable flip, never by | ||
| default — the matrix's promotion contract honored by construction. Demotion stays automatic and |
There was a problem hiding this comment.
When a repository enables a higher merge rung, this explicitly permits C3 autonomous merges after a tracked config flip. The governing matrix defines C3's merge policy as unconditional human merge; only C2 has an auto-merge promotion path. This would let an implementation bypass the class-specific merge floor for any scoped change, so higher rungs must not raise C3 merge authority unless the guardrail matrix itself is changed.
Useful? React with 👍 / 👎.
Summary
Phases 1 and 2 of the ci-workflows-work-loop plan: land the shared loop-lane convention before its
second adopter, and move the plan's Briefs into the tracked topic-docs contract slice.
docs/conventions/loop-lane/(new owner doc + CHANGELOG 1.0.0) fixes the contract shared by everyloop lane across two plugins — the
work-itemswork-loop/attend-queueskills and thesource-controlbabysit-loopskill — so those cross-plugin concerns live in a marketplace-levelowner doc rather than a sibling-plugin import, per the PLUGIN-PHILOSOPHY convention-registry rule
(the owner doc lands before the second adopter). Six contract sections: three-session topology with
a human-merge-default autonomy ladder; the
needs-humanescalation contract; order-definedcapability tiers (frontier/strong/fast) resolved by model alias only; loop-layer invariants (stop
shapes with a drain-terminal state, work-items(work): loop-prompt rule 20's cycle-budget stop trigger and an operator 'never stop' cadence override can silently conflict #691 session-restart budget, ops: loop-lane telemetry — running per-lane status (babysit / triage / work) #502 single edit-in-place
telemetry comment with compaction-durable loop state, headless-config floor, seam exit 8, snapshot
drain exit); consumers and launch surfaces (
/loopprimary and dependency-free,claude-opslanesa one-directional supporting launcher); and the rate-limit-guard inline-floor binding withthe single-account-per-machine invariant.
docs/PLUGIN-PHILOSOPHY.md— names and points, does not restate.docs/topics/ci-workflows-work-loop/(contract slice,contract_tier: branch) carries faithfulcopies of the plan's two Briefs and the design-resolution gate file; the Phase 1 and Phase 2 status
tags are advanced to DONE. These files are pruned before the plan's final merge, per the topic-docs
lifecycle.
Pointer-not-copy throughout: each cited mechanic is a link plus a short summary, never a restated
mechanics block. No hard-coded model IDs — capability tiers are order-defined and resolved at runtime
by model alias; the weekly-usage-cap specifics are linked to the official support article, never
named as fact. Live Claude Code surfaces (model aliases,
ScheduleWakeupbounds,/loopself-pacing) were verified against current official documentation on 2026-07-23, per the repo
fresh-docs mandate.
No linked issue — the plan is tracked in the topic slice, and the
#NNNreferences in the docs areci-workflows issues, not this repo's.
Test plan
.markdownlint-cli2.jsonc): 0 issues across all changed docs. Fivepre-existing markdown defects in the copied
PLAN.md(never linted while it lived in gitignored.work) were fixed by escaping markdown-significant characters and stripping one trailing space —content preserved.
.workoriginals untouched):(a) the
PLAN.mdmarkdown escaping + trailing-space trim above; (b) the copieddesign/design-resolution.mdrationale-ledger reference was rewritten to point at the durablein-slice record (the two PLAN files' Stress-test summary / Open questions), because those ledgers
deliberately stay in the gitignored
.workmemory slice and would otherwise dangle in the trackedcopy.
_typos.toml: clean.git ls-files docs/topics/ci-workflows-work-loop/lists exactly 3 files;grep -c "loop-lane" docs/PLUGIN-PHILOSOPHY.md= 1; bothdocs/conventions/loop-lane/README.mdand
CHANGELOG.mdexist; the plugin-citation grep returns pointer-form links/paths only.grep -E "claude-(opus|sonnet|haiku|fable)-[0-9]"empty); nomachine-specific paths; no trailing whitespace; LF endings.
not-yet-created
rate-limit-guardreader contract and the loop skill directories) are inline-codeliterals, not live links.
(producer != critic).
Related
(
docs/topics/ci-workflows-work-loop/PLAN.mdandbabysit-PLAN.md) — Phases 1-2 of a multi-PRplan. Phase 3 (the
rate-limit-guardplugin) introduces the reader contract this conventionforward-references; Phase 4 introduces the
work-loop/attend-queueskills; the babysit trackintroduces
babysit-loop. Those three are the adopters this owner doc lands ahead of.docs/PLUGIN-PHILOSOPHY.md"Convention registry".