Skip to content

docs(site): bring the glossary back in line with the source at 0.15.1 - #255

Merged
laithalsaadoon merged 1 commit into
mainfrom
docs/glossary-0151
Oct 8, 2026
Merged

laithalsaadoon merged 1 commit into
mainfrom
docs/glossary-0151

Conversation

@laithalsaadoon

Copy link
Copy Markdown
Contributor

Documentation only: one file, apps/docs/src/content/docs/glossary.md (https://memhtml.github.io/glossary/). It now matches the source at 0.15.1 (main 9e77ffc).

What was wrong

  • Committed sidecar: .memhtml/state/access.jsonl was called the state plane's "only durable copy", committed by sleep once per run. It holds state.access only (the two corroboration tables are never exported), and two things write it: the state-export phase on the run's branch, and memhtml state export on whatever branch is checked out. An empty table, as on a fresh clone before state import, writes an empty file over the committed rows.
  • Sleep phase: "each an isolated commit" and "seventeen as of v0.6.0". preflight and relationship-mining never commit (NON_COMMITTING_PHASES), other phases commit only when they staged a change, and arc-synthesis, compress and trace-consolidation can commit more than once. What a phase gets is failure isolation. The count now reads "the phases of SLEEP_PHASES, 17 as of v0.15.1".
  • State plane: it held "reprieve bookkeeping". The reprieve count is the memhtml-reprieves meta in each memory file. The entry now names the third table, state.entity_corroboration.
  • Eviction: git diff -M was said to report the move as R100. The archive stamps land in the same commit, so the similarity is below 100. git log --follow still reads through it.
  • Retention triage and reprieve: reprieve was described as an appeal of triage. It is a separate phase that acts only on memories whose memhtml-valid-until has passed.
  • Last-wins consolidation: the page said memhtml never does this. An explicit per-batch opt-in exists (apply --consolidate last-wins, consolidate: "last-wins" on memory_write_batch); the documented reason memhtml declines it by default stays.
  • Narrowed guarantees: degraded is true only when the vector arm did not run; MMR runs in search, not recall; the duplicate lookup reads the index and misses an unindexed copy; memhtml exec enforces read-only, while a script run directly is read-only by convention; git branch -D on a sleep branch discards its commits but not its index.db and state.db writes; the index plane holds run rows, trace tables and consolidation marks that a rebuild cannot recompute.
  • The schedule wording ("once per night") is gone, and metaphors ("load-bearing sentence", "injective", "over the ATTACH") are replaced by the literal claim.

Added terms

Arc, Authored edge and derived edge, Sleep, Task, Watermark. Each appears on 9 to 22 docs-site pages and had no entry. The page went from 25 terms in 110 lines to 30 terms in 210 lines.

How it was checked

  • A rewrite agent checked every claim in every entry against the code, not the doc comments. It wrote per-claim file:line evidence and ran seven probes on throwaway fixture stores.
  • A second agent reviewed the rewrite against the source and reran fixture probes. Copilot code review is out of quota this month. The reviewer returned 37 verified findings, mostly failure paths and guarantee scopes stated too wide.
  • A third agent re-checked each finding against the source. It applied all or part of 36 and rejected one: a gate that crashes is not a refusal, so the refused-merge sentence stays. It also kept two sentences that two other findings would have changed but that the source shows are true. Where the full failure path belongs on the linked internals page, the glossary sentence was cut back to what is true rather than extended.
  • mise run check: see the comment below. dprint check and cspell are clean, no new dictionary words, and every See link resolves.

Not in this PR

Several internals pages still state claims the glossary now corrects, for example index-plane-and-state-plane.md ("only durable copy"), the the-sleep-pipeline.md description ("each an isolated commit"), testing-posture.md:41 (corpusMrr), the-memory-file-format.md:57 (blob sha), the-write-path.md:16 and :57, four-arm-retrieval.md:118, and internals/index.md:12. Each is a later documentation pass.

Corrects the committed sidecar (state.access only, written by the
state-export phase and by memhtml state export), the sleep phase entry
(zero, one or several commits; failure isolation), the state plane's
tables, the eviction rename similarity, reprieve, and the last-wins
opt-in; narrows guarantees stated wider than the code keeps; adds Arc,
Authored edge and derived edge, Sleep, Task and Watermark.
Copilot AI balanced review requested due to automatic review settings October 8, 2026 08:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@laithalsaadoon

Copy link
Copy Markdown
Contributor Author

Local gate on 9b6b7a2: mise run check 68/68 in 186 s. The commit is signed and verified.

@laithalsaadoon

Copy link
Copy Markdown
Contributor Author

Merging under the standing documentation authority. Copilot's review body on this PR is its monthly-quota message (08:44:55Z), so the 2026-09-14 ruling for docs-only PRs applies: the change is one docs-site page, the local gate passed 68/68 on 9b6b7a2, and all 11 CI checks are green on the same head. In place of the Copilot review, a separate review agent checked the rewrite against the source with fixture probes; its 37 findings were re-checked and applied as described in the PR body.

@laithalsaadoon
laithalsaadoon merged commit 3f09fcb into main Oct 8, 2026
11 checks passed
@laithalsaadoon
laithalsaadoon deleted the docs/glossary-0151 branch October 8, 2026 08:52
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.

2 participants