Skip to content

fix(skills): evolve survives compaction — context-handoff re-arms (cp-39c1)#848

Open
boshu2 wants to merge 1 commit into
mainfrom
fix/cp-39c1-evolve-compaction-survival
Open

fix(skills): evolve survives compaction — context-handoff re-arms (cp-39c1)#848
boshu2 wants to merge 1 commit into
mainfrom
fix/cp-39c1-evolve-compaction-survival

Conversation

@boshu2

@boshu2 boshu2 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Doctrine contradiction fixed: CONTEXT_BUDGET_EXHAUSTED was wrongly listed as a hard-stop that skips ScheduleWakeup, so the harness loop died on compaction instead of running through it. Now context-handoff is the one handoff that MUST re-arm; ending the turn or cancelling the loop for context reasons is forbidden. Regen green.

…ver hard-stops (cp-39c1)

Doctrine contradiction: context-budget.md said context exhaustion is a non-terminal
handoff the next fire resumes, but autonomous-execution.md listed CONTEXT_BUDGET_EXHAUSTED
among 'Hard stops MUST NOT call ScheduleWakeup' — so in the Claude harness the loop never
re-armed and DIED on compaction instead of running through it (observed live: agent wrote
handoff, stopped, and CronDelete'd its own loop). Fix: remove CONTEXT_BUDGET_EXHAUSTED from
the no-re-arm list; make the harness re-arm (ScheduleWakeup 900-1800s) the MANDATORY survival
step; forbid ending the turn or cancelling the loop for context reasons. Regen green.
@boshu2

boshu2 commented Jun 8, 2026

Copy link
Copy Markdown
Owner Author

Blocked by a crashing codex-hashes gate (json.decoder traceback on a malformed generated artifact from concurrent-lane churn — not this PR's 2 markdown edits). Fix is already deployed live to ~/.claude/skills/evolve. Re-attempt merge once the codex-generated-artifacts JSON is valid on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant