Skip to content

docs(harness-ops): state what consume-restarts relaunches and what lanes can measure - #15536

Merged
kyle-sexton merged 5 commits into
mainfrom
docs/lanes-restart-consumer-facts
Nov 12, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
docs/lanes-restart-consumer-facts

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: verified fixes from the lanes-round review of the cohort-005 course work

Summary

Five docs passages describe lane relaunch, lane context measurement and denial telemetry as they stood before consume-restarts and context-guard's headless snapshot existed. They told readers that no automatic relaunch exists, that a lane cannot measure its context, and that auto-mode denials land in lane telemetry. Each was checked against current code and docs before this change.

Fix

  1. docs/contracts/loop-lane/README.md, cycle budget: harness-ops lanes ships consume-restarts, which relaunches a stopped lane whose telemetry carries a restart_request, once the operator registers its OS schedule.
  2. plugins/harness-ops/skills/lanes/SKILL.md, session lifecycle: states the same trigger, and that nothing relaunches a lane on a context threshold or after a crash.
  3. The same file, context threshold: context-guard writes the snapshot in -p and --bg sessions, so a lane can read its zone. Zone lines reach the model only with model_notices on. A lane still cannot reset its own context.
  4. plugins/planning/skills/draft-goal-condition/SKILL.md: drops "spends most of its life degraded" and links the context-window docs on compaction instead.
  5. docs/contracts/loop-lane/README.md, permission modes: an auto-mode denial returns to the session as an error tool result and shows in the transcript and claude logs; whether it reaches lane telemetry is unprobed.
  6. restart-consumer.md and restart-consumer.sh: the OS schedule survives a crash, but a crashed lane writes no restart_request, so the consumer does not relaunch it.

Verification

  • Each claim was re-read at origin/main 459a75dff2: the relaunch predicate at restart-consumer.sh:136-147, reader-contract.md:20-21 ("in interactive, -p and --bg sessions alike") and :313-314 ("only with the model_notices option on, which is off by default"), and denial-probe.md run C for the denial path.
  • markdownlint-cli2 reports no issues on the changed files; bash -n restart-consumer.sh passes; check-changelog-fragments.sh --check passes.
  • Open PRs docs: drop stamps from pointer records (docs) #15463 and docs: drop stamps from pointer records (batch 5) #15473 share two of these files but edit other lines.

Related

  • harness-ops and planning changelog fragments; loop-lane contract CHANGELOG 19.6.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr

…nes can measure

The loop-lane contract and the lanes skill said no automatic relaunch
trigger exists. consume-restarts is that trigger: on an OS schedule the
operator registers, it relaunches a stopped lane whose telemetry carries
a restart_request. A crashed lane writes none and stays down.

- loop-lane README: cycle-budget paragraph names consume-restarts;
  Permission modes says an auto-mode denial returns as an error tool
  result and its reach into lane telemetry is unprobed. CHANGELOG 19.6.1.
- lanes SKILL.md: a lane can read its context zone from the
  context-guard snapshot but cannot reset its own context; restart
  paragraph names consume-restarts.
- restart-consumer.md and restart-consumer.sh: the OS schedule survives
  a crash, but a crashed lane is not relaunched.
- planning draft-goal-condition: a single window continues past a full
  context only through auto-compaction, with a link to the docs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T04:04:38.405751Z 4790c83 PR opened
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4790c832ff

ℹ️ 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".

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #15536 (incremental, head f76e450)

I found no security issues in the change since 44c9b8d.

critical-findings: 0

Scope: an incremental review of the one file listed, docs/contracts/loop-lane/README.md. I read its only hunk in .claude-lane/incremental.diff. The file matches no TRUSTED PATHS glob. This lane already reviewed an earlier head, so the review was blocking only: it would have reported only CRITICAL and IMPORTANT findings.

What changed: one sentence in the §4 cycle-budget paragraph (lines 962-963). Before, it said the restart-request serves "the operator today, and an automatic trigger when one exists". Now it says it serves "the operator, or consume-restarts once its OS schedule is registered". This describes a fact. The paragraph around it is unchanged:

  • A budget hit is still a terminal manual-restart state.
  • The operator owns the restart.
  • The OS schedule is still one the operator registers; the skill never registers it.

Instruction-surface check: no standing rule is deleted, narrowed or softened, so the instruction exception register did not need checking. The edit leaves the "When work stops for the owner" section untouched; this lane's threat model relies on that section.

Other checks:

  • The edit touches no trust control, merge hold, token scope, kill switch, workflow or plugin manifest.
  • The one earlier summary finding from this lane reported no issues, so there is nothing to restate.

@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 44c9b8d7c22b236d3f9f3593d84b86d8f6df583d; 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 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental code review: f76e450 (since 44c9b8d)

This review covers only the change since 44c9b8d7. That change is one hunk in one file, docs/contracts/loop-lane/README.md, and I read all of it. This lane already reviewed an earlier head of this pull request, so this review reports blocking findings only.

What changed: the sentence at README.md#L962-L963 no longer says "an automatic trigger when one exists". It now says "the operator, or consume-restarts once its OS schedule is registered, can act on the same surface". This is the wording this lane suggested in its earlier finding. It now agrees with lines 955-959 of the same paragraph: consume-restarts ships, and it runs only on an OS schedule the operator registers. The paragraph no longer gives two answers.

Prior finding: the stale-wording finding on line 963 is fixed by this change, and the owner resolved its thread. I did not raise it again.

Findings: none.

Not applicable:

  • No plugin manifests changed in this increment, so there are no manifest lines.
  • The PR closes no issue, so there are no acceptance criteria to check.
  • The PR context, settled-threads and prior-findings files contain no embedded instructions.
  • The change carries no cost or spend.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit 16396fc Nov 12, 2026
56 checks passed
@kyle-sexton
kyle-sexton deleted the docs/lanes-restart-consumer-facts branch November 12, 2026 06:29
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant