Repository navigation
Backlog
Labels
agent-taskWritten with the agent-task form; not approval for agents (that is agent-ready)area:automationScheduled tasks and automation
Description
0.3.0 重构删掉了 .github/agent/ 与 .github/scripts/ 整套开发编排(Chief / Attempt / 评审门 / 队列 / enqueue-rules / merge-gate / pass-label)。标签词汇(agent-ready agent-task agent-working agent-pr awaiting-approval pass status:done risk:T0–T3 harness:*)还留在仓库里,但没有任何机器执行它们。本 issue 是重建这条流水线的账。
当前事实(main 1ae1e658,2026-11-25T14:41:26Z,git 协议实读):
.github/只剩PULL_REQUEST_TEMPLATE.md+ 8 个 workflow;其中带pull_request/push/merge_group的只有tests.yml,7 个 suite job + 汇总门FlyBot required checks。- 仓库唯一 cron 是上游追踪
ds-bot-upstream-track.yml,2026-11-26T01:17Z 那次未触发(APItotal_count0),注册异常待查。 - 旧线
delivery/ai-centric-development-servicetipa59547226e(2026-11-06)上有 33 个非测试脚本(约 14030 行)+ 38 个测试 + 16 个 workflow;旧 required check 名是tests-ok与enqueue-guard,与现在的FlyBot required checks不同,原样搬过来会把所有 PR 卡在 waiting for status。 - 旧
.github/agent/risk-rules.json把 T3 定义为「当前 head 自我 PASS + 绿 CI 后自行经队列合并」,与现行规则「T3 需人工批准」冲突,尚未裁决。 - 旧脚本引用的规则文档在 main 上都不存在:根目录无
AGENTS.md,docs/84 个文件里无autonomous-dev.md/controller.md,无.github/labels.json,无changelog.d/。所以这是「重建流程 + 移植引擎」,不是 copy 回仓库。
切片(一个 PR 一个切片,均以 Related 指回本 issue):
- 风险分级引擎移植:
risk-gate.mjs(176 行,纯 API 读取 diff,不 checkout 代码)+.github/agent/risk-rules.json的路径表改到 0.3.0 布局(runtime/services/manager/flybot_workspace/deploy/tests/docs/.github/scripts/),runtime/ds-bot-upstream/**记为 vendor 只读,未知路径仍默认 T2。 - 写权幂等与孤儿标签:评论带
<!-- flybot:<id> -->标记去重;label-hygiene在关单后摘agent-working/agent-pr。 - 审计门:
silent-revert(基于旧 main 的分支静默删掉别人刚合入的代码)+audit-merges(main 上未走队列的提交)接进 workflow,report-only,不改 required check 名。 - 流程固化:
docs/DEV_PIPELINE.md(triage → 拆解 → 认领 → 开发 → QA → 评审 → 合 的状态机与模板),并用一条真实agent-readyissue 跑通到 open PR。 - 合并策略:按 owner 裁决写死(T0/T1 在 required checks 全绿后自动合,或一律人工点)。
不搬的部分及理由:签名系列(signers.json 在旧线 tip 上就不存在,从未落地;现在写操作只走一个账号)、change-set.mjs(给 PASS 绑内容指纹放宽重评,与「新提交作废旧证明」冲突)、agent-audience.mjs(靠 PR 正文的 Owner/Reviewer 行指派,本组在群聊里分派)、upstream-sync.mjs(已被 ds-bot-upstream-track.yml 取代)、changelog.mjs(changelog.d/ 目录已不存在)。
状态:切片 1–4 未开始;切片 5 等裁决。不声称任何一项验收通过。
Metadata
Metadata
Assignees
Labels
agent-taskWritten with the agent-task form; not approval for agents (that is agent-ready)area:automationScheduled tasks and automation
Activity
label-hygiene: read the facts GitHub actually sends, and make an unju…
label-hygiene tests: pin both fixtures by sha256 and cover the branch…
comment-text: lower the fuzzy threshold to 0.80, with the measured ma…
comment-guard tests: pin the replay fixture by sha256, and say in the…
label-hygiene test: spawn the script by absolute path so the exit-cod…
label-hygiene: an empty listing is no fact, and a broken input is exi…
label-hygiene tests: a live branch under an empty --refs must not rea…
comment-guard: a missing payload is exit 3, not exit 1
comment-guard tests: read the QA payload through FLYBOT_QA_FIXTURES
tests: pin the three exit-code behaviours QA flagged (F5, F6, raw --r…
Revert the comment-guard body to the real one (my previous commit had…
Restore the comment-guard tests that go with that body
Restore label-hygiene tests to the measured file (no duplicate F6 case)
11 remaining items
docs: add UI_SURFACES_MAP (page to feature map)
docs: add UI_SURFACES_DISPATCH (change to what to run)
docs: retarget UI_SURFACES_OPS cross-references
docs: point UI_SURFACES at the dispatch page
docs: tier is advisory, merging is the Lead's call
ci: give risk-gate a pull_request trigger that writes the risk:T* label
test: cover the risk:T* label writer against a local API
ci: add the merge-decision input validation and renderer (Related #3393)
Add the paste-ready merge record (Related #3393)
Add the #3406 replay fixture for the merge-decision script (Related #…
Add the merge-decision self-test fixtures (Related #3393)
Test the merge decision against the replay fixture and the self tests…
ci: test the exec-family rule split between product code and tests (#…
ci: keep the trailing newline in the two files (#3393)
ci: cover docs/ and changelog.d/ scripts in the gate tests (#3393)