teamsmith 0.1.2 → 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 +13 -7
- package/package.json +1 -1
- package/skills/teamsmith/CHANGELOG.md +39 -0
- package/skills/teamsmith/SKILL.md +18 -7
- 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/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/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 +4 -4
- package/skills/teamsmith/tests/ledger-claim.sh +247 -0
- 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 +8 -4
- package/skills/teamsmith/tests/section-paths.tsv +26 -16
- package/skills/teamsmith/tests/section-select.sh +82 -6
- package/skills/teamsmith/tests/smoke.sh +782 -180
- 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
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: teamsmith-init
|
|
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,
|
|
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.
|
|
6
|
+
version: "0.2.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# teamsmith-init · bring a new project to "ready to dispatch"
|
|
10
10
|
|
|
11
11
|
You are the first session in a repository that has no team yet. **Install first**, then settle the questions below
|
|
12
12
|
with the user, run one command, then hand day-to-day operation to the **`teamsmith`** skill.
|
|
13
|
-
|
|
14
13
|
## 0. Install the CLI and the project's skills
|
|
15
14
|
|
|
16
15
|
```bash
|
|
@@ -22,26 +21,26 @@ team init # in this project: config + docs skeleton + the ski
|
|
|
22
21
|
project's own sessions find `teamsmith`/`teamsmith-init` without a machine-global install; the default is a symlink
|
|
23
22
|
to the package (updates are live), `--copy` copies instead, `--no-skills` skips the step. Because `.pi/skills/` is
|
|
24
23
|
one of the project resources Pi asks about, the **first interactive `pi` run in this project shows a project-trust
|
|
25
|
-
prompt** — the install step prints a line
|
|
26
|
-
|
|
27
|
-
install
|
|
28
|
-
|
|
29
|
-
a checkout, which writes into `~/.agents/skills`. Everything that follows the setup (dispatch, the pulse, review,
|
|
30
|
-
merge) belongs to the daily skill; this one only brings the project up.
|
|
24
|
+
prompt** — the install step prints a line naming the three answers: `pi --approve` (trust for that one run),
|
|
25
|
+
`/trust` inside Pi (save the decision), and `team init --no-skills` (skip the install). Two alternatives when npm
|
|
26
|
+
is not your route: `pi install …` at a released tag (no global CLI) and `./install.sh` from a checkout (writes
|
|
27
|
+
into `~/.agents/skills`). Everything after setup (dispatch, the pulse, review, merge) belongs to the daily skill.
|
|
31
28
|
|
|
32
29
|
## 1. Settle these with the user, in this order
|
|
33
30
|
|
|
34
31
|
1. **Preconditions.** A git repository with at least one commit, `tmux` in the room, and `team doctor` green
|
|
35
32
|
(magic-context, OpenSpec, a JS runtime for the console, the shell — bash ≥ 4, which the npm entry checks).
|
|
36
|
-
Fix what doctor reports *before* writing config — a missing
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
33
|
+
Fix what doctor reports *before* writing config — a missing dependency is a hard failure later, not a warning now.
|
|
34
|
+
2. **Identity, a minimal starting roster, and two explicit models.** The tmux session name (`TEAM_SESSION` must
|
|
35
|
+
match the session the PM lives in — the pulse and every notification is delivered inside it), the PM window
|
|
36
|
+
name, the roster (`TEAM_AGENTS`) and `TEAM_MODEL_LIMITS` when a provider quota is tight. Models are **task
|
|
37
|
+
categories, not seats**: settle a `--task-models 'category=provider/model …'` map (routine for bounded ordinary
|
|
38
|
+
implementation, analysis for complex planning/judgment, verify for independent adversarial review — categories
|
|
39
|
+
are the project's own words) and a separate `--pm-model`; there is no default model to fall back on. **Start the
|
|
40
|
+
roster minimal — one `dev` plus one `verify`**; `team add-agent <name> --register` grows the roster and
|
|
41
|
+
`team teardown --agent <name> --register` shrinks it (both audited; a bare `team add-agent <name>` refuses a
|
|
42
|
+
seat the roster does not carry), so the roster follows the board. (A PM-only start is legal too — `team doctor`
|
|
43
|
+
warns only.)
|
|
45
44
|
3. **Gates, install command, VCS mode, patrol rhythm.** `TEAM_GATES` is the command that decides pass/fail during
|
|
46
45
|
every verification (it must run from a clean checkout of a task branch); `TEAM_INSTALL_CMD` runs after a worktree
|
|
47
46
|
is created; `TEAM_VCS` is a label for the wording (`local` = no forge, the PM squash-merges locally);
|
|
@@ -50,9 +49,9 @@ merge) belongs to the daily skill; this one only brings the project up.
|
|
|
50
49
|
`--session-id` criterion `team doctor`'s `pi` row fails on), then let `team doctor` report the plugins this
|
|
51
50
|
project already has (`已装插件 packages`: the names, and whether each is project- or user-level). That row is
|
|
52
51
|
information only: **teamsmith never asks the user to install a third-party plugin** — the team's own background
|
|
53
|
-
lane ships with the skill (`team-bg`), and the only package worth recommending is a teamsmith requirement such
|
|
54
|
-
magic-context, which `doctor` already checks. A long task can
|
|
55
|
-
|
|
52
|
+
lane ships with the skill (`team-bg`), and the only package worth recommending is a teamsmith requirement such
|
|
53
|
+
as magic-context, which `doctor` already checks. A long task can always fall back to a background tmux window
|
|
54
|
+
plus `team notify` (`references/troubleshooting.md` §17 of the daily skill).
|
|
56
55
|
5. **The project's own documents** — the PM writes these, the tool does not: `docs/team/ROADMAP.md` (the goal,
|
|
57
56
|
milestones with **executable** exit criteria, and explicit non-goals), `docs/team/OWNERSHIP.md` (which directory
|
|
58
57
|
belongs to which agent; everything unlisted belongs to the PM), and the project-specific red lines in
|
|
@@ -61,40 +60,41 @@ merge) belongs to the daily skill; this one only brings the project up.
|
|
|
61
60
|
|
|
62
61
|
```bash
|
|
63
62
|
bash <teamsmith>/scripts/team bootstrap --print # the plan: detect / config / docs / skills / worktrees / pulse
|
|
64
|
-
bash <teamsmith>/scripts/team bootstrap
|
|
63
|
+
bash <teamsmith>/scripts/team bootstrap --agents "dev verify" \
|
|
64
|
+
--task-models 'routine=vendor/light analysis=vendor/strong verify=vendor/strong' --pm-model 'vendor/strong:high'
|
|
65
65
|
bash <teamsmith>/scripts/team doctor # re-check after bootstrap
|
|
66
66
|
openspec init --tools pi # required dependency: spec root + the five phase commands
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
+
Fresh projects must pass both model inputs (`--task-models`, `--pm-model`); a valid v2 policy is kept on
|
|
70
|
+
re-entry. A **legacy** config (retired TEAM_AGENT_MODELS / TEAM_DEFAULT_MODEL) is refused before any
|
|
71
|
+
install/ledger/worktree/pulse work and migrates only through `team config upgrade-models --task-models '<map>'
|
|
72
|
+
--pm-model '<model>'`; `bootstrap`, `init --force` and inference are not migration routes.
|
|
73
|
+
|
|
69
74
|
`bootstrap` is idempotent (a rerun fills in what is missing and leaves the rest alone, including the project's
|
|
70
75
|
`.pi/skills/` install — that is the upgrade route for a project set up before this skill version) and it
|
|
71
76
|
**prints** the `git worktree add` command for each agent — git stays with the PM (`--create-worktrees`
|
|
72
77
|
delegates creation).
|
|
73
78
|
The command's own behaviour is in `references/bootstrap.md`; a prompt you can hand to a new project's PM is
|
|
74
79
|
`templates/bootstrap-prompt.md.tmpl`.
|
|
75
|
-
7. **The first task.** `team task T1.1 --title "…" --agent dev` → edit the brief until it is self-contained →
|
|
80
|
+
7. **The first task.** `team task T1.1 --title "…" --category <category> --agent dev` → edit the brief until it is self-contained →
|
|
76
81
|
`team dispatch dev T1.1 docs/team/tasks/T1.1-*.md`. From here the daily loop takes over.
|
|
77
82
|
|
|
78
83
|
## 2. Handoff
|
|
79
84
|
|
|
80
85
|
Day-to-day operation lives in the **`teamsmith`** skill: the PM loop, dispatch, independent verification, merging,
|
|
81
|
-
the pulse, updates and
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
The handover itself is three steps, and the middle one is the one people skip:
|
|
86
|
-
|
|
87
|
-
1. **Bootstrap.** `bash <teamsmith>/scripts/team bootstrap [--agents "dev verify"]` — it prints the plan first
|
|
88
|
-
with `--print`, and a rerun is idempotent.
|
|
86
|
+
the pulse, updates and troubleshooting are all there — read `skills/teamsmith/SKILL.md` and follow it. The three
|
|
87
|
+
commands that answer "what now?": `team digest` (pending work), `team pulse status` (patrol and PM liveness),
|
|
88
|
+
`team doctor` (environment). The handover is three steps, and the middle one is the one people skip:
|
|
89
|
+
1. **Bootstrap** — already done in step 6 above (a rerun is idempotent; `--print` shows the plan).
|
|
89
90
|
2. **Leave the room — or prove you are the PM.** `team up` starts the PM in this project's tmux session, and the
|
|
90
91
|
PM is a *different* conversation from this one. Exit this session once bootstrap is done (keep it only if this
|
|
91
92
|
session already lives in the PM window).
|
|
92
93
|
3. **Start the PM.** `bash <teamsmith>/scripts/team up [--fresh-pm]`. By default `up` continues **the last
|
|
93
|
-
conversation in this directory** (`pi -c`) —
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
conversation in this directory** (`pi -c`) — *this init conversation* — so the PM wakes up with the init
|
|
95
|
+
history. `--fresh-pm` starts it on a clean conversation instead (the old session file stays as the kickoff
|
|
96
|
+
record); it wins over `TEAM_PM_SESSION_ID` / `TEAM_PM_RESUME_ARGS` for that one launch and is not written into
|
|
97
|
+
the config. `team up --print` shows the decision and the exact command.
|
|
97
98
|
|
|
98
|
-
If step 3 prints `检测到同目录 … 还有 … 活着的 … 会话`, a session started
|
|
99
|
-
|
|
100
|
-
write the same session file.
|
|
99
|
+
If step 3 prints `检测到同目录 … 还有 … 活着的 … 会话`, a session started here is still running: exit it first,
|
|
100
|
+
or rerun with `--fresh-pm` — two processes continuing one session file would fight over it.
|
|
@@ -9,8 +9,8 @@ The shortest path for a new project (or a PM taking over a repository for the fi
|
|
|
9
9
|
## In one line
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
bash <skill>/scripts/team bootstrap
|
|
13
|
-
bash <skill>/scripts/team bootstrap --agents "dev verify api"
|
|
12
|
+
bash <skill>/scripts/team bootstrap --task-models '<category=provider/model …>' --pm-model '<provider/model>' # fresh project: both model inputs are required
|
|
13
|
+
bash <skill>/scripts/team bootstrap --agents "dev verify api" --task-models 'routine=vendor/light analysis=vendor/strong' --pm-model 'vendor/strong:high'
|
|
14
14
|
bash <skill>/scripts/team bootstrap --print # print the plan, change nothing
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -22,7 +22,8 @@ Or hand the contents of `templates/bootstrap-prompt.md.tmpl` (placeholders subst
|
|
|
22
22
|
| Step | Result | Idempotence |
|
|
23
23
|
|---|---|---|
|
|
24
24
|
| Detect tmux | adopts the `session:window` the PM itself runs in and writes it into the config (no manual fill-in) | recomputed every run |
|
|
25
|
-
| Write config | `.pi/team/config.sh` (identity/roster
|
|
25
|
+
| Write config | `.pi/team/config.sh` (identity/roster/**task-category model map + independent PM model**/gates/install command/forge/guards/pulse) | if it exists it is kept; only missing entries are filled in |
|
|
26
|
+
| Model policy | fresh runs must pass `--task-models` and `--pm-model` (there is no default model); a valid v2 policy is kept on re-entry; a config still carrying the retired worker keys is refused **before** any install/ledger/worktree/pulse step and migrates only through `team config upgrade-models` | ✔ |
|
|
26
27
|
| Required dependencies | checks magic-context (Pi package `@cortexkit/pi-magic-context`) and OpenSpec (CLI resolvable + the spec dir); a missing one prints its exact fix/downgrade command, and does not block the setup | ✔ |
|
|
27
28
|
| Docs skeleton | `docs/team/{ROADMAP,BOARD,OWNERSHIP,DECISIONS,PROTOCOL}.md`, `tasks/`, `reports/`, `reviews/`, `threads/`, `inbox/` | skipped when present |
|
|
28
29
|
| Team protocol | injects the `<!-- teamsmith:begin --> … end -->` section into `AGENTS.md` (**refreshes** it instead of appending twice) | ✔ |
|
|
@@ -37,7 +38,8 @@ Or hand the contents of `templates/bootstrap-prompt.md.tmpl` (placeholders subst
|
|
|
37
38
|
```bash
|
|
38
39
|
openspec init --tools none # required dependency: create the project's spec root (TEAM_SPEC_DIR)
|
|
39
40
|
team pulse status # pulse window / patrol interval / pending work / PM liveness / capacity
|
|
40
|
-
team task
|
|
41
|
+
team config set-task-model analysis vendor/strong-model # change one category's model (future dispatches only)
|
|
42
|
+
team task T1.1 --title "…" --agent dev --category routine
|
|
41
43
|
team dispatch dev T1.1 docs/team/tasks/T1.1-*.md
|
|
42
44
|
team digest # pending work: notifications + reports awaiting verification + board
|
|
43
45
|
```
|
|
@@ -11,13 +11,14 @@ report back concisely. Do not invent scope beyond them.
|
|
|
11
11
|
## 1. Bring the project up
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
bash {{SKILL_DIR}}/scripts/team bootstrap --agents "<dev verify>" --session "<session>"
|
|
14
|
+
bash {{SKILL_DIR}}/scripts/team bootstrap --agents "<dev verify>" --session "<session>" \
|
|
15
|
+
--task-models '<routine=provider/light analysis=provider/strong verify=provider/strong>' --pm-model '<provider/strong>' # idempotent
|
|
15
16
|
bash {{SKILL_DIR}}/scripts/team doctor
|
|
16
17
|
```
|
|
17
18
|
|
|
18
19
|
`bootstrap` does all of this idempotently:
|
|
19
20
|
|
|
20
|
-
1. writes `.pi/team/config.sh` (session, roster,
|
|
21
|
+
1. writes `.pi/team/config.sh` (session, roster, the task-category model map, the independent PM model, guards);
|
|
21
22
|
2. writes the `docs/team/` skeleton (BOARD / ROADMAP / OWNERSHIP / PROTOCOL / DECISIONS / tasks / reports / reviews / threads / inbox);
|
|
22
23
|
3. **prints** the `git worktree add` command for each agent (git stays with you; `--create-worktrees` creates them);
|
|
23
24
|
4. starts the pulse (`pulse` window in the same session);
|
|
@@ -27,14 +28,17 @@ bash {{SKILL_DIR}}/scripts/team doctor
|
|
|
27
28
|
|
|
28
29
|
- `{{DOCS_DIR}}/ROADMAP.md` -- product goal, milestones with **executable** exit criteria, and explicit non-goals.
|
|
29
30
|
- `{{DOCS_DIR}}/OWNERSHIP.md` -- which directories belong to which agent; everything unlisted belongs to you.
|
|
30
|
-
- `.pi/team/config.sh` -- `TEAM_GATES` (the command that decides pass/fail during verification), the roster
|
|
31
|
-
|
|
31
|
+
- `.pi/team/config.sh` -- `TEAM_GATES` (the command that decides pass/fail during verification), the roster,
|
|
32
|
+
and `TEAM_MODEL_LIMITS` if a provider has a tight quota. Model policy is edited, not hand-written: a category by
|
|
33
|
+
`team config set-task-model <category> <model>`, the whole map or PM model by `team config set … --yes`; retire a
|
|
34
|
+
category only by rewriting the whole map (future dispatches only — a complete same-task recovery keeps its
|
|
35
|
+
committed model/SID).
|
|
32
36
|
- `AGENTS.md` -- the protocol section is injected automatically; make sure the project-specific red lines are there.
|
|
33
37
|
|
|
34
38
|
## 3. Make the first task real
|
|
35
39
|
|
|
36
40
|
```bash
|
|
37
|
-
bash {{SKILL_DIR}}/scripts/team task T1.1 --title "<first slice>" --agent dev
|
|
41
|
+
bash {{SKILL_DIR}}/scripts/team task T1.1 --title "<first slice>" --category <routine|analysis|verify> --agent dev
|
|
38
42
|
$EDITOR {{DOCS_DIR}}/tasks/T1.1-*.md # context / deliverables / boundaries / acceptance commands
|
|
39
43
|
bash {{SKILL_DIR}}/scripts/team dispatch dev T1.1 {{DOCS_DIR}}/tasks/T1.1-*.md
|
|
40
44
|
```
|