Memory: RCA session notes, work principles, architecture changes
This commit is contained in:
parent
cb80b86fc2
commit
3dc1d22972
|
|
@ -284,6 +284,11 @@ Automated document processing pipeline for scanned paperwork.
|
||||||
|
|
||||||
## Work Principles (from corrections)
|
## Work Principles (from corrections)
|
||||||
|
|
||||||
|
- **"Stel niet uit tot morgen, wat je vandaag kan doen"** — Don't poll when you can trigger. Don't batch when you can stream. Don't defer when you can do it now. If the work can happen immediately, make it happen immediately.
|
||||||
|
- **ALWAYS attack problems at their source** — Johan HATES workarounds. They bite you tomorrow. Fix the root cause, not the symptom. If a trigger is wrong, fix the trigger — don't filter downstream.
|
||||||
|
- **Deduplicate ruthlessly** — Say it once, in the right place. Don't repeat info across channels.
|
||||||
|
- **Extract the WHY, not the what** — Surface fixes don't generalize. Always ask "why was this wrong?" and find the principle.
|
||||||
|
- **Offload by default, Opus by exception** — K2.5 can handle straightforward coding. Save Opus for judgment, conversation, complex reasoning.
|
||||||
- **Always git commit workspace files** — After editing TOOLS.md, MEMORY.md, AGENTS.md, or any workspace file, `git add -A && git commit`. Don't leave changes uncommitted.
|
- **Always git commit workspace files** — After editing TOOLS.md, MEMORY.md, AGENTS.md, or any workspace file, `git add -A && git commit`. Don't leave changes uncommitted.
|
||||||
- **Commit uncommitted changes you find** — During git audits/heartbeats, if you find uncommitted changes in ANY repo, commit and push them yourself. Don't just report — fix it.
|
- **Commit uncommitted changes you find** — During git audits/heartbeats, if you find uncommitted changes in ANY repo, commit and push them yourself. Don't just report — fix it.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -193,3 +193,39 @@ Johan explored GPU options for local AI/CoS. Key progression:
|
||||||
- SellerDisclosureUpdate.pdf
|
- SellerDisclosureUpdate.pdf
|
||||||
- Office_Exclusive_No_Entry_Into_MLS.pdf
|
- Office_Exclusive_No_Entry_Into_MLS.pdf
|
||||||
Doc processor is inactive. Will flag for Johan when he wakes (~10:15pm).
|
Doc processor is inactive. Will flag for Johan when he wakes (~10:15pm).
|
||||||
|
|
||||||
|
## RCA & Architecture Overhaul (10:30 PM - midnight)
|
||||||
|
|
||||||
|
### Promotion: Chief of Staff
|
||||||
|
Johan promoted James from assistant to **Chief of Staff**. Key principles:
|
||||||
|
- Strategic partner, not task runner
|
||||||
|
- Memory protection is job #1 — write it down or lose it
|
||||||
|
- Right model for the right job (Opus for judgment, K2.5 for grunt work)
|
||||||
|
- Autonomous subagent delegation — spin up freely, name them, use appropriate models
|
||||||
|
- **Never ask "who is X?" if I've encountered it before** — my memory is my reputation
|
||||||
|
|
||||||
|
### Johan's Core Philosophy (MEMORIZE)
|
||||||
|
- **"Always attack problems at their source. I hate workarounds. They will bite me in the ass tomorrow."**
|
||||||
|
- Don't band-aid. Fix the root cause.
|
||||||
|
- If something is triggering noise, fix the trigger — don't filter the noise downstream.
|
||||||
|
- Example: instead of triaging emails in OC (workaround), embed K2.5 triage directly IN Message Center (source fix).
|
||||||
|
|
||||||
|
### Architecture Changes Made
|
||||||
|
1. **K2.5 Watchdog cron killed** — 288 phantom sessions/day, never caught anything, monitoring a dead agent
|
||||||
|
2. **Session cleanup** — 2,514 orphaned files + 320 stale session keys removed (2,843 → 17 files)
|
||||||
|
3. **Email webhook moved** — from main session → mail agent (stops email triage polluting conversation)
|
||||||
|
4. **K2.5 triage embedded in Message Center** — MC now calls Fireworks directly, reads prompt from file (hot-reloadable), only webhooks on escalation. Logs all actions to tablet dashboard.
|
||||||
|
5. **Daily reset moved** — 4am → 9pm (aligned with Johan's first sleep block)
|
||||||
|
6. **Nightly Maintenance cron** (9pm) — memory flush + OS/Claude Code/OpenClaw updates + session cleanup, all in one shot
|
||||||
|
7. **Cron consolidation** — killed Email Triage Summary (AM/PM), Update Check, K2.5 Watchdog, git-audit-daily-full. Merged claude-usage jobs. 350 sessions/day → ~43.
|
||||||
|
8. **Context pruning enabled** — `cache-ttl` mode, trims old tool results after 5min. Dramatically reduces compaction pressure.
|
||||||
|
|
||||||
|
### Tools Reminder
|
||||||
|
- **bird for X/Twitter** — always. Don't use web_fetch for tweets.
|
||||||
|
- bird wrapper at ~/clawd/scripts/bird
|
||||||
|
|
||||||
|
### Config State After Changes
|
||||||
|
- session.reset.atHour: 21 (9pm ET)
|
||||||
|
- contextPruning.mode: "cache-ttl", ttl: "5m"
|
||||||
|
- hooks.messages → sessionKey: "mail" (was "main")
|
||||||
|
- MC triage prompt: ~/clawd/config/email-triage-prompt.md
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue