Dense-Mem

Documentation Maintenance

This site holds the approved target architecture and recommended workflows. Describe behavior, boundaries, and outcomes directly. Keep design rationale and decision history in ADRs and issues. Label approved behavior that awaits implementation and verify deployment availability separately.

The architecture review source is 41e27867, using contract dense-mem.v2.8.0.

The documentation-branch workflow, integration version, and development instructions are checked against application source 1e9b894f. This targeted update does not establish live deployment or publication status.

Implementation Status

Subject Source behavior Availability boundary
Remember Synchronous terminal outcomes with optional bounded progress notifications. Implemented in the reviewed source; client presentation depends on the host.
Evidence-only cutover Migration 20261110010000 resets derived organization and retains Evidence for subsequent maintenance. Applies once to databases where the migration is pending; see cutover and rebuild.
Staging deployment The selected image performs migrations before read-only verification and startup. Requires the manually installed host helper; live installation and deployment were not inspected in this audit.

Source implementation does not establish the state of a deployed image or database. ADR 0001 governs terminal MCP outcomes; ADR 0017 defines the Evidence-only boundary. Detailed verification receipts remain with the linked changes: Remember progress, organization reset, and staging deployment.

Repository Documentation And Publication

Location Responsibility
Root READMEs on main Short overview, working quickstart and navigation.
Directory READMEs on main File-specific instructions for examples, scripts, packages, and test fixtures.
gh-pages branch Canonical source for guides, interactive steps, and examples.
GitHub Pages Published static site built from the branch root.

Follow the repository documentation delivery policy for companion PRs and separate worktrees.

Publish And Recover

flowchart LR
  Change[Guide change] --> Check[Build and check]
  Check --> Merge[Merge to gh-pages]
  Merge --> Pages[Pages builds the merged commit]
  Pages --> Verify[Verify the public routes]

Set the GitHub Pages publishing source to the root of gh-pages. After a site PR merges, check Pages build and deployment in GitHub Actions for the merged source commit. Open the affected Pages routes and step or heading links.

If the build or deployment fails, inspect the run for the failing step and source commit. Make the fix through a documentation PR, then verify the resulting deployment. The PR check verifies the candidate site and the Pages run identifies the published commit.

Canonical Page Ownership

Subject Owner
Reader orientation and navigation Story, system index, and reference guides.
Components, dependency direction, runtime composition Architecture.
Exact Evidence, occurrence/revision meaning, ownership, lifecycle, temporal semantics Evidence Model And Lifecycle.
Topics, direct membership, equivalence, freshness, maintenance and manager publication Topics And Organization.
Staging, duplicate/assessment orchestration, stage progression, deadlines, embeddings, atomicity and replay Memory Write Pipeline.
Storage families, durable versus rebuildable state Data Model And Storage.
Tenant keys, constraints, transactions, RLS, generation and topology mechanics PostgreSQL Cluster-Safe Schema.
Recall eligibility, branches, grouping, topic follow-up and degradation Recall Ranking.
Similarity, candidate fusion and typed relevance reranking Vector Search And Ranking.
Physical vector execution, dimensions, HNSW/halfvec and index lifecycle ANN, HNSW, And Halfvec.
Public tools, complete protocol/progress examples, field bounds, result/error shapes Technical Reference.
Recommended host workflow Using Dense-Mem.
Installation, disposable demo and host connection Quick Start, Hosted Demo, MCP Clients, each for its own procedure.
Python, ADK and LangChain adapter use Framework Integrations.
Authentication, principal, authorization, spaces and exposure policy Request Lifecycle And Security.
Credential administration and owner erasure requests Portals And API Keys.
IdP setup, entitlement mapping and directory provisioning User Portal SSO.
Evidence replacement/retraction and conflict inspection/decisions Conflicts And Corrections.
Portable Evidence artifacts and omission interpretation Memory Packs.
Voluntary observational judgments Recall Feedback.
Setting names, defaults and configuration source Configuration.
Ingress and distributed-coordination deployment Public HTTPS And Redis.
Startup, incidents, maintenance, backup and recovery procedures Operations Runbook.
Metrics, operational diagnostics, cost and export interpretation Telemetry.
Source-change workflow, test layers and release checks Development And Testing.
Evaluation protocol, identity, quality gates and artifacts Evaluation.

Single-Source Rules

%%{init: {"flowchart": {"curve": "linear"}}}%%
flowchart TB
  Claim["Changed rule"] --> Owner["Edit the owner"]
  Owner --> Links["Link from other pages"]
  Links --> Examples["Check examples + diagrams"]
  Examples --> Validate["Verify source"]
  Validate --> Status["Record implementation gaps"]
  Status --> Publish["Publish target + status"]

Keep complete schemas/examples in Technical Reference, defaults in Configuration, policy in its owning page, and procedures in their workflow/runbook. Framework-native snippets may illustrate their integration without restating the wire schema. Short reader summaries are useful; copied decision tables and full diagrams create competing authority.

Prefer an illustrative diagram for relationships, ordering, boundaries, and failure paths. Use a small table for fields or outcomes. Keep prose for constraints, exceptions, and details the visual cannot express. Preserve distinct subjects rather than merging unrelated responsibilities to reduce page count.

Retired feature URLs retain only short pointers and are absent from active navigation. Delete redundant pages after moving any unique current material. Remove completed plans and obsolete release narratives; preserve exact identifiers still emitted by code, such as artifact formats and retired_contract.

Updating And Verifying

  1. Record the approved target, inspected source revision/worktree state, and implementation gaps; read relevant accepted ADRs, callers, owners, and tests.
  2. Update the canonical explanation and all affected links, examples, and diagrams together.
  3. Test a concrete adverse reading: private-bound access, stale topic/revision, malformed provider response, required failure, or unknown delivery.
  4. Validate links/anchors, examples, source identifiers, diagrams, and the final diff.
  5. Publish only through the authorized repository workflow and verify its resulting revision.
Material Verification
Complete tool JSON Current registry schemas and semantic input validation; also validate complete protocol envelopes and any explicitly labeled target examples. Substitute only explicit returned-ID/new-key placeholders.
Python snippets Parse/compile and check current client types, methods, options, and constructor signatures.
Shell/config snippets Syntax plus existing scripts, routes, parser settings, and deployment examples.
Source/lifecycle claims Domain policy, adapters, migrations, real PostgreSQL tests and supported consumers.
Site links Resolve generated pages and heading or step anchors, including changed inbound links.
Mermaid Extract backtick and tilde fences; parse with pinned temporary tooling and render/inspect substantial diagrams.

Flowcharts use %%{init: {"flowchart": {"curve": "linear"}}}%%; sequence diagrams use %%{init: {"sequence": {"rightAngles": true}}}%%.

git diff --check
git diff --stat
git status --short

Inspect retired-term matches in context. Microsoft Graph, dependency graphs, and HNSW indexes are not retired factual memory features. Do not erase current historical-read/error identifiers with a blanket text replacement.

Report the source baseline, changed responsibilities, executed validation, publication commit, and remaining uncertainty. Preserve concurrent worktree edits and distinguish static inspection from live service proof.