feat(topic-memory): add end-to-end topic memory - #1490
Merged
Merged
Conversation
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Member
|
resolve conflicts |
Co-authored-by: multica-agent <github@multica.ai>
frf12
force-pushed
the
review/powe-97-r13-4189638b
branch
from
September 7, 2026 16:06
e8daf49 to
c68a335
Compare
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
…ries Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Teingi
reviewed
Sep 8, 2026
Zxf-xufeng
reviewed
Sep 8, 2026
Zxf-xufeng
reviewed
Sep 8, 2026
Member
|
resolve conflicts |
1 task
This was referenced Sep 8, 2026
frf12
added a commit
to frf12/powercontext
that referenced
this pull request
Sep 13, 2026
docs/superpowers/ is declared in .gitignore as local agent artifacts (rule added in oceanbase#1323), but this brainstorming working spec was tracked before that and slipped into upstream via oceanbase#1490, then got touched again by oceanbase#1512. Its content (RFC 1417 persistence milestone design) is already covered by docs/en/rfcs/1417_topic_memory.md and docs/zh/rfcs/1417_topic_memory.md.
PsiACE
pushed a commit
that referenced
this pull request
Sep 13, 2026
docs/superpowers/ is declared in .gitignore as local agent artifacts (rule added in #1323), but this brainstorming working spec was tracked before that and slipped into upstream via #1490, then got touched again by #1512. Its content (RFC 1417 persistence milestone design) is already covered by docs/en/rfcs/1417_topic_memory.md and docs/zh/rfcs/1417_topic_memory.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue or RFC does this PR close?
Implements the Topic Memory RFC introduced in #1417.
Rationale for this change
PowerContext captures detailed Sources, but long-running agents also need durable, scoped knowledge that can be evolved, searched, and reused across sessions. Topic Memory turns accepted Sources into long-lived Topic Artifacts while preserving evidence lineage, Scope isolation, publication consistency, and bounded model/resource use.
This change implements that lifecycle end to end rather than exposing an isolated storage or UI layer: Source capture raises durable processing intent, background workers generate and atomically publish Topic revisions, retrieval makes the active projection available to agents, and operators can inspect the same published state from the Dashboard.
What changes are included in this PR?
topic-memoryArtifact family, Markdown chunking, immutable revisions, evidence lineage, current-head projections, and SQLite/OceanBase lexical plus optional vector/hybrid indexes./topicsDashboard with Scope selection, search, sorting, pagination, list/detail views, source and publication explanations, localized navigation, responsive layouts, and stale-response protection. The page does not create, edit, or delete Topic Memory.Are there any user-facing changes?
search_topic_memoryandget_topic_memoryto reuse current Topic knowledge for the active Scope. Operators can request a flush throughPOST /v1/topic-memory/flush.How was this change tested?
Local validation covered the complete feature branch at
4189638ba6851b2686c0bb94ce5138fb5e70663e. These are local results, not a claim that remote CI has passed.make test: 1263 passed, 11 skipped.make check: passed, including manifest, lock, formatting, lint, and type checks.make contract-test: 30 passed.make build: passed./topicsDashboard.git diff --checkpassed.Known validation limitations:
AI usage statement
OpenAI Codex assisted with implementation, review-driven fixes, regression tests, documentation, and local product acceptance. The results above come from executed tests and real local PowerContext/Codex/browser processes; AI assistance is not a substitute for maintainer review or CI.