Files
dotfiles/claude/memory/project-chamber-alexandrian-foundation-standard.md
T
David F GliddenandClaude Opus 5 c2df868104 [FIX] Repair 39 files' frontmatter — including 3 I damaged an hour earlier
The 2026-06-06 normalization sweep (3f9a89b, 283 files) prepended a stray
permalink-only frontmatter block to 39 memory files, 20 of them session wrap
records. Any real frontmatter parser reads the FIRST block, gets `permalink`
alone, and never sees name/description/type.

The sharp case: `strip_frontmatter` exists specifically to stop thread extraction
from matching inside `description:` — its docstring says so. On those 20 wrap
records it strips the stray block and hands the real frontmatter back AS BODY,
producing exactly the condition it was written to prevent.

Repair merges permalink into the real block and drops the duplicate. Nothing
retyped: frontmatter and body are carried as slices, body md5 asserted unchanged.

TWO DEFECTS OF MY OWN, both found only after claiming success:

1. THREE FILES DAMAGED BY THIS SESSION'S OWN STAMPING COMMIT (ef6fa94). That
   script located frontmatter with a non-greedy `^---\n.*?\n---\n`, which on a
   stray-block file matches the STRAY block — so it appended superseded_by to the
   wrong block and orphaned the real frontmatter into the body. That is the same
   non-greedy-first-block blindness diagnosed in strip_frontmatter one hour
   earlier, reproduced in the tool written to clean up after it.
   And the post-stamp check reported "malformed: none" because it asked "does the
   file start with frontmatter then a banner" — true for all three — while the
   claim was "the stamp preserved the record's metadata". The control's subject
   was adjacent to the claim's, for the sixth time today and the first time in my
   own verification. Repaired, verified against the pre-stamp file from git: no
   key lost, prose preserved.

2. REPAIRING 20 APRIL-MAY WRAP RECORDS MOVED THEIR MTIMES TO TODAY, and
   `sec_pause` picked "newest wrap" by mtime — so the digest promoted an April
   session to `Last wrap` and lost both the pulling thread and the open question.
   Caught by the DEGRADED section, which is the honest-degradation mechanism doing
   its job. `sec_pause` now selects by git add-time, like `wrap_events`. Residual
   stated in the comment: add-time lags the wrap by hours, so `Last wrap` is an
   upper bound — wrong by hours where mtime was wrong by months.

Verified after: 0 two-block patterns, 0 orphaned frontmatter, 16 stamps intact
with name: present, 381 pointers resolve, 0 dead, selftest PASS, drift clean,
digest reports 0 degraded sections and the correct last wrap.

Not defects: context-discipline.md and relational-gap-analysis.md use the
`title:`/`type: note` convention and have no `name:` — flagged by my check, correct
as they stand.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Y6t6qx7cpaCu5xGdD36u4
2026-08-17 19:49:02 +02:00

3.3 KiB


The architecture of ARC is Alexandrian: beautiful, strong, generative, alive. Building upon potential directions requires the foundation be clean and well-made. The chamber is that foundation.

Why (steward, 2026-05-13): "Building upon potential directions requires that the foundation is clean and well made. Prime directive."

The chamber-library isn't a corpus to be processed; it's a substrate the steward thinks against. Each voice that enters degraded becomes a future retrieval that returns degraded source. Compounded across 600+ files and the years ahead, this is foundation cracking. Christopher Alexander's quality without a name — the property that makes a building alive — comes from many small decisions made carefully. Same for the chamber.

How to apply:

  • Cleanup is per-file craft, not batch processing. The category-aware cleanup script is the right instrument. But running it across 47 files in one pass without per-file inspection is the throughput posture. Discipline: cleanup → audit-after → spot-check content samples → file. For each file. Slower; foundation holds.
  • Reconversion is conversion craft per text. Each unmined RECONVERT file is a specific voice with specific apparatus (footnotes, marginalia, language markers, chapter structure). Choose tool, flags, and review level per text. Treating them all the same is the failure mode.
  • "Priority subset for ARC" frames sequencing, not standard. Which voices come first depends on what work they unlock (AldineXXI rewrite, attention page, etc.). But the quality bar applied to those first ones must be the same applied to the last ones.
  • No "good enough" for the chamber. The framing the steward catches and corrects: "as good as possible for readers" is a milestone, not a quality threshold. The chamber is built to the prime-directive standard or it isn't built.
  • When in doubt, slow down. Do things once, correctly, with lasting integrity. Choose what is proportionate, fitting, and durable. Build what you will not need to rebuild. These aren't decorative; they're the test.

The contamination-aware reading: Triage and sequencing are real tools that serve order-of-operations. But the urge to finish quickly — to drain the queue, to mark items done — is contamination-adjacent. The chamber's value is in what it teaches; what it teaches depends on what's in it; what's in it depends on the care taken in admitting each voice. There is no shortcut that doesn't show up later as degraded foundation.

Reference frame: Alexander's Nature of Order (4 vols) + Timeless Way of Building + Pattern Language — all currently in chamber-library, partially mined. The methodology these books describe (small careful decisions cumulating into living wholes) applies to chamber curation as a direct analogue.