ytdb-slate 0.16.0 → 0.17.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 +2 -2
- package/docs/blast-radius.md +32 -45
- package/docs/change-records.md +6 -7
- package/docs/configuration.md +2 -1
- package/docs/context-budget.md +70 -74
- package/docs/delivery-packages.md +37 -36
- package/docs/pr-publishing.md +120 -150
- package/docs/recursive-workflow.md +31 -517
- package/docs/roadmap.md +5 -5
- package/docs/safety-and-trust.md +2 -0
- package/docs/track-workflow.md +89 -88
- package/docs/writing-guidance.md +1 -1
- package/extension/index.ts +2 -0
- package/extension/mode.ts +5 -5
- package/extension/render.ts +5 -3
- package/extension/startup-summary.ts +1 -1
- package/extension/state.ts +9 -0
- package/extension/tools.ts +1 -1
- package/extension/worker-codemode.ts +5 -1
- package/extension/worker.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,13 +55,13 @@ Through `context`, later worker threads can receive earlier episodes without ful
|
|
|
55
55
|
|
|
56
56
|
Slate independently implements the thread-weaving architecture from the Random Labs technical report for `@randomlabs/slate`.
|
|
57
57
|
|
|
58
|
-
A track is a bounded part of approved work. A code track implements that work. A design track plans a nested change with child tracks. A level contains sibling tracks from one split. The
|
|
58
|
+
A track is a bounded part of approved work. A code track implements that work. A design track plans a nested change with child tracks. A level contains sibling tracks from one split. Levels group planning only. The whole change uses one branch and is the merge unit. Slate supplies this development workflow in orchestrator mode. Project configuration can extend the workflow rules but cannot replace them. Eleven focus areas name specific risks. They cover
|
|
59
59
|
concurrency defects, data loss, security weaknesses, performance degradation,
|
|
60
60
|
test-quality defects, unreadable user-facing prose, licensing exposure,
|
|
61
61
|
non-local logic defects, consumer contract breaks, governing-rule defects, and
|
|
62
62
|
unreported failures.
|
|
63
63
|
|
|
64
|
-
The orchestrator records risks for the change and each track. The orchestrator judges each named proof and selects design gates and reviewers. You can inspect the assessment and direct changes. A track with a proved risk gets one general reviewer and its required specialists. An implementer's approximate track size above 100 added plus removed lines also adds the general reviewer unless the track changes only documents that neither ship as code nor run. Lockfiles, migration files, and generated output do not count. A track that the orchestrator estimates above 100 such lines needs a high-level design before implementation, including when it changes only documents. A track with neither review trigger gets no routine implementation reviewer. See [workflow](docs/track-workflow.md) and [focus areas](docs/blast-radius.md) for the rules.
|
|
64
|
+
The orchestrator records risks for the change and each track. The orchestrator judges each named proof and selects design gates and reviewers. You can inspect the assessment and direct changes. A track with a proved risk gets one general reviewer and its required specialists. An implementer's approximate track size above 100 added plus removed lines also adds the general reviewer unless the track changes only documents that neither ship as code nor run. Lockfiles, migration files, and generated output do not count. A track that the orchestrator estimates above 100 such lines needs a high-level design before implementation, including when it changes only documents. A track with neither review trigger gets no routine implementation reviewer. See [workflow](docs/track-workflow.md) and [focus areas](docs/blast-radius.md) for the rules. One optional draft pull request covers the whole change. Each design track needs your explicit acceptance of its whole subtree, which contains that track and its descendants. Final acceptance of the whole change remains a separate decision. Only you merge the pull request after final acceptance. Merge commits or rebase merges keep separate implementation commits. A squash merge combines them. Rebase merges can drop empty marker commits that record accepted track boundaries. These losses are accepted. See [publishing guidance](docs/pr-publishing.md) for merge advice and verification. See [recursive workflow](docs/recursive-workflow.md) for nested planning, repair children, and acceptance.
|
|
65
65
|
|
|
66
66
|
## Product principles
|
|
67
67
|
|
package/docs/blast-radius.md
CHANGED
|
@@ -28,13 +28,11 @@ Each track must be one coherent unit that a human can review in one sitting.
|
|
|
28
28
|
The orchestrator owns the split and records its rationale.
|
|
29
29
|
A code track implements bounded approved work, including document changes.
|
|
30
30
|
A level contains the sibling tracks created by one split.
|
|
31
|
-
The
|
|
31
|
+
Levels group planning only. The change is the merge unit.
|
|
32
32
|
All checks pass at each child marker.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
across those surfaces and name the later child that owns it.
|
|
37
|
-
Do not merge an incomplete level into the default branch.
|
|
33
|
+
At change end, documents, prompt guidance, and the extension must agree.
|
|
34
|
+
Intermediate packages and review intentions list each remaining difference and its later owning track.
|
|
35
|
+
Do not merge an incomplete change.
|
|
38
36
|
[track-workflow.md](track-workflow.md) § Recursive planning and loading owns split
|
|
39
37
|
limits, the implementer-requested exception, and the recursive-document loading condition.
|
|
40
38
|
|
|
@@ -431,42 +429,31 @@ log.
|
|
|
431
429
|
|
|
432
430
|
## Commit discipline for drift and boundaries
|
|
433
431
|
|
|
434
|
-
[track-workflow.md](track-workflow.md) owns
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
In those two-part bodies, do not put implementation rationale, self-assessment
|
|
463
|
-
or verification claims. Examples of forbidden claims include
|
|
464
|
-
`tested`, `verified thread-safe` and `reviewed edge cases`. Fresh reviewers
|
|
465
|
-
receive repository state and declared intent, not implementer confidence.
|
|
466
|
-
|
|
467
|
-
For a multi-track change, every commit in a track's review range must belong to
|
|
468
|
-
that track. A reviewer checks the range against the track brief, marker commits
|
|
469
|
-
as boundary authority, and the title prefixes. A commit from another track is
|
|
470
|
-
cross-track contamination. Correct a wrong boundary or title before the next writer starts.
|
|
471
|
-
An undeclared material deviation found during this check fires the halt and
|
|
472
|
-
re-derivation route above.
|
|
432
|
+
[track-workflow.md](track-workflow.md) § Commit titles and bodies owns change-title metadata, markers, title prefixes, and boundaries.
|
|
433
|
+
Its first-line identity rule covers bootstrap, implementation, agentic-review fix, cumulative implementation, user-review fix, gate correction, code and design marker, post-ready fix, and base merge commits.
|
|
434
|
+
It adds no content part.
|
|
435
|
+
|
|
436
|
+
With publishing disabled, accepted branch history is the delivery.
|
|
437
|
+
Follow [track-workflow.md](track-workflow.md) § Delivery history and accounting.
|
|
438
|
+
|
|
439
|
+
The cumulative commit follows [track-workflow.md](track-workflow.md) § Lifecycle and phases.
|
|
440
|
+
When the track has a high-level design, the cumulative implementation commit body carries the track high-level design followed by the track low-level design.
|
|
441
|
+
Otherwise, use the two-part body.
|
|
442
|
+
See also its § Delivery and termination.
|
|
443
|
+
|
|
444
|
+
Original implementation, agentic-review fix, and user-review fix bodies have exactly two content parts after the identity line:
|
|
445
|
+
|
|
446
|
+
1. **Intent:** what the commit accomplishes, not how.
|
|
447
|
+
2. **Deviation delta:** only differences from the original track task. Leave it empty when none differ.
|
|
448
|
+
|
|
449
|
+
Allow only deviations sanctioned by halt and re-confirmation, design-delta approval, or immaterial design change.
|
|
450
|
+
Material deviations at commit time fire a halt.
|
|
451
|
+
Bodies never authorize drift.
|
|
452
|
+
Two-part bodies exclude implementation rationale, self-assessment, and verification claims such as `tested`, `verified thread-safe`, and `reviewed edge cases`.
|
|
453
|
+
Fresh reviewers receive state and intent, not implementer confidence.
|
|
454
|
+
|
|
455
|
+
Every commit in a multi-track review range belongs to that track.
|
|
456
|
+
Check against the brief, marker boundaries, and title prefixes.
|
|
457
|
+
Another track's commit is cross-track contamination.
|
|
458
|
+
Correct wrong boundaries or titles before the next writer starts.
|
|
459
|
+
Undeclared material deviations fire the halt and re-derivation route above.
|
package/docs/change-records.md
CHANGED
|
@@ -6,12 +6,13 @@ For record writing, a **change record** is a research log, status file, implemen
|
|
|
6
6
|
Use [track-workflow.md](track-workflow.md) § Recursive planning and loading for document loading.
|
|
7
7
|
|
|
8
8
|
[writing-guidance.md](writing-guidance.md) separately defines change records for the writing convention.
|
|
9
|
-
That definition covers pull request descriptions,
|
|
9
|
+
That definition covers pull request descriptions, commit bodies, release notes, and issues.
|
|
10
10
|
|
|
11
11
|
## Identifiers, code ranges, and design markers
|
|
12
12
|
|
|
13
13
|
Use [track-workflow.md](track-workflow.md) § Delivery and termination for the
|
|
14
14
|
canonical marker template and flat-workflow exception.
|
|
15
|
+
Apply that document's § Commit titles and bodies to code and design markers.
|
|
15
16
|
A **canonical path number** uses positive decimal components separated by dots.
|
|
16
17
|
Write positive decimal components without leading zeros, separated by dots.
|
|
17
18
|
Each component is at most 9,007,199,254,740,991.
|
|
@@ -23,9 +24,9 @@ A **code range** contains one code track's owned commits through its completion
|
|
|
23
24
|
For a single-track change without a marker, it ends at the last owned commit accepted at final acceptance.
|
|
24
25
|
Keep that endpoint in the owning research log.
|
|
25
26
|
Record its start boundary immediately before its first owned commit, before writing starts.
|
|
26
|
-
Use
|
|
27
|
-
Exclude
|
|
28
|
-
Every non-marker commit
|
|
27
|
+
Use the current change-branch head, not path-number arithmetic.
|
|
28
|
+
Exclude bootstrap commits and base merges. Base merges occur only between ranges.
|
|
29
|
+
Every non-marker commit inside the range belongs to that code track.
|
|
29
30
|
Keep the start stable through permitted pre-user-review rewrites.
|
|
30
31
|
Append the marker after required gates, packages, acceptance, and requested fixes.
|
|
31
32
|
Later feedback follows [user-notes.md](user-notes.md), not an extension of a closed range.
|
|
@@ -34,10 +35,8 @@ A **design marker** records acceptance of a whole design subtree.
|
|
|
34
35
|
It creates no implementation range or repeated child contribution.
|
|
35
36
|
Show child-range and delivery references only when a decision needs them.
|
|
36
37
|
The next code track starts at the completed subtree's current history head.
|
|
37
|
-
|
|
38
|
-
Add it after whole-subtree acceptance and before merge.
|
|
38
|
+
Add it to the change branch after whole-subtree acceptance and before delivery.
|
|
39
39
|
Use [pr-publishing.md](pr-publishing.md) § Ready-for-review flip for enclosing design acceptance.
|
|
40
|
-
Without publishing, add it to the current linear history after acceptance.
|
|
41
40
|
The change root uses final acceptance, not another track marker.
|
|
42
41
|
|
|
43
42
|
Use [track-workflow.md](track-workflow.md) § Track intention block and implementer response
|
package/docs/configuration.md
CHANGED
|
@@ -46,6 +46,7 @@ The project must be trusted before Slate reads this file. Start a new session af
|
|
|
46
46
|
| Key | Type | Default | Semantics |
|
|
47
47
|
| --- | --- | --- | --- |
|
|
48
48
|
| `orchestratorModeDefault` | boolean | `false` | Start fresh interactive sessions with orchestrator mode ON. |
|
|
49
|
+
| `threadDevMode` | boolean | `false` | With `false`, the collapsed `thread` view of a running or successful action shows no warnings or failed tool calls. A failed action shows its status, failed tool calls and all warnings in both modes. With `true`, every action shows warnings and failed tool calls. Expanded views and model-facing results keep all details. A non-boolean value warns and uses `false`. |
|
|
49
50
|
| `notifications.terminal`, `notifications.native`, `notifications.bell` | boolean | `true` | Channel permissions. A trusted project can turn a channel off but cannot enable a home-disabled channel. Configuration validation does not send notifications. |
|
|
50
51
|
| `notifications.push.enabled` | boolean | `false` | Home permission for phone push. A trusted project can disable it but cannot enable it. Configuration validation does not contact a server. |
|
|
51
52
|
| `notifications.detail` | `generic` \| `project` \| `message` | `generic` | Text permission for terminal and native channels. `generic` permits event text. `project` also permits the folder name. `message` also permits the agent message. A trusted project can only lower the home permission. |
|
|
@@ -69,7 +70,7 @@ The project must be trusted before Slate reads this file. Start a new session af
|
|
|
69
70
|
| `contextBudget` | number \| object | `256000` (Anthropic models: `400000`) | Absolute orchestrator context budget (tokens) at which Slate auto-pauses and prepares a fresh-session handoff — semantics, defaults, per-model overrides, and rationale in [`docs/context-budget.md`](context-budget.md). |
|
|
70
71
|
| `orchestratorPromptDocs` | string[] | `[]` | Markdown files whose paths follow the source rules above and whose **contents** are appended to the orchestrator system prompt. |
|
|
71
72
|
| `workerPromptDocs` | string[] | `[]` | Markdown files whose **contents** are appended to every worker-thread system prompt. |
|
|
72
|
-
| `workflow.draftPRs` | boolean | `false` | Enable one draft pull request
|
|
73
|
+
| `workflow.draftPRs` | boolean | `false` | Enable one draft pull request for the whole change on one branch. See [pr-publishing.md](pr-publishing.md) § One draft pull request and § Creation. |
|
|
73
74
|
| `workflow.followUpIssues` | boolean | `false` | When true, the orchestrator asks which deferred items become tracked issues. Deferred items are always reported whatever the value. |
|
|
74
75
|
| `workflow.routingRecommendations` | boolean | `false` | Before final acceptance, add an evidence-bounded model-routing field for logical models dispatched during the current change. Show the field only when records support advice. Keep no-advice results in the research log. Never edit routing files. |
|
|
75
76
|
| `writing.check` | boolean | ignored | This ignored writing key remains accepted for compatibility. Remove it from `slate.json`. Guidance is automatic during orchestrator mode when the project is trusted or a home file exists. See [`docs/writing-guidance.md`](writing-guidance.md). |
|
package/docs/context-budget.md
CHANGED
|
@@ -200,25 +200,25 @@ characters. Tool names use 64 characters. Descriptions use 140 characters.
|
|
|
200
200
|
| shipped logical section | 0 | 3,596 | 11 |
|
|
201
201
|
| trusted shipped-default doctrine | 5 | 8,404 | 74 |
|
|
202
202
|
| untrusted doctrine without a home configuration file | 4 | 2,711 | 33 |
|
|
203
|
-
| draft pull requests, shipped policy | 6 | 8,
|
|
203
|
+
| draft pull requests, shipped policy | 6 | 8,474 | 75 |
|
|
204
204
|
| capped workers, shipped policy | 5 | 9,751 | 84 |
|
|
205
|
-
| draft plus capped workers | 6 | 9,
|
|
205
|
+
| draft plus capped workers | 6 | 9,821 | 85 |
|
|
206
206
|
| deferred issues plus capped workers | 5 | 9,825 | 85 |
|
|
207
207
|
| routing recommendations plus capped workers | 5 | 9,804 | 85 |
|
|
208
|
-
| draft plus deferred issues and capped workers | 6 | 9,
|
|
209
|
-
| draft plus routing recommendations and capped workers | 6 | 9,
|
|
208
|
+
| draft plus deferred issues and capped workers | 6 | 9,895 | 86 |
|
|
209
|
+
| draft plus routing recommendations and capped workers | 6 | 9,870 | 86 |
|
|
210
210
|
| deferred issues plus routing recommendations and capped workers | 5 | 9,878 | 86 |
|
|
211
|
-
| canonical maximal baseline with all workflow options | 6 | 9,
|
|
212
|
-
| maximal baseline with an open change | 6 | 10,
|
|
213
|
-
| maximal baseline with source and legacy root log | 6 | 10,
|
|
214
|
-
| dogfood `.pi/slate.json` and its two extension units | 6 | 9,
|
|
215
|
-
| runtime boundary plus draft and capped workers, source and legacy log | 6 | 26,
|
|
216
|
-
| runtime boundary plus draft and deferred issues, source and legacy log | 6 | 26,
|
|
211
|
+
| canonical maximal baseline with all workflow options | 6 | 9,944 | 87 |
|
|
212
|
+
| maximal baseline with an open change | 6 | 10,142 | 88 |
|
|
213
|
+
| maximal baseline with source and legacy root log | 6 | 10,372 | 90 |
|
|
214
|
+
| dogfood `.pi/slate.json` and its two extension units | 6 | 9,069 | 86 |
|
|
215
|
+
| runtime boundary plus draft and capped workers, source and legacy log | 6 | 26,053 | 88 |
|
|
216
|
+
| runtime boundary plus draft and deferred issues, source and legacy log | 6 | 26,127 | 89 |
|
|
217
217
|
| runtime boundary plus routing recommendations, source and legacy log | 5 | 26,036 | 88 |
|
|
218
218
|
| runtime boundary plus deferred issues and routing recommendations, source and legacy log | 5 | 26,110 | 89 |
|
|
219
|
-
| runtime boundary plus draft and routing recommendations, source and legacy log | 6 | 26,
|
|
220
|
-
| same boundary composition plus deferred issues | 6 | 26,
|
|
221
|
-
| valid shipped policy plus 88 capped worker tools, source and legacy log | 6 | 28,
|
|
219
|
+
| runtime boundary plus draft and routing recommendations, source and legacy log | 6 | 26,102 | 89 |
|
|
220
|
+
| same boundary composition plus deferred issues | 6 | 26,176 | 90 |
|
|
221
|
+
| valid shipped policy plus 88 capped worker tools, source and legacy log | 6 | 28,046 | 173 |
|
|
222
222
|
|
|
223
223
|
An untrusted session with an empty home `slate.json` receives the same doctrine
|
|
224
224
|
as the trusted shipped-default fixture above. It includes routing and writing
|
|
@@ -229,25 +229,25 @@ project preferences can.
|
|
|
229
229
|
The canonical maximal baseline uses all six shipped logical definitions, all
|
|
230
230
|
three workflow options, and the fixed capped worker roster. Its largest variant
|
|
231
231
|
has an open change, one direct source folder, and a legacy root log. Its
|
|
232
|
-
five-percent requirement is `ceil(10,
|
|
232
|
+
five-percent requirement is `ceil(10,372 × 1.05) = 10,891`.
|
|
233
233
|
The 26,300 whole-doctrine ceiling exceeds it. The table pins all eight
|
|
234
234
|
combinations of the three workflow options with the capped worker roster. The
|
|
235
235
|
dogfood row reads the actual project configuration. A change to `.pi/slate.json` requires a fresh render.
|
|
236
236
|
|
|
237
|
-
The four routing-enabled rows from 26,036 through 26,
|
|
238
|
-
boundary-composition controls. The 26,
|
|
239
|
-
routing-recommendation feature off as compatibility controls. The 26,
|
|
240
|
-
pins the largest supported composition. It has
|
|
237
|
+
The four routing-enabled rows from 26,036 through 26,176 are
|
|
238
|
+
boundary-composition controls. The 26,053 and 26,127 rows keep the
|
|
239
|
+
routing-recommendation feature off as compatibility controls. The 26,176 row
|
|
240
|
+
pins the largest supported composition. It has 124 characters of headroom.
|
|
241
241
|
Each row combines a valid logical section padded to exactly 19,400 characters with supported doctrine tails. The rows do not define reserve-bearing
|
|
242
242
|
baselines. Every row remains below the 26,300 portable-character ceiling.
|
|
243
|
-
A valid third worker unit with a
|
|
244
|
-
when all three workflow options are on. A
|
|
243
|
+
A valid third worker unit with a 118-character label reaches 26,300 exactly
|
|
244
|
+
when all three workflow options are on. A 119-character label reaches 26,301,
|
|
245
245
|
the first value beyond the ceiling.
|
|
246
246
|
|
|
247
247
|
The over-cap counterfactual uses a valid shipped logical policy and one supported
|
|
248
248
|
worker-extension unit with 88 capped tools. It also includes an open change,
|
|
249
|
-
its source, and the legacy root log. Its 28,
|
|
250
|
-
the whole-doctrine ceiling by 1,
|
|
249
|
+
its source, and the legacy root log. Its 28,046 portable characters exceed
|
|
250
|
+
the whole-doctrine ceiling by 1,746. The check therefore detects whole-doctrine
|
|
251
251
|
growth without using a retired model-row shape or an assumed per-tool increment.
|
|
252
252
|
Worker-extension doctrine has no runtime size cap, so the fixture reaches the
|
|
253
253
|
whole-doctrine guard rather than failing logical-policy validation first.
|
|
@@ -266,16 +266,16 @@ per-turn doctrine.
|
|
|
266
266
|
|
|
267
267
|
| Worker preamble form | UTF-8 bytes | Increase from base |
|
|
268
268
|
| --- | ---: | ---: |
|
|
269
|
-
| Base | 1,
|
|
270
|
-
| Base + writing guidance | 1,
|
|
271
|
-
| Base + reviewer charter | 3,
|
|
272
|
-
| Base + writing guidance + reviewer charter | 4,
|
|
269
|
+
| Base | 1,317 | — |
|
|
270
|
+
| Base + writing guidance | 1,861 | 544 |
|
|
271
|
+
| Base + reviewer charter | 3,472 | 2,155 |
|
|
272
|
+
| Base + writing guidance + reviewer charter | 4,016 | 2,699 |
|
|
273
273
|
|
|
274
274
|
The preamble explains that the harness runs calls issued in one turn at the
|
|
275
275
|
same time. It also explains that cumulative token cost grows with the square of
|
|
276
276
|
the number of turns because each turn resends the conversation history.
|
|
277
277
|
|
|
278
|
-
The writing guidance is
|
|
278
|
+
The writing guidance is 543 bytes. The reviewer charter constant is 2,154 bytes.
|
|
279
279
|
The writing addendum needs one separating space. The reviewer charter addendum
|
|
280
280
|
needs one separating newline. The current text uses UTF-8 punctuation, so byte
|
|
281
281
|
and character counts can differ.
|
|
@@ -299,8 +299,8 @@ Its action path adds `/tmp/action.` and six allocator characters.
|
|
|
299
299
|
| No-change hidden action message | 0 | 0 | 0 | 0 |
|
|
300
300
|
|
|
301
301
|
The message includes both final line feeds. System blocks have no final line feed.
|
|
302
|
-
Open-change record-writing system totals are 2,
|
|
303
|
-
Open-change review system totals are 3,
|
|
302
|
+
Open-change record-writing system totals are 2,116 or 2,660 bytes without or with writing guidance.
|
|
303
|
+
Open-change review system totals are 3,785 or 4,329 bytes without or with writing guidance.
|
|
304
304
|
These totals exclude selected review guidance, prompt documents, base Pi text, and provider framing.
|
|
305
305
|
|
|
306
306
|
The parent-session cache key stays unchanged.
|
|
@@ -329,8 +329,8 @@ The count excludes the original task and its separating newlines.
|
|
|
329
329
|
|
|
330
330
|
| Writing guidance | System preamble bytes | Task guidance bytes, no source / source | Sum, no source / source |
|
|
331
331
|
| --- | ---: | ---: | ---: |
|
|
332
|
-
| Off | 1,
|
|
333
|
-
| On | 1,
|
|
332
|
+
| Off | 1,317 | 995 / 1,377 | 2,312 / 2,694 |
|
|
333
|
+
| On | 1,861 | 995 / 1,377 | 2,856 / 3,238 |
|
|
334
334
|
|
|
335
335
|
The sums exclude message and provider framing.
|
|
336
336
|
They do not join the preamble and task as one system block.
|
|
@@ -534,42 +534,42 @@ reads. Any subset fits because removing ranges cannot increase union size.
|
|
|
534
534
|
|
|
535
535
|
| Phase | Publishing | Plan | Required bytes | Estimated tokens | Byte limit | Token limit | Conditional maximum bytes | Estimated tokens | Byte limit | Token limit |
|
|
536
536
|
| --- | --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
|
537
|
-
| 1. Research | off | ordinary |
|
|
538
|
-
| 1. Research | off | nested |
|
|
539
|
-
| 1. Research | on | ordinary |
|
|
540
|
-
| 1. Research | on | nested |
|
|
541
|
-
| 2. Risk assessment | off | ordinary |
|
|
542
|
-
| 2. Risk assessment | off | nested |
|
|
543
|
-
| 2. Risk assessment | on | ordinary |
|
|
544
|
-
| 2. Risk assessment | on | nested |
|
|
545
|
-
| 3. Design validation | off | ordinary |
|
|
546
|
-
| 3. Design validation | off | nested |
|
|
547
|
-
| 3. Design validation | on | ordinary |
|
|
548
|
-
| 3. Design validation | on | nested |
|
|
549
|
-
| 4. Focus reconfirmation | off | ordinary |
|
|
550
|
-
| 4. Focus reconfirmation | off | nested |
|
|
551
|
-
| 4. Focus reconfirmation | on | ordinary |
|
|
552
|
-
| 4. Focus reconfirmation | on | nested |
|
|
553
|
-
| 5. Adversarial design review | off | ordinary |
|
|
554
|
-
| 5. Adversarial design review | off | nested |
|
|
555
|
-
| 5. Adversarial design review | on | ordinary |
|
|
556
|
-
| 5. Adversarial design review | on | nested |
|
|
557
|
-
| 6. Final design approval | off | ordinary |
|
|
558
|
-
| 6. Final design approval | off | nested |
|
|
559
|
-
| 6. Final design approval | on | ordinary |
|
|
560
|
-
| 6. Final design approval | on | nested |
|
|
561
|
-
| 7. Track loop | off | ordinary |
|
|
562
|
-
| 7. Track loop | off | nested |
|
|
563
|
-
| 7. Track loop | on | ordinary |
|
|
564
|
-
| 7. Track loop | on | nested |
|
|
565
|
-
| 8. Final acceptance | off | ordinary |
|
|
566
|
-
| 8. Final acceptance | off | nested |
|
|
567
|
-
| 8. Final acceptance | on | ordinary |
|
|
568
|
-
| 8. Final acceptance | on | nested |
|
|
569
|
-
| 9. Delivery | off | ordinary |
|
|
570
|
-
| 9. Delivery | off | nested |
|
|
571
|
-
| 9. Delivery | on | ordinary |
|
|
572
|
-
| 9. Delivery | on | nested |
|
|
537
|
+
| 1. Research | off | ordinary | 75507 | 18877 | 75856 | 18964 | 144490 | 36123 | 144492 | 36123 |
|
|
538
|
+
| 1. Research | off | nested | 90792 | 22698 | 129137 | 32285 | 159775 | 39944 | 197773 | 49444 |
|
|
539
|
+
| 1. Research | on | ordinary | 87019 | 21755 | 92700 | 23175 | 156002 | 39001 | 161336 | 40334 |
|
|
540
|
+
| 1. Research | on | nested | 102304 | 25576 | 145981 | 36496 | 171287 | 42822 | 214617 | 53655 |
|
|
541
|
+
| 2. Risk assessment | off | ordinary | 111900 | 27975 | 114401 | 28601 | 180883 | 45221 | 183038 | 45760 |
|
|
542
|
+
| 2. Risk assessment | off | nested | 127185 | 31797 | 167682 | 41921 | 196168 | 49042 | 236319 | 59080 |
|
|
543
|
+
| 2. Risk assessment | on | ordinary | 123412 | 30853 | 131245 | 32812 | 192395 | 48099 | 199882 | 49971 |
|
|
544
|
+
| 2. Risk assessment | on | nested | 138697 | 34675 | 184526 | 46132 | 207680 | 51920 | 253163 | 63291 |
|
|
545
|
+
| 3. Design validation | off | ordinary | 111900 | 27975 | 114401 | 28601 | 180883 | 45221 | 183038 | 45760 |
|
|
546
|
+
| 3. Design validation | off | nested | 127185 | 31797 | 167682 | 41921 | 196168 | 49042 | 236319 | 59080 |
|
|
547
|
+
| 3. Design validation | on | ordinary | 123412 | 30853 | 131245 | 32812 | 192395 | 48099 | 199882 | 49971 |
|
|
548
|
+
| 3. Design validation | on | nested | 138697 | 34675 | 184526 | 46132 | 207680 | 51920 | 253163 | 63291 |
|
|
549
|
+
| 4. Focus reconfirmation | off | ordinary | 111900 | 27975 | 114401 | 28601 | 180883 | 45221 | 183038 | 45760 |
|
|
550
|
+
| 4. Focus reconfirmation | off | nested | 127185 | 31797 | 167682 | 41921 | 196168 | 49042 | 236319 | 59080 |
|
|
551
|
+
| 4. Focus reconfirmation | on | ordinary | 123412 | 30853 | 131245 | 32812 | 192395 | 48099 | 199882 | 49971 |
|
|
552
|
+
| 4. Focus reconfirmation | on | nested | 138697 | 34675 | 184526 | 46132 | 207680 | 51920 | 253163 | 63291 |
|
|
553
|
+
| 5. Adversarial design review | off | ordinary | 134815 | 33704 | 138753 | 34689 | 231582 | 57896 | 236562 | 59141 |
|
|
554
|
+
| 5. Adversarial design review | off | nested | 150100 | 37525 | 192034 | 48009 | 246867 | 61717 | 289844 | 72461 |
|
|
555
|
+
| 5. Adversarial design review | on | ordinary | 146327 | 36582 | 155597 | 38900 | 243094 | 60774 | 253406 | 63352 |
|
|
556
|
+
| 5. Adversarial design review | on | nested | 161612 | 40403 | 208878 | 52220 | 258379 | 64595 | 306688 | 76672 |
|
|
557
|
+
| 6. Final design approval | off | ordinary | 134815 | 33704 | 138753 | 34689 | 231582 | 57896 | 236562 | 59141 |
|
|
558
|
+
| 6. Final design approval | off | nested | 150100 | 37525 | 192034 | 48009 | 246867 | 61717 | 289844 | 72461 |
|
|
559
|
+
| 6. Final design approval | on | ordinary | 146327 | 36582 | 155597 | 38900 | 243094 | 60774 | 253406 | 63352 |
|
|
560
|
+
| 6. Final design approval | on | nested | 161612 | 40403 | 208878 | 52220 | 258379 | 64595 | 306688 | 76672 |
|
|
561
|
+
| 7. Track loop | off | ordinary | 158010 | 39503 | 163384 | 40846 | 259414 | 64854 | 302924 | 75731 |
|
|
562
|
+
| 7. Track loop | off | nested | 173295 | 43324 | 216665 | 54167 | 259414 | 64854 | 302924 | 75731 |
|
|
563
|
+
| 7. Track loop | on | ordinary | 169522 | 42381 | 180228 | 45057 | 270926 | 67732 | 319769 | 79943 |
|
|
564
|
+
| 7. Track loop | on | nested | 184807 | 46202 | 233509 | 58378 | 270926 | 67732 | 319769 | 79943 |
|
|
565
|
+
| 8. Final acceptance | off | ordinary | 158010 | 39503 | 163384 | 40846 | 259414 | 64854 | 302924 | 75731 |
|
|
566
|
+
| 8. Final acceptance | off | nested | 173295 | 43324 | 216665 | 54167 | 259414 | 64854 | 302924 | 75731 |
|
|
567
|
+
| 8. Final acceptance | on | ordinary | 169522 | 42381 | 180228 | 45057 | 270926 | 67732 | 319769 | 79943 |
|
|
568
|
+
| 8. Final acceptance | on | nested | 184807 | 46202 | 233509 | 58378 | 270926 | 67732 | 319769 | 79943 |
|
|
569
|
+
| 9. Delivery | off | ordinary | 158010 | 39503 | 163384 | 40846 | 259414 | 64854 | 302924 | 75731 |
|
|
570
|
+
| 9. Delivery | off | nested | 173295 | 43324 | 216665 | 54167 | 259414 | 64854 | 302924 | 75731 |
|
|
571
|
+
| 9. Delivery | on | ordinary | 169522 | 42381 | 180228 | 45057 | 270926 | 67732 | 319769 | 79943 |
|
|
572
|
+
| 9. Delivery | on | nested | 184807 | 46202 | 233509 | 58378 | 270926 | 67732 | 319769 | 79943 |
|
|
573
573
|
|
|
574
574
|
Conditional sets have the following whole-document costs. Early notes cost
|
|
575
575
|
zero extra after required notes enter phase 7. Unusual prose costs zero extra
|
|
@@ -578,17 +578,13 @@ include the recursive workflow. Ordinary plans add it to their maximum from
|
|
|
578
578
|
phase 7 before a split proposal. Manual review includes common policy, writing
|
|
579
579
|
guidance, and all twelve charters from phase 5. Built-in review loads its
|
|
580
580
|
implementation input for workers only. It adds no orchestrator read.
|
|
581
|
-
The default commit format adds only the Default template section at delivery
|
|
582
|
-
when no applicable project commit rule exists. It does not enable publishing.
|
|
583
|
-
|
|
584
581
|
| Conditional set | Bytes | Estimated tokens |
|
|
585
582
|
| --- | ---: | ---: |
|
|
586
|
-
| Default commit format | 429 | 108 |
|
|
587
583
|
| Rationale | 30268 | 7567 |
|
|
588
|
-
| Unusual prose |
|
|
584
|
+
| Unusual prose | 28067 | 7017 |
|
|
589
585
|
| Early notes | 10648 | 2662 |
|
|
590
|
-
| Ordinary split |
|
|
591
|
-
| Manual review |
|
|
586
|
+
| Ordinary split | 15285 | 3822 |
|
|
587
|
+
| Manual review | 55851 | 13963 |
|
|
592
588
|
|
|
593
589
|
Private evidence, designs, reports, source chains, project additions, configured
|
|
594
590
|
prompt documents, provider framing, tools, results, message wrappers, repeated
|
|
@@ -43,7 +43,7 @@ check results and review verdicts.
|
|
|
43
43
|
Use this order. `<number>` is the track identifier (canonical path number).
|
|
44
44
|
|
|
45
45
|
```markdown
|
|
46
|
-
## Track <
|
|
46
|
+
## Track <number> <name> (<position> of <count>)
|
|
47
47
|
|
|
48
48
|
**Intention**
|
|
49
49
|
<The approved behavior and scope.>
|
|
@@ -67,7 +67,7 @@ Keep the cumulative implementation commit or exact range in the owning research
|
|
|
67
67
|
For code ranges and design markers, use [change-records.md](change-records.md)
|
|
68
68
|
§ Identifiers, code ranges, and design markers.
|
|
69
69
|
The owning research log names a design track's approved design, accepted child ranges,
|
|
70
|
-
and
|
|
70
|
+
and its contribution to the change delivery. A design track has no implementation range or extra cumulative commit.
|
|
71
71
|
Do not count accepted child work as new implementation.
|
|
72
72
|
With publishing, state the delivery result when it affects acceptance.
|
|
73
73
|
Disclose merge state and unmerged dependencies when acceptance needs them.
|
|
@@ -78,7 +78,7 @@ The **Next step** states the applicable acceptance action. Follow
|
|
|
78
78
|
code-track acceptance and boundary rules.
|
|
79
79
|
For a design track, use [recursive-workflow.md](recursive-workflow.md) § Whole-subtree acceptance.
|
|
80
80
|
The package states deviations and their effects on later sibling tracks.
|
|
81
|
-
|
|
81
|
+
Before change completion, list each remaining document, prompt, or extension difference and its later owning track.
|
|
82
82
|
The package asks for blocking track acceptance for every code track in a multi-track
|
|
83
83
|
change, regardless of proved areas. Final change acceptance remains separate.
|
|
84
84
|
|
|
@@ -114,9 +114,9 @@ and consequences.>
|
|
|
114
114
|
The **Decision** field asks explicitly for the final acceptance required by
|
|
115
115
|
[track-workflow.md](track-workflow.md) § Delivery and termination. Do not treat
|
|
116
116
|
silence as acceptance.
|
|
117
|
-
The owning research log
|
|
118
|
-
Disclose an
|
|
119
|
-
|
|
117
|
+
The owning research log records the change's delivery state.
|
|
118
|
+
Disclose an unfinished dependency when it affects acceptance.
|
|
119
|
+
The whole change uses one branch and at most one pull request.
|
|
120
120
|
|
|
121
121
|
When trusted configuration enables `workflow.routingRecommendations` and records
|
|
122
122
|
support advice, include **Model-routing recommendations** immediately before **Decision**. Use
|
|
@@ -170,53 +170,54 @@ The research log is the accounting authority on both delivery paths.
|
|
|
170
170
|
Attribute design-track and review-fix conclusions to their level in the owning log.
|
|
171
171
|
Keep root-wide and whole-subtree conclusions in the log that closes them.
|
|
172
172
|
Reference other levels without counting their implementation again.
|
|
173
|
-
Keep accounting out of the pull request description and
|
|
173
|
+
Keep accounting out of the pull request description and its squash-merge commit body.
|
|
174
174
|
Packages disclose relevant concerns and decisions.
|
|
175
175
|
Show accounting references only when a decision needs them.
|
|
176
|
-
After merge, verify the
|
|
177
|
-
|
|
176
|
+
After merge, verify that the host merged the recorded accepted final head.
|
|
177
|
+
Use [pr-publishing.md](pr-publishing.md) § After the merge for every merge method.
|
|
178
|
+
Record that result in the owning log before root closure.
|
|
178
179
|
Report delivery state only when a decision needs it.
|
|
179
180
|
|
|
180
|
-
|
|
181
|
+
Use this order even when the pull request is already ready:
|
|
181
182
|
|
|
182
|
-
1. Obtain
|
|
183
|
-
2. Record
|
|
184
|
-
3.
|
|
185
|
-
4.
|
|
186
|
-
5.
|
|
187
|
-
6.
|
|
183
|
+
1. Obtain every required code-track and whole-subtree acceptance after its package and prerequisites.
|
|
184
|
+
2. Record each decision and its aggregate evidence in the owning research log. Add design markers only after their whole-subtree acceptance. Reuse earlier accepted boundary evidence.
|
|
185
|
+
3. After all whole-subtree acceptances, obtain root final acceptance of the whole change.
|
|
186
|
+
4. Finish required markers and branch updates under [pr-publishing.md](pr-publishing.md) § After the flip. Obtain renewed acceptance when that rule requires it. Verify all owning logs against every accounting source.
|
|
187
|
+
5. Then record the accepted final head of the change branch in the owning research log before merge handoff.
|
|
188
|
+
6. Only then hand the pull request to the user for merge. Only the user merges.
|
|
188
189
|
|
|
189
190
|
A missing acceptance or required conclusion blocks handoff for merge.
|
|
190
|
-
Verify
|
|
191
|
+
Verify the change's delivery accounting and all root-wide accounting before root closure.
|
|
191
192
|
|
|
192
193
|
<!-- publishing-disabled-accounting:begin -->
|
|
193
|
-
|
|
194
|
-
final acceptance. Use this sequence:
|
|
194
|
+
With draft publishing disabled, deliver accepted branch history in this sequence:
|
|
195
195
|
|
|
196
196
|
1. Before each intermediate code or design package, reconcile all accounting
|
|
197
197
|
sources for that track and its subtree. Show record and range references only
|
|
198
|
-
when a decision needs them.
|
|
199
|
-
2. Before the change package, reconcile every
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
198
|
+
when a decision needs them.
|
|
199
|
+
2. Before the change package, reconcile every accounting source across the whole
|
|
200
|
+
change. Complete each design-track acceptance before its marker.
|
|
201
|
+
Retain all records and accepted histories through root final acceptance.
|
|
202
|
+
3. After root final acceptance, finish required markers after their acceptance
|
|
203
|
+
decisions. Acceptance adds no commit or rewrite.
|
|
204
|
+
Keep the local branch and accepted-marker branches until root closure.
|
|
205
|
+
Use the local branch for delivery verification and resume.
|
|
206
|
+
Follow [track-workflow.md](track-workflow.md) § Delivery and termination.
|
|
207
|
+
4. Before local delivery, check all history reachable from the delivered branch for
|
|
208
|
+
private change records and private bytes, not only the final tree. On a match, pause.
|
|
209
|
+
The user chooses rewrite before publication, explicit waiver, or abandonment.
|
|
210
|
+
Preserve reviewed state under [track-workflow.md](track-workflow.md)
|
|
211
|
+
§ Delivery history and accounting. Renew acceptance of the rewritten head before delivery verification.
|
|
212
|
+
Verify the completed history and owning-log accounting separately against the
|
|
213
|
+
accepted history and every required conclusion before closing with `slate_change close`.
|
|
211
214
|
Keep all manual records and source chains. Only the user deletes the change folder.
|
|
212
215
|
|
|
213
216
|
Abandonment at any stage ends with `slate_change close`. No delivery artifact is
|
|
214
217
|
needed for abandonment, and the close deletes nothing.
|
|
215
218
|
|
|
216
|
-
A publishing-disabled single-track change starts at step 2.
|
|
217
|
-
|
|
218
|
-
steps 2 through 4. No package requires a future commit body before that commit
|
|
219
|
-
exists.
|
|
219
|
+
A publishing-disabled single-track change starts at step 2.
|
|
220
|
+
A multi-track change repeats step 1 for each track, then runs steps 2 through 4.
|
|
220
221
|
<!-- publishing-disabled-accounting:end -->
|
|
221
222
|
|
|
222
223
|
Retain conclusions and evidence needed for the listed accounting. Do not
|