* fix(#3423): standardize on required_reading, retire files_to_read emit tag * test(#3423): flip tag assertions, extend consistency guard to spawner surfaces * fix(#3423): sweep capabilities fragments, regen registry+skills, anchor executor test * chore(#3423): acknowledge tag-rename emitted ripples and workflow growth * chore(#3423): broaden emitted-ripple acknowledgment to all embedders * chore(#3423): settle emitted-drift acks post-rebase (merge 3004/1689-owned keys) * chore(#3423): drop stale ripple acks, ack execute-phase growth * chore(#3423): restore pristine 3004 fragment, keep only consumed appends * chore(#3423): backfill changeset pr number * chore(#3423): settle emitted-drift acks post-merge (move code-review-fix ripple into 3190, tag-rename ripples into 3191/3297) * chore(#3423): re-arm 3324 ack for execute-phase.md tag-rename ripple * fix(#3423): trim 8 bytes from execute-phase model note to hold ADR-857 margin, re-arm 3370 ack for net +4 growth --------- Co-authored-by: sim <sim@local>
This commit is contained in:
@@ -112,10 +112,10 @@ Select the right AI framework for Phase {phase_number}: {phase_name}
|
||||
Goal: {phase_goal}
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
{context_path if exists}
|
||||
{requirements_path if exists}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
<phase_context>
|
||||
Phase: {phase_number} — {phase_name}
|
||||
@@ -161,10 +161,10 @@ Before editing, verify the section you are about to write is still a template pl
|
||||
<objective>
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
{ai_spec_path}
|
||||
{context_path if exists}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
<input>
|
||||
framework: {primary_framework}
|
||||
@@ -196,11 +196,11 @@ Before editing, verify the section you are about to write is still a template pl
|
||||
<objective>
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
{ai_spec_path}
|
||||
{context_path if exists}
|
||||
{requirements_path if exists}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
<input>
|
||||
system_type: {system_type}
|
||||
@@ -227,11 +227,11 @@ Write Sections 5, 6, and 7 of AI-SPEC.md
|
||||
AI-SPEC.md now contains domain context (Section 1b) — use it as your rubric starting point.
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
{ai_spec_path}
|
||||
{context_path if exists}
|
||||
{requirements_path if exists}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
<input>
|
||||
system_type: {system_type}
|
||||
|
||||
@@ -207,9 +207,9 @@ Use Agent() to spawn agent:
|
||||
|
||||
```text
|
||||
Agent(subagent_type="gsd-code-fixer", model="{FIXER_MODEL}", prompt="
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
${REVIEW_PATH}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
<config>
|
||||
phase_dir: ${PHASE_DIR}
|
||||
@@ -329,9 +329,9 @@ ${AGENT_SKILLS_REVIEWER}")
|
||||
echo "Issues remain. Applying fixes for iteration ${ITERATION}..."
|
||||
|
||||
Agent(subagent_type="gsd-code-fixer", model="{FIXER_MODEL}", prompt="
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
${REVIEW_PATH}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
<config>
|
||||
phase_dir: ${PHASE_DIR}
|
||||
|
||||
@@ -443,7 +443,7 @@ else
|
||||
fi
|
||||
```
|
||||
|
||||
Build files_to_read block for agent:
|
||||
Build required_reading block for agent:
|
||||
```bash
|
||||
FILES_TO_READ=""
|
||||
for file in "${REVIEW_FILES[@]}"; do
|
||||
@@ -498,9 +498,9 @@ Print: `◆ Spawning code reviewer... (runs in a subagent — no output until it
|
||||
|
||||
```
|
||||
Agent(subagent_type="gsd-code-reviewer", model="{REVIEWER_MODEL}", prompt="
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
${FILES_TO_READ}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${STRUCTURAL_FINDINGS_BLOCK}
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ placeholder, not a shell variable.
|
||||
|
||||
```
|
||||
Agent(
|
||||
prompt=filled_debug_subagent_prompt + "\n\n" + WORKTREE_GUARD + "\n\n<files_to_read>\n- {phase_dir}/{phase_num}-UAT.md\n- {state_path}\n</files_to_read>\n${AGENT_SKILLS_DEBUGGER}",
|
||||
prompt=filled_debug_subagent_prompt + "\n\n" + WORKTREE_GUARD + "\n\n<required_reading>\n- {phase_dir}/{phase_num}-UAT.md\n- {state_path}\n</required_reading>\n${AGENT_SKILLS_DEBUGGER}",
|
||||
subagent_type="gsd-debugger",
|
||||
{harnessFlag}
|
||||
description="Debug: {truth_short}"
|
||||
|
||||
@@ -91,11 +91,11 @@ Conduct evaluation coverage audit of Phase {phase_number}: {phase_name}
|
||||
{If no AI-SPEC: "Audit against general AI eval best practices."}
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {summary_paths}
|
||||
- {plan_paths}
|
||||
- {ai_spec_path if exists}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
<input>
|
||||
ai_spec_path: {ai_spec_path or "none"}
|
||||
|
||||
@@ -91,7 +91,7 @@ Parse JSON for: `executor_model`, `verifier_model`, `commit_docs`, `parallelizat
|
||||
|
||||
`section_manifest` (#2932) gates the three `steps/*.md` reads below: read a step file only when its `id` is in `section_manifest.included` (equivalently, its path is in `section_manifest.read`); skip it — without reading — when its `id` is in `section_manifest.excluded`. When `section_manifest` is `null` (degraded: manifest artifact missing/unreadable), read all three unconditionally — the safe superset.
|
||||
|
||||
**Model resolution:** If `executor_model` is `"inherit"`, omit the `model=` parameter from all `Agent()` calls — do NOT pass `model="inherit"` to Agent. Omitting the `model=` parameter causes Claude Code to inherit the current orchestrator model automatically. Only set `model=` when `executor_model` is an explicit model name (e.g., `"claude-sonnet-5"`, `"claude-opus-4-8"`).
|
||||
**Model resolution:** If `executor_model` is `"inherit"`, omit the `model=` parameter from all `Agent()` calls — do NOT pass `model="inherit"` to Agent. Omitting the `model=` parameter causes Claude Code to inherit the orchestrator model automatically. Only set `model=` when `executor_model` is an explicit model name (e.g., `"claude-sonnet-5"`, `"claude-opus-4-8"`).
|
||||
|
||||
@~/.claude/gsd-core/references/execute-phase-response-language.md
|
||||
|
||||
@@ -742,7 +742,7 @@ increases monotonically across waves. `{status}` is `complete` (success),
|
||||
${CONTEXT_WINDOW < 200000 ? '' : '- `~/.claude/gsd-core/references/executor-examples.md`'}
|
||||
</execution_context>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
Read these files at execution start using the Read tool.
|
||||
First resolve repo root so every path is anchored:
|
||||
\`PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)\`
|
||||
@@ -757,7 +757,7 @@ increases monotonically across waves. `{status}` is `complete` (success),
|
||||
` : ''}
|
||||
- ${PROJECT_ROOT}/CLAUDE.md (Project instructions, if exists — follow project-specific guidelines and coding conventions)
|
||||
- ${PROJECT_ROOT}/.claude/skills/ or ${PROJECT_ROOT}/.agents/skills/ (Project skills, if either exists — list skills, read SKILL.md for each, follow relevant rules during implementation)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS}
|
||||
|
||||
@@ -1301,7 +1301,7 @@ Check must_haves against actual codebase.
|
||||
Cross-reference requirement IDs from PLAN frontmatter against REQUIREMENTS.md — every ID MUST be accounted for.
|
||||
Create VERIFICATION.md.
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
Read these files before verification:
|
||||
- {phase_dir}/*-PLAN.md (All plans — understand intent, check must_haves)
|
||||
- {phase_dir}/*-SUMMARY.md (All summaries — cross-reference claimed vs actual)
|
||||
@@ -1310,7 +1310,7 @@ ${CONTEXT_WINDOW >= 500000 ? `- {phase_dir}/*-CONTEXT.md (User decisions — ver
|
||||
- {phase_dir}/*-RESEARCH.md (Known pitfalls — check for traps)
|
||||
- Prior VERIFICATION.md files from earlier phases (regression check)
|
||||
` : ''}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${VERIFIER_SKILLS}",
|
||||
subagent_type="gsd-verifier",
|
||||
|
||||
@@ -62,7 +62,7 @@ if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
||||
|
||||
Parse `project_exists`, `planning_exists`, `has_git`, `git_worktree_root`, `in_nested_subdir`, `project_path` from INIT.
|
||||
|
||||
**Absolute path fields (#2376):** INIT also carries `requirements_path`, `roadmap_path`, `state_path`, `intel_dir`, and `conflicts_path` — all anchored on `project_root`, not the orchestrator's own cwd. Use these (not bare `.planning/...` literals) whenever building `<files_to_read>`/output paths for a spawned subagent, since that subagent's own cwd may differ from the orchestrator's.
|
||||
**Absolute path fields (#2376):** INIT also carries `requirements_path`, `roadmap_path`, `state_path`, `intel_dir`, and `conflicts_path` — all anchored on `project_root`, not the orchestrator's own cwd. Use these (not bare `.planning/...` literals) whenever building `<required_reading>`/output paths for a spawned subagent, since that subagent's own cwd may differ from the orchestrator's.
|
||||
|
||||
**Auto-detect MODE** if not set:
|
||||
- `planning_exists: true` → `MODE=merge`
|
||||
|
||||
@@ -351,9 +351,9 @@ Focus ONLY on what's needed for the NEW features.
|
||||
|
||||
<question>{QUESTION}</question>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {project_path} (Project context)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_RESEARCHER}
|
||||
|
||||
@@ -390,12 +390,12 @@ After all 4 complete, spawn synthesizer:
|
||||
Agent(prompt="
|
||||
Synthesize research outputs into SUMMARY.md.
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {research_dir}/STACK.md
|
||||
- {research_dir}/FEATURES.md
|
||||
- {research_dir}/ARCHITECTURE.md
|
||||
- {research_dir}/PITFALLS.md
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_SYNTHESIZER}
|
||||
|
||||
@@ -518,13 +518,13 @@ gsd_run query commit "docs: define milestone v[X.Y] requirements" --files .plann
|
||||
```text
|
||||
Agent(prompt="
|
||||
<planning_context>
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {project_path}
|
||||
- {requirements_path}
|
||||
- {research_dir}/SUMMARY.md (if exists)
|
||||
- {config_path}
|
||||
- {milestones_path}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_ROADMAPPER}
|
||||
|
||||
|
||||
@@ -752,9 +752,9 @@ Subsequent: Research what's needed to add [target features] to an existing [doma
|
||||
What's the standard 2025 stack for [domain]?
|
||||
</question>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {project_path} (Project context and goals)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_RESEARCHER}
|
||||
|
||||
@@ -796,9 +796,9 @@ Subsequent: How do [target features] typically work? What's expected behavior?
|
||||
What features do [domain] products have? What's table stakes vs differentiating?
|
||||
</question>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {project_path} (Project context)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_RESEARCHER}
|
||||
|
||||
@@ -836,9 +836,9 @@ Subsequent: How do [target features] integrate with existing [domain] architectu
|
||||
How are [domain] systems typically structured? What are major components?
|
||||
</question>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {project_path} (Project context)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_RESEARCHER}
|
||||
|
||||
@@ -876,9 +876,9 @@ Subsequent: What are common mistakes when adding [target features] to [domain]?
|
||||
What do [domain] projects commonly get wrong? Critical mistakes?
|
||||
</question>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {project_path} (Project context)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_RESEARCHER}
|
||||
|
||||
@@ -912,12 +912,12 @@ Agent(prompt="
|
||||
Synthesize research outputs into SUMMARY.md.
|
||||
</task>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {research_dir}/STACK.md
|
||||
- {research_dir}/FEATURES.md
|
||||
- {research_dir}/ARCHITECTURE.md
|
||||
- {research_dir}/PITFALLS.md
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_SYNTHESIZER}
|
||||
|
||||
@@ -1161,12 +1161,12 @@ Spawn gsd-roadmapper agent with path references:
|
||||
Agent(prompt="
|
||||
<planning_context>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {project_path} (Project context)
|
||||
- {requirements_path} (v1 Requirements)
|
||||
- {research_dir}/SUMMARY.md (Research findings - if exists)
|
||||
- {config_path} (Granularity and mode settings)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_ROADMAPPER}
|
||||
|
||||
@@ -1262,9 +1262,9 @@ Use AskUserQuestion:
|
||||
User feedback on roadmap:
|
||||
[user's notes]
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {roadmap_path} (Current roadmap to revise)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_ROADMAPPER}
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ Parse JSON for: `researcher_model`, `planner_model`, `checker_model`, `research_
|
||||
|
||||
**If `response_language` is set:** All user-facing orchestrator output MUST be in `{response_language}`; technical terms, code, paths, and subagent prompts stay in English. Pass `response_language: {value}` into every spawned subagent prompt.
|
||||
|
||||
**File paths (for <files_to_read> blocks):** `state_path`, `roadmap_path`, `requirements_path`, `context_path`, `research_path`, `verification_path`, `uat_path`, `reviews_path`. These are null if files don't exist.
|
||||
**File paths (for <required_reading> blocks):** `state_path`, `roadmap_path`, `requirements_path`, `context_path`, `research_path`, `verification_path`, `uat_path`, `reviews_path`. These are null if files don't exist.
|
||||
|
||||
**If `planning_exists` is false:** Error — run `/gsd:new-project` first.
|
||||
|
||||
@@ -699,7 +699,7 @@ Planner prompt:
|
||||
**Phase:** {phase_number}
|
||||
**Mode:** {standard | gap_closure | reviews}
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {state_path} (Project State)
|
||||
- {roadmap_path} (Roadmap)
|
||||
- {requirements_path} (Requirements)
|
||||
@@ -723,7 +723,7 @@ ${CONTEXT_WINDOW >= 500000 ? `
|
||||
- CONTEXT.md, SUMMARY.md, and LEARNINGS.md from any phases listed in the current phase's "Depends on:" field in ROADMAP.md (regardless of recency — explicit dependencies always load, deduplicated against the 3 most recent)
|
||||
- Skip all other prior phases to stay within context budget
|
||||
` : ''}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
${API_SURFACE_PATH ? `
|
||||
<intel_surface_hint>
|
||||
**API Surface (HINT — may be incomplete):** When \`intel.enabled\` is true, \`${API_SURFACE_PATH}\` lists symbols extracted from the codebase by regex/JS analysis. Prefer symbols listed there when referencing existing code. This surface is regex/JS-derived and MAY BE INCOMPLETE — a symbol's absence means *unknown*, not *nonexistent*. Never treat the surface as exhaustive. If you reference a symbol that is not in the surface and this phase creates it, list it under "Artifacts this phase produces".
|
||||
@@ -978,14 +978,14 @@ Checker prompt:
|
||||
**Phase Goal:** {goal from ROADMAP}
|
||||
**Mode:** {standard | gap_closure | reviews}
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {PHASE_DIR}/*-PLAN.md (Plans to verify)
|
||||
- {roadmap_path} (Roadmap)
|
||||
- {requirements_path} (Requirements)
|
||||
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
|
||||
- {research_path} (Technical Research — includes Validation Architecture)
|
||||
- {reviews_path} (Cross-AI Review Feedback - if --reviews; verify actionable findings are represented in PLAN.md)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_CHECKER}
|
||||
|
||||
@@ -1112,10 +1112,10 @@ Revision prompt:
|
||||
**Phase:** {phase_number}
|
||||
**Mode:** revision
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {PHASE_DIR}/*-PLAN.md (Existing plans)
|
||||
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_PLANNER}
|
||||
|
||||
|
||||
@@ -313,12 +313,12 @@ Agent(
|
||||
**Directory:** ${QUICK_DIR}
|
||||
**Description:** ${DESCRIPTION}
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- ${STATE_PATH} (Project State)
|
||||
- ./CLAUDE.md or ./.claude/CLAUDE.md (if exists — follow project-specific guidelines)
|
||||
${DISCUSS_MODE ? '- ' + QUICK_DIR + '/' + quick_id + '-CONTEXT.md (User decisions — locked, do not revisit)' : ''}
|
||||
${RESEARCH_MODE ? '- ' + QUICK_DIR + '/' + quick_id + '-RESEARCH.md (Research findings — use to inform implementation choices)' : ''}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_PLANNER}
|
||||
|
||||
@@ -446,12 +446,12 @@ fi
|
||||
\`\`\`
|
||||
` : ''}
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- ${QUICK_DIR}/${quick_id}-PLAN.md (Plan)
|
||||
- ${STATE_PATH} (Project state)
|
||||
- ./CLAUDE.md or ./.claude/CLAUDE.md (Project instructions, if exists)
|
||||
- .claude/skills/ or .agents/skills/ (Project skills, if either exists — list skills, read SKILL.md for each, follow relevant rules during implementation)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_EXECUTOR}
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ Checker prompt:
|
||||
**Mode:** quick-full
|
||||
**Task Description:** ${DESCRIPTION}
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- ${QUICK_DIR}/${quick_id}-PLAN.md (Plan to verify)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_CHECKER}
|
||||
|
||||
@@ -74,9 +74,9 @@ Revision prompt:
|
||||
<revision_context>
|
||||
**Mode:** quick-full (revision)
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- ${QUICK_DIR}/${quick_id}-PLAN.md (Existing plan)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_PLANNER}
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@ Agent(
|
||||
Task directory: ${QUICK_DIR}
|
||||
Task goal: ${DESCRIPTION}
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- ${QUICK_DIR}/${quick_id}-PLAN.md (Plan)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_VERIFIER}
|
||||
|
||||
|
||||
@@ -30,12 +30,12 @@ Agent(
|
||||
**Task:** ${DESCRIPTION}
|
||||
**Output:** ${QUICK_DIR}/${quick_id}-RESEARCH.md
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- ${STATE_PATH} (Project state — what's already built)
|
||||
- ${PROJECT_PATH} (Project context)
|
||||
- ./CLAUDE.md or ./.claude/CLAUDE.md (if exists — project-specific guidelines)
|
||||
${DISCUSS_MODE ? '- ' + QUICK_DIR + '/' + quick_id + '-CONTEXT.md (User decisions — research should align with these)' : ''}
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_PLANNER}
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ Print: `◆ Spawning security auditor... (runs in a subagent — no output until
|
||||
```
|
||||
Agent(
|
||||
prompt="Read ~/.claude/agents/gsd-security-auditor.md for instructions.\n\n" +
|
||||
"<files_to_read>{PLAN, SUMMARY, impl files, SECURITY.md}</files_to_read>" +
|
||||
"<required_reading>{PLAN, SUMMARY, impl files, SECURITY.md}</required_reading>" +
|
||||
"<threat_register>{threat register}</threat_register>" +
|
||||
"<config>asvs_level: {SECURITY_ASVS}, block_on: {SECURITY_BLOCK_ON}</config>" +
|
||||
"<constraints>Never modify implementation files. Verify mitigations exist — do not scan for new threats. Escalate implementation gaps. Return a structured verdict only — do NOT write SECURITY.md (the orchestrator owns the file write).</constraints>" +
|
||||
|
||||
@@ -132,14 +132,14 @@ Create UI design contract for Phase {phase_number}: {phase_name}
|
||||
Answer: "What visual and interaction contracts does this phase need?"
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {state_path} (Project State)
|
||||
- {roadmap_path} (Roadmap)
|
||||
- {requirements_path} (Requirements)
|
||||
- {context_path} (USER DECISIONS from /gsd:discuss-phase)
|
||||
- {research_path} (Technical Research — stack decisions)
|
||||
- {SKETCH_FINDINGS_PATH} (Sketch Findings — validated design decisions, CSS patterns, visual direction from /gsd:sketch, if exists)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_UI}
|
||||
|
||||
@@ -155,7 +155,7 @@ padded_phase: {padded_phase}
|
||||
</config>
|
||||
```
|
||||
|
||||
Omit null file paths from `<files_to_read>`.
|
||||
Omit null file paths from `<required_reading>`.
|
||||
|
||||
<!-- #2508 runtime-aware-dispatch -->
|
||||
|
||||
@@ -205,11 +205,11 @@ Validate UI design contract for Phase {phase_number}: {phase_name}
|
||||
Check all 6 dimensions. Return APPROVED or BLOCKED.
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {phase_dir}/{padded_phase}-UI-SPEC.md (UI Design Contract — PRIMARY INPUT)
|
||||
- {context_path} (USER DECISIONS — check compliance)
|
||||
- {research_path} (Technical Research — check stack alignment)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_UI_CHECKER}
|
||||
|
||||
|
||||
@@ -84,12 +84,12 @@ Conduct 6-pillar visual audit of Phase {phase_number}: {phase_name}
|
||||
{If no UI-SPEC: "Audit against abstract 6-pillar standards."}
|
||||
</objective>
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {summary_paths} (Execution summaries)
|
||||
- {plan_paths} (Execution plans — what was intended)
|
||||
- {ui_spec_path} (UI Design Contract — audit baseline, if exists)
|
||||
- {context_path} (User decisions, if exists)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_UI_REVIEWER}
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ Print: `◆ Spawning nyquist auditor... (runs in a subagent — no output until
|
||||
```
|
||||
Agent(
|
||||
prompt="Read ~/.claude/agents/gsd-nyquist-auditor.md for instructions.\n\n" +
|
||||
"<files_to_read>{PLAN, SUMMARY, impl files, VALIDATION.md}</files_to_read>" +
|
||||
"<required_reading>{PLAN, SUMMARY, impl files, VALIDATION.md}</required_reading>" +
|
||||
"<gaps>{gap list}</gaps>" +
|
||||
"<test_infrastructure>{framework, config, commands}</test_infrastructure>" +
|
||||
"<constraints>Never modify impl files. Max 3 debug iterations. Escalate impl bugs.</constraints>" +
|
||||
|
||||
@@ -704,11 +704,11 @@ Agent(
|
||||
**Phase:** {phase_number}
|
||||
**Mode:** gap_closure
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {phase_dir}/{phase_num}-UAT.md (UAT with diagnoses)
|
||||
- {state_path} (Project State)
|
||||
- {roadmap_path} (Roadmap)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_PLANNER}
|
||||
|
||||
@@ -769,9 +769,9 @@ Agent(
|
||||
**Phase:** {phase_number}
|
||||
**Phase Goal:** Close diagnosed gaps from UAT
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {phase_dir}/*-PLAN.md (Plans to verify)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_CHECKER}
|
||||
|
||||
@@ -813,9 +813,9 @@ Agent(
|
||||
**Phase:** {phase_number}
|
||||
**Mode:** revision
|
||||
|
||||
<files_to_read>
|
||||
<required_reading>
|
||||
- {phase_dir}/*-PLAN.md (Existing plans)
|
||||
</files_to_read>
|
||||
</required_reading>
|
||||
|
||||
${AGENT_SKILLS_PLANNER}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user