@christianmaf80/agentic-workflow 1.41.0-beta.10 → 1.42.0
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 -94
- package/README.md +14 -94
- package/RELEASE_PROCESS.md +3 -6
- package/bin/cli.js +31 -72
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/acceptance.md +70 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-scores.md +22 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/1-dev-agent-scaffold.md +106 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/2-dev-agent-manifest-command.md +105 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/3-dev-agent-marketplace-evidence.md +103 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/4-qa-agent-verify-build.md +103 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/analysis.md +197 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/architect/review.md +131 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/changelog.md +26 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/metrics.md +40 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/plan.md +175 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/researcher/research.md +157 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/results-acceptance.md +168 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/task.md +119 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/verification.md +79 -0
- 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 +68 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/1-dev-agent-contribution-points-assets.md +107 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/2-dev-agent-webview-provider.md +106 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/3-dev-agent-webview-ui.md +104 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/4-dev-agent-chat-participant.md +104 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/5-dev-agent-migrate-to-root.md +103 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-1-dev-agent-chat-participant-types.md +108 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-2-dev-agent-view-container-id.md +106 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-3-dev-agent-container-id-lowercase.md +105 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-4-dev-agent-container-id-hyphen.md +105 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-5-dev-agent-view-type-webview.md +103 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/analysis.md +179 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/architect/review.md +118 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/plan.md +171 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/researcher/research.md +113 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/results-acceptance.md +171 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/task.md +119 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/verification.md +85 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/acceptance.md +69 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-scores.md +23 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/1-dev-agent-create-project.md +89 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/2-dev-agent-contributes-activitybar.md +88 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/3-dev-agent-webview-panel.md +88 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/4-dev-agent-chat-participant.md +88 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/5-dev-agent-launch-config.md +90 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/fix-1-dev-agent-view-container-ids.md +90 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/analysis.md +175 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/architect/review.md +118 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/changelog.md +26 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/metrics.md +43 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/plan.md +167 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/researcher/research.md +115 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/results-acceptance.md +122 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/task.md +119 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/verification.md +85 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/acceptance.md +67 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/architect/implementation.md +31 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/brief.md +103 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/closure.md +101 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/acceptance.md +72 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-scores.md +20 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/1-dev-agent-reestructurar-carpetas.md +101 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/2-dev-agent-scaffolding-yeoman.md +111 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/3-dev-agent-merge-extension.md +110 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/4-dev-agent-merge-config.md +107 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/5-dev-agent-update-scripts.md +111 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/6-qa-agent-validation-install.md +108 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/7-dev-agent-fix-cli-entrypoint.md +104 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/8-qa-agent-validation-install-retry.md +106 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/analysis.md +125 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/architect/review.md +84 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/changelog.md +34 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/metrics.md +44 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/plan.md +157 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/researcher/research.md +105 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/results-acceptance.md +105 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/task.md +107 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/verification.md +79 -0
- package/dist/agent/artifacts/6-release-beta-11/agent-tasks/1-dev-agent-release-bump.md +44 -0
- package/dist/agent/artifacts/6-release-beta-11/architect/implementation.md +37 -0
- package/dist/agent/artifacts/6-release-beta-11/brief.md +89 -0
- package/dist/agent/artifacts/6-release-beta-11/closure.md +83 -0
- package/dist/agent/artifacts/6-release-beta-11/task.md +65 -0
- 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 +24 -0
- package/dist/agent/artifacts/candidate/task.md +5 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/acceptance.md +68 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/brief.md +100 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/closure.md +40 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/implementation.md +48 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/task.md +66 -0
- 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 -158
- 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 +96 -0
- package/dist/agent/templates/changelog.md +8 -8
- package/dist/agent/templates/closure.md +95 -0
- 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 +2 -23
- 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 +18 -33
- 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 +93 -133
- 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 +121 -125
- 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 +117 -0
- package/dist/agent/workflows/tasklifecycle-short/short-phase-2-implementation.md +114 -0
- package/dist/agent/workflows/tasklifecycle-short/short-phase-3-closure.md +111 -0
- package/dist/cli/commands/create.js +4 -29
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/fork.js +45 -0
- package/dist/cli/commands/fork.js.map +1 -0
- package/dist/cli/commands/init.js +4 -78
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/mcp.js +3 -17
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/scaffold.js +57 -0
- package/dist/cli/commands/scaffold.js.map +1 -0
- package/dist/cli/index.js +0 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/infrastructure/context/manager.js +0 -2
- package/dist/infrastructure/context/manager.js.map +1 -1
- package/dist/infrastructure/index.js +0 -5
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/runtime/engine/emitter.js +28 -0
- package/dist/runtime/engine/emitter.js.map +1 -0
- package/dist/runtime/engine/engine.js +128 -0
- package/dist/runtime/engine/engine.js.map +1 -0
- package/dist/runtime/engine/index.js +7 -0
- package/dist/runtime/engine/index.js.map +1 -0
- package/dist/runtime/engine/service.js +78 -0
- package/dist/runtime/engine/service.js.map +1 -0
- package/dist/runtime/engine/state-store.js +24 -0
- package/dist/runtime/engine/state-store.js.map +1 -0
- package/dist/runtime/{task-loader.js → engine/task-loader.js} +24 -5
- package/dist/runtime/engine/task-loader.js.map +1 -0
- package/dist/runtime/engine/workflow-loader.js +82 -0
- package/dist/runtime/engine/workflow-loader.js.map +1 -0
- package/dist/runtime/index.js +2 -4
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/mcp/index.js +2 -0
- package/dist/runtime/mcp/index.js.map +1 -0
- package/dist/runtime/mcp/server.js +249 -0
- package/dist/runtime/mcp/server.js.map +1 -0
- package/media/agent-chat.svg +20 -0
- package/media/codicons/codicon.css +698 -0
- package/media/codicons/codicon.ttf +0 -0
- package/media/providers/claude.png +0 -0
- package/media/providers/gemini.png +0 -0
- package/media/providers/openai.png +0 -0
- package/package.json +124 -56
- package/dist/agent/artifacts/candidate/index.md +0 -26
- 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 -102
- package/dist/agent/rules/index.md +0 -70
- package/dist/agent/rules/roles/index.md +0 -44
- package/dist/agent/skills/index.md +0 -23
- package/dist/agent/skills/runtime-governance/SKILL.md +0 -62
- package/dist/agent/templates/analisis.md +0 -86
- package/dist/agent/templates/index.md +0 -43
- package/dist/agent/templates/plan.md +0 -49
- package/dist/agent/templates/qa-results.md +0 -70
- 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 -77
- package/dist/agent/workflows/tasklifecycle-short/short-phase-1-analisis.md +0 -116
- package/dist/agent/workflows/tasklifecycle-short/short-phase-2-plan.md +0 -81
- package/dist/agent/workflows/tasklifecycle-short/short-phase-3-implementation.md +0 -115
- package/dist/agent/workflows/tasklifecycle-short/short-phase-4-qa-results.md +0 -84
- package/dist/cli/commands/bootstrap.js +0 -111
- package/dist/cli/commands/bootstrap.js.map +0 -1
- package/dist/cli/commands/register-mcp.js +0 -135
- package/dist/cli/commands/register-mcp.js.map +0 -1
- package/dist/infrastructure/context/index.js +0 -2
- package/dist/infrastructure/context/index.js.map +0 -1
- package/dist/infrastructure/logger/index.js +0 -41
- package/dist/infrastructure/logger/index.js.map +0 -1
- package/dist/infrastructure/mapping/index.js +0 -2
- package/dist/infrastructure/mapping/index.js.map +0 -1
- package/dist/infrastructure/migration/index.js +0 -4
- package/dist/infrastructure/migration/index.js.map +0 -1
- package/dist/infrastructure/utils/index.js +0 -2
- package/dist/infrastructure/utils/index.js.map +0 -1
- package/dist/mcp/emitter.js +0 -24
- package/dist/mcp/emitter.js.map +0 -1
- package/dist/mcp/handlers.js +0 -74
- package/dist/mcp/handlers.js.map +0 -1
- package/dist/mcp/index.js +0 -3
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/resources.js +0 -69
- package/dist/mcp/resources.js.map +0 -1
- package/dist/mcp/server.js +0 -94
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/tools.js +0 -189
- package/dist/mcp/tools.js.map +0 -1
- package/dist/runtime/frontmatter-sync.js +0 -100
- package/dist/runtime/frontmatter-sync.js.map +0 -1
- package/dist/runtime/reconcile.js +0 -37
- package/dist/runtime/reconcile.js.map +0 -1
- package/dist/runtime/runtime.js +0 -427
- package/dist/runtime/runtime.js.map +0 -1
- package/dist/runtime/task-loader.js.map +0 -1
- package/dist/runtime/task-resolver.js +0 -401
- package/dist/runtime/task-resolver.js.map +0 -1
- package/dist/runtime/write-guard.js +0 -200
- package/dist/runtime/write-guard.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: workflow.tasklifecycle-long.phase-4-implementation
|
|
3
|
-
description:
|
|
3
|
+
description: Phase 4 of the task lifecycle. Executes implementation through granular task delegation to agents with developer approval Gate per task. Only advances if all tasks have been approved.
|
|
4
4
|
owner: architect-agent
|
|
5
5
|
version: 3.0.0
|
|
6
6
|
severity: PERMANENT
|
|
@@ -12,187 +12,183 @@ blocking: true
|
|
|
12
12
|
# WORKFLOW: tasklifecycle.phase-4-implementation
|
|
13
13
|
|
|
14
14
|
## Input (REQUIRED)
|
|
15
|
-
-
|
|
15
|
+
- The approved implementation plan exists:
|
|
16
16
|
- `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
|
|
17
|
-
-
|
|
17
|
+
- The current task exists:
|
|
18
18
|
- `.agent/artifacts/<taskId>-<taskTitle>/task.md`
|
|
19
|
-
-
|
|
19
|
+
- The `task.md` **MUST** reflect:
|
|
20
20
|
- `task.phase.current == aliases.tasklifecycle-long.phases.phase_4.id`
|
|
21
21
|
|
|
22
22
|
> [!IMPORTANT]
|
|
23
|
-
> **
|
|
24
|
-
> -
|
|
25
|
-
> -
|
|
26
|
-
> -
|
|
23
|
+
> **Active constitution (MANDATORY)**:
|
|
24
|
+
> - Load `constitution.clean_code` before starting
|
|
25
|
+
> - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
|
|
26
|
+
> - Load domain-specific constitutions as required by the task
|
|
27
27
|
|
|
28
28
|
## Output (REQUIRED)
|
|
29
|
-
-
|
|
29
|
+
- For **each agent task**:
|
|
30
30
|
- `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/<N>-<agent>-<taskName>.md`
|
|
31
|
-
-
|
|
31
|
+
- Architect review report:
|
|
32
32
|
- `.agent/artifacts/<taskId>-<taskTitle>/architect/review.md`
|
|
33
|
-
-
|
|
33
|
+
- State update in:
|
|
34
34
|
- `.agent/artifacts/<taskId>-<taskTitle>/task.md`
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
38
|
-
##
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
38
|
+
## Objective (ONLY)
|
|
39
|
+
- Execute **all implementation tasks** defined in the approved plan through **granular delegation**.
|
|
40
|
+
- Each task is an **independent file** with Input/Output/Gate structure.
|
|
41
|
+
- Each task requires **explicit developer approval** (synchronous Gate) before assigning the next one.
|
|
42
|
+
- Generate a **mandatory architectural review report** consolidating all tasks.
|
|
43
43
|
|
|
44
|
-
>
|
|
45
|
-
>
|
|
46
|
-
>
|
|
44
|
+
> This phase **DOES implement code**.
|
|
45
|
+
> This phase **DOES NOT redefine scope or planning**.
|
|
46
|
+
> This phase **CANNOT advance without Gate PASS on all tasks + global confirmation**.
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
50
|
-
## Templates (
|
|
51
|
-
-
|
|
50
|
+
## Templates (MANDATORY)
|
|
51
|
+
- Each agent task **MUST** use:
|
|
52
52
|
- `templates.agent_task`
|
|
53
|
-
-
|
|
53
|
+
- The review report **MUST** use:
|
|
54
54
|
- `templates.review`
|
|
55
|
-
-
|
|
55
|
+
- If any template does not exist or cannot be loaded → **FAIL**.
|
|
56
56
|
|
|
57
57
|
---
|
|
58
58
|
|
|
59
|
-
##
|
|
60
|
-
0.
|
|
59
|
+
## Mandatory Steps
|
|
60
|
+
0. Activate `architect-agent` and use the mandatory prefix in every message.
|
|
61
61
|
|
|
62
|
-
### 1.
|
|
63
|
-
-
|
|
64
|
-
-
|
|
62
|
+
### 1. Verify inputs
|
|
63
|
+
- Approved `plan.md` exists.
|
|
64
|
+
- `task.md` exists.
|
|
65
65
|
- `task.phase.current == aliases.tasklifecycle-long.phases.phase_4.id`.
|
|
66
|
-
-
|
|
66
|
+
- If it fails → go to **Step 10 (FAIL)**.
|
|
67
67
|
|
|
68
|
-
### 2.
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
68
|
+
### 2. Extract tasks from the plan
|
|
69
|
+
- Read `plan.md`.
|
|
70
|
+
- Identify all implementation tasks and their responsible agents.
|
|
71
|
+
- Create (if it does not exist) the directory:
|
|
72
72
|
- `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/`
|
|
73
|
-
- Si una tarea no especifica agente responsable:
|
|
74
|
-
- Asignar por defecto `architect-agent`.
|
|
75
|
-
- Registrar el ajuste en `task.delegation.history` (reason: `missing_agent_in_plan`).
|
|
76
73
|
|
|
77
|
-
### 3.
|
|
74
|
+
### 3. Delegation loop (SYNCHRONOUS)
|
|
78
75
|
|
|
79
|
-
|
|
76
|
+
For each task `N` in the plan:
|
|
80
77
|
|
|
81
|
-
#### 3.1
|
|
82
|
-
-
|
|
78
|
+
#### 3.1 Create task file
|
|
79
|
+
- Create file using `templates.agent_task`:
|
|
83
80
|
- `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/<N>-<agent>-<taskName>.md`
|
|
84
|
-
-
|
|
85
|
-
- **Input**:
|
|
86
|
-
- **Output**:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
- Actualizar el fichero de la tarea con la decisión:
|
|
81
|
+
- Complete:
|
|
82
|
+
- **Input**: Objective, Scope, Dependencies (defined by the architect)
|
|
83
|
+
- **Output**: Deliverables, Required evidence (defined by the architect)
|
|
84
|
+
|
|
85
|
+
#### 3.2 Assign to agent
|
|
86
|
+
- The `architect-agent` **MUST** activate the corresponding agent:
|
|
87
|
+
- `qa-agent`, `researcher-agent`, or other defined roles.
|
|
88
|
+
- The agent executes the task and completes the "Implementation Report" section of the file.
|
|
89
|
+
|
|
90
|
+
#### 3.3 Present to developer
|
|
91
|
+
- The `architect-agent` **MUST** present the completed task to the developer.
|
|
92
|
+
- Request Gate via console: **SI / NO**.
|
|
93
|
+
|
|
94
|
+
#### 3.4 Record Gate
|
|
95
|
+
- Update the task file with the decision:
|
|
100
96
|
```yaml
|
|
101
97
|
approval:
|
|
102
98
|
developer:
|
|
103
99
|
decision: SI | NO
|
|
104
100
|
date: <ISO-8601>
|
|
105
|
-
comments: <
|
|
101
|
+
comments: <optional>
|
|
106
102
|
```
|
|
107
103
|
|
|
108
|
-
#### 3.5
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
- **
|
|
117
|
-
|
|
118
|
-
### 4.
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
|
|
125
|
-
### 5.
|
|
126
|
-
-
|
|
104
|
+
#### 3.5 Evaluate Gate
|
|
105
|
+
- If `decision == SI`:
|
|
106
|
+
- Mark task as `completed`.
|
|
107
|
+
- Continue with the next task (N+1).
|
|
108
|
+
- If `decision == NO`:
|
|
109
|
+
- Mark task as `failed`.
|
|
110
|
+
- Define corrective actions.
|
|
111
|
+
- Create a new correction task if applicable.
|
|
112
|
+
- **DO NOT advance** until resolved.
|
|
113
|
+
|
|
114
|
+
### 4. Implementation consolidation
|
|
115
|
+
- The `architect-agent` reviews:
|
|
116
|
+
- All completed and approved tasks.
|
|
117
|
+
- Coherence between tasks.
|
|
118
|
+
- Alignment with the approved plan.
|
|
119
|
+
- Compliance with architecture and clean code rules.
|
|
120
|
+
|
|
121
|
+
### 5. Create architectural review report (MANDATORY)
|
|
122
|
+
- Create:
|
|
127
123
|
- `.agent/artifacts/<taskId>-<taskTitle>/architect/review.md`
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
|
|
134
|
-
### 6.
|
|
135
|
-
-
|
|
136
|
-
- "
|
|
137
|
-
-
|
|
124
|
+
- The report **MUST**:
|
|
125
|
+
- Use the `templates.review` template.
|
|
126
|
+
- List all tasks and their Gate status.
|
|
127
|
+
- Indicate compliance or deviation from the plan.
|
|
128
|
+
- List detected issues (if any).
|
|
129
|
+
|
|
130
|
+
### 6. Developer final Gate (MANDATORY, via console)
|
|
131
|
+
- Request global confirmation:
|
|
132
|
+
- "All tasks have been executed and approved. Do you confirm that Phase 4 is complete? (SI/NO)"
|
|
133
|
+
- Record in `architect/review.md`:
|
|
138
134
|
```yaml
|
|
139
135
|
final_approval:
|
|
140
136
|
developer:
|
|
141
137
|
decision: SI | NO
|
|
142
138
|
date: <ISO-8601>
|
|
143
|
-
comments: <
|
|
139
|
+
comments: <optional>
|
|
144
140
|
```
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
### 7. PASS (
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
141
|
+
- If `decision != SI` → go to **Step 10 (FAIL)**.
|
|
142
|
+
|
|
143
|
+
### 7. PASS (only if final Gate approved)
|
|
144
|
+
- The `architect-agent` **MUST**:
|
|
145
|
+
- Mark Phase 4 as completed in `task.md`.
|
|
146
|
+
- Set `task.lifecycle.phases.phase-4-implementation.validated_at = <ISO-8601>`.
|
|
147
|
+
- Update `task.phase.updated_at = <ISO-8601>`.
|
|
148
|
+
- Advance:
|
|
153
149
|
- `task.phase.current = aliases.tasklifecycle-long.phases.phase_5.id`
|
|
154
|
-
-
|
|
155
|
-
-
|
|
150
|
+
- Indicate paths:
|
|
151
|
+
- `agent-tasks/` directory
|
|
156
152
|
- `architect/review.md`
|
|
157
153
|
|
|
158
154
|
---
|
|
159
155
|
|
|
160
|
-
## FAIL (
|
|
156
|
+
## FAIL (MANDATORY)
|
|
161
157
|
|
|
162
|
-
### 10.
|
|
163
|
-
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
- Gate
|
|
158
|
+
### 10. Declare Phase 4 as **NOT completed**
|
|
159
|
+
FAIL cases:
|
|
160
|
+
- Non-existent or unapproved plan.
|
|
161
|
+
- Incorrect phase.
|
|
162
|
+
- Incomplete or rejected agent task.
|
|
163
|
+
- Individual task Gate = NO without resolution.
|
|
164
|
+
- Final Gate = NO.
|
|
169
165
|
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
166
|
+
Mandatory actions:
|
|
167
|
+
- Identify the failed task.
|
|
168
|
+
- Define corrective actions.
|
|
169
|
+
- Create a new correction task if applicable.
|
|
170
|
+
- Iterate until Gate PASS.
|
|
175
171
|
|
|
176
|
-
|
|
172
|
+
Terminate blocked: do not advance phase.
|
|
177
173
|
|
|
178
174
|
---
|
|
179
175
|
|
|
180
176
|
## Gate (REQUIRED)
|
|
181
177
|
|
|
182
|
-
|
|
183
|
-
1.
|
|
184
|
-
2.
|
|
185
|
-
3.
|
|
186
|
-
4.
|
|
187
|
-
5.
|
|
188
|
-
6.
|
|
189
|
-
7.
|
|
190
|
-
8. `task.md`
|
|
191
|
-
-
|
|
178
|
+
Requirements (all mandatory):
|
|
179
|
+
1. An agent task exists for each step in the plan.
|
|
180
|
+
2. All tasks have Gate PASS (`approval.developer.decision == SI`).
|
|
181
|
+
3. `architect/review.md` exists.
|
|
182
|
+
4. The `architect/review.md` starts with the `architect-agent` prefix.
|
|
183
|
+
5. Each `agent-tasks/*.md` starts with the corresponding agent's prefix.
|
|
184
|
+
6. The review report has final Gate PASS.
|
|
185
|
+
7. The implementation is coherent with `plan.md`.
|
|
186
|
+
8. `task.md` reflects:
|
|
187
|
+
- Phase 4 completed
|
|
192
188
|
- `task.phase.current == aliases.tasklifecycle-long.phases.phase_5.id`
|
|
193
189
|
- `task.lifecycle.phases.phase-4-implementation.completed == true`
|
|
194
|
-
- `task.lifecycle.phases.phase-4-implementation.validated_at`
|
|
195
|
-
- `task.phase.updated_at`
|
|
190
|
+
- `task.lifecycle.phases.phase-4-implementation.validated_at` not null
|
|
191
|
+
- `task.phase.updated_at` not null
|
|
196
192
|
|
|
197
|
-
|
|
198
|
-
-
|
|
193
|
+
If Gate FAIL:
|
|
194
|
+
- Execute **Step 10 (FAIL)**.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: workflow.tasklifecycle-long.phase-5-verification
|
|
3
|
-
description:
|
|
3
|
+
description: Phase 5 of the task lifecycle. Verifies the implementation with tests (unit and E2E if applicable) and reports metrics and coverage. DOES NOT fix code; if errors are found, delegates a new correction task to the responsible agent.
|
|
4
4
|
owner: architect-agent
|
|
5
5
|
version: 1.0.0
|
|
6
6
|
severity: PERMANENT
|
|
@@ -12,162 +12,166 @@ blocking: true
|
|
|
12
12
|
# WORKFLOW: tasklifecycle.phase-5-verification
|
|
13
13
|
|
|
14
14
|
## Input (REQUIRED)
|
|
15
|
-
-
|
|
15
|
+
- The architect's review report created in Phase 4 exists:
|
|
16
16
|
- `.agent/artifacts/<taskId>-<taskTitle>/architect/review.md`
|
|
17
|
-
-
|
|
17
|
+
- The current task exists:
|
|
18
18
|
- `.agent/artifacts/<taskId>-<taskTitle>/task.md`
|
|
19
|
-
-
|
|
19
|
+
- The `task.md` **MUST** reflect:
|
|
20
20
|
- `task.phase.current == aliases.tasklifecycle-long.phases.phase_5.id`
|
|
21
21
|
|
|
22
22
|
> [!IMPORTANT]
|
|
23
|
-
> **
|
|
24
|
-
> -
|
|
25
|
-
> -
|
|
23
|
+
> **Active constitution (MANDATORY)**:
|
|
24
|
+
> - Load `constitution.clean_code` before starting
|
|
25
|
+
> - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
|
|
26
26
|
|
|
27
27
|
## Output (REQUIRED)
|
|
28
|
-
-
|
|
28
|
+
- Detailed verification and testing report:
|
|
29
29
|
- `.agent/artifacts/<taskId>-<taskTitle>/verification.md`
|
|
30
|
-
-
|
|
30
|
+
- State update in:
|
|
31
31
|
- `.agent/artifacts/<taskId>-<taskTitle>/task.md`
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
-
##
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
35
|
+
## Objective (ONLY)
|
|
36
|
+
- Verify the implementation through tests (unit and E2E if applicable).
|
|
37
|
+
- **ALWAYS** validate unit tests and E2E tests if applicable.
|
|
38
|
+
- Report testing results, coverage, and performance metrics (if applicable).
|
|
39
|
+
- Confirm compliance with testing percentages defined in the plan when they exist.
|
|
40
|
+
- Obtain explicit developer approval (SI/NO) to advance.
|
|
41
41
|
|
|
42
|
-
>
|
|
43
|
-
>
|
|
44
|
-
>
|
|
42
|
+
> This phase **DOES NOT implement code**.
|
|
43
|
+
> This phase **DOES NOT fix errors**; it delegates corrections as new tasks.
|
|
44
|
+
> This phase **DOES NOT redefine scope**.
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
48
|
-
## Template (
|
|
49
|
-
-
|
|
48
|
+
## Template (MANDATORY)
|
|
49
|
+
- The results report **MUST** be created using the template:
|
|
50
50
|
- `templates.verification`
|
|
51
|
-
-
|
|
51
|
+
- If the template does not exist or cannot be loaded → **FAIL**.
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
55
|
-
##
|
|
55
|
+
## Mandatory Steps
|
|
56
56
|
|
|
57
|
-
0.
|
|
57
|
+
0. Activate `qa-agent` and use the mandatory prefix in every message.
|
|
58
58
|
|
|
59
|
-
1.
|
|
60
|
-
-
|
|
61
|
-
-
|
|
59
|
+
1. Assign verification role
|
|
60
|
+
- The `qa-agent` **MUST** execute this verification phase.
|
|
61
|
+
- The `architect-agent` **MUST** supervise and validate the result.
|
|
62
62
|
|
|
63
|
-
2.
|
|
64
|
-
-
|
|
65
|
-
-
|
|
63
|
+
2. Verify inputs
|
|
64
|
+
- `architect/review.md` exists
|
|
65
|
+
- `task.md` exists
|
|
66
66
|
- `task.phase.current == aliases.tasklifecycle-long.phases.phase_5.id`
|
|
67
|
-
-
|
|
67
|
+
- If it fails → go to **Step 11 (FAIL)**.
|
|
68
68
|
|
|
69
|
-
3.
|
|
70
|
-
-
|
|
71
|
-
-
|
|
69
|
+
3. Load verification template
|
|
70
|
+
- Load `templates.verification`
|
|
71
|
+
- If it does not exist or cannot be read → go to **Step 11 (FAIL)**.
|
|
72
72
|
|
|
73
|
-
4.
|
|
74
|
-
-
|
|
73
|
+
4. Execute testing
|
|
74
|
+
- Run tests according to the mandatory strategy defined in:
|
|
75
75
|
- `constitution.clean_code`
|
|
76
|
-
-
|
|
76
|
+
- Collect coverage and performance metrics if applicable.
|
|
77
77
|
|
|
78
|
-
5.
|
|
79
|
-
-
|
|
78
|
+
5. Create verification report
|
|
79
|
+
- Create:
|
|
80
80
|
- `.agent/artifacts/<taskId>-<taskTitle>/verification.md`
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
6.
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
7.
|
|
96
|
-
-
|
|
97
|
-
- **SI** →
|
|
98
|
-
- **NO** →
|
|
99
|
-
-
|
|
81
|
+
- The report **MUST** include:
|
|
82
|
+
- test results (pass/fail)
|
|
83
|
+
- coverage (percentage and scope)
|
|
84
|
+
- performance metrics (if applicable)
|
|
85
|
+
- evidence of compliance with thresholds defined in the plan
|
|
86
|
+
- If there are no tests in the task, the report **MUST** reflect:
|
|
87
|
+
- reviewed reports
|
|
88
|
+
- available evidence
|
|
89
|
+
- justification for the absence of tests
|
|
90
|
+
|
|
91
|
+
6. Validate plan thresholds (if applicable)
|
|
92
|
+
- Confirm that test percentages defined in `plan.md` are met when they exist.
|
|
93
|
+
- If not met → go to **Step 11 (FAIL)**.
|
|
94
|
+
|
|
95
|
+
7. Request developer approval (MANDATORY, via console)
|
|
96
|
+
- The developer **MUST** issue a binary decision:
|
|
97
|
+
- **SI** → approved
|
|
98
|
+
- **NO** → rejected
|
|
99
|
+
- Record the decision in `verification.md` with the format:
|
|
100
100
|
```yaml
|
|
101
101
|
approval:
|
|
102
102
|
developer:
|
|
103
103
|
decision: SI | NO
|
|
104
104
|
date: <ISO-8601>
|
|
105
|
-
comments: <
|
|
105
|
+
comments: <optional>
|
|
106
106
|
```
|
|
107
|
-
-
|
|
107
|
+
- If `decision != SI` → go to **Step 11 (FAIL)**.
|
|
108
108
|
|
|
109
109
|
8. PASS
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
110
|
+
- Report that Phase 5 is correctly completed.
|
|
111
|
+
- The `architect-agent` **MUST explicitly perform** the following actions:
|
|
112
|
+
- Mark Phase 5 as completed in `task.md`.
|
|
113
|
+
- Set `task.lifecycle.phases.phase-5-verification.completed = true`.
|
|
114
|
+
- Set `task.lifecycle.phases.phase-5-verification.validated_at = <ISO-8601>`.
|
|
115
|
+
- Update `task.phase.updated_at = <ISO-8601>`.
|
|
116
|
+
- Update the state:
|
|
115
117
|
- `task.phase.current = aliases.tasklifecycle-long.phases.phase_6.id`
|
|
116
|
-
-
|
|
118
|
+
- This update is **NOT automatic** and **CANNOT be inferred**.
|
|
119
|
+
- Until this change is reflected in `task.md`, **Phase 6 cannot be started**.
|
|
120
|
+
- Indicate paths:
|
|
117
121
|
- `verification.md`
|
|
118
|
-
- `task.md`
|
|
122
|
+
- `task.md` updated
|
|
119
123
|
|
|
120
124
|
---
|
|
121
125
|
|
|
122
|
-
## FAIL (
|
|
126
|
+
## FAIL (MANDATORY)
|
|
123
127
|
|
|
124
|
-
### 11.
|
|
128
|
+
### 11. Declare Phase 5 as **NOT completed**
|
|
125
129
|
|
|
126
|
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
130
|
+
FAIL cases:
|
|
131
|
+
- Non-existent review report.
|
|
132
|
+
- Incorrect phase.
|
|
133
|
+
- Failure creating `verification.md`.
|
|
134
|
+
- Testing thresholds not met (if applicable).
|
|
135
|
+
- Failed tests.
|
|
136
|
+
- Developer approval = NO or missing.
|
|
133
137
|
|
|
134
|
-
### 12.
|
|
138
|
+
### 12. Delegate correction (DO NOT fix code)
|
|
135
139
|
|
|
136
140
|
> [!CAUTION]
|
|
137
|
-
>
|
|
141
|
+
> Phase 5 **NEVER fixes code**. It only notifies and delegates.
|
|
138
142
|
|
|
139
|
-
|
|
140
|
-
1.
|
|
141
|
-
2.
|
|
142
|
-
3.
|
|
143
|
+
If test errors are detected:
|
|
144
|
+
1. Identify the Phase 4 task responsible for the failed code.
|
|
145
|
+
2. Identify the agent that executed that task.
|
|
146
|
+
3. Create a **new correction task** in:
|
|
143
147
|
- `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/fix-<N>-<agent>-<issue>.md`
|
|
144
|
-
4.
|
|
145
|
-
5.
|
|
146
|
-
6.
|
|
148
|
+
4. The correction task **MUST** use `templates.agent_task`.
|
|
149
|
+
5. The flow returns to Phase 4 to execute the correction task.
|
|
150
|
+
6. Only when the correction passes Gate, Phase 5 is re-executed.
|
|
147
151
|
|
|
148
|
-
|
|
152
|
+
Terminate blocked: do not advance phase.
|
|
149
153
|
|
|
150
154
|
---
|
|
151
155
|
|
|
152
156
|
## Gate (REQUIRED)
|
|
153
157
|
|
|
154
|
-
|
|
155
|
-
1.
|
|
156
|
-
2.
|
|
157
|
-
3.
|
|
158
|
-
4.
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
-
|
|
162
|
-
5.
|
|
163
|
-
6.
|
|
158
|
+
Requirements (all mandatory):
|
|
159
|
+
1. `.agent/artifacts/<taskId>-<taskTitle>/verification.md` exists.
|
|
160
|
+
2. The report reflects complete and traceable testing results.
|
|
161
|
+
3. The `verification.md` starts with the `qa-agent` prefix.
|
|
162
|
+
4. The report contains **evidence of test execution**:
|
|
163
|
+
- Test command output logs (`npm test`, `pnpm test`, etc.)
|
|
164
|
+
- Or E2E screenshots/recordings
|
|
165
|
+
- Or documented justification if the task does not require tests
|
|
166
|
+
5. Test percentages defined in the plan are met (if applicable).
|
|
167
|
+
6. Explicit developer approval exists:
|
|
164
168
|
- `approval.developer.decision == SI`
|
|
165
|
-
7. `task.md`
|
|
166
|
-
-
|
|
169
|
+
7. `task.md` reflects:
|
|
170
|
+
- Phase 5 completed
|
|
167
171
|
- `task.phase.current == aliases.tasklifecycle-long.phases.phase_6.id`
|
|
168
172
|
- `task.lifecycle.phases.phase-5-verification.completed == true`
|
|
169
|
-
- `task.lifecycle.phases.phase-5-verification.validated_at`
|
|
170
|
-
- `task.phase.updated_at`
|
|
173
|
+
- `task.lifecycle.phases.phase-5-verification.validated_at` not null
|
|
174
|
+
- `task.phase.updated_at` not null
|
|
171
175
|
|
|
172
|
-
|
|
173
|
-
-
|
|
176
|
+
If Gate FAIL:
|
|
177
|
+
- Execute **Step 11 (FAIL)**.
|