@exaudeus/workrail 3.66.0 → 3.68.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/dist/application/services/compiler/template-registry.js +10 -1
- package/dist/application/validation.js +1 -1
- package/dist/cli/commands/worktrain-init.js +1 -1
- package/dist/console/standalone-console.js +4 -1
- package/dist/console-ui/assets/{index-BynU38Vu.js → index-CyzltI6D.js} +1 -1
- package/dist/console-ui/index.html +1 -1
- package/dist/coordinators/modes/full-pipeline.js +4 -4
- package/dist/coordinators/modes/implement-shared.js +5 -5
- package/dist/coordinators/modes/implement.js +4 -4
- package/dist/coordinators/pr-review.js +4 -4
- package/dist/daemon/workflow-runner.d.ts +1 -0
- package/dist/daemon/workflow-runner.js +1 -0
- package/dist/infrastructure/storage/schema-validating-workflow-storage.d.ts +21 -2
- package/dist/infrastructure/storage/schema-validating-workflow-storage.js +48 -0
- package/dist/manifest.json +41 -41
- package/dist/mcp/handlers/v2-workflow.js +24 -7
- package/dist/mcp/output-schemas.d.ts +36 -0
- package/dist/mcp/output-schemas.js +11 -1
- package/dist/mcp/workflow-protocol-contracts.js +2 -2
- package/dist/v2/projections/session-metrics.d.ts +1 -1
- package/dist/v2/projections/session-metrics.js +16 -35
- package/dist/v2/usecases/console-routes.d.ts +2 -2
- package/docs/authoring-v2.md +4 -4
- package/docs/changelog-recent.md +3 -3
- package/docs/configuration.md +1 -1
- package/docs/design/adaptive-coordinator-context-candidates.md +1 -1
- package/docs/design/adaptive-coordinator-context.md +1 -1
- package/docs/design/adaptive-coordinator-routing-candidates.md +18 -18
- package/docs/design/adaptive-coordinator-routing-review.md +1 -1
- package/docs/design/adaptive-coordinator-routing.md +34 -34
- package/docs/design/agent-cascade-protocol.md +2 -2
- package/docs/design/console-daemon-separation-discovery.md +323 -0
- package/docs/design/context-assembly-design-candidates.md +1 -1
- package/docs/design/context-assembly-implementation-plan.md +1 -1
- package/docs/design/context-assembly-layer.md +2 -2
- package/docs/design/context-assembly-review-findings.md +1 -1
- package/docs/design/coordinator-access-audit.md +293 -0
- package/docs/design/coordinator-architecture-audit.md +62 -0
- package/docs/design/coordinator-error-handling-audit.md +240 -0
- package/docs/design/coordinator-testability-audit.md +426 -0
- package/docs/design/daemon-architecture-discovery.md +1 -1
- package/docs/design/daemon-console-separation-discovery.md +242 -0
- package/docs/design/daemon-memory-audit.md +203 -0
- package/docs/design/design-candidates-console-daemon-separation.md +256 -0
- package/docs/design/design-candidates-discovery-loop-fix.md +141 -0
- package/docs/design/design-review-findings-console-daemon-separation.md +106 -0
- package/docs/design/design-review-findings-discovery-loop-fix.md +81 -0
- package/docs/design/discovery-loop-fix-candidates.md +161 -0
- package/docs/design/discovery-loop-fix-design-review.md +106 -0
- package/docs/design/discovery-loop-fix-validation.md +258 -0
- package/docs/design/discovery-loop-investigation-A.md +188 -0
- package/docs/design/discovery-loop-investigation-B.md +287 -0
- package/docs/design/exploration-workflow-candidates.md +205 -0
- package/docs/design/exploration-workflow-design-review.md +166 -0
- package/docs/design/exploration-workflow-discovery.md +443 -0
- package/docs/design/ide-context-files-candidates.md +231 -0
- package/docs/design/ide-context-files-design-review.md +85 -0
- package/docs/design/ide-context-files.md +615 -0
- package/docs/design/implementation-plan-discovery-loop-fix.md +199 -0
- package/docs/design/implementation-plan-queue-poll-rotation.md +102 -0
- package/docs/design/in-process-http-audit.md +190 -0
- package/docs/design/layer3b-ghost-nodes-design-candidates.md +2 -2
- package/docs/design/loadSessionNotes-candidates.md +108 -0
- package/docs/design/loadSessionNotes-test-coverage-discovery.md +297 -0
- package/docs/design/loadSessionNotes-test-coverage-session4.md +209 -0
- package/docs/design/loadSessionNotes-test-coverage-v3.md +321 -0
- package/docs/design/probe-session-design-candidates.md +261 -0
- package/docs/design/probe-session-phase0.md +490 -0
- package/docs/design/routines-guide.md +7 -7
- package/docs/design/session-metrics-attribution-candidates.md +250 -0
- package/docs/design/session-metrics-attribution-design-review.md +115 -0
- package/docs/design/session-metrics-attribution-discovery.md +319 -0
- package/docs/design/session-metrics-candidates.md +227 -0
- package/docs/design/session-metrics-design-review.md +104 -0
- package/docs/design/session-metrics-discovery.md +454 -0
- package/docs/design/spawn-session-debug.md +202 -0
- package/docs/design/trigger-validator-candidates.md +214 -0
- package/docs/design/trigger-validator-review.md +109 -0
- package/docs/design/trigger-validator-shaping-phase0.md +239 -0
- package/docs/design/trigger-validator.md +454 -0
- package/docs/design/v2-core-design-locks.md +2 -2
- package/docs/design/workflow-extension-points.md +15 -15
- package/docs/design/workflow-id-validation-at-startup.md +1 -1
- package/docs/design/workflow-id-validation-implementation-plan.md +2 -2
- package/docs/design/workflow-trigger-lifecycle-audit.md +175 -0
- package/docs/design/worktrain-task-queue-candidates.md +5 -5
- package/docs/design/worktrain-task-queue.md +4 -4
- package/docs/discovery/coordinator-script-design.md +1 -1
- package/docs/discovery/coordinator-ux-discovery.md +3 -3
- package/docs/discovery/simulation-report.md +1 -1
- package/docs/discovery/workflow-modernization-discovery.md +326 -0
- package/docs/discovery/workflow-selection-for-discovery-tasks.md +33 -33
- package/docs/discovery/worktrain-status-briefing.md +1 -1
- package/docs/discovery/wr-discovery-goal-reframing.md +1 -1
- package/docs/docker.md +1 -1
- package/docs/ideas/backlog.md +227 -0
- package/docs/ideas/third-party-workflow-setup-design-thinking.md +1 -1
- package/docs/integrations/claude-code.md +5 -5
- package/docs/integrations/firebender.md +1 -1
- package/docs/plans/agentic-orchestration-roadmap.md +2 -2
- package/docs/plans/mr-review-workflow-redesign.md +9 -9
- package/docs/plans/ui-ux-workflow-design-candidates.md +4 -4
- package/docs/plans/ui-ux-workflow-discovery.md +2 -2
- package/docs/plans/workflow-categories-candidates.md +8 -8
- package/docs/plans/workflow-categories-discovery.md +4 -4
- package/docs/plans/workflow-modernization-design.md +430 -0
- package/docs/plans/workflow-staleness-detection-candidates.md +11 -11
- package/docs/plans/workflow-staleness-detection-review.md +4 -4
- package/docs/plans/workflow-staleness-detection.md +9 -9
- package/docs/plans/workrail-platform-vision.md +3 -3
- package/docs/reference/agent-context-cleaner-snippet.md +1 -1
- package/docs/reference/agent-context-guidance.md +4 -4
- package/docs/reference/context-optimization.md +2 -2
- package/docs/roadmap/now-next-later.md +2 -2
- package/docs/roadmap/open-work-inventory.md +16 -16
- package/docs/workflows.md +31 -31
- package/package.json +1 -1
- package/spec/workflow-tags.json +47 -47
- package/workflows/adaptive-ticket-creation.json +16 -16
- package/workflows/architecture-scalability-audit.json +22 -22
- package/workflows/bug-investigation.agentic.v2.json +3 -3
- package/workflows/classify-task-workflow.json +1 -1
- package/workflows/coding-task-workflow-agentic.json +6 -6
- package/workflows/cross-platform-code-conversion.v2.json +8 -8
- package/workflows/document-creation-workflow.json +8 -8
- package/workflows/documentation-update-workflow.json +8 -8
- package/workflows/intelligent-test-case-generation.json +2 -2
- package/workflows/learner-centered-course-workflow.json +2 -2
- package/workflows/mr-review-workflow.agentic.v2.json +4 -4
- package/workflows/personal-learning-materials-creation-branched.json +8 -8
- package/workflows/presentation-creation.json +5 -5
- package/workflows/production-readiness-audit.json +1 -1
- package/workflows/relocation-workflow-us.json +31 -31
- package/workflows/routines/context-gathering.json +1 -1
- package/workflows/routines/design-review.json +1 -1
- package/workflows/routines/execution-simulation.json +1 -1
- package/workflows/routines/feature-implementation.json +3 -3
- package/workflows/routines/final-verification.json +1 -1
- package/workflows/routines/hypothesis-challenge.json +1 -1
- package/workflows/routines/ideation.json +1 -1
- package/workflows/routines/parallel-work-partitioning.json +3 -3
- package/workflows/routines/philosophy-alignment.json +2 -2
- package/workflows/routines/plan-analysis.json +1 -1
- package/workflows/routines/plan-generation.json +1 -1
- package/workflows/routines/tension-driven-design.json +6 -6
- package/workflows/scoped-documentation-workflow.json +26 -26
- package/workflows/ui-ux-design-workflow.json +14 -14
- package/workflows/workflow-diagnose-environment.json +1 -1
- package/workflows/workflow-for-workflows.json +32 -77
- package/workflows/workflow-for-workflows.v2.json +0 -788
|
@@ -11,7 +11,7 @@ How to automatically detect when a WorkRail workflow has become stale — out of
|
|
|
11
11
|
### How it works
|
|
12
12
|
|
|
13
13
|
1. `spec/authoring-spec.json` has a `version` field (currently `3`). This is the staleness anchor.
|
|
14
|
-
2. `workflow-for-workflows` stamps `validatedAgainstSpecVersion: <N>` into the workflow JSON at Phase 7 handoff (after the quality gate passes).
|
|
14
|
+
2. `wr.workflow-for-workflows` stamps `validatedAgainstSpecVersion: <N>` into the workflow JSON at Phase 7 handoff (after the quality gate passes).
|
|
15
15
|
3. At `list_workflows` and `inspect_workflow` time, the engine reads the stamp and compares it against the current spec version.
|
|
16
16
|
4. The output schema gains a `staleness` field: `{ level: 'none' | 'possible' | 'likely', reason: string, specVersionAtLastReview?: number }`.
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ How to automatically detect when a WorkRail workflow has become stale — out of
|
|
|
21
21
|
|---|---|---|
|
|
22
22
|
| `none` | `validatedAgainstSpecVersion` matches current spec version | Workflow was reviewed against current guidance |
|
|
23
23
|
| `likely` | `validatedAgainstSpecVersion` < current spec version | Spec updated since last review — workflow may need attention |
|
|
24
|
-
| `possible` | No stamp present | Workflow was not created/reviewed via workflow-for-workflows |
|
|
24
|
+
| `possible` | No stamp present | Workflow was not created/reviewed via wr.workflow-for-workflows |
|
|
25
25
|
|
|
26
26
|
### Surfacing
|
|
27
27
|
|
|
@@ -30,7 +30,7 @@ How to automatically detect when a WorkRail workflow has become stale — out of
|
|
|
30
30
|
|
|
31
31
|
### What clears the flag
|
|
32
32
|
|
|
33
|
-
Running `workflow-for-workflows` on the workflow and committing the result. The Phase 7 step stamps the current spec version. No other action required.
|
|
33
|
+
Running `wr.workflow-for-workflows` on the workflow and committing the result. The Phase 7 step stamps the current spec version. No other action required.
|
|
34
34
|
|
|
35
35
|
## Implementation Scope
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ Running `workflow-for-workflows` on the workflow and committing the result. The
|
|
|
38
38
|
|---|---|
|
|
39
39
|
| `spec/workflow.schema.json` | Add optional `validatedAgainstSpecVersion?: number` field |
|
|
40
40
|
| `spec/authoring-spec.json` | Add explicit bump trigger to `changeProtocol`; add `changelog` array |
|
|
41
|
-
| `workflow-for-workflows.v2.json` | Phase 7: stamp `validatedAgainstSpecVersion` after quality gate passes; note stamp must be committed |
|
|
41
|
+
| `wr.workflow-for-workflows.v2.json` | Phase 7: stamp `validatedAgainstSpecVersion` after quality gate passes; note stamp must be committed |
|
|
42
42
|
| `src/mcp/output-schemas.ts` | Add `staleness?` to `V2WorkflowListItemSchema` and `V2WorkflowInspectOutputSchema` |
|
|
43
43
|
| `src/mcp/handlers/v2-workflow.ts` | Compute staleness from stamp vs current spec version at list/inspect time |
|
|
44
44
|
| Console | Staleness indicator in workflow list; `likely` > `possible` visual hierarchy |
|
|
@@ -47,19 +47,19 @@ Running `workflow-for-workflows` on the workflow and committing the result. The
|
|
|
47
47
|
|
|
48
48
|
- Must not block workflow execution
|
|
49
49
|
- Must not require per-workflow manual maintenance
|
|
50
|
-
- No auto-fixing (that's workflow-for-workflows territory)
|
|
50
|
+
- No auto-fixing (that's wr.workflow-for-workflows territory)
|
|
51
51
|
- No mass migration — bootstrap via organic adoption
|
|
52
52
|
|
|
53
53
|
## Required Companion Changes (must ship with the feature)
|
|
54
54
|
|
|
55
55
|
1. **`authoring-spec.json` `changeProtocol`**: add "Increment `version` when any required-level rule is added, removed, or materially changed."
|
|
56
56
|
2. **`authoring-spec.json` `changelog`**: add a `changelog` array so the `reason` string in staleness output can reference what changed.
|
|
57
|
-
3. **`workflow-for-workflows` Phase 7**: add note — "The `validatedAgainstSpecVersion` field was written to the workflow file — commit it for the staleness signal to take effect."
|
|
57
|
+
3. **`wr.workflow-for-workflows` Phase 7**: add note — "The `validatedAgainstSpecVersion` field was written to the workflow file — commit it for the staleness signal to take effect."
|
|
58
58
|
|
|
59
59
|
## Accepted Tradeoffs
|
|
60
60
|
|
|
61
61
|
- Existing unstamped workflows show `possible` permanently until reviewed — acceptable, `possible` is the correct coarse signal for unreviewed workflows
|
|
62
|
-
- External workflows not using workflow-for-workflows may never get stamped — acceptable, same reason
|
|
62
|
+
- External workflows not using wr.workflow-for-workflows may never get stamped — acceptable, same reason
|
|
63
63
|
- Spec version granularity: a spec update touching one archetype flags all workflows — mitigated by changelog + specific reason string
|
|
64
64
|
|
|
65
65
|
## Residual Risks
|
|
@@ -69,12 +69,12 @@ Running `workflow-for-workflows` on the workflow and committing the result. The
|
|
|
69
69
|
|
|
70
70
|
## Switch Trigger
|
|
71
71
|
|
|
72
|
-
If teams rarely run workflow-for-workflows and `possible` becomes permanent noise for 80%+ of workflows, add a CI step that stamps workflows automatically.
|
|
72
|
+
If teams rarely run wr.workflow-for-workflows and `possible` becomes permanent noise for 80%+ of workflows, add a CI step that stamps workflows automatically.
|
|
73
73
|
|
|
74
74
|
## Decision Log
|
|
75
75
|
|
|
76
76
|
- **Candidate A (git-date inference) rejected**: CI-noise failure mode disqualifying; no actionable reason string; not deterministic.
|
|
77
77
|
- **Candidate C (hybrid) rejected**: complexity; git-date fallback inherits A's wallpaper problem.
|
|
78
|
-
- **Candidate B selected**: deterministic, architectural fix, self-clearing via workflow-for-workflows, follows `workflowHash` pattern.
|
|
78
|
+
- **Candidate B selected**: deterministic, architectural fix, self-clearing via wr.workflow-for-workflows, follows `workflowHash` pattern.
|
|
79
79
|
- **Challenge**: spec version too coarse. Mitigated by changelog + reason string. Position held.
|
|
80
80
|
- **Review**: no direction change. Three companion changes required pre-ship.
|
|
@@ -75,7 +75,7 @@ Users should be able to use WorkRail at any level without understanding the leve
|
|
|
75
75
|
|
|
76
76
|
- Create a workflow from scratch for a recurring task.
|
|
77
77
|
- Full access to all features (loops, fragments, references, delegation).
|
|
78
|
-
- Use the workflow-for-workflows or author manually.
|
|
78
|
+
- Use the wr.workflow-for-workflows or author manually.
|
|
79
79
|
- **Requirement**: strong authoring spec, good examples, validation tooling.
|
|
80
80
|
|
|
81
81
|
### Level 4: Distribute workflows
|
|
@@ -124,7 +124,7 @@ Available Workflows:
|
|
|
124
124
|
|
|
125
125
|
## WorkRail Built-in
|
|
126
126
|
- coding-task-agentic: Lean Coding Task
|
|
127
|
-
- workflow-for-workflows: Workflow Authoring
|
|
127
|
+
- wr.workflow-for-workflows: Workflow Authoring
|
|
128
128
|
|
|
129
129
|
## monorepo (repo-level)
|
|
130
130
|
- ci-release: CI Release Flow
|
|
@@ -261,7 +261,7 @@ Package-bundled references (schema, authoring spec, setup guide) are also expose
|
|
|
261
261
|
|
|
262
262
|
### Now: JSON + agent-assisted
|
|
263
263
|
|
|
264
|
-
JSON remains the engine format. The workflow-for-workflows helps authors create workflows through structured agent guidance. The authoring spec and schema define correctness.
|
|
264
|
+
JSON remains the engine format. The wr.workflow-for-workflows helps authors create workflows through structured agent guidance. The authoring spec and schema define correctness.
|
|
265
265
|
|
|
266
266
|
### Next: Markdown authoring
|
|
267
267
|
|
|
@@ -55,7 +55,7 @@ function cleanContextForWorkflowNext(
|
|
|
55
55
|
```typescript
|
|
56
56
|
// During your workflow execution:
|
|
57
57
|
const response = await workflow_next({
|
|
58
|
-
workflowId: "coding-task
|
|
58
|
+
workflowId: "wr.coding-task",
|
|
59
59
|
completedSteps: ["phase-6-prep"],
|
|
60
60
|
context: cleanContextForWorkflowNext(fullContext, [
|
|
61
61
|
'featureBranch', // I created this
|
|
@@ -10,7 +10,7 @@ Agents currently send back the ENTIRE context (15-20KB) on every `workflow_next`
|
|
|
10
10
|
|
|
11
11
|
```json
|
|
12
12
|
{
|
|
13
|
-
"workflowId": "coding-task
|
|
13
|
+
"workflowId": "wr.coding-task",
|
|
14
14
|
"completedSteps": ["phase-6-prep"],
|
|
15
15
|
"context": {
|
|
16
16
|
// All 17KB of data including:
|
|
@@ -28,7 +28,7 @@ Agents currently send back the ENTIRE context (15-20KB) on every `workflow_next`
|
|
|
28
28
|
|
|
29
29
|
```json
|
|
30
30
|
{
|
|
31
|
-
"workflowId": "coding-task
|
|
31
|
+
"workflowId": "wr.coding-task",
|
|
32
32
|
"completedSteps": ["phase-6-prep"],
|
|
33
33
|
"context": {
|
|
34
34
|
// Only what you need or changed:
|
|
@@ -84,7 +84,7 @@ Never send these back:
|
|
|
84
84
|
|
|
85
85
|
```json
|
|
86
86
|
{
|
|
87
|
-
"workflowId": "coding-task
|
|
87
|
+
"workflowId": "wr.coding-task",
|
|
88
88
|
"completedSteps": ["phase-6-prep", "phase-6-implement"],
|
|
89
89
|
"context": {
|
|
90
90
|
"currentStep": { /* current */ },
|
|
@@ -100,7 +100,7 @@ Never send these back:
|
|
|
100
100
|
|
|
101
101
|
```json
|
|
102
102
|
{
|
|
103
|
-
"workflowId": "coding-task
|
|
103
|
+
"workflowId": "wr.coding-task",
|
|
104
104
|
"completedSteps": ["phase-2-informed-clarification"],
|
|
105
105
|
"context": {
|
|
106
106
|
"clarifiedRequirements": "Updated requirements...", // MODIFIED
|
|
@@ -17,7 +17,7 @@ The MCP server is **completely stateless**. This means:
|
|
|
17
17
|
### Before Optimization
|
|
18
18
|
```json
|
|
19
19
|
{
|
|
20
|
-
"workflowId": "coding-task
|
|
20
|
+
"workflowId": "wr.coding-task",
|
|
21
21
|
"completedSteps": ["phase-1", "phase-2"],
|
|
22
22
|
"context": {
|
|
23
23
|
// 17KB of accumulated state including:
|
|
@@ -35,7 +35,7 @@ The MCP server is **completely stateless**. This means:
|
|
|
35
35
|
### After Optimization
|
|
36
36
|
```json
|
|
37
37
|
{
|
|
38
|
-
"workflowId": "coding-task
|
|
38
|
+
"workflowId": "wr.coding-task",
|
|
39
39
|
"completedSteps": ["phase-1", "phase-2", "phase-3"],
|
|
40
40
|
"context": {
|
|
41
41
|
// Only what's needed for the next step:
|
|
@@ -57,8 +57,8 @@ Lightweight cross-cutting roadmap. **This is the single entry point** -- check h
|
|
|
57
57
|
- ~~**Top-level runCondition tracing**~~ -- `nextTopLevel()` now emits `evaluated_condition` trace entries for each step, explaining why sparse DAGs jump from phase 0 to phase 6; `formatConditionTrace()` produces `SKIP: taskComplexity (equals)` / `PASS: taskComplexity=Medium (not_equals: Small)`
|
|
58
58
|
- ~~**Filter chips cross-contamination fix**~~ -- selecting a source no longer hides/changes tag pill counts; `sourceFilteredWorkflows` / `tagFilteredWorkflows` added to ViewModel state
|
|
59
59
|
- ~~**Windows CI fix**~~ -- duplicate `createFakeStdout` declaration in shutdown-hooks.test.ts resolved; unblocked release pipeline
|
|
60
|
-
- ~~**Trial the quality gate and readiness audit**~~ -- `workflow-for-workflows.v2.json` and `production-readiness-audit.json` exercised extensively on the MVI refactor and MCP stability work; STANDARD/THOROUGH depth validated
|
|
61
|
-
- ~~**Assessment-gate adoption in mr-review-workflow**~~ -- `mr-review-workflow.agentic.v2.json` already has assessmentRefs/assessmentConsequences alongside `bug-investigation`, `coding-task
|
|
60
|
+
- ~~**Trial the quality gate and readiness audit**~~ -- `wr.workflow-for-workflows.v2.json` and `wr.production-readiness-audit.json` exercised extensively on the MVI refactor and MCP stability work; STANDARD/THOROUGH depth validated
|
|
61
|
+
- ~~**Assessment-gate adoption in mr-review-workflow**~~ -- `mr-review-workflow.agentic.v2.json` already has assessmentRefs/assessmentConsequences alongside `bug-investigation`, `wr.coding-task.lean.v2`, and `wr.workflow-for-workflows.v2`
|
|
62
62
|
- ~~**Console CPU spiral**~~ -- all three fixes shipped: `change` SSE events no longer invalidate worktrees, enrichWorktree semaphore MAX=8, fs.watch filtered to `.jsonl` writes
|
|
63
63
|
- ~~**Console MVI architecture**~~ -- all 6 views refactored to Repository → UseCases → Reducer → ViewModel → pure presenter; 290+ new tests; `console/CLAUDE.md` documents the pattern (#332)
|
|
64
64
|
- ~~**MCP server stability**~~ -- `wireStdoutShutdown` (EPIPE crash), `clearIfStaleLock` (stale lock after crash), `HttpServer.stop()` idempotency, port exhaustion graceful degradation (#332, #335)
|
|
@@ -162,7 +162,7 @@ For explicit status on the major older planning docs themselves, see `docs/roadm
|
|
|
162
162
|
- shared `resolveRefsAndBuildEnvelope` helper, parallel resolution, discriminated union types
|
|
163
163
|
- **What remains**:
|
|
164
164
|
- project-attached references via `.workrail/references.json` with drift detection (future)
|
|
165
|
-
- validate more real bundled workflows with `references`, beyond the newly added `production-readiness-audit.json` rubric reference
|
|
165
|
+
- validate more real bundled workflows with `references`, beyond the newly added `wr.production-readiness-audit.json` rubric reference
|
|
166
166
|
- **Source doc**: `docs/plans/content-coherence-and-references.md`
|
|
167
167
|
|
|
168
168
|
### Authorable response supplements
|
|
@@ -201,9 +201,9 @@ For explicit status on the major older planning docs themselves, see `docs/roadm
|
|
|
201
201
|
|
|
202
202
|
- **Status**: partial / in progress
|
|
203
203
|
- **Recently shipped**:
|
|
204
|
-
- `workflows/workflow-for-workflows.v2.json` now supports both creating a new workflow and modernizing an existing one (`#152`, from issue `#151`)
|
|
205
|
-
- `workflows/workflow-for-workflows.v2.json` has now also been redesigned into a deeper workflow-quality gate with explicit effectiveness targeting, quality architecture, state-economy audit, execution simulation, adversarial review, redesign looping, and final trust handoff
|
|
206
|
-
- `workflows/production-readiness-audit.json` was added and then tightened into an evidence-driven readiness review with readiness hypothesis, neutral fact packet, reviewer families, contradiction handling, blind-spot confidence capping, and explicit `security_performance` coverage
|
|
204
|
+
- `workflows/wr.workflow-for-workflows.v2.json` now supports both creating a new workflow and modernizing an existing one (`#152`, from issue `#151`)
|
|
205
|
+
- `workflows/wr.workflow-for-workflows.v2.json` has now also been redesigned into a deeper workflow-quality gate with explicit effectiveness targeting, quality architecture, state-economy audit, execution simulation, adversarial review, redesign looping, and final trust handoff
|
|
206
|
+
- `workflows/wr.production-readiness-audit.json` was added and then tightened into an evidence-driven readiness review with readiness hypothesis, neutral fact packet, reviewer families, contradiction handling, blind-spot confidence capping, and explicit `security_performance` coverage
|
|
207
207
|
- **Active focus now**:
|
|
208
208
|
- validate the redesigned quality gate and readiness audit on real tasks, then tune `STANDARD` vs `THOROUGH` depth and ceremony from evidence
|
|
209
209
|
- next highest-value modernization candidate remains `workflows/exploration-workflow.json`
|
|
@@ -220,27 +220,27 @@ For explicit status on the major older planning docs themselves, see `docs/roadm
|
|
|
220
220
|
- tighter loop-control wording and newer evidence-oriented review / verification structure
|
|
221
221
|
- **Highest-priority bundled workflows to revamp**:
|
|
222
222
|
- `workflows/exploration-workflow.json`
|
|
223
|
-
- `workflows/adaptive-ticket-creation.json`
|
|
223
|
+
- `workflows/wr.adaptive-ticket-creation.json`
|
|
224
224
|
- `workflows/mr-review-workflow.json`
|
|
225
225
|
- `workflows/mr-review-workflow.agentic.json`
|
|
226
226
|
- `workflows/bug-investigation.json`
|
|
227
227
|
- `workflows/bug-investigation.agentic.json`
|
|
228
228
|
- `workflows/design-thinking-workflow.json`
|
|
229
229
|
- `workflows/design-thinking-workflow-autonomous.agentic.json`
|
|
230
|
-
- `workflows/documentation-update
|
|
231
|
-
- `workflows/document-creation
|
|
230
|
+
- `workflows/wr.documentation-update.json`
|
|
231
|
+
- `workflows/wr.document-creation.json`
|
|
232
232
|
- **Additional older bundled workflows to review for modernization**:
|
|
233
|
-
- `workflows/intelligent-test-case-generation.json`
|
|
233
|
+
- `workflows/wr.intelligent-test-case-generation.json`
|
|
234
234
|
- `workflows/learner-centered-course-workflow.json`
|
|
235
|
-
- `workflows/presentation-creation.json`
|
|
236
|
-
- `workflows/personal-learning-materials
|
|
237
|
-
- `workflows/scoped-documentation
|
|
238
|
-
- `workflows/relocation-
|
|
239
|
-
- `workflows/
|
|
235
|
+
- `workflows/wr.presentation-creation.json`
|
|
236
|
+
- `workflows/wr.personal-learning-materials.json`
|
|
237
|
+
- `workflows/wr.scoped-documentation.json`
|
|
238
|
+
- `workflows/wr.relocation-us.json`
|
|
239
|
+
- `workflows/wr.diagnose-environment.json`
|
|
240
240
|
- **Lower priority / already more modern**:
|
|
241
|
-
- `workflows/coding-task
|
|
242
|
-
- `workflows/workflow-for-workflows.json` — older large-form version; `workflow-for-workflows.v2.json` is now the deeper quality-gate path
|
|
243
|
-
- `workflows/cross-platform-code-conversion.v2.json` — already v2 and already uses several modern authoring features
|
|
241
|
+
- `workflows/wr.coding-task.v2.json` — superseded by the lean v2 variant as the current modern example
|
|
242
|
+
- `workflows/wr.workflow-for-workflows.json` — older large-form version; `wr.workflow-for-workflows.v2.json` is now the deeper quality-gate path
|
|
243
|
+
- `workflows/wr.cross-platform-code-conversion.v2.json` — already v2 and already uses several modern authoring features
|
|
244
244
|
- `workflows/bug-investigation.agentic.v2.json`
|
|
245
245
|
- `workflows/mr-review-workflow.agentic.v2.json`
|
|
246
246
|
- **What “modernization” should mean here**:
|
package/docs/workflows.md
CHANGED
|
@@ -24,14 +24,14 @@ WorkRail includes **20 production workflows** across multiple categories.
|
|
|
24
24
|
|
|
25
25
|
Feature implementation and coding workflows
|
|
26
26
|
|
|
27
|
-
### `coding-task
|
|
27
|
+
### `wr.coding-task`
|
|
28
28
|
|
|
29
29
|
**Agentic Task Dev Workflow (Lean • Notes-First • WorkRail Executor)** (v1.0.0)
|
|
30
30
|
|
|
31
31
|
The user guides the agent through understanding the task, selecting an approach, planning in slices, implementing incrementally, and verifying the result through explicit review and validation checkpoints.
|
|
32
32
|
|
|
33
33
|
- **Steps**: 12
|
|
34
|
-
- **File**: `workflows/coding-task
|
|
34
|
+
- **File**: `workflows/wr.coding-task.lean.v2.json`
|
|
35
35
|
|
|
36
36
|
## Debugging
|
|
37
37
|
|
|
@@ -46,7 +46,7 @@ A systematic bug investigation workflow that finds the true source of bugs throu
|
|
|
46
46
|
- **Steps**: 10
|
|
47
47
|
- **File**: `workflows/bug-investigation.json`
|
|
48
48
|
|
|
49
|
-
### `bug-investigation
|
|
49
|
+
### `wr.bug-investigation`
|
|
50
50
|
|
|
51
51
|
**Bug Investigation (v2 • Notes-First • WorkRail Executor)** (v2.0.0)
|
|
52
52
|
|
|
@@ -68,7 +68,7 @@ An adaptive workflow to guide an AI agent in performing a comprehensive code rev
|
|
|
68
68
|
- **Steps**: 10
|
|
69
69
|
- **File**: `workflows/mr-review-workflow.json`
|
|
70
70
|
|
|
71
|
-
### `mr-review
|
|
71
|
+
### `wr.mr-review`
|
|
72
72
|
|
|
73
73
|
**MR Review Workflow (v2 • Notes-First • Parallel Reviewer Families)** (v2.1.0)
|
|
74
74
|
|
|
@@ -81,45 +81,45 @@ A v2-first MR review workflow that uses a shared fact packet, parallel reviewer
|
|
|
81
81
|
|
|
82
82
|
Creating and maintaining documentation
|
|
83
83
|
|
|
84
|
-
### `document-creation
|
|
84
|
+
### `wr.document-creation`
|
|
85
85
|
|
|
86
86
|
**Document Creation Workflow** (v0.0.1)
|
|
87
87
|
|
|
88
|
-
Create BROAD or COMPREHENSIVE documentation spanning multiple components/systems. Perfect for: project READMEs, complete API documentation, user guides covering multiple features, technical specifications for systems. Uses complexity triage (Simple/Standard/Complex) to adapt rigor. For SINGLE, BOUNDED subjects (one class, one integration), use scoped-documentation
|
|
88
|
+
Create BROAD or COMPREHENSIVE documentation spanning multiple components/systems. Perfect for: project READMEs, complete API documentation, user guides covering multiple features, technical specifications for systems. Uses complexity triage (Simple/Standard/Complex) to adapt rigor. For SINGLE, BOUNDED subjects (one class, one integration), use wr.scoped-documentation instead for better scope discipline.
|
|
89
89
|
|
|
90
90
|
- **Steps**: 11
|
|
91
|
-
- **File**: `workflows/document-creation
|
|
91
|
+
- **File**: `workflows/wr.document-creation.json`
|
|
92
92
|
|
|
93
|
-
### `documentation-update
|
|
93
|
+
### `wr.documentation-update`
|
|
94
94
|
|
|
95
95
|
**Documentation Update & Maintenance Workflow** (v1.0.0)
|
|
96
96
|
|
|
97
|
-
UPDATE and MAINTAIN existing documentation. Analyzes Git history to detect staleness, identifies outdated sections, and systematically refreshes docs while preserving valuable content. Perfect for: refreshing docs after code changes, scheduled maintenance, addressing feedback. NOT for creating new docs - use scoped-documentation
|
|
97
|
+
UPDATE and MAINTAIN existing documentation. Analyzes Git history to detect staleness, identifies outdated sections, and systematically refreshes docs while preserving valuable content. Perfect for: refreshing docs after code changes, scheduled maintenance, addressing feedback. NOT for creating new docs - use wr.scoped-documentation or wr.document-creation for new documentation.
|
|
98
98
|
|
|
99
99
|
- **Steps**: 15
|
|
100
|
-
- **File**: `workflows/documentation-update
|
|
100
|
+
- **File**: `workflows/wr.documentation-update.json`
|
|
101
101
|
|
|
102
|
-
### `scoped-documentation
|
|
102
|
+
### `wr.scoped-documentation`
|
|
103
103
|
|
|
104
104
|
**Scoped Documentation Workflow** (v1.0.0)
|
|
105
105
|
|
|
106
|
-
Create documentation for a SINGLE, BOUNDED subject with strict scope enforcement. Perfect for: one class/component, one integration point, one mechanism, one architecture decision. Prevents documentation sprawl through continuous boundary validation (9+/10 scope compliance required). NOT for: project READMEs, multi-component systems, or comprehensive guides - use document-creation
|
|
106
|
+
Create documentation for a SINGLE, BOUNDED subject with strict scope enforcement. Perfect for: one class/component, one integration point, one mechanism, one architecture decision. Prevents documentation sprawl through continuous boundary validation (9+/10 scope compliance required). NOT for: project READMEs, multi-component systems, or comprehensive guides - use wr.document-creation for those.
|
|
107
107
|
|
|
108
108
|
- **Steps**: 10
|
|
109
|
-
- **File**: `workflows/scoped-documentation
|
|
109
|
+
- **File**: `workflows/wr.scoped-documentation.json`
|
|
110
110
|
|
|
111
111
|
## Exploration & Analysis
|
|
112
112
|
|
|
113
113
|
Understanding codebases and systems
|
|
114
114
|
|
|
115
|
-
### `adaptive-ticket-creation`
|
|
115
|
+
### `wr.adaptive-ticket-creation`
|
|
116
116
|
|
|
117
117
|
**Adaptive Ticket Creation Workflow** (v0.1.0)
|
|
118
118
|
|
|
119
119
|
An intelligent workflow for creating high-quality Jira tickets. Uses LLM-driven path selection to automatically choose between Simple, Standard, or Epic complexity paths based on request analysis.
|
|
120
120
|
|
|
121
121
|
- **Steps**: 9
|
|
122
|
-
- **File**: `workflows/adaptive-ticket-creation.json`
|
|
122
|
+
- **File**: `workflows/wr.adaptive-ticket-creation.json`
|
|
123
123
|
|
|
124
124
|
### `wr.discovery`
|
|
125
125
|
|
|
@@ -130,20 +130,20 @@ A bundled upstream thinking workflow that merges the old exploration and design-
|
|
|
130
130
|
- **Steps**: 12
|
|
131
131
|
- **File**: `workflows/wr.discovery.json`
|
|
132
132
|
|
|
133
|
-
### `intelligent-test-case-generation`
|
|
133
|
+
### `wr.intelligent-test-case-generation`
|
|
134
134
|
|
|
135
135
|
**Intelligent Test Case Generation from Tickets** (v0.0.1)
|
|
136
136
|
|
|
137
137
|
Transforms ticket requirements into systematic test cases using evidence-driven analysis, dual-brain processing (NLP + LLM), document discovery, and progressive scenario expansion. Produces integration and end-to-end tests optimized for developer readability and LLM consumption with confidence scoring and validation loops.
|
|
138
138
|
|
|
139
139
|
- **Steps**: 12
|
|
140
|
-
- **File**: `workflows/intelligent-test-case-generation.json`
|
|
140
|
+
- **File**: `workflows/wr.intelligent-test-case-generation.json`
|
|
141
141
|
|
|
142
142
|
## Learning & Education
|
|
143
143
|
|
|
144
144
|
Course design and learning materials
|
|
145
145
|
|
|
146
|
-
### `personal-learning-course-design`
|
|
146
|
+
### `wr.personal-learning-course-design`
|
|
147
147
|
|
|
148
148
|
**Personal Learning Course Design Workflow** (v1.0.0)
|
|
149
149
|
|
|
@@ -152,36 +152,36 @@ A systematic workflow for designing effective personal learning courses with thr
|
|
|
152
152
|
- **Steps**: 11
|
|
153
153
|
- **File**: `workflows/learner-centered-course-workflow.json`
|
|
154
154
|
|
|
155
|
-
### `personal-learning-materials
|
|
155
|
+
### `wr.personal-learning-materials`
|
|
156
156
|
|
|
157
157
|
**Personal Learning Materials Creation Workflow (Branched)** (v1.0.0)
|
|
158
158
|
|
|
159
159
|
A systematic workflow for creating high-quality learning materials with three thoroughness paths: Quick Start (essential materials), Balanced (comprehensive system), and Comprehensive (enterprise-grade). Adapts depth and features based on user time constraints and quality goals.
|
|
160
160
|
|
|
161
161
|
- **Steps**: 6
|
|
162
|
-
- **File**: `workflows/personal-learning-materials
|
|
162
|
+
- **File**: `workflows/wr.personal-learning-materials.json`
|
|
163
163
|
|
|
164
|
-
### `presentation-creation`
|
|
164
|
+
### `wr.presentation-creation`
|
|
165
165
|
|
|
166
166
|
**Dynamic Presentation Creation Workflow** (v0.1.0)
|
|
167
167
|
|
|
168
168
|
A comprehensive workflow for creating dynamic, interesting, and insightful presentations. Guides users through audience analysis, content strategy, visual design, and delivery preparation to create compelling presentations that engage and inform.
|
|
169
169
|
|
|
170
170
|
- **Steps**: 9
|
|
171
|
-
- **File**: `workflows/presentation-creation.json`
|
|
171
|
+
- **File**: `workflows/wr.presentation-creation.json`
|
|
172
172
|
|
|
173
173
|
## Other
|
|
174
174
|
|
|
175
175
|
Miscellaneous workflows
|
|
176
176
|
|
|
177
|
-
### `cross-platform-code-conversion`
|
|
177
|
+
### `wr.cross-platform-code-conversion`
|
|
178
178
|
|
|
179
179
|
**Cross-Platform Code Conversion** (v0.1.0)
|
|
180
180
|
|
|
181
181
|
Guides an agent through converting code from one platform to another (e.g., Android to iOS, iOS to Web). Triages files by difficulty, delegates easy literal translations to parallel subagents, then the main agent tackles platform-specific code requiring design decisions.
|
|
182
182
|
|
|
183
183
|
- **Steps**: 9
|
|
184
|
-
- **File**: `workflows/cross-platform-code-conversion.v2.json`
|
|
184
|
+
- **File**: `workflows/wr.cross-platform-code-conversion.v2.json`
|
|
185
185
|
|
|
186
186
|
### `design-thinking-workflow`
|
|
187
187
|
|
|
@@ -201,32 +201,32 @@ Autonomous design thinking: minimal human input; doc-first execution; supports A
|
|
|
201
201
|
- **Steps**: 16
|
|
202
202
|
- **File**: `workflows/design-thinking-workflow-autonomous.agentic.json`
|
|
203
203
|
|
|
204
|
-
### `relocation-
|
|
204
|
+
### `wr.relocation-us`
|
|
205
205
|
|
|
206
206
|
**Relocation Decision Workflow (US v1 — AreaSpec • Custom Areas • Dossier • Evidence • Ranking)** (v0.2.0)
|
|
207
207
|
|
|
208
208
|
A bias-resistant, evidence-driven relocation workflow for the United States. Helps users discover what they care about, generate a broad candidate pool (including optional custom areas), screen it with strict caps, deep-dive shortlisted areas, and produce a master dossier plus per-location profile docs with a transparent, explainable weighted ranking.
|
|
209
209
|
|
|
210
210
|
- **Steps**: 19
|
|
211
|
-
- **File**: `workflows/relocation-
|
|
211
|
+
- **File**: `workflows/wr.relocation-us.json`
|
|
212
212
|
|
|
213
|
-
### `
|
|
213
|
+
### `wr.diagnose-environment`
|
|
214
214
|
|
|
215
215
|
**Diagnostic: Environment & Subagents** (v1.0.0)
|
|
216
216
|
|
|
217
217
|
Automated capability detection for Agentic IDEs. Probes for subagent access and generates a local configuration file.
|
|
218
218
|
|
|
219
219
|
- **Steps**: 2
|
|
220
|
-
- **File**: `workflows/
|
|
220
|
+
- **File**: `workflows/wr.diagnose-environment.json`
|
|
221
221
|
|
|
222
|
-
### `workflow-for-workflows`
|
|
222
|
+
### `wr.workflow-for-workflows`
|
|
223
223
|
|
|
224
224
|
**Workflow Authoring Workflow (Lean, References-First)** (v2.0.0)
|
|
225
225
|
|
|
226
226
|
Guides an agent through creating a new WorkRail workflow: understand the task, choose the shape, draft the JSON, validate with real validators, review the method, and optionally refine.
|
|
227
227
|
|
|
228
228
|
- **Steps**: 8
|
|
229
|
-
- **File**: `workflows/workflow-for-workflows.v2.json`
|
|
229
|
+
- **File**: `workflows/wr.workflow-for-workflows.v2.json`
|
|
230
230
|
|
|
231
231
|
---
|
|
232
232
|
|
|
@@ -236,7 +236,7 @@ Tell your AI agent which workflow to use:
|
|
|
236
236
|
|
|
237
237
|
```
|
|
238
238
|
"Use the bug-investigation workflow to debug this issue"
|
|
239
|
-
"Use the coding-task
|
|
239
|
+
"Use the wr.coding-task to implement this feature"
|
|
240
240
|
```
|
|
241
241
|
|
|
242
242
|
Or browse programmatically:
|