/briefbound-skills:briefbound-autonomous-collaboration-loopfrom briefbound-skills
Drives an autonomous multi-thread development loop for same-project peer Codex tasks: coordinates progress, recovers conflicts, integrates verified work into local main, and cleans up without repeated gates. Requires explicit opt-in.
Ships in briefbound-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
一次确认后,驱动同项目平级会话完成、验证、合入 main;不建主从或接管任务。
main/验证门。main 验证和恢复清理。main、验证和安全清理;当前 BRT_TRANSPORT_DISABLED,不得发送 thread 消息。新建会话、远程 push/PR merge/发布、破坏性或高风险动作仍需单独授权。main 包含预期交付,集成门通过,open coordination、恢复债务和已知开发残留清零。briefbound-multi-agent-orchestration、briefbound-thread-coordination、briefbound-pr-review、briefbound-development-cleanup、briefbound-project-memory、briefbound-router 或 BLOCKED。下一步建议: <一个具体动作>,否则声明继续已授权工作。Briefbound Router 仅在非简单目标确有多会话协作价值时,询问一次明确列出项目、既有参与会话、integration target 和本地集成范围的授权。确认后才可联系这些现有会话、协商、安全开发、验证和限定目标的本地集成,直到完成、取消或自然闸门;泛化“继续/确认”不扩大到创建会话或新的 integration target。
没有合适会话时,只询问一次是否创建。远程 push、PR 或破坏性操作不继承授权。自动循环还必须具备已验证的 BRT_DIRECT_USER_TURN_V1,且运行环境提供平级多会话原语(见 harness 能力矩阵);任一不满足保持 BLOCKED_TRANSPORT,不启动跨任务循环或 outbox。
Loop Owner:维护状态、租约、outbox、恢复债务和完成门,不代写 peer 结论。Peer Owner:完成任务,提供 scope、依赖和 MERGE_READY。Integration Owner:由任一合格 peer 在首个 MERGE_READY 出现后可原子认领,维护当前队列;只有目标干净、授权范围匹配且重验通过时才合入 main。claim 有效期间不启动新的无关实现任务,变忙时先转交队列。Recovery Dispatcher:任何活跃参与者在 Loop Owner 租约过期时可 takeover,继承 outbox、恢复和集成义务,但不能继承或伪造 peer 的完成声明。状态为 DISCOVER -> AGREEMENT -> RUNNING/NEGOTIATING -> MERGE_READY -> INTEGRATING -> INTEGRATED -> CLOSED。每个 peer 只记 Task / Scope / Branch or Worktree / Dependency / Checkpoint / Tests / Blocker / Resume Debt;优先 registry,跨会话恢复才用 memory。
只读最多 3 个相关 thread,确认收益、边界、契约、依赖和 Integration Target,用 briefbound-multi-agent-orchestration 建 agreement。Integration Owner 可等首个交付入队后认领;无收益则返回原 owner。
各 peer 继续非冲突任务。BRT_TRANSPORT_DISABLED 期间不得通信、轮询、入队或催促;MERGE_READY 只由原任务交付或用户直接传达。未来恢复后,消息默认只发差量:From/Task / Changed Fact / Action Impact / Evidence Pointer / Reply Needed;背景、方案和测试用指针,首次契约或安全语义才展开。
普通重叠先缩 scope、调顺序或交换接口,由 briefbound-thread-coordination 复用 discussion。仅无法拆分且继续写会立即覆盖/回归时暂停冲突 surface,记录 resumePendingAgentIds;解决后发 CONFLICT_RESOLVED 并确认恢复。
main 变化、排队或 gate stale 不暂停。Peer 聚焦验证并提交 MERGE_READY 后结束执行,由 Integration Owner 集成;不等待 stable main,不反复 closeout。
每次收发在未来恢复后均先通过 briefbound-thread-coordination 的 BRT_DIRECT_USER_TURN_V1 验收门:只允许同项目、fresh read_thread 返回精确 threadId 的平级顶层 thread;原生子 agent 不得加入 outbox 或 relay。当前不得调用 send_message_to_thread,不得保存 outbox,也不得依据 /root、agent 标签或旧 registry 重新寻址。Loop Owner 失活时只记录交接事实,不自动唤醒其他任务。
自动恢复先分类为任务、依赖、集成或环境失败;证据发给 owner,其他 peer 继续。只有高风险取舍或同一 blocker 经两轮不同恢复策略仍失败才询问用户。
接管者只继承推进义务,不能继承证据所有权。失活 peer 没有正式 MERGE_READY 时:
MERGE_READY_RECOVERED,必须注明原 owner 未确认及重验证据。RECOVERY_PENDING_EVIDENCE;接管者自行完成缺口或恢复原 owner,不能代其宣告完成。每个 peer 用 MERGE_READY 入队,完整证据字段规范见 briefbound-multi-agent-orchestration 的 team-protocol.md。MERGE_READY_RECOVERED 也必须满足相同证据门。Integration Owner 以 Git 和新鲜测试为事实源:
首个交付入队时检查一次 lane=integration/<target-key>:无 claim 则认领队列并发 INTEGRATION_CLAIMED。baseline/dirty main 时进入 WAITING_FOR_CLEAN_TARGET,保留证据但不应用、变基或合并;已有负责人则其他 peer 停止合并。Loop Owner 对空缺自行认领或只联系一个合适 peer,不轮询或询问用户。细节交 briefbound-thread-coordination。
main 后只运行一次完整集成 gate;失败才重开责任任务和受影响依赖。gate 期间若无关任务推进 main,不冻结全项目:比较新增提交与本轮 scope;无重叠则在最终 HEAD 补受影响的窄验证,有语义重叠才重跑对应 gate。不得因无关漂移重跑整套门禁。
可重建的 ignored/untracked 测试缓存不阻塞 MERGE_READY,统一留给 final cleanup;删除受阻且不影响 tracked 交付时保留,不更换多种命令追查。
验收和集成 gate 通过后,广播一次 INTEGRATED,释放 integration claim 并关闭 merge coordination;债务清零后用 briefbound-development-cleanup 清理安全残留,最后只做一次整体汇报。
以下条件必须同时成立:
main 包含所有预期交付且集成验证通过;resumePendingAgentIds;每个 TRANSPORT_EXPIRED 都有 fresh list/read 证据;未满足时由当前 Loop Owner 或接管者继续闭环,不把普通协调债务抛回用户。
What SKILL.md sets; muted values are Claude Code's defaults
39 skills in this plugin
/briefbound-adrUse when the user asks to record a settled architecture or technology decision as an ADR(写 ADR、记录决策、技术选型定案存档), or a "why" trail is needed for a chosen design, an old decision must be superseded, or new work conflicts with a prior decision; do not use for options still under discussion, project status snapshots, or README writing./briefbound-ai-research-loopUse when AI/ML research engineering needs baseline reproduction, hypothesis-driven experiments, ablations, evaluation design, findings synthesis, research direction selection, plateau recovery, or a reproducible loop from a paper/repository/research question to evidence-backed results, or coordinating cross-stage research competitions and benchmarks./briefbound-Other plugins' skills for the same job
Generated from the plugin's indexed repository (ccdawn/briefbound-skills) — no native marketplace selected
npx claudepluginhub p/ccdawn-briefbound-skills