Skip to content

docs(product): 第二仓冷启动实录——tdxcli-rs 全链路 8/5/2 + 摩擦五条 - #110

Merged
2233admin merged 1 commit into
mainfrom
t4-secondrepo
Aug 1, 2026
Merged

docs(product): 第二仓冷启动实录——tdxcli-rs 全链路 8/5/2 + 摩擦五条#110
2233admin merged 1 commit into
mainfrom
t4-secondrepo

Conversation

@2233admin

Copy link
Copy Markdown
Owner

干什么(#99 最小版:第一次非自举仓全链路)

目标仓 tdxcli-rs(用户真实仓、带活未提交改动)。铁律执行到位:目标仓零写入,前后 git status --porcelain + HEAD 逐字节一致(双重验证)。按"局外人故事"(README/SKILL.md 文档路径)走,不用内部人捷径——文档断在哪,哪里就是发现。

数字

  • 13 步:8 顺 / 5 需改造 / 2 失败;全程 181 秒
  • 摩擦 5 条(F1–F5,全在 docs/runbooks/frictions.md,逐条带原始报错与源码根因)
  • 产物:docs/runbooks/second-repo-cold-start.json(机读真源)+ 派生 md 视图

头号发现

F2(真 bug)run execute --authority-root X --final-name Y——CI 自审用的同款调用形状——exit 0 报 committed,但 artifact query 永远索引不到:查询侧要求 X/<repo>/<run-id>/ 两级嵌套,写入侧从不强制也不提示。干净的写入实为死端。已验证 invocation 级 workaround(手工把 repo 名折进 authority 路径)。

其余:F1 全链路命令在 README/SKILL.md 里不可见(只活在 --help --all 和 CI yml);F3 README"输出在哪里"文件树与实际 content-addressed 布局不符;F4 change risk 独缺 --repo 旗标、静默评 CWD 所在仓;F5 多 worktree 机器上 ambient CODE_INTEL_HOME 疑似可绕过 foreign-checkout 守卫(未复现,低置信标注)。

五条将逐一开 issue 跟踪。

Refs #99 #59

Refs #99 #59

13 steps, 181s total wall-clock against D:/projects/tdxcli-rs (foreign,
non-self-hosted repo) — 8 ok as documented/specified, 5 needed adaptation,
2 hard-failed outright (both later fixed by a later step). 5 numbered
friction items filed (F1-F5): F2 is a real bug (run execute commits a
layout artifact query can never index, silently), F1 and F3 are missing
docs (the full-chain commands this task needed are invisible outside
--help --all; README's documented output file tree doesn't exist on disk
for any run style tested), F4 is a hardcoded CWD assumption on `change
risk`, F5 is an unconfirmed but live ambient CODE_INTEL_HOME precondition.
Target repo verified byte-identical (git status --porcelain + HEAD) before
and after. Pipeline code untouched; frictions are the deliverable.
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@repowise-bot

repowise-bot Bot commented Aug 1, 2026

Copy link
Copy Markdown

🔒 Repowise is not analyzing this repository

The PR bot is free on public repositories. This one is private, which needs a Pro plan.

See plans · Manage this repository

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@2233admin, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3aa7ba7c-bb35-4e59-abd4-ea89d580eb51

📥 Commits

Reviewing files that changed from the base of the PR and between 0255735 and a033ada.

📒 Files selected for processing (3)
  • docs/runbooks/frictions.md
  • docs/runbooks/second-repo-cold-start.json
  • docs/runbooks/second-repo-cold-start.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Code Intel change risk

Score Percentile Level
12/100 2th (vs last 49 commits) 🟢 low

Top signals

  • Diff shape: 3 file(s), +358/-0 (max file share 0.49)
  • Test asymmetry: source changed, tests touched
  • Bug-magnet: 0 fix commit(s) in touched files (180d)
  • Churn: 0 commit(s) touching these files (90d)

revspec: origin/main..HEAD · threshold: percentile >= 90 blocks unless labeled risk-accepted · code-intel change risk

@2233admin
2233admin merged commit 5cbb351 into main Aug 1, 2026
7 checks passed
@2233admin
2233admin deleted the t4-secondrepo branch August 1, 2026 20:03
2233admin added a commit that referenced this pull request Aug 1, 2026
北极星落地批次:PR 门禁占位(#102/#108)、eval 双臂基准立裁判(#107/#109)、docs 生命周期首扫 + out-of-scope 注册表(#109/#116)、第二仓冷启动出自举圈(#110,摩擦 #111-#115 立案)。

版本绑定点同步:Cargo.toml + orchestration/toolchain-versions.v1.json + Cargo.lock。
门禁证据:cargo test 无失败、权威 self-scan exit 0、retirement packet 套件 8/8、repin clean。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant