Repository navigation
Conversation
…ault
Evidence from both hosts: Dan's short replies ('keep working', 'keep going',
'what's left?') restart ordinary user threads that ended with work left.
Every inspected parent had continuity=null because auto-enrollment defaulted
off, so no continuation check could ever fire.
Flip the ServerSettings decoding default for workContinuityAutoEnroll to
true. Existing guards still exclude scheduled/MCP/child/plan/settled/snoozed
threads, checks stay capped at 3, and per-thread opt-out is unchanged.
Also: an own-agent settle now clears continuity before its turn ends, so
supervision cannot spend a check resurrecting a thread that is settling
(the runtime settle test hung on this), and ws.ts tolerates the optional
creationSource on continuity commands (pre-existing type error).
Tests: new default-on regression spends exactly one check after a missing
terminal report; exclusion suites now seed unenrolled explicitly and still
prove each guard with enrollment on; contracts default assertion updated.
ddonathan
marked this pull request as draft
October 12, 2026 21:11
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.
Draft: independent review repairs and installed-effectiveness measurement are pending. Tests do not prove fewer manual nudges in production.
Why
Evidence audit of Dan's replies on both hosts (Linux bw-hq-linuxws01, SQL THQ-HQ-SQL02):
Change
workContinuityAutoEnrolldecoding default:false->true(packages/contracts/src/settings.ts). Guards unchanged: only Dan-origin web/mobile, non-scheduled, non-child, non-plan, non-settled/snoozed/archived threads enroll; max 3 checks; per-thread opt-out unchanged; MCP still cannot enable it.ws.ts: tolerate optionalcreationSourceon continuity commands. Pre-existing type error on this branch, fixed so server typecheck is green.Proof
runtimeLayer.test.ts+ environment handlers: 129/129 pass. Continuity subset: 54/54. Contracts settings: 167/167.Not fixed (by design)
Failed/cancelled/session-limit terminals still write blocked instead of retrying; scheduled/MCP-origin threads stay excluded; waits only wake on delegated-task/PR events; allowance still exhausts after 3 silent endings.
Effectiveness after install is not yet measured. This PR is against the fork continuity branch because the continuity feature is not in upstream main yet.
Review R35 found pending-settle supervision loss, sparse legacy opt-out compatibility and proof gaps. Repairs are in progress. Default policy and core continuation are separate layers; upstream submission and readiness wait for demonstrated installed effectiveness.