Skip to content

docs: close SOT coverage gaps (content-drift, sanctum, Tier 2 injection, README discoverability)#191

Merged
Hidden-History merged 1 commit into
mainfrom
docs/plan028-sot-coverage
Jun 15, 2026
Merged

docs: close SOT coverage gaps (content-drift, sanctum, Tier 2 injection, README discoverability)#191
Hidden-History merged 1 commit into
mainfrom
docs/plan028-sot-coverage

Conversation

@Hidden-History

Copy link
Copy Markdown
Owner

Closes the P1 documentation source-of-truth gaps surfaced by a docs-coverage audit (13 gaps across 30 system aspects; this PR covers the 8 P1 gaps).

What

  • New docs/CONTENT-DRIFT.md — operator guide for the aim-content-drift skill: the three drift classes, the never-clobber guarantee, the --ack workflow, the v1 ORPHAN heuristic limit, and the v1.1-deferred --apply.
  • New docs/SANCTUM-SKILLS.md — the sanctum file lifecycle: aim-agent-sanctum-init (First Breath scaffold, 8 files, file-level idempotency) and aim-lore-hygiene (LORE/MEMORY compaction; distinct from aim-purge).
  • docs/HOOKS.md — new "Tier 2 Per-Turn Context Injection" section documenting the per-turn semantic retrieval hook (adaptive budget, confidence gating, topic drift, collection routing, greedy fill, the per-source budget ledger, the remaining= reject marker, and the injection-log.jsonl schema). Also corrects the prior UserPromptSubmit description, which described only activity logging and omitted this hook.
  • README.md — links four previously-unlinked docs (temporal features, multi-IDE support, backup/restore, architecture) and points the Parzival link at README-POV.md.

Why

Several substantial docs were undiscoverable from the README, and two subsystems (content-drift, the Tier 2 injection budget/ledger) had no source-of-truth page. Each aspect of the system should have a discoverable SOT doc.

Verification

Each new/changed section was reviewed for technical accuracy against the source (injection.py, context_injection_tier2.py, the skill SKILL.md files): symbol names, gating modes, the per_source ledger semantics, and the reconciliation example were verified against the code. All README link targets resolve.

…on, README discoverability)

- Add docs/CONTENT-DRIFT.md — operator guide for the aim-content-drift skill:
  drift classes (MISSING/SUPERSEDED/ORPHAN), never-clobber guarantee, --ack workflow,
  v1 ORPHAN heuristic limit, --apply deferred to v1.1.
- Add docs/SANCTUM-SKILLS.md — sanctum file lifecycle: aim-agent-sanctum-init
  (First Breath scaffold, 8 files, idempotency) + aim-lore-hygiene (LORE/MEMORY compaction).
- docs/HOOKS.md: new "Tier 2 Per-Turn Context Injection" section documenting
  context_injection_tier2.py / injection.py — adaptive budget, confidence gating,
  topic drift, collection routing, greedy fill, the per-source budget ledger and
  remaining= reject marker, and the injection-log.jsonl schema. Corrects the prior
  UserPromptSubmit description, which described only activity logging.
- README.md: link 4 previously-unlinked docs (temporal features, multi-IDE,
  backup/restore, architecture); point the Parzival link at README-POV.md.
@Hidden-History Hidden-History merged commit 886adaf into main Jun 15, 2026
17 checks passed
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