@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
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: analysis
|
|
3
|
+
phase: phase-2-analysis
|
|
4
|
+
owner: architect-agent
|
|
5
|
+
status: approved
|
|
6
|
+
related_task: 14-re-implement-setup-config-d1
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Analysis — 14-Re-implement Setup/Config (D1) [REVISED]
|
|
10
|
+
|
|
11
|
+
## Agent Identification (MANDATORY)
|
|
12
|
+
🏛️ **architect-agent**: Defined Modular Architecture (Shell + Tabs).
|
|
13
|
+
|
|
14
|
+
## 1. Executive Summary
|
|
15
|
+
- **Change Request**: Move from Monolithic App to **Modular Shell Architecture**.
|
|
16
|
+
- **New Structure**:
|
|
17
|
+
- **App (Shell)**: Manages authentication, global state, and the **Main Navigation (Tabs)**. Use `md-tabs`.
|
|
18
|
+
- **Modules**: Standalone units (Settings, Chat, History, etc.) that plug into the Shell.
|
|
19
|
+
- **Settings Module**: The first Proof-of-Concept module. Owns its `SettingsView` and `SettingsService` (domain data).
|
|
20
|
+
|
|
21
|
+
## 2. Architectural Design
|
|
22
|
+
|
|
23
|
+
### A. The Module Interface (`Core`)
|
|
24
|
+
We need a standard contract for modules to register themselves with the App Shell.
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
// src/extension/modules/core/module.ts
|
|
28
|
+
export interface IModule {
|
|
29
|
+
id: string; // e.g. 'settings', 'chat'
|
|
30
|
+
label: string; // e.g. 'Settings'
|
|
31
|
+
icon: string; // Material Icon name
|
|
32
|
+
viewComponent: string; // Web Component tag name e.g. 'settings-view'
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### B. App Shell (`src/extension/modules/app`)
|
|
37
|
+
- **State Responsibility**: Maintain the registry of Modules (`active: boolean`) and switch the `activeModuleId`.
|
|
38
|
+
- **View Responsibility**: Render the navigation container (e.g., Tabs) based on the strict state of modules.
|
|
39
|
+
- **Logic**: The App backend is agnostic to the UI representation (Tabs/Sidebar), it only knows: `setActiveModule(id)`.
|
|
40
|
+
|
|
41
|
+
## 3. Revised Component Structure
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
src/extension/modules/
|
|
45
|
+
├── core/ # Shared Low-level Services
|
|
46
|
+
│ ├── backend/
|
|
47
|
+
│ │ ├── secrets.ts # Generic Secret Access
|
|
48
|
+
│ │ └── config.ts # Generic Config Access
|
|
49
|
+
├── app/ # The Shell
|
|
50
|
+
│ ├── view/
|
|
51
|
+
│ │ ├── shell.ts # Renders Navigation & Active View
|
|
52
|
+
│ │ └── index.ts # Registration
|
|
53
|
+
├── settings/ # [NEW] Settings Module
|
|
54
|
+
│ ├── backend/ # [NEW]
|
|
55
|
+
│ │ └── service.ts # SettingsService (LLM Logic)
|
|
56
|
+
│ ├── view/
|
|
57
|
+
│ │ ├── index.ts # Registers settings-view
|
|
58
|
+
│ │ ├── settings-view.ts
|
|
59
|
+
│ │ ├── model-list.ts
|
|
60
|
+
│ │ └── model-form.ts
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## 4. Data Flow
|
|
64
|
+
1. **App Start**:
|
|
65
|
+
- `App` registers `SettingsModule`.
|
|
66
|
+
- `AppShell` renders navigation items.
|
|
67
|
+
2. **Navigation**:
|
|
68
|
+
- User selects "Settings".
|
|
69
|
+
- `AppShell` calls `setActiveModule('settings')`.
|
|
70
|
+
- `App` updates state.
|
|
71
|
+
- `App` emits `MODULE_ACTIVATED` event.
|
|
72
|
+
3. **Rendering**:
|
|
73
|
+
- `AppShell` re-renders and mounts `<settings-view>`.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## 5. Migration Steps
|
|
77
|
+
1. **Cleanup**: Remove legacy `src/extension/modules/app/view/settings` (Done).
|
|
78
|
+
2. **Scaffold Infrastructure**: Create `scaffold-module` Skill and Workflow.
|
|
79
|
+
3. **Create Settings**: Run `scaffold-module` for `settings`.
|
|
80
|
+
4. **Refactor App Shell**: Implement `ShellView`.
|
|
81
|
+
5. **Register Settings**: Import `SettingsModule` in `App`.
|
|
82
|
+
|
|
83
|
+
## 6. Developer Approval (MANDATORY)
|
|
84
|
+
```yaml
|
|
85
|
+
approval:
|
|
86
|
+
developer:
|
|
87
|
+
decision: SI
|
|
88
|
+
date: 2026-02-16T16:02:19+01:00
|
|
89
|
+
comments: "Approved Strict Separation."
|
|
90
|
+
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: implementation_plan
|
|
3
|
+
phase: phase-3-planning
|
|
4
|
+
owner: architect-agent
|
|
5
|
+
status: approved
|
|
6
|
+
related_task: 14-re-implement-setup-config-d1
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Implementation Plan — 14-Re-implement Setup/Config (D1)
|
|
10
|
+
|
|
11
|
+
# Goal Description
|
|
12
|
+
Transition the application to a **Modular Architecture**. Implement the **Settings Module** as a standalone domain containing its own Business Logic (`Settings` for LLMs) and UI (Lit+Material). Refactor the **Core** to provide agnostic services (`Config`, `Secrets`) and the **App Shell** to manage module navigation through a Tab system.
|
|
13
|
+
|
|
14
|
+
## User Review Required
|
|
15
|
+
> [!IMPORTANT]
|
|
16
|
+
> **Naming Convention**: Main classes (Backend, View) must be named `Settings`, not `SettingsService` or `SettingsView`.
|
|
17
|
+
|
|
18
|
+
## Proposed Changes
|
|
19
|
+
|
|
20
|
+
### 1. Scaffolding Infrastructure
|
|
21
|
+
#### [UPDATE] [skill/scaffolding]
|
|
22
|
+
- Update `generators/module/templates/backend/service.ts` -> `index.ts` (Class: ModuleName).
|
|
23
|
+
- Update `generators/module/templates/view/view.ts` -> `index.ts` (Class: ModuleName).
|
|
24
|
+
- Update `generators/module/templates/view/templates/` structure.
|
|
25
|
+
|
|
26
|
+
### 2. Core Layer (`src/extension/modules/core`)
|
|
27
|
+
- Services implemented.
|
|
28
|
+
|
|
29
|
+
### 3. Settings Module (`src/extension/modules/settings`)
|
|
30
|
+
#### [REFACTOR] [backend/service.ts]
|
|
31
|
+
- Rename file to `index.ts` (or keep `service.ts` but export `Settings`).
|
|
32
|
+
- Rename class `SettingsService` to `Settings`.
|
|
33
|
+
#### [REFACTOR] [view/settings-view.ts]
|
|
34
|
+
- Rename file to `index.ts` (or keep `settings-view.ts` but export `Settings`).
|
|
35
|
+
- Rename class `SettingsView` to `Settings`.
|
|
36
|
+
|
|
37
|
+
### 4. App Shell (`src/extension/modules/app`)
|
|
38
|
+
#### [MODIFY] [backend/index.ts]
|
|
39
|
+
- Fix `AppBackground` context injection (In Progress).
|
|
40
|
+
- Update import to `import { Settings } from '../../settings/backend/service.js'`.
|
|
41
|
+
|
|
42
|
+
## Verification Plan
|
|
43
|
+
### Automated Tests
|
|
44
|
+
- **Unit**: Verify `generate-module` generator creates correct class names.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: research
|
|
3
|
+
phase: phase-1-research
|
|
4
|
+
owner: researcher-agent
|
|
5
|
+
status: approved
|
|
6
|
+
related_task: 14-re-implement-setup-config-d1
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Research Report — 14-Re-implement Setup/Config (D1)
|
|
10
|
+
|
|
11
|
+
## Agent Identification (MANDATORY)
|
|
12
|
+
🔬 **researcher-agent**: Researching Secure Storage and Material Design UI.
|
|
13
|
+
|
|
14
|
+
> [!CAUTION]
|
|
15
|
+
> **PERMANENT RULE**: This document is ONLY documentation.
|
|
16
|
+
> The researcher-agent documents findings WITHOUT analyzing, WITHOUT recommending, WITHOUT proposing solutions.
|
|
17
|
+
> Analysis belongs to Phase 2.
|
|
18
|
+
|
|
19
|
+
## 1. Executive Summary
|
|
20
|
+
- **Problem investigated**: How to implement a secure, persistent configuration system and a Google Material Design UI in VS Code.
|
|
21
|
+
- **Research objective**: Identify the correct storage APIs for secrets vs generic settings and confirm the toolchain for Lit + Material 3 implementation.
|
|
22
|
+
- **Key findings**:
|
|
23
|
+
- **Secrets (API Keys)**: MUST use `vscode.SecretStorage`.
|
|
24
|
+
- **Generic Settings**: `vscode.GlobalState` or `vscode.WorkspaceConfiguration`.
|
|
25
|
+
- **UI**: `@material/web` provides official Google Material 3 components compatible with Lit.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 2. Detected Needs
|
|
30
|
+
1. **Secure Storage**: Secure encryption for OAuth tokens and API keys.
|
|
31
|
+
2. **Persistence**: Settings must survive restart.
|
|
32
|
+
3. **UI Fidelity**: Strict adherence to "Google Material Design" (not just VS Code native look).
|
|
33
|
+
4. **Isolation**: Core layer must mediate access; UI cannot read secrets directly.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 3. Technical Findings
|
|
38
|
+
|
|
39
|
+
### Secure Storage Mechanism
|
|
40
|
+
- **Generic Settings** (Language, Theme, Model):
|
|
41
|
+
- **`vscode.ExtensionContext.globalState`**: Best for extension-specific state that doesn't need to be edited by the user in `settings.json`. Syncs across machines if configured.
|
|
42
|
+
- **`vscode.workspace.getConfiguration`**: Best if we want users to edit settings via standard VS Code Settings UI.
|
|
43
|
+
- **Finding**: Given the requirement for a *custom* UI, `globalState` acts better as a controlled database, whereas `getConfiguration` might conflict if the user edits `settings.json` manually.
|
|
44
|
+
|
|
45
|
+
- **Secrets** (API Keys):
|
|
46
|
+
- **`vscode.ExtensionContext.secrets`**: Uses system keychain (macOS Keychain, Windows Credential Manager).
|
|
47
|
+
- **Constraint**: Asynchronous API (`get`, `store`, `delete`).
|
|
48
|
+
- **Security**: Data is encrypted at rest.
|
|
49
|
+
|
|
50
|
+
### Google Material Design with Lit
|
|
51
|
+
- **Library**: [`@material/web`](https://github.com/material-components/material-web) (Material 3).
|
|
52
|
+
- **Integration**:
|
|
53
|
+
- Published as standard Web Components.
|
|
54
|
+
- Fully compatible with Lit (`import '@material/web/button/filled-button.js'`).
|
|
55
|
+
- **Constraint**: Material 3 uses CSS variables that might clash or look out of place in VS Code's theme unless carefully scoped or themed.
|
|
56
|
+
- **Alternative**: VS Code Webview UI Toolkit (VS Code native look), but user specifically requested **Google Material Design**.
|
|
57
|
+
|
|
58
|
+
### Event Bus Architecture
|
|
59
|
+
- **Pattern**: Request/Response.
|
|
60
|
+
- **Flow**:
|
|
61
|
+
1. UI sends `GetSettingsRequest`.
|
|
62
|
+
2. Background (Core) reads `SecretStorage` + `GlobalState`.
|
|
63
|
+
3. Background returns `SettingsPayload` (with masked keys for display).
|
|
64
|
+
4. UI renders.
|
|
65
|
+
5. UI sends `SaveSettingsRequest` (with new plain text keys if changed).
|
|
66
|
+
6. Background writes to storages.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 4. Relevant APIs
|
|
71
|
+
- `context.secrets.store(key, value)` / `context.secrets.get(key)`
|
|
72
|
+
- `context.globalState.update(key, value)` / `context.globalState.get(key)`
|
|
73
|
+
- `webview.postMessage` / `webview.onDidReceiveMessage`
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## 5. Multi-browser Compatibility
|
|
78
|
+
- **Storage**: VS Code APIs abstract the underlying OS storage. Works in Web/Codespaces (Secrets are stored in server-side browser storage or mocked).
|
|
79
|
+
- **UI**: Web Components are standard and work in all modern webviews.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 6. Detected AI-first Opportunities
|
|
84
|
+
- **Auto-configuration**: The system could potentially detect standard keys in `process.env` or `.env` files to pre-fill the setup (optional, not in strict scope but possible).
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 7. Identified Risks
|
|
89
|
+
1. **Material 3 vs VS Code Theme**:
|
|
90
|
+
- **Risk**: Material 3 has its own color system. It might not respect VS Code's High Contrast or Dark/Light theme switching automatically.
|
|
91
|
+
- **Severity**: Medium. Requires explicit CSS variable mapping (`--md-sys-color-primary: var(--vscode-button-background)`).
|
|
92
|
+
|
|
93
|
+
2. **Secret Persistence**:
|
|
94
|
+
- **Risk**: Secrets are improperly cached in memory or passed to the UI in plain text.
|
|
95
|
+
- **Mitigation**: Never send plain text keys to UI *unless* explicitly revealing (which is discouraged). Send masks (e.g., `sk-...XXXX`).
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 8. Sources
|
|
100
|
+
- [VS Code Extension API: SecretStorage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage)
|
|
101
|
+
- [Material Web (M3)](https://github.com/material-components/material-web)
|
|
102
|
+
- [Lit Documentation](https://lit.dev)
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 9. Developer Approval (MANDATORY)
|
|
107
|
+
```yaml
|
|
108
|
+
approval:
|
|
109
|
+
developer:
|
|
110
|
+
decision: SI
|
|
111
|
+
date: 2026-02-16T12:18:19+01:00
|
|
112
|
+
comments: "Approved via chat"
|
|
113
|
+
```
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: 14
|
|
3
|
+
title: Re-implement Setup/Config (D1)
|
|
4
|
+
owner: architect-agent
|
|
5
|
+
strategy: long
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Task (Definitive)
|
|
9
|
+
|
|
10
|
+
## Identification
|
|
11
|
+
- id: 14
|
|
12
|
+
- title: Re-implement Setup/Config (D1)
|
|
13
|
+
- scope: current
|
|
14
|
+
- owner: architect-agent
|
|
15
|
+
|
|
16
|
+
## Origin
|
|
17
|
+
- created_from:
|
|
18
|
+
- workflow: tasklifecycle-long
|
|
19
|
+
- source: init
|
|
20
|
+
- candidate_path: artifacts.candidate.task
|
|
21
|
+
|
|
22
|
+
## Task Description
|
|
23
|
+
Re-implement the Setup and Configuration domain (D1) as a **Standalone Module**.
|
|
24
|
+
The App Shell must be refactored to support a **Tab-based Module System** (Settings, Chat, History, Agents).
|
|
25
|
+
The Settings Module will be responsible for its own data (LLM Registry, Keys) and UI, exposing only necessary state (Active Model) to the system.
|
|
26
|
+
|
|
27
|
+
## Objective
|
|
28
|
+
1. Define `Module` Interface in Core.
|
|
29
|
+
2. Implement Tab-based Navigation in App Shell.
|
|
30
|
+
3. Implement `SettingsModule` with Lit+Material UI.
|
|
31
|
+
4. implementations must use **Scaffolding Skill**.
|
|
32
|
+
|
|
33
|
+
## Lifecycle State (SINGLE SOURCE OF TRUTH)
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
task:
|
|
37
|
+
id: "14"
|
|
38
|
+
title: "Re-implement Setup/Config (D1)"
|
|
39
|
+
strategy: "long"
|
|
40
|
+
artifacts:
|
|
41
|
+
supplemental: []
|
|
42
|
+
phase:
|
|
43
|
+
current: "phase-4-implementation"
|
|
44
|
+
validated_by: "architect-agent"
|
|
45
|
+
updated_at: "2026-02-16T18:30:00+01:00"
|
|
46
|
+
lifecycle:
|
|
47
|
+
phases:
|
|
48
|
+
phase-0-acceptance-criteria:
|
|
49
|
+
completed: true
|
|
50
|
+
validated_by: "architect-agent"
|
|
51
|
+
validated_at: "2026-02-16T12:14:51+01:00"
|
|
52
|
+
phase-1-research:
|
|
53
|
+
completed: true
|
|
54
|
+
validated_by: "architect-agent"
|
|
55
|
+
validated_at: "2026-02-16T12:18:19+01:00"
|
|
56
|
+
phase-2-analysis:
|
|
57
|
+
completed: true
|
|
58
|
+
validated_by: "architect-agent"
|
|
59
|
+
validated_at: "2026-02-16T16:02:19+01:00"
|
|
60
|
+
phase-3-planning:
|
|
61
|
+
completed: true
|
|
62
|
+
validated_by: "architect-agent"
|
|
63
|
+
validated_at: "2026-02-16T18:18:27+01:00"
|
|
64
|
+
phase-4-implementation:
|
|
65
|
+
completed: false
|
|
66
|
+
validated_by: null
|
|
67
|
+
validated_at: null
|
|
68
|
+
phase-5-verification:
|
|
69
|
+
completed: false
|
|
70
|
+
validated_by: null
|
|
71
|
+
validated_at: null
|
|
72
|
+
phase-6-results-acceptance:
|
|
73
|
+
completed: false
|
|
74
|
+
validated_by: null
|
|
75
|
+
validated_at: null
|
|
76
|
+
phase-7-evaluation:
|
|
77
|
+
completed: false
|
|
78
|
+
validated_by: null
|
|
79
|
+
validated_at: null
|
|
80
|
+
phase-8-commit-push:
|
|
81
|
+
completed: false
|
|
82
|
+
validated_by: null
|
|
83
|
+
validated_at: null
|
|
84
|
+
subflows:
|
|
85
|
+
components:
|
|
86
|
+
create: []
|
|
87
|
+
refactor: []
|
|
88
|
+
delete: []
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 2. Definition and Scope (Contract)
|
|
94
|
+
- **Acceptance Criteria**: [acceptance.md](file:///.agent/artifacts/14-re-implement-setup-config-d1/acceptance.md)
|
|
95
|
+
- **Alias**: `task.acceptance`
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Contractual Rules
|
|
100
|
+
- This file is the **single source of truth** of the task state.
|
|
101
|
+
- The `task.phase.current` field can **ONLY be modified by `architect-agent`**.
|
|
102
|
+
- The `task.lifecycle.phases.*` field can **ONLY be marked as completed by `architect-agent`**.
|
|
103
|
+
- A phase **CANNOT be marked as completed** if it is not the current phase.
|
|
104
|
+
- Phase advancement requires:
|
|
105
|
+
1. Marking the current phase as `completed: true`
|
|
106
|
+
2. Explicit architect validation
|
|
107
|
+
3. Updating `task.phase.current` to the next phase
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Walkthrough: Task 14 - Re-implement Setup/Config (D1)
|
|
2
|
+
|
|
3
|
+
## 1. Scaffolding Infrastructure
|
|
4
|
+
- **Tool**: Yeoman Generator implemented in `src/cli/skills/scaffolding`.
|
|
5
|
+
- **Capability**: Generates new Agentic Modules with standard structure (Backend, View, Index).
|
|
6
|
+
- **Compliance**:
|
|
7
|
+
- **ESM**: Generator uses ES Modules.
|
|
8
|
+
- **Naming**: Classes named after Module (e.g., `Settings`, not `SettingsService`).
|
|
9
|
+
- **View**: Separated Logic (`index.ts`) and Templates (`templates/main/html.ts`, `css.ts`).
|
|
10
|
+
|
|
11
|
+
## 2. Settings Module Implementation
|
|
12
|
+
- **Location**: `src/extension/modules/settings`.
|
|
13
|
+
- **Backend**: `Settings` class handles `LLMModelConfig` and persistence.
|
|
14
|
+
- **View**: `Settings` class using Lit + Material Web Components.
|
|
15
|
+
- **Templates**: Located in `view/templates/main`.
|
|
16
|
+
- **Components**: `model-list` (display) and `model-form` (edit).
|
|
17
|
+
- **Integration**:
|
|
18
|
+
- **App Shell**: `AppBackground` imports `Settings` and delegates messages.
|
|
19
|
+
- **Context**: `ExtensionContext` passed for Secret Storage access.
|
|
20
|
+
|
|
21
|
+
## 3. Core Services
|
|
22
|
+
- **ConfigurationService**: Wrapper for `vscode.workspace.getConfiguration`.
|
|
23
|
+
- **SecretStorageService**: Wrapper for `vscode.SecretStorage`.
|
|
24
|
+
- **Module Interface**: `IModule` definition for standardization.
|
|
25
|
+
|
|
26
|
+
## 4. Verification
|
|
27
|
+
### Compilation
|
|
28
|
+
- Project compiles successfully with `npm run compile`.
|
|
29
|
+
- strict linting rules applied (except for excluded templates).
|
|
30
|
+
|
|
31
|
+
### Generator Test
|
|
32
|
+
- Validated `scaffold-module` workflow by generating a test module (`test-mod`).
|
|
33
|
+
- Verified strict file structure and template replacement.
|
|
34
|
+
|
|
35
|
+
## Next Steps
|
|
36
|
+
- **Manual Verification**: Run extension in VS Code to test UI.
|
|
37
|
+
- **Phase 5**: Proceed to formal verification if needed (integration tests).
|
|
File without changes
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
🏛️ **architect-agent**: Acceptance criteria definidos para el scaffolding del chat AI en la extension de VS Code.
|
|
2
|
+
|
|
3
|
+
# Acceptance Criteria — 2-scaffold-vscode-chat-ai-panel
|
|
4
|
+
|
|
5
|
+
## Identificacion del agente (OBLIGATORIA)
|
|
6
|
+
Primera linea del documento:
|
|
7
|
+
`<icono> **<nombre-agente>**: <mensaje>`
|
|
8
|
+
|
|
9
|
+
## 1. Definición Consolidada
|
|
10
|
+
Se migrara la extension de VS Code desde `src/extension` al root del repo, dejando un unico `package.json` en el root, con `src/` y `out/` en root. Se mantiene el scaffold de chat AI con Chat Participant y panel inferior accesible desde Activity Bar. Al hacer clic en el icono, se abrira la vista si no existe y se enfocara si ya esta abierta.
|
|
11
|
+
|
|
12
|
+
## 2. Respuestas a Preguntas de Clarificación
|
|
13
|
+
> Esta sección documenta las respuestas del desarrollador a las 5 preguntas formuladas por el architect-agent.
|
|
14
|
+
|
|
15
|
+
| # | Pregunta (formulada por architect) | Respuesta (del desarrollador) |
|
|
16
|
+
|---|-----------------------------------|-------------------------------|
|
|
17
|
+
| 1 | ¿El “icono en la toolbar” se refiere a la Activity Bar (barra lateral izquierda) o a la Toolbar superior del editor? | Activity bar. |
|
|
18
|
+
| 2 | ¿El panel debe abrirse como “View” en la barra lateral, como Webview Panel independiente, o como panel inferior (Panel)? | Quiero que se abra el chat AI y debajo el panel. |
|
|
19
|
+
| 3 | ¿Qué elementos mínimos debe incluir el scaffold del chat (por ejemplo: header, lista de mensajes, input con botón enviar, estado vacío)? | SI. |
|
|
20
|
+
| 4 | ¿Debemos incluir datos mock/placeholder (mensajes simulados) o dejar todo vacío con estados base? | Datos mockeados. |
|
|
21
|
+
| 5 | ¿Qué comportamiento inicial esperas al hacer clic en el icono (abrir panel si no existe, enfocar si ya está abierto, recordar estado entre sesiones)? | Abirir el panel si no existe y si existe hacer foco. |
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 3. Criterios de Aceptación Verificables
|
|
26
|
+
> Listado de criterios derivados de las respuestas anteriores que deben ser verificados en la Fase 5.
|
|
27
|
+
|
|
28
|
+
1. Alcance:
|
|
29
|
+
- La extension se ejecuta desde el root del repo con `package.json` unico y `src/`/`out/` en root.
|
|
30
|
+
- Existe un icono en la Activity Bar que abre la vista del chat AI.
|
|
31
|
+
|
|
32
|
+
2. Entradas / Datos:
|
|
33
|
+
- El UI base del chat muestra mensajes mockeados y un input de envio, usando la API de Chat Participant para el canal de chat.
|
|
34
|
+
|
|
35
|
+
3. Salidas / Resultado esperado:
|
|
36
|
+
- Al activar el icono, el chat AI basado en Chat Participant se muestra y debajo se renderiza un panel adicional dentro de la misma vista.
|
|
37
|
+
|
|
38
|
+
4. Restricciones:
|
|
39
|
+
- Si el panel ya esta abierto, la accion solo hace foco sin recrearlo.
|
|
40
|
+
- No quedan restos de `src/extension` como entrypoint activo.
|
|
41
|
+
|
|
42
|
+
5. Criterio de aceptación (Done):
|
|
43
|
+
- El scaffold permite abrir, enfocar y visualizar el chat AI con panel inferior y datos mockeados desde la Activity Bar en el root integrado.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Aprobación (Gate 0)
|
|
48
|
+
Este documento constituye el contrato de la tarea. Su aprobación es bloqueante para pasar a Phase 1.
|
|
49
|
+
|
|
50
|
+
```yaml
|
|
51
|
+
approval:
|
|
52
|
+
developer:
|
|
53
|
+
decision: SI # SI | NO
|
|
54
|
+
date: 2026-01-25T11:01:15Z
|
|
55
|
+
comments: null
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Historial de validaciones (Phase 0)
|
|
61
|
+
```yaml
|
|
62
|
+
history:
|
|
63
|
+
- phase: "phase-0-acceptance-criteria"
|
|
64
|
+
action: "completed"
|
|
65
|
+
validated_by: "architect-agent"
|
|
66
|
+
timestamp: "2026-01-25T07:38:14Z"
|
|
67
|
+
notes: "Acceptance criteria definidos"
|
|
68
|
+
```
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: agent_task
|
|
3
|
+
phase: phase-4-implementation
|
|
4
|
+
owner: dev-agent
|
|
5
|
+
status: completed
|
|
6
|
+
related_task: 2-scaffold-vscode-chat-ai-panel
|
|
7
|
+
task_number: 1
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
🧑💻 **dev-agent**: Inicio de tarea para definir contribution points y assets de icono.
|
|
11
|
+
|
|
12
|
+
# Agent Task — 1-dev-agent-contribution-points-assets
|
|
13
|
+
|
|
14
|
+
## Identificacion del agente (OBLIGATORIA)
|
|
15
|
+
Primera linea del documento:
|
|
16
|
+
`<icono> **<nombre-agente>**: <mensaje>`
|
|
17
|
+
|
|
18
|
+
## Input (REQUIRED)
|
|
19
|
+
- **Objetivo**: Definir contribution points (viewsContainers, views, commands, activationEvents) y assets de icono para Activity Bar.
|
|
20
|
+
- **Alcance**: Actualizar `package.json` y agregar iconos en `resources/`.
|
|
21
|
+
- **Dependencias**: Plan aprobado y analisis vigente.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Reasoning (OBLIGATORIO)
|
|
26
|
+
|
|
27
|
+
> [!IMPORTANT]
|
|
28
|
+
> El agente **DEBE** completar esta sección ANTES de ejecutar.
|
|
29
|
+
> Documentar el razonamiento mejora la calidad y permite detectar errores temprano.
|
|
30
|
+
|
|
31
|
+
### Análisis del objetivo
|
|
32
|
+
- Se requiere agregar contribution points para un view container en Activity Bar, una view, comandos y activationEvents, junto con un icono en `resources/`.
|
|
33
|
+
- Dependencias: IDs consistentes entre `viewsContainers`, `views` y comandos.
|
|
34
|
+
|
|
35
|
+
### Opciones consideradas
|
|
36
|
+
- **Opción A**: Usar un container propio `agenticChat` con view `agenticChat.view` y comando dedicado.
|
|
37
|
+
- **Opción B**: Reutilizar un container existente (explorer) y solo agregar view.
|
|
38
|
+
|
|
39
|
+
### Decisión tomada
|
|
40
|
+
- Opción elegida: A
|
|
41
|
+
- Justificación: La tarea requiere icono propio y entrada en Activity Bar.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Output (REQUIRED)
|
|
46
|
+
- **Entregables**:
|
|
47
|
+
- `package.json` actualizado con `contributes.viewsContainers`, `contributes.views`, comandos y activation events.
|
|
48
|
+
- Icono de Activity Bar en `resources/`.
|
|
49
|
+
- **Evidencia requerida**:
|
|
50
|
+
- Diff de `package.json` y listado de nuevos assets.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Execution
|
|
55
|
+
|
|
56
|
+
```yaml
|
|
57
|
+
execution:
|
|
58
|
+
agent: "dev-agent"
|
|
59
|
+
status: completed
|
|
60
|
+
started_at: 2026-01-25T09:33:36Z
|
|
61
|
+
completed_at: 2026-01-25T09:33:36Z
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Implementation Report
|
|
67
|
+
|
|
68
|
+
> Esta sección la completa el agente asignado durante la ejecución.
|
|
69
|
+
|
|
70
|
+
### Cambios realizados
|
|
71
|
+
- Actualizado `package.json` con `viewsContainers`, `views`, comando `vscode-agentinc.openChat` y activation events.
|
|
72
|
+
- Agregado icono `resources/agentic-chat.svg`.
|
|
73
|
+
|
|
74
|
+
### Decisiones técnicas
|
|
75
|
+
- Defini IDs `agenticChat` y `agenticChat.view` para alinear view container y view.
|
|
76
|
+
- Icono SVG monocromatico usando `currentColor` para compatibilidad con tema.
|
|
77
|
+
|
|
78
|
+
### Evidencia
|
|
79
|
+
- Archivos modificados: `package.json`, `resources/agentic-chat.svg`.
|
|
80
|
+
|
|
81
|
+
### Desviaciones del objetivo
|
|
82
|
+
- Ninguna.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Gate (REQUIRED)
|
|
87
|
+
|
|
88
|
+
El desarrollador **DEBE** aprobar esta tarea antes de que el arquitecto asigne la siguiente.
|
|
89
|
+
|
|
90
|
+
```yaml
|
|
91
|
+
approval:
|
|
92
|
+
developer:
|
|
93
|
+
decision: SI
|
|
94
|
+
date: 2026-01-25T09:44:29Z
|
|
95
|
+
comments: null
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Reglas contractuales
|
|
101
|
+
|
|
102
|
+
1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
|
|
103
|
+
2. Si Gate FAIL (`decision: NO`):
|
|
104
|
+
- El arquitecto define acciones correctivas.
|
|
105
|
+
- Se genera una nueva tarea de corrección si procede.
|
|
106
|
+
3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
|
|
107
|
+
4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: agent_task
|
|
3
|
+
phase: phase-4-implementation
|
|
4
|
+
owner: dev-agent
|
|
5
|
+
status: completed
|
|
6
|
+
related_task: 2-scaffold-vscode-chat-ai-panel
|
|
7
|
+
task_number: 2
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
🧑💻 **dev-agent**: Inicio de tarea para registrar WebviewViewProvider y comando de apertura.
|
|
11
|
+
|
|
12
|
+
# Agent Task — 2-dev-agent-webview-provider
|
|
13
|
+
|
|
14
|
+
## Identificacion del agente (OBLIGATORIA)
|
|
15
|
+
Primera linea del documento:
|
|
16
|
+
`<icono> **<nombre-agente>**: <mensaje>`
|
|
17
|
+
|
|
18
|
+
## Input (REQUIRED)
|
|
19
|
+
- **Objetivo**: Crear WebviewViewProvider y comando para revelar/enfocar la vista de chat.
|
|
20
|
+
- **Alcance**: Actualizar `src/extension.ts` y agregar archivo de provider si aplica.
|
|
21
|
+
- **Dependencias**: Contribution points y activation events listos.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Reasoning (OBLIGATORIO)
|
|
26
|
+
|
|
27
|
+
> [!IMPORTANT]
|
|
28
|
+
> El agente **DEBE** completar esta sección ANTES de ejecutar.
|
|
29
|
+
> Documentar el razonamiento mejora la calidad y permite detectar errores temprano.
|
|
30
|
+
|
|
31
|
+
### Análisis del objetivo
|
|
32
|
+
- Registrar un `WebviewViewProvider` para `agenticChat.view` y un comando que revele/enfoque la vista.
|
|
33
|
+
- Dependencias: contribution points ya definidos en `package.json`.
|
|
34
|
+
|
|
35
|
+
### Opciones consideradas
|
|
36
|
+
- **Opción A**: Provider en archivo dedicado con helper methods y registro en `extension.ts`.
|
|
37
|
+
- **Opción B**: Implementar provider inline en `extension.ts`.
|
|
38
|
+
|
|
39
|
+
### Decisión tomada
|
|
40
|
+
- Opción elegida: A
|
|
41
|
+
- Justificación: Mantiene responsabilidades separadas y facilita extender el HTML en la siguiente tarea.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Output (REQUIRED)
|
|
46
|
+
- **Entregables**:
|
|
47
|
+
- `src/extension.ts` registra `WebviewViewProvider` y comando `vscode-agentinc.openChat`.
|
|
48
|
+
- Provider implementado (archivo dedicado si aplica).
|
|
49
|
+
- **Evidencia requerida**:
|
|
50
|
+
- Diff de `src/extension.ts` y nuevo archivo.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Execution
|
|
55
|
+
|
|
56
|
+
```yaml
|
|
57
|
+
execution:
|
|
58
|
+
agent: "dev-agent"
|
|
59
|
+
status: completed
|
|
60
|
+
started_at: 2026-01-25T09:44:29Z
|
|
61
|
+
completed_at: 2026-01-25T09:44:29Z
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Implementation Report
|
|
67
|
+
|
|
68
|
+
> Esta sección la completa el agente asignado durante la ejecución.
|
|
69
|
+
|
|
70
|
+
### Cambios realizados
|
|
71
|
+
- Agregado `src/agentic-chat-view-provider.ts` con `AgenticChatViewProvider`.
|
|
72
|
+
- Actualizado `src/extension.ts` para registrar provider y comando `vscode-agentinc.openChat`.
|
|
73
|
+
|
|
74
|
+
### Decisiones técnicas
|
|
75
|
+
- `revealView` abre el contenedor si la vista no existe y enfoca si ya esta creada.
|
|
76
|
+
|
|
77
|
+
### Evidencia
|
|
78
|
+
- Archivos modificados: `src/extension.ts`, `src/agentic-chat-view-provider.ts`.
|
|
79
|
+
|
|
80
|
+
### Desviaciones del objetivo
|
|
81
|
+
- Ninguna.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Gate (REQUIRED)
|
|
86
|
+
|
|
87
|
+
El desarrollador **DEBE** aprobar esta tarea antes de que el arquitecto asigne la siguiente.
|
|
88
|
+
|
|
89
|
+
```yaml
|
|
90
|
+
approval:
|
|
91
|
+
developer:
|
|
92
|
+
decision: SI
|
|
93
|
+
date: 2026-01-25T09:46:02Z
|
|
94
|
+
comments: null
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Reglas contractuales
|
|
100
|
+
|
|
101
|
+
1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
|
|
102
|
+
2. Si Gate FAIL (`decision: NO`):
|
|
103
|
+
- El arquitecto define acciones correctivas.
|
|
104
|
+
- Se genera una nueva tarea de corrección si procede.
|
|
105
|
+
3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
|
|
106
|
+
4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
|