Commit Graph

16 Commits

Author SHA1 Message Date
Levi Neely 989558cf7f roles: replace Bead Loop with When Nudged section
The supervisor drives re-polling via 15s nudges to idle workers.
Roles no longer need to instruct bots to loop — just what to do
when the supervisor prompts them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 14:30:14 +01:00
Levi Neely eca5762565 roles: add worker: true to roles that run the bead polling loop
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 14:28:13 +01:00
Levi Neely 3cf026ed10 skills,roles: replace bash process substitution with list_mounts.sh tool
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 21:11:49 +01:00
Levi Neely 3b09cd2ef6 roles: remove bead loop from tester and researcher
Both are spawned on demand and prompted, not queue workers.
Tester is analogous to reviewer; researcher is reactive or user-driven.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 21:05:03 +01:00
Levi Neely 16710b7261 roles: clarify bead loop mount discovery
Mount is not guaranteed at spawn time. Bot discovers it from mtab
via cwd match, retries if not yet registered. Removes $AGENT_MOUNT
assumption.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 21:00:48 +01:00
Levi Neely 9120e51215 beads,roles: emit BeadClaimed event; add bead loop to worker roles
BeadClaimed fires on successful claim with source=beads/<mount> and
data={bead_id, assignee, mount}.

Worker roles (developer, devops, pkgmgr, researcher, tester, author)
now have a Bead Loop section: wait_for_bead.sh → claim → work →
complete → repeat. Reviewer role is spawned by workers, not looping.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 20:58:58 +01:00
Levi Neely caeb6481f8 mcptools: source agent ID from $AGENT_ID env; conductor cleanup
- read_inbox.sh, send_message.sh: remove explicit <agent_id>/<from>
  params; source from $AGENT_ID env var instead
- skills/anvillm-communication/SKILL.md: update signatures to match
- roles/conductor.md: remove verbose capability table, minor wording fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 07:54:59 +01:00
Levi Neely e2f3bc7b12 fileaddr; smart delegation 2026-03-12 18:44:40 +01:00
Levi Neely 919335a271 conductor: adaptive delegation based on available staff
- roles/conductor.md: discover roster before planning; adapt workflow
  to available roles (dev-only, dev+review, dev+review+test, etc.);
  drive iterative cycles; parallelize across multiple same-role bots;
  report skipped phases instead of blocking on missing roles

- team-templates/debug: new workflow with conductor+developer+tester;
  blocks until all roles are idle before returning

- list format: replace model field with role (field 5) in agent/list;
  update Assist, anvillm, anvilwebgw, list_sessions.sh accordingly

- Assist /AnviLLM/: replace Model column with Role in session list
2026-03-07 17:24:40 +01:00
Levi Neely ac937c6786 roles: add git strategy to conductor and devops 2026-03-07 12:33:47 +01:00
Levi Neely 10d25a371a session: reset initialPromptSent when context is set
If context is written after the first mail nudge has already fired,
initialPromptSent was already true and the context would never be
injected. Resetting it on SetContext ensures the context is always
prepended to the next prompt regardless of timing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 12:30:21 +01:00
Levi Neely bf5ab44d76 roles: add conductor, refine all roles, document workflow design
- Add conductor role: human-activated, decomposes beads, coordinates
  bots directly via messaging, evaluates completeness before dispatching
- Add solo-developer role: full-cycle, no delegation required
- Standardize all roles: Responsibilities/Prohibited Activities/Workflow/
  Response Format; remove all explicit delegation protocols
- Remove inbox-check startup steps from all roles
- anvillm-communication: always reply to sender, not user, unless sender is user
- Add WORKFLOW_DESIGN.md: documents anvilspawn, claimable-by label design,
  Supervisor rewrite plan, and open questions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 21:19:18 +01:00
Levi Neely a73ef83d3d roles: replace bot-templates with anvilspawn and structured roles
- Remove bot-templates/ entirely
- Add scripts/anvilspawn: spawn a bot by role+workdir, hash-prefixed alias
  ties bots to the same workdir for organic collaboration
- Add roles: solo-developer, developer, reviewer, tester, devops, author,
  technical-editor, researcher, taskmgr
- Standardize all roles to: Responsibilities / Prohibited Activities /
  Workflow / Response Format
- Remove explicit delegation protocols from all roles; delegation is emergent
- Remove inbox-check startup steps; messages are delivered automatically
- Update mkfile to install anvilspawn

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 20:49:30 +01:00
Levi Neely b51bbf7e72 working on a different approach for roles 2026-03-06 08:54:44 +01:00
Levi Neely 0b5d120378 Add agent roles: github-bot, researcher, developer, tester 2026-03-05 18:25:41 +01:00
Levi Neely 6475b9f216 Add maildir messaging support for agent communication 2026-03-05 14:33:47 +01:00