@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-8-commit-push
|
|
3
|
-
description:
|
|
3
|
+
description: Phase 8 of the task lifecycle. Consolidates and publishes changes to the target branch via normalized commits (Conventional Commits), generates changelog, and requires explicit developer approval before final push.
|
|
4
4
|
owner: architect-agent
|
|
5
5
|
version: 1.0.0
|
|
6
6
|
severity: PERMANENT
|
|
@@ -12,126 +12,131 @@ blocking: true
|
|
|
12
12
|
# WORKFLOW: tasklifecycle.phase-8-commit-push
|
|
13
13
|
|
|
14
14
|
## Input (REQUIRED)
|
|
15
|
-
-
|
|
15
|
+
- The agent evaluation report exists:
|
|
16
16
|
- `.agent/artifacts/<taskId>-<taskTitle>/metrics.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_8.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
|
+
- Create changelog:
|
|
29
29
|
- `.agent/artifacts/<taskId>-<taskTitle>/changelog.md`
|
|
30
|
-
-
|
|
30
|
+
- State update in:
|
|
31
31
|
- `.agent/artifacts/<taskId>-<taskTitle>/task.md`
|
|
32
32
|
|
|
33
|
-
##
|
|
34
|
-
|
|
33
|
+
## Commit Rules
|
|
34
|
+
Valid examples:
|
|
35
35
|
- `feat(core): add caching layer`
|
|
36
36
|
- `fix(core): handle cache eviction`
|
|
37
37
|
- `refactor(workflows): normalize tasklifecycle phases`
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
- commits
|
|
41
|
-
- commits
|
|
38
|
+
- Not allowed:
|
|
39
|
+
- generic messages (`update`, `changes`, `fix stuff`)
|
|
40
|
+
- commits without scope
|
|
41
|
+
- commits that mix unrelated changes
|
|
42
42
|
|
|
43
43
|
---
|
|
44
44
|
|
|
45
|
-
##
|
|
45
|
+
## Mandatory Steps
|
|
46
46
|
|
|
47
|
-
0.
|
|
47
|
+
0. Activate `architect-agent` and use the mandatory prefix in every message.
|
|
48
48
|
|
|
49
|
-
1.
|
|
50
|
-
-
|
|
51
|
-
-
|
|
49
|
+
1. Verify inputs
|
|
50
|
+
- `metrics.md` exists and contains `Approved: SI`.
|
|
51
|
+
- `task.md` exists.
|
|
52
52
|
- `task.phase.current == aliases.tasklifecycle-long.phases.phase_8.id`
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
2.
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
3.
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
4.
|
|
68
|
-
-
|
|
53
|
+
- If it fails → go to **Step 10 (FAIL)**.
|
|
54
|
+
|
|
55
|
+
2. Prepare commits
|
|
56
|
+
- Review `git status` and `git diff`.
|
|
57
|
+
- Group changes logically.
|
|
58
|
+
- Define number and scope of commits.
|
|
59
|
+
|
|
60
|
+
3. Create commits (MANDATORY)
|
|
61
|
+
- Execute commits following **Conventional Commits**.
|
|
62
|
+
- Each commit **MUST**:
|
|
63
|
+
- have a clear purpose
|
|
64
|
+
- map to actual changes
|
|
65
|
+
- If any commit does not follow the format → **FAIL**.
|
|
66
|
+
|
|
67
|
+
4. Generate changelog (MANDATORY)
|
|
68
|
+
- Create:
|
|
69
69
|
- `.agent/artifacts/<taskId>-<taskTitle>/changelog.md`
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
5.
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
- **SI** →
|
|
81
|
-
- **NO** →
|
|
82
|
-
|
|
83
|
-
6. Push
|
|
84
|
-
-
|
|
70
|
+
- The changelog **MUST** include:
|
|
71
|
+
- list of commits
|
|
72
|
+
- full message of each commit
|
|
73
|
+
- functional summary of the change
|
|
74
|
+
|
|
75
|
+
5. Request developer approval (MANDATORY, via console)
|
|
76
|
+
- The developer **MUST** explicitly approve:
|
|
77
|
+
- the commit contents
|
|
78
|
+
- the push to the target branch
|
|
79
|
+
- Binary decision:
|
|
80
|
+
- **SI** → continue
|
|
81
|
+
- **NO** → go to **Step 10 (FAIL)**
|
|
82
|
+
|
|
83
|
+
6. Push to target branch
|
|
84
|
+
- Execute:
|
|
85
85
|
```bash
|
|
86
86
|
git push <remote> <branch>
|
|
87
87
|
```
|
|
88
|
-
-
|
|
88
|
+
- Confirm that the push was successful.
|
|
89
89
|
|
|
90
90
|
7. PASS
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
|
|
91
|
+
- Report that Phase 8 is correctly completed.
|
|
92
|
+
- The `architect-agent` **MUST explicitly perform** the following actions:
|
|
93
|
+
- Mark Phase 8 as completed in `task.md`.
|
|
94
|
+
- Set `task.lifecycle.phases.phase-8-commit-push.completed = true`.
|
|
95
|
+
- Set `task.lifecycle.phases.phase-8-commit-push.validated_at = <ISO-8601>`.
|
|
96
|
+
- Update `task.phase.updated_at = <ISO-8601>`.
|
|
97
|
+
- Mark the task as **technically closed**.
|
|
98
|
+
- This update is **NOT automatic** and **CANNOT be inferred**.
|
|
99
|
+
- Indicate:
|
|
100
|
+
- target branch
|
|
101
|
+
- commit references
|
|
102
|
+
- `changelog.md`
|
|
103
|
+
- `task.md` updated
|
|
99
104
|
|
|
100
105
|
---
|
|
101
106
|
|
|
102
|
-
## FAIL (
|
|
103
|
-
|
|
104
|
-
10.
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
- commit
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
107
|
+
## FAIL (MANDATORY)
|
|
108
|
+
|
|
109
|
+
10. Declare Phase 8 as **NOT completed**
|
|
110
|
+
- FAIL cases:
|
|
111
|
+
- results not approved
|
|
112
|
+
- incorrect phase
|
|
113
|
+
- commit does not follow Conventional Commits
|
|
114
|
+
- non-existent or incomplete changelog
|
|
115
|
+
- developer does not approve commit/push
|
|
116
|
+
- `git push` failure
|
|
117
|
+
- Mandatory actions:
|
|
118
|
+
- fix commit messages
|
|
119
|
+
- restructure commits
|
|
120
|
+
- update changelog
|
|
121
|
+
- request approval again
|
|
122
|
+
- Terminate blocked: do not advance.
|
|
118
123
|
|
|
119
124
|
---
|
|
120
125
|
|
|
121
126
|
## Gate (REQUIRED)
|
|
122
127
|
|
|
123
|
-
|
|
124
|
-
1.
|
|
125
|
-
2.
|
|
126
|
-
3.
|
|
127
|
-
4.
|
|
128
|
-
5.
|
|
129
|
-
6. `task.md`
|
|
130
|
-
-
|
|
131
|
-
-
|
|
128
|
+
Requirements (all mandatory):
|
|
129
|
+
1. All commits follow **Conventional Commits**.
|
|
130
|
+
2. `.agent/artifacts/<taskId>-<taskTitle>/changelog.md` exists.
|
|
131
|
+
3. The developer has explicitly approved commit and push.
|
|
132
|
+
4. Clean working tree (`git status` with no changes).
|
|
133
|
+
5. Changes are correctly pushed to the target branch.
|
|
134
|
+
6. `task.md` reflects:
|
|
135
|
+
- Phase 8 completed
|
|
136
|
+
- Task technically closed
|
|
132
137
|
- `task.lifecycle.phases.phase-8-commit-push.completed == true`
|
|
133
|
-
- `task.lifecycle.phases.phase-8-commit-push.validated_at`
|
|
134
|
-
- `task.phase.updated_at`
|
|
138
|
+
- `task.lifecycle.phases.phase-8-commit-push.validated_at` not null
|
|
139
|
+
- `task.phase.updated_at` not null
|
|
135
140
|
|
|
136
|
-
|
|
137
|
-
-
|
|
141
|
+
If Gate FAIL:
|
|
142
|
+
- Execute **Step 10 (FAIL)**.
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: workflow.tasklifecycle-short.short-phase-1-brief
|
|
3
|
+
description: Phase 1 of the Short lifecycle. Merges Acceptance + Analysis + Planning. Includes 5 mandatory questions and complexity detection.
|
|
4
|
+
owner: architect-agent
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
severity: PERMANENT
|
|
7
|
+
trigger:
|
|
8
|
+
commands: ["short-phase-1", "brief"]
|
|
9
|
+
blocking: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# WORKFLOW: tasklifecycle-short.short-phase-1-brief
|
|
13
|
+
|
|
14
|
+
## Input (REQUIRED)
|
|
15
|
+
- Task candidate exists with `task.strategy: short`.
|
|
16
|
+
- The developer has provided a title and objective.
|
|
17
|
+
|
|
18
|
+
> [!IMPORTANT]
|
|
19
|
+
> **Active constitution (MANDATORY)**:
|
|
20
|
+
> - Load `constitution.clean_code` before starting
|
|
21
|
+
> - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
|
|
22
|
+
|
|
23
|
+
## Output (REQUIRED)
|
|
24
|
+
- Artifact: `.agent/artifacts/<taskId>-<taskTitle>/brief.md`
|
|
25
|
+
- Artifact: `.agent/artifacts/<taskId>-<taskTitle>/acceptance.md` (NEW)
|
|
26
|
+
- Task updated with current phase = `short-phase-1-brief`
|
|
27
|
+
|
|
28
|
+
## Objective (ONLY)
|
|
29
|
+
- Execute the **5 mandatory questions** to define acceptance criteria.
|
|
30
|
+
- Perform a **deep analysis** to detect complexity.
|
|
31
|
+
- Create a **simplified implementation plan**.
|
|
32
|
+
- If high complexity is detected, **offer to abort** and restart in Long mode.
|
|
33
|
+
|
|
34
|
+
> This phase **DOES NOT implement code**.
|
|
35
|
+
> This phase **REQUIRES explicit developer approval (SI/NO)**.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Mandatory Steps
|
|
40
|
+
|
|
41
|
+
0. Activate `architect-agent` and use the mandatory prefix in every message.
|
|
42
|
+
|
|
43
|
+
### 1. Verify inputs
|
|
44
|
+
- Task candidate exists.
|
|
45
|
+
- `task.strategy == "short"`.
|
|
46
|
+
- If it fails → **FAIL**.
|
|
47
|
+
|
|
48
|
+
### 2. Execute 5 mandatory questions
|
|
49
|
+
The architect-agent **MUST** formulate 5 specific questions based on the task:
|
|
50
|
+
- Questions vary depending on the specific task.
|
|
51
|
+
- Without complete answers, the phase DOES NOT advance.
|
|
52
|
+
|
|
53
|
+
### 3. Complexity analysis
|
|
54
|
+
Evaluate complexity indicators:
|
|
55
|
+
- Does it affect more than 3 packages/modules? → High
|
|
56
|
+
- Does it require external API research? → High
|
|
57
|
+
- Does it introduce breaking changes? → High
|
|
58
|
+
- Does it need complex E2E tests? → High
|
|
59
|
+
|
|
60
|
+
**If complexity is HIGH**:
|
|
61
|
+
- Notify the developer.
|
|
62
|
+
- Offer the option to abort and create a new task in Long mode.
|
|
63
|
+
- If the developer decides to abort → terminate the phase with "aborted" status.
|
|
64
|
+
### 4. Create artifacts (brief.md and acceptance.md)
|
|
65
|
+
- Use templates `templates.brief` and `templates.acceptance`.
|
|
66
|
+
- In `acceptance.md` include:
|
|
67
|
+
- Acceptance criteria derived from the 5 questions.
|
|
68
|
+
- In `brief.md` include:
|
|
69
|
+
- Simplified analysis of the current state.
|
|
70
|
+
- Implementation plan with executable steps.
|
|
71
|
+
- Complexity evaluation.
|
|
72
|
+
- **Agent Evaluation**: Performance and improvement proposals.
|
|
73
|
+
|
|
74
|
+
### 5. Request developer approval (via console)
|
|
75
|
+
```yaml
|
|
76
|
+
approval:
|
|
77
|
+
developer:
|
|
78
|
+
decision: SI | NO
|
|
79
|
+
date: <ISO-8601>
|
|
80
|
+
comments: <optional>
|
|
81
|
+
```
|
|
82
|
+
- If `decision != SI` → **FAIL**.
|
|
83
|
+
|
|
84
|
+
### 6. PASS
|
|
85
|
+
- Report that Phase 1 (Brief) is correctly completed.
|
|
86
|
+
- The `architect-agent` **MUST explicitly perform** the following actions:
|
|
87
|
+
- Mark the phase as completed in `task.md`.
|
|
88
|
+
- Set `task.lifecycle.phases.short-phase-1-brief.completed = true`.
|
|
89
|
+
- Set `task.lifecycle.phases.short-phase-1-brief.validated_at = <ISO-8601>`.
|
|
90
|
+
- Update `task.phase.updated_at = <ISO-8601>`.
|
|
91
|
+
- Update the state:
|
|
92
|
+
- `task.phase.current = short-phase-2-implementation`
|
|
93
|
+
- This update is **NOT automatic** and **CANNOT be inferred**.
|
|
94
|
+
- Until this change is reflected in `task.md`, **Phase 2 cannot be started**.
|
|
95
|
+
- Indicate paths:
|
|
96
|
+
- `brief.md`
|
|
97
|
+
- `acceptance.md`
|
|
98
|
+
- `task.md` updated
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Gate (REQUIRED)
|
|
103
|
+
Requirements (all mandatory):
|
|
104
|
+
1. `brief.md` and `acceptance.md` exist with correct templates.
|
|
105
|
+
2. The `brief.md` starts with the `architect-agent` prefix.
|
|
106
|
+
3. All 5 questions have been answered.
|
|
107
|
+
4. The complexity evaluation is documented.
|
|
108
|
+
5. Explicit developer approval exists.
|
|
109
|
+
6. task.md reflects the phase as completed.
|
|
110
|
+
7. task.md reflects timestamp and state:
|
|
111
|
+
- `task.lifecycle.phases.short-phase-1-brief.completed == true`
|
|
112
|
+
- `task.lifecycle.phases.short-phase-1-brief.validated_at` not null
|
|
113
|
+
- `task.phase.updated_at` not null
|
|
114
|
+
|
|
115
|
+
If Gate FAIL:
|
|
116
|
+
- Indicate which requirement is missing.
|
|
117
|
+
- Block until resolved.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: workflow.tasklifecycle-short.short-phase-2-implementation
|
|
3
|
+
description: Phase 2 of the Short lifecycle. Executes implementation according to the approved brief.
|
|
4
|
+
owner: architect-agent
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
severity: PERMANENT
|
|
7
|
+
trigger:
|
|
8
|
+
commands: ["short-phase-2", "implementation"]
|
|
9
|
+
blocking: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# WORKFLOW: tasklifecycle-short.short-phase-2-implementation
|
|
13
|
+
|
|
14
|
+
## Input (REQUIRED)
|
|
15
|
+
- Approved brief exists: `.agent/artifacts/<taskId>-<taskTitle>/brief.md`
|
|
16
|
+
- task.md reflects `task.phase.current == "short-phase-2-implementation"`
|
|
17
|
+
|
|
18
|
+
> [!IMPORTANT]
|
|
19
|
+
> **Active constitution (MANDATORY)**:
|
|
20
|
+
> - Load `constitution.clean_code` before starting
|
|
21
|
+
> - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
|
|
22
|
+
> - Load domain-specific constitutions as required by the task
|
|
23
|
+
|
|
24
|
+
## Output (REQUIRED)
|
|
25
|
+
- Code implemented according to the brief plan.
|
|
26
|
+
- Implementation report: `.agent/artifacts/<taskId>-<taskTitle>/architect/implementation.md`
|
|
27
|
+
- Task updated.
|
|
28
|
+
|
|
29
|
+
## Objective (ONLY)
|
|
30
|
+
- Execute all implementation subtasks defined in the brief.
|
|
31
|
+
- Allow the architect-agent to verify coherence with the plan.
|
|
32
|
+
- Generate an architectural review report.
|
|
33
|
+
|
|
34
|
+
> This phase **DOES implement code**.
|
|
35
|
+
> This phase **DOES NOT redefine scope**.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Mandatory Steps
|
|
40
|
+
|
|
41
|
+
0. Activate `architect-agent` and use the mandatory prefix in every message.
|
|
42
|
+
|
|
43
|
+
### 1. Pre-Flight Validation Protocol (MANDATORY)
|
|
44
|
+
- The agent **MUST** physically read the previous phase artifact: `.agent/artifacts/<taskId>-<taskTitle>/brief.md`.
|
|
45
|
+
- **Explicitly cite** the developer's decision (e.g.: "Approved: SI") and the timestamp if it exists.
|
|
46
|
+
- If the file does not exist or does not have an affirmative approval mark, the process **MUST** stop immediately (FAIL).
|
|
47
|
+
- Verify that the phase in `task.md` is correct.
|
|
48
|
+
|
|
49
|
+
### 2. Execute implementation
|
|
50
|
+
- Follow the steps defined in `brief.md`.
|
|
51
|
+
- Document changes made.
|
|
52
|
+
- Document technical decisions.
|
|
53
|
+
|
|
54
|
+
### 3. Architectural review (MANDATORY)
|
|
55
|
+
The architect-agent **MUST** verify:
|
|
56
|
+
- Coherence with the brief plan.
|
|
57
|
+
- Compliance with architecture and clean code rules.
|
|
58
|
+
- Fulfillment of acceptance criteria.
|
|
59
|
+
|
|
60
|
+
### 4. Create implementation report
|
|
61
|
+
- Create `.agent/artifacts/<taskId>-<taskTitle>/architect/implementation.md`
|
|
62
|
+
- Include:
|
|
63
|
+
- Changes made.
|
|
64
|
+
- Modified/created files.
|
|
65
|
+
- Technical decisions.
|
|
66
|
+
- Status: APPROVED | REJECTED.
|
|
67
|
+
|
|
68
|
+
### 5. Request developer approval (MANDATORY, via console)
|
|
69
|
+
- The developer **MUST** approve the implementation:
|
|
70
|
+
- **SI** → approved
|
|
71
|
+
- **NO** → rejected
|
|
72
|
+
- Record the decision in `architect/implementation.md`:
|
|
73
|
+
```yaml
|
|
74
|
+
approval:
|
|
75
|
+
developer:
|
|
76
|
+
decision: SI | NO
|
|
77
|
+
date: <ISO-8601>
|
|
78
|
+
comments: <optional>
|
|
79
|
+
```
|
|
80
|
+
- If `decision != SI` → **FAIL**.
|
|
81
|
+
|
|
82
|
+
### 6. PASS (only if APPROVED)
|
|
83
|
+
- Report that Phase 2 (Implementation) is correctly completed.
|
|
84
|
+
- The `architect-agent` **MUST explicitly perform** the following actions:
|
|
85
|
+
- Mark the phase as completed in `task.md`.
|
|
86
|
+
- Set `task.lifecycle.phases.short-phase-2-implementation.completed = true`.
|
|
87
|
+
- Set `task.lifecycle.phases.short-phase-2-implementation.validated_at = <ISO-8601>`.
|
|
88
|
+
- Update `task.phase.updated_at = <ISO-8601>`.
|
|
89
|
+
- Update the state:
|
|
90
|
+
- `task.phase.current = short-phase-3-closure`
|
|
91
|
+
- This update is **NOT automatic** and **CANNOT be inferred**.
|
|
92
|
+
- Until this change is reflected in `task.md`, **Phase 3 cannot be started**.
|
|
93
|
+
- Indicate paths:
|
|
94
|
+
- `architect/implementation.md`
|
|
95
|
+
- `task.md` updated
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Gate (REQUIRED)
|
|
100
|
+
Requirements (all mandatory):
|
|
101
|
+
1. Implementation coherent with brief.
|
|
102
|
+
2. The `architect/implementation.md` starts with the `architect-agent` prefix.
|
|
103
|
+
3. Implementation report exists with APPROVED status.
|
|
104
|
+
4. Explicit developer approval recorded in `architect/implementation.md`:
|
|
105
|
+
- `approval.developer.decision == SI`
|
|
106
|
+
5. task.md reflects the phase as completed.
|
|
107
|
+
6. task.md reflects timestamp and state:
|
|
108
|
+
- `task.lifecycle.phases.short-phase-2-implementation.completed == true`
|
|
109
|
+
- `task.lifecycle.phases.short-phase-2-implementation.validated_at` not null
|
|
110
|
+
- `task.phase.updated_at` not null
|
|
111
|
+
|
|
112
|
+
If Gate FAIL:
|
|
113
|
+
- Iterate to fix issues.
|
|
114
|
+
- Do not advance until resolved.
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: workflow.tasklifecycle-short.short-phase-3-closure
|
|
3
|
+
description: Phase 3 of the Short lifecycle. Merges Verification + Results + Commit.
|
|
4
|
+
owner: architect-agent
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
severity: PERMANENT
|
|
7
|
+
trigger:
|
|
8
|
+
commands: ["short-phase-3", "closure"]
|
|
9
|
+
blocking: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# WORKFLOW: tasklifecycle-short.short-phase-3-closure
|
|
13
|
+
|
|
14
|
+
## Input (REQUIRED)
|
|
15
|
+
- Approved implementation report exists.
|
|
16
|
+
- task.md reflects `task.phase.current == "short-phase-3-closure"`
|
|
17
|
+
|
|
18
|
+
> [!IMPORTANT]
|
|
19
|
+
> **Active constitution (MANDATORY)**:
|
|
20
|
+
> - Load `constitution.clean_code` before starting
|
|
21
|
+
> - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
|
|
22
|
+
|
|
23
|
+
## Output (REQUIRED)
|
|
24
|
+
- Closure artifact: `.agent/artifacts/<taskId>-<taskTitle>/closure.md`
|
|
25
|
+
- Commits performed (if applicable).
|
|
26
|
+
- Task completed.
|
|
27
|
+
|
|
28
|
+
## Objective (ONLY)
|
|
29
|
+
- Verify the implementation through tests (if applicable).
|
|
30
|
+
- Present results to the developer.
|
|
31
|
+
- Obtain final acceptance.
|
|
32
|
+
- Consolidate and perform commit.
|
|
33
|
+
|
|
34
|
+
> This phase **DOES NOT implement new code**.
|
|
35
|
+
> This phase **CLOSES the task lifecycle**.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Mandatory Steps
|
|
40
|
+
|
|
41
|
+
0. Activate `architect-agent` and use the mandatory prefix in every message.
|
|
42
|
+
|
|
43
|
+
### 1. Pre-Flight Validation Protocol (MANDATORY)
|
|
44
|
+
- The agent **MUST** physically read the approved implementation report: `.agent/artifacts/<taskId>-<taskTitle>/architect/implementation.md`.
|
|
45
|
+
- **Explicitly cite** the approval decision (e.g.: "Status: APPROVED").
|
|
46
|
+
- If the report does not exist or is not approved, the process **MUST** stop immediately (FAIL).
|
|
47
|
+
- Verify that the phase in `task.md` is correct.
|
|
48
|
+
|
|
49
|
+
### 2. Execute verification
|
|
50
|
+
- **ALWAYS** validate unit tests and E2E tests if applicable.
|
|
51
|
+
- Run tests according to `constitution.clean_code`.
|
|
52
|
+
- Document results.
|
|
53
|
+
|
|
54
|
+
If tests are not required (justified exception):
|
|
55
|
+
- Document robust justification.
|
|
56
|
+
|
|
57
|
+
### 3. Create closure.md artifact
|
|
58
|
+
- Use template `templates.closure`.
|
|
59
|
+
- Include:
|
|
60
|
+
- Verification summary.
|
|
61
|
+
- Status of each acceptance criterion (✅/❌).
|
|
62
|
+
- Test evidence (if applicable).
|
|
63
|
+
|
|
64
|
+
### 4. Present results to the developer
|
|
65
|
+
- Show closure.md.
|
|
66
|
+
- Resolve questions.
|
|
67
|
+
- Request final acceptance via console (SI/NO) and record it in `closure.md`.
|
|
68
|
+
|
|
69
|
+
### 6. Evaluate agents (MANDATORY)
|
|
70
|
+
- Request score (1-10) from the developer for each agent that participated.
|
|
71
|
+
- **MANDATORY GATE**: Without scores, the task CANNOT be closed.
|
|
72
|
+
- Record the scores in `closure.md`.
|
|
73
|
+
|
|
74
|
+
### 7. Consolidate commits
|
|
75
|
+
If there are code changes:
|
|
76
|
+
- Prepare commits following Conventional Commits.
|
|
77
|
+
- Request developer approval for push.
|
|
78
|
+
|
|
79
|
+
### 8. PASS
|
|
80
|
+
- Report that Phase 3 (Closure) is correctly completed.
|
|
81
|
+
- The `architect-agent` **MUST explicitly perform** the following actions:
|
|
82
|
+
- Mark the task as **COMPLETED** in `task.md`.
|
|
83
|
+
- Set `task.lifecycle.phases.short-phase-3-closure.completed = true`.
|
|
84
|
+
- Set `task.lifecycle.phases.short-phase-3-closure.validated_at = <ISO-8601>`.
|
|
85
|
+
- Update `task.phase.updated_at = <ISO-8601>`.
|
|
86
|
+
- Mark the task as **technically closed**.
|
|
87
|
+
- This update is **NOT automatic** and **CANNOT be inferred**.
|
|
88
|
+
- Generate changelog (if applicable).
|
|
89
|
+
- Indicate paths:
|
|
90
|
+
- `closure.md`
|
|
91
|
+
- `task.md` updated
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Gate (REQUIRED)
|
|
96
|
+
Requirements (all mandatory):
|
|
97
|
+
1. closure.md exists with correct template.
|
|
98
|
+
2. The `closure.md` starts with the `architect-agent` prefix.
|
|
99
|
+
3. All acceptance criteria are marked.
|
|
100
|
+
4. Final developer acceptance exists.
|
|
101
|
+
5. Agent scores have been recorded in `closure.md`.
|
|
102
|
+
6. Commits performed (if applicable).
|
|
103
|
+
7. task.md reflects the task as completed.
|
|
104
|
+
8. task.md reflects timestamp and state:
|
|
105
|
+
- `task.lifecycle.phases.short-phase-3-closure.completed == true`
|
|
106
|
+
- `task.lifecycle.phases.short-phase-3-closure.validated_at` not null
|
|
107
|
+
- `task.phase.updated_at` not null
|
|
108
|
+
|
|
109
|
+
If Gate FAIL:
|
|
110
|
+
- Indicate which requirement is missing.
|
|
111
|
+
- Block until resolved.
|
|
@@ -9,19 +9,13 @@ import { resolveCorePath, resolveInstalledCorePath } from '../../infrastructure/
|
|
|
9
9
|
export async function performCreate(type, name, force = false) {
|
|
10
10
|
const cwd = process.cwd();
|
|
11
11
|
const agentDir = path.join(cwd, '.agent');
|
|
12
|
-
const typeFolder = type === 'role' ? 'rules/roles' :
|
|
13
|
-
type === 'workflow' ? 'workflows' :
|
|
14
|
-
type === 'skill' ? `skills/${name}` :
|
|
15
|
-
'tools';
|
|
12
|
+
const typeFolder = type === 'role' ? 'rules/roles' : type === 'workflow' ? 'workflows' : 'tools';
|
|
16
13
|
const targetDir = path.join(agentDir, typeFolder);
|
|
17
|
-
const targetPath =
|
|
14
|
+
const targetPath = path.join(targetDir, `${name}.md`);
|
|
18
15
|
try {
|
|
19
16
|
const corePath = (await resolveInstalledCorePath(cwd)) ?? await resolveCorePath();
|
|
20
|
-
const coreTypeFolder = type === 'role' ? 'rules/roles' :
|
|
21
|
-
|
|
22
|
-
type === 'skill' ? 'skills' :
|
|
23
|
-
'templates';
|
|
24
|
-
const reservedPath = type === 'skill' ? path.join(corePath, coreTypeFolder, name) : path.join(corePath, coreTypeFolder, `${name}.md`);
|
|
17
|
+
const coreTypeFolder = type === 'role' ? 'rules/roles' : type === 'workflow' ? 'workflows' : 'templates';
|
|
18
|
+
const reservedPath = path.join(corePath, coreTypeFolder, `${name}.md`);
|
|
25
19
|
// 1. Reserved Namespace Check
|
|
26
20
|
try {
|
|
27
21
|
await fs.access(reservedPath);
|
|
@@ -86,25 +80,6 @@ severity: RECOMMENDED
|
|
|
86
80
|
|
|
87
81
|
## Output (REQUIRED)
|
|
88
82
|
- Expected result
|
|
89
|
-
`;
|
|
90
|
-
}
|
|
91
|
-
else if (type === 'skill') {
|
|
92
|
-
content = `# SKILL: ${name}
|
|
93
|
-
|
|
94
|
-
> [!NOTE]
|
|
95
|
-
> Define the identity and rules for this system skill.
|
|
96
|
-
|
|
97
|
-
## Objective
|
|
98
|
-
Explain what this skill enables the agent to do.
|
|
99
|
-
|
|
100
|
-
## 1. Capabilities
|
|
101
|
-
- (List technical capabilities here)
|
|
102
|
-
|
|
103
|
-
## 2. Execution Rules
|
|
104
|
-
1. (Add mandatory rules for using this skill)
|
|
105
|
-
|
|
106
|
-
## 3. Best Practices
|
|
107
|
-
- (Add usage recommendations)
|
|
108
83
|
`;
|
|
109
84
|
}
|
|
110
85
|
await fs.writeFile(targetPath, content);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/cli/commands/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,eAAe,EACf,wBAAwB,EACzB,MAAM,0CAA0C,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,IAAY,EAAE,IAAY,EAAE,QAAiB,KAAK;
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/cli/commands/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,eAAe,EACf,wBAAwB,EACzB,MAAM,0CAA0C,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,IAAY,EAAE,IAAY,EAAE,QAAiB,KAAK;IAClF,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAC1B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAA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