EPIC: Persistent Prolog KB memory, evidence, and typed state #4
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/a0-symbolics#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #1
Goal
Replace history-as-state and heuristic memory accumulation with explicit typed state, provenance, verification and lifecycle rules, with durable symbolic memory represented in persistent Prolog knowledge bases whenever the Prolog-RLM control plane is active.
State model
Active state should be compact and typed:
Memory lifecycle
Candidate -> verified -> active -> superseded/expired.
Each durable item should carry provenance, scope, timestamps, confidence, verifier/evidence refs and supersession links. A generated "solution" is not durable merely because it sounded plausible.
Persistent Prolog KB contract
When
_prolog_rlmis enabled, durable memory needed by symbolic reasoning must be persisted as queryable Prolog KB state rather than being available only through vector search or reconstructed prompt prose.Requirements:
assertz/1access;_memorydata are bounded and reversible;The single-plugin runtime/bridge path that exposes these KBs belongs to #8. This epic owns memory semantics, persistence, provenance, lifecycle, and migration behavior.
Artifact/evidence contract
Large tool results, traces and files live outside the provider prompt. Active context receives a compact typed observation such as status/facts/errors/evidence_refs/artifacts/state_delta.
Use
rlm_artifactwhere its exact API is stable and covered; avoid coupling the bootstrap to conversation/evolution modules while their current regressions remain unresolved.RAGE loop
Review Agent Zero memory recall/write/compaction paths -> analyze epistemic gaps and earliest safe hook -> generate typed candidate/state path + focused migrations/tests -> execute contamination, supersession, abstention and persistence regressions -> repeat.
Acceptance
Non-goal
Do not replace the entire Agent Zero memory plugin in one PR. Introduce the typed/persistent verified path incrementally and measure it.