Commit graph

159 commits

Author SHA1 Message Date
zenchantlive
5d2e147ca9 chore: create orchestrator backlog — 4 epics, 27 beads
Epic 1: Core Reliability (P0) — beadboard-0cf
  9 children: chat projection, persistence, async subprocess, context mgmt,
  integration tests, + existing bugs (sen, 4v7, 28z, bnx)

Epic 2: Orchestrator UX (P1) — beadboard-1zb
  9 children: onboarding, plan visibility, BLOCKED notification, graph launch,
  chat expand, stop/restart, retry, settings, + silent failures (cho)

Epic 3: Agent Visibility (P1) — beadboard-7gx
  3 children: activity detail, graph presence, direct worker communication

Epic 4: Dolt History Integration (P2) — beadboard-6rp
  6 children: session replay, rollback, session history, review surface,
  audit trail, cost visibility

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 20:19:52 -05:00
zenchantlive
f29c0e3cba feat: add CONTRIBUTING.md, GitHub Issue templates, contrib:open label convention
CONTRIBUTING.md:
- Two tracks: humans (GitHub flow) and agents (beadboard-driver + bd)
- Copy-pasteable agent instructions for quick setup
- PR size guidelines (under 100 lines preferred, 200+ needs issue first)
- Quality gates, claim workflow, professional conduct expectations
- beadboard-driver and bd setup for agent contributors

GitHub Issue templates:
- Bug report: structured fields (steps, platform, Dolt status, versions)
- Feature request: problem/proposal/area, opt-in to implement
- Config: links to Discord and contrib:open issue filter

contrib:open labels:
- Tagged 4 orchestrator beads for community contribution
- Left session race condition (beadboard-4v7) as internal

README:
- Updated banner to link to CONTRIBUTING.md
- Updated Contributing section with Discord link and contrib:open workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 00:23:05 -05:00
zenchantlive
203203fb9f chore: track orchestrator bugs as beads (WIP)
Created beads for known orchestrator issues discovered during Mac onboarding:
- beadboard-sen: double-reply rendering
- beadboard-cho: silent failures in UX
- beadboard-4v7: session race condition
- beadboard-bnx: clawdbot path cleanup
- beadboard-28z: unbounded event array

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 19:03:29 -05:00
zenchantlive
5c074935d7 fix: repair beads database for macOS — remove stale Dolt port, fix comment ID types
- Remove deprecated dolt_server_port from metadata.json (stale Windows value causing auto-start suppression)
- Convert numeric comment IDs to strings in issues.jsonl (bd 0.61.0 schema requirement)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 19:02:45 -05:00
zenchantlive
c5d255f816 bd init: initialize beads issue tracking 2026-03-24 19:02:04 -05:00
zenchantlive
5f6e5b610a beads back 2026-03-24 19:02:04 -05:00
zenchantlive
643fa299dd bd: backup 2026-03-16 03:38 2026-03-24 19:01:45 -05:00
zenchantlive
dca6bd6ff1 bd: backup 2026-03-14 19:04 2026-03-24 19:01:45 -05:00
zenchantlive
c515d40bdc bd: backup 2026-03-11 02:03 2026-03-24 19:01:45 -05:00
zenchantlive
040e936ae2 bd: backup 2026-03-11 01:48 2026-03-24 19:01:45 -05:00
zenchantlive
c6203494d8 bd: backup 2026-03-11 01:12 2026-03-24 19:01:45 -05:00
zenchantlive
3a467ef753 bd: backup 2026-03-11 00:31 2026-03-24 19:01:45 -05:00
zenchantlive
67dbd7b446 bd: backup 2026-03-10 22:08 2026-03-24 19:01:45 -05:00
zenchantlive
273b6a113d bd: backup 2026-03-10 20:36 2026-03-24 19:01:45 -05:00
zenchantlive
d3da37e5c8 bd: backup 2026-03-10 01:23 2026-03-24 19:01:45 -05:00
zenchantlive
189e19335d bd: backup 2026-03-10 01:00 2026-03-24 19:01:45 -05:00
zenchantlive
7ac90238c3 bd: backup 2026-03-06 06:33 2026-03-24 19:01:45 -05:00
zenchantlive
7c4c5f46f3 chore: Remove runtime artifacts from git tracking
This commit removes the following directories from git tracking (not from disk):
- .agent/ - AI tool configs
- .agents/ - Agent skills
- .augment/ - Augment AI
- .beads/ - Runtime database
- .claude/ - Claude AI configs
- .cline/ - Cline AI configs
- .openhands/ - OpenHands AI
- .dolt/ - Dolt database

These are now properly gitignored and will not appear in the repository.
This is a MASSIVE cleanup removing 1500+ files from version control.
2026-03-05 17:25:09 -08:00
zenchantlive
e594bc4244 chore: Repository cleanup and honest installation
- Move screenshots to docs/screenshots/
- Remove build artifacts (eslint-report.json, tsconfig.tsbuildinfo, out/)
- Remove temporary test files from root
- Update .gitignore with comprehensive patterns
- Update README with honest git clone installation
- Professional repository structure
2026-03-05 17:16:43 -08:00
zenchantlive
a28caeb461 chore: Organize repository structure
- Move screenshots from root to docs/screenshots/
- Remove build artifacts (eslint-report.json, tsconfig.tsbuildinfo, out/)
- Remove temporary test files from root (test-sse.mjs, test-watcher.ts)
- Remove tmp/ directory
- Update .gitignore with comprehensive patterns:
  - Build artifacts (eslint-report.json, tsconfig.tsbuildinfo, out/)
  - Temporary files (tmp/, test-*.mjs, test-*.ts, *.tmp, *.temp)
  - Root image files (should be in docs/screenshots/)
  - AI tool directories (.augment/, .claude/, .cline/, .openhands/, .qodo/, .gemini/, .kilocode/)
- Update README image references to new locations

This cleanup makes the repository structure more professional and organized.
2026-03-05 17:09:25 -08:00
zenchantlive
ce4700849b Fix: Security, reliability, and code quality improvements from PR review
Critical Security Fixes:
- Fix command injection vulnerability in Windows shims (beadboard.cmd, bb.cmd)
  - Added path validation to block traversal (.. and root-relative paths)
  - Added quotes around env var to prevent command injection

Reliability Fixes:
- Fix agent cache null safety bug
  - Fixed callBdAgentShow() to check for cache misses (null check, expiration)
  - Fixed getCachedAgent to properly return entry.data or null
- Fix null body crashes in mail ack route
  - Added null check before casting body to object
  - Returns 400 error instead of 500 for invalid requests

BD Compliance Fixes:
- Fix read-issues to use BD audit record path
  - Ensures all writes go through bd audit record
  - Maintains watcher/SSE parity and Dolt commit tracking

Code Quality Fixes:
- Fix path canonicalization violations
  - Use canonicalizeWindowsPath() and windowsPathKey() from pathing module
  - Prevents Windows edge cases and ensures machine-reproducible paths
- Fix typo: mobile-fronted → mobile-frontend
- Pin GitHub Actions tags
  - softprops/action-gh-release@v1 → specific commit hash
- Register pr14 test in package.json (already registered)

Testing:
- Refactor broad exception handlers in Python scripts
  - Replace except Exception: with specific exceptions
  - Allows KeyboardInterrupt and SystemExit to propagate correctly
  - All tests passing
2026-03-05 16:33:10 -08:00
zenchantlive
d54e4f3311 bd: backup 2026-03-06 00:25 2026-03-05 16:25:14 -08:00
zenchantlive
61266ffa5f bd: backup 2026-03-06 00:06 2026-03-05 16:06:47 -08:00
zenchantlive
1c4b5ab401 Cleanup: Runtime artifacts, hard-coded paths, PR 14 bug fixes 2026-03-05 15:57:33 -08:00
zenchantlive
98886d1901 bd: backup 2026-03-05 23:45 2026-03-05 15:45:38 -08:00
zenchantlive
f1590d6134 bd: backup 2026-03-05 22:58 2026-03-05 14:58:50 -08:00
zenchantlive
54b581e2f2 bd: backup 2026-03-05 22:40 2026-03-05 14:40:32 -08:00
zenchantlive
18fbafdce4 refactor: extract agent bounded context + fix SSE comments + cleanup unused
- Extract src/lib/agent/ bounded context with types, registry, messaging
- Add comments_count to BeadIssue for SSE comment detection
- Create batch endpoints for mail/reservations APIs
- Add memory validation to session-preflight
- Remove unused empty dirs (mockup, sessions, timeline)
- Move stashes to docs/references, gitignore them
2026-03-04 22:06:40 -08:00
zenchantlive
6f41c4af31 bd: backup 2026-03-05 06:03 2026-03-04 22:04:00 -08:00
zenchantlive
ad12f6114f bd: backup 2026-03-05 05:48 2026-03-04 21:48:38 -08:00
zenchantlive
6735a46557 bd: backup 2026-03-05 05:17 2026-03-04 21:17:54 -08:00
zenchantlive
f54aa2f396 bd: backup 2026-03-05 04:05 2026-03-04 20:05:18 -08:00
zenchantlive
46e2ada0c6 bd: backup 2026-03-05 03:25 2026-03-04 19:25:48 -08:00
zenchantlive
db6702a95b bd: backup 2026-03-05 03:09 2026-03-04 19:09:28 -08:00
zenchantlive
0b409f68c9 bd: backup 2026-03-05 02:51 2026-03-04 18:51:13 -08:00
zenchantlive
18eab6baf2 bd: backup 2026-03-05 02:36 2026-03-04 18:36:06 -08:00
zenchantlive
af6170173e bd: backup 2026-03-05 00:56 2026-03-04 16:56:45 -08:00
zenchantlive
4e0eccaf09 bd: backup 2026-03-05 00:32 2026-03-04 16:32:38 -08:00
zenchantlive
99e9293ff4 bd: backup 2026-03-04 23:02 2026-03-04 15:02:03 -08:00
zenchantlive
3ed87b0e44 bd: backup 2026-03-04 22:47 2026-03-04 14:47:02 -08:00
zenchantlive
17645d805f bd: backup 2026-03-04 22:31 2026-03-04 14:31:38 -08:00
zenchantlive
0a7b7f68e9 bd: backup 2026-03-04 06:40 2026-03-03 22:40:08 -08:00
ZenchantLive
e3e53a5da2 bd: backup 2026-03-04 06:05 2026-03-03 22:05:53 -08:00
ZenchantLive
3847c99332 bd: backup 2026-03-04 05:48 2026-03-03 21:48:03 -08:00
ZenchantLive
923fd42415 bd: backup 2026-03-04 05:22 2026-03-03 21:22:30 -08:00
ZenchantLive
4c10ad8fd5 bd: backup 2026-03-04 04:55 2026-03-03 20:55:39 -08:00
ZenchantLive
b2e44bc5a7 bd: backup 2026-03-04 04:23 2026-03-03 20:23:40 -08:00
ZenchantLive
b0dfef8887 bd: backup 2026-03-04 03:33 2026-03-03 19:33:57 -08:00
ZenchantLive
a9566059ba bd: backup 2026-03-04 03:12 2026-03-03 19:12:52 -08:00
ZenchantLive
0da8ff28e1 bd: backup 2026-03-04 02:56 2026-03-03 18:56:31 -08:00