Merge pull request #1505 from open-gsd/feat/1452-context-guard-mode

feat(#1452): add workflow.context_guard_mode — proactive context exhaustion guard for execute-phase
This commit is contained in:
Tom Boucher
2026-06-20 18:53:24 -04:00
committed by GitHub
13 changed files with 258 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
---
type: Added
pr: 1452
---
**`workflow.context_guard_mode` config key** — proactive context-exhaustion guard for `execute-phase`. Before each wave, the orchestrator self-assesses context pressure using the degradation signals defined in `context-budget.md`. Values: `warn` (default — emit warning and recommend `/gsd:pause-work` when POOR tier detected), `auto` (automatically invoke `/gsd:pause-work` before next wave), `off` (disable). Set via `gsd config-set workflow.context_guard_mode auto` for fully autonomous checkpoint behaviour. (#1452)