Skip to content

附录 A. 索引产出

scripts/inspect_repository.sh 在 2026-08-11 16:56:15 UTC 跑过一次(depth=1)和一次 unshallow 后重跑(5,333 commits)。

A.1 受控副本

/tmp/pi-snap/                  79 MB   工作树 (after --unshallow)
├── HEAD = 2a9b4ebc680053c64e31f635b0b22d5e22564001
├── branches: main (default)
├── 5650 commits · 100+ releases
└── 10 个 npm workspaces

A.2 索引产物

路径 行/字节 内容
/tmp/pi-inspect/snapshot.json 259 B 仓库身份元数据
/tmp/pi-inspect/files.txt 1325 行 / 65,750 B 全部仓库文件清单(LC_ALL=C sort)
/tmp/pi-inspect/symbols.jsonl 56,905 行 / 12,892,329 B ctags 标签流
/tmp/pi-inspect/cloc.json 1,302 B 17 种语言 × 文件/代码/注释/空行
/tmp/pi-inspect/history.tsv 5,333 行 / 0.13 MB commit ×

A.3 cloc 摘要

TS        files=1125  code=209,631  blank=29,926  comment=17,073
MD        files=97    code=23,925   blank=8,695   comment=3
JSON      files=46    code=13,582   blank=12      comment=0
JS        files=34    code=8,141    blank=971     comment=260
YAML      files=14    code=1,743    blank=267     comment=51
CSS       files=1     code=867      blank=175     comment=24
Sh        files=9     code=745      blank=106     comment=81
C         files=3     code=207      blank=42      comment=12
SQL       files=1     code=102      blank=16      comment=4
PS1       files=1     code=64       blank=7       comment=0
HTML      files=1     code=48       blank=4       comment=3
DOS       files=1     code=11       blank=3       comment=0
合计      files=1333  code=259,066  blank=40,224  comment=17,511

A.4 单点错误(不影响总体)

ctags 1 error:
  Line count, exceeded timeout:  ./packages/coding-agent/test/package-manager.test.ts

该测试文件过大约定 ctags 超时;行级访问仍可。

A.5 history.tsv 头部与尾部

HEAD (新)
2a9b4ebc680053c64e31f635b0b22d5e22564001  2026-08-11T16:57:05+02:00  Michael Renner       docs: document terminal-specific fullscreen mouse behavior (#7965)
40a3d8556ab7fb4a6b4da20ffe1f5dfc08ec121d  2026-08-11T15:31:27+02:00  Mario Zechner         docs(agent): add table of contents

...
3a9c3a2ed6773b0845e2979b6ed3dbed7fd16344  2025-08-09T19:26:59+02:00  Mario Zechner         v0.5.3 - Fix missing scripts directory in published package
a74c5da112c29466f182a03108337a488c785d76  2025-08-09T17:18:38+02:00  Mario Zechner         Initial monorepo setup with npm workspaces and dual TypeScript configuration
ROOT (旧)

A.6 受控副本的清理条件

technical-research-toolkit Skill 强流程,稳定发布 1 周后可以清理明确标记为 Agent 创建的临时内容;本任务的所有产物在 /tmp/pi-snap, /tmp/pi-inspect, /tmp/pi-site 下,没有清理期限直到你指示。