sync: auto-sync from GURU-KALI at 2026-05-26 18:47:58

Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-26 18:47:58
This commit is contained in:
2026-05-26 18:48:01 -07:00
parent f94849fc00
commit 4e97e20a2f
8 changed files with 235 additions and 11 deletions

View File

@@ -40,7 +40,11 @@ Claude writes all sections directly. Be concise, factual, technical. No filler p
### Required sections (in order)
1. **User block**name, machine, role, session span. Pull from `.claude/identity.json` + git config.
1. **User block**generate it deterministically; do NOT hand-write or infer it. Run:
```bash
bash .claude/scripts/whoami-block.sh
```
Paste its output verbatim as this section. The script reads `.claude/identity.json` (+ `users.json` for role) — the only authoritative attribution sources. Never derive the user from the hostname, the `# userEmail` context hint, or memory. If the script emits a `[WARNING]` about a stale machine/hostname mismatch, stop and fix `identity.json` before saving.
2. **Session Summary** (Ollama)
3. **Key Decisions** (Ollama)
4. **Problems Encountered** (Ollama)
@@ -61,7 +65,7 @@ When in doubt, include MORE detail — future sessions search these logs to reco
bash .claude/scripts/sync.sh
```
`sync.sh` handles: stage tracked changes by name (never `git add -A`), auto-commit, fetch + rebase, push, then the same flow for the vault repo, then surface cross-user `## Note for <user>` blocks.
`sync.sh` handles: reconcile this machine's `git config user.name/email` to `.claude/identity.json` (so commit authorship can't drift), stage all changes with `git add -A` (after purging garbled Windows path-as-filename cruft), auto-commit, fetch + rebase, push, then the same flow for the vault repo, then surface cross-user `## Note for <user>` blocks.
After sync, emit a **Post-commit Summary**: