teamsmith 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@
13
13
  # output 短/长/失败/被杀/超量 五格落点与退出码
14
14
  # env 剥离三个「替你说 yes」的变量、不注入 --yes
15
15
  # resolve 项目根向上找、CLI 解析顺序(项目本地 → TEAM_CLI → 兄弟目录)
16
- # probe 表里每行路径喂 `--teamsmith-slash-probe`,不得得到顶层「未知子命令:<命令>」
16
+ # probe 表里每行路径喂 `--teamsmith-slash-probe`,不得得到顶层「unknown command: <命令>」
17
17
  #
18
18
  # `--flip`:把实现逐条改坏(scratch 副本),要求**具名组**变红、真实源保持绿 —— 证明这套夹具会咬人。
19
19
  # 纯逻辑组零进程;只有 probe 组起真 CLI(read-only 的 `--teamsmith-slash-probe` 探针)。
@@ -449,14 +449,14 @@ async function runGroups(): Promise<void> {
449
449
  for (const row of mod.TEAM_ROWS) {
450
450
  for (const p of row.paths) {
451
451
  const out = runCli(p)
452
- const top = `未知子命令:${p[0]}`
453
- if (out.includes('未知参数') || out.includes('未知子命令')) ownRefusals++
452
+ const top = `unknown command: ${p[0]}`
453
+ if (out.includes('未知参数') || out.includes('未知子命令') || out.includes('unknown command:')) ownRefusals++
454
454
  check(`表里这一行 CLI 真的分发:team ${p.join(' ')}`, !out.includes(top), out.split('\n')[0].slice(0, 60))
455
455
  }
456
456
  }
457
457
  check('探针非空洞:至少 5 行得到 CLI 自己的参数/子命令拒绝(真的分发了)', ownRefusals >= 5, `ownRefusals=${ownRefusals}`)
458
458
  const bad = runCli(['frobnicate'])
459
- check('红侧样本:表外命令得到顶层「未知子命令:frobnicate」', bad.includes('未知子命令:frobnicate'), bad.split('\n')[0].slice(0, 60))
459
+ check('红侧样本:表外命令得到顶层「unknown command: frobnicate」', bad.includes('unknown command: frobnicate'), bad.split('\n')[0].slice(0, 60))
460
460
  }
461
461
 
462
462
  if (savedCli === undefined) delete process.env.TEAM_CLI
@@ -3,7 +3,7 @@ name: teamsmith-init
3
3
  description: teamsmith-init is the new-project entry point of the teamsmith toolkit — organize multiple agents into a team, set up an agent collaboration protocol, and bootstrap this skill into a new project. It walks the questions to settle with the user first (dependencies, session and roster, the task-category mapping and the independent PM model, gates, VCS mode, install command, and the project's ROADMAP/OWNERSHIP/AGENTS.md red lines), then runs the one command that writes `.pi/team/config.sh` + the `docs/team/` skeleton + the `AGENTS.md` protocol section and starts the pulse, and finally hands day-to-day operation to the `teamsmith` skill. Use when the user wants to bootstrap teamsmith into a new repository, set up a brand-new team, organize multiple agents into a team, or set up an agent collaboration protocol where none exists yet.
4
4
  license: MIT
5
5
  metadata:
6
- version: "0.4.1"
6
+ version: "0.4.3"
7
7
  ---
8
8
 
9
9
  # teamsmith-init · bring a new project to "ready to dispatch"