Database: add typed reusable KB reads #116

Closed
nsaspy wants to merge 9 commits from hackmode-rage-database/24-reusable-kb-reads into master
Owner

Bounded database-owned slice for #24.

Adds the missing read side for the reusable KB lifecycle:

  • reconstruct long-term promotion Tek9 nodes as validated long-term-kb-promotion values;
  • reconstruct global export nodes as validated global-kb-export values;
  • enumerate each canonical graph in deterministic record-ID order;
  • optionally filter by source operation;
  • preserve source/promotion/export evidence and provenance;
  • ignore graph root nodes rather than leaking raw storage objects.

No Hackpert code, provider execution, new persistence authority, or shadow KB is introduced.

RED head: 4dcdd8d7698cd0d7480942e6a6220e6eef86249c
Implementation head: 82b88fa3881b497bc8f11df3108f0ef7eb0e2fe6

Bounded database-owned slice for #24. Adds the missing read side for the reusable KB lifecycle: - reconstruct long-term promotion Tek9 nodes as validated `long-term-kb-promotion` values; - reconstruct global export nodes as validated `global-kb-export` values; - enumerate each canonical graph in deterministic record-ID order; - optionally filter by source operation; - preserve source/promotion/export evidence and provenance; - ignore graph root nodes rather than leaking raw storage objects. No Hackpert code, provider execution, new persistence authority, or shadow KB is introduced. RED head: `4dcdd8d7698cd0d7480942e6a6220e6eef86249c` Implementation head: `82b88fa3881b497bc8f11df3108f0ef7eb0e2fe6`
Persist reusable KB provenance anchors
Some checks failed
agent-pr-serialization / one-open-pr-per-agent-lane (pull_request_target) Failing after 7s
agent-framework-boundary / keep-agent-framework-out-of-product-tree (pull_request) Successful in 11s
core / common-lisp-core (pull_request) Failing after 36s
monorepo / hygiene (pull_request) Successful in 5m7s
6b3e1fcde9
nsaspy closed this pull request 2026-09-04 20:52:15 +00:00
Some checks failed
agent-pr-serialization / one-open-pr-per-agent-lane (pull_request_target) Failing after 7s
agent-framework-boundary / keep-agent-framework-out-of-product-tree (pull_request) Successful in 11s
core / common-lisp-core (pull_request) Failing after 36s
monorepo / hygiene (pull_request) Successful in 5m7s

Pull request closed

Sign in to join this conversation.
No description provided.