@christianmaf80/agentic-workflow 1.24.0-beta.3 → 1.25.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.es.md +13 -57
- package/README.md +14 -56
- package/bin/cli.js +22 -29
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/acceptance.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-scores.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/1-dev-agent-scaffold.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/2-dev-agent-manifest-command.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/3-dev-agent-marketplace-evidence.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/4-qa-agent-verify-build.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/analysis.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/architect/review.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/metrics.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/plan.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/researcher/research.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/results-acceptance.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/task.md +0 -6
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/verification.md +0 -6
- package/dist/agent/artifacts/11-refinement-capas-constitution/analysis.md +24 -0
- package/dist/agent/artifacts/11-refinement-capas-constitution/roadmap-audit.md +34 -0
- package/dist/agent/artifacts/11-refinement-capas-constitution/task.md +58 -0
- package/dist/agent/artifacts/12-npm-workspaces/acceptance.md +78 -0
- package/dist/agent/artifacts/12-npm-workspaces/analysis.md +179 -0
- package/dist/agent/artifacts/12-npm-workspaces/plan.md +237 -0
- package/dist/agent/artifacts/12-npm-workspaces/researcher/research.md +186 -0
- package/dist/agent/artifacts/12-npm-workspaces/task.md +126 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/acceptance.md +75 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/researcher/research.md +121 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/task.md +104 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/acceptance.md +75 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/architect/analysis.md +90 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/planner/implementation_plan.md +44 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/researcher/research.md +113 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/task.md +107 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/verification/walkthrough.md +37 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/verifier/walkthrough.md +0 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/acceptance.md +0 -6
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/task.md +0 -6
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/acceptance.md +0 -6
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/task.md +0 -6
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/acceptance.md +0 -6
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/architect/implementation.md +0 -6
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/acceptance.md +0 -6
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/1-dev-agent-reestructurar-carpetas.md +1 -1
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/task.md +0 -6
- package/dist/agent/artifacts/6-release-beta-11/task.md +0 -6
- package/dist/agent/artifacts/7-extension-vscode-webview/acceptance.md +70 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-scores.md +24 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/1-vscode-specialist-scaffold-extension.md +99 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/2-vscode-specialist-update-manifest.md +101 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/3-vscode-specialist-webview-provider.md +96 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/4-vscode-specialist-activitybar-icon.md +95 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/5-qa-agent-manual-verify.md +97 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/analysis.md +195 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/architect/review.md +124 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/changelog.md +9 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/metrics.md +43 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/plan.md +181 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/researcher/research.md +118 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/results-acceptance.md +146 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/task.md +119 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/verification.md +81 -0
- package/dist/agent/artifacts/8-create-agentic-runtime-cli-first-as-the-single-execution-engine/task.md +126 -0
- package/dist/agent/artifacts/candidate/acceptance.md +23 -0
- package/dist/agent/artifacts/candidate/brief.md +39 -0
- package/dist/agent/artifacts/candidate/init.md +3 -9
- package/dist/agent/artifacts/candidate/task.md +4 -71
- package/dist/agent/artifacts/task-20260128-reorganize-structure/acceptance.md +0 -6
- package/dist/agent/artifacts/task-20260128-reorganize-structure/brief.md +1 -1
- package/dist/agent/artifacts/task-20260128-reorganize-structure/closure.md +3 -3
- package/dist/agent/artifacts/task-20260128-reorganize-structure/implementation.md +2 -2
- package/dist/agent/artifacts/task-20260128-reorganize-structure/task.md +0 -6
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/acceptance.md +65 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-scores.md +26 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1-neo-agent-deps-chatkit.md +108 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/15-vscode-specialist-views-router.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1b-vscode-specialist-review-deps.md +106 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/2-neo-agent-local-server.md +111 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/22-vscode-specialist-external-js.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/23-qa-agent-coverage-tests.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/24-vscode-specialist-class-refactor.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/25-vscode-specialist-external-html.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/26-vscode-specialist-template-js-html.md +110 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/27-vscode-specialist-fix-loading-setup.md +110 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/28-vscode-specialist-webview-debug-setup.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/29-vscode-specialist-webview-logging.md +109 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/3-neo-agent-webview-ui.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/30-vscode-specialist-csp-source.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/31-vscode-specialist-logging-prefix.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/32-vscode-specialist-logging-visibility.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/33-vscode-specialist-lit-setup.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/34-vscode-specialist-core-lit-base.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/35-vscode-specialist-lit-decorators-ts.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/36-vscode-specialist-lit-module-start.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/37-vscode-specialist-lit-ready-state.md +86 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/4-qa-agent-verification.md +106 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/5-vscode-specialist-api-key-ui.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/6-vscode-specialist-refactor-protocol.md +108 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/7-qa-agent-unit-tests.md +104 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-10-vscode-specialist-api-key-handshake.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-11-vscode-specialist-api-key-button-style.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-12-vscode-specialist-key-gate-view.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-13-vscode-specialist-status-timeout.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-14-vscode-specialist-init-flow.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-16-vscode-specialist-view-context.md +87 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-17-vscode-specialist-clear-key-command.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-18-vscode-specialist-context-sync.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-19-vscode-specialist-setup-visible.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-20-vscode-specialist-loading-state.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-21-vscode-specialist-loading-label.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-8-vscode-specialist-api-key-detect.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-9-vscode-specialist-api-key-state.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/analysis.md +156 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/architect/review.md +141 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/changelog.md +30 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/metrics.md +43 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/plan.md +151 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/research.md +115 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/results-acceptance.md +171 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/verification.md +87 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/acceptance.md +64 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/architect/implementation.md +30 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/brief.md +102 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/closure.md +95 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/acceptance.md +68 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/architect/implementation.md +33 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/brief.md +104 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/closure.md +100 -0
- package/dist/agent/artifacts/task-beta-release/acceptance.md +23 -0
- package/dist/agent/artifacts/task-beta-release/brief.md +39 -0
- package/dist/agent/artifacts/task-beta-release/closure.md +29 -0
- package/dist/agent/artifacts/task-beta-release/init.md +26 -0
- package/dist/agent/artifacts/task-beta-release/task.md +64 -0
- package/dist/agent/index.md +69 -30
- package/dist/agent/rules/constitution/agents-behavior.md +110 -100
- package/dist/agent/rules/constitution/backend.md +27 -0
- package/dist/agent/rules/constitution/background.md +30 -0
- package/dist/agent/rules/constitution/clean-code.md +5 -6
- package/dist/agent/rules/constitution/modular-architecture.md +66 -0
- package/dist/agent/rules/constitution/view.md +41 -0
- package/dist/agent/rules/constitution/vscode-extensions.md +32 -0
- package/dist/agent/rules/roles/architect.md +1 -2
- package/dist/agent/rules/roles/backend.md +21 -0
- package/dist/agent/rules/roles/background.md +20 -0
- package/dist/agent/rules/roles/devops.md +20 -0
- package/dist/agent/rules/roles/engine.md +26 -0
- package/dist/agent/rules/roles/neo.md +12 -13
- package/dist/agent/rules/roles/researcher.md +2 -2
- package/dist/agent/rules/roles/view.md +22 -0
- package/dist/agent/rules/roles/vscode-specialist.md +24 -0
- package/dist/agent/templates/acceptance.md +19 -25
- package/dist/agent/templates/agent-task.md +39 -39
- package/dist/agent/templates/analysis.md +92 -92
- package/dist/agent/templates/brief.md +43 -43
- package/dist/agent/templates/changelog.md +8 -8
- package/dist/agent/templates/closure.md +29 -29
- package/dist/agent/templates/coding/coding-integration-report.md +102 -0
- package/dist/agent/templates/coding/coding-layer-report.md +78 -0
- package/dist/agent/templates/init.md +0 -6
- package/dist/agent/templates/planning.md +73 -73
- package/dist/agent/templates/research.md +43 -43
- package/dist/agent/templates/results-acceptance.md +94 -94
- package/dist/agent/templates/review.md +59 -59
- package/dist/agent/templates/subtask-implementation.md +29 -29
- package/dist/agent/templates/supplemental-report.md +0 -6
- package/dist/agent/templates/task-metrics.md +14 -14
- package/dist/agent/templates/task.md +15 -15
- package/dist/agent/templates/todo-item.md +23 -23
- package/dist/agent/workflows/coding/coding-backend.md +147 -0
- package/dist/agent/workflows/coding/coding-background.md +149 -0
- package/dist/agent/workflows/coding/coding-integration.md +174 -0
- package/dist/agent/workflows/coding/coding-view.md +151 -0
- package/dist/agent/workflows/init.md +83 -90
- package/dist/agent/workflows/scaffold-module.md +38 -0
- package/dist/agent/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +124 -134
- package/dist/agent/workflows/tasklifecycle-long/phase-1-research.md +103 -97
- package/dist/agent/workflows/tasklifecycle-long/phase-2-analysis.md +107 -102
- package/dist/agent/workflows/tasklifecycle-long/phase-3-planning.md +125 -120
- package/dist/agent/workflows/tasklifecycle-long/phase-4-implementation.md +118 -118
- package/dist/agent/workflows/tasklifecycle-long/phase-5-verification.md +105 -101
- package/dist/agent/workflows/tasklifecycle-long/phase-6-results-acceptance.md +82 -78
- package/dist/agent/workflows/tasklifecycle-long/phase-7-evaluation.md +84 -75
- package/dist/agent/workflows/tasklifecycle-long/phase-8-commit-push.md +94 -89
- package/dist/agent/workflows/tasklifecycle-short/short-phase-1-brief.md +78 -71
- package/dist/agent/workflows/tasklifecycle-short/short-phase-2-implementation.md +79 -71
- package/dist/agent/workflows/tasklifecycle-short/short-phase-3-closure.md +73 -66
- package/dist/cli/commands/create.js +4 -29
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/mcp.js +0 -6
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/runtime/engine/engine.js +29 -57
- package/dist/runtime/engine/engine.js.map +1 -1
- package/dist/runtime/engine/service.js +1 -38
- package/dist/runtime/engine/service.js.map +1 -1
- package/dist/runtime/engine/task-loader.js +1 -1
- package/dist/runtime/engine/task-loader.js.map +1 -1
- package/dist/runtime/engine/workflow-loader.js +17 -25
- package/dist/runtime/engine/workflow-loader.js.map +1 -1
- package/dist/runtime/mcp/server.js +38 -277
- package/dist/runtime/mcp/server.js.map +1 -1
- package/package.json +69 -7
- package/dist/agent/artifacts/index.md +0 -25
- package/dist/agent/rules/constitution/index.md +0 -26
- package/dist/agent/rules/constitution/runtime-integration.md +0 -101
- package/dist/agent/rules/index.md +0 -70
- package/dist/agent/rules/roles/index.md +0 -44
- package/dist/agent/templates/index.md +0 -42
- package/dist/agent/workflows/index.md +0 -30
- package/dist/agent/workflows/tasklifecycle-long/index.md +0 -172
- package/dist/agent/workflows/tasklifecycle-short/index.md +0 -70
- package/dist/cli/commands/register-mcp.js +0 -116
- package/dist/cli/commands/register-mcp.js.map +0 -1
- package/dist/runtime/engine/logger.js +0 -74
- package/dist/runtime/engine/logger.js.map +0 -1
- package/dist/runtime/mcp/check-tools.js +0 -66
- package/dist/runtime/mcp/check-tools.js.map +0 -1
|
@@ -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
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
kind: artifact
|
|
3
|
-
name: acceptance
|
|
4
|
-
source: agentic-system-structure
|
|
5
|
-
---
|
|
6
|
-
|
|
7
1
|
# Acceptance Criteria — 5-reestructurar-src-para-extension-vscode
|
|
8
2
|
|
|
9
3
|
🏛️ **architect-agent**: Definición de criterios de aceptación para la reestructuración de src y scaffolding de extensión VSCode.
|
|
@@ -64,7 +64,7 @@ execution:
|
|
|
64
64
|
|
|
65
65
|
### Cambios realizados
|
|
66
66
|
- Creado directorio `src/agentic-system-structure`.
|
|
67
|
-
- Movido `src/cli`, `src/
|
|
67
|
+
- Movido `src/cli`, `src/core`, `src/rules`, `src/templates`, `src/workflows`, `src/artifacts`, `src/index.md` a la nueva ubicación.
|
|
68
68
|
|
|
69
69
|
### Decisiones técnicas
|
|
70
70
|
- Uso de `mv` con múltiples argumentos para atomizar la operación.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Acceptance Criteria — task-20260130-extension-vscode-webview-Crear extensión VS Code con webview en activity bar
|
|
2
|
+
|
|
3
|
+
## Identificacion del agente (OBLIGATORIA)
|
|
4
|
+
Primera linea del documento:
|
|
5
|
+
`<icono> **<nombre-agente>**: <mensaje>`
|
|
6
|
+
|
|
7
|
+
🏛️ **architect-agent**: Acceptance criteria definidos para la extensión VS Code con webview.
|
|
8
|
+
|
|
9
|
+
## 1. Definición Consolidada
|
|
10
|
+
Crear una extensión de VS Code dentro de `src/extension` que agregue un contenedor en la activity bar con **icono propio** (SVG minimalista) y muestre una vista basada en WebviewViewProvider con script y estado básico “Hello world”. La jerarquía de vistas estará en `src/extension/views` y un `index.ts` ESM exportará las vistas (inicialmente `MainChatView`). Debe declarar compatibilidad con la última versión estable de VS Code.
|
|
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 | ¿Nombre del viewsContainers.activitybar.id y del views.<container>.id? | `viewsContainers.activitybar.id = main` y `views.<container>.id = mainView`. |
|
|
18
|
+
| 2 | ¿Contenido mínimo esperado del Webview? | WebviewViewProvider con script y estado básico “Hello world”. |
|
|
19
|
+
| 3 | ¿Qué vistas concretas en `src/extension/views/` y export desde `index.ts`? | `MainChatView` desde `./main-view` y exportado en `views/index.ts`. |
|
|
20
|
+
| 4 | ¿Versión exacta de VS Code para `engines.vscode`? | Última estable (propuesta `^1.108.2`). |
|
|
21
|
+
| 5 | ¿Activación de la extensión? | `onView` cuando se clickea el botón en la activity bar. |
|
|
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 extensión agrega un contenedor en activity bar con **icono propio** y una vista webview asociada.
|
|
30
|
+
|
|
31
|
+
2. Entradas / Datos:
|
|
32
|
+
- Estructura en `src/extension` con `views` y `views/index.ts` ESM exportando `MainChatView`.
|
|
33
|
+
|
|
34
|
+
3. Salidas / Resultado esperado:
|
|
35
|
+
- WebviewViewProvider funcional con script y estado básico “Hello world”.
|
|
36
|
+
- Contribuciones declaradas en `package.json` para activity bar y view.
|
|
37
|
+
- Icono SVG minimalista ubicado en `media/` y referenciado por el contenedor.
|
|
38
|
+
|
|
39
|
+
4. Restricciones:
|
|
40
|
+
- Compatibilidad declarada en `engines.vscode` con la versión estable más reciente.
|
|
41
|
+
- Activación por `onView` y no por `*`.
|
|
42
|
+
- Icono debe seguir estilo minimalista recomendado para Activity Bar.
|
|
43
|
+
|
|
44
|
+
5. Criterio de aceptación (Done):
|
|
45
|
+
- La extensión carga la vista desde activity bar sin errores y el webview muestra el estado básico.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Aprobación (Gate 0)
|
|
50
|
+
Este documento constituye el contrato de la tarea. Su aprobación es bloqueante para pasar a Phase 1.
|
|
51
|
+
|
|
52
|
+
```yaml
|
|
53
|
+
approval:
|
|
54
|
+
developer:
|
|
55
|
+
decision: SI # SI | NO
|
|
56
|
+
date: 2026-01-30T16:19:16Z
|
|
57
|
+
comments: null
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Historial de validaciones (Phase 0)
|
|
63
|
+
```yaml
|
|
64
|
+
history:
|
|
65
|
+
- phase: "phase-0-acceptance-criteria"
|
|
66
|
+
action: "completed"
|
|
67
|
+
validated_by: "architect-agent"
|
|
68
|
+
timestamp: "2026-01-30T15:51:57Z"
|
|
69
|
+
notes: "Acceptance criteria definidos"
|
|
70
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: agent_scores
|
|
3
|
+
owner: architect-agent
|
|
4
|
+
status: ongoing
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Agent Scores
|
|
8
|
+
|
|
9
|
+
## 1. Resumen por agente
|
|
10
|
+
- **vscode-specialist**
|
|
11
|
+
- score: 6
|
|
12
|
+
- notas: Implementación completa de extensión base.
|
|
13
|
+
- **qa-agent**
|
|
14
|
+
- score: 6
|
|
15
|
+
- notas: Verificación manual registrada.
|
|
16
|
+
- **architect-agent**
|
|
17
|
+
- score: 7
|
|
18
|
+
- notas: Gestión de gates y trazabilidad.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 2. Meta
|
|
23
|
+
- Ultima actualizacion: 2026-01-30T16:45:36Z
|
|
24
|
+
- Ultima actualizacion: 2026-01-30T16:48:22Z
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: agent_task
|
|
3
|
+
phase: phase-4-implementation
|
|
4
|
+
owner: vscode-specialist
|
|
5
|
+
status: completed
|
|
6
|
+
related_task: 7-extension-vscode-webview
|
|
7
|
+
task_number: 1
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Agent Task — 1-vscode-specialist-scaffold-extension
|
|
11
|
+
|
|
12
|
+
## Identificacion del agente (OBLIGATORIA)
|
|
13
|
+
Primera linea del documento:
|
|
14
|
+
`<icono> **<nombre-agente>**: <mensaje>`
|
|
15
|
+
|
|
16
|
+
🧩 **vscode-specialist**: Scaffolding de la estructura base de extension.
|
|
17
|
+
|
|
18
|
+
## Input (REQUIRED)
|
|
19
|
+
- **Objetivo**: Reintroducir carpeta `src/extension` con estructura mínima (extension y views).
|
|
20
|
+
- **Alcance**: Crear archivos base y exports ESM.
|
|
21
|
+
- **Dependencias**: Ninguna.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Reasoning (OBLIGATORIO)
|
|
26
|
+
|
|
27
|
+
### Análisis del objetivo
|
|
28
|
+
- Crear estructura base de extension siguiendo ESM y separar views.
|
|
29
|
+
|
|
30
|
+
### Opciones consideradas
|
|
31
|
+
- **Opción A**: Crear `extension.ts` con registro de provider y `views/index.ts` exportando view.
|
|
32
|
+
- **Opción B**: Crear solo `extension.ts` sin folder `views`.
|
|
33
|
+
|
|
34
|
+
### Decisión tomada
|
|
35
|
+
- Opción elegida: A
|
|
36
|
+
- Justificación: Alineado con acceptance (estructura `views/index.ts`).
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Output (REQUIRED)
|
|
41
|
+
- **Entregables**:
|
|
42
|
+
- `src/extension/extension.ts`
|
|
43
|
+
- `src/extension/views/index.ts`
|
|
44
|
+
- `src/extension/views/main-view.ts`
|
|
45
|
+
- **Evidencia requerida**:
|
|
46
|
+
- Archivos creados y compilación sin errores.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Execution
|
|
51
|
+
|
|
52
|
+
```yaml
|
|
53
|
+
execution:
|
|
54
|
+
agent: "vscode-specialist"
|
|
55
|
+
status: completed
|
|
56
|
+
started_at: 2026-01-30T16:32:40Z
|
|
57
|
+
completed_at: 2026-01-30T16:33:35Z
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Implementation Report
|
|
63
|
+
|
|
64
|
+
### Cambios realizados
|
|
65
|
+
- Creado `src/extension/extension.ts` con activación y registro de view.
|
|
66
|
+
- Creado `src/extension/views/main-view.ts` con `MainChatView` y HTML base.
|
|
67
|
+
- Creado `src/extension/views/index.ts` con exports ESM.
|
|
68
|
+
|
|
69
|
+
### Decisiones técnicas
|
|
70
|
+
- Uso de `WebviewViewProvider` con HTML mínimo y script inline con nonce.
|
|
71
|
+
|
|
72
|
+
### Evidencia
|
|
73
|
+
- `npm run build` OK (sin errores de TS tras instalar `@types/vscode`).
|
|
74
|
+
|
|
75
|
+
### Desviaciones del objetivo
|
|
76
|
+
- Ninguna.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Gate (REQUIRED)
|
|
81
|
+
|
|
82
|
+
```yaml
|
|
83
|
+
approval:
|
|
84
|
+
developer:
|
|
85
|
+
decision: SI
|
|
86
|
+
date: 2026-01-30T16:37:10Z
|
|
87
|
+
comments: null
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Reglas contractuales
|
|
93
|
+
|
|
94
|
+
1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
|
|
95
|
+
2. Si Gate FAIL (`decision: NO`):
|
|
96
|
+
- El arquitecto define acciones correctivas.
|
|
97
|
+
- Se genera una nueva tarea de corrección si procede.
|
|
98
|
+
3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
|
|
99
|
+
4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
artifact: agent_task
|
|
3
|
+
phase: phase-4-implementation
|
|
4
|
+
owner: vscode-specialist
|
|
5
|
+
status: completed
|
|
6
|
+
related_task: 7-extension-vscode-webview
|
|
7
|
+
task_number: 2
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Agent Task — 2-vscode-specialist-update-manifest
|
|
11
|
+
|
|
12
|
+
## Identificacion del agente (OBLIGATORIA)
|
|
13
|
+
Primera linea del documento:
|
|
14
|
+
`<icono> **<nombre-agente>**: <mensaje>`
|
|
15
|
+
|
|
16
|
+
🧩 **vscode-specialist**: Actualizacion de manifest para Activity Bar y activation events.
|
|
17
|
+
|
|
18
|
+
## Input (REQUIRED)
|
|
19
|
+
- **Objetivo**: Configurar `package.json` con contribution points, activation events y engines.
|
|
20
|
+
- **Alcance**: `contributes.viewsContainers`, `contributes.views`, `activationEvents`, `engines.vscode`, `main`.
|
|
21
|
+
- **Dependencias**: Estructura de `src/extension` creada.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Reasoning (OBLIGATORIO)
|
|
26
|
+
|
|
27
|
+
### Análisis del objetivo
|
|
28
|
+
- El manifest debe declarar el contenedor, la view y la activación onView con IDs coherentes.
|
|
29
|
+
|
|
30
|
+
### Opciones consideradas
|
|
31
|
+
- **Opción A**: IDs `main` (container) y `mainView` (view) con `onView:mainView`.
|
|
32
|
+
- **Opción B**: Usar IDs más largos y específicos.
|
|
33
|
+
|
|
34
|
+
### Decisión tomada
|
|
35
|
+
- Opción elegida: A
|
|
36
|
+
- Justificación: Alineado con acceptance y simplicidad.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Output (REQUIRED)
|
|
41
|
+
- **Entregables**:
|
|
42
|
+
- `package.json` actualizado.
|
|
43
|
+
- **Evidencia requerida**:
|
|
44
|
+
- `package.json` con `engines.vscode` y `activationEvents` correctos.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Execution
|
|
49
|
+
|
|
50
|
+
```yaml
|
|
51
|
+
execution:
|
|
52
|
+
agent: "vscode-specialist"
|
|
53
|
+
status: completed
|
|
54
|
+
started_at: 2026-01-30T16:33:40Z
|
|
55
|
+
completed_at: 2026-01-30T16:34:20Z
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Implementation Report
|
|
61
|
+
|
|
62
|
+
### Cambios realizados
|
|
63
|
+
- `package.json` actualizado con:
|
|
64
|
+
- `main: ./dist/extension/extension.js`
|
|
65
|
+
- `engines.vscode: ^1.108.2`
|
|
66
|
+
- `activationEvents: ["onView:mainView"]`
|
|
67
|
+
- `contributes.viewsContainers.activitybar` con id `main` y `icon`
|
|
68
|
+
- `contributes.views.main` con id `mainView`
|
|
69
|
+
- `files` incluye `dist/extension` y `media`
|
|
70
|
+
|
|
71
|
+
### Decisiones técnicas
|
|
72
|
+
- Se fijó `^1.108.2` en `engines.vscode` para última estable.
|
|
73
|
+
|
|
74
|
+
### Evidencia
|
|
75
|
+
- Manifest visible en `package.json`.
|
|
76
|
+
|
|
77
|
+
### Desviaciones del objetivo
|
|
78
|
+
- Ninguna.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Gate (REQUIRED)
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
approval:
|
|
86
|
+
developer:
|
|
87
|
+
decision: SI
|
|
88
|
+
date: 2026-01-30T16:37:32Z
|
|
89
|
+
comments: null
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Reglas contractuales
|
|
95
|
+
|
|
96
|
+
1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
|
|
97
|
+
2. Si Gate FAIL (`decision: NO`):
|
|
98
|
+
- El arquitecto define acciones correctivas.
|
|
99
|
+
- Se genera una nueva tarea de corrección si procede.
|
|
100
|
+
3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
|
|
101
|
+
4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
|