Adds TypeEvent issue type for recording operational state changes as immutable beads. Events capture: - event_category: namespaced category (e.g., patrol.muted, agent.started) - event_actor: entity URI who caused the event - event_target: entity URI or bead ID affected - event_payload: event-specific JSON data Changes: - Add TypeEvent constant and IsValid() support in types.go - Add event fields to Issue struct with ComputeContentHash support - Add --event-category/actor/target/payload flags to bd create - Add event fields to RPC CreateArgs and UpdateArgs - Add migration 033_event_fields to add columns to issues table - Update insertIssue and queries to include event fields - Fix migrations_test.go for new column requirements This enables: - bd activity --follow showing events - bd list --type=event --target=agent:deacon - Full audit trail for operational state - HOP-compatible transaction records 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 KiB
25 KiB