Wave R1a — typed fail-closed config spine and settled placement decisions #356

Open
toasterson wants to merge 18 commits from claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine into main
Owner

Anima work item 01a03edf-53c2-7411-af2b-0424441d856f (WI-343, bounded configuration slice of WI-230).

Configuration now follows typed defaults → TOML → native SMF → AKHOMED__ overrides, with daemon [akh_defaults] underneath each akh's TOML. Both loading paths share current-main provider/profile/MCP/board/monitoring validation, and malformed configuration refuses startup. Context strategy, Candle model/KV placement, OpenClaw env:NAME references, and the accepted legacy-knob removals are wired through production consumers.

Global configuration updates and per-akh model updates persist only source settings, preserving temporary overrides and explicit effort-off intent. Workspace creation preserves existing TOML without a transient rewrite. Tagged variants replace lower-layer variants atomically; database/postgres aliases share one layer; unrelated non-UTF8 environment entries are ignored safely.

Validation at d6b17d76a9cb396fbbe9779b520827af23057676: 182 unique focused tests pass (183 executions), including real control-plane persistence and malformed-provider refusal. Server and server+Candle library/akhomed compilation checks pass. Final ordinary Clippy succeeds with 223 findings on unchanged primary spans and none on added lines. Strict Clippy is not green: the prior strict run exposed 219 unchanged library findings plus three new style findings, which this head fixes.

Native SMF command execution has not been tested on illumos/Solaris; portable tests cover its actual parser and precedence, including quoted/escaped and unsupported values. Obsolete SMF HTTP bind/port properties warn and are ignored; they never enable ACP networking. Canonical exact-head review/native CI and merge remain pending. No deployment performed.

No-default feature boundary repair

Work item 01a03edf-53c2-7411-af2b-0424441d856f; reviewed and tested successor f3736b5b4aeb47eef1d5d8f1ed1237b701512286.

Downstream WI-345 validation exposed five E0433 failures: always-compiled AkhConfig/OpenClaw consumers referenced the daemon-gated config::spine. The shared module is now exposed as config_spine, with config::spine re-exported for compatibility. Layering, SMF parsing and secret-reference validation remain available without daemon. Only typed-daemon test modules require that feature; core AkhConfig fixtures continue running in no-default builds.

Fresh validation passed at this exact head:

  • No-default lib check; 17 shared-spine, 87 AkhConfig and 3 OpenClaw tests.
  • Server feature: 25 spine, 92 AkhConfig, 3 OpenClaw and 108 configuration tests.
  • Server lib/akhomed check and ordinary Clippy, with warnings.

These are 335 test executions across overlapping filters and two feature sets. The original downstream failure log is preserved; no validation or runtime behavior was removed to make the build pass. Root independently reviewed this five-file boundary fix. Existing canonical review/CI gates remain authoritative; no gate was overridden. No deployment occurred.

Anima work item `01a03edf-53c2-7411-af2b-0424441d856f` (WI-343, bounded configuration slice of WI-230). Configuration now follows typed defaults → TOML → native SMF → `AKHOMED__` overrides, with daemon `[akh_defaults]` underneath each akh's TOML. Both loading paths share current-main provider/profile/MCP/board/monitoring validation, and malformed configuration refuses startup. Context strategy, Candle model/KV placement, OpenClaw `env:NAME` references, and the accepted legacy-knob removals are wired through production consumers. Global configuration updates and per-akh model updates persist only source settings, preserving temporary overrides and explicit effort-off intent. Workspace creation preserves existing TOML without a transient rewrite. Tagged variants replace lower-layer variants atomically; database/postgres aliases share one layer; unrelated non-UTF8 environment entries are ignored safely. Validation at `d6b17d76a9cb396fbbe9779b520827af23057676`: 182 unique focused tests pass (183 executions), including real control-plane persistence and malformed-provider refusal. Server and server+Candle library/akhomed compilation checks pass. Final ordinary Clippy succeeds with 223 findings on unchanged primary spans and none on added lines. Strict Clippy is not green: the prior strict run exposed 219 unchanged library findings plus three new style findings, which this head fixes. Native SMF command execution has not been tested on illumos/Solaris; portable tests cover its actual parser and precedence, including quoted/escaped and unsupported values. Obsolete SMF HTTP bind/port properties warn and are ignored; they never enable ACP networking. Canonical exact-head review/native CI and merge remain pending. No deployment performed. ### No-default feature boundary repair Work item `01a03edf-53c2-7411-af2b-0424441d856f`; reviewed and tested successor `f3736b5b4aeb47eef1d5d8f1ed1237b701512286`. Downstream WI-345 validation exposed five E0433 failures: always-compiled AkhConfig/OpenClaw consumers referenced the daemon-gated `config::spine`. The shared module is now exposed as `config_spine`, with `config::spine` re-exported for compatibility. Layering, SMF parsing and secret-reference validation remain available without daemon. Only typed-daemon test modules require that feature; core AkhConfig fixtures continue running in no-default builds. Fresh validation passed at this exact head: - No-default lib check; 17 shared-spine, 87 AkhConfig and 3 OpenClaw tests. - Server feature: 25 spine, 92 AkhConfig, 3 OpenClaw and 108 configuration tests. - Server lib/akhomed check and ordinary Clippy, with warnings. These are 335 test executions across overlapping filters and two feature sets. The original downstream failure log is preserved; no validation or runtime behavior was removed to make the build pass. Root independently reviewed this five-file boundary fix. Existing canonical review/CI gates remain authoritative; no gate was overridden. No deployment occurred.
Wave R1a — typed fail-closed config spine and settled placement decisions
Some checks failed
CI / docker-seshd (pull_request) Failing after 34m30s
CI / check-akh-medu (pull_request) Failing after 39m41s
CI / check-seshat (pull_request) Successful in 55m54s
CI / publish-chart (pull_request) Successful in 58m36s
CI / test-akh-medu (pull_request) Failing after 1h14m49s
9547d0512c
Anima implementation session.
Wave R1a — typed fail-closed config spine and settled placement decisions
Some checks failed
CI / check-seshat (pull_request) Successful in 8m35s
CI / publish-chart (pull_request) Successful in 1m56s
CI / check-akh-medu (pull_request) Failing after 13m26s
CI / docker-seshd (pull_request) Successful in 14m58s
CI / test-akh-medu (pull_request) Failing after 44m30s
7b2cfc1f34
Anima implementation session.
toasterson force-pushed claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine from 7b2cfc1f34
Some checks failed
CI / check-seshat (pull_request) Successful in 8m35s
CI / publish-chart (pull_request) Successful in 1m56s
CI / check-akh-medu (pull_request) Failing after 13m26s
CI / docker-seshd (pull_request) Successful in 14m58s
CI / test-akh-medu (pull_request) Failing after 44m30s
to 2af4522462
Some checks failed
CI / check-seshat (pull_request) Successful in 9m33s
CI / publish-chart (pull_request) Successful in 1m51s
CI / check-akh-medu (pull_request) Failing after 13m6s
CI / docker-seshd (pull_request) Successful in 10m20s
CI / test-akh-medu (pull_request) Successful in 22m15s
2026-09-03 22:07:56 +00:00
Compare
toasterson changed title from WIP: Wave R1a — typed fail-closed config spine and settled placement decisions to Wave R1a — typed fail-closed config spine and settled placement decisions 2026-09-03 22:47:02 +00:00
toasterson force-pushed claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine from 2af4522462
Some checks failed
CI / check-seshat (pull_request) Successful in 9m33s
CI / publish-chart (pull_request) Successful in 1m51s
CI / check-akh-medu (pull_request) Failing after 13m6s
CI / docker-seshd (pull_request) Successful in 10m20s
CI / test-akh-medu (pull_request) Successful in 22m15s
to 99456646ab
Some checks failed
CI / check-seshat (pull_request) Successful in 10m54s
CI / check-akh-medu (pull_request) Failing after 15m39s
CI / publish-chart (pull_request) Successful in 3m20s
CI / docker-seshd (pull_request) Successful in 16m22s
CI / test-akh-medu (pull_request) Successful in 47m16s
2026-09-08 18:54:08 +00:00
Compare
toasterson force-pushed claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine from 99456646ab
Some checks failed
CI / check-seshat (pull_request) Successful in 10m54s
CI / check-akh-medu (pull_request) Failing after 15m39s
CI / publish-chart (pull_request) Successful in 3m20s
CI / docker-seshd (pull_request) Successful in 16m22s
CI / test-akh-medu (pull_request) Successful in 47m16s
to 8a91929759
Some checks failed
CI / publish-chart (pull_request) Successful in 3m27s
CI / check-seshat (pull_request) Successful in 15m17s
CI / check-akh-medu (pull_request) Failing after 21m19s
CI / docker-seshd (pull_request) Successful in 18m53s
CI / test-akh-medu (pull_request) Successful in 51m53s
2026-09-09 00:04:38 +00:00
Compare
fix(config): repair WI-343 compilation and environment path parsing
Some checks failed
CI / test-sokar (pull_request) Successful in 6m58s
CI / docker-sokard (pull_request) Has been cancelled
CI / docker-akh-transcripts (pull_request) Has been cancelled
CI / publish-chart (pull_request) Has been cancelled
CI / docker-seshd (pull_request) Has been cancelled
CI / check-akh-medu (pull_request) Has been cancelled
CI / check-seshat (pull_request) Has been cancelled
CI / test-session-platform (pull_request) Has been cancelled
CI / test-akh-medu (pull_request) Has been cancelled
e7750c3956
fix(config): wire typed spine through daemon startup
Some checks failed
CI / check-seshat (pull_request) Successful in 6m30s
CI / check-akh-medu (pull_request) Successful in 9m45s
CI / publish-chart (pull_request) Successful in 1m50s
CI / test-akh-medu (pull_request) Failing after 9m56s
CI / test-sokar (pull_request) Successful in 20m45s
CI / docker-seshd (pull_request) Successful in 13m13s
CI / docker-sokard (pull_request) Successful in 11m49s
CI / test-session-platform (pull_request) Successful in 24m6s
CI / docker-akh-transcripts (pull_request) Successful in 16m49s
d007f7c61d
Resolve configuration lint findings without changing behavior
Some checks failed
CI / test-session-platform (pull_request) Has been cancelled
CI / test-sokar (pull_request) Has been cancelled
CI / check-seshat (pull_request) Has been cancelled
CI / check-akh-medu (pull_request) Has been cancelled
CI / test-akh-medu (pull_request) Has been cancelled
CI / docker-seshd (pull_request) Has been cancelled
CI / docker-sokard (pull_request) Has been cancelled
CI / docker-akh-transcripts (pull_request) Has been cancelled
CI / publish-chart (pull_request) Has been cancelled
CI / platform-images-home (pull_request) Has been cancelled
CI / platform-images-core (pull_request) Has been cancelled
CI / platform-images-daemons (pull_request) Has been cancelled
CI / platform-images-fleet (pull_request) Has been cancelled
CI / platform-images-collect (pull_request) Has been cancelled
d6b17d76a9
Expose config spine independently of daemon feature
Some checks failed
CI / docker-seshd (pull_request) Successful in 6m56s
CI / docker-akh-transcripts (pull_request) Successful in 10m23s
CI / test-akh-medu (pull_request) Successful in 31m58s
CI / test-session-platform (pull_request) Successful in 1h14m50s
CI / check-akh-medu (pull_request) Successful in 1h14m19s
CI / check-seshat (pull_request) Successful in 1h45m20s
CI / test-sokar (pull_request) Successful in 1h55m41s
CI / docker-sokard (pull_request) Successful in 1h40m2s
CI / publish-chart (pull_request) Failing after 3h14m42s
CI / platform-images-daemons (pull_request) Successful in 4m29s
CI / platform-images-core (pull_request) Successful in 20m9s
CI / platform-images-home (pull_request) Successful in 27m45s
CI / platform-images-fleet (pull_request) Successful in 8m0s
CI / platform-images-collect (pull_request) Successful in 2m32s
f3736b5b4a
Merge main into WI-343 and reconcile typed config integrations
Some checks failed
SCIP accuracy / produce-index (pull_request) Has been skipped
CI / check-akh-medu (pull_request) Has been cancelled
CI / test-akh-medu (pull_request) Has been cancelled
CI / docker-seshd (pull_request) Has been cancelled
CI / docker-sokard (pull_request) Has been cancelled
CI / docker-akh-transcripts (pull_request) Has been cancelled
CI / publish-chart (pull_request) Has been cancelled
CI / platform-images-home (pull_request) Has been cancelled
CI / platform-images-core (pull_request) Has been cancelled
CI / platform-images-daemons (pull_request) Has been cancelled
CI / platform-images-fleet (pull_request) Has been cancelled
CI / platform-images-collect (pull_request) Has been cancelled
CI / test-sokar (pull_request) Has been cancelled
CI / check-seshat (pull_request) Has been cancelled
CI / test-session-platform (pull_request) Has been cancelled
SCIP accuracy / recorded-accuracy (pull_request) Failing after 14m13s
35cd543b9b
Preserve training capture alongside akh defaults, expose explicit model discovery to the benchmark, and retain the suffix-prefill implementation. Validate merged configuration, model selection, and KV reuse parity.
fix: clear strict library clippy baseline across feature gates
Some checks failed
CI / test-session-platform (pull_request) Has been cancelled
CI / test-sokar (pull_request) Has been cancelled
CI / check-seshat (pull_request) Has been cancelled
CI / check-akh-medu (pull_request) Has been cancelled
CI / test-akh-medu (pull_request) Has been cancelled
CI / docker-seshd (pull_request) Has been cancelled
CI / docker-sokard (pull_request) Has been cancelled
CI / docker-akh-transcripts (pull_request) Has been cancelled
CI / publish-chart (pull_request) Has been cancelled
CI / platform-images-home (pull_request) Has been cancelled
CI / platform-images-core (pull_request) Has been cancelled
CI / platform-images-daemons (pull_request) Has been cancelled
CI / platform-images-fleet (pull_request) Has been cancelled
CI / platform-images-collect (pull_request) Has been cancelled
178c1f199e
fix: align optional feature gates and isolate observability smoke test
All checks were successful
CI / test-sokar (pull_request) Successful in 36m54s
CI / test-akh-medu (pull_request) Successful in 25m2s
CI / docker-sokard (pull_request) Successful in 15m45s
CI / test-session-platform (pull_request) Successful in 51m18s
CI / docker-seshd (pull_request) Successful in 33m33s
CI / check-akh-medu (pull_request) Successful in 51m25s
CI / docker-akh-transcripts (pull_request) Successful in 36m14s
CI / check-seshat (pull_request) Successful in 1h26m16s
CI / publish-chart (pull_request) Successful in 1h38m9s
CI / platform-images-home (pull_request) Successful in 5m10s
CI / platform-images-core (pull_request) Successful in 2m39s
CI / platform-images-daemons (pull_request) Successful in 9m14s
CI / platform-images-fleet (pull_request) Successful in 28m30s
CI / platform-images-collect (pull_request) Successful in 2m14s
f68afb265b
Merge shared lint and feature-gate fixes into WI-343
Some checks failed
CI / test-session-platform (pull_request) Successful in 21m59s
CI / docker-seshd (pull_request) Failing after 17m12s
CI / test-akh-medu (pull_request) Successful in 26m38s
CI / docker-akh-transcripts (pull_request) Successful in 18m21s
CI / docker-sokard (pull_request) Successful in 29m10s
CI / check-seshat (pull_request) Successful in 42m21s
CI / test-sokar (pull_request) Successful in 57m44s
CI / publish-chart (pull_request) Successful in 42m9s
CI / check-akh-medu (pull_request) Successful in 1h22m39s
CI / platform-images-daemons (pull_request) Successful in 3m19s
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-core (pull_request) Successful in 33m6s
CI / platform-images-home (pull_request) Successful in 1h12m7s
CI / platform-images-collect (pull_request) Has been skipped
80cbce1153
Some checks failed
CI / test-session-platform (pull_request) Successful in 21m59s
CI / docker-seshd (pull_request) Failing after 17m12s
CI / test-akh-medu (pull_request) Successful in 26m38s
CI / docker-akh-transcripts (pull_request) Successful in 18m21s
CI / docker-sokard (pull_request) Successful in 29m10s
CI / check-seshat (pull_request) Successful in 42m21s
CI / test-sokar (pull_request) Successful in 57m44s
CI / publish-chart (pull_request) Successful in 42m9s
CI / check-akh-medu (pull_request) Successful in 1h22m39s
CI / platform-images-daemons (pull_request) Successful in 3m19s
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-core (pull_request) Successful in 33m6s
CI / platform-images-home (pull_request) Successful in 1h12m7s
CI / platform-images-collect (pull_request) Has been skipped
This pull request has changes conflicting with the target branch.
  • src/bin/akhomed.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine:claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git switch claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git switch claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git rebase main
git switch main
git merge --ff-only claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git switch claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git rebase main
git switch main
git merge --no-ff claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git switch main
git merge --squash claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git switch main
git merge --ff-only claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git switch main
git merge claude/wi-01a03edf-wave-r1a-typed-fail-closed-config-spine
git push origin main
Sign in to join this conversation.
No reviewers
No labels
follow-up
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
toasterson/akh-medu!356
No description provided.