Seshat curiosity 1 — implement structured synthesis with chunk provenance #360

Merged
toasterson merged 6 commits from claude/wi-01a0825f-seshat-curiosity-1-implement-structured into main 2026-10-06 19:23:18 +00:00
Owner

Anima work item 01a0825f-eb1c-7da0-b5b8-07e473afb27f.

Bounded execution slice of WI-26, unpacked 2026-09-08 at the user's request. The parent preserves the original acceptance contract and source history.

Scope
Replace the verified synthesis_not_yet_implemented response in crates/seshat/src/mcp/mod.rs with a typed synthesis result over curated Archive chunks. Reuse existing configured model and archive seams. Define candidate statement, source chunk IDs and confidence; return explicit unavailable/invalid-output errors. The old direct Wikipedia/Wikidata/ConceptNet idle path stays disabled.

Prerequisites
No unfinished hard prerequisite; existing main APIs are the starting point.

Acceptance and delivery
Fixture-backed MCP contract tests cover successful grounded synthesis, empty corpus, model unavailable and malformed output. No fabricated source IDs; every candidate retains the retrieved chunk chain. Publish a focused implementation Change.

Execution notes
Re-ground against current main before changing code; the planning baseline was b000e52b58. Inspect the parent PR/branch and preserve useful existing work. Produce only this slice and its evidence. An implementation needs a durable Anima Change and exact-head review/CI; a findings item needs a linked findings Document. A local commit, draft proposal or unrun experiment is not proof that a prerequisite is available.

Current readiness (2026-10-02): the exact source scope is complete and independently reviewed, so this PR is ready for genuine Anima review. This supersedes earlier draft-retention notes that cited only pending gates. Native current-head review and CI remain required; no approval, merge, or deployment is claimed. See validation/wi367-receipt.json for actual exact-head run.

Anima work item `01a0825f-eb1c-7da0-b5b8-07e473afb27f`. Bounded execution slice of WI-26, unpacked 2026-09-08 at the user's request. The parent preserves the original acceptance contract and source history. Scope Replace the verified synthesis_not_yet_implemented response in crates/seshat/src/mcp/mod.rs with a typed synthesis result over curated Archive chunks. Reuse existing configured model and archive seams. Define candidate statement, source chunk IDs and confidence; return explicit unavailable/invalid-output errors. The old direct Wikipedia/Wikidata/ConceptNet idle path stays disabled. Prerequisites No unfinished hard prerequisite; existing main APIs are the starting point. Acceptance and delivery Fixture-backed MCP contract tests cover successful grounded synthesis, empty corpus, model unavailable and malformed output. No fabricated source IDs; every candidate retains the retrieved chunk chain. Publish a focused implementation Change. Execution notes Re-ground against current main before changing code; the planning baseline was b000e52b5884442bcc0f78d520803a7fb202de96. Inspect the parent PR/branch and preserve useful existing work. Produce only this slice and its evidence. An implementation needs a durable Anima Change and exact-head review/CI; a findings item needs a linked findings Document. A local commit, draft proposal or unrun experiment is not proof that a prerequisite is available. Current readiness (2026-10-02): the exact source scope is complete and independently reviewed, so this PR is ready for genuine Anima review. This supersedes earlier draft-retention notes that cited only pending gates. Native current-head review and CI remain required; no approval, merge, or deployment is claimed. See validation/wi367-receipt.json for actual exact-head run.
Seshat curiosity 1 — implement structured synthesis with chunk provenance
All checks were successful
CI / check-seshat (pull_request) Successful in 11m4s
CI / check-akh-medu (pull_request) Successful in 18m41s
CI / publish-chart (pull_request) Successful in 2m41s
CI / docker-seshd (pull_request) Successful in 13m0s
CI / test-akh-medu (pull_request) Successful in 42m26s
d7ce6aa744
Anima implementation session.
Complete Seshat structured synthesis wiring
Some checks failed
CI / test-sokar (pull_request) Successful in 5m50s
CI / check-akh-medu (pull_request) Successful in 9m14s
CI / publish-chart (pull_request) Successful in 1m54s
CI / test-akh-medu (pull_request) Successful in 10m17s
CI / test-session-platform (pull_request) Successful in 14m9s
CI / docker-akh-transcripts (pull_request) Successful in 6m11s
CI / check-seshat (pull_request) Successful in 15m39s
CI / docker-sokard (pull_request) Successful in 20m36s
CI / docker-seshd (pull_request) Failing after 32m5s
b856f03f05
Author
Owner

Full-lane babysit 2026-10-01 — WI-367.

Exact head b856f03f0576a7c5a63de2d2ba6b4e57805cea96, current main ad441fe9e2359a1bf315eda28a4b072cc56cee2d. Real merge-tree clean; branch is not already on main.

Branch now registers synthesis in lib/main and wires MCP handler, backend_name and success/empty/unavailable/malformed fixture tests; old missing-wiring diagnosis is stale. Merge-tree clean. Hosted docker-seshd red; canonical exact-head review/CI still uncleared.

Individual disposition also recorded in the Anima WI thread. No approval or CI gate was overridden.

Full-lane babysit 2026-10-01 — WI-367. Exact head `b856f03f0576a7c5a63de2d2ba6b4e57805cea96`, current main `ad441fe9e2359a1bf315eda28a4b072cc56cee2d`. Real merge-tree clean; branch is not already on main. Branch now registers synthesis in lib/main and wires MCP handler, backend_name and success/empty/unavailable/malformed fixture tests; old missing-wiring diagnosis is stale. Merge-tree clean. Hosted docker-seshd red; canonical exact-head review/CI still uncleared. Individual disposition also recorded in the Anima WI thread. No approval or CI gate was overridden.
test(candle): gate Vulkan device test on its feature
Some checks failed
CI / test-session-platform (pull_request) Successful in 22m36s
CI / docker-seshd (pull_request) Successful in 12m16s
CI / publish-chart (pull_request) Successful in 14m52s
CI / check-akh-medu (pull_request) Successful in 37m50s
CI / docker-sokard (pull_request) Successful in 44m37s
CI / check-seshat (pull_request) Successful in 1h1m41s
CI / docker-akh-transcripts (pull_request) Successful in 1h23m32s
CI / test-akh-medu (pull_request) Failing after 2h2m1s
CI / test-sokar (pull_request) Successful in 2h48m58s
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
59ea36e416
toasterson changed title from WIP: Seshat curiosity 1 — implement structured synthesis with chunk provenance to Seshat curiosity 1 — implement structured synthesis with chunk provenance 2026-10-02 22:00:08 +00:00
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!360
No description provided.