feat: per-project digests loaded into system prompt #43
No reviewers
Labels
No labels
Agent
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
joshtronic/igor!43
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/project-digests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Companion to brain feat/project-digests. Wires the harness to load
the right digest file per tick based on the target repo.
brain_system_prompt now takes an optional second arg, the target
repo (e.g., "joshtronic/joshing.you"). When passed, it looks for
brain/memories/digest/_.md (slash replaced with
underscore for filesystem) and loads that file if present. The
digest goes LAST in the prompt so its churn doesn't invalidate
upstream cache.
All four invocation sites pass the relevant target:
Isolation is the point: each tick only sees the digest for the
project it's working on. Other projects' digests stay on disk but
are invisible. Prevents the joshing.you context leaking into
certifiedtradejobs.com (or vice versa) -- the bleed concern Josh
raised when we designed this.
AGENTS.md adds a "Project digests" section explaining what goes
in vs out, the isolation rule (Claude must not write to another
project's digest from within a tick), when to update, the
first-tick behavior (create if useful, skip if not), and the size
target (~100-150 lines). Points at brain/memories/digest/README.md
for the full convention.
Companion brain PR scaffolds memories/digest/ with README.md and
adds the MEMORY.md index line. No seed digest files yet -- they
get created on first relevant tick.