* feat(#1213): Capability State Writer — write-side inverse of the resolver Adds src/capability-writer.cts (setCapabilityState + cmdCapabilitySet) and the `gsd-tools capability set` subcommand: the write-side inverse of the capability resolver (ADR-1213). One desired capability state projects onto the substrates — `enabled` drives the runtime surface (canonical on/off), `gates` drive federated config keys (hook granularity), install profile is a read-only floor — then re-resolves and reports divergence (assert-and-report), so "off means off" holds as a write-time invariant. Adds batched setConfigValues; routes gsd:settings capability hook-gates through the writer. Docs: CLI-TOOLS reference, how-to, ADR-1213, CONTEXT.md term. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore(#1213): add changeset for Capability State Writer (#1225) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -154,6 +154,8 @@ export default tseslint.config(
|
||||
'gsd-core/bin/lib/package-legitimacy.cjs',
|
||||
// ADR-457: tsc-generated runtime artifact — lint the src/git-base-branch.cts source.
|
||||
'gsd-core/bin/lib/git-base-branch.cjs',
|
||||
// ADR-1213: tsc-generated runtime artifact — lint the src/capability-writer.cts source.
|
||||
'gsd-core/bin/lib/capability-writer.cjs',
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user