opencastle 0.32.10 → 0.32.11
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 +4 -4
- package/package.json +3 -3
- package/src/dashboard/dist/data/convoys/demo-api-v2.json +3 -3
- package/src/dashboard/dist/data/convoys/demo-auth-revamp.json +4 -4
- package/src/dashboard/dist/data/convoys/demo-dashboard-ui.json +18 -18
- package/src/dashboard/dist/data/convoys/demo-data-pipeline.json +3 -3
- package/src/dashboard/dist/data/convoys/demo-deploy-ci.json +1 -1
- package/src/dashboard/dist/data/convoys/demo-docs-update.json +3 -3
- package/src/dashboard/dist/data/convoys/demo-perf-opt.json +10 -10
- package/src/dashboard/node_modules/.vite/deps/_metadata.json +6 -6
- package/src/dashboard/public/data/convoys/demo-api-v2.json +3 -3
- package/src/dashboard/public/data/convoys/demo-auth-revamp.json +4 -4
- package/src/dashboard/public/data/convoys/demo-dashboard-ui.json +18 -18
- package/src/dashboard/public/data/convoys/demo-data-pipeline.json +3 -3
- package/src/dashboard/public/data/convoys/demo-deploy-ci.json +1 -1
- package/src/dashboard/public/data/convoys/demo-docs-update.json +3 -3
- package/src/dashboard/public/data/convoys/demo-perf-opt.json +10 -10
- package/src/orchestrator/prompts/generate-convoy.prompt.md +33 -19
- package/src/orchestrator/prompts/validate-convoy.prompt.md +13 -30
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
|
-
<a href="https://github.com/
|
|
12
|
+
<a href="https://github.com/monkilabs/opencastle/stargazers"><img src="https://img.shields.io/github/stars/monkilabs/opencastle?style=flat" alt="GitHub stars" /></a>
|
|
13
13
|
<a href="https://www.npmjs.com/package/opencastle"><img src="https://img.shields.io/npm/v/opencastle.svg?v=1" alt="npm version" /></a>
|
|
14
|
-
<a href="https://github.com/
|
|
14
|
+
<a href="https://github.com/monkilabs/opencastle/actions/workflows/ci.yml"><img src="https://github.com/monkilabs/opencastle/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
|
15
15
|
<a href="https://www.npmjs.com/package/opencastle"><img src="https://img.shields.io/npm/dm/opencastle.svg?v=1" alt="downloads" /></a>
|
|
16
16
|
</p>
|
|
17
17
|
|
|
@@ -217,7 +217,7 @@ See **[ARCHITECTURE.md](ARCHITECTURE.md)** for the full diagram, workflow templa
|
|
|
217
217
|
3. Make changes and ensure `npm run build:cli` passes
|
|
218
218
|
4. Open a PR
|
|
219
219
|
|
|
220
|
-
For large changes, [open an issue](https://github.com/
|
|
220
|
+
For large changes, [open an issue](https://github.com/monkilabs/opencastle/issues) first.
|
|
221
221
|
|
|
222
222
|
<br>
|
|
223
223
|
|
|
@@ -229,7 +229,7 @@ OpenCastle is free and open-source.
|
|
|
229
229
|
<a href="https://ko-fi.com/A0A61V4992" target="_blank"><img height="36" style="border:0px;height:36px;" src="https://storage.ko-fi.com/cdn/kofi4.png?v=6" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a>
|
|
230
230
|
</p>
|
|
231
231
|
|
|
232
|
-
For corporate sponsorship inquiries, open a [GitHub Discussion](https://github.com/
|
|
232
|
+
For corporate sponsorship inquiries, open a [GitHub Discussion](https://github.com/monkilabs/opencastle/discussions).
|
|
233
233
|
|
|
234
234
|
<br>
|
|
235
235
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencastle",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Multi-agent orchestration framework for AI coding assistants",
|
|
6
6
|
"bin": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
],
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/
|
|
28
|
+
"url": "git+https://github.com/monkilabs/opencastle.git"
|
|
29
29
|
},
|
|
30
30
|
"bugs": {
|
|
31
|
-
"url": "https://github.com/
|
|
31
|
+
"url": "https://github.com/monkilabs/opencastle/issues"
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://www.opencastle.dev/",
|
|
34
34
|
"license": "BUSL-1.1",
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
"name": "docs/api-v2-contract.json",
|
|
52
52
|
"type": "json",
|
|
53
53
|
"task_id": "api-t1",
|
|
54
|
-
"created_at": "2026-03-
|
|
54
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"id": "artifact-demo-api-v2-reports-security-gate-failure-md",
|
|
58
58
|
"name": "reports/security-gate-failure.md",
|
|
59
59
|
"type": "summary",
|
|
60
60
|
"task_id": "api-t3",
|
|
61
|
-
"created_at": "2026-03-
|
|
61
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"id": "artifact-demo-api-v2-src-api-rate-limiter-ts",
|
|
65
65
|
"name": "src/api/rate-limiter.ts",
|
|
66
66
|
"type": "file",
|
|
67
67
|
"task_id": "api-t2",
|
|
68
|
-
"created_at": "2026-03-
|
|
68
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
"has_more_events": false,
|
|
@@ -42,28 +42,28 @@
|
|
|
42
42
|
"name": "libs/auth/src/jwt-middleware.ts",
|
|
43
43
|
"type": "file",
|
|
44
44
|
"task_id": "auth-t2",
|
|
45
|
-
"created_at": "2026-03-
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"id": "artifact-demo-auth-revamp-libs-auth-src-rls-policies-sql",
|
|
49
49
|
"name": "libs/auth/src/rls-policies.sql",
|
|
50
50
|
"type": "file",
|
|
51
51
|
"task_id": "auth-t3",
|
|
52
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"id": "artifact-demo-auth-revamp-reports-auth-review-summary-md",
|
|
56
56
|
"name": "reports/auth-review-summary.md",
|
|
57
57
|
"type": "summary",
|
|
58
58
|
"task_id": "auth-t5",
|
|
59
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"id": "artifact-demo-auth-revamp-tests-auth-integration-test-ts",
|
|
63
63
|
"name": "tests/auth/integration.test.ts",
|
|
64
64
|
"type": "file",
|
|
65
65
|
"task_id": "auth-t4",
|
|
66
|
-
"created_at": "2026-03-
|
|
66
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
69
|
"has_more_events": false,
|
|
@@ -46,47 +46,47 @@
|
|
|
46
46
|
],
|
|
47
47
|
"artifact_count": 6,
|
|
48
48
|
"artifacts": [
|
|
49
|
+
{
|
|
50
|
+
"id": "artifact-demo-dashboard-ui-src-components-KpiCard-tsx",
|
|
51
|
+
"name": "src/components/KpiCard.tsx",
|
|
52
|
+
"type": "file",
|
|
53
|
+
"task_id": "ui-t2",
|
|
54
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "artifact-demo-dashboard-ui-src-components-design-tokens-ts",
|
|
58
|
+
"name": "src/components/design-tokens.ts",
|
|
59
|
+
"type": "file",
|
|
60
|
+
"task_id": "ui-t1",
|
|
61
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
62
|
+
},
|
|
49
63
|
{
|
|
50
64
|
"id": "artifact-demo-dashboard-ui-reports-panel-review-dashboard-md",
|
|
51
65
|
"name": "reports/panel-review-dashboard.md",
|
|
52
66
|
"type": "summary",
|
|
53
67
|
"task_id": "ui-t7",
|
|
54
|
-
"created_at": "2026-03-
|
|
68
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
55
69
|
},
|
|
56
70
|
{
|
|
57
71
|
"id": "artifact-demo-dashboard-ui-reports-visual-regression-json",
|
|
58
72
|
"name": "reports/visual-regression.json",
|
|
59
73
|
"type": "json",
|
|
60
74
|
"task_id": "ui-t6",
|
|
61
|
-
"created_at": "2026-03-
|
|
75
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
62
76
|
},
|
|
63
77
|
{
|
|
64
78
|
"id": "artifact-demo-dashboard-ui-src-components-DonutChart-tsx",
|
|
65
79
|
"name": "src/components/DonutChart.tsx",
|
|
66
80
|
"type": "file",
|
|
67
81
|
"task_id": "ui-t3",
|
|
68
|
-
"created_at": "2026-03-
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"id": "artifact-demo-dashboard-ui-src-components-KpiCard-tsx",
|
|
72
|
-
"name": "src/components/KpiCard.tsx",
|
|
73
|
-
"type": "file",
|
|
74
|
-
"task_id": "ui-t2",
|
|
75
|
-
"created_at": "2026-03-18T16:27:21.681Z"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "artifact-demo-dashboard-ui-src-components-design-tokens-ts",
|
|
79
|
-
"name": "src/components/design-tokens.ts",
|
|
80
|
-
"type": "file",
|
|
81
|
-
"task_id": "ui-t1",
|
|
82
|
-
"created_at": "2026-03-18T16:27:21.681Z"
|
|
82
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"id": "artifact-demo-dashboard-ui-src-styles-animations-css",
|
|
86
86
|
"name": "src/styles/animations.css",
|
|
87
87
|
"type": "file",
|
|
88
88
|
"task_id": "ui-t4",
|
|
89
|
-
"created_at": "2026-03-
|
|
89
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
90
90
|
}
|
|
91
91
|
],
|
|
92
92
|
"has_more_events": false,
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"name": "src/etl/pipeline.ts",
|
|
43
43
|
"type": "file",
|
|
44
44
|
"task_id": "etl-t2",
|
|
45
|
-
"created_at": "2026-03-
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"id": "artifact-demo-data-pipeline-src-etl-schema-ts",
|
|
49
49
|
"name": "src/etl/schema.ts",
|
|
50
50
|
"type": "file",
|
|
51
51
|
"task_id": "etl-t1",
|
|
52
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"id": "artifact-demo-data-pipeline-tests-etl-pipeline-test-ts",
|
|
56
56
|
"name": "tests/etl/pipeline.test.ts",
|
|
57
57
|
"type": "file",
|
|
58
58
|
"task_id": "etl-t3",
|
|
59
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"has_more_events": false,
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"name": "docs/ARCHITECTURE.md",
|
|
43
43
|
"type": "file",
|
|
44
44
|
"task_id": "docs-t1",
|
|
45
|
-
"created_at": "2026-03-
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"id": "artifact-demo-docs-update-docs-README-md",
|
|
49
49
|
"name": "docs/README.md",
|
|
50
50
|
"type": "file",
|
|
51
51
|
"task_id": "docs-t1",
|
|
52
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"id": "artifact-demo-docs-update-docs-api-reference-json",
|
|
56
56
|
"name": "docs/api-reference.json",
|
|
57
57
|
"type": "json",
|
|
58
58
|
"task_id": "docs-t2",
|
|
59
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"has_more_events": false,
|
|
@@ -42,28 +42,28 @@
|
|
|
42
42
|
"name": "reports/bundle-analysis.json",
|
|
43
43
|
"type": "json",
|
|
44
44
|
"task_id": "perf-t1",
|
|
45
|
-
"created_at": "2026-03-
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"id": "artifact-demo-perf-opt-reports-web-vitals-improvement-md",
|
|
49
|
-
"name": "reports/web-vitals-improvement.md",
|
|
50
|
-
"type": "summary",
|
|
51
|
-
"task_id": "perf-t4",
|
|
52
|
-
"created_at": "2026-03-18T16:27:21.682Z"
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
53
46
|
},
|
|
54
47
|
{
|
|
55
48
|
"id": "artifact-demo-perf-opt-src-charts-index-ts",
|
|
56
49
|
"name": "src/charts/index.ts",
|
|
57
50
|
"type": "file",
|
|
58
51
|
"task_id": "perf-t2",
|
|
59
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
60
53
|
},
|
|
61
54
|
{
|
|
62
55
|
"id": "artifact-demo-perf-opt-src-utils-image-loader-ts",
|
|
63
56
|
"name": "src/utils/image-loader.ts",
|
|
64
57
|
"type": "file",
|
|
65
58
|
"task_id": "perf-t3",
|
|
66
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "artifact-demo-perf-opt-reports-web-vitals-improvement-md",
|
|
63
|
+
"name": "reports/web-vitals-improvement.md",
|
|
64
|
+
"type": "summary",
|
|
65
|
+
"task_id": "perf-t4",
|
|
66
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
69
|
"has_more_events": false,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"hash": "
|
|
2
|
+
"hash": "020233d7",
|
|
3
3
|
"configHash": "30f8ea04",
|
|
4
|
-
"lockfileHash": "
|
|
5
|
-
"browserHash": "
|
|
4
|
+
"lockfileHash": "69796611",
|
|
5
|
+
"browserHash": "34d3234c",
|
|
6
6
|
"optimized": {
|
|
7
7
|
"astro > cssesc": {
|
|
8
8
|
"src": "../../../../../node_modules/cssesc/cssesc.js",
|
|
9
9
|
"file": "astro___cssesc.js",
|
|
10
|
-
"fileHash": "
|
|
10
|
+
"fileHash": "05b8ecee",
|
|
11
11
|
"needsInterop": true
|
|
12
12
|
},
|
|
13
13
|
"astro > aria-query": {
|
|
14
14
|
"src": "../../../../../node_modules/aria-query/lib/index.js",
|
|
15
15
|
"file": "astro___aria-query.js",
|
|
16
|
-
"fileHash": "
|
|
16
|
+
"fileHash": "ef1888bf",
|
|
17
17
|
"needsInterop": true
|
|
18
18
|
},
|
|
19
19
|
"astro > axobject-query": {
|
|
20
20
|
"src": "../../../../../node_modules/axobject-query/lib/index.js",
|
|
21
21
|
"file": "astro___axobject-query.js",
|
|
22
|
-
"fileHash": "
|
|
22
|
+
"fileHash": "e8ea3992",
|
|
23
23
|
"needsInterop": true
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
"name": "docs/api-v2-contract.json",
|
|
52
52
|
"type": "json",
|
|
53
53
|
"task_id": "api-t1",
|
|
54
|
-
"created_at": "2026-03-
|
|
54
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"id": "artifact-demo-api-v2-reports-security-gate-failure-md",
|
|
58
58
|
"name": "reports/security-gate-failure.md",
|
|
59
59
|
"type": "summary",
|
|
60
60
|
"task_id": "api-t3",
|
|
61
|
-
"created_at": "2026-03-
|
|
61
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"id": "artifact-demo-api-v2-src-api-rate-limiter-ts",
|
|
65
65
|
"name": "src/api/rate-limiter.ts",
|
|
66
66
|
"type": "file",
|
|
67
67
|
"task_id": "api-t2",
|
|
68
|
-
"created_at": "2026-03-
|
|
68
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
"has_more_events": false,
|
|
@@ -42,28 +42,28 @@
|
|
|
42
42
|
"name": "libs/auth/src/jwt-middleware.ts",
|
|
43
43
|
"type": "file",
|
|
44
44
|
"task_id": "auth-t2",
|
|
45
|
-
"created_at": "2026-03-
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"id": "artifact-demo-auth-revamp-libs-auth-src-rls-policies-sql",
|
|
49
49
|
"name": "libs/auth/src/rls-policies.sql",
|
|
50
50
|
"type": "file",
|
|
51
51
|
"task_id": "auth-t3",
|
|
52
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"id": "artifact-demo-auth-revamp-reports-auth-review-summary-md",
|
|
56
56
|
"name": "reports/auth-review-summary.md",
|
|
57
57
|
"type": "summary",
|
|
58
58
|
"task_id": "auth-t5",
|
|
59
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"id": "artifact-demo-auth-revamp-tests-auth-integration-test-ts",
|
|
63
63
|
"name": "tests/auth/integration.test.ts",
|
|
64
64
|
"type": "file",
|
|
65
65
|
"task_id": "auth-t4",
|
|
66
|
-
"created_at": "2026-03-
|
|
66
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
69
|
"has_more_events": false,
|
|
@@ -46,47 +46,47 @@
|
|
|
46
46
|
],
|
|
47
47
|
"artifact_count": 6,
|
|
48
48
|
"artifacts": [
|
|
49
|
+
{
|
|
50
|
+
"id": "artifact-demo-dashboard-ui-src-components-KpiCard-tsx",
|
|
51
|
+
"name": "src/components/KpiCard.tsx",
|
|
52
|
+
"type": "file",
|
|
53
|
+
"task_id": "ui-t2",
|
|
54
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "artifact-demo-dashboard-ui-src-components-design-tokens-ts",
|
|
58
|
+
"name": "src/components/design-tokens.ts",
|
|
59
|
+
"type": "file",
|
|
60
|
+
"task_id": "ui-t1",
|
|
61
|
+
"created_at": "2026-03-19T08:38:59.891Z"
|
|
62
|
+
},
|
|
49
63
|
{
|
|
50
64
|
"id": "artifact-demo-dashboard-ui-reports-panel-review-dashboard-md",
|
|
51
65
|
"name": "reports/panel-review-dashboard.md",
|
|
52
66
|
"type": "summary",
|
|
53
67
|
"task_id": "ui-t7",
|
|
54
|
-
"created_at": "2026-03-
|
|
68
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
55
69
|
},
|
|
56
70
|
{
|
|
57
71
|
"id": "artifact-demo-dashboard-ui-reports-visual-regression-json",
|
|
58
72
|
"name": "reports/visual-regression.json",
|
|
59
73
|
"type": "json",
|
|
60
74
|
"task_id": "ui-t6",
|
|
61
|
-
"created_at": "2026-03-
|
|
75
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
62
76
|
},
|
|
63
77
|
{
|
|
64
78
|
"id": "artifact-demo-dashboard-ui-src-components-DonutChart-tsx",
|
|
65
79
|
"name": "src/components/DonutChart.tsx",
|
|
66
80
|
"type": "file",
|
|
67
81
|
"task_id": "ui-t3",
|
|
68
|
-
"created_at": "2026-03-
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"id": "artifact-demo-dashboard-ui-src-components-KpiCard-tsx",
|
|
72
|
-
"name": "src/components/KpiCard.tsx",
|
|
73
|
-
"type": "file",
|
|
74
|
-
"task_id": "ui-t2",
|
|
75
|
-
"created_at": "2026-03-18T16:27:21.681Z"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "artifact-demo-dashboard-ui-src-components-design-tokens-ts",
|
|
79
|
-
"name": "src/components/design-tokens.ts",
|
|
80
|
-
"type": "file",
|
|
81
|
-
"task_id": "ui-t1",
|
|
82
|
-
"created_at": "2026-03-18T16:27:21.681Z"
|
|
82
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"id": "artifact-demo-dashboard-ui-src-styles-animations-css",
|
|
86
86
|
"name": "src/styles/animations.css",
|
|
87
87
|
"type": "file",
|
|
88
88
|
"task_id": "ui-t4",
|
|
89
|
-
"created_at": "2026-03-
|
|
89
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
90
90
|
}
|
|
91
91
|
],
|
|
92
92
|
"has_more_events": false,
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"name": "src/etl/pipeline.ts",
|
|
43
43
|
"type": "file",
|
|
44
44
|
"task_id": "etl-t2",
|
|
45
|
-
"created_at": "2026-03-
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"id": "artifact-demo-data-pipeline-src-etl-schema-ts",
|
|
49
49
|
"name": "src/etl/schema.ts",
|
|
50
50
|
"type": "file",
|
|
51
51
|
"task_id": "etl-t1",
|
|
52
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"id": "artifact-demo-data-pipeline-tests-etl-pipeline-test-ts",
|
|
56
56
|
"name": "tests/etl/pipeline.test.ts",
|
|
57
57
|
"type": "file",
|
|
58
58
|
"task_id": "etl-t3",
|
|
59
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"has_more_events": false,
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"name": "docs/ARCHITECTURE.md",
|
|
43
43
|
"type": "file",
|
|
44
44
|
"task_id": "docs-t1",
|
|
45
|
-
"created_at": "2026-03-
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"id": "artifact-demo-docs-update-docs-README-md",
|
|
49
49
|
"name": "docs/README.md",
|
|
50
50
|
"type": "file",
|
|
51
51
|
"task_id": "docs-t1",
|
|
52
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"id": "artifact-demo-docs-update-docs-api-reference-json",
|
|
56
56
|
"name": "docs/api-reference.json",
|
|
57
57
|
"type": "json",
|
|
58
58
|
"task_id": "docs-t2",
|
|
59
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"has_more_events": false,
|
|
@@ -42,28 +42,28 @@
|
|
|
42
42
|
"name": "reports/bundle-analysis.json",
|
|
43
43
|
"type": "json",
|
|
44
44
|
"task_id": "perf-t1",
|
|
45
|
-
"created_at": "2026-03-
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"id": "artifact-demo-perf-opt-reports-web-vitals-improvement-md",
|
|
49
|
-
"name": "reports/web-vitals-improvement.md",
|
|
50
|
-
"type": "summary",
|
|
51
|
-
"task_id": "perf-t4",
|
|
52
|
-
"created_at": "2026-03-18T16:27:21.682Z"
|
|
45
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
53
46
|
},
|
|
54
47
|
{
|
|
55
48
|
"id": "artifact-demo-perf-opt-src-charts-index-ts",
|
|
56
49
|
"name": "src/charts/index.ts",
|
|
57
50
|
"type": "file",
|
|
58
51
|
"task_id": "perf-t2",
|
|
59
|
-
"created_at": "2026-03-
|
|
52
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
60
53
|
},
|
|
61
54
|
{
|
|
62
55
|
"id": "artifact-demo-perf-opt-src-utils-image-loader-ts",
|
|
63
56
|
"name": "src/utils/image-loader.ts",
|
|
64
57
|
"type": "file",
|
|
65
58
|
"task_id": "perf-t3",
|
|
66
|
-
"created_at": "2026-03-
|
|
59
|
+
"created_at": "2026-03-19T08:38:59.892Z"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "artifact-demo-perf-opt-reports-web-vitals-improvement-md",
|
|
63
|
+
"name": "reports/web-vitals-improvement.md",
|
|
64
|
+
"type": "summary",
|
|
65
|
+
"task_id": "perf-t4",
|
|
66
|
+
"created_at": "2026-03-19T08:38:59.893Z"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
69
|
"has_more_events": false,
|
|
@@ -173,25 +173,7 @@ Each task `prompt` must be a **complete, standalone instruction**. Include:
|
|
|
173
173
|
>
|
|
174
174
|
> **Weak page prompt:** "Build the About page with a bio and skills section." — No foundation references, agent will create its own styles.
|
|
175
175
|
|
|
176
|
-
### 6.
|
|
177
|
-
|
|
178
|
-
- [ ] Every task has a unique `id`
|
|
179
|
-
- [ ] Every `depends_on` reference points to a valid `id` defined earlier in the list
|
|
180
|
-
- [ ] No dependency cycles exist
|
|
181
|
-
- [ ] No two parallel tasks share the same `files` entries — group tasks by phase and check each phase for overlaps; resolve with specific file paths or `depends_on` (see Step 2, rule 4)
|
|
182
|
-
- [ ] No `files` entry contains `*`, `?`, or `**` — use plain file paths or directory paths only
|
|
183
|
-
- [ ] Prompts are self-contained — an agent with zero context can execute them
|
|
184
|
-
- [ ] Timeouts are reasonable for the scope of each task
|
|
185
|
-
- [ ] **Dependency completeness**: For every task prompt, scan for imports, references, or usage of files/types/components produced by other tasks. Each such cross-reference MUST have a `depends_on` edge to the producing task.
|
|
186
|
-
- [ ] **Agent domain matching**: Verify each task's `agent` matches the domain — `developer` for code, `testing-expert` for tests, `documentation-writer` for docs, `copywriter` for marketing copy, `ui-ux-expert` for UI components, `database-engineer` for migrations, `security-expert` for auth/security, `data-expert` for ETL/scraping. A `content-engineer` should NOT be assigned to pure TypeScript code tasks.
|
|
187
|
-
- [ ] **File list completeness**: Every file mentioned in a task's prompt that the agent will create or modify MUST appear in that task's `files` list. Don't omit utility files, sub-components, or config files if the prompt instructs the agent to create them.
|
|
188
|
-
- [ ] **Prompt instruction accuracy**: Don't include instructions that contradict the dependency graph. If a task depends on another task (via `depends_on`), the depended task's outputs will exist when this task runs — don't add `@ts-expect-error` comments, stub files, or "if not found" fallbacks for files produced by dependencies.
|
|
189
|
-
- [ ] **Content research rule compliance**: If a prompt concerns real people, places, or organisations, it includes a research instruction telling the agent to search the internet first.
|
|
190
|
-
- [ ] **Foundation phase present**: If the plan involves 2+ pages or UI sections, a `foundation-setup` task exists with no dependencies, and all page tasks depend on it
|
|
191
|
-
- [ ] **Foundation references in page prompts**: Every page-building task prompt includes the 5 mandatory Foundation References (design tokens path, layout path, UI component path, aesthetic direction, content tone)
|
|
192
|
-
- [ ] **No token duplication**: Page task prompts do NOT instruct agents to create new design tokens, layout components, or shared UI primitives — only to import and use existing ones from the foundation
|
|
193
|
-
|
|
194
|
-
### 7. Output
|
|
176
|
+
### 6. Output
|
|
195
177
|
|
|
196
178
|
Your response must contain **ONLY** a single ` ```json ` fenced code block — no text before it, no text after it, no explanations, no summaries, no DAG diagrams.
|
|
197
179
|
|
|
@@ -234,6 +216,38 @@ When chain mode is detected:
|
|
|
234
216
|
}
|
|
235
217
|
````
|
|
236
218
|
|
|
219
|
+
## Self-Validation Checklist (MANDATORY)
|
|
220
|
+
|
|
221
|
+
Before outputting the JSON, verify **every item** below. The downstream validator will reject your plan if any blocking checks fail — fix them now to avoid expensive retry cycles.
|
|
222
|
+
|
|
223
|
+
### Structural Integrity
|
|
224
|
+
|
|
225
|
+
- [ ] Every task has a unique `id` (lowercase, kebab-case)
|
|
226
|
+
- [ ] Every `depends_on` reference points to a valid `id` defined in the task list
|
|
227
|
+
- [ ] No dependency cycles exist (DAG is acyclic)
|
|
228
|
+
- [ ] No `files` entry contains `*`, `?`, or `**` — plain paths only
|
|
229
|
+
- [ ] Top-level `name` and `tasks` fields are present; `tasks` is non-empty
|
|
230
|
+
- [ ] Every task has both `id` and `prompt` fields (both non-empty strings)
|
|
231
|
+
|
|
232
|
+
### Partition & Dependency Coherence
|
|
233
|
+
|
|
234
|
+
- [ ] No two parallel tasks (same phase / no `depends_on` edge) share any `files` entry — resolve with specific file paths or sequencing
|
|
235
|
+
- [ ] **Dependency completeness**: For every task prompt, scan for imports or references to files/types/components produced by other tasks. Each cross-reference MUST have a `depends_on` edge to the producing task.
|
|
236
|
+
- [ ] **File list completeness**: Every file mentioned in a task's prompt that the agent will create or modify appears in that task's `files` list. Don't omit utility files, sub-components, or config files.
|
|
237
|
+
- [ ] **Prompt-dependency coherence**: Prompts do not include workarounds (stub files, `@ts-expect-error`, conditional imports) for outputs of tasks listed in `depends_on`, since those outputs are guaranteed to exist.
|
|
238
|
+
|
|
239
|
+
### Prompt Quality
|
|
240
|
+
|
|
241
|
+
- [ ] **Self-contained**: An agent with zero context can execute the prompt without external clarification.
|
|
242
|
+
- [ ] **File-specific**: Names the exact files to create or modify — no vague references ("the frontend", "the codebase").
|
|
243
|
+
- [ ] **Substantive**: At least 2 meaningful sentences; no stubs (`...`), no placeholders.
|
|
244
|
+
- [ ] **Verifiable**: Contains acceptance criteria or explicit verification steps.
|
|
245
|
+
- [ ] **Agent domain matching**: Each task's `agent` matches the domain — `developer` for code, `testing-expert` for tests, `documentation-writer` for docs, `copywriter` for marketing copy, `ui-ux-expert` for UI, `database-engineer` for migrations, `security-expert` for auth/security, `data-expert` for ETL/scraping.
|
|
246
|
+
- [ ] **Content research compliance**: If a prompt concerns real people, places, or organisations, it includes a research instruction.
|
|
247
|
+
- [ ] **Foundation phase present** (multi-page only): If 2+ pages/UI sections, a `foundation-setup` task exists and all page tasks depend on it with the 5 mandatory Foundation References.
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
237
251
|
## Historical Performance Context
|
|
238
252
|
|
|
239
253
|
When historical execution data is available (via `opencastle insights --json`), the Team Lead should include a compact summary in the context. Example:
|
|
@@ -8,11 +8,9 @@ output: validation
|
|
|
8
8
|
|
|
9
9
|
# Validate Task Plan
|
|
10
10
|
|
|
11
|
-
> **Note:** Schema validation (field types, YAML syntax, dependency cycles, glob patterns) has already passed. Focus ONLY on the
|
|
11
|
+
> **Note:** Schema validation (field types, YAML syntax, dependency cycles, glob patterns) has already passed. The generator already enforces prompt quality, agent matching, and file list completeness. Focus ONLY on the structural and logical checks below.
|
|
12
12
|
|
|
13
|
-
You are a senior technical reviewer. Validate the task plan below for
|
|
14
|
-
|
|
15
|
-
> **⚠ EXHAUSTIVENESS MANDATE**: You MUST report ALL errors in a single pass. Do NOT stop at the first few issues. Systematically evaluate every task against every check below. A second validation pass should find zero new issues — if it would, your first pass was incomplete. Cross-reference every task's prompt against every other task's files list and dependency edges before concluding.
|
|
13
|
+
You are a senior technical reviewer. Validate the task plan below for **structural correctness**. Pass the plan if the structure is sound — do not fail for prompt wording, style, or verbosity.
|
|
16
14
|
|
|
17
15
|
## Task Plan to Validate
|
|
18
16
|
|
|
@@ -20,46 +18,31 @@ You are a senior technical reviewer. Validate the task plan below for semantic c
|
|
|
20
18
|
|
|
21
19
|
---
|
|
22
20
|
|
|
23
|
-
##
|
|
21
|
+
## Validation Checks
|
|
24
22
|
|
|
25
|
-
> If the spec
|
|
23
|
+
> If the spec contains `<!-- validation-pass: N -->`, this is pass N. On pass 2+, verify previous fixes were applied — do NOT invent new issues.
|
|
26
24
|
|
|
27
|
-
Evaluate
|
|
25
|
+
Evaluate the checks below. If ALL pass, respond `VALID`. Only fail for checks marked BLOCKING.
|
|
28
26
|
|
|
29
|
-
###
|
|
27
|
+
### Partition Conflicts (BLOCKING)
|
|
30
28
|
|
|
31
29
|
Two tasks that can run in parallel (no direct or transitive `depends_on` edge between them) must not share any `files` entry.
|
|
32
30
|
|
|
33
31
|
- [ ] For every pair of potentially-parallel tasks, confirm they share no file or directory path in their `files` lists
|
|
34
32
|
- [ ] Transitive dependencies count: if A → B → C, then A and C are NOT parallel
|
|
35
33
|
|
|
36
|
-
###
|
|
37
|
-
|
|
38
|
-
Each task `prompt` must be:
|
|
39
|
-
|
|
40
|
-
- [ ] **Self-contained** — an agent with zero context can execute it without external clarification
|
|
41
|
-
- [ ] **File-specific** — names the exact files to create or modify (not vague references like "the frontend" or "the codebase")
|
|
42
|
-
- [ ] **Substantive** — at least 2 meaningful sentences; no stubs (`...`), no placeholders
|
|
43
|
-
- [ ] **Verifiable** — contains acceptance criteria or explicit verification steps
|
|
44
|
-
- [ ] **Research-instructed** — if the prompt concerns real people, places, or organisations, it includes a research instruction
|
|
45
|
-
|
|
46
|
-
### 3. Dependency Completeness
|
|
47
|
-
|
|
48
|
-
If a task's prompt imports, references, or builds on files, types, components, or packages produced by another task, a `depends_on` edge to that producing task must exist.
|
|
34
|
+
### Dependency Completeness (BLOCKING)
|
|
49
35
|
|
|
50
|
-
|
|
51
|
-
- [ ] Each such reference must be covered by a `depends_on` edge to the task that creates it
|
|
36
|
+
If a task's prompt imports, references, or builds on files produced by another task, a `depends_on` edge to that producing task must exist.
|
|
52
37
|
|
|
53
|
-
|
|
38
|
+
- [ ] Scan every prompt for cross-task file references
|
|
39
|
+
- [ ] Each such reference must be covered by a `depends_on` edge
|
|
54
40
|
|
|
55
|
-
|
|
41
|
+
### Logical Soundness (BLOCKING)
|
|
56
42
|
|
|
57
43
|
- [ ] No redundant tasks doing the same work
|
|
58
|
-
- [ ] No obvious missing tasks
|
|
59
|
-
- [ ]
|
|
60
|
-
- [ ] Agent assignment matches domain — `developer` for code, `documentation-writer` for docs, `copywriter` for marketing copy, etc.
|
|
61
|
-
- [ ] File list completeness — every file the prompt instructs the agent to create/modify appears in the task's `files` list
|
|
62
|
-
- [ ] Prompt-dependency coherence — prompts do not include workarounds (stub files, `@ts-expect-error`, conditional imports) for outputs of tasks listed in `depends_on`, since those outputs are guaranteed to exist
|
|
44
|
+
- [ ] No obvious missing tasks that would leave the goal unachievable
|
|
45
|
+
- [ ] No tasks with empty or stub prompts (`...`, placeholder text)
|
|
63
46
|
|
|
64
47
|
---
|
|
65
48
|
|