diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 93d3a36..30eea63 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -43,6 +43,7 @@ production, data-loss. Detail: EXTENDED + `.claude/OLLAMA.md`. - **SSH:** system OpenSSH (`C:\Windows\System32\OpenSSH\ssh.exe`), never Git-for-Windows SSH. - **Data integrity:** never placeholder/fake data — check vault, wiki, or ask. - **Hard-to-reverse or outward-facing actions:** confirm first (per-action, per-session). +- **Error logging:** when a task errors during execution (failed command, skill, or tool call), append a brief entry to `errorlog.md` (repo root) — date, machine (from `identity.json`), the command/skill that failed, and the error. One line or two; just enough to spot patterns. These feed skill + harness improvements. Don't log expected/handled conditions, only genuine failures. - **Windows:** ensure `bash` resolves to Git-for-Windows MSYS bash, not the WSL stub; write `.claude/current-mode` with a relative/forward-slash path only (never a backslash Windows path). Detail + fixes: EXTENDED. diff --git a/.claude/skills/remediation-tool/references/tenants.md b/.claude/skills/remediation-tool/references/tenants.md index 0b3ac14..b265b8e 100644 --- a/.claude/skills/remediation-tool/references/tenants.md +++ b/.claude/skills/remediation-tool/references/tenants.md @@ -43,7 +43,7 @@ that will fail the next email task; fix it with `assign-exchange-role.sh diff --git a/session-logs/2026-06/2026-06-14-mike-errorlog-rule.md b/session-logs/2026-06/2026-06-14-mike-errorlog-rule.md new file mode 100644 index 0000000..62c1a92 --- /dev/null +++ b/session-logs/2026-06/2026-06-14-mike-errorlog-rule.md @@ -0,0 +1,58 @@ +## User +- **User:** Mike Swanson (mike) +- **Machine:** GURU-BEAST-ROG +- **Role:** admin + +## Session Summary + +Added a fleet-wide error-logging rule to the core operating manual. Mike requested that +when a session hits errors while executing tasks, the failure details be recorded to an +`errorlog.md` so the records can be mined to improve skills and the command harness. + +Implemented in two edits. First, added an **Error logging** bullet to the *Key rules +(always)* section of `.claude/CLAUDE.md`: on a genuine task-execution failure (failed +command, skill, or tool call), append a brief entry to repo-root `errorlog.md` with date, +machine (from `identity.json`), the failing command/skill, and the error — expected/handled +conditions excluded to keep the log signal-dense. Second, seeded the new `errorlog.md` at +repo root with a header and a fixed one-line entry format +(`YYYY-MM-DD | MACHINE | command/skill | error (brief)`, newest on top). + +Surfaced the standing unread coord broadcast from GURU-KALI/claude-main (root `tmp/` now +gitignored + advisory promotion check wired into `/save` and `/scc`); no action required +beyond a `/sync` to pick up the harness change. + +## Key Decisions + +- **errorlog.md location = repo root, committed (not gitignored/per-machine).** A shared, + synced log lets the whole fleet mine error patterns for harness/skill improvement, which + is the stated purpose. Flagged to Mike as overridable. +- **Scope limited to genuine failures**, not expected/handled errors — keeps the log useful + for spotting real harness/skill defects rather than noise. +- **Placed the rule in lean CORE `CLAUDE.md`** (Key rules, always-loaded) rather than + EXTENDED, since it must fire on every session's errors to be effective. + +## Configuration Changes + +- Modified: `.claude/CLAUDE.md` — added **Error logging** bullet under *Key rules (always)*. +- Created: `errorlog.md` (repo root) — header + format spec, no entries yet. + +## Infrastructure & Servers + +None changed this session. + +## Commands & Outputs + +- `git status --porcelain | grep -E '\bsession-logs/.*\.md$'` — found one modified bot-activity + log (`session-logs/bot/2026-06/2026-06-10-bot-activity.md`, 1-line append, not narrative work). + +## Pending / Incomplete Tasks + +- `/sync` still needed to pick up the GURU-KALI harness change (root `tmp/` gitignore + + `tmp-promotion-check.sh` in `/save` and `/scc`). +- Active lock observed (not blocking this work): `wiki/clients/valleywide` held by + GURU-5070/claude-main for `wiki-compile valleywide`, expires 2026-06-14T14:38:43. + +## Reference Information + +- Coord broadcast: GURU-KALI/claude-main, 2026-06-13, harness commit `f495b08f`. +- Files: `.claude/CLAUDE.md`, `errorlog.md`. diff --git a/session-logs/bot/2026-06/2026-06-10-bot-activity.md b/session-logs/bot/2026-06/2026-06-10-bot-activity.md index beb9195..186733e 100644 --- a/session-logs/bot/2026-06/2026-06-10-bot-activity.md +++ b/session-logs/bot/2026-06/2026-06-10-bot-activity.md @@ -1 +1,2 @@ 10:28 PT - Mike Swanson / Winter Williams - Starr Pass Realty DNS+M365 audit - SPF cleaned on IX, M365 onboarded (all 5 apps), 3 accounts deleted (keep sysadmin@starrpass.com), wiki seeded (Syncro 153298); session log at clients/starr-pass/session-logs/2026-06/2026-06-10-discord-bot-dns-spf-m365-onboarding.md +16:14 PT - Mike Swanson - wiki-compile client:putt-land-surveying --full - wiki article seeded from DNS wipe session log + Syncro live data; committed eebcb0e