Repository navigation
[Phase 0] Kiro capability reconciliation + gap decision record #1143
Copy link
Copy link
Closed
Labels
dev-leadFor dev-lead agent pickupFor dev-lead agent pickupinitiativeEpic / initiative tracking issueEpic / initiative tracking issue
Description
Story
As a maintainer weighing which Kiro-inspired gaps to close,
I want a repo-grounded decision record that reconciles each capability in the Kiro gap analysis against what this repo already has and recommends build / already-covered / drop for every remaining gap,
so that we invest only in genuinely-missing, high-value capabilities and never rebuild something (like MCP curation) that already shipped.
Acceptance Criteria
- A new doc
docs/initiatives/kiro-gap-analysis.mdexists, following the initiative-doc header shape used by the existing docs underdocs/initiatives/(Status / Author / Date / Scope / Constraints). - The doc reproduces the 10-row capability comparison from Discussion Gap Analysis: Kiro by AWS #1118 and, for EACH row, records a verdict of
already-covered,build, ordropwith a one-line justification citing the concrete repo artifact that grounds it (e.g.scripts/engine.sh,scripts/initiative-driver.sh,scripts/initiative_canary.sh,evals/). - The MCP-curation gap (source-analysis Phase 1) is explicitly marked
already-covered, citing epic MCP-powered review enrichment for the self-hosted Claude review engine (engine.sh) #676, Add a zero-auth MCP server (Context7) to the PR-review action agent runtime #816, anddocs/initiatives/mcp-powered-review.md, so it is not re-planned. - Developer-local agent hooks (gap G5) are assessed against Claude Code's actual hook support: the doc states which of Kiro's 8 trigger types Claude Code hooks already cover (via
settings.json) and gives a build/drop recommendation grounded in that finding — not an assumption. - The remaining gaps G1 (spec-drift), G3 (multi-repo coordination), G4 (session continuity), and G5 (dev-local hooks) each carry an explicit go/no-go recommendation and a rough size, so a human can pick what to build next.
- The doc does not recommend adopting any AWS-proprietary Kiro infrastructure (Bedrock routing, Powers marketplace, Autonomous Agent) as a dependency — consistent with the repo's multi-provider engine strategy and the analysis's vendor-lock-in risk.
Tasks / Subtasks
- Read Discussion Gap Analysis: Kiro by AWS #1118's enhancement comment and map its 10-row capability table + 5-gap options table into the new doc's structure. (AC: test issue from agent #1, Go-live improvements for PR review agent #2)
- For each capability row, open the cited repo artifact and record the build/already-covered/drop verdict with a grounded justification. (AC: Go-live improvements for PR review agent #2, Add @claude delegation, auto-merge, and rebase handling #3)
- Verify Claude Code hook coverage vs Kiro's 8 trigger types (PreToolUse, PostToolUse, UserPromptSubmit, file save/create/delete, etc.) and write the G5 recommendation from that evidence. (AC: Optimize review: small-PR and incremental fast paths #4)
- Write the go/no-go + rough-size recommendation for G1/G3/G4/G5, and add the vendor-lock-in guardrail note. (AC: feat: add Copilot engine support via REVIEW_ENGINE toggle #5, feat: feature ideation framework — adversarial proposer/challenger/synthesizer #6)
Dev Notes
- This is a documentation/decision story — no scripts or workflows change. Match the header shape and tone of the existing
docs/initiatives/*.md(seemcp-powered-review.mdandidea-to-initiative-pipeline.md) so it slots into the initiative-doc set. - Ground every verdict in a real artifact. Key anchors: model routing =
scripts/engine.sh(per-tier chains + fallback); canary rollout =scripts/initiative_canary.sh; eval gates =evals/+evals/deep-review/holdout; scheduled automation = the.github/workflows/*.ymlset (feature-ideation, initiative-driver, actions-fleet-monitor); MCP =scripts/engine.sh(REVIEW_MCP_CONFIG) +docs/initiatives/mcp-powered-review.md. - MCP curation is DONE — do not open it as a gap. Add a zero-auth MCP server (Context7) to the PR-review action agent runtime #816 already ran a controlled A/B and found ~0 quality lift on this repo's Bash/YAML PRs; the doc should record that as the reason MCP is
already-covered(and where Context7's marginal value actually concentrates), not re-litigate it. - For G5, the check is whether Claude Code's
settings.jsonhooks (UserPromptSubmit, PreToolUse, PostToolUse, Stop, etc.) already cover Kiro's developer-local trigger types. State coverage from evidence; do NOT decide to build a.claude/hooks/convention here — that decision is the doc's output, and if it lands asbuildit becomes a separate future story. - Testing standard: this is prose, so there is no bats surface; the readiness bar is that every row's verdict cites a path that exists in the repo.
Project Structure Notes
Adds one file under docs/initiatives/, consistent with how prior initiative decision records are stored. No code paths touched.
References
- docs/initiatives/mcp-powered-review.md
- docs/initiatives/idea-to-initiative-pipeline.md
- scripts/engine.sh
- scripts/initiative-driver.sh
- scripts/initiative_canary.sh
- evals/deep-review/holdout
- AGENTS.md
Likely target surface
docs/initiatives/
Story prepared by the BMAD Scrum Master (Bob) for epic #1142. Status: ready-for-dev.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dev-leadFor dev-lead agent pickupFor dev-lead agent pickupinitiativeEpic / initiative tracking issueEpic / initiative tracking issue
Activity
don-petry commentedon Jul 14, 2026
Dev-Lead Implementation Plan
Issue: #1143 — [Phase 0] Kiro capability reconciliation + gap decision record
Scope
Add one decision-record doc,
docs/initiatives/kiro-gap-analysis.md, that reconciles every capability row and gap from Discussion #1118 against concrete repo artifacts and records a build / already-covered / drop verdict for each, so only genuinely-missing capabilities get built.Implementation Checklist
docs/initiatives/kiro-gap-analysis.mdwith the initiative-doc header shape (Status / Author / Date / Scope / Constraints), matchingmcp-powered-review.md.already-covered, citing epic MCP-powered review enrichment for the self-hosted Claude review engine (engine.sh) #676, Add a zero-auth MCP server (Context7) to the PR-review action agent runtime #816, anddocs/initiatives/mcp-powered-review.md(the ~0-quality-lift A/B), so it is not re-planned.settings.jsonhook events vs. Kiro's live trigger types (fetched from kiro.dev/docs/hooks — 7 agent-lifecycle + 3 file = 10). State coverage from evidence, give build/drop.Tests to Write
Test Command
bash .dev-lead/scripts/dev-lead-lint.sh(shellcheck + agent frontmatter; no scripts change, but run to confirm no regressions)don-petry commentedon Jul 14, 2026
Dev-Lead: Implementation Complete
Plan Execution
docs/initiatives/kiro-gap-analysis.mdwith the initiative-doc header shape (Status / Author / Date / Scope / Constraints), matchingmcp-powered-review.md.already-covered, citing epics MCP-powered review enrichment for the self-hosted Claude review engine (engine.sh) #676 / Add a zero-auth MCP server (Context7) to the PR-review action agent runtime #816 anddocs/initiatives/mcp-powered-review.md(the ~0-quality-lift A/B on Bash/YAML PRs) — recorded so it is not re-planned.settings.jsonhook events vs. Kiro's live trigger types (fetched from kiro.dev/docs/hooks: 7 agent-lifecycle + 3 file). Built a coverage table and grounded the DROP recommendation in it — not an assumption.dropas dependencies.Test Results
Files Changed
docs/initiatives/kiro-gap-analysis.md: new decision record reconciling every Kiro capability row and gap against grounded repo artifacts with build/already-covered/drop verdicts.Notes
canary-rollout.shthat does not exist in-repo; row 7 is grounded instead in the real ring-rollout artifacts (scripts/cut-release.sh+ channel tags indocs/release/versioning.md, plus the live canaries). Kiro's hooks were "8 trigger types" in the analysis but the live docs enumerate 10 (7 agent-lifecycle + 3 file) — the doc uses the live set.feat: implement issue #1143 — [Phase 0] Kiro capability reconciliatio…