ytdb-slate 0.16.0 → 0.18.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 CHANGED
@@ -1,73 +1,95 @@
1
- # ytdb-slate: multi-agent orchestration for the pi coding agent
1
+ # ytdb-slate: design-first feature development for the pi coding agent
2
2
 
3
3
  [![CI status](https://github.com/JetBrains/ytdb-slate/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/JetBrains/ytdb-slate/actions/workflows/ci.yml)
4
4
 
5
- Slate is a multi-agent orchestration extension for the [pi coding agent](https://pi.dev). You work in one interactive pi session, the main session. A bounded action is a focused task with a clear limit. A worker thread is an isolated pi session that researches, implements, or reviews changes. Slate sends bounded actions to separate worker threads. Each worker thread returns a short structured summary called an episode. A review workflow adds reviewers for risks the orchestrator proves or for work above a size threshold.
5
+ Slate is an extension for the [pi coding agent](https://pi.dev) for features that need deep domain knowledge, such as database or system code. You describe what a change must do. Slate researches the code and published approaches, proposes a design, implements the change, and reviews the result. You judge designs and results. You keep control without reading every line. Judging each design helps deepen your expertise.
6
6
 
7
- The developers of the [YouTrackDB](https://github.com/JetBrains/youtrackdb) database use Slate in production development.
7
+ Slate comes from the [YouTrackDB](https://github.com/JetBrains/youtrackdb) team, which develops all YouTrackDB features with Slate. Slate helps new contributors with strong reasoning skills build database features quickly and at high quality, without deep database experience. Developers outside YouTrackDB also use Slate.
8
8
 
9
- ## What Slate does
9
+ ## Who does what
10
10
 
11
- - Gives each worker thread context for one action, not the full main-session history.
12
- - Summarizes work at the action boundary. Summaries can omit details.
13
- - Lets Slate adapt its plan after each result.
14
- - Saves episodes for later worker threads to use by reference.
15
- - Runs independent actions in parallel.
11
+ | You | Slate |
12
+ | --- | --- |
13
+ | State the intent and limits of a change. | Researches the code and published approaches. |
14
+ | Judge the design, logic and risks. | Proposes designs and names proved risks. |
15
+ | Answer product and permission questions. | Implements the change in focused steps. |
16
+ | Accept the final result. | Adds reviewers for risky or large changes and reports their findings. |
16
17
 
17
18
  ## Quick start
18
19
 
19
- Slate requires pi 1.4.0 or later. Older pi can still load the package, but it is not supported. Slate provides no runtime version warning.
20
-
21
- You need an installed and authenticated [pi coding agent](https://pi.dev/docs/latest/quickstart). From your project directory, install a pinned Slate version:
20
+ Use pi 1.4.0 or later. Older pi can load Slate but is unsupported. Slate has no runtime version warning. Install and authenticate [pi](https://pi.dev/docs/latest/quickstart), then pin Slate in your project:
22
21
 
23
22
  ```bash
24
23
  pi install -l npm:ytdb-slate@<version>
25
24
  ```
26
25
 
27
- The `-l` option records the package in `.pi/settings.json`. Pi may ask you to trust the project before loading its settings and extensions. Pi skips pins during `pi update --extensions` and `pi update --all`. Review the shipped workflow documents before moving the pin.
26
+ The `-l` option records the package in `.pi/settings.json`. Pi may ask you to trust the project. Pi skips pins during `pi update --extensions` and `pi update --all`. Review the shipped workflow documents before moving the pin.
28
27
 
29
- Slate has not reached version 1.0. Releases that change only the last number, for example 0.11.0 and 0.11.3, are compatible. A release that changes the second number, for example 0.12.0, can break compatibility. Review the release notes before you update.
28
+ Before 1.0, releases changing only the last number are compatible, such as 0.11.0 and 0.11.3. Changing the second number can break compatibility. Review release notes before updating.
30
29
 
31
- Start a new interactive pi session and let Slate delegate actions:
30
+ Start a new interactive pi session:
32
31
 
33
32
  ```text
34
33
  /slate on
35
34
  ```
36
35
 
37
- Try a request with a clear outcome:
36
+ Try a request:
38
37
 
39
38
  ```text
40
39
  Add input validation to the account settings endpoint. First research the relevant code and tests. Show me the proposed plan and risks before implementation.
41
40
  ```
42
41
 
43
- Slate asks for required decisions before editing code. It delegates work after workflow gates allow it. The workflow summary is off by default. Run `/slate summary on` to save an opt-in. The panel appears at the next interactive startup or mode activation, not when you save the choice. The summary disappears when you send your first prompt to the model. A handoff successor keeps the current panel visibility instead of using the saved choice.
42
+ ## How a change works
44
43
 
45
- Run `/slate off` to stop Slate's delegation and remove the summary. `/slate summary off` also removes it. Toggling orchestrator mode off with `/slate` removes it too. Other slash commands leave it visible unless they reload or replace the session. `/reload`, `/new`, `/resume`, and `/fork` clear the panel when they reload or replace the session. Slate then shows it only when orchestrator mode is on and the saved choice allows automatic display. Run `/slate summary` to show it at any time. See [Commands](#commands).
44
+ Slate researches, assesses risks, and asks for required decisions before editing code. You judge designs and review results. You accept the whole change before merging.
46
45
 
47
- ## How Slate works
46
+ See [workflow](docs/track-workflow.md), [nested planning](docs/recursive-workflow.md), and [publishing guidance](docs/pr-publishing.md) for rules.
48
47
 
49
- - **Main session and orchestrator:** the interactive pi session where you set goals and review results. In **orchestrator mode**, it delegates actions.
50
- - **Bounded action:** focused work with a clear limit and expected result.
51
- - **Worker thread:** an isolated pi session for one action. Follow-up work starts a new thread.
52
- - **Episode:** a durable, structured summary of an action. It retains intent, actions, findings, artifacts, open issues, and handoff notes.
48
+ ## How Slate differs from spec-driven development
53
49
 
54
- Through `context`, later worker threads can receive earlier episodes without full transcripts. A model summarizes completed work and failed partial work. A worker thread that fails without a response receives a fixed episode instead. Summaries can lose details. [Design principles](docs/design-principles.md) and [model routing](docs/model-routing.md) explain the limits.
50
+ Spec-driven development (SDD) puts a written specification at the center of the work. Some developers worry that this becomes a waterfall process, where all design ends before anyone writes code. Slate also uses written designs, but it works in small, checked steps:
55
51
 
56
- Slate independently implements the thread-weaving architecture from the Random Labs technical report for `@randomlabs/slate`.
52
+ - **Research first.** Slate studies existing code and published approaches before proposing a design. You judge the proposal.
53
+ - **Design and code advance together.** A track is a reviewable part of a change. About 400 changed lines per track is a guideline, not a limit. In a change with several tracks, you accept each track when it is complete. You also accept the whole change at the end.
54
+ - **Design can change.** When implementation must change a guarantee or an assumption of the approved design, Slate shows you the change and asks for your approval.
55
+ - **Review depth follows risk.** Slate adds reviewers for proved risks, such as data loss or concurrency defects. Small changes without proved risks get fewer steps. See [review rules](docs/review-rules.md).
57
56
 
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 level 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
57
+ Eleven focus areas name specific risks. They cover
59
58
  concurrency defects, data loss, security weaknesses, performance degradation,
60
59
  test-quality defects, unreadable user-facing prose, licensing exposure,
61
60
  non-local logic defects, consumer contract breaks, governing-rule defects, and
62
61
  unreported failures.
63
62
 
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. Optional draft pull requests cover each level with code tracks. A change without nested tracks has at most one pull request. 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 pull requests. See [recursive workflow](docs/recursive-workflow.md) for nested planning, repair children, and acceptance.
63
+ See [focus areas](docs/blast-radius.md).
64
+
65
+ ## What users say
66
+
67
+ > ytdb-slate pi extension which rises my development expertise to the whole new level. I am not bad developer, but I don't have a lot of experience with db development and system programming. With slate I was able to be as productive as expert in this area. Slate takes all the complexity and deep knowledge needed and only leaves the good reasoning and logic to me. So, basically, every human with a good reasoning skills and some background understanding of computers and networks could become a pro system developer. I truly believe slate is a new revolution in the software development.
68
+
69
+ — YouTrackDB developer
70
+
71
+ ## When plain pi is enough
72
+
73
+ Use plain pi for small, well-understood edits. Slate uses more model calls than plain pi, so it costs more. Designs and reviews do not guarantee correct code. You still judge the evidence.
65
74
 
66
75
  ## Product principles
67
76
 
68
- - **Control without reading every line.** Many coding agents produce code that the developer accepts without reading it. Slate keeps you in control in a different way. It gives you higher-level views of the work: proved risks, designs, and review results. You direct and check each change through these views, so you do not need to read all of the generated code.
69
- - **Quality before cost, within limits.** We expect the cost of model use to fall over time. Slate therefore spends more model work on code quality, up to a reasonable limit. For example, Slate adds reviewers for proved risks and for large tracks that change code.
70
- - **Cost in proportion to the change.** The cost of a change should grow in proportion to its complexity. A small track with no proved risk gets no design gate and no routine implementation reviewer. A larger or riskier track can add design steps, review steps, or both.
77
+ - **Control without reading every line.** Judge designs, proved risks and review results instead of relying only on code inspection.
78
+ - **Quality before cost, within limits.** Slate spends more model work on quality, up to a reasonable limit.
79
+ - **Cost in proportion to the change.** Small changes without proved risks need fewer steps than large or risky changes.
80
+
81
+ ## How Slate works
82
+
83
+ Slate uses multi-agent orchestration:
84
+
85
+ - **Main session:** your interactive pi session. In orchestrator mode, it delegates work.
86
+ - **Bounded action:** focused work with a clear limit and expected result.
87
+ - **Worker thread:** an isolated pi session for one action.
88
+ - **Episode:** a durable, structured summary of an action.
89
+
90
+ Slate sends bounded actions to worker threads. The orchestrator manages worker threads, keeps steps focused, adapts after results, and runs independent actions in parallel. Later worker threads receive episodes by reference through `context`, without full transcripts. Summaries can lose details.
91
+
92
+ Slate independently implements the thread-weaving architecture from the Random Labs technical report for `@randomlabs/slate`. See [design principles](docs/design-principles.md) and [model routing](docs/model-routing.md).
71
93
 
72
94
  ## Commands
73
95
 
@@ -95,13 +117,19 @@ Slate limits which extensions worker threads can load and which project settings
95
117
 
96
118
  ## Roadmap
97
119
 
98
- The main goal is that you can guide a change through its design without reading the code. Planned work:
120
+ The planned vision has two levels between requirements and code. A high-level design states what must be true and why. A low-level design shows how the code works through:
121
+
122
+ - **Baseline map:** explains how the current code works before a change.
123
+ - **Implementation map:** explains what the delivered code does.
124
+ - **Neutral pseudocode:** describes logic without a specific programming language.
125
+
126
+ Maps are under development. Other plans:
99
127
 
100
- 1. Design documents that state exact guarantees and show why the design keeps them. Reviewers check the code against the approved design ([#402](https://github.com/JetBrains/ytdb-slate/issues/402), [#403](https://github.com/JetBrains/ytdb-slate/issues/403), [#404](https://github.com/JetBrains/ytdb-slate/issues/404)).
101
- 2. Better developer experience: asynchronous threads, a detailed cost breakdown, and a read-only view of thread execution.
102
- 3. Remote development: planned support will allow you to set up your own infrastructure to steer agents from a laptop, a desktop or a phone through one browser application, with notifications when an agent needs attention.
128
+ 1. Exact design guarantees, reasoning, and review against the approved design ([#402](https://github.com/JetBrains/ytdb-slate/issues/402), [#403](https://github.com/JetBrains/ytdb-slate/issues/403), [#404](https://github.com/JetBrains/ytdb-slate/issues/404)).
129
+ 2. Asynchronous threads, a detailed cost breakdown, and a read-only view of thread execution.
130
+ 3. Remote development on your infrastructure through one browser application, from a laptop, desktop or phone, with notifications when an agent needs attention.
103
131
 
104
- See [`docs/roadmap.md`](docs/roadmap.md) for details.
132
+ See [roadmap](docs/roadmap.md) for details.
105
133
 
106
134
  ## Shipped docs
107
135
 
@@ -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 level is the merge unit.
31
+ Levels group planning only. The change is the merge unit.
32
32
  All checks pass at each child marker.
33
- Agreement across documents, prompt guidance, and the extension is required at
34
- the level boundary.
35
- Intermediate track packages and review intentions list each remaining difference
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 marker commits, track-title
435
- prefixes and the source of truth for track boundaries. This section owns the
436
- remaining commit discipline.
437
-
438
- These review-range body rules do not govern the final publishing-disabled delivery squash.
439
- That squash follows project commit rules or the default under
440
- [track-workflow.md](track-workflow.md) § Delivery history and accounting.
441
-
442
- The cumulative implementation commit is defined in
443
- [track-workflow.md](track-workflow.md) § Lifecycle and phases. When the track
444
- has a high-level design, the cumulative implementation commit body carries the
445
- track high-level design followed by the track low-level design. When the track
446
- has no high-level design, the ordinary two-part Intent and Deviation-delta shape
447
- applies. This conditional body rule is also stated in
448
- [track-workflow.md](track-workflow.md) § Delivery and termination.
449
-
450
- The original implementation commit, each agentic-review fix commit, and each
451
- user-review fix commit body has exactly two parts:
452
-
453
- 1. **Intent:** what the commit accomplishes, not how it accomplishes it.
454
- 2. **Deviation delta:** only what differs from the original track task. Leave
455
- this part empty when nothing differs.
456
-
457
- The deviation delta may contain only a deviation already sanctioned by a halt
458
- and re-confirmation, a design-delta approval, or an immaterial design change.
459
- A material deviation discovered at commit time fires a halt. The commit body
460
- must never become a side channel for unapproved drift.
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.
@@ -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, delivery commit bodies, release notes, and issues.
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 a prior code marker, design marker, or level start, not path-number arithmetic.
27
- Exclude a publishing bootstrap.
28
- Every non-marker commit in the range belongs to that code track.
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
- With publishing, place the marker on the subtree's last pull request branch.
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
@@ -46,12 +46,13 @@ 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. |
52
53
  | `notifications.pushDetail` | `generic` \| `project` \| `message` | `generic` | Independent text permission for push, with the same levels. Only home can raise it. A trusted project can lower it. General detail does not raise push detail. |
53
- | `notifications.minimumDelayMs` | number | `30000` | Minimum interval since input, in milliseconds. Accept a nonnegative safe integer. A trusted project value wins. |
54
- | `notifications.cooldownMs` | number | `60000` | Minimum interval between events of the same type, in milliseconds. Accept a nonnegative safe integer. A trusted project value wins. |
54
+ | `notifications.minimumDelayMs` | number | `120000` | Minimum interval since input, in milliseconds. Accept a nonnegative safe integer. A trusted project value wins. |
55
+ | `notifications.cooldownMs` | number | ignored | This removed setting has no effect. Slate reports it at session start for each source that contains it. Remove it from `slate.json`. |
55
56
  | `notifications.sequences` | `auto` \| string[] | `auto` | An explicit list must contain distinct values from `osc9`, `osc777`, and `osc99`. The list must not be empty. List order is preserved. A trusted project value wins. |
56
57
  | `notifications.push.server` | string | — | Accept HTTPS (Hypertext Transfer Protocol Secure) addresses from home configuration for encrypted web traffic. Accept HTTP (Hypertext Transfer Protocol) only for loopback addresses, which refer to this computer. Allow `localhost`, IPv4 (Internet Protocol version 4) addresses starting with `127.`, or `::1`. HTTP connections also require a resolved loopback address. Reject embedded credentials, query strings, and fragments. The request path ends with `/`. An invalid address disables push with a generic warning. Slate ignores project destination and credential fields with one generic warning. |
57
58
  | `notifications.push.topic` | string | — | Home-only topic name of 1 to 64 characters. Accept ASCII (American Standard Code for Information Interchange) letters `A-Z` and `a-z`, digits `0-9`, `_`, or `-`. Enabled push requires both server and topic. An invalid or missing destination disables push. |
@@ -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 per level with code tracks. A change without design tracks keeps one pull request. See [pr-publishing.md](pr-publishing.md) § One draft pull request and § Creation. |
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). |
@@ -88,7 +89,7 @@ The project must be trusted before Slate reads this file. Start a new session af
88
89
 
89
90
  Notification settings define permissions and text policy. Slate validates these settings at session start. Slate registers terminal, bell, native and push delivery channels. A channel is one delivery route. Slate registers no notification tool. See [Notifications](#notifications) for automatic delivery and setup.
90
91
 
91
- Invalid values produce generic warnings that name the setting and its home or project source without showing supplied values. Invalid channel values use the channel defaults, combined with home permission for project values. Invalid detail falls back to `generic`. Invalid intervals use their defaults. Invalid sequence selection uses `auto`. Invalid or incomplete push destinations disable push.
92
+ Invalid values produce generic warnings that name the setting and its home or project source without showing supplied values. Invalid channel values use the channel defaults, combined with home permission for project values. Invalid detail falls back to `generic`. An invalid minimum delay uses its default. Invalid sequence selection uses `auto`. Invalid or incomplete push destinations disable push.
92
93
 
93
94
  ## Action concurrency and script workers
94
95
 
@@ -153,13 +154,13 @@ Closing the dialog cancels its pending wait.
153
154
  These events can also describe nonblocking overlays.
154
155
  An event proves an outstanding interaction, not that the agent has stopped.
155
156
 
156
- The default minimum delay is 30,000 milliseconds, or 30 seconds.
157
+ The default minimum delay is 120,000 milliseconds, or two minutes.
158
+ The same delay applies to run waits and dialog waits.
157
159
  The delay starts at settlement or dialog opening, whichever wait applies.
158
160
  Observed activity restarts the delay for a pending wait.
159
161
 
160
- The default cooldown is 60,000 milliseconds, or 60 seconds, between attempts of the same event type.
161
- Input-needed and error events have separate cooldowns.
162
- A wait that fails the cooldown check sends nothing.
162
+ Each wait can notify after its delay if the other delivery checks pass.
163
+ No cooldown limits delivery between waits.
163
164
  Slate does not repeatedly notify about the same wait.
164
165
 
165
166
  Before delivery, Slate checks that the wait still belongs to the current session.
@@ -168,13 +169,12 @@ A dialog wait requires an open observed dialog.
168
169
  Each channel permits at most one attempt at a time.
169
170
  A busy channel does not block the other channels.
170
171
 
171
- Change the delay and cooldown in home or trusted project configuration:
172
+ Change the delay in home or trusted project configuration:
172
173
 
173
174
  ```json
174
175
  {
175
176
  "notifications": {
176
- "minimumDelayMs": 30000,
177
- "cooldownMs": 60000
177
+ "minimumDelayMs": 120000
178
178
  }
179
179
  }
180
180
  ```
@@ -435,7 +435,7 @@ Follow [Check delivery by hand](#check-delivery-by-hand) to isolate push and che
435
435
  The effective settings are the values Slate uses after resolving home and trusted project configuration.
436
436
  Send a short prompt.
437
437
  After the response settles, leave the session untouched for the effective `notifications.minimumDelayMs`, then allow time for delivery.
438
- The default delay is 30 seconds.
438
+ The default delay is two minutes.
439
439
  Check actual phone receipt, not just a successful subscription.
440
440
 
441
441
  A public topic is not private storage.
@@ -520,24 +520,24 @@ Slate resolves these values from home and trusted project configuration.
520
520
  Use `notifications.terminal`, `notifications.native`, `notifications.bell` and `notifications.push.enabled` to select channels.
521
521
  For push, also supply the home destination described in [Phone push through ntfy](#phone-push-through-ntfy).
522
522
  2. Check trusted project configuration for settings that disable the selected channel.
523
- Check `notifications.minimumDelayMs` and `notifications.cooldownMs` for timing overrides.
523
+ Check `notifications.minimumDelayMs` for a timing override.
524
+ Remove `notifications.cooldownMs` if present.
525
+ Slate ignores that key and warns at session start for each source that contains it.
524
526
  3. On Linux, check that `notify-send --help` lists `--app-name` before a native check.
525
527
  A helper without that option cannot deliver Slate's native notification.
526
528
  4. Start a new interactive session in a terminal with the required permissions.
527
529
  Send a short prompt, such as `Reply with OK`.
528
530
  5. After the response settles, leave the session untouched for the effective `notifications.minimumDelayMs`, then allow time for delivery.
529
- The default delay is 30 seconds.
531
+ The default delay is two minutes.
530
532
  Check the intended desktop or phone for **Input needed**.
531
533
  For a bell-only check, check the terminal's audible or visual bell instead.
532
- 6. Before checking a blocking extension dialog, wait for the effective `notifications.cooldownMs` to end after the previous input-needed attempt.
533
- The default cooldown is 60 seconds.
534
- If the attempt time is unknown, wait the full cooldown after step 5.
535
- Open the dialog if one is available.
534
+ 6. Open a blocking extension dialog if one is available.
535
+ No cooldown requires a pause after the previous notification.
536
536
  Leave it untouched for the effective `notifications.minimumDelayMs`, then allow time for delivery.
537
537
  Check the selected channel, then answer the dialog.
538
538
 
539
- A dialog wait that expires during the cooldown sends nothing.
540
- Slate does not deliver that expired wait after the cooldown ends.
539
+ Repeat the run check without an extra pause between waits.
540
+ Each wait can notify after its minimum delay if the other delivery checks pass.
541
541
  Timing or channel settings can cause silence even when delivery works.
542
542
 
543
543
  Check operating system and terminal notification permissions if nothing appears.