Repository navigation
Verify native admission refusals (T23) - #279
Merged
Merged
Conversation
…ssion-diagnostics # Conflicts: # package.json
…ssion-diagnostics
Owner
Author
|
Final-head CI completed successfully on The local macOS directory-watcher prerequisite (#283) and review-run usage bookkeeping (#284) remain separate unresolved items. This CI result alone is not a merge-readiness or installed-autopilot claim. |
This was referenced Oct 20, 2026
…ssion-diagnostics # Conflicts: # package.json # scripts/fixtures/codex-native/setup-capture.mjs # scripts/fixtures/codex-native/setup-completion.mjs # scripts/probe-codex-lifecycle.mjs
erickb336
marked this pull request as ready for review
October 21, 2026 01:06
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.
Closes #275
Sage task T23
This restores native admission-refusal diagnostics. An unprepared follow-up cannot start a second turn. Active retarget and premature finish requests refuse without changing protected rows or creating extra work. The original assignment can still report and finish through its authentic terminal path. A lead edit refuses before evaluation; an implementer control writes the expected file.
The owner-approved G4 contract tests these supported earlier refusals plus direct stale/ended-run policy. The old later-tool native ordering remains unproved and retired from acceptance; it is not called passing. No runtime protection was weakened to recreate it.
Current-head validation
Candidate
7d8982ac45ed2bb59781770e8bd020db1abc0104integrates main48f3719, including T22. Four diagnostic/test-list conflicts preserve both sets of selectors, setup flags, trusted identity joins and all main registrations. Ten diagnostic/test paths differ from main.npm run build: built 324 files.npm run check: all checks pass.npm test: 1,902 tests, 1,902 pass, zero failures, cancellations or skips; terminal exit 0.Baseline and assertion proof
Detached main
48f3719passes the three existing T22 controls and fails the three new T23 positive replay controls because their selectors are absent. No import/setup failure counts as behavioral evidence. An initial dependency setup error was diagnosed and retained separately before the valid baseline run.The new byte snapshots pass on normal main because its policy already refuses correctly. A disposable fault injection appends an unexpected run-table byte after refusal: the old assertions pass, and the new snapshot assertion fails. This proves added coverage, not a shipped policy defect. Both baseline worktrees were removed.
Limits
Fixed simulated replies drive actual native tools, hooks, readers and journals. Real-model quality, installed automatic Sage, abrupt-loss recovery, global ownership and autopilot remain unverified. Premature finish tests missing prerequisites together; missing recovery alone is not isolated. Removed disposable transcripts cannot be re-read; retained logs and JSON remain available locally.
Every test places fake ps, pgrep and kill first on PATH and unsets NODE_TEST_CONTEXT. No real process enumeration/signals or attack strings to a real shell occur. All directly owned T23 test/probe commands are terminal; listeners closed and temporary profiles were removed. Native-managed subprocesses were not independently enumerated with OS tools. Earlier watcher failures remain tracked in #283; the passing T22 suite does not establish their cause.
Claude's active PR #288 remains outside this change. Workflow-boundary diagnostics #276 follow after this component.