feat: add USER.md support

- Session start step 0: read USER.md at workspace root if present
- Read once at session start, not on re-anchors
- ~30 token cost
- USER.md.template added
- README updated
This commit is contained in:
Dragon committed 2026-04-02 20:35:37 +00:00
1 parent 66dd1cee19
commit 20ca47ad31
2 files changed
+17

No files matched your search

+2
View File
@@ -22,6 +22,7 @@ Record tier in STATUS.md header. Nano skips ARCH, PLAN, DEPS, .learnings/ entire
## Session Start Protocol
0. **Read `USER.md`** (~30 tokens) at workspace root if it exists. Sets name, tone, formatting. Read once — don't re-read on re-anchor.
1. **Read `brain/STATUS.md`** (~50 tokens). Ground truth. Never skip.
2. **Check git:**
```bash
@@ -187,6 +188,7 @@ When ARCH.md has `## Modules`:
| File | ~Tokens | When |
|---|---|---|
| USER.md | 30 | Session start only (not re-anchor) |
| STATUS.md | 50 | Every session start + re-anchor |
| CONTEXT.md | 80 | Every session start + re-anchor |
| Pending errors count | 10 | Session start |
+15
View File
@@ -0,0 +1,15 @@
# USER.md - About Your Human
- Name: <!-- FILL -->
- What to call them: <!-- FILL -->
- Pronouns: <!-- FILL -->
- Timezone: <!-- FILL -->
## Context
<!-- Optional bullets about who they are. Helps the model understand background. -->
-
## Formatting Preferences
<!-- These are applied to all responses. Be specific. -->
- Tone: <!-- e.g. casual, direct, technical -->
-