Repository navigation
docs(claude-ops): state that /loop never resets context; relaunch is the reset - #935
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ae9a43afee
ℹ️ 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".
|
Automated babysit-lane classification (safe tier — reply only; not resolving threads/merging).
Remaining blocker: this branch's mergeStateStatus is DIRTY/CONFLICTING against |
|
Claude finished @kyle-sexton's task in 1m 16s —— View job PR Review
Doc-only patch bump — 3 files changed. This PR adds a caveat section to the Overall: clean. Two nits, no blockers.
|
|
Claude finished @kyle-sexton's task in 1m 1s —— View job Security Review — PR #935
No security issues found. This PR is fully doc-only. All three changed files were reviewed:
The added prose accurately describes existing platform behavior and carries no exploitable surface. |
typos flagged `mis` (from "mis-assume") in the 0.17.5 caveat entry; reworded to "wrongly assume". Unblocks the #935 hygiene lane.
|
Claude finished @kyle-sexton's task in 1m 28s —— View job PR Review — #935
Doc-only patch bump — 3 files, 4 commits. Clean. This review covers the full PR including the latest commit ( Latest commit —
|
| Claim | Verdict |
|---|---|
/loop re-invokes via ScheduleWakeup in the same session — context carries forward |
Correct |
/clear issued from a loop run is plain text to the model, not an executed command |
Correct |
| Auto-compaction summarizes in place; it is not a fresh-session reset | Correct — P2 Codex finding addressed in 2c08178 |
restart is the only fresh-session reset; operator-initiated, not automatic |
Correct |
The "Until an automatic relaunch trigger exists" scoping is accurate and appropriate interim framing for #551.
Standing nit (not a blocker): The Cross-references section lists #480, #496, #502, and #514 but not #551. A line pointing to #551 there would make the forward pointer discoverable from the cross-reference index. Deferred to #551's own PR is fine.
No security, correctness, or CLAUDE.md compliance issues found. The repo-agnostic, configurable-without-editing, and plugin-form-safe design rules are not implicated by a documentation change. Ready to merge.
|
Claude finished @kyle-sexton's task in 1m 20s —— View job Security Review — PR #935
No security issues found. This PR is documentation-only across all four commits. Each changed file was reviewed in full:
|
…the reset The lanes SKILL.md now documents that a /loop lane re-invokes in the same session and cannot /clear itself, so the "restart at ~N% context" rule has no in-session enforcement. `restart` (fresh session from the canonical prompt) is the actual context reset, and it is operator- or launcher-initiated, not automatic. This stops a lane prompt from mis-assuming per-cycle freshness. Interim documentation ahead of an automatic relaunch trigger; the trigger mechanism itself is parked pending a decision. Co-Authored-By: Claude Opus <noreply@anthropic.com>
The lanes SKILL claimed a loop lane's context "accumulates monotonically" and that nothing inside the loop ever resets it. Claude Code's auto-compaction summarizes older history in place when the conversation nears the model's input limit, so a long-running lane loses earlier context to compaction before any operator relaunch — the session continues on a lossy summary, which is not a fresh reset. Clarify that auto-compaction is the automatic in-session context change, that it only summarizes (never clears), and that restart remains the only fresh-session reset. Fixes the P2 accuracy finding on this doc.
typos flagged `mis` (from "mis-assume") in the 0.17.5 caveat entry; reworded to "wrongly assume". Unblocks the #935 hygiene lane.
a430bb0 to
bcb0e97
Compare
|
Claude finished @kyle-sexton's task in 1m 27s —— View job PR Review — #935
Doc-only patch bump — 3 files, 3 commits. Clean. This review is against HEAD
|
| Claim | Verdict |
|---|---|
/loop re-invokes via ScheduleWakeup in the same session — context carries forward |
✓ Correct |
/clear issued from a loop run reaches the model as plain text, not an executed command |
✓ Correct |
| Auto-compaction summarizes in place; it is not a fresh-session reset | ✓ Correct (P2 Codex finding addressed in 9951c83) |
restart is the only fresh-session reset; operator- or launcher-initiated, not automatic |
✓ Correct |
Placement between "Purpose" and "Run it" is appropriate — operators encounter the constraint before the action table.
Standing nit (not a blocker): The Cross-references section lists #480, #496, #502, and #514 but not #551. Adding a pointer there (e.g. #551 (loop context-reset: automatic relaunch trigger) — the full mechanism this caveat anticipates) would make the forward reference discoverable from the index rather than only from the caveat body. Easy to include in #551's own PR.
No security, correctness, or CLAUDE.md compliance issues found. The repo-agnostic, configurable-without-editing, and plugin-form-safe design rules are not implicated by a documentation change. Ready to merge.
|
Claude finished @kyle-sexton's task in 1m 15s —— View job Security Review — PR #935
No security issues found. This PR is documentation-only across all three changed files. Each was reviewed against the custom instruction checklist (logic flaws, injection surfaces, token/secret handling, GitHub Actions patterns, permission widening, supply-chain risk).
|
|
Merge basis (Class B, cite-at-action-site per operating-procedures): operator ruling in handoff-7 / #607 — '#935 merge when CLEAN (operator or tower; rule-4 exempts it from merge-drive).' Restack verified independently (3-file diff exact vs main, 26/26 checks green, Codex P2 thread fix confirmed present on head bcb0e97 before resolve). |
Summary
Doc-only interim caveat to
claude-ops:lanesSKILL.md:/loopnever resets context — a running loop cannot/clearitself; an external fresh-session relaunch is the only reset. Patch bump + changelog entry.Staged on
fix/551-loop-context-resetand approved to ship as a standalone PR by operator ruling (ratification interview, 2026-07-22 ~03:05Z, recorded on #551). The full mechanism — per-cycle-fresh relaunch + externalized cadence handoff — continues under #551; this caveat stops readers from relying on the unenforceable "restart at ~50%" admonition in the meantime.No linked issue (interim caveat; #551 stays open for the full mechanism).
Related
🤖 Generated with Claude Code