fix(skills): evolve survives compaction — context-handoff re-arms (cp-39c1)#848
Open
boshu2 wants to merge 1 commit into
Open
fix(skills): evolve survives compaction — context-handoff re-arms (cp-39c1)#848boshu2 wants to merge 1 commit into
boshu2 wants to merge 1 commit into
Conversation
…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.
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. |
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.
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.