Repository navigation
Verify native workflow boundaries (T24) - #290
Merged
Merged
Conversation
…flow-boundaries # Conflicts: # package.json
…flow-boundaries # Conflicts: # package.json # scripts/fixtures/codex-native/setup-capture.mjs # scripts/fixtures/codex-native/setup-completion.mjs # scripts/probe-codex-lifecycle.mjs
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 #276
Sage task T24
This restores four native workflow diagnostics: coordinated task lifecycle updates, an unmanaged child stopping while Sage is off, same-turn report correction, and bounded escape from repeated invalid reports.
The lifecycle case checks building/reviewing/verifying transitions and exact historical retries. The off case checks independent native child identity and unchanged logbook bytes after owner-off bookkeeping. Correction accepts only the final complete report, without premature assignment completion. Escape accepts no report or verdict and does not falsely finish the Sage run.
Candidate
484a4d326a035c1fc89c657170738297d2de6291integrates main947c834, including T22 and T23. The four resolved conflicts retain all three diagnostic sets and every main test registration. Six diagnostic/test paths differ from main. Production policy, installed settings and defaults are unchanged.Validation on the current head
npm run build: built 324 files.npm run check: all checks pass.npm test: 1,917 tests, 1,917 pass, zero failures, cancellations or skips; terminal exit 0.484a4d3. All six hashes match after checks. QA checks raw records, actual process wait receipts, identity contradictions and literal replay results.Detached main
947c834passes the six existing diagnostic controls and fails all fifteen new workflow positive controls because their selector is absent. No setup/import failure counts as behavioral evidence. This proves new diagnostic coverage, not fifteen production defects or 190 separately failing-main assertions.The workflow helper, tests and complete native unmanaged-identity method are byte-identical to the repaired candidate
43779a8. Historical rejected-candidate proof for eleven identity contradictions is retained; fresh QA also tests three contradictions against actual new native off evidence. Portable consistency is distinct from native provenance.The prior candidate failed five unchanged board watcher tests. That failure remains in the historical record as T24-CHECKS-1, dismissed as a superseded check result after current-head local and CI passes. The separate root-cause finding F-T25-1 and issue #283 remain open. No timing relaxation, polling fallback or board repair is part of this change. Later passing suites do not establish the earlier cause.
Evidence limits
Native trials use the actual released CLI 0.160.0 and fixed simulated model replies in disposable profiles. Portable replay checks consistency; native readers authenticate the original trial identities. A boolean or supplied JSON alone does not establish authenticity.
Real-model quality, installed automatic Sage, abrupt-loss recovery, complete ownership and autopilot remain unverified. The earlier unmanaged-stop identity defect is repaired and must remain covered. All directly owned current test/probe commands are terminal. Listeners closed and disposable profiles were removed. Native-managed subprocesses were not independently enumerated with OS tools. No timeout counts as completion. Every test unsets NODE_TEST_CONTEXT and places fake ps, pgrep and kill first on PATH. No attack strings go to a real shell.
Claude's active PR #288 remains outside this work. Parent #88 stays open.