Repository navigation
docs(adr): propose 0057, the daemon owns config.json while it runs (#1151) - #1152
Closed
leonardoxr wants to merge 6 commits into
Closed
leonardoxr wants to merge 6 commits into
leonardoxr wants to merge 6 commits into
Conversation
This was referenced Oct 31, 2026
…allstackincubator#1151) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… limits Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…r#1157 (callstackincubator#1151) Co-Authored-By: Claude Opus 5.5 <[email protected]>
leonardoxr
force-pushed
the
feature/1151-adr
branch
from
November 4, 2026 21:16
9fca501 to
07ef32b
Compare
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADR 0057 for #1151, at Proposed. While a daemon runs, it is the one writer of its
config.json:simlock config setsendsconfig.setto it, and writes the file itself only when no daemon of that role runs. Two admin operations,config.list(one row per setting: running, saved and default values, live or on restart, secret) andconfig.set(one key, the sameloadConfigvalidation as the CLI).idle.shutdownAfterMs,idle.deleteAfterMsanddiskPressure.freeBytesThresholdapply live; every other key on restart.gateway.tokenand the alert destinations are write-only. A newdaemon.restartruns the updater in a restart mode (stop, start; no install). One event,config.changed, names the keys and the caller, never a value. The console gains a Settings page, with confirms on keys that can cut it off. A gateway edits only its own settings. The protocol rises by one.It narrows ADR 0056 (Proposed) §1, "
config.jsonis never written by the daemon", towarm.set, and ADR 0037's action list.This PR is the bottom of #1151's stack and merges with the feature's last task.
🤖 Generated with Claude Code
Written by an agent.