Repository navigation
feat(session-flow): compact within a task and hand off at a phase or task boundary - #18022
Conversation
…task boundary The continuation router now recommends /compact only within one phase, activity or task, and a handoff then /clear at a phase or task boundary next in sequence (interview into design, one plan phase into the next, a finished spec or plan into execution), whatever the zone. The "Between human stages" zone rule is removed. ADR 0116 records it. Refs: #17877 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTkzDudPZP5AiCpKVR
|
PR body contract — issue linkage This PR body conforms to the issue-linkage contract. Nothing to do. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTkzDudPZP5AiCpKVR
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTkzDudPZP5AiCpKVR
Lane run report
Run 44939920263, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
claude-security-review reviewed Security review: PR #18022 (incremental, blocking only)No security issues found. This was an incremental review of the changes since
Instruction-surface lens. I checked the removed sentences by consequence. They only decided which session-routing suggestion to make: continue, compact, or a handoff then Other surfaces. The diff changes no plugin manifest, workflow, token, trust control or merge hold. The PR description contains no instructions aimed at the review. critical-findings: 0 |
|
claude-review reviewed Code review: PR #18022, incremental review from
|
The compaction-marker note, question 3's next-stage clause, the planning order note and legacy eval 21 still described the removed rule. Eval 21 now tests an explore detour inside the plan stage, which still compacts. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTkzDudPZP5AiCpKVR
|
Reply to the claude-review findings on
A sweep for other statements of the old rule found only |
Refs: #17877
Item: Continuation router (AC15)
Summary
The continuation router recommends
/compact <focus>only within one phase, activity or task. At a phase or task boundary next in sequence (interview into design, one plan phase into the next, a finished spec or plan into execution) it recommends a handoff then/clear, whatever the zone. The "Between human stages" zone rule is removed. ADR 0116 records the decision (owner interview Q34 and design Q3).Fix
skills/workflow/context/continuation.md: question 5 gains phase and task boundaries; question 6 is the same phase, activity or task only; the human-stage rule goes; the same-task bullets and the routing summary match.skills/workflow/SKILL.md: the step 4 summary matches.skills/workflow/evals/evals.json: legacy evals 16 (now mid-phase, still compacts) and 38 (interview into design now hands off at any zone) match the new rule.scripts/tests/test_workflow_continuation_rule.py: the tripwire checks the new edges and that the old rule is gone.docs/adr/0116-*: the decision.Verification
pytest plugins/session-flow/scripts/tests/test_workflow_continuation_rule.py: 2 passed.wf-same-task-compacts,wf-phase-boundary-hands-offandwf-unrelated-next-plain-clearcases already state the new behavior and return with the eval work.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01RAoAtTkzDudPZP5AiCpKVR