@fitlab-ai/agent-infra 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.ts +11 -0
- package/dist/bin/cli.js +12 -0
- package/dist/lib/sandbox/commands/create.js +10 -2
- package/dist/lib/sandbox/commands/enter.js +8 -7
- package/dist/lib/sandbox/commands/list-running.js +21 -32
- package/dist/lib/sandbox/commands/ls.js +20 -22
- package/dist/lib/sandbox/index.js +7 -3
- package/dist/lib/sandbox/task-resolver.js +1 -1
- package/dist/lib/sandbox/tools.js +1 -1
- package/dist/lib/table.js +29 -0
- package/dist/lib/task/commands/ls.js +122 -0
- package/dist/lib/task/commands/show.js +135 -0
- package/dist/lib/task/frontmatter.js +32 -0
- package/dist/lib/task/index.js +41 -0
- package/dist/lib/task/short-id.js +80 -0
- package/lib/sandbox/commands/create.ts +11 -2
- package/lib/sandbox/commands/enter.ts +8 -7
- package/lib/sandbox/commands/list-running.ts +23 -37
- package/lib/sandbox/commands/ls.ts +25 -25
- package/lib/sandbox/index.ts +7 -3
- package/lib/sandbox/task-resolver.ts +1 -1
- package/lib/sandbox/tools.ts +1 -1
- package/lib/table.ts +32 -0
- package/lib/task/commands/ls.ts +138 -0
- package/lib/task/commands/show.ts +139 -0
- package/lib/task/frontmatter.ts +30 -0
- package/lib/task/index.ts +44 -0
- package/lib/task/short-id.ts +97 -0
- package/package.json +1 -1
- package/templates/.agents/hooks/auto-resume.sh +87 -0
- package/templates/.agents/rules/create-issue.github.en.md +1 -1
- package/templates/.agents/rules/create-issue.github.zh-CN.md +1 -1
- package/templates/.agents/rules/milestone-inference.github.en.md +4 -1
- package/templates/.agents/rules/milestone-inference.github.zh-CN.md +4 -1
- package/templates/.agents/rules/next-step-output.en.md +59 -0
- package/templates/.agents/rules/next-step-output.zh-CN.md +59 -0
- package/templates/.agents/rules/task-short-id.en.md +54 -62
- package/templates/.agents/rules/task-short-id.zh-CN.md +35 -54
- package/templates/.agents/scripts/platform-adapters/platform-sync.github.js +17 -0
- package/templates/.agents/scripts/task-short-id.js +32 -189
- package/templates/.agents/skills/analyze-task/SKILL.en.md +10 -12
- package/templates/.agents/skills/analyze-task/SKILL.zh-CN.md +10 -12
- package/templates/.agents/skills/analyze-task/config/verify.en.json +1 -1
- package/templates/.agents/skills/analyze-task/config/verify.zh-CN.json +1 -1
- package/templates/.agents/skills/block-task/SKILL.en.md +6 -6
- package/templates/.agents/skills/block-task/SKILL.zh-CN.md +6 -6
- package/templates/.agents/skills/block-task/config/verify.json +1 -1
- package/templates/.agents/skills/cancel-task/SKILL.en.md +6 -6
- package/templates/.agents/skills/cancel-task/SKILL.zh-CN.md +6 -6
- package/templates/.agents/skills/cancel-task/config/verify.json +1 -1
- package/templates/.agents/skills/check-task/SKILL.en.md +12 -10
- package/templates/.agents/skills/check-task/SKILL.zh-CN.md +12 -10
- package/templates/.agents/skills/close-codescan/SKILL.en.md +6 -6
- package/templates/.agents/skills/close-codescan/SKILL.zh-CN.md +6 -6
- package/templates/.agents/skills/close-dependabot/SKILL.en.md +6 -6
- package/templates/.agents/skills/close-dependabot/SKILL.zh-CN.md +6 -6
- package/templates/.agents/skills/code-task/SKILL.en.md +10 -6
- package/templates/.agents/skills/code-task/SKILL.zh-CN.md +11 -6
- package/templates/.agents/skills/code-task/config/verify.en.json +2 -1
- package/templates/.agents/skills/code-task/config/verify.zh-CN.json +2 -1
- package/templates/.agents/skills/code-task/reference/fix-mode.en.md +10 -5
- package/templates/.agents/skills/code-task/reference/fix-mode.zh-CN.md +10 -5
- package/templates/.agents/skills/code-task/reference/output-template.en.md +3 -3
- package/templates/.agents/skills/code-task/reference/output-template.zh-CN.md +3 -3
- package/templates/.agents/skills/code-task/reference/report-template.en.md +8 -0
- package/templates/.agents/skills/code-task/reference/report-template.zh-CN.md +8 -0
- package/templates/.agents/skills/commit/SKILL.en.md +2 -2
- package/templates/.agents/skills/commit/SKILL.zh-CN.md +2 -2
- package/templates/.agents/skills/commit/reference/task-status-update.en.md +9 -9
- package/templates/.agents/skills/commit/reference/task-status-update.zh-CN.md +9 -9
- package/templates/.agents/skills/complete-task/SKILL.en.md +6 -2
- package/templates/.agents/skills/complete-task/SKILL.zh-CN.md +6 -2
- package/templates/.agents/skills/complete-task/config/verify.en.json +1 -1
- package/templates/.agents/skills/complete-task/config/verify.zh-CN.json +1 -1
- package/templates/.agents/skills/create-pr/SKILL.en.md +6 -6
- package/templates/.agents/skills/create-pr/SKILL.zh-CN.md +6 -6
- package/templates/.agents/skills/create-pr/config/verify.json +2 -1
- package/templates/.agents/skills/create-pr/reference/comment-publish.en.md +1 -1
- package/templates/.agents/skills/create-pr/reference/comment-publish.zh-CN.md +1 -1
- package/templates/.agents/skills/create-pr/reference/pr-body-template.en.md +3 -3
- package/templates/.agents/skills/create-pr/reference/pr-body-template.zh-CN.md +3 -3
- package/templates/.agents/skills/create-task/SKILL.en.md +17 -17
- package/templates/.agents/skills/create-task/SKILL.zh-CN.md +17 -17
- package/templates/.agents/skills/create-task/config/verify.json +1 -1
- package/templates/.agents/skills/import-codescan/SKILL.en.md +8 -8
- package/templates/.agents/skills/import-codescan/SKILL.zh-CN.md +8 -8
- package/templates/.agents/skills/import-codescan/config/verify.json +1 -1
- package/templates/.agents/skills/import-dependabot/SKILL.en.md +8 -8
- package/templates/.agents/skills/import-dependabot/SKILL.zh-CN.md +8 -8
- package/templates/.agents/skills/import-dependabot/config/verify.json +1 -1
- package/templates/.agents/skills/import-issue/SKILL.en.md +7 -7
- package/templates/.agents/skills/import-issue/SKILL.zh-CN.md +7 -7
- package/templates/.agents/skills/plan-task/SKILL.en.md +10 -12
- package/templates/.agents/skills/plan-task/SKILL.zh-CN.md +10 -12
- package/templates/.agents/skills/plan-task/config/verify.en.json +1 -1
- package/templates/.agents/skills/plan-task/config/verify.zh-CN.json +1 -1
- package/templates/.agents/skills/restore-task/SKILL.en.md +1 -1
- package/templates/.agents/skills/restore-task/SKILL.zh-CN.md +1 -1
- package/templates/.agents/skills/review-analysis/SKILL.en.md +4 -2
- package/templates/.agents/skills/review-analysis/SKILL.zh-CN.md +4 -2
- package/templates/.agents/skills/review-analysis/config/verify.en.json +3 -2
- package/templates/.agents/skills/review-analysis/config/verify.zh-CN.json +3 -2
- package/templates/.agents/skills/review-analysis/reference/output-templates.en.md +15 -15
- package/templates/.agents/skills/review-analysis/reference/output-templates.zh-CN.md +15 -15
- package/templates/.agents/skills/review-analysis/reference/report-template.en.md +7 -1
- package/templates/.agents/skills/review-analysis/reference/report-template.zh-CN.md +7 -1
- package/templates/.agents/skills/review-analysis/reference/review-criteria.en.md +2 -0
- package/templates/.agents/skills/review-analysis/reference/review-criteria.zh-CN.md +2 -0
- package/templates/.agents/skills/review-code/SKILL.en.md +5 -2
- package/templates/.agents/skills/review-code/SKILL.zh-CN.md +5 -2
- package/templates/.agents/skills/review-code/config/verify.en.json +3 -2
- package/templates/.agents/skills/review-code/config/verify.zh-CN.json +3 -2
- package/templates/.agents/skills/review-code/reference/output-templates.en.md +9 -9
- package/templates/.agents/skills/review-code/reference/output-templates.zh-CN.md +9 -9
- package/templates/.agents/skills/review-code/reference/report-template.en.md +7 -1
- package/templates/.agents/skills/review-code/reference/report-template.zh-CN.md +7 -1
- package/templates/.agents/skills/review-code/reference/review-criteria.en.md +2 -0
- package/templates/.agents/skills/review-code/reference/review-criteria.zh-CN.md +2 -0
- package/templates/.agents/skills/review-plan/SKILL.en.md +4 -2
- package/templates/.agents/skills/review-plan/SKILL.zh-CN.md +4 -2
- package/templates/.agents/skills/review-plan/config/verify.en.json +3 -2
- package/templates/.agents/skills/review-plan/config/verify.zh-CN.json +3 -2
- package/templates/.agents/skills/review-plan/reference/output-templates.en.md +15 -15
- package/templates/.agents/skills/review-plan/reference/output-templates.zh-CN.md +15 -15
- package/templates/.agents/skills/review-plan/reference/report-template.en.md +7 -1
- package/templates/.agents/skills/review-plan/reference/report-template.zh-CN.md +7 -1
- package/templates/.agents/skills/review-plan/reference/review-criteria.en.md +2 -0
- package/templates/.agents/skills/review-plan/reference/review-criteria.zh-CN.md +2 -0
- package/templates/.agents/templates/task.en.md +0 -1
- package/templates/.agents/templates/task.zh-CN.md +0 -1
- package/templates/.agents/workflows/bug-fix.en.yaml +1 -1
- package/templates/.agents/workflows/bug-fix.zh-CN.yaml +1 -1
- package/templates/.agents/workflows/feature-development.en.yaml +1 -1
- package/templates/.agents/workflows/feature-development.zh-CN.yaml +1 -1
- package/templates/.agents/workflows/refactoring.en.yaml +1 -1
- package/templates/.agents/workflows/refactoring.zh-CN.yaml +1 -1
- package/templates/.claude/settings.json +11 -0
|
@@ -25,9 +25,9 @@ Task {task-id} technical plan review completed. Verdict: approved.
|
|
|
25
25
|
[- Review report: .agents/workspace/active/{task-id}/{review-artifact}]
|
|
26
26
|
|
|
27
27
|
Next step - write code:
|
|
28
|
-
- Claude Code / OpenCode: /code-task {task-
|
|
29
|
-
- Gemini CLI: /agent-infra:code-task {task-
|
|
30
|
-
- Codex CLI: $code-task {task-
|
|
28
|
+
- Claude Code / OpenCode: /code-task {task-ref}
|
|
29
|
+
- Gemini CLI: /agent-infra:code-task {task-ref}
|
|
30
|
+
- Codex CLI: $code-task {task-ref}
|
|
31
31
|
|
|
32
32
|
[When env-blocked > 0, append:]
|
|
33
33
|
Reminder: env-blocked items belong in the PR description manual verification checklist and should not trigger /plan-task.
|
|
@@ -41,14 +41,14 @@ Task {task-id} technical plan review completed. Verdict: approved.
|
|
|
41
41
|
- Review report: .agents/workspace/active/{task-id}/{review-artifact}
|
|
42
42
|
|
|
43
43
|
Next step - revise plan before coding (recommended):
|
|
44
|
-
- Claude Code / OpenCode: /plan-task {task-
|
|
45
|
-
- Gemini CLI: /agent-infra:plan-task {task-
|
|
46
|
-
- Codex CLI: $plan-task {task-
|
|
44
|
+
- Claude Code / OpenCode: /plan-task {task-ref}
|
|
45
|
+
- Gemini CLI: /agent-infra:plan-task {task-ref}
|
|
46
|
+
- Codex CLI: $plan-task {task-ref}
|
|
47
47
|
|
|
48
48
|
Or proceed directly to coding:
|
|
49
|
-
- Claude Code / OpenCode: /code-task {task-
|
|
50
|
-
- Gemini CLI: /agent-infra:code-task {task-
|
|
51
|
-
- Codex CLI: $code-task {task-
|
|
49
|
+
- Claude Code / OpenCode: /code-task {task-ref}
|
|
50
|
+
- Gemini CLI: /agent-infra:code-task {task-ref}
|
|
51
|
+
- Codex CLI: $code-task {task-ref}
|
|
52
52
|
|
|
53
53
|
[When env-blocked > 0, append:]
|
|
54
54
|
Reminder: env-blocked items belong in the PR description manual verification checklist and should not trigger /plan-task.
|
|
@@ -62,9 +62,9 @@ Task {task-id} technical plan review completed. Verdict: changes requested.
|
|
|
62
62
|
- Review report: .agents/workspace/active/{task-id}/{review-artifact}
|
|
63
63
|
|
|
64
64
|
Next step - revise technical plan:
|
|
65
|
-
- Claude Code / OpenCode: /plan-task {task-
|
|
66
|
-
- Gemini CLI: /agent-infra:plan-task {task-
|
|
67
|
-
- Codex CLI: $plan-task {task-
|
|
65
|
+
- Claude Code / OpenCode: /plan-task {task-ref}
|
|
66
|
+
- Gemini CLI: /agent-infra:plan-task {task-ref}
|
|
67
|
+
- Codex CLI: $plan-task {task-ref}
|
|
68
68
|
|
|
69
69
|
[When env-blocked > 0, append:]
|
|
70
70
|
Reminder: env-blocked items belong in the PR description manual verification checklist and should not trigger /plan-task.
|
|
@@ -78,9 +78,9 @@ Task {task-id} technical plan review completed. Verdict: rejected, redesign requ
|
|
|
78
78
|
- Review report: .agents/workspace/active/{task-id}/{review-artifact}
|
|
79
79
|
|
|
80
80
|
Next step - redesign:
|
|
81
|
-
- Claude Code / OpenCode: /plan-task {task-
|
|
82
|
-
- Gemini CLI: /agent-infra:plan-task {task-
|
|
83
|
-
- Codex CLI: $plan-task {task-
|
|
81
|
+
- Claude Code / OpenCode: /plan-task {task-ref}
|
|
82
|
+
- Gemini CLI: /agent-infra:plan-task {task-ref}
|
|
83
|
+
- Codex CLI: $plan-task {task-ref}
|
|
84
84
|
|
|
85
85
|
[When env-blocked > 0, append:]
|
|
86
86
|
Reminder: env-blocked items belong in the PR description manual verification checklist and should not trigger /plan-task.
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
[- 审查报告:.agents/workspace/active/{task-id}/{review-artifact}]
|
|
26
26
|
|
|
27
27
|
下一步 - 编写代码:
|
|
28
|
-
- Claude Code / OpenCode:/code-task {task-
|
|
29
|
-
- Gemini CLI:/agent-infra:code-task {task-
|
|
30
|
-
- Codex CLI:$code-task {task-
|
|
28
|
+
- Claude Code / OpenCode:/code-task {task-ref}
|
|
29
|
+
- Gemini CLI:/agent-infra:code-task {task-ref}
|
|
30
|
+
- Codex CLI:$code-task {task-ref}
|
|
31
31
|
|
|
32
32
|
[当 env-blocked > 0 时,在最后附加一行:]
|
|
33
33
|
提醒:env-blocked 项需在 PR description 的「待人工验证」清单中承接,不应触发 /plan-task。
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
- 审查报告:.agents/workspace/active/{task-id}/{review-artifact}
|
|
42
42
|
|
|
43
43
|
下一步 - 修订方案后编码(推荐):
|
|
44
|
-
- Claude Code / OpenCode:/plan-task {task-
|
|
45
|
-
- Gemini CLI:/agent-infra:plan-task {task-
|
|
46
|
-
- Codex CLI:$plan-task {task-
|
|
44
|
+
- Claude Code / OpenCode:/plan-task {task-ref}
|
|
45
|
+
- Gemini CLI:/agent-infra:plan-task {task-ref}
|
|
46
|
+
- Codex CLI:$plan-task {task-ref}
|
|
47
47
|
|
|
48
48
|
或直接进入编码:
|
|
49
|
-
- Claude Code / OpenCode:/code-task {task-
|
|
50
|
-
- Gemini CLI:/agent-infra:code-task {task-
|
|
51
|
-
- Codex CLI:$code-task {task-
|
|
49
|
+
- Claude Code / OpenCode:/code-task {task-ref}
|
|
50
|
+
- Gemini CLI:/agent-infra:code-task {task-ref}
|
|
51
|
+
- Codex CLI:$code-task {task-ref}
|
|
52
52
|
|
|
53
53
|
[当 env-blocked > 0 时,在最后附加一行:]
|
|
54
54
|
提醒:env-blocked 项需在 PR description 的「待人工验证」清单中承接,不应触发 /plan-task。
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
- 审查报告:.agents/workspace/active/{task-id}/{review-artifact}
|
|
63
63
|
|
|
64
64
|
下一步 - 修订技术方案:
|
|
65
|
-
- Claude Code / OpenCode:/plan-task {task-
|
|
66
|
-
- Gemini CLI:/agent-infra:plan-task {task-
|
|
67
|
-
- Codex CLI:$plan-task {task-
|
|
65
|
+
- Claude Code / OpenCode:/plan-task {task-ref}
|
|
66
|
+
- Gemini CLI:/agent-infra:plan-task {task-ref}
|
|
67
|
+
- Codex CLI:$plan-task {task-ref}
|
|
68
68
|
|
|
69
69
|
[当 env-blocked > 0 时,在最后附加一行:]
|
|
70
70
|
提醒:env-blocked 项需在 PR description 的「待人工验证」清单中承接,不应触发 /plan-task。
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
- 审查报告:.agents/workspace/active/{task-id}/{review-artifact}
|
|
79
79
|
|
|
80
80
|
下一步 - 重新设计:
|
|
81
|
-
- Claude Code / OpenCode:/plan-task {task-
|
|
82
|
-
- Gemini CLI:/agent-infra:plan-task {task-
|
|
83
|
-
- Codex CLI:$plan-task {task-
|
|
81
|
+
- Claude Code / OpenCode:/plan-task {task-ref}
|
|
82
|
+
- Gemini CLI:/agent-infra:plan-task {task-ref}
|
|
83
|
+
- Codex CLI:$plan-task {task-ref}
|
|
84
84
|
|
|
85
85
|
[当 env-blocked > 0 时,在最后附加一行:]
|
|
86
86
|
提醒:env-blocked 项需在 PR description 的「待人工验证」清单中承接,不应触发 /plan-task。
|
|
@@ -61,7 +61,7 @@ Use this template when writing `review-plan.md` or `review-plan-r{N}.md`.
|
|
|
61
61
|
|
|
62
62
|
## Evidence
|
|
63
63
|
|
|
64
|
-
> Pair each "I verified X" claim with the corresponding raw tool output; the gate only checks that this section exists and at least one `$ ` line is present.
|
|
64
|
+
> Pair each "I verified X" claim with the corresponding raw tool output; the gate only checks that this section exists and at least one `$ ` line is present. Every Blocker must be backed by a reproducible command (rg/grep/sed/nl) and its raw output; a judgment that cannot be reproduced must be downgraded or moved to Self-Doubt.
|
|
65
65
|
|
|
66
66
|
- Claim: {verified claim}
|
|
67
67
|
```text
|
|
@@ -69,6 +69,12 @@ $ {command}
|
|
|
69
69
|
{raw output}
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
+
## Self-Doubt
|
|
73
|
+
|
|
74
|
+
> Explicitly declare conclusions, inferences, and assumptions in this review that were **not directly verified**; downstream can rebut them on this basis. Write "None" if there are none.
|
|
75
|
+
|
|
76
|
+
- {an unverified conclusion or inference; note why it was not verified and the impact if it is overturned}
|
|
77
|
+
|
|
72
78
|
## Highlights
|
|
73
79
|
|
|
74
80
|
- {what went well}
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
|
|
63
63
|
## 证据原文
|
|
64
64
|
|
|
65
|
-
> 每条“我验证了 X”断言都要配对对应 tool output 原文;gate 仅校验本段存在和至少一行 `$
|
|
65
|
+
> 每条“我验证了 X”断言都要配对对应 tool output 原文;gate 仅校验本段存在和至少一行 `$ `。每条 Blocker 必须配可复现命令(rg/grep/sed/nl)及其原文;无法复现的判断须降级或移入「自我质疑」。
|
|
66
66
|
|
|
67
67
|
- 断言:{verified claim}
|
|
68
68
|
```text
|
|
@@ -70,6 +70,12 @@ $ {command}
|
|
|
70
70
|
{raw output}
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
## 自我质疑
|
|
74
|
+
|
|
75
|
+
> 显式声明本轮审查中**未直接验证**的结论、推断项与所作假设;下游据此可反驳。无则写「(无)」。
|
|
76
|
+
|
|
77
|
+
- {未直接验证的结论或推断;说明为何未验证、若被推翻的影响}
|
|
78
|
+
|
|
73
79
|
## 亮点
|
|
74
80
|
|
|
75
81
|
- {what went well}
|
|
@@ -13,11 +13,13 @@ Follow the `design-review` step in `.agents/workflows/feature-development.yaml`.
|
|
|
13
13
|
- [ ] Test strategy covers critical paths, regression risks, and edge cases
|
|
14
14
|
- [ ] Risks, migration, rollback, or compatibility handling are sufficient
|
|
15
15
|
- [ ] The plan avoids over-design and unrelated scope expansion
|
|
16
|
+
- [ ] Every blocker is backed by reproducible grep/sed/nl evidence; conclusions not directly verified are declared under Self-Doubt
|
|
16
17
|
|
|
17
18
|
**Common anti-examples**:
|
|
18
19
|
- Saying "modify related code" without executable steps and verification points
|
|
19
20
|
- Ignoring risks or constraints listed in the analysis
|
|
20
21
|
- Introducing unnecessary abstractions, configuration, or frameworks for a single-use requirement
|
|
22
|
+
- Asserting a `file:line` or behavior from memory or impression without verifying via rg/nl
|
|
21
23
|
|
|
22
24
|
## Common Review Principles
|
|
23
25
|
|
|
@@ -13,11 +13,13 @@
|
|
|
13
13
|
- [ ] 测试策略是否覆盖关键路径、回归风险和边界情况
|
|
14
14
|
- [ ] 风险、迁移、回滚或兼容性处理是否充分
|
|
15
15
|
- [ ] 方案是否避免过度设计和无关扩张
|
|
16
|
+
- [ ] 每条 blocker 都配可复现的 grep/sed/nl 证据,未直接验证的结论已在「自我质疑」声明
|
|
16
17
|
|
|
17
18
|
**常见反例**:
|
|
18
19
|
- 方案只写“修改相关代码”,没有可执行步骤和验证点
|
|
19
20
|
- 设计没有回应分析中列出的风险或约束
|
|
20
21
|
- 为单次需求引入不必要的新抽象、配置或框架
|
|
22
|
+
- 凭印象或记忆断言 `file:line`/行为,没有用 rg/nl 复核就下结论
|
|
21
23
|
|
|
22
24
|
## 通用审查原则
|
|
23
25
|
|
|
@@ -7,7 +7,6 @@ status: open # open | in-progress | review | blocked | complet
|
|
|
7
7
|
created_at: YYYY-MM-DDTHH:mm:ss±HH:MM
|
|
8
8
|
updated_at: YYYY-MM-DDTHH:mm:ss±HH:MM
|
|
9
9
|
agent_infra_version: v0.0.0 # Current agent-infra version; refreshed by workflow commands
|
|
10
|
-
short_id: # Allocated by create-task / import-* in active window; kept as historical value after archival
|
|
11
10
|
priority: # Optional Issue field: Urgent | High | Medium | Low
|
|
12
11
|
effort: # Optional Issue field: High | Medium | Low
|
|
13
12
|
start_date: # Optional Issue field for Feature: YYYY-MM-DD
|
|
@@ -7,7 +7,6 @@ status: open # open | in-progress | review | blocked | complet
|
|
|
7
7
|
created_at: YYYY-MM-DDTHH:mm:ss±HH:MM
|
|
8
8
|
updated_at: YYYY-MM-DDTHH:mm:ss±HH:MM
|
|
9
9
|
agent_infra_version: v0.0.0 # 当前 agent-infra 版本;由工作流命令刷新
|
|
10
|
-
short_id: # 由 create-task / import-* 在 active 期内写入;归档后保留历史值
|
|
11
10
|
priority: # 可选 Issue 字段:Urgent | High | Medium | Low
|
|
12
11
|
effort: # 可选 Issue 字段:High | Medium | Low
|
|
13
12
|
start_date: # Feature 可选 Issue 字段:YYYY-MM-DD
|
|
@@ -139,7 +139,7 @@ steps:
|
|
|
139
139
|
rule: "Read the highest-round plan review artifact and confirm feedback is approved or handled"
|
|
140
140
|
- name: review-code
|
|
141
141
|
pattern: "review-code.md | review-code-r{N}.md"
|
|
142
|
-
rule: "In fix mode, read the highest-round code review artifact and verify it matches the latest Code
|
|
142
|
+
rule: "In fix mode, read the highest-round code review artifact and verify it matches the latest Review Code entry in task.md Activity Log"
|
|
143
143
|
outputs:
|
|
144
144
|
- name: code
|
|
145
145
|
pattern: "code.md | code-r{N}.md"
|
|
@@ -139,7 +139,7 @@ steps:
|
|
|
139
139
|
rule: "读取最高轮次的方案审查产物,确认方案已获通过或已处理反馈"
|
|
140
140
|
- name: review-code
|
|
141
141
|
pattern: "review-code.md | review-code-r{N}.md"
|
|
142
|
-
rule: "修复模式读取最高轮次的代码审查产物,并校验其与 task.md Activity Log 中最近一条 Code
|
|
142
|
+
rule: "修复模式读取最高轮次的代码审查产物,并校验其与 task.md Activity Log 中最近一条 Review Code 记录一致"
|
|
143
143
|
outputs:
|
|
144
144
|
- name: code
|
|
145
145
|
pattern: "code.md | code-r{N}.md"
|
|
@@ -139,7 +139,7 @@ steps:
|
|
|
139
139
|
rule: "Read the highest-round plan review artifact and confirm feedback is approved or handled"
|
|
140
140
|
- name: review-code
|
|
141
141
|
pattern: "review-code.md | review-code-r{N}.md"
|
|
142
|
-
rule: "In fix mode, read the highest-round code review artifact and verify it matches the latest Code
|
|
142
|
+
rule: "In fix mode, read the highest-round code review artifact and verify it matches the latest Review Code entry in task.md Activity Log"
|
|
143
143
|
outputs:
|
|
144
144
|
- name: code
|
|
145
145
|
pattern: "code.md | code-r{N}.md"
|
|
@@ -139,7 +139,7 @@ steps:
|
|
|
139
139
|
rule: "读取最高轮次的方案审查产物,确认方案已获通过或已处理反馈"
|
|
140
140
|
- name: review-code
|
|
141
141
|
pattern: "review-code.md | review-code-r{N}.md"
|
|
142
|
-
rule: "修复模式读取最高轮次的代码审查产物,并校验其与 task.md Activity Log 中最近一条 Code
|
|
142
|
+
rule: "修复模式读取最高轮次的代码审查产物,并校验其与 task.md Activity Log 中最近一条 Review Code 记录一致"
|
|
143
143
|
outputs:
|
|
144
144
|
- name: code
|
|
145
145
|
pattern: "code.md | code-r{N}.md"
|
|
@@ -141,7 +141,7 @@ steps:
|
|
|
141
141
|
rule: "Read the highest-round plan review artifact and confirm feedback is approved or handled"
|
|
142
142
|
- name: review-code
|
|
143
143
|
pattern: "review-code.md | review-code-r{N}.md"
|
|
144
|
-
rule: "In fix mode, read the highest-round code review artifact and verify it matches the latest Code
|
|
144
|
+
rule: "In fix mode, read the highest-round code review artifact and verify it matches the latest Review Code entry in task.md Activity Log"
|
|
145
145
|
outputs:
|
|
146
146
|
- name: code
|
|
147
147
|
pattern: "code.md | code-r{N}.md"
|
|
@@ -141,7 +141,7 @@ steps:
|
|
|
141
141
|
rule: "读取最高轮次的方案审查产物,确认方案已获通过或已处理反馈"
|
|
142
142
|
- name: review-code
|
|
143
143
|
pattern: "review-code.md | review-code-r{N}.md"
|
|
144
|
-
rule: "修复模式读取最高轮次的代码审查产物,并校验其与 task.md Activity Log 中最近一条 Code
|
|
144
|
+
rule: "修复模式读取最高轮次的代码审查产物,并校验其与 task.md Activity Log 中最近一条 Review Code 记录一致"
|
|
145
145
|
outputs:
|
|
146
146
|
- name: code
|
|
147
147
|
pattern: "code.md | code-r{N}.md"
|