Repository navigation
Gap ledger agent-sdks: background-command limit, bounded retry watchdog, message accept scope, Agent SDK 0.2.167 - #1157
Open
seathatflowsinourveins wants to merge 1 commit into
Conversation
…og, message accept scope, Agent SDK 0.2.167 Closes the five ADOPT rows of the 2026-10-15 Claude Code practice gap ledger on the agent-sdks page (slot headless-sdk). Each row's basis was re-read at its primary source before applying; the text is in the slot's notes (route, evidence and overturn_when unchanged, so the snapshot manifest changes only sha256_when_labeled). - B2-0002 and B4-0001 (one change): the time limit on background commands in unattended sessions, 30 minutes or the timeout up to 2 hours, 10 minutes in a text-prompt -p run, raised only by BASH_DEFAULT_TIMEOUT_MS or BASH_MAX_TIMEOUT_MS (tools-reference.md:192-210; claude-code CHANGELOG.md:1280, :978). - C1-0001: the review worker's sandbox runs with CLAUDE_CODE_RETRY_WATCHDOG=1 and CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS=900000, a third of its 2700 s run timeout (env-vars.md:379-380; CHANGELOG.md:384). The two disposition rows follow. Probes, the OmniRoute example and the trading lane's worker stay without it; the ns-run profiles run pi and OpenCode, not Claude Code. - B4-0002: a fenced -p worker that must take messages carries crossSessionInbound accept in --settings (cross-session-messaging.md:203-231; cli-reference.md:125, :129). No launcher in this repository takes messages. - B1-0006: the new-WSL profile pins claude-agent-sdk 0.2.167 (bundled CLI 2.1.300) instead of 0.2.163 (2.1.286, below the 2.1.295 onFailure floor); claude-agent-sdk-python@c10b52c6 README.md:15-18, CHANGELOG.md:3-7, :40-44. The handbook is regenerated with its builder and its receipt records the regeneration. Tests: tests/test_native_practice_ledger_rows_agent_sdks.py (6 tests, all failing on 4204520, all passing here). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
agent-sdkslayer (slotheadless-sdk): B1-0006, B2-0002, B4-0001, B4-0002 and C1-0001. The command center dispatched the ledger on 2026-10-15, and each row was confirmed by a second-family gpt-6-astra re-check. Following the plan's closing rule, it is one slot-row PR for the layer page, with fail-first tests.420452059lane:foundationslots.jsonandagent-sdks.md, plus the slot manifest (onlysha256_when_labeledchanges);tools/claude-review-worker/worker.pyand itsREADME.md;catalogs/foundation/upstream-surface-dispositions.json;adoption/new-wsl-profile.jsonand.md;docs/new-wsl-handbook.jsonand.md, regenerated withscripts/build_new_wsl_handbook.py --write, plus its receipt;tests/test_native_practice_ledger_rows_agent_sdks.py(new);manifests/evidence.json.Rows:
B2-0002 and B4-0001 (one change): in unattended runs (
-p, the Agent SDK, CI) a background Bash command stops at a time limit:timeoutup to 2 hours;-prun whose prompt is text.The row records how to raise it and how it differs from
CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS. No launcher changes: the review worker has no Bash, and the template'sBASH_MAX_TIMEOUT_MSleaves the 2-hour maximum.C1-0001: the review worker's sandbox env sets
CLAUDE_CODE_RETRY_WATCHDOG=1withCLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS=900000, a third of the worker's 2700 s run timeout.upstream-surface-dispositions.json, lines 431 and 3809) move toenabled, with the worker as carrier. The second row's overturn condition was exactly this change./skill-doctor(no model request), the capacity probes (a 429 is the reading), the gateway example, and the trading worker (that lane's call).B4-0002: a
-pworker that must take messages from a session in the other permission-mode class needscrossSessionInbound: acceptin its--settings. No launcher in this repository takes messages:--restrictedand one-shot.B1-0006: the new-WSL profile pins
claude-agent-sdk0.2.167, whose bundled CLI is 2.1.300.onFailurehooks.cli_pathis recorded as the alternative.SOTA sources
32042001…);54351937…);7b359027…);0acf910e…);cli_path;97dfac82…).CHANGELOG.md:onFailure);README.md:15-18,CHANGELOG.md:3-7, 40-44,.github/workflows/test.yml:27, 36.06c9b813…e207, uploaded 2026-10-14T19:22:37Z; 0.2.167 is the latest release.cc-native-practice-20261009/gap-ledger-20261015/ledger.jsonl(snapshotSNAPSHOT-20261015T104957Z.md).Evidence-class table
source_reviewsynthetictests/test_native_practice_ledger_rows_agent_sdks.py,tests/test_claude_review_worker.pysource_reviewLocal commands run
tests.test_upstream_surface_watchhas fourCachedArtifactTestsfailures, identical on the base export. #1155 (open) fixes them; this module reruns after it lands.Follow-ups
docs/new-wsl-handbook.json:933, fromdefinitive-manifest.json:1024andconsensus.json:1637). Scrub owner quotations from the new-WSL records: paraphrase the canonical inputs, regenerate, and carry a dated paraphrase in the relay contract #1161 replaces it at its source. This PR rebases onto main after Scrub owner quotations from the new-WSL records: paraphrase the canonical inputs, regenerate, and carry a dated paraphrase in the relay contract #1161 lands and regenerates the handbook and its receipt; it does not land before Scrub owner quotations from the new-WSL records: paraphrase the canonical inputs, regenerate, and carry a dated paraphrase in the relay contract #1161.evidence/artifacts/new-wsl-install-plan-20261002/*still pins 0.2.163; the freshness report reads that plan.catalogs/north-star/readiness.jsonwas stale at base. Its builder needs a gate receipt before--write.examples/claude-runtime-sdk/worker.pypinsclaude-agent-sdk==0.2.162, the same kind of gap.slots.jsonandsha256_when_labeled. Later ones need a manifest rebase.Checklist
🤖 Generated with Claude Code