Factory Droid 知识库Busabase x Factory Droid

Factory Droid 知识库

Factory Droid 可以规划、编辑、测试、审查,委派 custom droids,加载 Skills,连接 MCP servers,并把交互工作迁移到 headless execution。控制面很完整,但一次成功运行仍只是提议的证据,不是自己批准的组织事实。

已验证运行提议等待负责人决定
Busabase 正在审核 Factory Droid 结果
Tool permission 控制执行,Change Request 控制接受。

控制层

Rules、procedures、delegated agents 与 tools 不应争夺同一种职责。

Factory 为每一层规定了不同工作。为长期记录组装证据时,要保留这种分层。

Layer主要职责信任边界
AGENTS.mdAlways-on repository commands 与 guardrails只是 instruction text,不会独立形成 runtime enforcement
Skill按需加载的 reusable procedurePrompt guidance 与可选 supporting files
Custom droid有独立 context、model 和 tool policy 的 subagentRuntime tool boundary,只返回一项结果
MCPAuthenticated external tools 与 contextServer identity、tool policy、credentials
BusabaseHuman-reviewed canonical recordsPermission-aware proposal、review、merge

委派

Custom droid 隔离 context 与 tools,但不会转移责任。

Custom droid 在新 context 中运行,可以使用不同 model,并限制为 read-only、edit、execute、web 或指定 MCP servers。它不能向用户提问,也不能继续递归创建 subagent。接受结果前要保留 delegated task、effective tools、model 与 returned artifact。

subagent_typeCustom droid 或 built-in worker/explorer
task_boundary精确 delegated question/checklist
model_policyPinned model 或 inherited routing
tool_policyCategory、exact tools、MCP servers
result交给 parent 的单一 return value
parent_decisionParent 怎样验证和使用结果

MCP governance

Config scope、server fingerprint 与 tool approval 都要记录。

Factory 从 user、folder、project 与 organization-managed sources 加载 MCP。Persistent approval 绑定 transport fingerprint,enterprise policy 也能独立于显示名称允许或阻止 server。要记录实际 server、tool、permission 与 response。

SOURCE

User、folder、project、managed definition

IDENTITY

Transport URL/command fingerprint

POLICY

Enterprise allowlist 与 tool filtering

APPROVAL

Persistent 或 per-call decision

EVIDENCE

Response 加 external verification

Execution surfaces

Interactive、Exec 与 Mission run 需要不同证据。

同一 prompt 可以在开发者身边交互执行、作为 one-shot headless job,或进入 multi-agent orchestration。比较结果前先标明 surface 与 autonomy level。

Surface典型用途应保留证据
Interactive CLI/App探索、implementation、live reviewPrompts、approvals、diff、tests
Droid ExecScripts、CI、scheduled/batch tasksInput、flags、exit code、structured output
Custom droid聚焦 delegated analysis/workDefinition、tool boundary、return value
MissionPlanned multi-agent deliveryMilestones、workers、validators、artifacts

可审核交付

从 repository guidance 到已接受知识,必须经过明确 checkpoint。

Droid 可以展示 diff 并在编辑前等待。Busabase 再为会超出 repository task 生命周期的事实与记录增加一道接受边界。

01 · BRIEF

AGENTS.md 与 task scope

02 · EXECUTE

Session、droid、tools

03 · VERIFY

Diff、tests、readback

04 · PROPOSE

Bounded record change

05 · REVIEW

负责人决定

含 Factory Droid 证据的 Busabase file review

运行证据

记录有效的 Factory runtime,不只保存 final message。

Final message 可能省略 blocked tool、delegated subagent 或中途改变的 autonomy level。提议知识旁应保留精简 execution digest。

session_or_runInteractive session、Exec run 或 Mission
repository_refCheckout、branch、commit、worktree
guidance_refsAGENTS.md 与 loaded Skills
agent_traceParent 与 custom droids
mcp_traceServer fingerprints 与 material calls
autonomyEffective risk level 与 approvals
verificationTests、review、external readback

Canonical record

把结果是否接受与是否允许执行分开。

即使原 session retention 较短或 tool catalog 改变,记录仍应独立成立。

record_key稳定身份
proposed_state其他团队可能依赖的结果
execution_refSession、Exec、Mission、agent trace
evidence_refsCode、tests、MCP responses、sources
owner接受责任
decision接受、有条件、拒绝、已替代
valid_untilFreshness/review boundary

控制语义

Autonomy 与 tool policy 降低执行风险,但不会验证结论。

让执行授权和知识接受保持为两个可见决定。

READ-ONLY

限制 mutation,但仍可能产出错误结论

LOW / MEDIUM / HIGH

预授权不同类别的 local/remote action

MCP POLICY

控制哪些 external tools 可以运行

CHANGE REQUEST

控制 proposed record 能否 canonical

实际问题

Factory Droid 知识库常见问题

Busabase 会取代 AGENTS.md 吗?

不会。AGENTS.md 告诉 Droid 怎样在 repository 中工作;Busabase 保存审核后的结果。

Custom droid 是安全 sandbox 吗?

它为 subagent 强制 tool policy,但 process、filesystem、organization 与 external service 控制仍然重要。

Exec 成功退出会批准结果吗?

不会。它只证明 runner 按 contract 完成,record acceptance 仍是独立决定。

MCP URL 改变后能复用 approval 吗?

Factory 把 persistent approval 绑定 transport fingerprint,因此 URL 或 command 改变后需要重新决定。

Skill 应保存当前 project status 吗?

不应。Skill 保持 procedural,变化状态从 owner system 读取。

从一个已验证 run 开始

让 Factory Droid 广泛执行,只窄范围提升结果。

选择一项有后果的 outcome,保留 effective runtime 与 tests,只把可复用状态送负责人审核。