db: return typed singular long-term KB promotions #77

Closed
nsaspy wants to merge 4 commits from rage-db/typed-long-term-fetch-11 into master
Owner

Database/KB RED→GREEN slice for #24.

RED established that fetch-long-term-kb-promotions returned typed long-term-kb-promotion values while singular fetch-long-term-kb-promotion leaked a raw Tek9 node. The regression requires the singular read to preserve typed promotion identity/evidence and return NIL for a missing stable ID.

GREEN changes only the canonical database read boundary: validate the stable record ID, fetch from the canonical long-term KB graph, and deserialize a present node with tek9-node->long-term-kb-promotion.

The branch has been reconciled forward onto current master after sibling Hackpert #126; no sibling-owned files are changed.

No provider/Hackpert behavior and no StarIntel product work.

Database/KB RED→GREEN slice for #24. RED established that `fetch-long-term-kb-promotions` returned typed `long-term-kb-promotion` values while singular `fetch-long-term-kb-promotion` leaked a raw Tek9 node. The regression requires the singular read to preserve typed promotion identity/evidence and return NIL for a missing stable ID. GREEN changes only the canonical database read boundary: validate the stable record ID, fetch from the canonical long-term KB graph, and deserialize a present node with `tek9-node->long-term-kb-promotion`. The branch has been reconciled forward onto current `master` after sibling Hackpert #126; no sibling-owned files are changed. No provider/Hackpert behavior and no StarIntel product work.
merge master into typed long-term KB fetch slice
Some checks failed
agent-pr-serialization / one-open-pr-per-agent-lane (pull_request_target) Failing after 2s
agent-framework-boundary / keep-agent-framework-out-of-product-tree (pull_request) Successful in 7s
core / common-lisp-core (pull_request) Failing after 45s
monorepo / hygiene (pull_request) Successful in 5m45s
5b7e867b25
nsaspy closed this pull request 2026-09-04 20:55:53 +00:00
Some checks failed
agent-pr-serialization / one-open-pr-per-agent-lane (pull_request_target) Failing after 2s
agent-framework-boundary / keep-agent-framework-out-of-product-tree (pull_request) Successful in 7s
core / common-lisp-core (pull_request) Failing after 45s
monorepo / hygiene (pull_request) Successful in 5m45s

Pull request closed

Sign in to join this conversation.
No description provided.