OrchestKit · CC 2.1.165 · SessionEnd hooks

SessionEnd Hook Budget Simulator

Why session-handoff-generator got "Hook cancelled" — and what the fix changes. Drag the sliders or pick a preset.
0s3s6s9s12s
📄 handoff writes latest.yaml → resume context. It must finish before the amber budget line. Per CC 2.1.23, async hooks are cancelled on teardown — so async never finishes here.
The fix (2 lines):
src/settings/ork.settings.json → add "CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS": "8000"
session-handoff-generator.ts:47 → git status timeout: 3000 → 1000
Per-hook "timeout": 5 is ignored at exit (CC 2.1.74) — the global env var governs the sum. Bumping it does nothing; async makes it worse. The env var is the lever CC shipped for exactly this.