Skip to content

feat(knowledge): retain completed write history - #200

Open
drewstone wants to merge 6 commits into
mainfrom
feat/retained-write-history
Open

feat(knowledge): retain completed write history#200
drewstone wants to merge 6 commits into
mainfrom
feat/retained-write-history

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Knowledge writes currently delete before/after snapshots when a transaction finishes. This loses the evidence needed to recover consolidated pages. This opt-in API preserves terminal transaction manifests and existing snapshots under a symlink-safe .agent-knowledge/history/ path and makes a lost finish acknowledgement idempotent. Default callers retain existing cleanup behavior. The Lab can opt in for its persistent research namespace without imposing a curator, merge policy, or per-note optimizer workflow.

Verification: focused file-transaction suite 25 passed / 2 skipped; typecheck src and contracts passed; lint passed; check-version-bump passed with major 16.0.0; API surface regenerated and current. No research data or credentials changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant