Commit 7087f99
docs(agents): owe the
* docs(agents): owe the `unit` vitest tier locally on `packages/cli` cards, declare `integration` to CI
The dev-agent Definition of done told every card to run the affected
package's `pnpm test`; for `packages/cli` that is the whole two-tier
suite. The 测试 bullet now carries the `packages/cli` clause: the local
step is `--project unit`; `--project integration` runs locally only when
the diff touches that tier, a spawn entry or a driver/kernel boot path,
and is otherwise declared to CI, where `pnpm test` runs both tiers; a new
spawning or booting test lands in the integration tier by the config's
own predicate, and the partition pin reds when a file is in neither or
both. The earlier same-meaning step in 本地验证范围 carries a one-line
qualifier pointing at that bullet, so the two never disagree.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
* docs(agents): never end a turn to wait — block in the foreground on the lock, a gate batch or any slow step
Rule 7 of 资源纪律 (排队不是停摆) gains its missing half: waiting on the
verification lock, a gate batch or any slow step is a foreground block
inside the turn (the lock script waits by itself; Monitor only in its
blocking until-loop form), never a reason to end the turn. A turn has
two legal endings, the final report JSON or a blocked/needs_decision
report; "I will continue once X finishes" is a stall, not an ending.
The criterion is shared by the report's writer and its reader: a last
sentence that is an intention rather than a result means the dev has
stalled, not completed.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
* docs(agents): derive the local suite list from `turbo ls --affected` against the merge base, not from "the packages I changed"
Step ② of 本地验证范围 now says what the affected-package list IS: the
population CI will test, read from `TURBO_SCM_BASE="$BASE" pnpm exec
turbo ls --affected` (the same merge-base reading CI takes), never
guessed as "the packages I changed" — a package that consumes the
changed module by an ordinary import is in that list and owes its run.
Paid inside the file's ceiling by tightening filler in the same
paragraph (an incident aside, a stale count, connective words); every
prohibition and every command in the paragraph is kept.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
---------
Co-authored-by: Claude <noreply@anthropic.com>unit vitest tier locally on packages/cli cards, declare integration to CI (#15551)1 parent 88bc10e commit 7087f99
1 file changed
Lines changed: 26 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| |||
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
| |||
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
311 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
312 | 322 | | |
313 | 323 | | |
314 | 324 | | |
| |||
0 commit comments