Skip to content

feat(config): journal every config change with source labels and manual-edit detection - #111147

Merged
steipete merged 4 commits into
mainfrom
claude/config-change-journal-110896
Jul 19, 2026
Merged

steipete merged 4 commits into
mainfrom
claude/config-change-journal-110896

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #110896

What Problem This Solves

Operators cannot answer "what changed in my config, when, by whom." The write path already kept a forensic config-audit trail (hashes, redacted argv), but it recorded only a changed-path count, had no semantic writer attribution, and manual edits to openclaw.json — including edits made while the gateway was stopped — left no trace at all. "Who broke the config" is the single most common ops mystery.

Why This Change Was Made

Phase 2 of #110896. Extends the existing config-audit SQLite scope (no schema change, scope reuse):

  • Changed paths + origin on write records: every write records a capped, sorted changedPaths list (paths only, never values; explicitSetPaths/unsetPaths are unioned in so writes that equal runtime defaults still attribute) and a semantic origin from a closed union — doctor, system-agent, config-rpc, plugin-install, cli — threaded through the write-options chokepoint.
  • Manual-edit detection (config.external records): the gateway watcher classifies filesystem changes with no matching internal-write hash as external edits, with key-path diffs, invalid-edit records ("who broke it": capped validation issues), and mtime-touch dedupe.
  • Offline reconciliation: a single-slot baseline (last observed raw file hash + fingerprinted authored config, path-scoped) lets both gateway startup and any later internal write journal edits made while nothing was running — including config deletion. Raw file hashes are the identity (process-independent; a CLI write followed by a gateway restart proves hash-identical in a real-store round-trip test).
  • Privacy by construction: the baseline stores HMAC-SHA256 fingerprints (per-install 0600 key file, excluded from the DB) for every leaf — the slot is a diff baseline, not a data store, so secret values can never leak into diagnostics, while secret rotations still surface as their exact changed path. Type-only edits ("1" → 1) fingerprint distinctly.

User Impact

The journal now captures every config mutation — system-agent operations, doctor migrations, Settings-UI writes, CLI edits, plugin installs, and hand edits (live or offline) — as structured, redacted records in the state DB, bounded at 50k rows. The follow-up reader RPC + "Recent changes" UI (#110896 phase 3) surfaces them in Ask OpenClaw.

Known limits, deliberately deferred to the successor PR (atomic journal primitive + include-closure identity, #110896 phase 2b):

  • Slot reads, record appends, and slot updates are separate steps; near-simultaneous writers/watchers across processes can journal duplicate or misordered external records. Hashes cited are always real, so records stay honest — the successor folds classification into one SQLite transaction.
  • Edits to $include files are invisible to both hot-reload and the journal today (the watcher only watches the root file); the successor extends identity to the include closure.

Evidence

  • node scripts/run-vitest.mjs src/config/io.write-config.test.ts — 117 tests pass (includes real-store cross-producer hash identity, offline-edit reconcile at write time, capped paths + origin, blanket fingerprints, post-commit rollback slot restore).
  • node scripts/run-vitest.mjs src/gateway/config-reload.test.ts — 159 tests pass (watch/startup/invalid external records, internal-write exclusion, cross-process suppression, invalid-observation dedupe, cross-path slot handover).
  • node scripts/run-vitest.mjs src/config/io.audit.test.ts — 33 tests pass (HMAC fingerprints + 0600 key, type-distinct fingerprints, unfiltered CAS token path transfer, sanitizer for external records).
  • Doctor/CLI/plugin/system-agent origin labeling covered in their suites (doctor 91, CLI 142, plugin persistence 16, system-agent 27 — all pass).
  • Autoreview (codex/gpt-5.6-sol, xhigh): six review cycles driven to convergence; remaining findings are the two disclosed limits above, consciously deferred with the design for their structural fix specced in the successor PR.

@steipete
steipete requested a review from a team as a code owner July 19, 2026 02:52
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime cli CLI command changes commands Command implementations size: XL maintainer Maintainer-authored PR labels Jul 19, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4247cd3cdc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +885 to +888
const observedRawHash = snapshot.hash ?? null;
const previousObservedRawHash = lastObservedRawHash;
const newObservedRawHash = observedRawHash !== previousObservedRawHash;
lastObservedRawHash = observedRawHash;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Journal live config deletion before returning

When the watched config is deleted while the gateway is running, handleMissingSnapshot(snapshot) at src/gateway/config-reload.ts:881 returns before this newly added observation logic executes. Even after the missing-file retry budget is exhausted it still returns, so lastObservedRawHash is never advanced to null and no config.external deletion record is written; deletion is only discovered if the gateway later restarts.

Useful? React with 👍 / 👎.

Comment on lines +2249 to +2254
initialSnapshotRawHash: startupLastGoodSnapshot.exists
? (startupLastGoodSnapshot.hash ?? null)
: null,
initialAuthoredConfig: startupLastGoodSnapshot.parsed,
initialSnapshotValid: startupLastGoodSnapshot.valid,
initialSnapshotIssues: startupLastGoodSnapshot.issues,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Journal invalid config before startup validation aborts

These startup reconciliation fields cannot represent an existing invalid file in the real gateway flow: loadGatewayStartupConfigSnapshot() calls assertValidGatewayStartupConfigSnapshot() at src/gateway/server-startup-config-helpers.ts:101-103, which throws before startManagedGatewayConfigReloader() is reached. Consequently, an invalid manual edit made while the gateway is stopped causes startup to fail without producing the promised config.external record; the direct reloader test bypasses this production ordering.

Useful? React with 👍 / 👎.

Comment thread src/config/io.types.ts
Comment on lines 31 to +33
export type ConfigWriteOptions = {
/** Semantic writer label recorded in the config audit journal. */
auditOrigin?: ConfigWriteAuditOrigin;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require an origin for every internal config write

Keeping auditOrigin optional leaves many production writes without the source label this change promises. For example, openclaw pairing approve forwards the unlabeled snapshot options at src/cli/pairing-cli.ts:70-84, while openclaw agents set-identity calls replaceConfigFile() without write options at src/commands/agents.commands.identity.ts:195-198; both produce config.write records with no origin. Attribution needs a mandatory/default origin at the writer boundary or complete propagation through all callers.

Useful? React with 👍 / 👎.

Comment thread src/config/io.write.ts
Comment on lines +439 to +445
await appendConfigAuditRecord({
env: deps.env,
homedir: deps.homedir,
record: {
ts: new Date().toISOString(),
source: "config-io",
event: "config.external",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Record the offline edit before the replacing write

When an offline manual edit is reconciled by a later internal write, the successful config.write record is appended first at src/config/io.write.ts:420-424, and this prior config.external record is appended afterward with a later timestamp and sequence. Thus the journal deterministically reports the replacement before the edit it replaced, breaking chronological diagnostics even without the acknowledged cross-process race; append the external observation before the successful write record.

Useful? React with 👍 / 👎.

@steipete steipete closed this Jul 19, 2026
@steipete steipete reopened this Jul 19, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 53fdac4260

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// Install work may outlive its config read. Keep only mutation-start ownership
// and conflict facts; plugin metadata must come from the commit-time read.
return {
auditOrigin: "plugin-install",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Journal writes to top-level include files

When plugins or hooks uses the supported single-top-level $include path, this origin is passed into tryWriteSingleTopLevelIncludeMutation, but that path writes the included file directly (src/config/mutate.ts:589-615) without calling writeConfigFileFromContext or appendConfigAuditRecord; the gateway also watches only the root watchPath (src/gateway/config-reload.ts:1127). Consequently, plugin install/uninstall and other include-owned mutations produce neither a config.write nor a config.external record, so the new journal omits an entire supported config-write surface.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d2af8c8d34

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

nextConfig: params.nextConfig,
writeOptions: {
...params.writeOptions,
auditOrigin: "config-rpc",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Propagate the audit origin into the low-level write

When a normal Gateway config RPC follows this default replaceConfigFile() path, the origin is lost before journaling: the public writeConfigFile() reconstructs the options passed to io.writeConfigFile() at src/config/io.runtime.ts:280-302 but omits auditOrigin, so writeConfigFileFromContext() receives undefined. Fresh evidence beyond the earlier optional-origin concern is that even newly labeled Gateway, CLI, doctor, plugin-install, and system-agent calls using the default mutation path cannot produce the intended source label; the direct createConfigIO() audit test bypasses this production route.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Jul 19, 2026
@clawsweeper

clawsweeper Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 18, 2026, 11:56 PM ET / July 19, 2026, 03:56 UTC.

Summary
The branch extends config auditing with origin labels, capped changed-path lists, a fingerprinted snapshot baseline, and gateway records for externally edited config files.

PR surface: Source +619, Tests +1100. Total +1719 across 31 files.

Reproducibility: yes. from source inspection: follow a normal replaceConfigFile() call through the public runtime wrapper and the new origin does not reach the low-level journal; supported top-level include mutations likewise bypass the root write/journal path.

Review metrics: 1 noteworthy metric.

  • Config-write attribution surface: 1 new public write option; 5 intended origin classes. The new auditOrigin contract is only useful if it survives every production writer boundary and has one canonical low-level consumer.

Stored data model
Persistent data-model change detected: migration/backfill/repair: src/commands/doctor-gateway-services.ts, migration/backfill/repair: src/commands/doctor/legacy-config-repair.ts, migration/backfill/repair: src/config/io.types.ts, migration/backfill/repair: src/flows/doctor-health-contributions.test.ts, migration/backfill/repair: src/flows/doctor-health-contributions.ts, serialized state: src/config/config-journal-snapshot.test.ts, and 2 more. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦪 silver shellfish
Patch quality: 🦪 silver shellfish
Result: blocked until real behavior proof from a real setup is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Propagate auditOrigin through the public runtime write path and add a regression that observes the stored record.
  • Cover supported top-level include writes and invalid-offline startup observation with production-order tests.
  • Attach redacted terminal or runtime-log evidence showing a gateway/CLI write and an external edit producing the expected journal records.

Proof guidance:

  • [P1] Needs real behavior proof before merge: The PR body reports focused test commands and passing counts, but provides no inspectable after-fix live run, terminal output, redacted log, recording, or artifact showing the real config write/watch/startup behavior; add redacted production-path proof before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Risk before merge

  • [P1] Merging before auditOrigin reaches the low-level write function would create a journal that silently omits the claimed writer identity for ordinary production writes.
  • [P1] Supported top-level $include config ownership would remain outside both write auditing and root-file external-edit detection, creating an incomplete and confusing source of truth for operators.
  • [P1] Invalid edits made while the gateway is stopped can still fail startup before the promised external-edit journal record is created.

Maintainer options:

  1. Finish the canonical write coverage (recommended)
    Carry auditOrigin through the runtime wrapper and route include-owned writes through an equivalent journal transaction before merge.
  2. Deliberately narrow the feature
    If universal coverage is deferred, revise the contract and retain a focused follow-up for include and invalid-offline startup handling.
  3. Pause the phase
    Keep the branch open until maintainers choose whether the journal is authoritative enough to warrant a broader owner-boundary refactor.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Propagate auditOrigin through the public runtime write wrapper, journal supported include-owned config mutations, and add focused production-path regressions.

Next step before merge

  • [P1] A protected maintainer-label PR needs a maintainer decision on whether phase 2 must deliver universal journaling coverage or explicitly narrow its scope before mechanical repairs proceed.

Maintainer decision needed

  • Question: Should this phase guarantee complete coverage for all supported config write owners and invalid offline edits before landing, or should the feature claim and scope be narrowed to root-file writes only?
  • Rationale: The branch presents universal mutation journaling as its user contract, but completing that contract crosses the public runtime write wrapper, include-owned mutation path, and pre-reloader startup validation boundary; maintainers need to choose the permanent scope rather than leave a partial promise implicit.
  • Likely owner: steipete — The linked phase design and current implementation commits establish the clearest available ownership signal for deciding the intended contract.
  • Options:
    • Complete universal coverage (recommended): Propagate origin through the runtime writer, journal include-owned mutations, and move invalid-offline observation before the startup abort path.
    • Narrow the phase contract: Limit this phase to root openclaw.json changes and revise the operator-facing claim plus follow-up scope so unsupported include and invalid-startup cases are not represented as covered.

Security
Cleared: The diff adds local HMAC fingerprinting and SQLite audit data but introduces no dependency, workflow, secret-permission, package-resolution, or third-party execution change with a concrete security regression.

Review findings

  • [P1] Preserve the audit origin through the runtime writer — src/gateway/server-methods/config-write-flow.ts:249-255
  • [P2] Journal supported include-owned config mutations — src/plugins/install-persistence.ts:290-294
  • [P2] Record invalid offline edits before startup aborts — src/gateway/server.impl.ts:2246-2251
Review details

Best possible solution:

Preserve one canonical journal chokepoint that receives origin metadata on every config-writing route, explicitly journal supported include-owned mutations, and record invalid offline observations before startup validation aborts.

Do we have a high-confidence way to reproduce the issue?

Yes from source inspection: follow a normal replaceConfigFile() call through the public runtime wrapper and the new origin does not reach the low-level journal; supported top-level include mutations likewise bypass the root write/journal path.

Is this the best way to solve the issue?

No: a low-level optional label plus selected caller propagation is not the best durable solution while ordinary runtime writes and include-owned mutations can bypass it. The better design centralizes attribution and journaling at the canonical persisted-write boundary.

Full review comments:

  • [P1] Preserve the audit origin through the runtime writer — src/gateway/server-methods/config-write-flow.ts:249-255
    commitGatewayConfigWrite() now supplies auditOrigin, but the ordinary public runtime write wrapper reconstructs options without this field before it calls the low-level writer. Consequently the main gateway RPC path—and the other callers using that route—still emits unlabeled config.write records. Carry the option through that wrapper and add a production-path regression test.
    Confidence: 0.98
  • [P2] Journal supported include-owned config mutations — src/plugins/install-persistence.ts:290-294
    This stamps plugin persistence as plugin-install, but supported top-level $include mutations write the include file directly and bypass both writeConfigFileFromContext() and the root watcher. Those existing config writes therefore generate neither the intended write record nor an external record; route them through an equivalent journal update.
    Confidence: 0.95
  • [P2] Record invalid offline edits before startup aborts — src/gateway/server.impl.ts:2246-2251
    The new initial snapshot fields only reach the reloader after gateway startup config validation. An invalid manual edit while the gateway is stopped causes validation to throw first, so the advertised config.external record is never written; journal that observation in the startup validation path before returning the failure.
    Confidence: 0.93

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 63f8b8454b75.

Label changes

Label changes:

  • add P2: This is a substantial operator-diagnostics improvement with incomplete coverage, but it does not establish an urgent regression in an existing user workflow.
  • add merge-risk: 🚨 compatibility: The new write-options contract is intended to cover existing gateway, CLI, doctor, plugin, and system-agent paths, yet the normal runtime wrapper drops it.
  • add merge-risk: 🚨 other: The proposed journal becomes an incomplete operational source of truth for supported include-owned configuration mutations and invalid offline edits.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦪 silver shellfish.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports focused test commands and passing counts, but provides no inspectable after-fix live run, terminal output, redacted log, recording, or artifact showing the real config write/watch/startup behavior; add redacted production-path proof before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Label justifications:

  • P2: This is a substantial operator-diagnostics improvement with incomplete coverage, but it does not establish an urgent regression in an existing user workflow.
  • merge-risk: 🚨 compatibility: The new write-options contract is intended to cover existing gateway, CLI, doctor, plugin, and system-agent paths, yet the normal runtime wrapper drops it.
  • merge-risk: 🚨 other: The proposed journal becomes an incomplete operational source of truth for supported include-owned configuration mutations and invalid offline edits.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports focused test commands and passing counts, but provides no inspectable after-fix live run, terminal output, redacted log, recording, or artifact showing the real config write/watch/startup behavior; add redacted production-path proof before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +619, Tests +1100. Total +1719 across 31 files.

View PR surface stats
Area Files Added Removed Net
Source 18 674 55 +619
Tests 13 1108 8 +1100
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 31 1782 63 +1719

What I checked:

  • Related product direction: The linked umbrella issue explicitly assigns config-change journaling to a phased system-agent overhaul; this PR is its phase-2 implementation candidate rather than a duplicate or obsolete branch. (14f49cf58566)
  • Origin is lost on the ordinary runtime write path: The branch sets auditOrigin: "config-rpc" at the gateway write entry point, but the supplied prior review traces the public writeConfigFile() runtime wrapper as reconstructing write options without auditOrigin; normal gateway, CLI, doctor, plugin, and system-agent writes therefore reach the journal unlabeled. (src/gateway/server-methods/config-write-flow.ts:252, 14f49cf58566)
  • Supported include-owned writes bypass the journal: The branch labels plugin persistence as plugin-install, while the supplied review traces supported top-level $include mutations to a direct include-file write that bypasses writeConfigFileFromContext() and the root-file watcher. Those mutations produce neither intended write attribution nor external-edit coverage. (src/plugins/install-persistence.ts:291, 14f49cf58566)
  • Gateway startup ordering misses invalid offline edits: The production startup path validates the config before it starts the managed reloader, so an invalid offline edit aborts startup before the newly passed initial snapshot fields can emit the promised config.external record. (src/gateway/server.impl.ts:2246, 14f49cf58566)
  • Repository policy applied: The full root AGENTS.md requires config/default and persisted-state work to preserve canonical write ownership, examine upgrade-sensitive behavior, and validate the whole affected decision surface; those requirements materially informed this review. (AGENTS.md, 63f8b8454b75)

Likely related people:

  • steipete: Authored the linked phased design and all commits on this config-journal implementation branch, making them the clearest available routing candidate for the intended scope and write-path coverage. (role: feature proposer and current implementation author; confidence: medium; commits: 4247cd3cdc54, 53fdac42600d, d2af8c8d34d8; files: src/config/io.write.ts, src/gateway/config-reload.ts, src/config/config-journal-snapshot.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 3af3493 into main Jul 19, 2026
161 checks passed
@steipete
steipete deleted the claude/config-change-journal-110896 branch July 19, 2026 04:09
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 19, 2026
…al-edit detection (openclaw#111147)

* feat(config): journal every config change with source labels and manual-edit detection

* fix(config): narrow journal exports and align plugin-write test expectations

* refactor(config): split journal snapshot store out of io.audit

* chore(config): keep journal snapshot context helpers module-local
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
…al-edit detection (openclaw#111147)

* feat(config): journal every config change with source labels and manual-edit detection

* fix(config): narrow journal exports and align plugin-write test expectations

* refactor(config): split journal snapshot store out of io.audit

* chore(config): keep journal snapshot context helpers module-local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant