Commit graph

311 commits

Author SHA1 Message Date
ZenchantLive
003aba3179 test(skill): add bb mail lifecycle and preflight coverage 2026-03-03 19:23:53 -08:00
ZenchantLive
a9566059ba bd: backup 2026-03-04 03:12 2026-03-03 19:12:52 -08:00
ZenchantLive
c6dea79a10 bd init: initialize beads issue tracking 2026-03-03 19:12:34 -08:00
ZenchantLive
fe80278ae6 bd init: initialize beads issue tracking 2026-03-03 19:12:23 -08:00
ZenchantLive
c0a546d020 bd init: initialize beads issue tracking 2026-03-03 19:12:00 -08:00
ZenchantLive
13e5020422 bd init: initialize beads issue tracking 2026-03-03 19:11:49 -08:00
ZenchantLive
c5ca15db88 bd init: initialize beads issue tracking 2026-03-03 19:11:20 -08:00
ZenchantLive
63d8175fda bd init: initialize beads issue tracking 2026-03-03 19:11:09 -08:00
ZenchantLive
1880301e8b docs(skill): refresh command matrix and failure modes 2026-03-03 19:08:58 -08:00
ZenchantLive
53648852a3 docs(skill): rewrite coordination events and ack protocol 2026-03-03 19:04:58 -08:00
ZenchantLive
a4de66a164 fix(skill): support linux and wsl bb discovery 2026-03-03 19:03:47 -08:00
ZenchantLive
d94654d425 docs(driver-v5): expand session lifecycle workflow (maf.4) 2026-03-03 18:57:51 -08:00
ZenchantLive
645f66a734 docs(driver-v5): rewrite swarm reference with real commands (maf.3) 2026-03-03 18:57:16 -08:00
ZenchantLive
801389e87c docs(driver-v5): expand memory protocol reference (maf.2) 2026-03-03 18:56:37 -08:00
ZenchantLive
0da8ff28e1 bd: backup 2026-03-04 02:56 2026-03-03 18:56:31 -08:00
ZenchantLive
8476889644 docs(driver-v5): add agent state and liveness reference (maf.1) 2026-03-03 18:55:58 -08:00
ZenchantLive
ca5507228d docs(skill): add coordination system reference 2026-03-03 18:49:20 -08:00
ZenchantLive
e16ddcb532 test(coord): expand registry/api/reservation coverage 2026-03-03 18:48:13 -08:00
ZenchantLive
c6f8149ba2 docs: update next session prompt for maf v5 rewrite
- Correct skill folder prominently called out: skills/beadboard-driver/
- Warns against .agents/skills/ (wrong folder used in dc7f201)
- Documents all beadboard-izs work committed by parallel agents
- Lists ground truth help/ files to read before writing v5 docs
- maf execution order with parallelism map

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 18:41:47 -08:00
ZenchantLive
85898a433a feat(ui): show coordination inbox and reservation context 2026-03-03 18:41:39 -08:00
ZenchantLive
5b18f97b7b bd: backup 2026-03-04 02:41 2026-03-03 18:41:30 -08:00
ZenchantLive
d1b81250b2 feat(skill): wire bd mail delegate via bb shim 2026-03-03 18:35:29 -08:00
ZenchantLive
dcca324bfb feat(api): add agent mail and reservations routes 2026-03-03 18:32:11 -08:00
ZenchantLive
dc7f20148c feat(driver-skill): add bb-mail-shim + session-preflight mail delegate config (izs.5)
## What changed

### scripts/bb-mail-shim.mjs (new)
Translates bd mail delegate calls into bb agent coordination commands.
bd mail delegates by prepending the configured command to all args, so
this shim bridges the interface mismatch between bd mail (gt-mail style)
and bb agent (--agent/--from flags required).

Command mappings:
  bd mail inbox [...]            → bb agent inbox --agent $BB_AGENT [...]
  bd mail send --to foo [...]    → bb agent send --from $BB_AGENT --to foo [...]
  bd mail read <msg-id>          → bb agent read --agent $BB_AGENT --message <msg-id>
  bd mail ack <msg-id>           → bb agent ack --agent $BB_AGENT --message <msg-id>
  bd mail <other> [...]          → bb agent <other> [...]  (passthrough)

Agent identity injected automatically from BB_AGENT env var (primary) or
BD_ACTOR env var (fallback). Caller can override --from by supplying it
explicitly in bd mail send args. Falls back with clear error messages if
bb is not in PATH or BB_AGENT/BD_ACTOR is unset.

### scripts/session-preflight.mjs (updated)
Added mail delegate auto-configuration step after successful bb resolution:
- Calls: bd config set mail.delegate "node <abs-path-to-bb-mail-shim.mjs>"
- Uses absolute path to shim resolved relative to session-preflight.mjs
- Reports mail.configured + mail.delegate + usage note in output JSON
- Graceful failure if shim missing, bd config set fails, or bb not found
- Added mail: null to all error branches for consistent output shape

## Verification
Tested end-to-end on this machine:
  export BB_AGENT=silver-scribe
  node session-preflight.mjs    # → ok:true, mail.configured:true
  bd mail send --to silver-scribe --bead beadboard-izs.5 \
    --category INFO --subject "test" --body "pipeline verified"
  bd mail inbox                 # → Inbox (1): [msg_...] INFO: test
All commands exit 0. Delegate persisted via bd config get mail.delegate.

## Bead: beadboard-izs.5 (closed)
## Also closed: beadboard-izs.2 — bb agent already in global CLI (feat(cli) commit)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 18:30:15 -08:00
ZenchantLive
114c227874 feat(cli): expose bb agent coordination commands 2026-03-03 18:26:07 -08:00
ZenchantLive
1ba74e9966 bd: backup 2026-03-04 02:24 2026-03-03 18:24:10 -08:00
ZenchantLive
3381f61b2a bd: backup 2026-03-04 02:07 2026-03-03 18:07:07 -08:00
ZenchantLive
859ec69f60 bd: backup 2026-03-04 01:49 2026-03-03 17:49:23 -08:00
ZenchantLive
c607b75899 bd: backup 2026-03-04 01:29 2026-03-03 17:29:14 -08:00
zenchantlive
9f51d72623 bd: backup 2026-03-04 00:49 2026-03-03 16:49:07 -08:00
ZenchantLive
b5db7a7753 checkpoint: pre-split branch cleanup 2026-03-03 16:43:42 -08:00
ZenchantLive
4c2ae2e5b7 launcher: add start --dolt and startup guidance 2026-03-03 16:19:01 -08:00
zenchantlive
8e4833f56d bd: backup 2026-03-04 00:08 2026-03-03 16:08:15 -08:00
zenchantlive
e1e9eaceb4 bd: backup 2026-03-03 05:53 2026-03-02 21:53:47 -08:00
zenchantlive
037bf4ea7f bd: backup 2026-03-03 05:36 2026-03-02 21:36:27 -08:00
ZenchantLive
e72a99e629 feat(cli): make --help human-readable by default 2026-03-02 21:27:18 -08:00
ZenchantLive
b61f27aaf3 feat(cli): expand non-json status diagnostics output 2026-03-02 21:23:21 -08:00
ZenchantLive
84e2dff2d1 bd: backup 2026-03-03 05:19 2026-03-02 21:19:21 -08:00
ZenchantLive
34c2b7f4eb feat(cli): route runtime commands and add bd diagnostics to status 2026-03-02 21:19:12 -08:00
zenchantlive
654c8eb4c8 bd: backup 2026-03-03 05:03 2026-03-02 21:03:56 -08:00
zenchantlive
0b62ff111c docs: add core rules for bead-first work and evidence-based closure 2026-03-02 20:57:16 -08:00
zenchantlive
90ea6c8aeb docs: clarify bead naming format and parent-child relationship requirement 2026-03-02 20:53:58 -08:00
ZenchantLive
5772086c1a chore: close runtime-manager rollout with verification evidence 2026-03-02 20:51:01 -08:00
ZenchantLive
6fbd6329b4 docs(ci): finalize global install runtime docs and smoke coverage 2026-03-02 20:46:18 -08:00
ZenchantLive
8df567c327 feat(driver): prefer npm-global remediation with installer fallback 2026-03-02 20:45:09 -08:00
ZenchantLive
4a98ab2976 feat(cli): add global entrypoint with doctor/update/uninstall commands 2026-03-02 20:44:07 -08:00
ZenchantLive
7945ee8d3c feat(installer): migrate shims to runtime-managed targets 2026-03-02 20:42:35 -08:00
ZenchantLive
205f9500ec feat(launcher): add runtime-aware status metadata 2026-03-02 20:40:26 -08:00
ZenchantLive
0f33a653d3 feat(installer): add runtime manager core library 2026-03-02 20:36:09 -08:00
ZenchantLive
a3ca82bb5a docs: define runtime manager global install contract 2026-03-02 20:34:51 -08:00