You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Context rescue S5: hide a wiki page's source memory while the page's memory is shown (#59) #164
Part of #59, Phase 2: "recall collapses promoted and imported chains", and its finding D8: "wiki import doesn't supersede its source". S1 (#128) left imported-page collapse out because nothing linked a page back to the memory it came from ("needs provenance metadata"). S1–S4 (#128, #134, #147, #153) are built; this is the slice after them.
What memkernel does today (main at 3ba5c72)
Export writes memkernel_ref, memkernel_sha256 and memkernel_hash_scheme on every draft page (src/memkernel/wiki/sync.py:403-406).
Import reads only corrects: (sync.py:843), which supersedes the named memory when a curator corrects it. A page approved without corrects: becomes a new memory, and its source stays live beside it, so recall and the hook blocks can show both.
Promoted chains collapse in the hook blocks (src/memkernel/lifecycle.py, _distinct) and are left out of promotion candidates (src/memkernel/core/services.py:1558). MCP recall collapses neither chain.
Owner's decisions (2026-11-25)
Hide the source; don't supersede it.
Link only when the named memory is live, in the project scope, and its hash matches the page's memkernel_sha256 under memkernel_hash_scheme.
A page without memkernel_ref gets no link.
corrects wins over memkernel_ref.
The spec says whether a hidden source stays a promotion candidate, and whether wiki-studio's ADR-0002 should register memkernel_ref.
Activity
spec: S5, the owner's approvals of D1-D6, the two invariants, collaps…
spec: S5, path endpoints, wider windows reselected, receipt shape, Q1…
spec: S5, receipt entry order and path pinned; widening and Q1 in the…
spec: S5, Q1 settled by the owner: displayed results keep their origi…
spec: S5, links followed only through records the caller can see (#164)
Merge pull request #165 from gosha70/spec/164-imported-page-collapse
hook blocks: a memory the budget drops hides nothing; FR-002 amended …
hook blocks: the left-out line counts the block's empty slots, not ev…