@buildr-ai/buildr 0.1.0-rc.18 → 0.1.0-rc.19
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/application-payload.json +68 -44
- package/installation-origin.json +5 -5
- package/package.json +1 -1
- package/payload/product/package/manifest.yml +18 -0
- package/payload/product/package/targets/workspace/components/buildr/openspec/component.yml +16 -2
- package/payload/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-apply-sidebar.md +2 -0
- package/payload/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-propose-sidebar.md +2 -0
- package/payload/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-update-sidebar.md +2 -0
- package/payload/product/package/targets/workspace/gitignore +3 -0
- package/payload/product/package/targets/workspace/rules/buildr/core.md +1 -1
- package/payload/product/package/targets/workspace/skills/buildr/project-daily-progress/SKILL.md +52 -0
- package/payload/product/package/targets/workspace/skills/buildr/task-development/SKILL.md +10 -2
- package/payload/product/package/targets/workspace/skills/buildr/task-environment/SKILL.md +4 -3
- package/payload/product/package/targets/workspace/skills/buildr/task-finish/SKILL.md +2 -2
- package/payload/product/package/targets/workspace/skills/buildr/task-triage/SKILL.md +10 -2
- package/payload/product/package/targets/workspace/skills/buildr/ui-preview/SKILL.md +74 -0
- package/payload/product/package.json +1 -1
- package/payload/product/src/infrastructure/sqlite/migrations/0016_allow_terminal_task_finish_target_lease.sql +83 -0
- package/payload/product/src/infrastructure/sqlite/migrations/0017_expand_task_finish_repository_set.sql +111 -0
- package/payload/product/src/interfaces/local-app/web-dist/assets/antd-NAtxFWmu.js +394 -0
- package/payload/product/src/interfaces/local-app/web-dist/assets/index-CCkJPQeH.css +1 -0
- package/payload/product/src/interfaces/local-app/web-dist/assets/index-PFz-yjVX.js +39 -0
- package/payload/product/src/interfaces/local-app/web-dist/assets/{react-CRF1mzbM.js → react-9kRp7SbA.js} +1 -1
- package/payload/product/src/interfaces/local-app/web-dist/index.html +5 -4
- package/payload/runtime/read-worker.cjs +6465 -3390
- package/runtime/buildr.cjs +7561 -3926
- package/payload/product/src/interfaces/local-app/web-dist/assets/antd-r61vN4p8.js +0 -375
- package/payload/product/src/interfaces/local-app/web-dist/assets/index-0hJSYQfh.css +0 -1
- package/payload/product/src/interfaces/local-app/web-dist/assets/index-B0_naYrW.js +0 -38
package/application-payload.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "buildr.application-payload/v1",
|
|
3
3
|
"packageName": "@buildr-ai/buildr",
|
|
4
|
-
"buildrVersion": "0.1.0-rc.
|
|
4
|
+
"buildrVersion": "0.1.0-rc.19",
|
|
5
5
|
"protocolIdentity": "buildr.web-protocol/v1",
|
|
6
|
-
"sourceCommit": "
|
|
6
|
+
"sourceCommit": "dd6613377bac2bfb75d9aca90f1035c5c0920e65",
|
|
7
7
|
"enginesNode": ">=24.15.0 <25",
|
|
8
8
|
"productionDependencies": [
|
|
9
9
|
{
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"path": "resources/product/package.json",
|
|
37
37
|
"mode": 420,
|
|
38
38
|
"size": 748,
|
|
39
|
-
"sha256": "
|
|
39
|
+
"sha256": "db7b4cc98fdc4b32d23e363c64b4001d6082e50aeffedd3d7ebe210bfa97c576"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"path": "resources/product/package/README.md",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
{
|
|
72
72
|
"path": "resources/product/package/manifest.yml",
|
|
73
73
|
"mode": 420,
|
|
74
|
-
"size":
|
|
75
|
-
"sha256": "
|
|
74
|
+
"size": 32107,
|
|
75
|
+
"sha256": "e2e459c98fccc3ee63734e6903461759484e2961a4df4ed37d1e36fa288ea5ab"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"path": "resources/product/package/targets/runtime/skills/buildr/SKILL.md",
|
|
@@ -95,14 +95,14 @@
|
|
|
95
95
|
{
|
|
96
96
|
"path": "resources/product/package/targets/workspace/components/buildr/openspec/component.yml",
|
|
97
97
|
"mode": 420,
|
|
98
|
-
"size":
|
|
99
|
-
"sha256": "
|
|
98
|
+
"size": 4815,
|
|
99
|
+
"sha256": "019e705dc73a4f6375cf2d6131602263ec35bf2ee412ae64b63d7bfcad4d8f2e"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"path": "resources/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-apply-sidebar.md",
|
|
103
103
|
"mode": 420,
|
|
104
|
-
"size":
|
|
105
|
-
"sha256": "
|
|
104
|
+
"size": 5292,
|
|
105
|
+
"sha256": "acd09fa14baeb779bdd9ccca7d45e85ec10e694cee5206ce9798bf9f770ed98a"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"path": "resources/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-archive-converge.md",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
{
|
|
120
120
|
"path": "resources/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-propose-sidebar.md",
|
|
121
121
|
"mode": 420,
|
|
122
|
-
"size":
|
|
123
|
-
"sha256": "
|
|
122
|
+
"size": 4735,
|
|
123
|
+
"sha256": "92fc002a0c99ffe5a1e0c423153a5f7e46756d885a7ce9342c773e2e04dcf0ee"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"path": "resources/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-sync-converge.md",
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
{
|
|
132
132
|
"path": "resources/product/package/targets/workspace/components/buildr/openspec/contributions/openspec-update-sidebar.md",
|
|
133
133
|
"mode": 420,
|
|
134
|
-
"size":
|
|
135
|
-
"sha256": "
|
|
134
|
+
"size": 2943,
|
|
135
|
+
"sha256": "0b4ec076e88fce40afe3d2dd1c52ee1aa4454b8452a869464ec740af9cb724bc"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"path": "resources/product/package/targets/workspace/gitattributes",
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
{
|
|
144
144
|
"path": "resources/product/package/targets/workspace/gitignore",
|
|
145
145
|
"mode": 420,
|
|
146
|
-
"size":
|
|
147
|
-
"sha256": "
|
|
146
|
+
"size": 528,
|
|
147
|
+
"sha256": "9809a6b6195469ae194de252ea7bed407f7e4f88e8ba25c9ecd86d0ab86e5c4a"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
"path": "resources/product/package/targets/workspace/projects/AGENTS.project.md",
|
|
@@ -155,8 +155,8 @@
|
|
|
155
155
|
{
|
|
156
156
|
"path": "resources/product/package/targets/workspace/rules/buildr/core.md",
|
|
157
157
|
"mode": 420,
|
|
158
|
-
"size":
|
|
159
|
-
"sha256": "
|
|
158
|
+
"size": 5650,
|
|
159
|
+
"sha256": "29929c260b6d8ab267a7c3e448f7033ad49d8683bafaeb36d5c7d8f95ed0d801"
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
"path": "resources/product/package/targets/workspace/skills/buildr/capability-adaptation/SKILL.md",
|
|
@@ -194,6 +194,12 @@
|
|
|
194
194
|
"size": 7181,
|
|
195
195
|
"sha256": "3b744f7e9e9702462260b1895c3cae74b1c5a94d824e6bcbf0d70fb4bb141057"
|
|
196
196
|
},
|
|
197
|
+
{
|
|
198
|
+
"path": "resources/product/package/targets/workspace/skills/buildr/project-daily-progress/SKILL.md",
|
|
199
|
+
"mode": 420,
|
|
200
|
+
"size": 3721,
|
|
201
|
+
"sha256": "e55d704212908138e6bc7cac9fd37ecb8a62bc765d7eb43a06e3002508bbb333"
|
|
202
|
+
},
|
|
197
203
|
{
|
|
198
204
|
"path": "resources/product/package/targets/workspace/skills/buildr/project-testing/SKILL.md",
|
|
199
205
|
"mode": 420,
|
|
@@ -209,14 +215,14 @@
|
|
|
209
215
|
{
|
|
210
216
|
"path": "resources/product/package/targets/workspace/skills/buildr/task-development/SKILL.md",
|
|
211
217
|
"mode": 420,
|
|
212
|
-
"size":
|
|
213
|
-
"sha256": "
|
|
218
|
+
"size": 17808,
|
|
219
|
+
"sha256": "0ac3d0d73733354e8cca7958325863f3fcba19631bcbce8cc4686cd7a7563315"
|
|
214
220
|
},
|
|
215
221
|
{
|
|
216
222
|
"path": "resources/product/package/targets/workspace/skills/buildr/task-environment/SKILL.md",
|
|
217
223
|
"mode": 420,
|
|
218
|
-
"size":
|
|
219
|
-
"sha256": "
|
|
224
|
+
"size": 5318,
|
|
225
|
+
"sha256": "e36fb831a82f747e95be05ca929c8fbb1a827f686a67fe6108216dd952006e0f"
|
|
220
226
|
},
|
|
221
227
|
{
|
|
222
228
|
"path": "resources/product/package/targets/workspace/skills/buildr/task-environment/agents/openai.yaml",
|
|
@@ -245,8 +251,8 @@
|
|
|
245
251
|
{
|
|
246
252
|
"path": "resources/product/package/targets/workspace/skills/buildr/task-finish/SKILL.md",
|
|
247
253
|
"mode": 420,
|
|
248
|
-
"size":
|
|
249
|
-
"sha256": "
|
|
254
|
+
"size": 8729,
|
|
255
|
+
"sha256": "2f99fdee34f206e69d71aab914be18d93ebe13425c790a9889b1e3cb6e565734"
|
|
250
256
|
},
|
|
251
257
|
{
|
|
252
258
|
"path": "resources/product/package/targets/workspace/skills/buildr/task-manager/SKILL.md",
|
|
@@ -287,8 +293,8 @@
|
|
|
287
293
|
{
|
|
288
294
|
"path": "resources/product/package/targets/workspace/skills/buildr/task-triage/SKILL.md",
|
|
289
295
|
"mode": 420,
|
|
290
|
-
"size":
|
|
291
|
-
"sha256": "
|
|
296
|
+
"size": 16616,
|
|
297
|
+
"sha256": "1d3886e8920abccc09b7c8747cbb498fdda4920887a7fd95a5e3868fbcb3be70"
|
|
292
298
|
},
|
|
293
299
|
{
|
|
294
300
|
"path": "resources/product/package/targets/workspace/skills/buildr/task-verification/SKILL.md",
|
|
@@ -320,6 +326,12 @@
|
|
|
320
326
|
"size": 3301,
|
|
321
327
|
"sha256": "9fbdfd890782ffc7b38333388c96ad2cab9726b1b4de023d0bab395579c7ba64"
|
|
322
328
|
},
|
|
329
|
+
{
|
|
330
|
+
"path": "resources/product/package/targets/workspace/skills/buildr/ui-preview/SKILL.md",
|
|
331
|
+
"mode": 420,
|
|
332
|
+
"size": 4943,
|
|
333
|
+
"sha256": "1f013d408416b2ca1d1980384b6be97a8db467f2161c900fc3c1b3e3bbfcae65"
|
|
334
|
+
},
|
|
323
335
|
{
|
|
324
336
|
"path": "resources/product/package/targets/workspace/skills/contracts/buildr/current-knowledge-maintenance/v1.md",
|
|
325
337
|
"mode": 420,
|
|
@@ -525,47 +537,59 @@
|
|
|
525
537
|
"sha256": "0c02f1a070a7c9e9250d28fe8f76bb1450d06ab93a8cbbf079dc33dd3d2285c4"
|
|
526
538
|
},
|
|
527
539
|
{
|
|
528
|
-
"path": "resources/product/src/
|
|
540
|
+
"path": "resources/product/src/infrastructure/sqlite/migrations/0016_allow_terminal_task_finish_target_lease.sql",
|
|
541
|
+
"mode": 420,
|
|
542
|
+
"size": 5019,
|
|
543
|
+
"sha256": "5c582ddbe3a17cbaa5ea6c0b972daadc5c580674ce95fb31bbb31794fc89d639"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"path": "resources/product/src/infrastructure/sqlite/migrations/0017_expand_task_finish_repository_set.sql",
|
|
547
|
+
"mode": 420,
|
|
548
|
+
"size": 6705,
|
|
549
|
+
"sha256": "edd650ceb28c82bf721d9f8ba97269c2c62d4cb913a4f1c6ad6d0c4f7a3cbdbf"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"path": "resources/product/src/interfaces/local-app/web-dist/assets/antd-NAtxFWmu.js",
|
|
529
553
|
"mode": 420,
|
|
530
|
-
"size":
|
|
531
|
-
"sha256": "
|
|
554
|
+
"size": 1001520,
|
|
555
|
+
"sha256": "7de2a88dd79a96f5d3334163a53322cc6f85c7452ad34816c01b1dbc6574deb3"
|
|
532
556
|
},
|
|
533
557
|
{
|
|
534
|
-
"path": "resources/product/src/interfaces/local-app/web-dist/assets/index-
|
|
558
|
+
"path": "resources/product/src/interfaces/local-app/web-dist/assets/index-CCkJPQeH.css",
|
|
535
559
|
"mode": 420,
|
|
536
|
-
"size":
|
|
537
|
-
"sha256": "
|
|
560
|
+
"size": 47475,
|
|
561
|
+
"sha256": "88af8a04a9a4f44d4c5975d669893b18e21c13bb669bb1657c5025f24b7bae5c"
|
|
538
562
|
},
|
|
539
563
|
{
|
|
540
|
-
"path": "resources/product/src/interfaces/local-app/web-dist/assets/index-
|
|
564
|
+
"path": "resources/product/src/interfaces/local-app/web-dist/assets/index-PFz-yjVX.js",
|
|
541
565
|
"mode": 420,
|
|
542
|
-
"size":
|
|
543
|
-
"sha256": "
|
|
566
|
+
"size": 382490,
|
|
567
|
+
"sha256": "9469f6dfa93fd2cc145f1bbd772d1f904cfa5f1a56be516ebea0585eb6712b43"
|
|
544
568
|
},
|
|
545
569
|
{
|
|
546
|
-
"path": "resources/product/src/interfaces/local-app/web-dist/assets/react-
|
|
570
|
+
"path": "resources/product/src/interfaces/local-app/web-dist/assets/react-9kRp7SbA.js",
|
|
547
571
|
"mode": 420,
|
|
548
|
-
"size":
|
|
549
|
-
"sha256": "
|
|
572
|
+
"size": 51062,
|
|
573
|
+
"sha256": "80b8acfb9f634d46c6540cc1823f2a7d0b7acd72005e2cce4e30f39e5a3d559a"
|
|
550
574
|
},
|
|
551
575
|
{
|
|
552
576
|
"path": "resources/product/src/interfaces/local-app/web-dist/index.html",
|
|
553
577
|
"mode": 420,
|
|
554
|
-
"size":
|
|
555
|
-
"sha256": "
|
|
578
|
+
"size": 908,
|
|
579
|
+
"sha256": "db8607b02ca1deccac789a5ef13cccf25ab12f5e670d792431eecc2bde528736"
|
|
556
580
|
},
|
|
557
581
|
{
|
|
558
582
|
"path": "resources/runtime/read-worker.cjs",
|
|
559
583
|
"mode": 420,
|
|
560
|
-
"size":
|
|
561
|
-
"sha256": "
|
|
584
|
+
"size": 2538990,
|
|
585
|
+
"sha256": "e6380473fed51990304fc6c75266189fb443eef5c36068c4150f1a2a657911b9"
|
|
562
586
|
},
|
|
563
587
|
{
|
|
564
588
|
"path": "runtime/buildr.cjs",
|
|
565
589
|
"mode": 420,
|
|
566
|
-
"size":
|
|
567
|
-
"sha256": "
|
|
590
|
+
"size": 2871832,
|
|
591
|
+
"sha256": "828f03a6ad6926a237f77eaaeb892d1611fbeb53e2eb4ea99ea713a881031ead"
|
|
568
592
|
}
|
|
569
593
|
],
|
|
570
|
-
"applicationPayloadDigest": "sha256-
|
|
594
|
+
"applicationPayloadDigest": "sha256-30f4d639dcde9c4dddfecc6d0a205833a57d02b33b7657e45a1d804117d49f73"
|
|
571
595
|
}
|
package/installation-origin.json
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"channel": "npm",
|
|
4
4
|
"runtimeRole": "host",
|
|
5
5
|
"package": "@buildr-ai/buildr",
|
|
6
|
-
"version": "0.1.0-rc.
|
|
6
|
+
"version": "0.1.0-rc.19",
|
|
7
7
|
"protocolIdentity": "buildr.web-protocol/v1",
|
|
8
|
-
"applicationPayloadDigest": "sha256-
|
|
9
|
-
"sourceCommit": "
|
|
8
|
+
"applicationPayloadDigest": "sha256-30f4d639dcde9c4dddfecc6d0a205833a57d02b33b7657e45a1d804117d49f73",
|
|
9
|
+
"sourceCommit": "dd6613377bac2bfb75d9aca90f1035c5c0920e65",
|
|
10
10
|
"sourceTag": null,
|
|
11
|
-
"installUnit": "@buildr-ai/buildr@0.1.0-rc.
|
|
12
|
-
"ownershipIdentity": "sha256-
|
|
11
|
+
"installUnit": "@buildr-ai/buildr@0.1.0-rc.19",
|
|
12
|
+
"ownershipIdentity": "sha256-4306016c16642c29d6833ca857e8997c044e036b32e54b87e8bf923e76ce3f5d"
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -264,6 +264,22 @@ builtins:
|
|
|
264
264
|
description: 用户要求采用内部流程、调整工作方式、修改默认 Skill 行为、创建或替换专业 Skill、卸载可能被编排的 Skill,或 Agent 准备改变 capability contract 及跨 Skill 协作边界时使用。
|
|
265
265
|
required: false
|
|
266
266
|
runtimes: ["claude-code","codex","cursor","qoder","trae","trae-work","workbuddy"]
|
|
267
|
+
- id: ui-preview
|
|
268
|
+
path: package/targets/workspace/skills/buildr/ui-preview
|
|
269
|
+
target: skills/buildr/ui-preview
|
|
270
|
+
description: 用户已明确确认需要在正式前端开发前查看本次提案实施后的完整页面预演时使用;调查现有真实界面,生成并在浏览器验证一个或多个自包含 HTML。未明确确认时不得使用。
|
|
271
|
+
required: false
|
|
272
|
+
runtimes: ["claude-code","codex","cursor","qoder","trae","trae-work","workbuddy"]
|
|
273
|
+
- id: project-daily-progress
|
|
274
|
+
path: package/targets/workspace/skills/buildr/project-daily-progress
|
|
275
|
+
target: skills/buildr/project-daily-progress
|
|
276
|
+
description: 用户要求展示、生成或重跑某 Project 的每日演进,或询问能否每天自动执行时使用;先同步最新代码,再收集当日 Git 提交与更改文件,由 Agent 总结四问后通过 CLI 写入本机文件。读取路径不扫描 Git、不写 Task Record、不提供产品 cron。
|
|
277
|
+
required: false
|
|
278
|
+
requires:
|
|
279
|
+
- capability: buildr.git-operations
|
|
280
|
+
version: 1
|
|
281
|
+
mode: optional
|
|
282
|
+
runtimes: ["claude-code","codex","cursor","qoder","trae","trae-work","workbuddy"]
|
|
267
283
|
- id: task-retrospective
|
|
268
284
|
path: package/targets/workspace/skills/buildr/task-retrospective
|
|
269
285
|
target: skills/buildr/task-retrospective
|
|
@@ -493,6 +509,8 @@ workspaceFiles:
|
|
|
493
509
|
- package/targets/workspace/skills/buildr/task-review/agents/openai.yaml => skills/buildr/task-review/agents/openai.yaml copy
|
|
494
510
|
- package/targets/workspace/skills/buildr/capability-adaptation/SKILL.md => skills/buildr/capability-adaptation/SKILL.md copy
|
|
495
511
|
- package/targets/workspace/skills/buildr/capability-adaptation/agents/openai.yaml => skills/buildr/capability-adaptation/agents/openai.yaml copy
|
|
512
|
+
- package/targets/workspace/skills/buildr/ui-preview/SKILL.md => skills/buildr/ui-preview/SKILL.md copy
|
|
513
|
+
- package/targets/workspace/skills/buildr/project-daily-progress/SKILL.md => skills/buildr/project-daily-progress/SKILL.md copy
|
|
496
514
|
- package/targets/workspace/skills/buildr/task-retrospective/SKILL.md => skills/buildr/task-retrospective/SKILL.md copy
|
|
497
515
|
- package/targets/workspace/skills/buildr/task-retrospective/agents/openai.yaml => skills/buildr/task-retrospective/agents/openai.yaml copy
|
|
498
516
|
- package/targets/workspace/skills/buildr/task-environment/SKILL.md => skills/buildr/task-environment/SKILL.md copy
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
schemaVersion: buildr.component/v1
|
|
2
2
|
id: openspec
|
|
3
3
|
kind: integration
|
|
4
|
-
version: "1.6.0+buildr.
|
|
4
|
+
version: "1.6.0+buildr.9"
|
|
5
5
|
source: buildr
|
|
6
6
|
upstream:
|
|
7
7
|
name: "@fission-ai/openspec"
|
|
@@ -62,4 +62,18 @@ contributions:
|
|
|
62
62
|
capability: buildr.current-knowledge-maintenance
|
|
63
63
|
version: 1
|
|
64
64
|
mode: required
|
|
65
|
-
integrity:
|
|
65
|
+
integrity:
|
|
66
|
+
- skills/openspec/openspec-explore=sha256-fbfde4b11433722d42d8517000020503f2a33daba6cb4f1cf46da31cbe82e381
|
|
67
|
+
- skills/openspec/openspec-propose=sha256-12ce4148333e54a3f7fb171511fa510e9030322cbd44e3ce94c68e9322cf893e
|
|
68
|
+
- skills/openspec/openspec-update-change=sha256-ee6154a39a8ba71c88ee517626834cc35bd134d250d2bc138ac8cff1dd32496d
|
|
69
|
+
- skills/openspec/openspec-apply-change=sha256-2bc0d51408640c259f8b4608b6aa9c5f4dd736ec1a353546157a757f74b3d613
|
|
70
|
+
- skills/openspec/openspec-sync-specs=sha256-c3971fa0e66489c123d9118410c404009148b40e4801d4879924d07655e05925
|
|
71
|
+
- skills/openspec/openspec-archive-change=sha256-71b27be3cccf568fba36589da3ec43dc1c98032bf21b5873ce29f3e593945ca9
|
|
72
|
+
- skills/buildr/openspec-contract-guard=sha256-47f664a032fe17968dedfefbc4ef305eff22e5b243daa6a41aad45c77aa97362
|
|
73
|
+
- commands/buildr/openspec/manifest.yml=sha256-beb4526c7109ada72b34394e8ce6fe7823cbd4ff695e376da9709e87439fe1b9
|
|
74
|
+
- components/buildr/openspec/contributions/openspec-explore-terminology.md=sha256-e9c0e2382be125b68f250479f546ba49c25bf892b8ea6442196cd70cb53e106b
|
|
75
|
+
- components/buildr/openspec/contributions/openspec-propose-sidebar.md=sha256-92fc002a0c99ffe5a1e0c423153a5f7e46756d885a7ce9342c773e2e04dcf0ee
|
|
76
|
+
- components/buildr/openspec/contributions/openspec-update-sidebar.md=sha256-0b4ec076e88fce40afe3d2dd1c52ee1aa4454b8452a869464ec740af9cb724bc
|
|
77
|
+
- components/buildr/openspec/contributions/openspec-apply-sidebar.md=sha256-acd09fa14baeb779bdd9ccca7d45e85ec10e694cee5206ce9798bf9f770ed98a
|
|
78
|
+
- components/buildr/openspec/contributions/openspec-sync-converge.md=sha256-bbbb0737004a5cc0fb05f4cee683905c36ca9105dd44ada8a229b73b76fb06ab
|
|
79
|
+
- components/buildr/openspec/contributions/openspec-archive-converge.md=sha256-32d116ad123813db224acb7b3a6fa9335153f01fd7a2d80ade3b9e4efc3ee98a
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
应用 change 前先向用户说明正在使用 OpenSpec、`apply` action、change id 及其选择或推断来源。OpenSpec status 解析上下文后,在编辑前报告实际 `changeRoot`;正式实现任务同时报告 Task ID 与 Task Environment 的实际工作根。
|
|
4
4
|
|
|
5
|
+
若 current proposal、design 或 delta specs 表明会产生用户可见前端 UI 变化,确认用户是否需要界面预演稿(UI Preview)。只有当前任务已有明确确认,才在正式前端实现编辑前加载独立 `ui-preview` Skill完成真实 UI 调查、完整页面生成和浏览器验证;用户拒绝、未确认或要求继续时不生成并直接继续 apply。UI Preview 不构成 Planning Review、Implementation、Verification、Convergence 或 Finish gate。
|
|
6
|
+
|
|
5
7
|
任何实现编辑前,确认 apply-required artifacts 已完成并运行上游 `openspec validate <change> --strict`,再从matching Environment Receipt取得`execution.workdir`并运行`buildr openspec convergence preflight <change> --project <project> --target <task-execution-root> --json`。Preflight `blocked`时在Planning Review前停止,由Agent按active Change conflict、Scenario omission、rename/identity conflict、projected validation或其他semantic diagnostic处理依赖、修订artifact或请求用户决定,再重跑strict与preflight;不得自动补回Scenario、选择rename、修改canonical或把blocker写入Review Result代替处理。
|
|
6
8
|
|
|
7
9
|
只有preflight返回current `ready`后,正式Task才使用Environment声明的Node与Buildr Service execution root调用`task-planning-identity-driver.mjs inspect --task <task-id> --target <canonical-workspace>`,用`resolved`结果的`target.identity`与`planningNodes`更新Development planning,并持有该target的current Planning Review。任一门禁未通过时停止并报告诊断;preflight或resolver `blocked`时不得用raw digest、路径、mtime、checklist progress、Git ref或旧Review target回退。Planning Review不拥有、复制或解释preflight逻辑。delta Requirement identity 后续改变时必须重新执行strict validation、preflight与resolver,并使Planning Review重新判断current。Preflight ready只绑定当前delta、canonical、active Changes与executable,不是写入授权;最终converge始终按最新事实重新规划验证。不得把该门禁放回早于Change创建的task triage,也不得创建、刷新、读取或采用旧baseline/阶段sidecar。
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
创建 change 前先向用户说明正在使用 OpenSpec、`propose` action 和预定 change id,不得静默创建。OpenSpec status 解析上下文后,在写 artifacts 前报告实际 `changeRoot`,不得猜测路径。
|
|
4
4
|
|
|
5
|
+
若用户目标或本次 planning artifacts 可能产生用户可见前端 UI 变化,确认用户是否需要界面预演稿(UI Preview)。只有当前任务已有明确确认,才在 proposal/design/spec 已提供足够上下文后、正式前端实现前加载独立 `ui-preview` Skill;用户拒绝、未确认或要求继续时不生成并继续 OpenSpec 流程。不得把预演稿变成 planning node、Review gate、waiver、Result 或 blocker。
|
|
6
|
+
|
|
5
7
|
在执行 `openspec new change` 或写入任何 change artifacts 前,先取得正式 Task Record,并判断任务执行形态:
|
|
6
8
|
|
|
7
9
|
- 预计进入代码修改、构建、测试或需要长期开发上下文时,使用 `task-environment` 按 Task ID 准备完整 repository set,取得 `ready`、明确 execution roots、validation root 与执行 CLI 后再写入。
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
`openspec-update-change` 只修订既有 planning artifacts,不授予实现、同步或归档权限。Task Environment 与 Task Development 是该 consumer 的条件依赖:纯 planning 修订可在 provider 未 ready 时安全降级;若本次修订需要新的实现、构建、测试、资源或执行位置变化,必须停止当前 update,先按正式 Task ID 重新运行 Task Environment `prepare`,取得 matching `ready`、明确 execution roots 与执行 CLI,并取得 matching Development context,随后用 `openspec-apply-change` 进入实现。
|
|
4
4
|
|
|
5
|
+
若修订后首次明确会产生用户可见前端 UI 变化,且当前任务尚未询问,确认用户是否需要界面预演稿(UI Preview)。只有用户明确确认后才加载独立 `ui-preview` Skill;拒绝、未确认或继续任务时不生成、不阻塞 update/apply,也不创建任何 planning 或 lifecycle 占位事实。
|
|
6
|
+
|
|
5
7
|
仅更新计划时不重复报告 upstream 已解析的 status 或 `changeRoot`。计划修订不得绕过 verification、Buildr baseline/check 或 task-finish 的既有门禁。
|
|
6
8
|
|
|
7
9
|
若本次修订改变 scope、核心流程、影响、验收或 delta requirements,读取 required `buildr.current-knowledge-maintenance/v1` binding、contract 和 selected provider,刷新 `brief.md` 并重新执行 `assess`;tasks 与 `.buildr/knowledge-impact.yml` 必须反映修订后的真实影响。Provider unresolved 或 dependency blocked 时停止并报告,不得保留已知陈旧 Brief/evidence。
|
|
@@ -14,7 +14,7 @@ Buildr workspace 的通用硬约束。按 root → Project → Service 读取当
|
|
|
14
14
|
- 已初始化 workspace 的 Git tree 改变后必须执行 workspace transition check;Buildr 安装、源资产或 Agent runtime 改变后必须运行当前 Agent 的 doctor。未清除需立即处理的 error,不得视为完成。
|
|
15
15
|
- 面向用户使用直接、简练的中文。专业术语使用中文或“中文(English Term)”;无稳定译名时使用“中文释义(English Term)”。命令、标识、路径、错误原文和产品名可保留英文。
|
|
16
16
|
- 没有更具体的 Project、Service 或仓库约定时,Git 提交信息的主题和正文默认使用中文;代码标识、路径、scope 和专有名词可保留原文。
|
|
17
|
-
-
|
|
17
|
+
- 新建或重写文本文件时,最后一个非空字符后必须且只能保留一个换行符。文件末尾不得存在空白行。正确:`...\n`;错误:`...\n\n`。该限制只针对文件末尾,不限制正文内部的合理空行。
|
|
18
18
|
- Agent 是默认操作入口;取得必要授权后直接执行。仅在用户选择手动方式或 Agent 受工具、权限、登录态、外部环境阻塞时提供手动步骤。
|
|
19
19
|
- 没有与最终候选一致的验证证据,不得声称完整验证或完成;完成说明必须报告验证范围、结果、耗时和缺口。
|
|
20
20
|
- `rules/manifest.yml` 是 root/Organization Rule 的登记与启停用 authority;维护流程由 Skill 承载。
|
package/payload/product/package/targets/workspace/skills/buildr/project-daily-progress/SKILL.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-daily-progress
|
|
3
|
+
description: 用户要求展示、生成或重跑某 Project 的每日演进,或询问能否每天自动执行时使用;先同步最新代码,再收集当日 Git 提交与更改文件,由 Agent 总结四问后通过 CLI 写入本机文件。读取路径不扫描 Git、不写 Task Record、不提供产品 cron。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 项目每日演进
|
|
7
|
+
|
|
8
|
+
本 Skill 帮助 Agent 展示或生成 **项目每日演进(Project Daily Progress)**:按已登记 Project 把当天 Git 提交驱动的四问摘要写入本机 YAML。页面只读;摘要由 Agent 判断后撰写,Buildr 只校验、落盘、解析 Task。
|
|
9
|
+
|
|
10
|
+
它不是当前认知、Task 状态、Verification 或 Retrospective。产品 Application / HTTP GET **不**扫描 Git 提交、不读取 `git config user.email`、不根据 Task `updatedAt` 自动写摘要,也不内置 cron。写入前由本 Skill 收集 Git。
|
|
11
|
+
|
|
12
|
+
## 1. 先同步最新代码
|
|
13
|
+
|
|
14
|
+
写入前必须执行与「更新 workspace」相同的同步门禁:
|
|
15
|
+
|
|
16
|
+
1. 若 Workspace 由 Git 管理,把已选定 upstream 的安全 Git update 交给 `buildr.git-operations/v1`(workspace update)。working tree dirty、分叉冲突、upstream 不明或 provider `blocked` 时停止,**不要调用 record**。
|
|
17
|
+
2. 成功后再运行 `buildr sync <agent>`。最终 Doctor 未 ready 时停止,**不要调用 record**。
|
|
18
|
+
3. 非 Git Workspace 跳过 Git update,但仍须在 sync/Doctor 适用时保持当前资产 current。没有 Git 时不得伪造 commits,也**不要调用 record**。
|
|
19
|
+
|
|
20
|
+
同步失败时报告 blocked 原因,当天每日演进文件必须保持调用前状态。
|
|
21
|
+
|
|
22
|
+
## 2. 收集当日 Git 并由 Agent 总结
|
|
23
|
+
|
|
24
|
+
同步成功后:
|
|
25
|
+
|
|
26
|
+
1. 收集目标日期(本机日历日或用户指定 `YYYY-MM-DD`)的全部 Git 提交与更改文件。
|
|
27
|
+
2. 读取本机 `git config user.email`,与 commit author email 做大小写不敏感、去空白比较。
|
|
28
|
+
3. 自己的提交 `authorship: self`,可挂 0..N 个**当前 Workspace 已存在**的 Task ID;没有 Task 也要写入。
|
|
29
|
+
4. 他人提交 `authorship: other`,必须写入且 **不得**挂 Task。
|
|
30
|
+
5. 撰写日摘要四问:`added`(新增了什么)、`updated`(更新了什么)、`deleted`(删除了什么)、`drawbacks`(有什么弊端)。
|
|
31
|
+
|
|
32
|
+
不要手写 YAML,不要写入 Task SQLite。未提交 working tree 改动不要假装已经进日报,可写在弊端里。
|
|
33
|
+
|
|
34
|
+
## 3. 通过 CLI 写入
|
|
35
|
+
|
|
36
|
+
使用 agent-machine 命令,显式指定 Project:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
buildr project daily-progress record --project <code> [--date <YYYY-MM-DD>] --input <payload.json> --json
|
|
40
|
+
buildr project daily-progress inspect --project <code> [--date <YYYY-MM-DD>] [--group day|person|task] --json
|
|
41
|
+
buildr project daily-progress list --project <code> --json
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
`record --schema` / `--example` 可发现 closed payload。省略日期时使用本机本地时区日历日。同一天再次成功 record 会原子覆盖当天文件,不保留 run 历史。任一 Task ID 不存在或他人提交带 Task 时整次 fail closed,不写文件。
|
|
45
|
+
|
|
46
|
+
`--input` JSON 只是一次性 CLI 输入,放在操作系统临时目录;成功后立即删除。不要写入 `.buildr/local/`、`.buildr/tmp/` 或其他受管目录。
|
|
47
|
+
|
|
48
|
+
权威文件路径是 `.buildr/daily-progress/<project-code>/<YYYY-MM-DD>.yml`。该目录被 root `.gitignore` 忽略,不进 Git、不进 Content Target,也不能跨机器共享。v1 旧文件不可展示,需要按本 Skill 重跑覆盖。
|
|
49
|
+
|
|
50
|
+
## 4. 定时器属于 Agent 宿主
|
|
51
|
+
|
|
52
|
+
若用户询问能否每天自动跑:说明这取决于 Cursor Automation / 会话 loop 等 Agent 宿主定时器;它们只是再次调用本 Skill。**不要**引导实现 Buildr 产品 cron。
|
|
@@ -15,13 +15,19 @@ description: 正式Task从首个proposal、方案或直接实现等研发动作
|
|
|
15
15
|
|
|
16
16
|
首次修改 proposal、Skill、代码、测试或当前知识前,复用 triage 建立的一次有界 authority source map;若尚未形成,则从直接相关的 canonical specs、current knowledge、实现、测试与 registries 建立。该 map 保留在 Agent 工作上下文,不写入 Receipt 或其他产品 store;只有 scope、authority 或相关事实变化时才增量刷新。
|
|
17
17
|
|
|
18
|
+
Task 可能产生用户可见前端 UI 变化、且 triage 尚未询问时,先询问用户是否需要界面预演稿(UI Preview)。只有当前任务已有明确确认,才在正式前端实现前加载独立 `ui-preview` Skill;用户拒绝、未确认或要求继续时不生成并继续本流程。UI Preview 与是否完成 planning、形成 Content Target、进入 Verification 或 Finish 无关,不保存为 Development node、gate、Result、Receipt 或 blocker。
|
|
19
|
+
|
|
18
20
|
proposal 启动耗时、重复 Skill/authority 读取、重复命令、实现到 handoff 耗时与 verification wall-clock 只作为 `task-retrospective` 跟踪、评估和优化的参考。它们不进入专业 Result、Development gate、Task status、Candidate identity或自动 skip/advance 决策,也不构成 pass/fail threshold。
|
|
19
21
|
|
|
20
22
|
日常 Development transition 或状态回读只需要 current identity、applicability 与下一步方向时,优先使用Task Entry Snapshot;直接调试Development owner时可对内部driver显式使用`--compact`。两者都只是response projection,不追加观察或写入,并以同源`formalVerificationReadiness`说明正式验证交接是否尚未到达、存在明确blocker或需要current knowledge即时确认。需要完整Receipt、专业Result引用或handoff snapshot时仍读取默认完整result。typed `next`与legacy `nextActions`来自同一判定;它们不执行动作、不代表授权,也不得越过当前阶段才加载的selected provider。
|
|
21
23
|
|
|
22
24
|
## Parent Plan 与 Child Contribution
|
|
23
25
|
|
|
24
|
-
新建Parent可以显式采用Parent Plan
|
|
26
|
+
新建Parent可以显式采用Parent Plan。正常启动顺序是:active Task → matching ready Parent Environment → Development begin → Parent Plan record → current Planning Review → `task parent refresh-planning`消费Review → `task next`返回首个依赖已满足的Contribution。任何一步blocked都只恢复该步的owner事实;不要先创建Child、手工拼Development写入或把非阻塞建议升级成gate。
|
|
27
|
+
|
|
28
|
+
Parent Environment只服务Parent本身。纯协调且在Child前不修改交付内容的Parent可以显式采用coordination-only共享执行根;Parent会直接修改代码、文档或其他生产内容时,必须从一开始使用隔离checkout。Child Environment按Child自己的Task scope另行准备,既不继承Parent Receipt,也不因Parent Plan刚建立而提前prepare。若Child依赖Parent尚未进入canonical baseline的真实交付,Parent Plan必须表达该依赖,并等前置Contribution正式交付后再准备Child Environment。
|
|
29
|
+
|
|
30
|
+
先用`task parent inspect`确认`legacy|parent-plan`模式;`task parent record|reconcile --schema|--example`是Parent Plan输入的公开发现入口。首次`record`只保存outcome、architecture invariants、Contribution Map、dependencies与final acceptance。Parent Plan不得保存Child状态、Result、完整delta Requirement、字段/migration/file清单或Markdown checkbox进度。只有这五类协调内容实质变化时才用current identity执行`reconcile`;普通Child完成、Verification、Change归档或Finish不得改写Plan。
|
|
25
31
|
|
|
26
32
|
Parent Plan JSON只是`task parent record|reconcile --input`的一次性CLI输入,不是Development资源或长期事实。Agent必须在操作系统临时目录创建,不得写入Workspace的`.buildr/local/`、`.buildr/tmp/`、`.buildr/transient/`或其他受管资产目录;`record`或`reconcile`成功后必须立即删除。命令失败时,只有仍需使用同一输入诊断或重试才能暂时保留,并必须报告路径;问题解决、放弃重试或Task终止后立即删除。Application保存的current Parent Plan才是authority;CLI、Task Development和Environment cleanup均不扫描或删除调用方临时输入。
|
|
27
33
|
|
|
@@ -55,7 +61,9 @@ Development只拥有这些专业事实如何构成当前Task研发过程,不
|
|
|
55
61
|
|
|
56
62
|
在 Candidate freeze 前完成所有内容修改、测试开发与修复、Quick/Task-affected 反馈、current knowledge 维护,以及每个关联 Change 的 deterministic convergence/archive 最终处置。这些动作属于相应 Project/Skill,不由 Development Application 执行。规划期间使用`pending`;只有OpenSpec专业流程已收敛时才能提交`converged`。Application会复用Task Record的Task-scoped Change read model,要求当前working copy为`available + archived`;retained baseline仍active不构成阻塞,调用方summary、路径与文件存在也不能替代该事实。OpenSpec归档路径、provenance、checkbox完成态和filesystem时间不属于plan target;只有Task Planning Identity resolver返回的新target才能使Planning Review stale。
|
|
57
63
|
|
|
58
|
-
|
|
64
|
+
创建或重写文本文件时直接遵守required Core的EOF不变量。内容固定后、调用`observe`形成Content Target之前,检查Task本次新增的全部文本文件;Git-backed scope必须同时覆盖tracked-added与未忽略的untracked文件,非Git scope按Task实际新增文件inventory检查。发现末尾空白行时先修正再`observe`;不得为了清理未触达的存量EOF问题扩大当前Task范围。修正改变delivery bytes时,后续Content Target与验证证据必须基于修正后内容,不得复用旧bytes的evidence。
|
|
65
|
+
|
|
66
|
+
检查通过后,向Development Application提交完整Change dispositions并调用`observe`形成Content Target。任一Change仍为`pending`时Application会在Content observation与Receipt写入前失败关闭;先完成Change-owned实现、current knowledge与deterministic convergence/archive,不能为了进入验证把pending伪装成stable。code-only Task提交空数组,明确`not-applicable`继续按原路径工作。观察结果必须只含逻辑selector、相对source path、observer capability与内容identity,不得保存本机路径。Content Target形成前,Receipt状态保持`planning`,不得虚构policy、Candidate或Result。
|
|
59
67
|
|
|
60
68
|
Candidate freeze后交付基线(Delivery Baseline)前进时,不要rebase或修改原Task worktree。先只读inspect原Task source snapshot、Task Context、policy与gates;Task Development是Content Target、Candidate、Verification、Completion Review、decision与handoff是否current/stale的唯一authority。原Task source与这些输入未变时,全部facts保持current,直接让Finish在run-owned隔离交付载体(Delivery Carrier)处理交付适配(Delivery Adaptation);不得调用observe覆盖Content Target、重跑正式Verification或递增generation。
|
|
61
69
|
|
|
@@ -14,14 +14,15 @@ description: 正式 Task 需要准备、检查、恢复或清理实际执行环
|
|
|
14
14
|
必须已有正式 Task Record,并明确 canonical Workspace:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
buildr task environment prepare <task-id> --target <canonical-workspace> --json
|
|
18
|
-
buildr task environment prepare <task-id> --plan <json-file> --target <canonical-workspace> --json
|
|
17
|
+
buildr task environment prepare <task-id> --agent <adapter> --target <canonical-workspace> --json
|
|
18
|
+
buildr task environment prepare <task-id> --plan <json-file> --agent <adapter> --target <canonical-workspace> --json
|
|
19
19
|
buildr task environment plan record <task-id> --input <json-file> --target <canonical-workspace> --json
|
|
20
20
|
buildr task environment plan inspect <task-id> --target <canonical-workspace> --json
|
|
21
21
|
buildr task environment inspect <task-id> --target <canonical-workspace> --json
|
|
22
22
|
buildr task environment cleanup <task-id> --target <canonical-workspace> --json
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
- `--agent`对`prepare`必填,必须写成当前宿主,例如 Cursor 会话写`cursor`、Codex 会话写`codex`。不得省略,也不得假设省略后默认为 Codex。未给`--branch`时默认任务分支为`<adapter>/<task-id>`;显式`--branch`优先。
|
|
25
26
|
- Project可选维护closed `preparation.yml`,长期声明Project-wide或Service-scoped Recipe。Agent读取Task Record的完整Project/Service scope与构建、验证事实,只选择当前Task需要的Recipe,提交`buildr.task-environment-plan-request/v1`;Application解析声明identity并保存`buildr.task-environment-plan/v2`执行快照。没有长期声明时可显式提交`task-inline` Recipe,但不得静默回写Project。
|
|
26
27
|
- `prepare --plan`可一次完成登记与准备;若Agent必须先检查Task checkout,可先运行无Plan的`prepare`取得受控执行根(结果明确blocked),再运行`plan record`和`prepare`。
|
|
27
28
|
- Plan Request只是CLI的一次性输入,不是Environment资源或长期事实。需要JSON文件时,Agent必须在操作系统临时目录创建,不得写入Workspace的`.buildr/tmp/`、`.buildr/transient/`或其他受管资产目录;`prepare --plan`或`plan record`成功后必须立即删除。命令失败时,只有仍需用同一输入诊断或重试才能暂时保留,并必须报告路径;问题解决、放弃重试或Task终止后立即删除。
|
|
@@ -38,4 +39,4 @@ buildr task environment cleanup <task-id> --target <canonical-workspace> --json
|
|
|
38
39
|
|
|
39
40
|
## 停止条件
|
|
40
41
|
|
|
41
|
-
Task/Workspace
|
|
42
|
+
Task/Workspace不匹配、省略`--agent`、Plan Request未完整覆盖Task Project/Service scope、声明/Recipe identity漂移、Receipt损坏、retained Environment Manager不可信或源码dirty、provider/resource identity漂移、required Recipe/Step缺失/漂移/执行失败、必需probe blocked、执行根越界或cleanup未授权时停止,保留现场并报告具体Declaration/Scope/Recipe/Step diagnostic与next action。Task checkout/provider evidence决定源码版本;不要从cwd、分支、同一HEAD或旧worktree receipt猜ownership,retained Buildr hash同样不是ownership;也不要由Environment自动fetch/rebase。
|
|
@@ -11,7 +11,7 @@ description: 用户要求已有 active formal Task 的“收尾”或交付 curr
|
|
|
11
11
|
|
|
12
12
|
1. 明确正式 Task ID 与 canonical Workspace。
|
|
13
13
|
2. 用户排除 push、install 或 cleanup 而改变交付语义时停止。
|
|
14
|
-
3.
|
|
14
|
+
3. 轻量确认任务分支贡献已提交、本机主工作区已对齐目标远端;`--agent`省略或等于 Environment adapter。未提交或落后时先说明并等待处理或明确继续;不得做成新的入口缺口码。
|
|
15
15
|
4. 不要在调用产品前自行链式做 Environment → handoff → target/remote 的 fail-fast;入口聚合与模块分类由产品一次完成。
|
|
16
16
|
5. 根据最终交付内容与Workspace、Project、Service、repository约定形成完整commit message。subject必须描述内容,优先使用简洁Conventional Commits;Task ID由产品写入trailer,不得使用“交付 + Task ID”占位主题。调用前向用户展示subject,正文存在时一并展示。
|
|
17
17
|
6. 直接启动 canonical `buildr task finish run`;若返回 `task_finish.entry_gaps`,按 `error.details.gaps` 的 `development` / `environment` / `delivery` 完整转述,不得只报第一项。
|
|
@@ -41,7 +41,7 @@ preflight → prepare → verify → deliver → cleanup
|
|
|
41
41
|
|
|
42
42
|
首次run或resume先预留独立`task-finish/finish-diagnostics` Execution Record;容量不足不启动五阶段。record只保留受控诊断,carrier、lease、resume与cleanup仍由Finish current管理。
|
|
43
43
|
|
|
44
|
-
- `preflight`核对
|
|
44
|
+
- `preflight`核对handoff、Environment、carrier、retained与远端对齐;各阶段/resume精确核对冻结handoff、Candidate、generation与Content Target。
|
|
45
45
|
- `prepare`在隔离交付载体(Delivery Carrier)把任务贡献(Task Contribution)机械应用到最新交付基线(Delivery Baseline)。clean apply记录`deterministic-reuse`;Git conflict保留carrier并返回`delivery-adaptation-required`,不改原Task worktree。
|
|
46
46
|
- Agent只在carrier完成交付适配(Delivery Adaptation)。非零适配HEAD必须保持冻结message;若baseline已满足任务且正确适配为零tree delta,保持clean carrier并在matching resume传入`--accept-zero-delta-adaptation`,不得创建空提交或无关差异。resume仍执行bounded compatibility checks,`formalVerificationExecutions` 必须为 `0`。
|
|
47
47
|
- `verify` 对clean apply记录确定性Git identity;对适配记录`agent-reviewed-delivery-adaptation`,不得描述为Buildr已证明语义等价。Candidate identity/generation保持不变。
|
|
@@ -20,6 +20,12 @@ description: 用户提出修复、实现、重构、优化、文档/测试或契
|
|
|
20
20
|
|
|
21
21
|
authority 冲突、授权或 repository set 不明、不可逆行为缺少决定,或是否进入实现仍未知时,停止对应写入,只询问会改变长期语义、责任边界或授权的最少问题。
|
|
22
22
|
|
|
23
|
+
### UI Preview 选择
|
|
24
|
+
|
|
25
|
+
若当前 Task、提案或预期实现可能产生用户可见的前端 UI 变化,向用户询问:“本次是否需要先生成界面预演稿(UI Preview)?”询问只负责取得选择,不生成文件,也不改变语义治理或执行形态判断。
|
|
26
|
+
|
|
27
|
+
只有用户在当前任务中明确确认需要,才在方案已有足够上下文、正式前端实现开始前加载独立 `ui-preview` Skill。用户拒绝、未确认或直接要求继续时不调用 Skill,正常推进后续流程;不得创建占位文件、waiver、Result、Receipt 或 blocker。UI Preview 不替代 OpenSpec Change、Planning Review 或正式实现。
|
|
28
|
+
|
|
23
29
|
## 2. 两轴决策
|
|
24
30
|
|
|
25
31
|
### 语义治理
|
|
@@ -62,11 +68,13 @@ authority 冲突、授权或 repository set 不明、不可逆行为缺少决定
|
|
|
62
68
|
|
|
63
69
|
### 从 Parent 规划项启动独立 Child Task
|
|
64
70
|
|
|
65
|
-
|
|
71
|
+
当用户准备把active Parent推进到首个Child前,先调用`buildr task next <parent-task-id>`,并严格消费它返回的单一next:缺Environment就准备Parent Environment,缺Development就begin,缺Plan就record,Planning Review未current就审查,Review尚未被Development采用就调用公开的`task parent refresh-planning`。只有next为`start-child-contribution`时,才从`eligibleContributions`选择一个Contribution进入Child创建;不要把其他依赖尚未满足的Contribution当成整体阻塞,也不要为未来Child提前准备Environment。
|
|
72
|
+
|
|
73
|
+
当用户选择eligible Contribution作为独立 Child Task 实施时,再调用`task parent inspect`读取current Parent Plan、Contribution、依赖与适用Planning Review,从中提取该 Child 的稳定 intent、实际Project/Service scope、边界和验收目标。Parent导引只作为Child启动输入;Parent/Child关系不表达Git继承、Change共享或专业状态传播。legacy Parent不得被自动转换或从旧Change/checkbox推断Contribution。
|
|
66
74
|
|
|
67
75
|
Child Task必须先以`--parent <parent-task-id>`和自身scope创建,且初始不引用Parent Change;`0..N` Change允许此时保持空列表。取得Child自己的matching ready Environment并调用selected `buildr.task-development/v2` provider建立研发事实后,用`task parent bind-child`绑定planned Contributions,才在Child execution root中创建该独立目标自己的窄Change,通过Task Record update添加引用,并刷新Development planning snapshot与适用Planning Review。不得把Parent Change、Parent worktree、branch、Environment Receipt或Development事实复制或继承为Child authority。
|
|
68
76
|
|
|
69
|
-
如果Child真实依赖Parent
|
|
77
|
+
如果Child真实依赖Parent尚未交付的代码、文档或其他authority,先在Parent Plan中表达依赖并完成前置Contribution;可以先保留Child意向,但必须延后Child Environment prepare。前置贡献完成正式Finish且进入最新`dev`等canonical baseline后,再从收敛后的baseline准备Child Environment。不得通过从Parent worktree派生Child checkout、复制Parent Environment Receipt或提前共享未归档Change绕过该顺序。
|
|
70
78
|
|
|
71
79
|
### 新正式 Task 创建前收敛统一 dev 基线
|
|
72
80
|
|