@christianmaf80/agentic-workflow 1.24.0-beta.3 → 1.25.0-beta.3
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.es.md +13 -57
- package/README.md +14 -56
- package/bin/cli.js +22 -29
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/acceptance.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-scores.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/1-dev-agent-scaffold.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/2-dev-agent-manifest-command.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/3-dev-agent-marketplace-evidence.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/4-qa-agent-verify-build.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/analysis.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/architect/review.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/metrics.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/plan.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/researcher/research.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/results-acceptance.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/task.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/verification.md +0 -6
- package/dist/agent/artifacts/11-refinement-capas-constitution/analysis.md +24 -0
- package/dist/agent/artifacts/11-refinement-capas-constitution/roadmap-audit.md +34 -0
- package/dist/agent/artifacts/11-refinement-capas-constitution/task.md +58 -0
- package/dist/agent/artifacts/12-npm-workspaces/acceptance.md +78 -0
- package/dist/agent/artifacts/12-npm-workspaces/analysis.md +179 -0
- package/dist/agent/artifacts/12-npm-workspaces/plan.md +237 -0
- package/dist/agent/artifacts/12-npm-workspaces/researcher/research.md +186 -0
- package/dist/agent/artifacts/12-npm-workspaces/task.md +126 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/acceptance.md +75 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/researcher/research.md +121 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/task.md +104 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/acceptance.md +75 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/architect/analysis.md +90 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/planner/implementation_plan.md +44 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/researcher/research.md +113 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/task.md +107 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/verification/walkthrough.md +37 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/verifier/walkthrough.md +0 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/acceptance.md +0 -6
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/task.md +0 -6
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/acceptance.md +0 -6
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/task.md +0 -6
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/acceptance.md +0 -6
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/architect/implementation.md +0 -6
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/acceptance.md +0 -6
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/1-dev-agent-reestructurar-carpetas.md +1 -1
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/task.md +0 -6
- package/dist/agent/artifacts/6-release-beta-11/task.md +0 -6
- package/dist/agent/artifacts/7-extension-vscode-webview/acceptance.md +70 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-scores.md +24 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/1-vscode-specialist-scaffold-extension.md +99 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/2-vscode-specialist-update-manifest.md +101 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/3-vscode-specialist-webview-provider.md +96 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/4-vscode-specialist-activitybar-icon.md +95 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/5-qa-agent-manual-verify.md +97 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/analysis.md +195 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/architect/review.md +124 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/changelog.md +9 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/metrics.md +43 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/plan.md +181 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/researcher/research.md +118 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/results-acceptance.md +146 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/task.md +119 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/verification.md +81 -0
- package/dist/agent/artifacts/8-create-agentic-runtime-cli-first-as-the-single-execution-engine/task.md +126 -0
- package/dist/agent/artifacts/candidate/acceptance.md +23 -0
- package/dist/agent/artifacts/candidate/brief.md +39 -0
- package/dist/agent/artifacts/candidate/init.md +3 -9
- package/dist/agent/artifacts/candidate/task.md +4 -71
- package/dist/agent/artifacts/task-20260128-reorganize-structure/acceptance.md +0 -6
- package/dist/agent/artifacts/task-20260128-reorganize-structure/brief.md +1 -1
- package/dist/agent/artifacts/task-20260128-reorganize-structure/closure.md +3 -3
- package/dist/agent/artifacts/task-20260128-reorganize-structure/implementation.md +2 -2
- package/dist/agent/artifacts/task-20260128-reorganize-structure/task.md +0 -6
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/acceptance.md +65 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-scores.md +26 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1-neo-agent-deps-chatkit.md +108 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/15-vscode-specialist-views-router.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1b-vscode-specialist-review-deps.md +106 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/2-neo-agent-local-server.md +111 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/22-vscode-specialist-external-js.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/23-qa-agent-coverage-tests.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/24-vscode-specialist-class-refactor.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/25-vscode-specialist-external-html.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/26-vscode-specialist-template-js-html.md +110 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/27-vscode-specialist-fix-loading-setup.md +110 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/28-vscode-specialist-webview-debug-setup.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/29-vscode-specialist-webview-logging.md +109 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/3-neo-agent-webview-ui.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/30-vscode-specialist-csp-source.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/31-vscode-specialist-logging-prefix.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/32-vscode-specialist-logging-visibility.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/33-vscode-specialist-lit-setup.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/34-vscode-specialist-core-lit-base.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/35-vscode-specialist-lit-decorators-ts.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/36-vscode-specialist-lit-module-start.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/37-vscode-specialist-lit-ready-state.md +86 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/4-qa-agent-verification.md +106 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/5-vscode-specialist-api-key-ui.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/6-vscode-specialist-refactor-protocol.md +108 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/7-qa-agent-unit-tests.md +104 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-10-vscode-specialist-api-key-handshake.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-11-vscode-specialist-api-key-button-style.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-12-vscode-specialist-key-gate-view.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-13-vscode-specialist-status-timeout.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-14-vscode-specialist-init-flow.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-16-vscode-specialist-view-context.md +87 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-17-vscode-specialist-clear-key-command.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-18-vscode-specialist-context-sync.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-19-vscode-specialist-setup-visible.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-20-vscode-specialist-loading-state.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-21-vscode-specialist-loading-label.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-8-vscode-specialist-api-key-detect.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-9-vscode-specialist-api-key-state.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/analysis.md +156 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/architect/review.md +141 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/changelog.md +30 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/metrics.md +43 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/plan.md +151 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/research.md +115 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/results-acceptance.md +171 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/verification.md +87 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/acceptance.md +64 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/architect/implementation.md +30 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/brief.md +102 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/closure.md +95 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/acceptance.md +68 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/architect/implementation.md +33 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/brief.md +104 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/closure.md +100 -0
- package/dist/agent/artifacts/task-beta-release/acceptance.md +23 -0
- package/dist/agent/artifacts/task-beta-release/brief.md +39 -0
- package/dist/agent/artifacts/task-beta-release/closure.md +29 -0
- package/dist/agent/artifacts/task-beta-release/init.md +26 -0
- package/dist/agent/artifacts/task-beta-release/task.md +64 -0
- package/dist/agent/index.md +69 -30
- package/dist/agent/rules/constitution/agents-behavior.md +110 -100
- package/dist/agent/rules/constitution/backend.md +27 -0
- package/dist/agent/rules/constitution/background.md +30 -0
- package/dist/agent/rules/constitution/clean-code.md +5 -6
- package/dist/agent/rules/constitution/modular-architecture.md +66 -0
- package/dist/agent/rules/constitution/view.md +41 -0
- package/dist/agent/rules/constitution/vscode-extensions.md +32 -0
- package/dist/agent/rules/roles/architect.md +1 -2
- package/dist/agent/rules/roles/backend.md +21 -0
- package/dist/agent/rules/roles/background.md +20 -0
- package/dist/agent/rules/roles/devops.md +20 -0
- package/dist/agent/rules/roles/engine.md +26 -0
- package/dist/agent/rules/roles/neo.md +12 -13
- package/dist/agent/rules/roles/researcher.md +2 -2
- package/dist/agent/rules/roles/view.md +22 -0
- package/dist/agent/rules/roles/vscode-specialist.md +24 -0
- package/dist/agent/templates/acceptance.md +19 -25
- package/dist/agent/templates/agent-task.md +39 -39
- package/dist/agent/templates/analysis.md +92 -92
- package/dist/agent/templates/brief.md +43 -43
- package/dist/agent/templates/changelog.md +8 -8
- package/dist/agent/templates/closure.md +29 -29
- package/dist/agent/templates/coding/coding-integration-report.md +102 -0
- package/dist/agent/templates/coding/coding-layer-report.md +78 -0
- package/dist/agent/templates/init.md +0 -6
- package/dist/agent/templates/planning.md +73 -73
- package/dist/agent/templates/research.md +43 -43
- package/dist/agent/templates/results-acceptance.md +94 -94
- package/dist/agent/templates/review.md +59 -59
- package/dist/agent/templates/subtask-implementation.md +29 -29
- package/dist/agent/templates/supplemental-report.md +0 -6
- package/dist/agent/templates/task-metrics.md +14 -14
- package/dist/agent/templates/task.md +15 -15
- package/dist/agent/templates/todo-item.md +23 -23
- package/dist/agent/workflows/coding/coding-backend.md +147 -0
- package/dist/agent/workflows/coding/coding-background.md +149 -0
- package/dist/agent/workflows/coding/coding-integration.md +174 -0
- package/dist/agent/workflows/coding/coding-view.md +151 -0
- package/dist/agent/workflows/init.md +83 -90
- package/dist/agent/workflows/scaffold-module.md +38 -0
- package/dist/agent/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +124 -134
- package/dist/agent/workflows/tasklifecycle-long/phase-1-research.md +103 -97
- package/dist/agent/workflows/tasklifecycle-long/phase-2-analysis.md +107 -102
- package/dist/agent/workflows/tasklifecycle-long/phase-3-planning.md +125 -120
- package/dist/agent/workflows/tasklifecycle-long/phase-4-implementation.md +118 -118
- package/dist/agent/workflows/tasklifecycle-long/phase-5-verification.md +105 -101
- package/dist/agent/workflows/tasklifecycle-long/phase-6-results-acceptance.md +82 -78
- package/dist/agent/workflows/tasklifecycle-long/phase-7-evaluation.md +84 -75
- package/dist/agent/workflows/tasklifecycle-long/phase-8-commit-push.md +94 -89
- package/dist/agent/workflows/tasklifecycle-short/short-phase-1-brief.md +78 -71
- package/dist/agent/workflows/tasklifecycle-short/short-phase-2-implementation.md +79 -71
- package/dist/agent/workflows/tasklifecycle-short/short-phase-3-closure.md +73 -66
- package/dist/cli/commands/create.js +4 -29
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/mcp.js +0 -6
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/runtime/engine/engine.js +29 -57
- package/dist/runtime/engine/engine.js.map +1 -1
- package/dist/runtime/engine/service.js +1 -38
- package/dist/runtime/engine/service.js.map +1 -1
- package/dist/runtime/engine/task-loader.js +1 -1
- package/dist/runtime/engine/task-loader.js.map +1 -1
- package/dist/runtime/engine/workflow-loader.js +17 -25
- package/dist/runtime/engine/workflow-loader.js.map +1 -1
- package/dist/runtime/mcp/server.js +38 -277
- package/dist/runtime/mcp/server.js.map +1 -1
- package/package.json +69 -7
- package/dist/agent/artifacts/index.md +0 -25
- package/dist/agent/rules/constitution/index.md +0 -26
- package/dist/agent/rules/constitution/runtime-integration.md +0 -101
- package/dist/agent/rules/index.md +0 -70
- package/dist/agent/rules/roles/index.md +0 -44
- package/dist/agent/templates/index.md +0 -42
- package/dist/agent/workflows/index.md +0 -30
- package/dist/agent/workflows/tasklifecycle-long/index.md +0 -172
- package/dist/agent/workflows/tasklifecycle-short/index.md +0 -70
- package/dist/cli/commands/register-mcp.js +0 -116
- package/dist/cli/commands/register-mcp.js.map +0 -1
- package/dist/runtime/engine/logger.js +0 -74
- package/dist/runtime/engine/logger.js.map +0 -1
- package/dist/runtime/mcp/check-tools.js +0 -66
- package/dist/runtime/mcp/check-tools.js.map +0 -1
|
@@ -9,101 +9,101 @@ related_plan: .agent/artifacts/<taskId>-<taskTitle>/plan.md
|
|
|
9
9
|
|
|
10
10
|
# Architectural Implementation Review — <taskId>-<taskTitle>
|
|
11
11
|
|
|
12
|
-
##
|
|
13
|
-
|
|
14
|
-
`<
|
|
12
|
+
## Agent Identification (MANDATORY)
|
|
13
|
+
First line of the document:
|
|
14
|
+
`<icon> **<agent-name>**: <message>`
|
|
15
15
|
|
|
16
|
-
## 1.
|
|
17
|
-
- **
|
|
18
|
-
|
|
16
|
+
## 1. Review Summary
|
|
17
|
+
- **Review objective**
|
|
18
|
+
Verify that the executed implementation meets the **approved implementation plan** without unauthorized deviations.
|
|
19
19
|
|
|
20
|
-
- **
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
20
|
+
- **Overall result**
|
|
21
|
+
- Status: ☐ APPROVED ☐ REJECTED
|
|
22
|
+
- Review date:
|
|
23
|
+
- Responsible architect:
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
## 2.
|
|
28
|
-
|
|
27
|
+
## 2. Verification Against the Implementation Plan
|
|
28
|
+
Direct and traceable review **plan → implementation**.
|
|
29
29
|
|
|
30
|
-
### 2.1
|
|
31
|
-
|
|
30
|
+
### 2.1 Plan Steps
|
|
31
|
+
For **each step defined in `plan.md`**:
|
|
32
32
|
|
|
33
|
-
|
|
|
34
|
-
|
|
35
|
-
|
|
|
36
|
-
|
|
|
33
|
+
| Plan Step | Status | Evidence | Observations |
|
|
34
|
+
|-----------|--------|----------|-------------|
|
|
35
|
+
| Step 1 | ☐ OK ☐ NOT OK | refs / commits / artifacts | |
|
|
36
|
+
| Step 2 | ☐ OK ☐ NOT OK | | |
|
|
37
37
|
|
|
38
|
-
>
|
|
38
|
+
> All steps **MUST** be in **OK** status to approve the phase.
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
42
|
-
## 3.
|
|
43
|
-
|
|
42
|
+
## 3. Subtasks by Agent
|
|
43
|
+
Review of individual implementations.
|
|
44
44
|
|
|
45
|
-
###
|
|
45
|
+
### Agent: `<agent-name>`
|
|
46
46
|
- **Subtask document**:
|
|
47
47
|
- `.agent/artifacts/<taskId>-<taskTitle>/<agent>/subtask-implementation.md`
|
|
48
|
-
- **
|
|
49
|
-
- ☐
|
|
50
|
-
- ☐
|
|
48
|
+
- **Evaluation**:
|
|
49
|
+
- ☐ Meets the plan
|
|
50
|
+
- ☐ Deviations detected (detail below)
|
|
51
51
|
|
|
52
|
-
**
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
52
|
+
**Architect's Notes**
|
|
53
|
+
- Changes made:
|
|
54
|
+
- Technical decisions:
|
|
55
|
+
- Coherence with the rest of the system:
|
|
56
56
|
|
|
57
|
-
(
|
|
57
|
+
(Repeat section for each participating agent)
|
|
58
58
|
|
|
59
59
|
---
|
|
60
60
|
|
|
61
|
-
## 4. Acceptance Criteria (
|
|
62
|
-
|
|
61
|
+
## 4. Acceptance Criteria (impact)
|
|
62
|
+
Verification that the implementation **does not break** the defined acceptance criteria.
|
|
63
63
|
|
|
64
|
-
- ☐
|
|
65
|
-
- ☐
|
|
64
|
+
- ☐ All ACs remain valid
|
|
65
|
+
- ☐ Some AC requires review (detail)
|
|
66
66
|
|
|
67
|
-
**
|
|
68
|
-
-
|
|
69
|
-
-
|
|
67
|
+
**Observations**
|
|
68
|
+
- Affected ACs:
|
|
69
|
+
- Reason:
|
|
70
70
|
|
|
71
71
|
---
|
|
72
72
|
|
|
73
|
-
## 5.
|
|
74
|
-
|
|
73
|
+
## 5. Architectural Coherence
|
|
74
|
+
Overall system evaluation after implementation.
|
|
75
75
|
|
|
76
|
-
- ☐
|
|
77
|
-
- ☐
|
|
78
|
-
- ☐
|
|
79
|
-
- ☐
|
|
76
|
+
- ☐ Respects project architecture
|
|
77
|
+
- ☐ Respects clean code
|
|
78
|
+
- ☐ Does not introduce significant technical debt
|
|
79
|
+
- ☐ Maintains expected compatibility (multi-browser if applicable)
|
|
80
80
|
|
|
81
|
-
**
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
81
|
+
**Architectural Observations**
|
|
82
|
+
- Structural impact:
|
|
83
|
+
- Component impact:
|
|
84
|
+
- Introduced risks:
|
|
85
85
|
|
|
86
86
|
---
|
|
87
87
|
|
|
88
|
-
## 6.
|
|
89
|
-
|
|
88
|
+
## 6. Plan Deviations
|
|
89
|
+
Explicit record of deviations (if any).
|
|
90
90
|
|
|
91
|
-
- **
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
91
|
+
- **Deviation**
|
|
92
|
+
- Description:
|
|
93
|
+
- Justification:
|
|
94
|
+
- Was it planned? ☐ Yes ☐ No
|
|
95
|
+
- Does it require replanning? ☐ Yes ☐ No
|
|
96
96
|
|
|
97
|
-
(
|
|
97
|
+
(If no deviations, indicate explicitly: "No deviations detected.")
|
|
98
98
|
|
|
99
99
|
---
|
|
100
100
|
|
|
101
|
-
## 7.
|
|
102
|
-
|
|
101
|
+
## 7. Architect's Final Decision
|
|
102
|
+
**Strict and binary** decision.
|
|
103
103
|
|
|
104
104
|
```yaml
|
|
105
105
|
decision:
|
|
106
106
|
architect:
|
|
107
|
-
result:
|
|
107
|
+
result: APPROVED | REJECTED
|
|
108
108
|
date: <ISO-8601>
|
|
109
|
-
comments: <
|
|
109
|
+
comments: <optional>
|
|
@@ -9,54 +9,54 @@ subtask_id: <id>
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
> [!WARNING]
|
|
12
|
-
> **@deprecated**:
|
|
12
|
+
> **@deprecated**: This template is obsolete. Use `templates.agent_task` for new tasks.
|
|
13
13
|
|
|
14
14
|
# Subtask Implementation Report — <taskId>-<taskTitle> — <agent> — <subtask_id>
|
|
15
15
|
|
|
16
|
-
## 1.
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
16
|
+
## 1. Context and Scope
|
|
17
|
+
- Precise description of the subtask
|
|
18
|
+
- Specific objective
|
|
19
|
+
- Relationship with the plan (reference to exact step)
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
## 2.
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- APIs/
|
|
27
|
-
-
|
|
23
|
+
## 2. Changes Made (detailed)
|
|
24
|
+
- Files touched (complete list)
|
|
25
|
+
- Changes per file (summary per file)
|
|
26
|
+
- APIs/contracts affected
|
|
27
|
+
- New functions/classes/constants
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
|
-
## 3.
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
31
|
+
## 3. Technical Decisions
|
|
32
|
+
- Key decisions and their justification
|
|
33
|
+
- Alternatives considered and why they were discarded
|
|
34
|
+
- Impact on other components (if applicable)
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
38
|
-
## 4. Testing
|
|
39
|
-
- Tests
|
|
40
|
-
-
|
|
41
|
-
-
|
|
38
|
+
## 4. Testing and Evidence
|
|
39
|
+
- Tests executed (command and scope)
|
|
40
|
+
- Results (pass/fail)
|
|
41
|
+
- Evidence (logs, screenshots, reports)
|
|
42
42
|
|
|
43
43
|
---
|
|
44
44
|
|
|
45
|
-
## 5.
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
45
|
+
## 5. Plan Deviations
|
|
46
|
+
- Detected deviations
|
|
47
|
+
- Reason
|
|
48
|
+
- Corrective action or registered debt
|
|
49
49
|
|
|
50
50
|
---
|
|
51
51
|
|
|
52
|
-
## 6.
|
|
53
|
-
-
|
|
54
|
-
-
|
|
52
|
+
## 6. Risks and Pending Validations
|
|
53
|
+
- Open risks
|
|
54
|
+
- Pending validations
|
|
55
55
|
|
|
56
56
|
---
|
|
57
57
|
|
|
58
58
|
## 7. Checklist
|
|
59
|
-
- [ ] Subtask
|
|
60
|
-
- [ ]
|
|
61
|
-
- [ ] Testing
|
|
62
|
-
- [ ]
|
|
59
|
+
- [ ] Subtask completed
|
|
60
|
+
- [ ] Changes documented
|
|
61
|
+
- [ ] Testing documented
|
|
62
|
+
- [ ] Ready for architect review
|
|
@@ -8,31 +8,31 @@ related_task: <taskId>-<taskTitle>
|
|
|
8
8
|
|
|
9
9
|
# Task Metrics — <taskId>-<taskTitle>
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
`<
|
|
11
|
+
## Agent Identification (MANDATORY)
|
|
12
|
+
First line of the document:
|
|
13
|
+
`<icon> **<agent-name>**: <message>`
|
|
14
14
|
|
|
15
|
-
## 1.
|
|
15
|
+
## 1. Evaluated Agents
|
|
16
16
|
- Agent A
|
|
17
17
|
- Agent B
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
## 2.
|
|
21
|
+
## 2. Score per Agent (0-10)
|
|
22
22
|
- **Agent A**: score
|
|
23
|
-
-
|
|
23
|
+
- Justification
|
|
24
24
|
- **Agent B**: score
|
|
25
|
-
-
|
|
25
|
+
- Justification
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
29
|
-
## 3.
|
|
30
|
-
-
|
|
31
|
-
-
|
|
29
|
+
## 3. Overall Task Score
|
|
30
|
+
- Weighted average: score
|
|
31
|
+
- Observations
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
-
## 4.
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
35
|
+
## 4. Developer Validation
|
|
36
|
+
- Approved: [SI/NO]
|
|
37
|
+
- Developer score (0-5):
|
|
38
|
+
- Comments:
|
|
@@ -7,25 +7,25 @@ strategy: {{task.strategy}}
|
|
|
7
7
|
|
|
8
8
|
# Task (Template)
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Identification
|
|
11
11
|
- id: {{task.id}}
|
|
12
12
|
- title: {{task.title}}
|
|
13
13
|
- scope: candidate | current
|
|
14
14
|
- owner: architect-agent
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Origin
|
|
17
17
|
- created_from:
|
|
18
18
|
- workflow: tasklifecycle
|
|
19
19
|
- source: init / tasklifecycle
|
|
20
20
|
- candidate_path: artifacts.candidate.task
|
|
21
21
|
|
|
22
|
-
##
|
|
22
|
+
## Task Description
|
|
23
23
|
{{task.description}}
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Objective
|
|
26
26
|
{{task.goal}}
|
|
27
27
|
|
|
28
|
-
##
|
|
28
|
+
## Lifecycle State (SINGLE SOURCE OF TRUTH)
|
|
29
29
|
|
|
30
30
|
```yaml
|
|
31
31
|
task:
|
|
@@ -109,18 +109,18 @@ task:
|
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
112
|
-
## 2.
|
|
112
|
+
## 2. Definition and Scope (Contract)
|
|
113
113
|
- **Acceptance Criteria**: [acceptance.md](file:///{{task.acceptance_path}})
|
|
114
114
|
- **Alias**: `task.acceptance`
|
|
115
115
|
|
|
116
116
|
---
|
|
117
117
|
|
|
118
|
-
##
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
1.
|
|
125
|
-
2.
|
|
126
|
-
3.
|
|
118
|
+
## Contractual Rules
|
|
119
|
+
- This file is the **single source of truth** of the task state.
|
|
120
|
+
- The `task.phase.current` field can **ONLY be modified by `architect-agent`**.
|
|
121
|
+
- The `task.lifecycle.phases.*` field can **ONLY be marked as completed by `architect-agent`**.
|
|
122
|
+
- A phase **CANNOT be marked as completed** if it is not the current phase.
|
|
123
|
+
- Phase advancement requires:
|
|
124
|
+
1. Marking the current phase as `completed: true`
|
|
125
|
+
2. Explicit architect validation
|
|
126
|
+
3. Updating `task.phase.current` to the next phase
|
|
@@ -2,44 +2,44 @@
|
|
|
2
2
|
artifact: todo_item
|
|
3
3
|
owner: architect-agent
|
|
4
4
|
status: open | in-progress | done | cancelled
|
|
5
|
-
priority:
|
|
5
|
+
priority: high | medium | low
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# TODO: <
|
|
8
|
+
# TODO: <short title>
|
|
9
9
|
|
|
10
|
-
##
|
|
11
|
-
- **
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
10
|
+
## Origin
|
|
11
|
+
- **Detected in task**: <taskId>-<taskTitle>
|
|
12
|
+
- **Phase**: <phase where detected>
|
|
13
|
+
- **Date**: <ISO-8601>
|
|
14
|
+
- **Agent**: <agent that detected it>
|
|
15
15
|
|
|
16
|
-
##
|
|
17
|
-
<
|
|
16
|
+
## Description
|
|
17
|
+
<Clear description of the proposed improvement>
|
|
18
18
|
|
|
19
|
-
##
|
|
20
|
-
<
|
|
19
|
+
## Justification
|
|
20
|
+
<Why it is important to make this change>
|
|
21
21
|
|
|
22
|
-
##
|
|
23
|
-
- **
|
|
24
|
-
-
|
|
22
|
+
## Estimated Impact
|
|
23
|
+
- **Complexity**: low | medium | high
|
|
24
|
+
- **Affected areas**: <components/workflows/templates>
|
|
25
25
|
|
|
26
|
-
##
|
|
27
|
-
- [ ] <
|
|
28
|
-
- [ ] <
|
|
26
|
+
## Acceptance Criterion
|
|
27
|
+
- [ ] <Verifiable condition 1>
|
|
28
|
+
- [ ] <Verifiable condition 2>
|
|
29
29
|
|
|
30
|
-
##
|
|
31
|
-
<
|
|
30
|
+
## Notes
|
|
31
|
+
<Additional relevant information>
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
-
##
|
|
35
|
+
## History
|
|
36
36
|
```yaml
|
|
37
37
|
history:
|
|
38
38
|
- action: created
|
|
39
39
|
date: <ISO-8601>
|
|
40
|
-
by: <
|
|
40
|
+
by: <agent>
|
|
41
41
|
# - action: started | completed | cancelled
|
|
42
42
|
# date: <ISO-8601>
|
|
43
|
-
# by: <
|
|
44
|
-
# task: <taskId
|
|
43
|
+
# by: <agent>
|
|
44
|
+
# task: <taskId where implemented>
|
|
45
45
|
```
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: workflow.coding.backend
|
|
3
|
+
description: On-demand coding workflow for the Backend layer. Invoked by architect-agent during Phase 4 implementation.
|
|
4
|
+
owner: backend
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
severity: PERMANENT
|
|
7
|
+
trigger:
|
|
8
|
+
commands: ["coding-backend"]
|
|
9
|
+
blocking: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# WORKFLOW: coding.backend
|
|
13
|
+
|
|
14
|
+
## Input (REQUIRED)
|
|
15
|
+
- Agent task file assigned by architect:
|
|
16
|
+
- `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/<N>-backend-<taskName>.md`
|
|
17
|
+
- Constitution loaded:
|
|
18
|
+
- `constitution.backend` (MANDATORY)
|
|
19
|
+
- `constitution.clean_code` (MANDATORY)
|
|
20
|
+
- Role activated:
|
|
21
|
+
- `roles.backend`
|
|
22
|
+
|
|
23
|
+
> [!IMPORTANT]
|
|
24
|
+
> **This is an on-demand workflow.** It is invoked by `architect-agent` during Phase 4 as part of the implementation plan. The architect defines the execution order of coding workflows.
|
|
25
|
+
|
|
26
|
+
## Output (REQUIRED)
|
|
27
|
+
- Implementation report using `templates.coding.layer_report`:
|
|
28
|
+
- Embedded in the agent task file under "Implementation Report"
|
|
29
|
+
- All code changes passing compilation
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Objective (ONLY)
|
|
34
|
+
- Implement the **backend layer** of the assigned task following `constitution.backend`.
|
|
35
|
+
- Generate a detailed implementation report.
|
|
36
|
+
- Present to developer for Gate approval.
|
|
37
|
+
|
|
38
|
+
> This workflow **ONLY** implements backend logic.
|
|
39
|
+
> This workflow **NEVER** imports `vscode` or DOM APIs.
|
|
40
|
+
> This workflow **NEVER** communicates directly with View.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Mandatory Steps
|
|
45
|
+
|
|
46
|
+
### 0. Activate role
|
|
47
|
+
- Activate `roles.backend` and use mandatory agent prefix in all messages.
|
|
48
|
+
|
|
49
|
+
### 1. Verify inputs
|
|
50
|
+
- Agent task file exists and has Input section completed by architect.
|
|
51
|
+
- Constitution `constitution.backend` loaded.
|
|
52
|
+
- Constitution `constitution.clean_code` loaded.
|
|
53
|
+
- If missing → **FAIL**.
|
|
54
|
+
|
|
55
|
+
### 2. Analyze the task
|
|
56
|
+
- Read the agent task Input (objective, scope, dependencies).
|
|
57
|
+
- Complete the "Reasoning" section of the agent task:
|
|
58
|
+
- Analyze objective
|
|
59
|
+
- Consider options
|
|
60
|
+
- Document decision and justification
|
|
61
|
+
|
|
62
|
+
### 3. Implement
|
|
63
|
+
- Write code following `constitution.backend`:
|
|
64
|
+
- **Extend AbstractServer** from `core/backend`.
|
|
65
|
+
- **No vscode imports** — logic must be IDE-decoupled.
|
|
66
|
+
- **Transport agnostic** — use abstract adapters.
|
|
67
|
+
- **Error handling** — return `{ error, code }`, no raw exceptions.
|
|
68
|
+
- **Response format** — strictly typed JSON.
|
|
69
|
+
- Write code following `constitution.clean_code`.
|
|
70
|
+
|
|
71
|
+
### 4. Self-validate
|
|
72
|
+
- Verify all constitution rules are satisfied:
|
|
73
|
+
- [ ] Extends `AbstractServer` (if applicable)
|
|
74
|
+
- [ ] No `vscode` or `dom` imports
|
|
75
|
+
- [ ] Error handling via structured responses
|
|
76
|
+
- [ ] No direct View communication
|
|
77
|
+
- [ ] Clean code principles applied
|
|
78
|
+
- Run compilation: `npm run compile`
|
|
79
|
+
- If compilation fails → fix before proceeding.
|
|
80
|
+
|
|
81
|
+
### 5. Generate implementation report
|
|
82
|
+
- Complete the "Implementation Report" section using `templates.coding.layer_report`:
|
|
83
|
+
- **Who**: Agent identity and role
|
|
84
|
+
- **How**: Technical details, specifications, diagrams if needed
|
|
85
|
+
- **Why**: Justification and reasoning
|
|
86
|
+
- **Results**: What was achieved, compilation status
|
|
87
|
+
- **E2E Test Indications**: Scenarios for e2e testing
|
|
88
|
+
|
|
89
|
+
### 6. Present to developer (Gate)
|
|
90
|
+
- Present completed task with report to developer.
|
|
91
|
+
- Request approval: **SI / NO**
|
|
92
|
+
|
|
93
|
+
### 7. Register Gate
|
|
94
|
+
```yaml
|
|
95
|
+
approval:
|
|
96
|
+
developer:
|
|
97
|
+
decision: SI | NO
|
|
98
|
+
date: <ISO-8601>
|
|
99
|
+
comments: <optional>
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 8. Evaluate Gate
|
|
103
|
+
- If `decision == SI` → go to **Step 9 (PASS)**.
|
|
104
|
+
- If `decision == NO`:
|
|
105
|
+
- Mark task as `failed`.
|
|
106
|
+
- Define corrective actions.
|
|
107
|
+
- **Do NOT advance** until resolved.
|
|
108
|
+
- Go to **Step 10 (FAIL)**.
|
|
109
|
+
|
|
110
|
+
### 9. PASS (only if Gate approved)
|
|
111
|
+
- Mark agent task as `completed`.
|
|
112
|
+
- Update agent task file:
|
|
113
|
+
```yaml
|
|
114
|
+
execution:
|
|
115
|
+
status: completed
|
|
116
|
+
completed_at: <ISO-8601>
|
|
117
|
+
```
|
|
118
|
+
- Update the coding layer report with final status.
|
|
119
|
+
- Return control to `architect-agent` for next workflow in the sequence.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## FAIL (MANDATORY)
|
|
124
|
+
|
|
125
|
+
### 10. Declare workflow as NOT completed
|
|
126
|
+
Cases:
|
|
127
|
+
- Missing inputs or constitution.
|
|
128
|
+
- Compilation failure not resolved.
|
|
129
|
+
- Constitution violation detected.
|
|
130
|
+
- Gate = NO without resolution.
|
|
131
|
+
|
|
132
|
+
Actions:
|
|
133
|
+
- Identify the failure point.
|
|
134
|
+
- Define corrective actions.
|
|
135
|
+
- Iterate until Gate PASS.
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Gate (REQUIRED)
|
|
140
|
+
|
|
141
|
+
Requirements (all mandatory):
|
|
142
|
+
1. Code compiles without errors.
|
|
143
|
+
2. All `constitution.backend` rules are satisfied.
|
|
144
|
+
3. All `constitution.clean_code` rules are satisfied.
|
|
145
|
+
4. Implementation report is complete (all 5 sections).
|
|
146
|
+
5. Developer Gate PASS (`decision == SI`).
|
|
147
|
+
6. Agent task file starts with backend agent prefix.
|