Skip to content

feat(metadocs): living project memory distilled from sessions into a git repo - #26

Merged
AbsoluteMode merged 1 commit into
mainfrom
fix/metadocs-timeout
Jul 31, 2026
Merged

feat(metadocs): living project memory distilled from sessions into a git repo#26
AbsoluteMode merged 1 commit into
mainfrom
fix/metadocs-timeout

Conversation

@AbsoluteMode

Copy link
Copy Markdown
Owner

A daily launchd job reads the new dialogue out of the index (user messages
and final answers only — the surface layer the indexer already stores) and
keeps four documents current in a repo of the owner's choice: per-project
bugs.md (how each bug was recognized, diagnosed, fixed, proven fixed),
actions.md (procedures an agent can follow alone), decisions.md (what was
decided, why, what was rejected), and a global USER.md — a map of where the
owner's information lives and how to FIND it, retrieval instructions only.

Design decisions, recorded in docs/decisions/2026-07-31-metadocs-living-
project-memory.md: a git repo instead of a database (diff is review, revert
is undo, blame is audit, pushing the repo is team sharing); per-session
watermarks that advance only after a safe write (a crash re-processes,
never skips); a strict output protocol (complete files between markers, a
filename whitelist, garbage discarded whole); the share secret scanner as a
hard gate before any byte reaches the repo; the distiller caged exactly like
the share composer (claude -p, no tools, argv prompt, empty cwd, dialogue
pinned as data-not-instructions).

Selector: --projects git (default) tracks every project whose cwd is still
a git checkout; all, or explicit names. launchd over cron so a missed run
fires once on wake; the enabling user's PATH is frozen into the plist so
the distiller finds claude.

29 new tests; suite 293 passed.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

…40K budget

The first live run measured a 55K-char batch (75 turns) blowing straight
through the 300s subprocess timeout: writing several complete documents
takes minutes. Nightly unattended job — patience is free; a smaller batch
plus a generous ceiling beats a fast failure that retries forever.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@AbsoluteMode
AbsoluteMode force-pushed the fix/metadocs-timeout branch from a0f4b10 to 63655ed Compare July 31, 2026 09:31
@AbsoluteMode
AbsoluteMode merged commit a3729ed into main Jul 31, 2026
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