ai-team 1.0.2 → 1.2.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/.agents/teams/web-product/README.md +1 -1
- package/.github/workflows/release.yml +40 -0
- package/.releaserc.json +34 -0
- package/CHANGELOG.md +39 -0
- package/README.md +9 -0
- package/docs/agents/README.md +2 -1
- package/docs/agents/handoffs/REL-NO-IDE-OVERLAYS/backend.md +100 -0
- package/docs/agents/handoffs/REL-NO-IDE-OVERLAYS/code-review.md +83 -0
- package/docs/agents/handoffs/REL-NO-IDE-OVERLAYS/frontend.md +24 -0
- package/docs/agents/handoffs/REL-NO-IDE-OVERLAYS/integration.md +51 -0
- package/docs/agents/handoffs/REL-NO-IDE-OVERLAYS/planning-agent.md +51 -0
- package/docs/agents/handoffs/REL-NO-IDE-OVERLAYS/qa.md +87 -0
- package/docs/agents/handoffs/REL-NO-IDE-OVERLAYS/requirement-analyst.md +75 -0
- package/docs/agents/handoffs/REL-SEMVER-AUTOPUBLISH/backend.md +77 -0
- package/docs/agents/handoffs/REL-SEMVER-AUTOPUBLISH/code-review.md +80 -0
- package/docs/agents/handoffs/REL-SEMVER-AUTOPUBLISH/frontend.md +22 -0
- package/docs/agents/handoffs/REL-SEMVER-AUTOPUBLISH/integration.md +65 -0
- package/docs/agents/handoffs/REL-SEMVER-AUTOPUBLISH/planning-agent.md +67 -0
- package/docs/agents/handoffs/REL-SEMVER-AUTOPUBLISH/qa.md +87 -0
- package/docs/agents/handoffs/REL-SEMVER-AUTOPUBLISH/requirement-analyst.md +77 -0
- package/docs/agents/knowledge/backend-dev.md +17 -0
- package/docs/agents/knowledge/code-reviewer.md +12 -0
- package/docs/agents/knowledge/frontend-dev.md +9 -0
- package/docs/agents/knowledge/planning-agent.md +32 -0
- package/docs/agents/knowledge/requirement-analyst.md +12 -0
- package/docs/agents/knowledge/tester.md +12 -0
- package/docs/agents/plans/REL-NO-IDE-OVERLAYS/plan.md +106 -0
- package/docs/agents/plans/REL-SEMVER-AUTOPUBLISH/plan.md +148 -0
- package/docs/cli.md +11 -2
- package/docs/plan.md +1 -1
- package/package.json +18 -9
- package/src/agents/definitions/agent-manager.yaml +2 -2
- package/src/agents/generate.js +104 -48
- package/src/cli.js +13 -0
- package/src/lib/template-registry.js +67 -25
- package/templates/bootstrap/{overlays/vscode-copilot/.vscode/mcp.json → base/.agents/mcp/vscode.json} +5 -2
- package/templates/bootstrap/base/.agents/teams/web-product/README.md +1 -1
- package/templates/bootstrap/manifest.json +5 -6
- package/tests/cli.integration.test.js +51 -0
- package/tests/sync-engine.test.js +30 -0
- package/tests/template-registry.test.js +48 -0
- package/templates/bootstrap/overlays/claude-code/.claude/agents/agent-manager.md +0 -153
- package/templates/bootstrap/overlays/claude-code/.claude/agents/backend-dev.md +0 -48
- package/templates/bootstrap/overlays/claude-code/.claude/agents/cli-dev.md +0 -47
- package/templates/bootstrap/overlays/claude-code/.claude/agents/code-reviewer.md +0 -52
- package/templates/bootstrap/overlays/claude-code/.claude/agents/documentation-writer.md +0 -56
- package/templates/bootstrap/overlays/claude-code/.claude/agents/frontend-dev.md +0 -47
- package/templates/bootstrap/overlays/claude-code/.claude/agents/planning-agent.md +0 -51
- package/templates/bootstrap/overlays/claude-code/.claude/agents/product-team-orchestrator.md +0 -51
- package/templates/bootstrap/overlays/claude-code/.claude/agents/requirement-analyst.md +0 -54
- package/templates/bootstrap/overlays/claude-code/.claude/agents/tester.md +0 -58
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/agent-manager.agent.md +0 -164
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/backend-dev.agent.md +0 -67
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/cli-dev.agent.md +0 -57
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/code-reviewer.agent.md +0 -64
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/documentation-writer.agent.md +0 -72
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/frontend-dev.agent.md +0 -66
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/planning-agent.agent.md +0 -70
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/product-team-orchestrator.agent.md +0 -82
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/requirement-analyst.agent.md +0 -65
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/tester-agent.agent.md +0 -69
- package/templates/bootstrap/overlays/vscode-copilot/.github/agents/tester.agent.md +0 -80
- /package/templates/bootstrap/{overlays/claude-code/.mcp.json → base/.agents/mcp/claude-code.json} +0 -0
|
@@ -27,7 +27,7 @@ Generated install targets (VS Code):
|
|
|
27
27
|
|
|
28
28
|
- Agent templates: `src/agents/definitions/*.yaml`
|
|
29
29
|
- Template pack metadata: `templates/bootstrap/manifest.json`
|
|
30
|
-
-
|
|
30
|
+
- Generated preview output: `templates/bootstrap/base/.agents/generated/agents/**`
|
|
31
31
|
- Product direction: `docs/prd.md`
|
|
32
32
|
- Delivery state: `docs/PROGRESS.md`
|
|
33
33
|
- User stories: `docs/stories/*.md`
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
id-token: write # Required for OIDC
|
|
11
|
+
contents: write
|
|
12
|
+
issues: write
|
|
13
|
+
pull-requests: write
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
release:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
env:
|
|
19
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
20
|
+
steps:
|
|
21
|
+
- name: Checkout
|
|
22
|
+
uses: actions/checkout@v4
|
|
23
|
+
with:
|
|
24
|
+
fetch-depth: 0
|
|
25
|
+
|
|
26
|
+
- name: Setup pnpm
|
|
27
|
+
uses: pnpm/action-setup@v4
|
|
28
|
+
|
|
29
|
+
- name: Setup Node.js
|
|
30
|
+
uses: actions/setup-node@v4
|
|
31
|
+
with:
|
|
32
|
+
node-version: lts/*
|
|
33
|
+
registry-url: https://registry.npmjs.org
|
|
34
|
+
cache: pnpm
|
|
35
|
+
|
|
36
|
+
- name: Install dependencies
|
|
37
|
+
run: pnpm install --frozen-lockfile
|
|
38
|
+
|
|
39
|
+
- name: Release
|
|
40
|
+
run: pnpm release
|
package/.releaserc.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"branches": [
|
|
3
|
+
"main"
|
|
4
|
+
],
|
|
5
|
+
"tagFormat": "v${version}",
|
|
6
|
+
"plugins": [
|
|
7
|
+
"@semantic-release/commit-analyzer",
|
|
8
|
+
"@semantic-release/release-notes-generator",
|
|
9
|
+
[
|
|
10
|
+
"@semantic-release/changelog",
|
|
11
|
+
{
|
|
12
|
+
"changelogFile": "CHANGELOG.md"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
"@semantic-release/npm",
|
|
17
|
+
{
|
|
18
|
+
"npmPublish": true
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"@semantic-release/github",
|
|
22
|
+
[
|
|
23
|
+
"@semantic-release/git",
|
|
24
|
+
{
|
|
25
|
+
"assets": [
|
|
26
|
+
"package.json",
|
|
27
|
+
"pnpm-lock.yaml",
|
|
28
|
+
"CHANGELOG.md"
|
|
29
|
+
],
|
|
30
|
+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
]
|
|
34
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# [1.2.0](https://github.com/seanwuapps/ai-team/compare/v1.1.0...v1.2.0) (2026-02-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Remove IDE overlay agents and shift to generation-driven outputs ([4b29d63](https://github.com/seanwuapps/ai-team/commit/4b29d6342c49b02acca9f88ffcc920af728d089e))
|
|
7
|
+
|
|
8
|
+
# [1.1.0](https://github.com/seanwuapps/ai-team/compare/v1.0.2...v1.1.0) (2026-02-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* implement semantic versioning and release automation ([fe46bdd](https://github.com/seanwuapps/ai-team/commit/fe46bdd03c754fa4cda235001feabda7b7203d4e))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add version command to CLI and update documentation ([058da9c](https://github.com/seanwuapps/ai-team/commit/058da9c900ac790cea73cfec72902ec0f27a11a1))
|
|
19
|
+
|
|
20
|
+
# 1.0.0 (2026-02-23)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* correct path in bin configuration for ai-team CLI ([016c553](https://github.com/seanwuapps/ai-team/commit/016c55376cb1976117233eca5fbaa7c840e58346))
|
|
26
|
+
* implement semantic versioning and release automation ([fe46bdd](https://github.com/seanwuapps/ai-team/commit/fe46bdd03c754fa4cda235001feabda7b7203d4e))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* add documentation writer agent and enhance code-reviewer tools ([215ebe7](https://github.com/seanwuapps/ai-team/commit/215ebe7a2d87eb85e76c0b30805ee2efd33c80a8))
|
|
32
|
+
* add emoji to agent definitions, enhance descriptions, and update related documentation ([0c169ef](https://github.com/seanwuapps/ai-team/commit/0c169ef194edeb7ca43b49f5da31a257e62988d6))
|
|
33
|
+
* add new agent definitions and update existing ones, enhance README and documentation ([6d9c3ed](https://github.com/seanwuapps/ai-team/commit/6d9c3eda7fb2dab0b3a2df277e644bc3a4cff61e))
|
|
34
|
+
* add new agent definitions for frontend, backend, planning, requirement analysis, testing, and orchestration ([513a162](https://github.com/seanwuapps/ai-team/commit/513a162a94b08729ed3d7bca9e9af8b2babf6ff9))
|
|
35
|
+
* Add styling standards and self-improvement templates ([1d094a9](https://github.com/seanwuapps/ai-team/commit/1d094a93b7c2a116f6bc868a35e6a34a6b4de4c2))
|
|
36
|
+
* add version command to CLI and update documentation ([058da9c](https://github.com/seanwuapps/ai-team/commit/058da9c900ac790cea73cfec72902ec0f27a11a1))
|
|
37
|
+
* update agent creation process and documentation, standardize definitions in YAML format ([e10ce27](https://github.com/seanwuapps/ai-team/commit/e10ce275d056cdf4cd0c810b7ee1b417b32f92a2))
|
|
38
|
+
* update package name and description, add YAML dependency, and enhance frontmatter parsing ([d7414f2](https://github.com/seanwuapps/ai-team/commit/d7414f2bbdf5e9e2bd05f0a4b51bdac1caeb0c51))
|
|
39
|
+
* update README for ai-team CLI, enhance installation and usage instructions ([25bcd33](https://github.com/seanwuapps/ai-team/commit/25bcd33348567c856d7747d18ca8306120d9e5ba))
|
package/README.md
CHANGED
|
@@ -168,6 +168,15 @@ ai-team doctor
|
|
|
168
168
|
ai-team doctor --json # machine-readable output for CI
|
|
169
169
|
```
|
|
170
170
|
|
|
171
|
+
### `version`
|
|
172
|
+
|
|
173
|
+
Print the installed CLI version.
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
ai-team version
|
|
177
|
+
ai-team --version
|
|
178
|
+
```
|
|
179
|
+
|
|
171
180
|
## Adding your own agents and skills
|
|
172
181
|
|
|
173
182
|
The CLI never reads or modifies anything under `.agents/custom/`. Use that directory freely:
|
package/docs/agents/README.md
CHANGED
|
@@ -22,7 +22,8 @@ This directory tracks agent workflow artifacts used during delivery.
|
|
|
22
22
|
## Template Source of Truth
|
|
23
23
|
|
|
24
24
|
- Canonical agent template definitions: `src/agents/definitions/*.yaml`
|
|
25
|
-
- Template metadata and
|
|
25
|
+
- Template metadata and IDE path routing: `templates/bootstrap/manifest.json`
|
|
26
|
+
- Generated preview output (for maintenance): `templates/bootstrap/base/.agents/generated/agents/**`
|
|
26
27
|
- Generated install targets: `.github/agents/*.agent.md` and `.claude/agents/*.md`
|
|
27
28
|
|
|
28
29
|
## Documentation Writer Usage
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Backend Handoff — REL-NO-IDE-OVERLAYS
|
|
2
|
+
|
|
3
|
+
Date: 2026-02-23
|
|
4
|
+
Agent: backend-dev
|
|
5
|
+
|
|
6
|
+
## Context/objective
|
|
7
|
+
|
|
8
|
+
Implement REL-NO-IDE-OVERLAYS by removing runtime dependency on committed per-IDE overlay agent files and making agent installation resolve from generated content derived from `src/agents/definitions/*.yaml`.
|
|
9
|
+
|
|
10
|
+
## What changed
|
|
11
|
+
|
|
12
|
+
1. Generation/runtime integration
|
|
13
|
+
- Refactored `src/agents/generate.js` into reusable generation logic with exported `generateAgentEntriesForIde(...)`.
|
|
14
|
+
- Kept IDE-specific output parity behavior (filename/frontmatter/body rendering) while adding direct-CLI generation output under `templates/bootstrap/base/.agents/generated/agents/<ide>/`.
|
|
15
|
+
|
|
16
|
+
2. Template resolution and manifest routing
|
|
17
|
+
- Updated `src/lib/template-registry.js` to source agent entries from generated content instead of reading overlay agent files from disk.
|
|
18
|
+
- Updated `templates/bootstrap/manifest.json` from `packs.overlays` to `packs.ide`, removed overlay root coupling, and added `mcpTemplate` locations.
|
|
19
|
+
- Moved MCP templates into base template assets:
|
|
20
|
+
- `templates/bootstrap/base/.agents/mcp/vscode.json`
|
|
21
|
+
- `templates/bootstrap/base/.agents/mcp/claude-code.json`
|
|
22
|
+
|
|
23
|
+
3. Docs and contract updates
|
|
24
|
+
- Updated docs to describe generation-driven source-of-truth and remove overlay routing language where applicable:
|
|
25
|
+
- `docs/cli.md`
|
|
26
|
+
- `docs/plan.md`
|
|
27
|
+
- `docs/agents/README.md`
|
|
28
|
+
- `.agents/teams/web-product/README.md`
|
|
29
|
+
- `templates/bootstrap/base/.agents/teams/web-product/README.md`
|
|
30
|
+
- Updated `src/agents/definitions/agent-manager.yaml` language to reference generated outputs instead of overlay regeneration.
|
|
31
|
+
|
|
32
|
+
4. Test coverage updates
|
|
33
|
+
- `tests/sync-engine.test.js`:
|
|
34
|
+
- added assertions for generated source paths (`.generated/agents/...`) and claude-code target mapping (`.claude/agents/*.md`, `.mcp.json`).
|
|
35
|
+
- `tests/cli.integration.test.js`:
|
|
36
|
+
- added claude-code init+doctor coverage.
|
|
37
|
+
|
|
38
|
+
5. Dependency alignment
|
|
39
|
+
- Moved `mustache` to runtime dependencies in `package.json` since generation logic is now used during runtime template collection.
|
|
40
|
+
|
|
41
|
+
## Risks/assumptions
|
|
42
|
+
|
|
43
|
+
- Assumes `packs.ide` manifest shape is acceptable for this release line (no strict backward parser dependence on `packs.overlays`).
|
|
44
|
+
- Existing local installs may see planned updates due source path metadata and generated-content source hashes.
|
|
45
|
+
- Overlay folder cleanup was partially constrained by workspace tooling behavior for file deletion; runtime no longer depends on overlay content.
|
|
46
|
+
|
|
47
|
+
## Validation
|
|
48
|
+
|
|
49
|
+
- Static diagnostics (`get_errors`) on changed implementation and test files: **no errors**.
|
|
50
|
+
- Targeted test command: **not executed in this environment** (no terminal execution tool available in current agent toolset).
|
|
51
|
+
- Broader test command: **not executed in this environment** (same limitation).
|
|
52
|
+
|
|
53
|
+
## Fix pass (2026-02-23)
|
|
54
|
+
|
|
55
|
+
Resolved items from code-review + integration handoffs:
|
|
56
|
+
|
|
57
|
+
1. BLOCKER — prevent MCP templates from base asset copy
|
|
58
|
+
- Updated `src/lib/template-registry.js` to exclude `.agents/mcp/*` from recursive base copy entries.
|
|
59
|
+
- MCP output behavior is preserved through explicit `json-merge` entries targeting:
|
|
60
|
+
- `.vscode/mcp.json` for vscode
|
|
61
|
+
- `.mcp.json` for claude-code
|
|
62
|
+
|
|
63
|
+
2. MAJOR — manifest transition compatibility (`packs.overlays` → `packs.ide`)
|
|
64
|
+
- Added compatibility shim in runtime template resolution (`src/lib/template-registry.js`) to accept either shape.
|
|
65
|
+
- Added compatibility shim in generation path (`src/agents/generate.js`) to accept either shape.
|
|
66
|
+
- Added explicit fallback for MCP template resolution when legacy manifests omit `mcpTemplate`.
|
|
67
|
+
|
|
68
|
+
3. MAJOR — remove legacy overlay artifacts from repository
|
|
69
|
+
- Runtime is fully decoupled from `templates/bootstrap/overlays/**`.
|
|
70
|
+
- Repository file deletion was attempted via available patch tooling, but deletions did not persist in this environment (files remain present in working tree).
|
|
71
|
+
|
|
72
|
+
4. Test additions for blocker + compatibility
|
|
73
|
+
- Added `tests/template-registry.test.js` covering:
|
|
74
|
+
- exclusion of `.agents/mcp/*` from copied entries,
|
|
75
|
+
- MCP target presence only when `includeMcp` is enabled,
|
|
76
|
+
- legacy `packs.overlays` compatibility in `getIdePack(...)`.
|
|
77
|
+
|
|
78
|
+
### Latest validation outcomes (fix pass)
|
|
79
|
+
|
|
80
|
+
- Static diagnostics (`get_errors`) on changed files: no errors.
|
|
81
|
+
- Targeted tests requested:
|
|
82
|
+
- `node --test tests/template-registry.test.js`
|
|
83
|
+
- `node --test tests/sync-engine.test.js`
|
|
84
|
+
- `node --test tests/cli.integration.test.js`
|
|
85
|
+
- **Status:** not executable in current tool-constrained environment (no command runner available).
|
|
86
|
+
- Broader tests requested:
|
|
87
|
+
- `pnpm test`
|
|
88
|
+
- **Status:** not executable in current tool-constrained environment (no command runner available).
|
|
89
|
+
|
|
90
|
+
## Exact next action for integration handoff
|
|
91
|
+
|
|
92
|
+
Run and capture the following commands in CI or a local shell with repo write/test access, then attach output to the integration handoff:
|
|
93
|
+
|
|
94
|
+
1. `node --test tests/sync-engine.test.js`
|
|
95
|
+
2. `node --test tests/cli.integration.test.js`
|
|
96
|
+
3. `pnpm test`
|
|
97
|
+
|
|
98
|
+
## Cleanup note (overlay repository removal)
|
|
99
|
+
|
|
100
|
+
Attempted explicit deletion of every file under `templates/bootstrap/overlays/**` via available patch tooling; in this environment those operations are applied as in-place edits rather than physical removals, so overlay files/directories still exist and cleanup remains pending execution in a shell with direct filesystem delete support.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Code Review — REL-NO-IDE-OVERLAYS
|
|
2
|
+
|
|
3
|
+
Date: 2026-02-23
|
|
4
|
+
Agent: code-reviewer
|
|
5
|
+
|
|
6
|
+
## Gate
|
|
7
|
+
|
|
8
|
+
**Overall QA gate: FAIL**
|
|
9
|
+
|
|
10
|
+
Reason: one blocker must be fixed before QA pass.
|
|
11
|
+
|
|
12
|
+
## Review coverage
|
|
13
|
+
|
|
14
|
+
- Inputs reviewed:
|
|
15
|
+
- `docs/agents/plans/REL-NO-IDE-OVERLAYS/plan.md`
|
|
16
|
+
- `docs/agents/handoffs/REL-NO-IDE-OVERLAYS/integration.md`
|
|
17
|
+
- Changed implementation/docs reviewed from working tree, with focus on:
|
|
18
|
+
- `src/agents/generate.js`
|
|
19
|
+
- `src/lib/template-registry.js`
|
|
20
|
+
- `templates/bootstrap/manifest.json`
|
|
21
|
+
- `package.json`
|
|
22
|
+
- `tests/sync-engine.test.js`
|
|
23
|
+
- `tests/cli.integration.test.js`
|
|
24
|
+
- related docs updates
|
|
25
|
+
|
|
26
|
+
## Findings
|
|
27
|
+
|
|
28
|
+
### simplification
|
|
29
|
+
|
|
30
|
+
1. **[minor] Legacy overlay naming remains in runtime adapter API**
|
|
31
|
+
- `applyOverlay()` and related call sites still use overlay terminology even after architecture shifted to generation-driven `packs.ide`.
|
|
32
|
+
- Impact: conceptual debt and future confusion for contributors; not functionally blocking.
|
|
33
|
+
|
|
34
|
+
### duplication
|
|
35
|
+
|
|
36
|
+
1. **[major] Three parallel agent sources are still present in repo**
|
|
37
|
+
- Agent content now exists across:
|
|
38
|
+
- source definitions (`src/agents/definitions/*.yaml`),
|
|
39
|
+
- generated preview output (`templates/bootstrap/base/.agents/generated/agents/**`),
|
|
40
|
+
- legacy overlay agent files (`templates/bootstrap/overlays/**`).
|
|
41
|
+
- Impact: high drift risk and ambiguous maintenance source, contradicting “single maintained source” intent.
|
|
42
|
+
|
|
43
|
+
### maintainability
|
|
44
|
+
|
|
45
|
+
1. **[blocker] MCP templates under base assets are unintentionally included as normal copied files**
|
|
46
|
+
- New files under `templates/bootstrap/base/.agents/mcp/*.json` are now inside the base recursive copy root.
|
|
47
|
+
- `collectTemplateEntries()` currently copies all base files, so installs can include `.agents/mcp/vscode.json` and `.agents/mcp/claude-code.json` in downstream projects, which is outside documented layout contract.
|
|
48
|
+
- Impact: behavioral contract regression (unexpected installed files), potential drift noise, and avoidable template surface expansion.
|
|
49
|
+
|
|
50
|
+
2. **[major] Manifest compatibility transition lacks explicit backward-compatibility guardrails**
|
|
51
|
+
- Runtime now relies on `manifest.packs.ide` and no longer on `packs.overlays`.
|
|
52
|
+
- No compatibility shim or assertion path for mixed/older manifest structures is present.
|
|
53
|
+
- Impact: brittle behavior if template schema consumers or automation still assume legacy shape.
|
|
54
|
+
|
|
55
|
+
3. **[minor] Overlay cleanup is incomplete and currently documented as partial**
|
|
56
|
+
- Legacy overlay files still remain in repository, including agent files and MCP placeholders.
|
|
57
|
+
- Impact: continued confusion during maintenance; non-blocking if runtime independence is preserved.
|
|
58
|
+
|
|
59
|
+
### security
|
|
60
|
+
|
|
61
|
+
1. **[minor] MCP merge logic remains schema-specific to `servers` and is not validated for Claude `mcpServers` evolution**
|
|
62
|
+
- Merge routine is keyed to `servers` semantics; claude template currently uses `mcpServers`.
|
|
63
|
+
- Impact: if security-relevant MCP defaults change later for claude, update/merge behavior may not propagate as intended.
|
|
64
|
+
|
|
65
|
+
## Explicit action list
|
|
66
|
+
|
|
67
|
+
### Must fix before QA pass
|
|
68
|
+
|
|
69
|
+
1. Fix template entry collection so base MCP template files are **not** installed as normal `.agents/mcp/*` copy artifacts (or relocate templates outside base recursive copy root with equivalent behavior).
|
|
70
|
+
|
|
71
|
+
### Should fix in this feature cycle
|
|
72
|
+
|
|
73
|
+
2. Define and implement explicit compatibility handling for `packs.overlays` → `packs.ide` transition (either migration path or deliberate fail-fast with clear message).
|
|
74
|
+
3. Remove/retire remaining overlay agent artifacts to eliminate multi-source drift and align with feature objective.
|
|
75
|
+
|
|
76
|
+
### Can fix shortly after
|
|
77
|
+
|
|
78
|
+
4. Rename overlay-era API terminology (`applyOverlay`) to ide-focused naming for clarity.
|
|
79
|
+
5. Add/extend tests for claude MCP merge semantics to ensure future template updates merge predictably.
|
|
80
|
+
|
|
81
|
+
## QA disposition statement
|
|
82
|
+
|
|
83
|
+
QA **must not pass** this feature until the blocker above is resolved and re-validated with targeted tests plus full suite evidence.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Frontend Handoff — REL-NO-IDE-OVERLAYS
|
|
2
|
+
|
|
3
|
+
Date: 2026-02-23
|
|
4
|
+
Agent: frontend-dev
|
|
5
|
+
|
|
6
|
+
## Context and objective
|
|
7
|
+
|
|
8
|
+
Review REL-NO-IDE-OVERLAYS for frontend impact and provide handoff status. Feature scope is backend-only (CLI/template-registry/sync-engine/docs architecture updates), so frontend implementation is **N/A**.
|
|
9
|
+
|
|
10
|
+
## What changed / what remains
|
|
11
|
+
|
|
12
|
+
- Frontend implementation changes: **N/A**.
|
|
13
|
+
- No Vue/UI/frontend runtime files were modified for this feature.
|
|
14
|
+
- No frontend tests or UI validation are required for this scope.
|
|
15
|
+
- Remaining work on this feature stays with backend/integration agents.
|
|
16
|
+
|
|
17
|
+
## Risks and assumptions
|
|
18
|
+
|
|
19
|
+
- Assumes feature boundaries remain backend-only and do not introduce new UI/runtime surfaces.
|
|
20
|
+
- If scope expands to user-facing frontend behavior, a new frontend implementation pass will be required.
|
|
21
|
+
|
|
22
|
+
## Exact next action for receiving agent
|
|
23
|
+
|
|
24
|
+
Proceed with backend/integration validation and release handoff; treat frontend implementation as closed with status **N/A** for REL-NO-IDE-OVERLAYS.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Integration Handoff — REL-NO-IDE-OVERLAYS
|
|
2
|
+
|
|
3
|
+
Date: 2026-02-23
|
|
4
|
+
From: planning-agent (integration owner)
|
|
5
|
+
To: code-reviewer / tester
|
|
6
|
+
|
|
7
|
+
## Context and objective
|
|
8
|
+
|
|
9
|
+
REL-NO-IDE-OVERLAYS removes runtime dependence on committed per-IDE overlay agent files by sourcing installable agent content from generated outputs derived from `src/agents/definitions/*.yaml`, while preserving CLI behavior for `init`, `plan`, `update`, and `doctor` across `vscode` and `claude-code`.
|
|
10
|
+
|
|
11
|
+
## Combined readiness note (frontend/backend)
|
|
12
|
+
|
|
13
|
+
- Frontend readiness: **N/A / complete** for this feature scope (no frontend implementation changes required).
|
|
14
|
+
- Backend readiness: implementation and test updates are present, including generation/runtime integration, manifest routing updates, docs alignment, and test file updates.
|
|
15
|
+
- Integration readiness: **conditionally ready** for review/test.
|
|
16
|
+
- Test execution evidence: **missing in current artifacts** (backend handoff explicitly states tests were not executed in this environment).
|
|
17
|
+
|
|
18
|
+
## Review scope checklist for code-reviewer
|
|
19
|
+
|
|
20
|
+
- [ ] Verify generation/runtime path change is intentional and complete:
|
|
21
|
+
- `src/agents/generate.js` exports reusable generation API for IDE entries.
|
|
22
|
+
- `src/lib/template-registry.js` sources IDE agent entries from generated content, not committed overlay agent files.
|
|
23
|
+
- [ ] Verify manifest contract updates are coherent and safe:
|
|
24
|
+
- `templates/bootstrap/manifest.json` uses `packs.ide` and includes `mcpTemplate` mapping.
|
|
25
|
+
- [ ] Verify runtime dependency alignment:
|
|
26
|
+
- `package.json` includes `mustache` in runtime `dependencies` (not only dev dependencies).
|
|
27
|
+
- [ ] Verify docs reflect architecture change and no longer describe committed overlay agent files as operational source.
|
|
28
|
+
- [ ] Verify no unintended frontend/UI scope expansion.
|
|
29
|
+
|
|
30
|
+
## Test scope checklist for tester
|
|
31
|
+
|
|
32
|
+
- [ ] Run targeted sync-engine test coverage:
|
|
33
|
+
- `node --test tests/sync-engine.test.js`
|
|
34
|
+
- [ ] Run targeted CLI integration coverage:
|
|
35
|
+
- `node --test tests/cli.integration.test.js`
|
|
36
|
+
- [ ] Run broader regression suite:
|
|
37
|
+
- `pnpm test`
|
|
38
|
+
- [ ] Validate behavior parity for both IDEs from test evidence/logs:
|
|
39
|
+
- install target paths remain correct (`.github/agents/*.agent.md`, `.claude/agents/*.md`),
|
|
40
|
+
- MCP targets remain correct (`.vscode/mcp.json`, `.mcp.json`),
|
|
41
|
+
- drift/conflict semantics for `plan`/`update`/`doctor` remain unchanged.
|
|
42
|
+
|
|
43
|
+
## Explicit unresolved dependencies
|
|
44
|
+
|
|
45
|
+
1. Missing test execution evidence in current handoff artifacts (targeted and full test commands are still pending execution evidence).
|
|
46
|
+
2. Manifest shape transition (`packs.overlays` → `packs.ide`) requires reviewer confirmation that no downstream parser/consumer depends on legacy shape.
|
|
47
|
+
3. Overlay repository cleanup is still unresolved: explicit deletion attempts via available patch tooling were applied as file edits (not physical removals), so `templates/bootstrap/overlays/**` remains present and must be deleted in an environment with direct filesystem delete support.
|
|
48
|
+
|
|
49
|
+
## Exact next action for Code Reviewer
|
|
50
|
+
|
|
51
|
+
Open the PR/diff for REL-NO-IDE-OVERLAYS and complete a focused review of `src/lib/template-registry.js`, `src/agents/generate.js`, and `templates/bootstrap/manifest.json` first, explicitly confirming generation-driven sourcing and manifest compatibility before broader file review.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Planning Handoff — REL-NO-IDE-OVERLAYS
|
|
2
|
+
|
|
3
|
+
Date: 2026-02-23
|
|
4
|
+
From: planning-agent
|
|
5
|
+
To: implementation agents (`backend-dev`, `frontend-dev`)
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Eliminate committed IDE overlay agent files as a maintained dependency and shift template install resolution to generation-driven IDE artifacts, while preserving current CLI behavior and output contracts.
|
|
10
|
+
|
|
11
|
+
## Plan Summary
|
|
12
|
+
|
|
13
|
+
- Runtime/template resolution currently reads agent files directly from `templates/bootstrap/overlays/*`.
|
|
14
|
+
- Implementation should route agent entry generation through shared definition rendering (`src/agents/definitions/*.yaml`) and feed those generated outputs into template collection.
|
|
15
|
+
- Existing sync safety model (hash tracking, conflict skip, MCP merge) must remain unchanged from user perspective.
|
|
16
|
+
- Documentation must be updated to reflect generation-driven architecture and remove overlay-maintenance language.
|
|
17
|
+
|
|
18
|
+
## Work Split
|
|
19
|
+
|
|
20
|
+
### Backend Agent (`backend-dev`) — Primary Owner
|
|
21
|
+
|
|
22
|
+
1. Refactor/extend generator logic so it is consumable by runtime/template registry without relying on committed overlay agent files.
|
|
23
|
+
2. Update `src/lib/template-registry.js` to source IDE agent entries from generation path and retain MCP/base asset behavior.
|
|
24
|
+
3. Make minimal `templates/bootstrap/manifest.json` changes needed to preserve IDE target mapping while dropping committed overlay-agent dependency.
|
|
25
|
+
4. Adjust tests (`tests/sync-engine.test.js`, `tests/cli.integration.test.js`) to validate parity and unchanged sync semantics.
|
|
26
|
+
5. Update `README.md` and `docs/cli.md` for architecture/source-of-truth wording.
|
|
27
|
+
|
|
28
|
+
### Frontend Agent (`frontend-dev`) — N/A
|
|
29
|
+
|
|
30
|
+
- **Status:** Not required for this feature.
|
|
31
|
+
- **Rationale:** Scope is CLI/template-registry/sync-engine backend behavior and repository documentation; no product UI, Vue components, or frontend runtime surfaces are impacted.
|
|
32
|
+
|
|
33
|
+
## Definition of Done for Implementation
|
|
34
|
+
|
|
35
|
+
1. Overlay agent files are no longer required as committed runtime sources.
|
|
36
|
+
2. `init`, `plan`, `update`, and `doctor` behavior remains functionally equivalent for both IDEs.
|
|
37
|
+
3. MCP output paths and merge semantics remain unchanged.
|
|
38
|
+
4. Tests cover generated-agent sourcing and pass in CI.
|
|
39
|
+
5. Docs are updated to describe the new architecture.
|
|
40
|
+
|
|
41
|
+
## Risks / Unknowns
|
|
42
|
+
|
|
43
|
+
1. Potential rendering parity drift (frontmatter/whitespace) causing widespread hash updates.
|
|
44
|
+
2. Manifest shape edits may unintentionally impact compatibility with existing installed manifests.
|
|
45
|
+
3. Overlay removal sequencing must avoid temporary broken state where neither generated nor file-backed sources exist.
|
|
46
|
+
|
|
47
|
+
## Required Next Actions
|
|
48
|
+
|
|
49
|
+
1. Backend agent implements generation-backed template entry sourcing behind existing CLI contracts.
|
|
50
|
+
2. Backend agent removes committed overlay agent files only after parity checks pass.
|
|
51
|
+
3. Backend agent runs tests and provides implementation handoff with explicit parity evidence for both IDEs and MCP behavior.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# QA Report — REL-NO-IDE-OVERLAYS
|
|
2
|
+
|
|
3
|
+
Date: 2026-02-23
|
|
4
|
+
Agent: tester
|
|
5
|
+
|
|
6
|
+
## Scope
|
|
7
|
+
|
|
8
|
+
Inputs validated:
|
|
9
|
+
|
|
10
|
+
- `docs/agents/plans/REL-NO-IDE-OVERLAYS/plan.md`
|
|
11
|
+
- `docs/agents/handoffs/REL-NO-IDE-OVERLAYS/integration.md`
|
|
12
|
+
- `docs/agents/handoffs/REL-NO-IDE-OVERLAYS/code-review.md`
|
|
13
|
+
- Latest working tree changes
|
|
14
|
+
|
|
15
|
+
## Environment limitation
|
|
16
|
+
|
|
17
|
+
Command execution is unavailable in this agent environment (no terminal command runner in available toolset), so execution-dependent checks are marked **BLOCKED** with exact commands to run.
|
|
18
|
+
|
|
19
|
+
## Test evidence
|
|
20
|
+
|
|
21
|
+
### Static evidence collected (non-execution)
|
|
22
|
+
|
|
23
|
+
1. Working-tree diffs show architecture changes aligned to feature intent:
|
|
24
|
+
- generation-driven entries in `src/agents/generate.js`
|
|
25
|
+
- template collection from generated entries in `src/lib/template-registry.js`
|
|
26
|
+
- manifest IDE routing in `templates/bootstrap/manifest.json`
|
|
27
|
+
- test additions in `tests/sync-engine.test.js`, `tests/cli.integration.test.js`, `tests/template-registry.test.js`
|
|
28
|
+
2. Diagnostics check (`get_errors`) on changed implementation/tests:
|
|
29
|
+
- `src/lib/template-registry.js` — no errors
|
|
30
|
+
- `src/agents/generate.js` — no errors
|
|
31
|
+
- `tests/template-registry.test.js` — no errors
|
|
32
|
+
- `tests/sync-engine.test.js` — no errors
|
|
33
|
+
- `tests/cli.integration.test.js` — no errors
|
|
34
|
+
3. Repository diff still includes `templates/bootstrap/overlays/**` content in working tree (cleanup objective remains not fully proven by deletion in this environment).
|
|
35
|
+
|
|
36
|
+
### Execution-dependent evidence (blocked)
|
|
37
|
+
|
|
38
|
+
Required commands to complete QA:
|
|
39
|
+
|
|
40
|
+
1. `node --test tests/template-registry.test.js`
|
|
41
|
+
2. `node --test tests/sync-engine.test.js`
|
|
42
|
+
3. `node --test tests/cli.integration.test.js`
|
|
43
|
+
4. `pnpm test`
|
|
44
|
+
5. `node src/cli.js init --target /tmp/rel-no-ide-overlays-vscode --ide vscode --team web-product --include-mcp --yes`
|
|
45
|
+
6. `node src/cli.js doctor --target /tmp/rel-no-ide-overlays-vscode`
|
|
46
|
+
7. `node src/cli.js init --target /tmp/rel-no-ide-overlays-claude --ide claude-code --team web-product --include-mcp --yes`
|
|
47
|
+
8. `node src/cli.js doctor --target /tmp/rel-no-ide-overlays-claude`
|
|
48
|
+
9. Drift semantics checks:
|
|
49
|
+
- Edit installed agent file under `.github/agents/` or `.claude/agents/`
|
|
50
|
+
- `node src/cli.js plan --target <target>`
|
|
51
|
+
- `node src/cli.js update --target <target>`
|
|
52
|
+
- `node src/cli.js update --target <target> --force`
|
|
53
|
+
|
|
54
|
+
## Acceptance area status
|
|
55
|
+
|
|
56
|
+
1. **No committed overlay agents required** — **FAIL**
|
|
57
|
+
- Reason: Runtime appears decoupled in code, but acceptance explicitly requires proving tests pass with overlay agents removed; this was not executed in this environment.
|
|
58
|
+
|
|
59
|
+
2. **Generated output parity — vscode** — **BLOCKED**
|
|
60
|
+
- Static indicators exist (generated-entry mapping and tests), but init/install parity was not executed.
|
|
61
|
+
|
|
62
|
+
3. **Generated output parity — claude-code** — **BLOCKED**
|
|
63
|
+
- Static indicators exist (claude integration test added), but init/install parity was not executed.
|
|
64
|
+
|
|
65
|
+
4. **Sync behavior unchanged (`plan`/`update` safe mode + `--force`)** — **BLOCKED**
|
|
66
|
+
- Requires live file edit + CLI execution evidence.
|
|
67
|
+
|
|
68
|
+
5. **Doctor behavior unchanged** — **BLOCKED**
|
|
69
|
+
- Requires `doctor` command execution on initialized targets.
|
|
70
|
+
|
|
71
|
+
6. **MCP path handling retained** — **BLOCKED**
|
|
72
|
+
- Static code supports `.vscode/mcp.json` and `.mcp.json`, but runtime merge/install behavior not executed.
|
|
73
|
+
|
|
74
|
+
7. **Docs aligned** — **PASS (static)**
|
|
75
|
+
- `README.md`/`docs/cli.md` updates reflect generation-driven approach and multi-IDE path contract.
|
|
76
|
+
|
|
77
|
+
## Visual/layout notes
|
|
78
|
+
|
|
79
|
+
N/A (CLI/backend feature; no UI surface specified for visual validation).
|
|
80
|
+
|
|
81
|
+
## Overall QA decision
|
|
82
|
+
|
|
83
|
+
**FAIL** (execution evidence missing for core acceptance checks; several areas remain blocked).
|
|
84
|
+
|
|
85
|
+
## Exact next action
|
|
86
|
+
|
|
87
|
+
Run the nine commands listed in **Execution-dependent evidence (blocked)**, capture stdout/stderr, and update this QA report with command outputs and final pass/fail re-evaluation per acceptance area.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Requirement Analysis — REL-NO-IDE-OVERLAYS
|
|
2
|
+
|
|
3
|
+
Date: 2026-02-23
|
|
4
|
+
Agent: requirement-analyst
|
|
5
|
+
|
|
6
|
+
## Context and objective
|
|
7
|
+
|
|
8
|
+
Current template structure maintains IDE-specific agent artifacts under `templates/bootstrap/overlays/*` and syncs those files into target projects based on selected IDE.
|
|
9
|
+
|
|
10
|
+
Observed constraints from current implementation:
|
|
11
|
+
|
|
12
|
+
- `templates/bootstrap/manifest.json` defines `overlayRoot` and per-IDE overlay roots/paths (`vscode`, `claude-code`).
|
|
13
|
+
- `src/agents/generate.js` generates agent files directly into overlay directories and assumes both overlays exist.
|
|
14
|
+
- `src/lib/template-registry.js` resolves install entries by reading base files plus overlay files selected by IDE.
|
|
15
|
+
- `src/lib/sync-engine.js` is coupled to registry output and profile IDE selection.
|
|
16
|
+
- `README.md` documents per-IDE installed output paths and overlay-backed behavior.
|
|
17
|
+
|
|
18
|
+
Objective: stop maintaining committed per-IDE overlay agent files and shift to generation-driven IDE output selection while preserving current user-facing `init`/`plan`/`update`/`doctor` behavior.
|
|
19
|
+
|
|
20
|
+
## Scope in/out
|
|
21
|
+
|
|
22
|
+
### In scope
|
|
23
|
+
|
|
24
|
+
1. Remove overlay folder usage as the maintained source of agent files.
|
|
25
|
+
2. Make generation the source for IDE-specific agent outputs from shared definitions.
|
|
26
|
+
3. Keep CLI install/update semantics intact for both supported IDE targets.
|
|
27
|
+
4. Update template manifest and docs to reflect non-overlay architecture.
|
|
28
|
+
|
|
29
|
+
### Out of scope
|
|
30
|
+
|
|
31
|
+
1. Adding new IDEs or changing current IDE flag names.
|
|
32
|
+
2. Changing agent content semantics beyond what is required for overlay removal.
|
|
33
|
+
3. Redesigning manifest tracking model (`.agents/manifest.json`) or conflict policy.
|
|
34
|
+
4. Introducing new commands or workflow UX changes.
|
|
35
|
+
|
|
36
|
+
## Functional requirements
|
|
37
|
+
|
|
38
|
+
1. **Single maintained source**: Agent definitions in `src/agents/definitions/*.yaml` remain the single maintained source for IDE-specific agent artifacts.
|
|
39
|
+
2. **No committed IDE overlay agents**: Repository must not require committed IDE-specific agent files under `templates/bootstrap/overlays/*` for normal operation.
|
|
40
|
+
3. **Generation parity**: Generation process must produce equivalent IDE-specific output artifacts (file names, frontmatter shape, and body rendering) for both `vscode` and `claude-code`.
|
|
41
|
+
4. **Registry compatibility**: Template entry collection must continue to provide IDE-correct target paths and content to sync logic without depending on committed overlay files.
|
|
42
|
+
5. **Sync behavior unchanged**: `plan`, `update`, and `doctor` must retain existing conflict detection and copy/merge behavior from the user perspective.
|
|
43
|
+
6. **MCP handling retained**: IDE-specific MCP output behavior (`.vscode/mcp.json` vs `.mcp.json`) must remain supported.
|
|
44
|
+
7. **Documentation alignment**: README and relevant docs must describe generation-driven IDE outputs and remove references that imply maintained overlay folders.
|
|
45
|
+
|
|
46
|
+
## Non-functional constraints
|
|
47
|
+
|
|
48
|
+
1. Keep implementation minimal and backward-compatible with existing CLI flags and profile shape (`ide`, `team`, `includeMcp`, `agents`).
|
|
49
|
+
2. Do not introduce runtime network dependency for generation.
|
|
50
|
+
3. Preserve deterministic outputs so hash-based sync and drift detection remain reliable.
|
|
51
|
+
4. Avoid broad refactors outside overlay-removal path.
|
|
52
|
+
|
|
53
|
+
## Risks/assumptions
|
|
54
|
+
|
|
55
|
+
### Assumptions
|
|
56
|
+
|
|
57
|
+
1. Only two IDE adapters remain in scope: `vscode` and `claude-code`.
|
|
58
|
+
2. Existing YAML definitions already contain enough IDE-specific metadata/body data to generate both formats.
|
|
59
|
+
3. Team/base assets under `templates/bootstrap/base` remain unchanged as the non-IDE-specific template source.
|
|
60
|
+
|
|
61
|
+
### Risks
|
|
62
|
+
|
|
63
|
+
1. Path/filename parity regressions could trigger unnecessary overwrite actions during update.
|
|
64
|
+
2. Any divergence between generated output and current committed overlay content may create apparent drift for existing users.
|
|
65
|
+
3. Manifest schema references to overlays may need careful migration to avoid breaking older installs.
|
|
66
|
+
|
|
67
|
+
## Exact next action for Planning Agent
|
|
68
|
+
|
|
69
|
+
Create `docs/agents/plans/REL-NO-IDE-OVERLAYS/plan.md` with a minimal implementation plan that explicitly sequences:
|
|
70
|
+
|
|
71
|
+
1. Source-of-truth redesign (remove committed overlay dependency while preserving IDE outputs).
|
|
72
|
+
2. Manifest/template-registry updates to resolve IDE entries from generated content.
|
|
73
|
+
3. Generation pipeline updates (inputs, output location strategy, and integration point with sync collection).
|
|
74
|
+
4. Compatibility/migration approach for existing installs and manifest expectations.
|
|
75
|
+
5. Validation checklist mapping each functional requirement above to concrete verification steps (including `plan`, `update`, `doctor` behavior and MCP paths).
|