Repository navigation
Description
现象
AndroidMic 仓尚未接入推进管线 L1:pipeline-check.ps1 -Level L1 报 6 项不符合——缺 .pipeline/manifest.yaml、AGENTS.md 契约块、docs/PIPELINE.md 薄指针、issue 表单与 PR 模板;另有 PIPE-WT-001 指出 7 个切点前在途分支名缺 issue 数字段。
复现命令(PowerShell 7):
$env:PIPELINE_HOME = 'C:\Users\VerNe\Downloads\Documents\编程推进管线'
$env:GH_REPO = 'ID-VerNe/AndroidMic'
pwsh "$env:PIPELINE_HOME\scripts\pipeline-check.ps1" -Repo "C:\Users\VerNe\Downloads\Documents\手机麦克风\AndroidMic" -Level L1原始输出(2026-12-04,绑定 fork 后):
不符合 | PIPE-GOV-003 | manifest 存在且七键齐全、spec_version 与本规范一致 | ...\AndroidMic\.pipeline\manifest.yaml
不符合 | PIPE-GOV-004 | AGENTS.md 含 begin/end 契约块且块内不超 30 行 | ...\AndroidMic\AGENTS.md;缺 begin/end 标记
不符合 | PIPE-VER-004 | docs/PIPELINE.md 存在且不超 20 行(薄指针) | ...\AndroidMic\docs\PIPELINE.md
不符合 | PIPE-ISSUE-008 | ISSUE_TEMPLATE 至少 3 个表单… | ...\AndroidMic\.github\ISSUE_TEMPLATE
不符合 | PIPE-PR-002 | PR 模板存在且七段齐全 | ...\AndroidMic\.github\pull_request_template.md
不符合 | PIPE-WT-001 | 分支名匹配 <type>/<issue>-<slug> | fix/settings-column-scroll;bump/2.2.13;feat/auto-transport;test/stream-lock-coverage;fix/connection-locks-hardening;fix/lock-release-retry;fix/on-demand-wake
== 汇总 ==
不符合: 6;符合/跳过见上列明细。
EXIT=1
证据链
- 盘点报告:
C:\Users\VerNe\Downloads\Documents\编程推进管线\接入盘点-2026-11-27.md第三节(AndroidMic),对应 PIPE-GOV-003/004、PIPE-VER-004、PIPE-ISSUE-008、PIPE-PR-002、PIPE-WT-001。 - 既有文件:
AndroidMic\AGENTS.md:1-41无pipeline:begin/pipeline:end标记;.github\下只有workflows\ci.yml、workflows\release.yml,无 issue 表单与 PR 模板;.pipeline\manifest.yaml、docs\PIPELINE.md不存在(Test-Path均为 False)。 - 分支与 worktree:
git worktree list显示 7 个在途 worktree,git branch -vv确认fix/settings-column-scroll、bump/2.2.13、feat/auto-transport、test/stream-lock-coverage、fix/connection-locks-hardening、fix/lock-release-retry、fix/on-demand-wake均无 issue 数字段。 - gh 仓库解析:本机
gh原先未绑定默认仓库,gh repo view --json nameWithOwner解析到teamclouday/AndroidMic(upstream),导致首跑把 upstream 的 7 个 open PR 误计为 PIPE-WIP-002 不符合;已执行gh repo set-default ID-VerNe/AndroidMic,复跑后gh pr list -R ID-VerNe/AndroidMic --state open为 0 条,WIP-002 不再触发。
影响面
P2(协作骨架缺失,无运行时代码与行为变更)。
受影响对象(模块/设备/用户路径):仅仓库协作层——.github/ISSUE_TEMPLATE、.github/pull_request_template.md、.pipeline/manifest.yaml、AGENTS.md、docs/PIPELINE.md;同时影响本仓 issue/PR 协作流程、分支与 worktree 命名规范;不触达 RustApp/、Android/ 运行路径,不影响 2.2.13 发布分支与在途修复分支,无模块、设备或用户路径受影响。
修复候选
-
执行
pipeline-install.ps1 -Level L1 -Write安装 L1 骨架:8 个 issue 表单、PR 七段模板、manifest、AGENTS 契约块、docs/PIPELINE.md 薄指针,共 12 个文件;脚本幂等,已存在同名文件备份后跳过(PIPE-ADOPT-005)。 -
回填切点:
adopted_at=2026-12-04、adopted_commit取安装基线origin/main的完整 40 位 SHA、project_type=android+rust、owner=ID-VerNe。 -
对 PIPE-WT-001 登记带到期日的豁免:切点前 8 个在途分支保留原名不重命名,切点后新分支按
<type>/<issue>-<slug>(PIPE-ADOPT-006)。 -
明确不做:不改历史 issue(PIPE-ADOPT-003)、不重命名在途分支、不装 L2(30 天后按节奏补证据链路)、不触碰 upstream、不改既有 CI workflow。
-
这是一件事,可独立验收
Activity
ID-VerNe commentedon Dec 4, 2026
plan
范围
ID-VerNe/AndroidMic安装推进管线 L1 协作骨架(12 个文件),回填切点与 PIPE-WT-001 豁免,使pipeline-check.ps1 -Level L1除已登记豁免外无非豁免不符合(PIPE-ADOPT-002、PIPE-ADOPT-004)。非目标
RustApp/、Android/代码与既有 CI workflow。upstream(teamclouday/AndroidMic);不关闭、不 rebase 既有上游 PR fix(tcp): rebind the listener after a dropped connection teamclouday/AndroidMic#193–fix(streamer): bound the reconnect retry and rebuild the adb reverse tunnel teamclouday/AndroidMic#198。方案与备选
pipeline-install.ps1 -Repo . -Level L1 -ProjectType android+rust -Write。脚本幂等,已存在文件先备份到.pipeline/backup/<YYYY-MM-DD>/再跳过(PIPE-ADOPT-005);随后手工回填 manifest 切点并登记豁免。templates/与scripts/产物。被否:绕过幂等与备份约定,后续升级必漂移(PIPE-ADOPT-007)。pipeline-check.ps1 -Level L1首跑 7 行不符合、绑定 fork 后 6 行不符合(原文见 issue 现象段);Get-ChildItem .github -Recurse仅有workflows\ci.yml、workflows\release.yml;.pipeline与docs目录均不存在。风险与回滚
gh未绑定默认仓库时,标签与 issue 会落到 upstream。处置:安装前已gh repo set-default ID-VerNe/AndroidMic,执行安装前逐条核对gh repo view --json nameWithOwner输出,并显式设GH_REPO。.github模板与既有 CI 的行为耦合。处置:adoption PR 只新增模板与指针,不改 workflow 文件;合并后 CI 不受影响。git revert <adoption merge commit>一次性撤回 12 个新增文件与 manifest/.gitignore改动;远程新增的 25 个标签不在自动回滚范围,如需清理手工删除。验证与证据计划
pipeline-check.ps1 -Level L1全量输出对比。用 issue 的复现命令复现:失败(安装前 6 项不符合,原文见 issue 现象段)
Agent: Doubao / 38458338768400642 / 2026-12-04
Merge pull request #78 from ID-VerNe/infra/76-pipeline-adopt
ID-VerNe commentedon Dec 4, 2026
关闭依据
627640f98fedd350f9fd0c71ab14851c68d58dc7(basemain,2026-12-04T02:10:00Z)。Agent: Doubao-Reviewer (subagent) / o_0009KCvCFKb / parent=38458338768400642 / 2026-12-04.gitignore两行,无运行时代码;按 PIPE-LIFE-008 跳过回签,不进入needs-live-verify。git status --porcelain空、git diff --stat origin/main空;git ls-tree origin/main确认 8 个 issue 表单、PR 模板、manifest、AGENTS.md、docs/PIPELINE.md全部在库;合并树复跑 L1 为 5 项符合 + PIPE-WT-001 1 项已登记豁免,其余按等级跳过。.worktrees/wt-76已删除并git worktree prune(列表无残留);本地分支infra/76-pipeline-adopt与远端同名分支均已删除。关闭依据:上述 approve 评论(issuecomment-7398619917)。