You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@netscript/runtime-config today exposes only read+watch use-cases (loadRuntimeConfig, the per-topic getters, isFeatureEnabled, watchRuntimeConfig, summarizeRuntimeConfig); the CLI's runtime-config-writer.ts is a deploy-provisioning adapter, not an operator mutation path. Add first-class operator mutation use-cases — set/unset an override (feature flag, disabled job/saga/trigger, task override) plus the versioned current pointer bump — so the dashboard's S3 write-back (#551) and any future CLI verb share one write path.
DX thesis
One write path, observed like any other: a mutation must land in the same store the watcher observes and round-trip as a normal watcher change event (S3 renders it live). One generator, two callers — the epic's acceptance line 2.
Scope
Contract-first: schema/type contract for setOverride / unsetOverride per topic + bumpCurrentVersion (new version, atomic pointer move), then use-case implementations in @netscript/runtime-config.
feat(runtime-config): mutation use-cases — set/unset + versioned
currentpointer bump (S3 write-back co-req)Summary
@netscript/runtime-configtoday exposes only read+watch use-cases (loadRuntimeConfig, the per-topic getters,isFeatureEnabled,watchRuntimeConfig,summarizeRuntimeConfig); the CLI'sruntime-config-writer.tsis a deploy-provisioning adapter, not an operator mutation path. Add first-class operator mutation use-cases — set/unset an override (feature flag, disabled job/saga/trigger, task override) plus the versionedcurrentpointer bump — so the dashboard's S3 write-back (#551) and any future CLI verb share one write path.DX thesis
One write path, observed like any other: a mutation must land in the same store the watcher observes and round-trip as a normal watcher change event (S3 renders it live). One generator, two callers — the epic's acceptance line 2.
Scope
setOverride/unsetOverrideper topic +bumpCurrentVersion(new version, atomic pointer move), then use-case implementations in@netscript/runtime-config./_netscript/config/runtime([dashboard DDX-13] Introspection endpoint (/_netscript/*) #423 mount), confirm-gated at the caller.netscript config set ...— exact verb naming decided in-slice).Non-goals
Acceptance criteria
/_netscript/config/runtime/subscribe(SSE).deno check --unstable-kvgreen.Dependencies
Blocks the S3 write-back controls (DDX-20 #551). Framework-source work → WSL Codex slice, never the docs/design lane. Part of #400.