@exaudeus/workrail 3.9.1 → 3.9.2
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 +1 -1
- package/dist/application/services/compiler/feature-registry.js +18 -0
- package/dist/manifest.json +2 -2
- package/package.json +1 -1
- package/spec/workflow.schema.json +7 -7
- package/workflows/wr.discovery.json +915 -0
- package/workflows/design-thinking-workflow-autonomous.agentic.json +0 -215
- package/workflows/design-thinking-workflow.json +0 -198
- package/workflows/exploration-workflow.json +0 -170
package/README.md
CHANGED
|
@@ -175,7 +175,7 @@ The agent will find the workflow, start at step 1, and proceed systematically.
|
|
|
175
175
|
| `coding-task-workflow-agentic` | Feature development with notes-first durability and audit loops |
|
|
176
176
|
| `bug-investigation-agentic` | Systematic debugging with evidence-based analysis |
|
|
177
177
|
| `mr-review-workflow-agentic` | Code review with parallel reviewer families |
|
|
178
|
-
| `
|
|
178
|
+
| `wr.discovery` | Upstream exploration, framing, and design synthesis |
|
|
179
179
|
| `document-creation-workflow` | Technical documentation with structure |
|
|
180
180
|
|
|
181
181
|
Workflows adapt to complexity - simple tasks get fast-tracked, complex tasks get full rigor.
|
|
@@ -11,6 +11,24 @@ const FEATURE_DEFINITIONS = [
|
|
|
11
11
|
],
|
|
12
12
|
],
|
|
13
13
|
},
|
|
14
|
+
{
|
|
15
|
+
id: 'wr.features.capabilities',
|
|
16
|
+
constraints: [
|
|
17
|
+
'Do not assume optional capabilities are available just because this workflow can use them.',
|
|
18
|
+
'If delegation, web access, or another optional capability matters here, verify it through a real probe or attempt before relying on it.',
|
|
19
|
+
'If a capability is unavailable, degrade explicitly instead of silently acting as if it existed.',
|
|
20
|
+
],
|
|
21
|
+
procedure: [
|
|
22
|
+
'When an optional capability would materially affect the quality of this step, decide whether using it is worth it here.',
|
|
23
|
+
'If you take a capability-dependent path, record the observation or attempt that justified it.',
|
|
24
|
+
'If you skip delegation or another optional capability, keep going yourself and record why the fallback path is sufficient.',
|
|
25
|
+
],
|
|
26
|
+
verify: [
|
|
27
|
+
'No capability-dependent path was taken without an explicit observation, probe, or attempted use.',
|
|
28
|
+
'If a capability was unavailable or skipped, the fallback path and its limitation were made explicit.',
|
|
29
|
+
'The main agent still owns synthesis and final judgment.',
|
|
30
|
+
],
|
|
31
|
+
},
|
|
14
32
|
{
|
|
15
33
|
id: 'wr.features.subagent_guidance',
|
|
16
34
|
constraints: [
|
package/dist/manifest.json
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"bytes": 740
|
|
15
15
|
},
|
|
16
16
|
"application/services/compiler/feature-registry.js": {
|
|
17
|
-
"sha256": "
|
|
18
|
-
"bytes":
|
|
17
|
+
"sha256": "ee7efd8b3594e2f02a2ecc6fe024ed9fb96ba0f8b5f1683d0c63c6196eab20e2",
|
|
18
|
+
"bytes": 3436
|
|
19
19
|
},
|
|
20
20
|
"application/services/compiler/prompt-blocks.d.ts": {
|
|
21
21
|
"sha256": "2f40fd7599bd351584505152e9916fdea60891833d22c774c8ac9955f01ccf66",
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"description": {
|
|
22
22
|
"type": "string",
|
|
23
|
-
"description": "What this workflow accomplishes",
|
|
23
|
+
"description": "What this workflow accomplishes. Prefer clear user-facing language for bundled/user-facing workflows; schema does not enforce prose style.",
|
|
24
24
|
"minLength": 1,
|
|
25
25
|
"maxLength": 512
|
|
26
26
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"clarificationPrompts": {
|
|
44
44
|
"type": "array",
|
|
45
|
-
"description": "Questions to ask upfront to resolve ambiguities",
|
|
45
|
+
"description": "Questions to ask upfront to resolve ambiguities. Prefer direct, user-grounded wording over abstract framework narration.",
|
|
46
46
|
"items": {
|
|
47
47
|
"type": "string",
|
|
48
48
|
"minLength": 1,
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"metaGuidance": {
|
|
69
69
|
"type": "array",
|
|
70
|
-
"description": "Persistent behavioral rules surfaced on start and resume. Not repeated on every step advance. For external document pointers, use 'references' instead.",
|
|
70
|
+
"description": "Persistent behavioral rules surfaced on start and resume. Not repeated on every step advance. Use this to define quality bars and anti-failure guidance without rigidly scripting every thought. For external document pointers, use 'references' instead.",
|
|
71
71
|
"items": {
|
|
72
72
|
"type": "string",
|
|
73
73
|
"minLength": 1,
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
},
|
|
128
128
|
"features": {
|
|
129
129
|
"type": "array",
|
|
130
|
-
"description": "Compiler features to apply to this workflow (e.g. wr.features.memory_context). Features inject content into promptBlocks at compile time.",
|
|
130
|
+
"description": "Compiler features to apply to this workflow (e.g. wr.features.memory_context). Features inject content into promptBlocks at compile time and work best when the workflow uses structured promptBlocks instead of relying entirely on raw prompt prose.",
|
|
131
131
|
"items": {
|
|
132
132
|
"type": "string",
|
|
133
133
|
"minLength": 1,
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
},
|
|
138
138
|
"extensionPoints": {
|
|
139
139
|
"type": "array",
|
|
140
|
-
"description": "Bounded cognitive slots that users can customize via .workrail/bindings.json. Each slot is referenced in step prompts via {{wr.bindings.slotId}} and resolved at compile time.",
|
|
140
|
+
"description": "Bounded cognitive slots that users can customize via .workrail/bindings.json. Each slot is referenced in step prompts via {{wr.bindings.slotId}} and resolved at compile time. Use extension points for bounded cognitive units, not for core orchestration or final synthesis ownership.",
|
|
141
141
|
"items": {
|
|
142
142
|
"$ref": "#/$defs/extensionPoint"
|
|
143
143
|
},
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"$defs": {
|
|
164
164
|
"extensionPoint": {
|
|
165
165
|
"type": "object",
|
|
166
|
-
"description": "A bounded cognitive slot that can be customized via .workrail/bindings.json",
|
|
166
|
+
"description": "A bounded cognitive slot that can be customized via .workrail/bindings.json. Good uses include candidate generation, review, and validation passes; poor uses include replacing the parent workflow's core orchestration contract.",
|
|
167
167
|
"properties": {
|
|
168
168
|
"slotId": {
|
|
169
169
|
"type": "string",
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"properties": {
|
|
284
284
|
"id": { "$ref": "#/$defs/stepId", "description": "Unique identifier for the step" },
|
|
285
285
|
"title": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
286
|
-
"prompt": { "type": "string", "minLength": 1, "maxLength": 8192 },
|
|
286
|
+
"prompt": { "type": "string", "minLength": 1, "maxLength": 8192, "description": "Traditional single-string prompt. Use when structure is simple; prefer promptBlocks when you need stronger quality bars without over-scripting cognition." },
|
|
287
287
|
"promptBlocks": { "$ref": "#/$defs/promptBlocks" },
|
|
288
288
|
"agentRole": { "type": "string", "minLength": 10, "maxLength": 1024 },
|
|
289
289
|
"guidance": { "type": "array", "items": { "type": "string" } },
|