Files
claudetools/session-logs/2026-06/2026-06-14-mike-errorlog-rule.md
Mike Swanson f67db6f1f2 sync: auto-sync from GURU-BEAST-ROG at 2026-06-14 07:08:13
Author: Mike Swanson
Machine: GURU-BEAST-ROG
Timestamp: 2026-06-14 07:08:13
2026-06-14 07:08:23 -07:00

2.7 KiB

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.