fix(#2702): workstream config-get inherits absent keys from root config (#2833)

* test(#2702): failing-first regression for workstream config-get root inheritance

* fix(#2702): workstream config-get inherits absent keys from root config

* fix(#2702): root inheritance wins over --default; gate on GSD_WORKSTREAM not path (review)

* test(#2702): make GSD_PROJECT test exit-safe (--default sentinel, no error path)

* docs(changeset): #2702 workstream config-get root inheritance

* docs(changeset): backfill #2702 PR number to 2833
This commit is contained in:
Tom Boucher
2026-07-29 14:19:57 -04:00
committed by GitHub
parent 6229f0e55c
commit 8fc244b754
3 changed files with 244 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 2833
---
**Workstream-scoped config reads now inherit from the project root config** — `config-get` under an active workstream (`GSD_WORKSTREAM`) now resolves a key absent from the workstream's own config to the project-root value before falling back to schema defaults, instead of reporting 'Key not found'. A workstream config still overrides root for any key it sets; root only fills gaps. Previously a key set only at root was silently lost under a workstream, causing shipped workflow boolean guards (e.g. use_worktrees, plan_review_convergence) to apply their hardcoded fallback and silently invert the user's setting.