name: sdd-4b-didyouknow description: "Build shared understanding by surfacing non-obvious insights from SDD artifacts. Use when: before complex implementation, after creating a spec or plan, when feeling uncertain about assumptions, or between the Architect and Implement phases."
SDD Phase 4b: Did You Know?
Surface non-obvious insights from SDD artifacts to build shared understanding before implementation. Presents insights one at a time and immediately updates the relevant artifact after each discussion.
Inputs
- slug (Optional): Slug from prior phases. Inferred from context if omitted.
- artifact (Optional): Which artifact to analyze:
spec,plan, ortasks. If omitted, auto-detect the most recent relevant artifact.
Step 0: Doctrine Resolution
Before starting, resolve project conventions:
- Check for project doctrine files:
docs/project-rules/(constitution.md, rules.md, idioms.md, architecture.md)copilot-instructions.md,AGENTS.md,CONTRIBUTING.md,README.md
- If no doctrine found, scan the codebase for dependency manifests, build systems, and directory patterns.
- Extract: build command, test command, coverage threshold, naming conventions, CI platform.
- Unknown values become explicit
[TODO]markers — never assume silently.
Step 1: Load Artifact Context
- Determine which artifact to analyze based on
{artifact}or auto-detection:spec→.copilot-tracking/plans/{date}/{slug}/{slug}-spec.mdplan→.copilot-tracking/plans/{date}/{slug}/{slug}-plan.mdtasks→ Phase task tables within the plan file
- Read the target artifact completely.
- Read supporting artifacts (research dossier, clarifications, workshops, ADRs) for additional context.
Step 2: Analyze from Multiple Perspectives
Analyze the artifact from these perspectives:
- Assumption Auditor — identify unstated assumptions that could cause surprises during implementation.
- Edge Case Scout — find boundary conditions, error paths, or unusual states not explicitly covered.
- Dependency Detective — surface hidden dependencies between tasks, modules, or external systems.
- Convention Compass — flag areas where the plan diverges from established project patterns.
- Risk Radar — identify risks that were downplayed or missing from the risk analysis.
Select the 5 most impactful insights from across all perspectives.
Step 3: Present Insights One at a Time
For each insight:
- Present the insight with context and evidence.
- Offer 2-4 response options:
- "Good catch — update the artifact"
- "Already considered — no change needed"
- "Needs more research — mark as open question"
- "Skip this one"
- Wait for the user's response before presenting the next insight.
- If the user chooses to update, immediately apply the change to the relevant artifact. Do not defer updates to the end.
Insight Format
### Did You Know? #{N}
**Perspective:** {perspective name}
**Artifact:** {file path}
**Finding:** {the insight}
**Why it matters:** {impact on implementation if not addressed}
**Evidence:** {file:line reference or artifact section}
**Options:**
1. Update the artifact with this insight
2. Already considered — no change
3. Needs more research
4. Skip
Step 4: Summary
After all insights are presented (or the user stops early):
- List which insights were accepted and which artifacts were updated.
- List any insights marked for further research.
- Note any new open questions added to the spec.
[!IMPORTANT] STOP after presenting each insight. Wait for user response before continuing. Updates are applied immediately, not batched.