teamsmith 0.1.1 → 0.2.0
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.
- package/README.md +16 -8
- package/package.json +1 -1
- package/skills/teamsmith/CHANGELOG.md +55 -0
- package/skills/teamsmith/SKILL.md +18 -7
- package/skills/teamsmith/extension/team-bg.ts +47 -11
- package/skills/teamsmith/extension/team-notify.ts +143 -4
- package/skills/teamsmith/references/agent-adapters.md +7 -7
- package/skills/teamsmith/references/config.md +29 -15
- package/skills/teamsmith/references/migration.md +38 -2
- package/skills/teamsmith/references/openspec.md +23 -9
- package/skills/teamsmith/references/protocol.md +81 -13
- package/skills/teamsmith/references/workflows.md +31 -19
- package/skills/teamsmith/scripts/lib/cmd-agents.sh +210 -70
- package/skills/teamsmith/scripts/lib/cmd-bootstrap.sh +70 -9
- package/skills/teamsmith/scripts/lib/cmd-config.sh +222 -70
- package/skills/teamsmith/scripts/lib/cmd-death.sh +2 -15
- package/skills/teamsmith/scripts/lib/cmd-docs.sh +6 -3
- package/skills/teamsmith/scripts/lib/cmd-project.sh +134 -17
- package/skills/teamsmith/scripts/lib/cmd-reply.sh +96 -0
- package/skills/teamsmith/scripts/lib/cmd-review.sh +13 -10
- package/skills/teamsmith/scripts/lib/cmd-status.sh +42 -13
- package/skills/teamsmith/scripts/lib/cmd-watch.sh +75 -13
- package/skills/teamsmith/scripts/lib/common.sh +797 -71
- package/skills/teamsmith/scripts/monitor.mjs +34 -3
- package/skills/teamsmith/scripts/panel/README.md +22 -11
- package/skills/teamsmith/scripts/panel/panel.js +217 -215
- package/skills/teamsmith/scripts/panel/src/App.tsx +421 -164
- package/skills/teamsmith/scripts/panel/src/data.ts +84 -4
- package/skills/teamsmith/scripts/panel/src/layout.ts +502 -91
- package/skills/teamsmith/scripts/panel/src/main.tsx +97 -12
- package/skills/teamsmith/scripts/panel/src/settings.ts +1 -1
- package/skills/teamsmith/scripts/panel/src/strings/en.ts +56 -21
- package/skills/teamsmith/scripts/panel/src/strings/zh.ts +56 -21
- package/skills/teamsmith/scripts/panel/src/types.ts +178 -16
- package/skills/teamsmith/scripts/replies.mjs +893 -0
- package/skills/teamsmith/scripts/team +1 -0
- package/skills/teamsmith/templates/AGENTS.section.md.tmpl +15 -2
- package/skills/teamsmith/templates/BOARD.md.tmpl +2 -2
- package/skills/teamsmith/templates/OWNERSHIP.md.tmpl +7 -3
- package/skills/teamsmith/templates/PROTOCOL.md.tmpl +17 -0
- package/skills/teamsmith/templates/config.sh.tmpl +10 -5
- package/skills/teamsmith/templates/memory-seed.md.tmpl +3 -0
- package/skills/teamsmith/templates/pm-prompt.md.tmpl +20 -1
- package/skills/teamsmith/templates/report.md.tmpl +12 -0
- package/skills/teamsmith/templates/task.md.tmpl +4 -0
- package/skills/teamsmith/tests/bg-ledger-harness.mjs +682 -0
- package/skills/teamsmith/tests/bg-ledger.sh +307 -0
- package/skills/teamsmith/tests/checkout-shape-probe.sh +287 -58
- package/skills/teamsmith/tests/config-cli.sh +162 -288
- package/skills/teamsmith/tests/death-cause.sh +5 -2
- package/skills/teamsmith/tests/install-shape.sh +4 -2
- package/skills/teamsmith/tests/key-replies-pty.sh +375 -0
- package/skills/teamsmith/tests/key-replies-ui.sh +332 -0
- package/skills/teamsmith/tests/key-replies.sh +1075 -0
- package/skills/teamsmith/tests/ledger-ban.sh +5 -5
- package/skills/teamsmith/tests/ledger-claim.sh +247 -0
- package/skills/teamsmith/tests/lib/checkout-shape.sh +66 -14
- package/skills/teamsmith/tests/lib/model-policy.sh +26 -0
- package/skills/teamsmith/tests/lib/model-routing-boundary.sh +420 -0
- package/skills/teamsmith/tests/lib/model-routing-expansion.sh +155 -0
- package/skills/teamsmith/tests/lib/model-routing-flips.py +136 -0
- package/skills/teamsmith/tests/lib/model-routing-roles.sh +250 -0
- package/skills/teamsmith/tests/lib/proc-io.sh +103 -0
- package/skills/teamsmith/tests/lib/reply-fixture.sh +372 -0
- package/skills/teamsmith/tests/lib/tmux-iso.sh +8 -0
- package/skills/teamsmith/tests/panel-b2.sh +1 -1
- package/skills/teamsmith/tests/panel-b3-stub.sh +27 -0
- package/skills/teamsmith/tests/panel-b3.sh +14 -10
- package/skills/teamsmith/tests/panel-choices.sh +74 -61
- package/skills/teamsmith/tests/panel-cpu.sh +1 -1
- package/skills/teamsmith/tests/panel-p21.sh +311 -190
- package/skills/teamsmith/tests/perf.sh +1 -1
- package/skills/teamsmith/tests/pm-box-real.sh +1 -1
- package/skills/teamsmith/tests/pulse-nudge-key.sh +1 -1
- package/skills/teamsmith/tests/routes.sh +43 -22
- package/skills/teamsmith/tests/section-budgets.tsv +9 -5
- package/skills/teamsmith/tests/section-paths.tsv +26 -16
- package/skills/teamsmith/tests/section-select.sh +99 -16
- package/skills/teamsmith/tests/smoke.sh +930 -216
- package/skills/teamsmith/tests/snapshots/zh-dark-120-detail.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-dark-120-p4.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-dark-120.txt +9 -9
- package/skills/teamsmith/tests/snapshots/zh-dark-160-p4.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-dark-160.txt +9 -9
- package/skills/teamsmith/tests/snapshots/zh-dark-59-detail.txt +1 -1
- package/skills/teamsmith/tests/snapshots/zh-dark-59-p4.txt +1 -1
- package/skills/teamsmith/tests/snapshots/zh-dark-59.txt +5 -5
- package/skills/teamsmith/tests/snapshots/zh-dark-99-p4.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-dark-99.txt +5 -5
- package/skills/teamsmith/tests/snapshots/zh-light-120-detail.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-light-120-p4.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-light-120.txt +9 -9
- package/skills/teamsmith/tests/snapshots/zh-light-160-p4.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-light-160.txt +9 -9
- package/skills/teamsmith/tests/snapshots/zh-light-59-detail.txt +1 -1
- package/skills/teamsmith/tests/snapshots/zh-light-59-p4.txt +1 -1
- package/skills/teamsmith/tests/snapshots/zh-light-59.txt +5 -5
- package/skills/teamsmith/tests/snapshots/zh-light-99-p4.txt +2 -2
- package/skills/teamsmith/tests/snapshots/zh-light-99.txt +5 -5
- package/skills/teamsmith/tests/task-header-model.sh +2 -1
- package/skills/teamsmith/tests/task-model-routing.sh +1014 -0
- package/skills/teamsmith-init/SKILL.md +38 -38
- package/skills/teamsmith-init/references/bootstrap.md +6 -4
- package/skills/teamsmith-init/templates/bootstrap-prompt.md.tmpl +9 -5
|
@@ -355,7 +355,7 @@ perf_setup_fixture() { # 夹具仓库(装配判定测的是面板装配,不
|
|
|
355
355
|
&& git config user.name perf && printf '# perf fixture\n' > README.md && git add -A && git commit -qm init ) >/dev/null 2>&1 || return 1
|
|
356
356
|
mkdir -p "$PERF_FIX/openspec" "$PERF_FIX/.pi/team/state" "$PERF_FIX/docs/team/reports" "$PERF_FIX/docs/team/reviews"
|
|
357
357
|
( cd "$PERF_FIX" && perf_team_env_init bash "$team_bin" init --session "teamsmith-perf-$$" \
|
|
358
|
-
--agents "dev verify" --vcs local --gates "true" --docs docs/team ) >"$PERF_TMP/init.log" 2>&1 || return 1
|
|
358
|
+
--agents "dev verify" --vcs local --gates "true" --docs docs/team --task-models 'routine=deepseek/deepseek-flash analysis=xai/grok-4.6 verify=kimi-coding/k3-256k' --pm-model 'deepseek/deepseek-flash' ) >"$PERF_TMP/init.log" 2>&1 || return 1
|
|
359
359
|
printf '2026-01-01T00:00:01Z RAM 可用 4000MB | 磁盘 swap 空闲 3000MB | 估算可再加 5 个 agent\n' \
|
|
360
360
|
> "$PERF_FIX/.pi/team/state/capacity.log"
|
|
361
361
|
return 0
|
|
@@ -151,7 +151,7 @@ fi
|
|
|
151
151
|
( cd "$REPO" && git init -q -b main && git config user.email pmbox@teamsmith && git config user.name pmbox \
|
|
152
152
|
&& echo "# pmbox" > README.md && git add -A && git commit -qm init )
|
|
153
153
|
( cd "$REPO" && env -u TMUX -u TMUX_PANE TMUX_TMPDIR="$SOCKDIR" TEAM_SESSION="$SESS" \
|
|
154
|
-
$TEAM init --session "$SESS" --agents "dev" --vcs local --gates "true" --docs docs/team ) >"$TMP/init.log" 2>&1 \
|
|
154
|
+
$TEAM init --session "$SESS" --agents "dev" --vcs local --gates "true" --docs docs/team --task-models 'routine=deepseek/deepseek-flash analysis=xai/grok-4.6 verify=kimi-coding/k3-256k' --pm-model 'deepseek/deepseek-flash' ) >"$TMP/init.log" 2>&1 \
|
|
155
155
|
|| { printf '夹具 init 失败\n'; tail -3 "$TMP/init.log"; }
|
|
156
156
|
|
|
157
157
|
# 真 pi:真 HOME(沿用使用者的 provider/配置)+ 临时 session 目录(不碰真实会话文件)
|
|
@@ -402,7 +402,7 @@ pk_mode_observers() {
|
|
|
402
402
|
&& printf '# P174 observers\n' > README.md && git add -A && git commit -qm init ) >/dev/null 2>&1 \
|
|
403
403
|
|| { bad "observers:建夹具仓库失败"; return; }
|
|
404
404
|
( cd "$R" && env "${pk_clean_env[@]}" bash "$SKILL_DIR/scripts/team" init \
|
|
405
|
-
--session "pk-obs-$$" --agents "dev" --vcs local --gates "true" --docs docs/team ) >"$O/init.log" 2>&1 \
|
|
405
|
+
--session "pk-obs-$$" --agents "dev" --vcs local --gates "true" --docs docs/team --task-models 'routine=deepseek/deepseek-flash analysis=xai/grok-4.6 verify=kimi-coding/k3-256k' --pm-model 'deepseek/deepseek-flash' ) >"$O/init.log" 2>&1 \
|
|
406
406
|
|| { bad "observers:team init 失败(见 $O/init.log)"; tail -3 "$O/init.log" | sed 's/^/ /'; return; }
|
|
407
407
|
|
|
408
408
|
# 私有 tmux shim:只读,回答「没有 pm 窗口」
|
|
@@ -79,7 +79,9 @@ export SMOKE_TMP_RUN_ID="${SMOKE_TMP_RUN_ID:-routes-$$-$(date +%s 2>/dev/null ||
|
|
|
79
79
|
|
|
80
80
|
# shellcheck source=tests/lib/tmp-root.sh
|
|
81
81
|
. "$here/lib/tmp-root.sh"
|
|
82
|
+
. "$here/lib/model-policy.sh"
|
|
82
83
|
tmp="$(tmp_root_create routes)" || { printf 'routes: 临时根建不起来\n' >&2; exit 3; }
|
|
84
|
+
export HOME="$tmp/home"; mkdir -p "$HOME"
|
|
83
85
|
PASS=0
|
|
84
86
|
FIND=0
|
|
85
87
|
SKIP=0
|
|
@@ -191,6 +193,7 @@ new_fixture() {
|
|
|
191
193
|
( cd "$d" && git init -q -b main && git config user.email routes@teamsmith && git config user.name routes \
|
|
192
194
|
&& printf '{"name":"%s","scripts":{"verify":"true"}}\n' "$name" > package.json \
|
|
193
195
|
&& git add -A && git commit -qm init ) >/dev/null 2>&1
|
|
196
|
+
routing_fixture_config "$d/.pi/team/config.sh" "$skill/templates/config.sh.tmpl" "routes-$name" 'dev verify' || return 1
|
|
194
197
|
if ! ( cd "$d" && env PATH="$SHIM:$PATH" TEAM_PI_BIN=/bin/true TEAM_ROUTES_TMUX_LOG="$TMUX_LOG" \
|
|
195
198
|
TEAM_MEETINGS_DIR="$d/.meetings" TEAM_PI_AGENT_DIR="$d/.pi-agent" \
|
|
196
199
|
bash "$team" init --no-skills --session "routes-$name" --agents "dev verify" --vcs local \
|
|
@@ -548,10 +551,9 @@ mr_probe_for() { # <KEY> → probe id(空 = 没有声明)
|
|
|
548
551
|
case "$1" in
|
|
549
552
|
TEAM_PROJECT|TEAM_SESSION|TEAM_PM_WINDOW) printf 'identity\n' ;;
|
|
550
553
|
TEAM_AGENTS) printf 'roster\n' ;;
|
|
551
|
-
|
|
554
|
+
TEAM_TASK_MODELS) printf 'task-model\n' ;;
|
|
552
555
|
TEAM_PM_MODEL) printf 'pm-model\n' ;;
|
|
553
556
|
TEAM_PULSE_WINDOW) printf 'pulse-window\n' ;;
|
|
554
|
-
TEAM_DEFAULT_MODEL) printf 'default-model\n' ;;
|
|
555
557
|
TEAM_BG_STOP_GRACE) printf 'bg-stop-grace\n' ;;
|
|
556
558
|
*) printf '\n' ;;
|
|
557
559
|
esac
|
|
@@ -600,10 +602,9 @@ mr_walk_b() {
|
|
|
600
602
|
case "$probe" in
|
|
601
603
|
identity) mr_promise_identity "$key" || bad=1 ;;
|
|
602
604
|
roster) mr_promise_roster "$key" || bad=1 ;;
|
|
603
|
-
|
|
605
|
+
task-model) mr_promise_task_model "$key" || bad=1 ;;
|
|
604
606
|
pm-model) mr_promise_pm_model "$key" || bad=1 ;;
|
|
605
607
|
pulse-window) mr_promise_pulse_window "$key" || bad=1 ;;
|
|
606
|
-
default-model) mr_promise_default_model "$key" || bad=1 ;;
|
|
607
608
|
bg-stop-grace) mr_promise_bg_stop_grace "$key" || bad=1 ;;
|
|
608
609
|
*) finding "promise:$key 的探针 id「$probe」没有实现(覆盖表与实现脱节)"; bad=1 ;;
|
|
609
610
|
esac
|
|
@@ -757,9 +758,9 @@ mr_promise_seat_model() { # <KEY>
|
|
|
757
758
|
mr_promise_pm_model() { # <KEY>
|
|
758
759
|
local key="$1" d
|
|
759
760
|
d="$(new_fixture promise-pm-model)" || return 1
|
|
760
|
-
mr_run "$d" config set
|
|
761
|
-
[ "$MR_RC" = "0" ] || { finding "promise($key
|
|
762
|
-
mr_run "$d" up --print
|
|
761
|
+
mr_run "$d" config set TEAM_PM_MODEL vendor/pm9 --yes
|
|
762
|
+
[ "$MR_RC" = "0" ] || { finding "promise($key):独立 PM writer 失败($(first_line "$MR_OUT"))"; return 1; }
|
|
763
|
+
mr_run "$d" up --fresh-pm --print
|
|
763
764
|
if printf '%s' "$MR_OUT" | grep -q -- '--provider vendor --model pm9'; then
|
|
764
765
|
ok "promise($key):team up --print 渲染出的命令带着 --provider vendor --model pm9"
|
|
765
766
|
else
|
|
@@ -785,7 +786,7 @@ mr_promise_pulse_window() { # <KEY>
|
|
|
785
786
|
return 0
|
|
786
787
|
}
|
|
787
788
|
|
|
788
|
-
|
|
789
|
+
mr_promise_task_model() { # <KEY>
|
|
789
790
|
local key="$1" d br
|
|
790
791
|
d="$(new_fixture promise-default-model)" || return 1
|
|
791
792
|
mkdir -p "$d/docs/team/tasks" "$d/openspec/specs/routes"
|
|
@@ -795,6 +796,7 @@ mr_promise_default_model() { # <KEY>
|
|
|
795
796
|
```
|
|
796
797
|
task: T1
|
|
797
798
|
agent: dev
|
|
799
|
+
category: routine
|
|
798
800
|
change: -
|
|
799
801
|
specs: routes#The fixture requirement
|
|
800
802
|
phase: apply
|
|
@@ -816,8 +818,11 @@ BRIEF
|
|
|
816
818
|
finding "promise($key):夹具建不出 worktree"; return 1
|
|
817
819
|
fi
|
|
818
820
|
rm -f "$d/.pi/team/state/dev.env"
|
|
819
|
-
mr_run "$d" config set
|
|
820
|
-
[ "$MR_RC" = "0" ] || { finding "promise($key
|
|
821
|
+
mr_run "$d" config set-task-model routine vendor/dm9 --yes
|
|
822
|
+
[ "$MR_RC" = "0" ] || { finding "promise($key):类别 upsert 失败"; return 1; }
|
|
823
|
+
grep -q 'result=ok .*key=TEAM_TASK_MODELS' "$d/.pi/team/state/config.log" || { finding "promise($key):类别编辑无审计"; return 1; }
|
|
824
|
+
mr_run "$d" config list --json
|
|
825
|
+
printf '%s' "$MR_OUT" | python3 -c 'import json,sys; d=json.load(sys.stdin); assert next(x for x in d["models"]["policy"]["categories"] if x["category"]=="routine")["model"]=="vendor/dm9"; assert "seats" not in d["models"]' || { finding "promise($key):JSON 未来策略不一致/伪造实际模型"; return 1; }
|
|
821
826
|
mr_run "$d" dispatch dev T1 docs/team/tasks/T1-anchor.md --print
|
|
822
827
|
if printf '%s' "$MR_OUT" | grep -q -- '--provider vendor --model dm9'; then
|
|
823
828
|
ok "promise($key):dispatch --print 渲染出的启动命令带着 --provider vendor --model dm9"
|
|
@@ -902,7 +907,8 @@ rc_brief() {
|
|
|
902
907
|
mkdir -p "$d/docs/team/tasks"
|
|
903
908
|
{
|
|
904
909
|
printf '# %s · fixture\n\n```\n' "$id"
|
|
905
|
-
|
|
910
|
+
local category=routine; case "$phase" in *explore*|*propose*) category=analysis ;; *verify*) category=verify ;; esac
|
|
911
|
+
printf 'task: %s\nagent: %s\ncategory: %s\nissue: -\n' "$id" "$agent" "$category"
|
|
906
912
|
[ -n "$br" ] && printf 'branch: %s\n' "$br"
|
|
907
913
|
printf 'change: %s\nspecs: -\nanchor: %s\nphase: %s\n' "$change" "$anchor" "$phase"
|
|
908
914
|
printf 'deltas: %s\ndeps: -\nstatus: todo\nbudget: -\n```\n\nbody\n' "$deltas"
|
|
@@ -1049,7 +1055,7 @@ mr_refusals() {
|
|
|
1049
1055
|
br="$(rc_canon "$d" P1)"; rc_wt "$d" dev "$br"
|
|
1050
1056
|
printf 'wip from OLD\n' > "$d/.worktrees/dev/wip.txt"
|
|
1051
1057
|
mkdir -p "$d/.pi/team/state"
|
|
1052
|
-
|
|
1058
|
+
routing_fixture_record "$d/.pi/team/state" dev OLD "$d/.worktrees/dev" "$d/docs/team/tasks/OLD-fixture.md" deepseek/deepseek-flash "routes-OLD" policy '' routine "$br"
|
|
1053
1059
|
rc_brief "$d" OLD - "none (infra) — fixture" - >/dev/null
|
|
1054
1060
|
RC_CMD=(dispatch dev P1 "$b" --print)
|
|
1055
1061
|
rc_case dirty-stash '有 1 个未提交改动.*属于上一个任务 OLD' '修法:git -C' 'apply:cmd' same clear
|
|
@@ -1156,7 +1162,7 @@ mr_refusals() {
|
|
|
1156
1162
|
b="$(rc_brief "$d" P1 - "none (infra) — fixture" -)"; RC_BRIEF="$b"
|
|
1157
1163
|
br="$(rc_canon "$d" P1)"; rc_wt "$d" dev "$br"
|
|
1158
1164
|
mkdir -p "$d/.pi/team/state"
|
|
1159
|
-
|
|
1165
|
+
routing_fixture_record "$d/.pi/team/state" dev OLD "$d/.worktrees/dev" "$d/docs/team/tasks/OLD-fixture.md" deepseek/deepseek-flash "routes-OLD" policy '' routine "$br"
|
|
1160
1166
|
RC_CMD=(dispatch dev P1 "$b" --print)
|
|
1161
1167
|
rc_case stack-force '还有一个没结束的任务' '修法:team dispatch' 'apply:cmd' route force
|
|
1162
1168
|
|
|
@@ -1169,7 +1175,7 @@ mr_refusals() {
|
|
|
1169
1175
|
b="$(rc_brief "$d" P1 - "none (infra) — fixture" -)"; RC_BRIEF="$b"
|
|
1170
1176
|
br_old="$(rc_canon "$d" OLD)"; rc_wt "$d" dev "$br_old"
|
|
1171
1177
|
mkdir -p "$d/.pi/team/state"
|
|
1172
|
-
|
|
1178
|
+
routing_fixture_record "$d/.pi/team/state" dev OLD "$d/.worktrees/dev" "$d/docs/team/tasks/OLD-fixture.md" deepseek/deepseek-flash "routes-OLD" policy '' routine "$br_old"
|
|
1173
1179
|
RC_CMD=(dispatch dev P1 "$b" --print)
|
|
1174
1180
|
out="$(rc_team "$d" "${RC_CMD[@]}")" || true
|
|
1175
1181
|
route="$(rc_route "$out" '修法:team resume') || true"
|
|
@@ -1244,8 +1250,11 @@ mr_refusals() {
|
|
|
1244
1250
|
enc="$(printf '%s' "$d/.worktrees/dev" | sed -e 's|^/||' -e 's|[/\\:]|-|g')"
|
|
1245
1251
|
mkdir -p "$d/.pi-agent/sessions/--$enc--"
|
|
1246
1252
|
printf '%s\n' "$(head -c 400 /dev/zero | tr '\0' 'x')" > "$d/.pi-agent/sessions/--$enc--/x_routes-refuse-session-dev.jsonl"
|
|
1253
|
+
routing_fixture_record "$d/.pi/team/state" dev P1 "$d/.worktrees/dev" "$b" deepseek/deepseek-flash routes-refuse-session-dev policy '' routine "$br"
|
|
1247
1254
|
RC_CMD=(dispatch dev P1 "$b" --print)
|
|
1248
1255
|
rc_case session-fresh '拒绝复用这个会话' '修法:team dispatch' 'apply:cmd' route proceed
|
|
1256
|
+
# Fresh now commits a different SID; restore overflow's own complete identity for the independent override probe.
|
|
1257
|
+
routing_fixture_record "$d/.pi/team/state" dev P1 "$d/.worktrees/dev" "$b" deepseek/deepseek-flash routes-refuse-session-dev policy '' routine "$br"
|
|
1249
1258
|
out="$(rc_team "$d" "${RC_CMD[@]}")" || true
|
|
1250
1259
|
route="$(printf '%s\n' "$out" | grep -aF '修法:team dispatch' | grep -aF -- '--allow-overflow' | head -1 | sed 's/.*修法://; s/(.*//' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' || true)"
|
|
1251
1260
|
if [ -z "$route" ]; then
|
|
@@ -1386,22 +1395,34 @@ mr_flips() {
|
|
|
1386
1395
|
else
|
|
1387
1396
|
finding "判据卫生:证据里混进了正文的用法行标记($ev)"
|
|
1388
1397
|
fi
|
|
1389
|
-
# ①
|
|
1398
|
+
# ① 场地缺陷:重新印出已退休的 add-agent --model,并让解析器明确拒绝它。
|
|
1390
1399
|
s="$(mr_scratch_tree flip-model)"
|
|
1400
|
+
python3 - "$s/skills/teamsmith/scripts/lib/cmd-project.sh" <<'PY'
|
|
1401
|
+
import sys
|
|
1402
|
+
p = sys.argv[1]
|
|
1403
|
+
s = open(p, encoding='utf-8').read()
|
|
1404
|
+
old = 'add-agent <a> [--register] [--create]'
|
|
1405
|
+
new = 'add-agent <a> [--register] [--model m] [--create]'
|
|
1406
|
+
assert s.count(old) == 1, 'add-agent help route must match exactly once'
|
|
1407
|
+
open(p, 'w', encoding='utf-8').write(s.replace(old, new, 1))
|
|
1408
|
+
PY
|
|
1391
1409
|
python3 - "$s/skills/teamsmith/scripts/lib/cmd-agents.sh" <<'PY'
|
|
1392
1410
|
import sys
|
|
1393
1411
|
p = sys.argv[1]
|
|
1394
1412
|
s = open(p, encoding='utf-8').read()
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1413
|
+
old = "--model|--model=*) team_err 'add-agent --model retired;使用 task category 和 config set-task-model'; return 2 ;;"
|
|
1414
|
+
new = '--model|--model=*) team_usage_die "add-agent: 未知参数 --model" ;;'
|
|
1415
|
+
assert s.count(old) == 1, 'retired model branch must match exactly once'
|
|
1416
|
+
s = s.replace(old, new, 1)
|
|
1398
1417
|
open(p, 'w', encoding='utf-8').write(s)
|
|
1399
1418
|
PY
|
|
1400
|
-
# 落地证明(P202
|
|
1419
|
+
# 落地证明(P202):两种 --model 拼法如今在同一退休分支,仍检查原分支消失、新分支出现与字节变化。
|
|
1401
1420
|
if mr_flip_require "翻转①" "$s" scripts/lib/cmd-agents.sh \
|
|
1402
|
-
|
|
1403
|
-
'--model) team_usage_die "add-agent: 未知参数 --model" ;;'
|
|
1404
|
-
|
|
1421
|
+
"--model|--model=*) team_err 'add-agent --model retired;使用 task category 和 config set-task-model'; return 2 ;;" \
|
|
1422
|
+
'--model|--model=*) team_usage_die "add-agent: 未知参数 --model" ;;' &&
|
|
1423
|
+
mr_flip_require "翻转① help" "$s" scripts/lib/cmd-project.sh \
|
|
1424
|
+
'add-agent <a> [--register] [--create]' \
|
|
1425
|
+
'add-agent <a> [--register] [--model m] [--create]'; then
|
|
1405
1426
|
mr_flip_run "$s" walk
|
|
1406
1427
|
if [ "$MR_FLIP_RC" != "0" ] && mr_flip_log_has 'add-agent --model'; then
|
|
1407
1428
|
ok "翻转①:help 打印 --model 而解析器拒绝 → walk 红并点名 add-agent --model"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
6b · 容量守卫矩阵(zram / 磁盘 swap 分账) 1.00 60 1.00 10.6/?/14.0/10.5 1.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
47
47
|
6c · 模型并发限额(含通配) 0.07 60 0.07 10.6/?/14.0/10.5 0.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
48
48
|
6d · CEP 实测反馈(board 额外列 / merge 冲突列表 / 待复验启发式 / 翻转证据) 3.00 60 1.08 10.6/?/14.0/10.5 3.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
49
|
-
6e ·
|
|
49
|
+
6e · 外部项目实测反馈(render & / GitLab 头 / pi PATH / 非任务报告) 2.00 60 2.00 10.6/?/14.0/10.5 2.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
50
50
|
6f · agent adapter(任意 TUI agent):渲染 / 占位符 / 文档契约 / 降级 19.00 76 19.00 10.6/?/14.0/10.5 18.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
51
51
|
6g · 非 Pi agent 端到端(假 agent,完全没有 Pi) 3.00 60 2.13 10.6/?/14.0/10.5 3.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
52
52
|
6h · 派单:会话规模 vs 模型窗口(M4.3 A)+ 启动证据(M4.3 B) 18.00 72 18.00 10.6/?/14.0/10.5 17.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
26 · 面板(pulse-tui-panel:模式 / 布局降级 / 净化 / 队列 / 运行时 / 隔离) 82.00 328 82.00 10.6/?/14.0/10.5 82.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
106
106
|
27 · 面板异步数据层(pulse-console B1:块协议 / 块隔离 / 快速读者等价 / 装配时间) 11.00 60 10.00 10.6/?/14.0/10.5 11.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
107
107
|
28 · 控制台表面(pulse-console B3:i18n 键集合 / 调色板对比度 / 四档快照 / refresh_s / panel.conf 边界) 20.00 80 20.00 10.6/?/14.0/10.5 17.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
108
|
-
29 ·
|
|
108
|
+
29 · 派单模型解析:映射管新选择,已提交的记录管续跑(M14) 2.26 60 2.26 10.6/?/14.0/10.5 2.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
109
109
|
30 · 代号必须带名字(M16) 2.00 60 2.00 10.6/?/14.0/10.5 2.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
110
110
|
31 · tmux 接触面:隔离 lint + 容器跑法(M28) 15.00 60 15.00 10.6/?/14.0/10.5 5.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
111
111
|
31c · tmux 运行时闸门:按目标判定 + argv token + 注入(M36/M67) 5.00 60 5.00 10.6/?/14.0/10.5 4.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
112
112
|
32 · 身份 = 运行时目录(M40:继承的 TEAM_* 不许静默赢过 cwd) 9.00 60 9.00 10.6/?/14.0/10.5 8.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
113
113
|
33 · 项目契约的读写面(P22/B1:team config 单一写入口 + schema) 41.00 164 38.00 10.6/?/14.0/10.5 41.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
114
|
-
12e · change 视图(P24/B1:严格头部读取 + 就绪判据)
|
|
114
|
+
12e · change 视图(P24/B1:严格头部读取 + 就绪判据) 9.00 60 9.00 10.6/?/14.0/10.5/3.6/2.4 4.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60;P244(2026-10-13):§12e 追加 squash 合并夹具(真 git 造四条形状)后 host FAST=7s(loadavg1 3.6/32 核;容器列保留历史值、未重测)→ host 3.00→7.00、band 4.00→7.00、budget 60 不变;返修轮次 1 再加奇特路径夹具(4 类名字 + 换行、真 git 分支)后 host FAST=9s(loadavg1 2.4/32 核)→ host 7.00→9.00、band 7.00→9.00、budget 60 不变
|
|
115
115
|
12f · change 归组(P45/B2:digest 的 [6] 段 + 面板 token) 10.00 60 9.00 10.6/?/14.0/10.5 10.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
116
116
|
12g · 派单锚点(P24/B3:一个 change id + change-less 的锚) 6.00 60 6.00 10.6/?/14.0/10.5 6.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
117
117
|
12h · delta 单写者(P24/B4) 11.00 60 11.00 10.6/?/14.0/10.5 11.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
37 · 读路径性能:根一次解析 + 单进程扫描(M50) 17.00 68 17.00 10.6/?/14.0/10.5 17.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
125
125
|
38 · 设置选项(M55:choices 读 / 一致性走查 / 选择器夹具) 312.00 1248 312.00 10.6/?/14.0/10.5 309.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
126
126
|
39 · npm CLI 与项目 skill 安装(P40:包装器 / 冲突表 / doctor 行) 39.00 156 39.00 10.6/?/14.0/10.5 35.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
127
|
-
40 · 临时根纪律(P53:TMPDIR / owned 家族 / 泄漏断言 / lint)
|
|
127
|
+
40 · 临时根纪律(P53:TMPDIR / owned 家族 / 泄漏断言 / lint) 20.00 80 13.00 3.3 20.00 3.6 - P223 追测:§40 加两个嵌套探针(真机器锁 re-exec 的 --keep 守卫)→ host 选段(FAST)=13s(loadavg1 3.3) / 容器全量=20s(loadavg1 3.6),band 取最差;旧的 2.00 来自 P70 实测(host=[P56fast,P56full,FAST2,full1] container=[ctr1])· ×4 · floor 60
|
|
128
128
|
41 · pane 留存:死 pane 是座位状况,不是活座位(P55 / agent-pane-survivability) 47.00 188 46.00 10.6/?/14.0/10.5 47.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
129
129
|
42 · P67 输入框判据:0.87.0 的边框邻行按内容读(光标锚定 + 状态行形状才排除) 6.00 60 6.00 10.6/?/14.0/10.5 5.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
130
130
|
43 · P75 status 尾部现场:尾空行裁剪(P65 的 F1) 2.00 60 2.00 10.6/?/14.0/10.5 2.00 12.9 - P70 实测:host=[P56fast,P56full,FAST2,full1] container=[ctr1] 取最差 · ×4 · floor 60
|
|
@@ -147,4 +147,8 @@
|
|
|
147
147
|
55 · meeting-liveness:未读 / 过期 / 队列 / 标识(P139,纯逻辑) 30 120 30 -/-/-/- - - - P139 实测(占位,出数后改):host=[P139 FAST §54] container=[未测] ci=[未测] · ×4 · floor 60
|
|
148
148
|
56 · meeting-liveness 真 tmux:敲门 / 排水 / 每方窗口(P139) 60 240 60 -/-/-/- - - - P139 实测(占位,出数后改):host=[P139 full §55] container=[未测] ci=[未测] · ×4 · floor 60
|
|
149
149
|
59 · pulse-nudge-key:叫醒键按类别集合(P174) 8 60 - - 8 -/-/-/- - P174 实测(container=teamsmith-gate:local 跑 smoke --select 59,段用时 7–8s;纯逻辑四档 + observers 私有仓库真 CLI)· ×4 · floor 60
|
|
150
|
-
60 · 账本禁令:家目录 / 私有网段 / 用户名 / 他项目名(P212 · D94)
|
|
150
|
+
60 · 账本禁令:家目录 / 私有网段 / 用户名 / 他项目名(P212 · D94) 10 60 10 13.6/12.7/13.2 1 - - P212 实测(2026-10-04,teamsmith-gate:local):host=[全量 FAST §60 = 1s(17:02,tip 98eb798b)+ --select 60 = 1s(16:16)] container=[全量 FAST §60 = 0s(16:40,6165708c)与 1s(17:1x,98eb798b)取最差] ci=[未测] · P239 实测(2026-10-13,host,loadavg1 13.6/32 核):host=[--select 60 = 10s = 新增 P239 归属与红侧夹具 8s(两次 --check + 三次 --paths)+ P212 自检/影子/真实扫描 2s] · ×4 · floor 60
|
|
151
|
+
61 · 任务类别模型路由:分组前门(P228 · task-model-routing) 513 2052 513 13.2/13.4/15.6 - - - P238 实测(2026-10-13,tip a3b3f71 之前一笔,选段 61,61b):全量档 13 组,段内 ✓ 用时 513s(FAST 档 12 组 164s,只作参考);取全量档 · ×4 · floor 60
|
|
152
|
+
61b · 任务类别模型路由:翻转变异自检(P228 · task-model-routing) 5000 20000 4900 16.3/?/? 5000 3.4/4.9/6.2 - P238 实测(2026-10-13):`task-model-routing.sh --flip` 独立跑 4883s(loadavg1 16.3,同机另有别的席位在跑)+ 段内包装 ≈ 4900s;V28 独立复验(2026-10-13,容器 localhost/teamsmith-gate:local,`--select 61b --keep`,同机 loadavg 3.4→4.9)实测 4946s(✓1 ✗0)—— 已越过 4900 的实测带,故按 V28 的建议抬到 ≥5000s(P242 顺手抬,本表在本任务写集合内);22 条臂各跑一遍分组,所以比分组的全量还长;取本轮 · ×4 · floor 60
|
|
153
|
+
62 · 关键回复存储与 CLI(change: pulse-key-replies · P234) 129 516 129 -/19/14.0/12.0 - - - P234 apply 实测(2026-10-13):host=[段 61 在 smoke --select 61,62 里 129s(load 14,168 条断言)] band=200(实测上取整)· ×4 = 800 · floor 60 · PM 修正(2026-10-14):band_s 必须等于 max(host/container/ci)(守卫规则),作者原写 200(实测上取整)被判不符;按实测 host 129 记,budget=max(129×4,60)=516
|
|
154
|
+
63 · 关键回复面板第 5 页(change: pulse-key-replies · P234) 324 1296 324 - - - - P234 apply 实测(2026-10-13):段内只跑读数面快组 + 真 pty 全套;host=[段 62 = 324s(2026-10-13 10:07 的选段运行,快组 + pty 全套;负载高时全套四组曾到 900s 超时,故 62 只跑快组)] band=420(324s 上取整含余量)· ×4 = 1680 上取整 1700 · floor 60 · PM 修正(2026-10-14):三个实测列全「-」会被守卫判「没有实测基础」;按作者报告 §10:07 那次 324s 记 host_s=324 → band=324、budget=max(324×4,60)=1296(PM 自己的容器合并跑测到 194s,取保守的 324)
|
|
@@ -9,10 +9,16 @@
|
|
|
9
9
|
# basis 这条声明依据什么(段内点名的行 / 段驱动的夹具或命令),供复验核对
|
|
10
10
|
#
|
|
11
11
|
# exempt: docs/*
|
|
12
|
-
# —— 豁免类:团队账本(任务书 / 报告 / 复验记录 / 看板 /
|
|
13
|
-
#
|
|
12
|
+
# —— 豁免类:团队账本(任务书 / 报告 / 复验记录 / 看板 / 线程)。patterns 列**没有任何行可以声明它**
|
|
13
|
+
# (声明即 --check ④ 红);只给 docs/* 路径且**没有被账本归属覆盖**时 decision=NONE。
|
|
14
|
+
# 例外只有一条(P239):`docs/team/**` 归下面那行 ledger-scan(账本文本的改动要选中账本禁令段)。
|
|
14
15
|
# prologue: 0 0b 0c 0d
|
|
15
16
|
# —— 前导段:建 $TMP/$REPO/$FAKE 与静态检查;任何选段都先跑它们。
|
|
17
|
+
# ledger-scan: 60 docs/team/*
|
|
18
|
+
# —— 账本归属(P239):`docs/team/**` 的路径归这一段(D94 禁令的承载段)。为什么写在这里而不是
|
|
19
|
+
# patterns 列:豁免类不许任何行声明,patterns 列的归属会与 ④ 相矛盾;账本归属单独写在表头这一行,
|
|
20
|
+
# 命中它的路径算「有归属」(不再落到 NONE)。删掉这行或它的模式 → 账本路径回到豁免类(NONE),
|
|
21
|
+
# --check ⑦ 会对「缺头 / 指向未知段 / 没有模式 / 模式没盖住账本样例」逐条判红。
|
|
16
22
|
#
|
|
17
23
|
# 兜底:一条路径被任何行的 patterns 覆盖 → RUN;不在豁免类、又没有行覆盖 → FULL(跑全套,多跑总是安全)。
|
|
18
24
|
0 0 · 临时仓库 README.md - 段内点名 1 条真实路径 token
|
|
@@ -38,12 +44,12 @@
|
|
|
38
44
|
6b 6b · 容量守卫矩阵(zram / 磁盘 swap 分账) skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/team 4,3b 段内调用 team dispatch/ps;P117/V2 逐键审计:补 {3b} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
39
45
|
6c 6c · 模型并发限额(含通配) skills/teamsmith/scripts/lib/common.sh - 直接 source common.sh(team_model_limit)
|
|
40
46
|
6d 6d · CEP 实测反馈(board 额外列 / merge 冲突列表 / 待复验启发式 / 翻转证据) skills/teamsmith/references/workflows.md skills/teamsmith/references/protocol.md skills/teamsmith/templates/task.md.tmpl skills/teamsmith/templates/report.md.tmpl skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/team 6 段内点名 4 条真实路径 token;段内调用 team board/digest/merge/pr/task;P117/V2 逐键审计:补 {6} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
41
|
-
6e 6e ·
|
|
47
|
+
6e 6e · 外部项目实测反馈(render & / GitLab 头 / pi PATH / 非任务报告) skills/teamsmith/scripts/team skills/teamsmith/references/protocol.md skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-watch.sh 4,6 段内点名 4 条真实路径 token;段内调用 team digest/dispatch/resume;P117/V2 逐键审计:补 {6} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
42
48
|
6f 6f · agent adapter(任意 TUI agent):渲染 / 占位符 / 文档契约 / 降级 skills/teamsmith/references/agent-adapters.md skills/teamsmith/scripts/monitor.mjs skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/team 5,6 段内点名 14 条真实路径 token;段内调用 team dispatch/doctor/paths|needs:6(6f 复用 6 写的 $TMP/print.log,实测);P117/V2 显式声明 5(6 的隐藏前提,经 3b→5 传递)
|
|
43
49
|
6g 6g · 非 Pi agent 端到端(假 agent,完全没有 Pi) skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team - 段内调用 team dispatch/monitor/pulse
|
|
44
50
|
6h 6h · 派单:会话规模 vs 模型窗口(M4.3 A)+ 启动证据(M4.3 B) skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/team 4,3b 段内调用 team dispatch/ps/roster;P117/V2 逐键审计:补 {3b} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
45
51
|
6i 6i · PM adapter(任意 TUI agent 当 PM):默认不变 / 模板 / 存活 / 真窗口 skills/teamsmith/scripts/shim skills/teamsmith/scripts/shim/* skills/teamsmith/extension/team-bg.ts skills/teamsmith/extension/team-inbox-watch.ts skills/teamsmith/references/agent-adapters.md skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-watch.sh 5,6 段内点名 9 条真实路径 token;段内调用 team dispatch/inbox/notify/paths/ps/pulse/up/watch|needs:6(6i 对默认命令的期望来自 6 的派单现场);P117/V2 显式声明 5(6 的隐藏前提,经 3b→5 传递)
|
|
46
|
-
6j 6j · worker adapter:裸名字解析 + agent 没跑起来必须响亮失败(M8.2) skills/teamsmith/references/troubleshooting.md skills
|
|
52
|
+
6j 6j · worker adapter:裸名字解析 + agent 没跑起来必须响亮失败(M8.2) skills/teamsmith/references/troubleshooting.md skills openspec/specs/delivery-guard/spec.md skills/teamsmith/scripts/shim skills/teamsmith/scripts/shim/* skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team 4,5,6f,6i 段内点名 5 条真实路径 token;段内调用 team dispatch/pulse|needs:6i(login_shell_hides 定义在 6i 段正文里,实测);P117/V2 显式声明 5(6 的隐藏前提,经 3b→5 传递);P238 坑 3:删掉 `skills/*` 跨深通配(它把 tests/ 下任何新文件都算成本段的驱动面,而本段只读上面点名的那些路径)
|
|
47
53
|
6k 6k · worker 存活:看 pane 进程树,不看 pane_current_command(M37) skills/teamsmith/scripts/lib/common.sh - 直接调库函数判活(team_pm_alive/agent_alive)+ 真窗口夹具
|
|
48
54
|
7 7 · notify / inbox / digest skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team 2 段内调用 team digest/inbox/notify/say/standby;P117/V2 逐键审计:补 {2} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
49
55
|
7b 7b · digest 警告未入账的复验/报告记录(M31) README.md skills/teamsmith/scripts skills/teamsmith/scripts/* skills/teamsmith/templates skills/teamsmith/templates/* skills/teamsmith/references skills/teamsmith/references/* skills/teamsmith/SKILL.md skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/team - 段内点名 7 条真实路径 token;段内调用 team board/digest/init/paths
|
|
@@ -72,11 +78,11 @@
|
|
|
72
78
|
12 12 · roster / status / ps skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team 4 段内调用 team digest/paths/ps/pulse/roster/up
|
|
73
79
|
13 13 · notify 扩展(去重 + 只在 worktree 触发) skills/teamsmith/extension/team-notify.ts 2 段内点名 1 条真实路径 token;P117/V2 逐键审计:补 {2} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
74
80
|
13b 13b · 通知只代表「回合结束」(M4.3 E:内部生命周期不得被广播成交付) skills/teamsmith/extension/team-notify.ts 2 段内点名 1 条真实路径 token;P117/V2 逐键审计:补 {2} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
75
|
-
13c 13c · 团队后台车道(M27/M30):拉起链注入 / 收割契约 / 账本 / worktree 侧 skills/teamsmith/extension/team-bg.ts skills/teamsmith/tests/team-bg-harness.mjs 6i,6f
|
|
81
|
+
13c 13c · 团队后台车道(M27/M30):拉起链注入 / 收割契约 / 账本 / worktree 侧 skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/extension/team-bg.ts skills/teamsmith/tests/team-bg-harness.mjs skills/teamsmith/tests/bg-ledger.sh skills/teamsmith/templates/AGENTS.section.md.tmpl skills/teamsmith/templates/pm-prompt.md.tmpl skills/teamsmith/references/protocol.md skills/teamsmith/references/workflows.md 6i,6f P237 §4.3:本段折叠 A 刀的 wording/ledger 两组(bg-ledger 入口),并按 long-job-suspend 的 dispatch delta 四条场景钉住提示词 / AGENTS 模板 / protocol / workflows §E2 与 PM 模板的三态口径——改这些面都要重跑本段
|
|
76
82
|
12b 12b · 延后投递与草稿入口(delivery-guard:守卫 / 队列 / 排水 / 草稿) skills/teamsmith/tests/guard-matrix.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-draft.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-outbox.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/outbox.sh 5 段内点名 1 条真实路径 token;段内调用 team digest/draft/notify/outbox/paths/say/status/watch;另声明:该段驱动/断言 outbox 投递路径|needs:5(say 要名册里有 dev,12b-c 实测)
|
|
77
83
|
12b-h0 12b-h0 · M24 输入框判据:真实 pi 的两条折叠路径 skills/teamsmith/scripts/lib/outbox.sh - 另声明:该段驱动/断言 outbox 投递路径
|
|
78
84
|
12b-h0b 12b-h0b · M45 输入框判据:pi 的更新横幅(整行 ─ 与框边框同形等宽) skills/teamsmith/tests/frames skills/teamsmith/tests/frames/* skills/teamsmith/scripts/lib/common.sh skills/teamsmith/scripts/lib/outbox.sh - 段内点名 3 条真实路径 token
|
|
79
|
-
12b-h0d 12b-h0d · P80 下边框判据:最低的合格规则行(草稿自己的框线留在框内) skills/teamsmith/tests/frames skills/teamsmith/tests/frames/* skills/teamsmith/scripts/lib/common.sh skills/teamsmith/scripts/lib/outbox.sh skills/teamsmith/tests/lib/box-judge.sh skills/teamsmith/tests/pm-box-real.sh skills/teamsmith/tests skills/teamsmith/tests/* - 段内点名 8 条真实路径 token
|
|
85
|
+
12b-h0d 12b-h0d · P80 下边框判据:最低的合格规则行(草稿自己的框线留在框内) skills/teamsmith/tests/frames skills/teamsmith/tests/frames/* skills/teamsmith/scripts/lib/common.sh skills/teamsmith/scripts/lib/outbox.sh skills/teamsmith/tests/lib/box-judge.sh skills/teamsmith/tests/pm-box-real.sh skills/teamsmith/tests skills/teamsmith/tests/* - 段内点名 8 条真实路径 token;P238 坑 3 复核:保留 `skills/teamsmith/tests/*` —— 段内用 `grep -rln … "$SKILL_DIR/tests"` 递归扫整棵 tests 树找第二份几何实现,任何新增测试文件都可能在扫描面内
|
|
80
86
|
12b-h0c 12b-h0c · P59 输入框判据:覆盖层(Pi 的项目信任弹窗)≠ 非空输入框 skills/teamsmith/tests/pm-box-real.sh skills/teamsmith/tests/frames/pi-0.87.0-project-trust-prompt.txt skills/teamsmith/tests/fake-tui.py skills/teamsmith/extension/team-notify.ts skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-draft.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-outbox.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/outbox.sh 12b 段内点名 6 条真实路径 token;段内调用 team digest/draft/notify/outbox/say/watch;另声明:该段驱动/断言 outbox 投递路径|needs:12b(12b-i 复用 12b 的 outbox 夹具现场,实测)
|
|
81
87
|
12b-pi 12b-pi · M30 投递换道:pi 通道零 tmux 粘贴(收件箱监视唤醒) skills/teamsmith/extension/team-inbox-watch.ts skills/teamsmith/tests/team-inbox-watch-harness.mjs skills/teamsmith/scripts/lib/cmd-draft.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/outbox.sh 6i,12b 段内点名 4 条真实路径 token;段内调用 team draft/notify/say;另声明:该段驱动/断言 outbox 投递路径|needs:12b(12b-pi 的 spool/投递现场接在 12b 之后,实测)
|
|
82
88
|
12b-pi2 12b-pi2 · M46 投递降级可见(skip 留痕)与慢路径自愈(残留/目标消失) skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/lib/cmd-outbox.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/outbox.sh 12b-pi 段内调用 team doctor/outbox/say/status;另声明:该段驱动/断言 outbox 投递路径
|
|
@@ -86,10 +92,10 @@
|
|
|
86
92
|
54 54 · 派单摩擦:一次拒绝列全 + 覆盖审计 + 席位预提示(P140) skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/common.sh skills/teamsmith/scripts/team - 段内点名 2 条真实路径 token($SKILL_DIR/scripts/lib/common.sh、$SKILL_DIR/scripts/team);自造 scratch 项目 + 会签启动证据的录制 shim 驱动 team init/board/dispatch(R4/R5/R6 的七种形状)
|
|
87
93
|
14d 14d · P70 本套自述对账(段落账目 + 无误判) skills/teamsmith/tests/smoke.sh skills/teamsmith/tests/lib/section-guard.sh - P70 报文里的行;P98 F2 补齐——对账读的是本套 sections.log/sections.tsv,收口行是 P70×P98 的统一行(用时/ticks + 增量)
|
|
88
94
|
17 17 · 迁移指南与 doctor 指引(M7.1) skills/teamsmith/references/migration.md skills/teamsmith/SKILL.md skills/teamsmith-init/references/bootstrap.md skills/teamsmith/references/config.md skills/teamsmith/references skills/teamsmith/references/* SCOPE.md skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/lib/cmd-update.sh skills/teamsmith/scripts/team 15b,2 段内点名 10 条真实路径 token;段内调用 team doctor/init/mark-loaded;17 复用 15b 造的假 settings/openspec/spec 树(套件注释与门禁实测都钉住)
|
|
89
|
-
18 18 · 英文正文不变量与安装器唯一入口(M7.3) skills skills
|
|
95
|
+
18 18 · 英文正文不变量与安装器唯一入口(M7.3) skills skills/teamsmith/references skills/teamsmith/references/* SCOPE.md skills/teamsmith skills/teamsmith-init/references skills/teamsmith-init/references/* skills/teamsmith/references/protocol.md skills/teamsmith-init/references/bootstrap.md install.sh skills/teamsmith-init skills/teamsmith/tests/lib/checkout-shape.sh - 段内点名 33 条真实路径 token;产品面检出里 SCOPE.md 一条按前提 SKIP(P148);P238 坑 3:删掉 `skills/*`/`skills/teamsmith/*`/`skills/teamsmith-init/*`(M73 的树清单只到 `find skills -mindepth 1 -maxdepth 3`,深文件不在它的判定面;新增一级目录会走兜底 FULL)
|
|
90
96
|
18b 18b · 拆分不变量(P16):description 路由 / init 无代码 / 指纹范围 / 零改动 skills/teamsmith/SKILL.md skills/teamsmith-init/SKILL.md skills/teamsmith/scripts skills/teamsmith/scripts/* skills/teamsmith/extension skills/teamsmith/extension/* skills/teamsmith/templates skills/teamsmith/templates/* skills/teamsmith/extension/team-notify.ts skills/teamsmith/templates/config.sh.tmpl skills/teamsmith/templates/AGENTS.section.md.tmpl skills/teamsmith/templates/pm-prompt.md.tmpl README.md skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/team - 段内点名 17 条真实路径 token;段内调用 team add-agent/dispatch/init/task
|
|
91
97
|
18c 18c · 公开契约的自洽:账本引用须声明 + 记录 id 须带键(P150) openspec/specs openspec/specs/* openspec/changes openspec/changes/* AGENTS.md SCOPE.md skills/teamsmith/tests/spec-refs.sh skills/teamsmith/tests/spec-ledger-refs.tsv - 段内点名 4 条真实路径 token(走查脚本 / 声明表 / AGENTS.md / SCOPE.md —— 后两条是检出形状判据要看的内部面);走查读 openspec/specs 与未归档 change 的 delta,只写 owned tmp 副本(P150)
|
|
92
|
-
19 19 · OpenSpec 五阶段流水线:每阶段有所有者与门禁(M9.1) skills
|
|
98
|
+
19 19 · OpenSpec 五阶段流水线:每阶段有所有者与门禁(M9.1) skills .pi/skills .pi/skills/* skills/teamsmith/SKILL.md skills/teamsmith/tests/lib/checkout-shape.sh skills/teamsmith/references/openspec.md skills/teamsmith/references/workflows.md skills/teamsmith/templates/AGENTS.section.md.tmpl skills/teamsmith/templates/PROTOCOL.md.tmpl skills/teamsmith/templates/task.md.tmpl - 段内点名 4 条真实路径 token;产品面检出里十条相位文件按前提 SKIP(P148);P238 坑 3:`skills/*` 删掉,改成 `os_pipeline_hits` 真读的文件(references/openspec.md、references/workflows.md、三份模板)
|
|
93
99
|
20 20 · done 证据的阶段感知(M9.2) openspec/changes/archive openspec/changes/archive/* skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/team 2 段内点名 1 条真实路径 token;段内调用 team board;P117/V2 逐键审计:补 {2} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
94
100
|
21 21 · 待复验清单不得越过看板决定(M9.4) skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/team 2 段内调用 team board/digest/status;P117/V2 逐键审计:补 {2} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
95
101
|
22 22 · 派单不许叠任务(M9.3 / D16) skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/team 2 段内调用 team board;P117/V2 逐键审计:补 {2} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
@@ -98,8 +104,8 @@
|
|
|
98
104
|
25 25 · 唤醒计数 = digest 的可行动列表(M9.8) README.md skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team - 段内点名 3 条真实路径 token;段内调用 team board/digest/init/notify/paths/watch
|
|
99
105
|
26 26 · 面板(pulse-tui-panel:模式 / 布局降级 / 净化 / 队列 / 运行时 / 隔离) README.md skills/teamsmith/scripts skills/teamsmith/scripts/* skills/teamsmith/scripts/panel/package.json skills/teamsmith/scripts/panel/panel.js skills/teamsmith/scripts/panel skills/teamsmith/scripts/panel/* skills/teamsmith/scripts/monitor.mjs skills/teamsmith/references/config.md skills/teamsmith/references/troubleshooting.md skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/lib/outbox.sh 2 段内点名 24 条真实路径 token;段内调用 team board/doctor/init/monitor/paths/standby;另声明:该段驱动/断言 outbox 投递路径|needs:2(26-k 降级后 doctor 需要已初始化的项目,实测)
|
|
100
106
|
27 27 · 面板异步数据层(pulse-console B1:块协议 / 块隔离 / 快速读者等价 / 装配时间) README.md skills/teamsmith/scripts/panel/src/data.ts skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/outbox.sh - 段内点名 3 条真实路径 token;段内调用 team board/init/monitor;另声明:该段驱动/断言 outbox 投递路径
|
|
101
|
-
28 28 · 控制台表面(pulse-console B3:i18n 键集合 / 调色板对比度 / 四档快照 / refresh_s / panel.conf 边界) skills/teamsmith/tests skills/teamsmith/tests
|
|
102
|
-
29 29 ·
|
|
107
|
+
28 28 · 控制台表面(pulse-console B3:i18n 键集合 / 调色板对比度 / 四档快照 / refresh_s / panel.conf 边界) skills/teamsmith/tests skills/teamsmith/tests/panel-strings.mjs skills/teamsmith/tests/panel-contrast.mjs skills/teamsmith/tests/panel-snapshots.sh skills/teamsmith/tests/panel-b3-stub.sh skills/teamsmith/scripts/panel/panel.js skills/teamsmith/scripts/panel/src skills/teamsmith/scripts/panel/src/* skills/teamsmith/scripts/lib/cmd-config.sh skills/teamsmith/references/config.md openspec/specs openspec/specs/* skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/team 18,26,27 段内点名 8 条真实路径 token;段内调用 team monitor;P117/V2 实测:p10_py 定义在 26 段正文里(--select 28 的唯一红是 28-d 读不到它;补 26 后 ✓322 ✗0);P238 坑 3:`skills/teamsmith/tests/*` 换成它真驱动的四份夹具(panel-strings.mjs / panel-contrast.mjs / panel-snapshots.sh / panel-b3-stub.sh),不再把整棵 tests 树算进来
|
|
108
|
+
29 29 · 派单模型解析:映射管新选择,已提交的记录管续跑(M14) README.md skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/team - 段内点名 1 条真实路径 token;段内调用 team add-agent/dispatch/init/paths/ps/roster/task
|
|
103
109
|
30 30 · 代号必须带名字(M16) README.md skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/team - 段内点名 1 条真实路径 token;段内调用 team board/digest/init/paths/roster/status
|
|
104
110
|
31 31 · tmux 接触面:隔离 lint + 容器跑法(M28) skills/teamsmith/tests/tmux-lint.pl skills/teamsmith/tests/container-tmux.sh skills/teamsmith/tests/pm-box-real.sh skills/teamsmith/tests/tmux-lint-legacy.txt - 段内点名 4 条真实路径 token
|
|
105
111
|
31c 31c · tmux 运行时闸门:按目标判定 + argv token + 注入(M36/M67) skills/teamsmith/scripts/shim skills/teamsmith/scripts/shim/* skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/lib/tmux-argv.sh 11b,31,6i 段内点名 3 条真实路径 token;段内调用 team dispatch/paths/up;P188:分类抽到 scripts/lib/tmux-argv.sh,本段的 shim mutant 现在是一棵树(要拷共享分类器)
|
|
@@ -117,9 +123,9 @@
|
|
|
117
123
|
35 35 · 门禁只判正确性:性能判定守卫 + 旋钮完整性(M58 · perf-suite-split) skills/teamsmith/tests/gate-guard.sh skills/teamsmith/tests/panel-knobs.sh - 段内点名 5 条真实路径 token
|
|
118
124
|
36 36 · 选段与分段账本自检(P98 · gate-runtime-budget) skills/teamsmith/tests/smoke.sh skills/teamsmith/tests/section-select.sh skills/teamsmith/tests/section-paths.tsv skills/teamsmith/scripts/lib/outbox.sh skills/teamsmith/tests/checkout-shape-probe.sh skills/teamsmith/tests/coverage-inventory.sh skills/teamsmith/tests/lib/checkout-shape.sh - 段内点名真实路径 token(选择器/表/smoke.sh/outbox.sh 样例/P148 探针与覆盖清单器);驱动 section-select.sh --check(六个腐烂方向 + P148 前提跳过转发)与嵌套 smoke(--select/NONE/账本);P148 探针含形状边界、部分树红、旧断言压成跳过的覆盖比对。嵌套固定用 --select(用 --paths 会因自己命中 36 行而自递归)
|
|
119
125
|
37 37 · 读路径性能:根一次解析 + 单进程扫描(M50) README.md skills/teamsmith/scripts/lib/cmd-docs.sh skills/teamsmith/scripts/lib/cmd-status.sh skills/teamsmith/scripts/lib/cmd-project.sh skills/teamsmith/scripts/team - 段内点名 1 条真实路径 token;段内调用 team board/digest/init/paths/status
|
|
120
|
-
38 38 · 设置选项(M55:choices 读 / 一致性走查 / 选择器夹具) skills/teamsmith/tests/panel-choices.sh skills/teamsmith/tests/panel-p21.sh skills/teamsmith/tests/lib/pty-wait.sh skills/teamsmith/scripts/panel/src/App.tsx skills/teamsmith/scripts/panel/src skills/teamsmith/scripts/panel/src/* skills/teamsmith/scripts/lib/cmd-config.sh skills/teamsmith/tests/load-experiment.sh skills/teamsmith skills/teamsmith
|
|
126
|
+
38 38 · 设置选项(M55:choices 读 / 一致性走查 / 选择器夹具) skills/teamsmith/tests/panel-choices.sh skills/teamsmith/tests/panel-p21.sh skills/teamsmith/tests/lib/pty-wait.sh skills/teamsmith/scripts/panel/src/App.tsx skills/teamsmith/scripts/panel/src skills/teamsmith/scripts/panel/src/* skills/teamsmith/scripts/lib/cmd-config.sh skills/teamsmith/tests/load-experiment.sh skills/teamsmith/tests/panel-strings.mjs skills/teamsmith 28 段内点名 23 条真实路径 token;P238 坑 3:删掉 `skills/teamsmith/*` 跨深通配(本段真读的是上面这些文件);P38E 腿还读 28 段的 `$P28_TESTS/panel-strings.mjs`,已登记
|
|
121
127
|
39 39 · npm CLI 与项目 skill 安装(P40:包装器 / 冲突表 / doctor 行) skills/teamsmith/tests/install-shape.sh - 段内点名 2 条真实路径 token
|
|
122
|
-
40 40 · 临时根纪律(P53:TMPDIR / owned 家族 / 泄漏断言 / lint) skills/teamsmith/tests skills/teamsmith/tests/* skills/teamsmith/tests/config-cli.sh skills/teamsmith/tests/tmp-hygiene.sh - 段内点名 4 条真实路径 token
|
|
128
|
+
40 40 · 临时根纪律(P53:TMPDIR / owned 家族 / 泄漏断言 / lint) skills/teamsmith/tests skills/teamsmith/tests/* skills/teamsmith/tests/config-cli.sh skills/teamsmith/tests/tmp-hygiene.sh - 段内点名 4 条真实路径 token;P238 坑 3 复核:保留 `skills/teamsmith/tests/*` —— 段内跑 `tests/tmp-hygiene.sh --lint`,它 `find <dir> -type f -name '*.sh'` 扫整棵 tests 树,新增测试文件是该段的判定面
|
|
123
129
|
41 41 · pane 留存:死 pane 是座位状况,不是活座位(P55 / agent-pane-survivability) skills/teamsmith/scripts/team 2 段内点名 29 条真实路径 token
|
|
124
130
|
42 42 · P67 输入框判据:0.87.0 的边框邻行按内容读(光标锚定 + 状态行形状才排除) skills/teamsmith/tests/frames skills/teamsmith/tests/frames/* skills/teamsmith/scripts/lib/common.sh skills/teamsmith/scripts/lib/outbox.sh skills/teamsmith/tests/lib/box-judge.sh skills/teamsmith/tests/pm-box-real.sh skills/teamsmith/scripts/lib/cmd-draft.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/team 12b-h0d 段内点名 7 条真实路径 token;段内调用 team draft/say
|
|
125
131
|
43 43 · P75 status 尾部现场:尾空行裁剪(P65 的 F1) skills/teamsmith/scripts/team skills/teamsmith/scripts/lib/common.sh 42,2 段内点名 3 条真实路径 token;P117/V2 逐键审计:补 {2} 后该键的选集 ✗0(缺时该键红;口径见 tests/section-needs-audit.sh)
|
|
@@ -136,7 +142,11 @@
|
|
|
136
142
|
57 57 · delivery-truth:真帧几何 / 队列阻碍 / notify 三处同名(P147) skills/teamsmith/tests/delivery-truth.sh skills/teamsmith/tests/frames skills/teamsmith/tests/frames/* skills/teamsmith/tests/lib/box-judge.sh skills/teamsmith/scripts/lib/outbox.sh skills/teamsmith/scripts/lib/cmd-outbox.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/scripts/panel/src skills/teamsmith/scripts/panel/src/* skills/teamsmith/scripts/panel/panel.js - 段内点名 1 条真实路径 token($SKILL_DIR/tests/delivery-truth.sh);夹具本体 delivery-truth.sh 自带私有临时根与假 tmux,八段覆盖真帧几何/草稿对抗/框内异物(P163)/队列阻碍/回执/notify/面板/判据单次运行戳(P197)
|
|
137
143
|
58 58 · 信号纪律:闸门 / 作业 pid / lint(P159) skills/teamsmith/tests/signal-lint.pl skills/teamsmith/tests/signal-gate.sh skills/teamsmith/tests/team-bg-stop.sh skills/teamsmith/tests/team-bg-harness.mjs skills/teamsmith/extension/team-bg.ts skills/teamsmith/scripts/team skills/teamsmith/tests/signal-lint-legacy.txt 13c 段内点名 7 条真实路径 token(P176 起含豁免清单本身);跑 signal-lint.pl(真树 + --selftest + scratch 副本翻转)+ signal-gate.sh + team-bg-stop.sh + harness --record-only(真扩展写的记录,段内 team bg stop 按记录停掉它)
|
|
138
144
|
15 15 · 完成 - - 收尾段(只打印一行,无断言)
|
|
139
|
-
55 55 · meeting-liveness:未读 / 过期 / 队列 / 标识(P139,纯逻辑) skills/teamsmith/scripts/lib/* skills/teamsmith/scripts/team skills/teamsmith/extension/*
|
|
140
|
-
56 56 · meeting-liveness 真 tmux:敲门 / 排水 / 每方窗口(P139) skills/teamsmith/scripts/lib/* skills/teamsmith/scripts/team skills/teamsmith/extension/* skills/teamsmith/tests
|
|
141
|
-
59 59 · pulse-nudge-key:叫醒键按类别集合(P174) skills/teamsmith/tests/pulse-nudge-key.sh skills/teamsmith/scripts/lib/* skills/teamsmith/scripts/team skills/teamsmith/tests/lib
|
|
142
|
-
60 60 · 账本禁令:家目录 / 私有网段 / 用户名 / 他项目名(P212 · D94) skills/teamsmith/tests/ledger-ban.sh skills/teamsmith/tests/lib/tmp-root.sh - 段内点名 1 条真实路径 token($SKILL_DIR/tests/ledger-ban.sh);夹具本体 ledger-ban.sh 自建私有临时根(lib/tmp-root.sh)、自检含五形状 + 四条可证伪 +
|
|
145
|
+
55 55 · meeting-liveness:未读 / 过期 / 队列 / 标识(P139,纯逻辑) skills/teamsmith/scripts/lib/* skills/teamsmith/scripts/team skills/teamsmith/extension/* - 段内调用 team meeting/status/digest/monitor/notify/init/board;夹具直接 source scripts/lib(会议共享区只写夹具自己的 TEAM_MEETINGS_DIR);P238 坑 3:删掉 `skills/teamsmith/tests/*`(本段只 source `scripts/lib`,会话夹具在私有仓库里、段内没有 tests 路径 token)
|
|
146
|
+
56 56 · meeting-liveness 真 tmux:敲门 / 排水 / 每方窗口(P139) skills/teamsmith/scripts/lib/* skills/teamsmith/scripts/team skills/teamsmith/extension/* skills/teamsmith/tests/fake-tui.py 55 段内调用 team meeting/outbox/notify/watch/status;真 tmux 私有 session + tests/fake-tui.py;沿用 54 段的夹具仓库与会议共享区(needs:54);P238 坑 3:`skills/teamsmith/tests/*` 换成真用的 `tests/fake-tui.py`
|
|
147
|
+
59 59 · pulse-nudge-key:叫醒键按类别集合(P174) skills/teamsmith/tests/pulse-nudge-key.sh skills/teamsmith/scripts/lib/* skills/teamsmith/scripts/team skills/teamsmith/tests/lib/tmp-root.sh - 段内点名 1 条真实路径 token($SKILL_DIR/tests/pulse-nudge-key.sh);夹具本体 pulse-nudge-key.sh 自己 source scripts/lib 与 tests/lib/tmp-root.sh,observers 档在私有夹具仓库里跑真 team CLI(monitor/__panel-data),tmux 走私有 shim(只读、不碰共享 server);P238 坑 3:`skills/teamsmith/tests/lib/*` 换成夹具真 source 的 `tests/lib/tmp-root.sh`
|
|
148
|
+
60 60 · 账本禁令:家目录 / 私有网段 / 用户名 / 他项目名(P212 · D94) skills/teamsmith/tests/ledger-ban.sh skills/teamsmith/tests/ledger-claim.sh skills/teamsmith/tests/lib/tmp-root.sh - 段内点名 1 条真实路径 token($SKILL_DIR/tests/ledger-ban.sh);夹具本体 ledger-ban.sh 自建私有临时根(lib/tmp-root.sh)、自检含五形状 + 四条可证伪 + 影子;真实账本扫描只读**检出树**(被测分支的工作树),他项目名单从被忽略的 .pi/team/forbidden-names.txt 读;P239:`docs/team/**` 的归属由表头 `# ledger-scan:` 行声明(patterns 列不许声明豁免类)——账本文本(报告/复验/看板/线程)的改动只选中这一段,就地在自己的树上开火;行为面与三条红侧在 tests/ledger-claim.sh;P231:账本面 = docs/team 下**每一个会被提交的文件**(不再限定 .md,ledger/*.tsv 从前是盲区),归属头必须**唯一**且指向本段(指向别的段/两行表头在装载期报错点名),非 .md 植入与假绿对照也在 tests/ledger-claim.sh
|
|
149
|
+
61 61 · 任务类别模型路由:分组前门(P228 · task-model-routing) skills/teamsmith/scripts/lib/common.sh skills/teamsmith/scripts/lib/cmd-agents.sh skills/teamsmith/scripts/lib/cmd-config.sh skills/teamsmith/scripts/lib/cmd-watch.sh skills/teamsmith/tests/task-model-routing.sh skills/teamsmith/tests/lib/model-routing-boundary.sh skills/teamsmith/tests/lib/model-routing-expansion.sh skills/teamsmith/tests/lib/model-routing-roles.sh skills/teamsmith/tests/lib/model-policy.sh - 段内点名 1 条真实路径 token(前门夹具本体);P238 坑 2:整套前门以前没有任何门禁段承接(只能手工跑);坑 3:路由夹具按文件**精确登记**,不再靠别的段的目录通配把新增测试文件归到无关段;model-policy.sh 是这套夹具的记录写入器(routing_fixture_record);P243(V28 nit 3):产品侧路由路径以前只被别的行的目录通配覆盖(改 common.sh 的类别/模型解析、cmd-agents.sh 的选择与续跑复用、cmd-config.sh 的映射读写、cmd-watch.sh 的续跑入口时本段不被选中)→ 四条产品路径补进本行 patterns,`--paths` 前后对照见 docs/team/reports/P243-dev3.md;§61b 不随之绑定(变异锚点还落在 cmd-bootstrap.sh / monitor.mjs 等更多文件,只绑这四条并不构成完整保证,且它有 82 分成本、FAST 里本是可见 SKIP)
|
|
150
|
+
61b 61b · 任务类别模型路由:翻转变异自检(P228 · task-model-routing) skills/teamsmith/tests/task-model-routing.sh skills/teamsmith/tests/lib/model-routing-flips.py - 段内点名 1 条真实路径 token(前门夹具本体);`--flip` 的变异器是 tests/lib/model-routing-flips.py(在 scratch 副本上把实现逐条改坏),改它必须重跑这一段
|
|
151
|
+
62 62 · 关键回复存储与 CLI(change: pulse-key-replies · P234) skills/teamsmith/tests/key-replies.sh skills/teamsmith/tests/lib/proc-io.sh skills/teamsmith/scripts/replies.mjs skills/teamsmith/scripts/lib/cmd-reply.sh skills/teamsmith/tests/lib/tmp-root.sh - 段内点名 2 条真实路径 token(tests/key-replies.sh、scripts/replies.mjs);夹具本体 key-replies.sh 自建私有临时根、只对私有夹具仓库跑真 CLI(发布/列表/show),并以内核计数器(/proc/<pid>/io 的 rchar/syscr)与 fd/fdinfo 证据证明读量上界、O_PATH 锚点与 0111 金丝雀证明不枚举,九个具名 guard 用独立 scratch 源码做变异→红→还原→绿;无编译器依赖,观测器缺席时可见跳过并点名
|
|
152
|
+
63 63 · 关键回复面板第 5 页(change: pulse-key-replies · P234) skills/teamsmith/tests/key-replies-pty.sh skills/teamsmith/tests/key-replies-ui.sh skills/teamsmith/tests/lib/reply-fixture.sh skills/teamsmith/tests/lib/proc-io.sh skills/teamsmith/scripts/panel/panel.js skills/teamsmith/scripts/panel/src skills/teamsmith/scripts/panel/src/* skills/teamsmith/scripts/panel/build.sh skills/teamsmith/scripts/panel/src/strings skills/teamsmith/scripts/panel/src/strings/* skills/teamsmith/tests/lib/pty-wait.sh skills/teamsmith/tests/lib/tmux-iso.sh skills/teamsmith/scripts/lib/cmd-watch.sh 28,38 段内点名 1 条真实路径 token(tests/key-replies-panel.sh);夹具本体 key-replies-panel.sh 在私有 tmux server(lib/tmux-iso.sh 前置)与私有临时根里跑真 bundle + 真 CLI(包一层记录 argv 的 shim),失败注入用真损坏槽位;快照矩阵走 panel.js --snapshot --page 5,故需 28(控制台表面)与 38(设置/选择器夹具的 pty 等待库)
|