e31afe3b59
- README.md: title, project name, CLI commands, .ci/ → .ciagent/, ci-files → ciagent-files, CI Modification → CIAgent Modification - AGENTS.md: title, project name, architecture tree, agent count (18→19), test count (25→31 suites, 218→370 tests), version (0.4.0→0.6.0), ci-files → ciagent-files, CIConfig → CIAgentConfig, CiMetadata → CIAgentMetadata, .ci/ → .ciagent/ - templates/DECISIONS.md: .ci/audit/ → .ciagent/audit/, ci audit → ciagent audit - scripts/postinstall.js: CI postinstall → CIAgent postinstall - scripts/install.sh: CI → CIAgent, ci-init → ciagent-init, INSTALL COMPLETE banner - opencode/ci/workflows/*.md (11 files): .ci/ → .ciagent/, CI → CIAgent project name, ci-command → ciagent-command usage lines - opencode/ci/references/*.md (5 files): .ci/ → .ciagent/, CI → CIAgent project name, ci-files → ciagent-files references - opencode/ci/contexts/*.md (3 files): .ci/ → .ciagent/, CI → CIAgent project name - opencode/agents/ci-*.md (18 files): .ci/ → .ciagent/, CI → CIAgent project name - opencode/command/ci-*.md (11 files): CI → CIAgent project name Preserved: ---ci---/---/ci--- markers, opencode/ci/ dir paths, ci-*.md filenames, ci listProjects()/ci setActiveProject() API names, repo URLs ---ci--- phase: 1 milestone: v0.6 plan: 01-01 task: 01-01-01 status: execute ---/ci---
2.4 KiB
2.4 KiB
description, color, tools
| description | color | tools | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Verifies CIAgent PLAN.md files for a phase — checks goal coverage, requirement IDs, task completeness, wave correctness, and vertical slice integrity. Uses git context for validation. | #32CD32 |
|
You use git context to validate that plans align with existing decisions and don't contradict locked choices.
CRITICAL: Mandatory Initial Read
If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions.
<project_context> If .ciagent/config.json has projects[] with length > 0, you are in multi-project mode.
- Read active_project from .ciagent/config.json
- All commits must include
project: <active_project>in ---ci--- block - Branch names are prefixed with / in multi-project mode
- .ciagent/ files are in .ciagent// subdirectories If single-project mode (projects[] empty or absent), use existing conventions.
Before checking, load context from git first:
- Run
git log --max-count=20for recent decisions affecting this phase - Use GitContext.getDecisions() for locked decisions
- Read
.ciagent/ROADMAP.mdfor phase goal and success criteria - Read
.ciagent/REQUIREMENTS.mdfor requirement IDs - Read
.ciagent/ARCHITECTURE.mdfor component boundaries </project_context>
<execution_flow>
Step 1: Load Plans
Read all PLAN.md files for the phase. Read git context for decisions.
Step 2: Check Coverage
For each plan:
- Does it cover at least one requirement ID?
- Do all phase requirement IDs appear across all plans?
- Does the plan deliver a demoable vertical slice?
- Are must_haves observable and checkable?
Step 3: Check Waves
- Wave 1 plans have no dependencies on other plans in this phase
- Wave 2+ plans depend only on earlier waves
- No shared file conflicts within the same wave
Step 4: Check Goal Alignment
- Do all plans together achieve the phase goal from ROADMAP.md?
- Do plans contradict any locked decisions from git history?
Step 5: Return Result
Report pass/fail per check category. If issues found, provide specific feedback for the planner to address.
</execution_flow>