Repository navigation
research: controlled shell call-shape diagnosis and wait verification (config-default wait campaign) - #69
Merged
Conversation
…ansport decisions (task 1)
…ce binding and model seam (task 2)
…ledger dispositions (task 3)
…e and next decision (task 5)
…limits (close-out corrections)
…ng paragraph (task 4)
…line adjudication (tasks 4-5)
…adjudication (close-out correction 2)
…g-effect-observed v2) and final-source npm test (tasks 4-5)
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.
Summary
Controlled shell call-shape diagnosis and wait verification — the full execution of plan
docs/superpowers/plans/2026-10-16-rescue-shell-wait-shape-diagnostic.mdunder the unchanged 2026-10-05 spec (S1–S7, Q1–Q6, §8). Production scope: ZERO (prohibited-path diff vs7fe8cbbis empty — skills/agents/scripts/hooks/marketplace/specs untouched). All changes are the research instrument (tools/shell-wait-probe/), its tests, and the dated evidence records (docs/qualification/rescue-shell-long-wait.md§15.1–§15.7).Key results
--wait-policy config-defaultat 30000 ms the decisive poll yielded-pending at 31007 ms and the model continued the SAME cell via the sanctionedtools.waitcontinuation; at 240000 ms the work completed at 148.8 s without yielding. Identical instructions (normalized hashes), model (gpt-6.1-sol, discovered via authenticated catalog as the account's current default) and binary SHA-256 across arms.config-effect-observedon this single measured pair (adjudicationVersion: 2; v1inconclusive/timing-borderlinepreserved as history — close-out correction 2 made the control band genuinely symmetric per user-commissioned review). Caveats binding: single pair, no repeat; no inner-cap/quantified/native-cancellation/production-readiness claim. Spec §8's production gates (quantitative long discriminator + repeat, reduced re-entry, exact terminal linkage, native pending-observation interruption with owned settlement) remain entirely outstanding.inspectCallShapeclassifier (canonical-exact architecture: pinned positive grammar + explicit variant set + one conservative unknown path; frozen schema v1 with the datedretentionamendment), opt-in via--unclassified-shape-diagnostic 1(requires the structural flag), bound into observer provenance digest v2. Fixture-proven (privacy/adversarial batteries); it had no real unknown cell to classify during D0 — recorded honestly.--model <id>(bounded safe identifier, separate-margv, requested recorded / effective stays null) and the task-4 pair above; legacy behavior byte-identical when omitted.Verification
npm run test:shell-research594/594 (55 suites), selection 6/6, lint/typecheck/LF clean,git diff --checkclean; fullnpm testat final source: exit 0 — 3397 tests, 3394 pass, 0 fail, 3 skipped (§15.7).Review history (all gates zero-findings before close)
reviewdied 4/4 on the post-redesign diff (reviewer-side node-repro wedge; our code fuzzed clean — 3000 mutations <500 ms); completed via adversarial-review with honest scope statements (recorded deviation, report §15.2).Adjudicated deviations (all recorded in the report)
Canonical-exact redesign with disclosed coarsenings (§15.2); channel switch to adversarial-review (§15.2 channel record); round-2 timing-borderline semantics superseded by correction 2's symmetric band per user-commissioned review (§15.7);
gpt-6.1-solselected by authenticated read-only discovery per handoff primary path (§15.5).