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 +63 -35
- package/docs/blast-radius.md +32 -45
- package/docs/change-records.md +6 -7
- package/docs/configuration.md +20 -20
- 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/notification-config.ts +8 -4
- package/extension/notification-dispatcher.ts +2 -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 +2 -2
package/README.md
CHANGED
|
@@ -1,73 +1,95 @@
|
|
|
1
|
-
# ytdb-slate:
|
|
1
|
+
# ytdb-slate: design-first feature development for the pi coding agent
|
|
2
2
|
|
|
3
3
|
[](https://github.com/JetBrains/ytdb-slate/actions/workflows/ci.yml)
|
|
4
4
|
|
|
5
|
-
Slate is
|
|
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
|
-
|
|
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
|
-
##
|
|
9
|
+
## Who does what
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
30
|
+
Start a new interactive pi session:
|
|
32
31
|
|
|
33
32
|
```text
|
|
34
33
|
/slate on
|
|
35
34
|
```
|
|
36
35
|
|
|
37
|
-
Try a request
|
|
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
|
-
|
|
42
|
+
## How a change works
|
|
44
43
|
|
|
45
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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.**
|
|
69
|
-
- **Quality before cost, within limits.**
|
|
70
|
-
- **Cost in proportion to the change.**
|
|
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
|
|
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.
|
|
101
|
-
2.
|
|
102
|
-
3. Remote development
|
|
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 [
|
|
132
|
+
See [roadmap](docs/roadmap.md) for details.
|
|
105
133
|
|
|
106
134
|
## Shipped docs
|
|
107
135
|
|
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,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 | `
|
|
54
|
-
| `notifications.cooldownMs` | number |
|
|
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
|
|
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`.
|
|
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
|
|
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
|
-
|
|
161
|
-
|
|
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
|
|
172
|
+
Change the delay in home or trusted project configuration:
|
|
172
173
|
|
|
173
174
|
```json
|
|
174
175
|
{
|
|
175
176
|
"notifications": {
|
|
176
|
-
"minimumDelayMs":
|
|
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
|
|
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`
|
|
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
|
|
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.
|
|
533
|
-
|
|
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
|
-
|
|
540
|
-
|
|
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.
|