Database: add effective operational KB snapshots #104

Closed
nsaspy wants to merge 5 commits from auto-rage-db-effective-kb-20260830-1357 into master
Owner

Slice

Add a canonical database read that resolves operational-KB assertions minus retractions so consumers do not reimplement KB state resolution.

RED acceptance

  • effective snapshot excludes retracted assertions;
  • a retraction from a later run still suppresses an earlier-run assertion when :run-id filters the resulting live assertions;
  • live assertions remain deterministically typed and operation-scoped.

Database-only ownership. No Hackpert behavior changes, no provider execution, no shadow KB/database.

## Slice Add a canonical database read that resolves operational-KB assertions minus retractions so consumers do not reimplement KB state resolution. ## RED acceptance - effective snapshot excludes retracted assertions; - a retraction from a later run still suppresses an earlier-run assertion when `:run-id` filters the resulting live assertions; - live assertions remain deterministically typed and operation-scoped. Database-only ownership. No Hackpert behavior changes, no provider execution, no shadow KB/database.
database: export effective operational KB read
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 12s
core / common-lisp-core (pull_request) Failing after 35s
monorepo / hygiene (pull_request) Successful in 3m52s
e427e1372a
nsaspy closed this pull request 2026-09-04 20:53:08 +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 12s
core / common-lisp-core (pull_request) Failing after 35s
monorepo / hygiene (pull_request) Successful in 3m52s

Pull request closed

Sign in to join this conversation.
No description provided.