Commit graph

7 commits

Author SHA1 Message Date
jedarden
092d376326 docs(tb-1zrf): document and fix bead-worker starvation bug
Self-blocking dependency on tb-1me prevented Pluck from claiming any beads.
Removed the circular dependency and documented the root cause and fix.

Bead-Id: tb-1zrf

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-02 14:08:27 -04:00
jedarden
d6c77b4fa4 docs(tb-1x0l): document and fix bead-worker starvation bug
Root cause: bead-worker workflow tried to call Bash() directly from
workflow script, but workflows run in pure JS context without tool access.
Fixed by wrapping bash commands in agent() calls with structured output.

Bead-Id: tb-1x0l
2026-07-02 13:19:13 -04:00
jedarden
c5f2ba47e5 test(tb-3pt): complete tmux detector acceptance testing
- Fixed test bug: changed 'message' field check to 'last_message' in test script
- Added comprehensive test results documentation
- Executed 7 test runs (5 successful after fix)
- Results: 100% pass rate post-fix, 0 false positives/negatives
- Performance: stuck detection 22-27s (within 30s threshold), unstick 2s
- Tmux polling overhead: ~150-200ms per 2-second poll cycle
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-02 12:16:57 -04:00
jedarden
845701b127 docs(tb-2pvm): document bead worker starvation alert investigation
Investigation revealed that the 'starvation' was a false alarm.
All 9 open beads have special labels (deferred, split-child, umbrella)
that are intentionally filtered by br claim. The system is working
as designed - 0 beads are actually claimable.

Bead-Id: tb-2pvm
2026-07-02 11:58:59 -04:00
jedarden
fcf98fcf27 docs(tb-5k9): document acceptance test automation setup
- Verified test-tmux-detector.sh is executable and functional
- Confirmed test-wrapper.sh captures output, timing, and exit status
- Validated JSON summary parsing for automated execution
- Documented known test isolation issue (tmux socket path)
2026-07-02 11:50:27 -04:00
jedarden
1898a63a5f docs(tb-23i): record tmux detector viability verdict and resolve Open question 1
- All acceptance criteria already met in existing documentation
- docs/notes/decisions.md has comprehensive viability assessment (lines 92-187)
- docs/plan/plan.md Open question 1 marked RESOLVED (line 667)
- Add notes/tb-23i.md documenting assessment completion and test limitation
- Test isolation issue documented (detector doesn't support custom tmux sockets)

Verdict: VIABLE — Works as designed
- 447-line TypeScript implementation in daemon/tmux-detector.ts
- Low false positive rate (30s threshold + prompt patterns)
- Minimal performance impact (2s poll interval)
- Harness-agnostic fallback for future coding harnesses

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-02 11:30:32 -04:00
jedarden
95b8bb833a docs(trail-boss): phase 6 complete - all 7 acceptance scenarios passing
- Ran test-walking-skeleton.sh successfully
- All AS-1 through AS-7 pass end-to-end
- No code changes required - implementation was already complete
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 12:57:08 -04:00