Skip to content

Commit 9bdf9ac

Browse files
committed
fix(workflow): 强化 work 收口与 tasks 回写门禁
1 parent a11d1fa commit 9bdf9ac

17 files changed

Lines changed: 210 additions & 13 deletions

File tree

.agents/plugins/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aisee-plugin",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"interface": {
55
"displayName": "Aisee Plugin",
66
"description": "Aisee plugin marketplace for OpenSpec, project memory, team knowledge, and Compound Engineering workflows."

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
本项目遵循 [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) 的结构,并使用 SemVer 管理版本。
44

5+
## [0.11.2] - 2026-06-13
6+
7+
### Changed
8+
9+
- `aisee:implementation-bridge`、Implementation Brief 模板、workflow 和 README 明确收口门禁:`ce-work` 完成当前批次前,必须先回写 `tasks.md` 或当前 schema 的 apply tracks。
10+
- `aisee context pack --for ce-work --json` 新增 `facts.derived.execution.completion_gate`,显式暴露 apply tracks、完成证据和 `writeback-required` 状态,避免执行层把“代码已改”误判为“work 已完成”。
11+
- `aisee context pack --for ce-work --json``--for aisee-verify --json` 在发现已有 review/test/manual evidence、但 apply tracks 仍无任何已完成项时,会报出 `APPLY_TRACKS_WRITEBACK_REQUIRED` blocker,阻止遗漏 `tasks.md` 回写。
12+
513
## [0.11.1] - 2026-06-12
614

715
### Changed

README.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ aisee doctor --json
323323
4. aisee:change-author
324324
5. openspec validate <change>
325325
6. aisee:implementation-bridge
326-
7. implementation / review / test
326+
7. implementation / review / test (write back `tasks.md` / apply tracks before marking the batch complete)
327327
8. openspec archive <change>
328328
329329
For small, bounded, low-risk work, an abbreviated path is also valid:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ aisee doctor --json
323323
4. aisee:change-author
324324
5. openspec validate <change>
325325
6. aisee:implementation-bridge
326-
7. implementation / review / test
326+
7. implementation / review / test(完成当前批次前先回写 `tasks.md` / apply tracks)
327327
8. openspec archive <change>
328328
329329
对小范围、边界明确、低风险工作,也可以直接走:
@@ -332,7 +332,7 @@ aisee doctor --json
332332
quick-fix / quick-research / 其它轻量 schema
333333
-> change-author
334334
-> implementation-bridge
335-
-> implementation / review / test
335+
-> implementation / review / test(完成当前批次前先回写 `tasks.md` / apply tracks)
336336
-> archive
337337
```
338338
```

docs/workflow.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Implementation can be handled by a coding agent or human developer. Regardless o
172172

173173
- Implement only the current change scope.
174174
- If specs, contracts, and code disagree, update the current OpenSpec change before continuing.
175-
- Update `tasks.md` or the current schema apply tracks after implementation.
175+
- Do not defer this until verify or archive; before `ce-work` reports the current batch complete, update `tasks.md` or the current schema apply tracks first.
176176
- Record test, manual verification, preview, monitoring, or review results as evidence.
177177

178178
When a change touches public CLI behavior, HTTP endpoints, API/service contracts, schemas, parsers, path reads, security, or privacy, Tier 2 code review is recommended.

docs/workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Knowledge matches 只作为提醒,不改变当前 change 的规范事实源,
172172

173173
- 只实现当前 change 范围。
174174
- 如果发现 spec/contract/code 不一致,先回写当前 OpenSpec change,再继续实现。
175-
- 完成后更新 `tasks.md` 或当前 schema 的 apply tracks。
175+
- 不要等到 verify 或 archive 前再补写;`ce-work` 完成当前批次前,就应先更新 `tasks.md` 或当前 schema 的 apply tracks。
176176
- 测试、人工验证、预览、监控或 review 结果必须作为 evidence 记录。
177177

178178
当 change 触及公开 CLI、HTTP endpoint、API/service contract、schema、parser、路径读取、安全或隐私表面时,建议执行 Tier 2 code review。

plugins/aisee-plugin/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aisee-plugin",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"description": "AI-Enhanced Software Engineering plugin for OpenSpec and Compound Engineering workflows.",
55
"author": {
66
"name": "Fengliang"

plugins/aisee-plugin/.codex-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aisee-plugin",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"description": "AI-Enhanced Software Engineering plugin for OpenSpec and Compound Engineering workflows.",
55
"author": {
66
"name": "Fengliang"

plugins/aisee-plugin/.cursor-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aisee-plugin",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"description": "AI-Enhanced Software Engineering plugin for OpenSpec and Compound Engineering workflows.",
55
"author": {
66
"name": "Fengliang"

plugins/aisee-plugin/skills/aisee-implementation-bridge/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,11 @@ Brief 只做执行索引,不复制 OpenSpec artifact 正文:
181181
- 不创建新的长期计划文件;需要临时推理时,结论必须回写当前 schema 的 apply tracks 或追踪 artifact。
182182
- 不扩大 change 范围;超出范围的发现记录为 follow-up 或新 change 候选。
183183
- 完成实现后必须更新当前 schema 的 apply tracks 和验证证据;没有 apply tracks 的 schema 只记录必要 evidence。
184+
- `ce-work` 只有在本轮实现涉及的 apply tracks 已同步回写后,才能声明当前批次完成;app/device/quick-fix 默认先更新 `tasks.md` checkbox、验证任务和 evidence 入口,再离开 `ce-work`
184185
- UI 实现涉及图标时,先复用项目已使用的组件库、图标包或设计系统图标;没有合适图标时允许使用 `better-icons` / Iconify 检索。优先使用全局安装的 `better-icons` 以减少冷启动;缺少时执行阶段应按项目包管理器安装或用 `npx -y better-icons` / `bunx better-icons` 完成一次性检索,并在 evidence 中记录命令、图标库和完整图标 ID。不要为了常见 UI 图标手写 SVG。
185186

187+
CHECKPOINT: `ce-work` 完成前,必须先回写当前 schema 的 apply tracks。对默认以 `tasks.md` 追踪的 schema,至少要同步当前批次已完成 / 未完成状态、验证任务和 evidence 入口;如果代码已改但 apply tracks 仍未更新,不得把该批次报告为完成。
188+
186189
## 实现后审查建议
187190

188191
Brief 必须根据当前 change 和 context pack 判断是否建议 Tier 2 code review。触发条件与 `aisee:verify` 保持一致:

0 commit comments

Comments
 (0)