Skip to content

Commit c282ff7

Browse files
authored
Merge pull request #27 from GrillerGeek/Grill-retro
IDD v1.8: grilling interview and retro stage
2 parents 2679bda + df2dc1d commit c282ff7

133 files changed

Lines changed: 5568 additions & 204 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎AGENTS.md‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@ product:
5858
conventions:
5959
- "" # Coding standards and project-specific rules
6060
auth: "" # Authentication/authorization model
61+
glossary: [] # Optional: [{term, definition, avoid?}] — vocabulary only, inherited by Specs
62+
decisions: [] # Optional: [{id: D-xxxx, decision, decided_by, decided_at, alternatives?, rationale?, resolves?}]
63+
open_questions: [] # Optional: [{id: Q-xxxx, question, needs: tech-lead|stakeholder, relates_to?}]
6164
```
6265
66+
The rendered brief at `docs/products/<same stem>.md` is generated from this YAML; never edit it by hand.
67+
6368
### Intention
6469

6570
```yaml
@@ -174,18 +179,21 @@ A Spec cannot enter **Ready** status until every item passes:
174179

175180
## Workflow Phases
176181

177-
The IDD workflow has 8 phases. You can enter at any phase:
182+
The IDD workflow has 9 phases. You can enter at any phase:
178183

179184
| Phase | Input | Output | Directory |
180185
|-------|-------|--------|-----------|
181-
| 1. Interview | Stakeholder conversation | Product YAML | `docs/products/` |
186+
| 1. Interview | Stakeholder conversation, grilled in rounds | Product YAML + rendered brief | `docs/products/` |
182187
| 2. Intentions | Product artifact | Intention YAMLs | `docs/intentions/` |
183188
| 3. Expectations | Intention artifact | Expectation YAMLs | `docs/expectations/` |
184189
| 4. Spec | Expectation artifacts | Spec YAML | `docs/specs/` |
185190
| 5. Tech Review | Spec artifact | Review annotations | Updates spec in `docs/specs/` |
186191
| 6. Gap-Check | Spec artifact | Gap-check report + `gap_check` annotation | `docs/reviews/` + annotation in `docs/specs/` |
187192
| 7. Implementation | Gated Spec | Deliverables + Execution Report | Codebase + `docs/reviews/` |
188193
| 8. Validation | Spec + implementation | Validation report | `docs/reviews/` |
194+
| 9. Retro | Validated Spec + its reports | Retro report; approved Product edits; upstream feedback | `docs/reviews/` |
195+
196+
Interview and Intention/Expectation authoring follow the grilling discipline (`plugin/references/authoring/grilling.md`): rounds of numbered questions with recommended answers, facts looked up rather than asked, and Product `glossary`, `decisions` and `open_questions` recorded as they settle. Retro is propose-only (`plugin/references/retro/retro.md`).
189197

190198
### The Gap-Check Gate (Phase 6)
191199

‎CLAUDE.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ Assessments and planning do not automatically start managed Spec execution.
88
## Claude Code integration
99

1010
The distributable plugin lives in `plugin/`. Its [README](plugin/README.md)
11-
lists all 15 `/idd-framework:*` commands and 14 role agents, including phase-0
12-
`chart`/`resolve`, the eight core stages, accelerated workflows, `archive`, and
11+
lists all 16 `/idd-framework:*` commands and 14 role agents, including phase-0
12+
`chart`/`resolve`, the eight core stages, `retro`, accelerated workflows, `archive`, and
1313
`forge`. Commands own orchestration; role agents perform the dispatched work.
1414

1515
**Model assignment strategy** (in each agent's frontmatter `model:` field):
1616

1717
- **opus** — reasoning-heavy synthesis: `deep-review-lead`, `tech-lead-reviewer`, `idd-gap-checker` (adversarial cross-block analysis)
18-
- **sonnet** — structured synthesis with codebase scanning: `spec-author`, `quick-spec-author`, `spec-reviewer`, `outcome-author`, `idd-spec-implementer`, `exploration-charter`, `exploration-resolver`, `idd-archivist`
19-
- **haiku** — template-guided decomposition metadata: `product-interviewer`, `intention-author`, `expectation-author`
18+
- **sonnet** — structured synthesis with codebase scanning: `spec-author`, `quick-spec-author`, `spec-reviewer`, `outcome-author`, `idd-spec-implementer`, `exploration-charter`, `exploration-resolver`, `idd-archivist`, and the grilling PM-path roles `product-interviewer`, `intention-author`, `expectation-author` (recommended answers and contradiction spotting are reasoning work)
2019

21-
Portable authoring keeps selection, stakeholder questions, confirmation, validation and saving in the main conversation. Optional `intention-author`/`expectation-author` drafting uses Haiku; `outcome-author`/`quick-spec-author`/`spec-author` drafting uses Sonnet. These roles return read-only proposals. Interview also stays in the stakeholder conversation. Existing role metadata is preserved; it does not authorize background agents to save unconfirmed artifacts.
20+
Portable authoring keeps selection, stakeholder questions, confirmation, validation and saving in the main conversation. All optional drafting roles (`intention-author`, `expectation-author`, `outcome-author`, `quick-spec-author`, `spec-author`) use Sonnet. These roles return read-only proposals. Interview also stays in the stakeholder conversation. Existing role metadata is preserved; it does not authorize background agents to save unconfirmed artifacts.
2221

2322
Assignments are explicit (not `inherit`) so a user running Opus in their main session doesn't pay Opus rates for a stakeholder interview. When editing agents, preserve the model assignment unless the agent's responsibilities materially change tier.
2423

@@ -39,7 +38,7 @@ Assignments are explicit (not `inherit`) so a user running Opus in their main se
3938

4039
Run `npm run check` and `npm test` for contributor validation. The shared guide
4140
describes setup, the isolated `npm run test:install` probe and separate actual-host
42-
evidence. Sixteen bundle entrypoints represent fifteen stages plus the complete
41+
evidence. Seventeen bundle entrypoints represent sixteen stages plus the complete
4342
router. Archive and router observations are accepted for their documented cases;
4443
native alias execution and published-ref installation remain separate.
4544

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Intent-Driven Development Framework
22

33
[![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC_BY--SA_4.0-lightgrey.svg)](LICENSE)
4-
[![Framework](https://img.shields.io/badge/framework-v1.7-green.svg)](docs/framework.md)
5-
[![Plugin](https://img.shields.io/badge/plugin-v1.7.1-blue.svg)](plugin/README.md)
4+
[![Framework](https://img.shields.io/badge/framework-v1.8-green.svg)](docs/framework.md)
5+
[![Plugin](https://img.shields.io/badge/plugin-v1.8.0-blue.svg)](plugin/README.md)
66

77
**Turn an idea into a reviewed specification that developers and AI agents can build.**
88

@@ -18,7 +18,7 @@ without installing a plugin.
1818

1919
## Install
2020

21-
Install **IDD 1.7.1 from its published main branch**. Choose one route below for
21+
Install **IDD 1.8.0 from its published main branch**. Choose one route below for
2222
your coding app. No source clone, contributor build or Guildhall installation is
2323
required.
2424

@@ -60,7 +60,7 @@ Choose **project** to keep the skill with this project; choose **global** if you
6060
want it available across projects. Version `1.5.25` is the tested installer pin,
6161
not the IDD version.
6262

63-
**Start with `idd-orchestration`.** This single skill includes all fifteen IDD
63+
**Start with `idd-orchestration`.** This single skill includes all sixteen IDD
6464
workflow stages; you do not need to select or install each stage. Individual
6565
stage skills remain available for users who want a narrower installation.
6666

‎docs/artifacts.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ The Product is the highest-level artifact. It defines the business problem, targ
2828
| Context | Product-level tech stack, patterns, conventions, auth — **inherited by all child Specs**. Strongly recommended: without it, every Spec must define its own Context from scratch. |
2929
| Success Criteria | How do we know this Product is successful at the business level? |
3030

31+
### Grilling Records (optional)
32+
33+
The interview and the PM-path authoring stages record what they settle directly in the Product YAML. A readable brief is rendered beside it at `docs/products/<same stem>.md`; the YAML stays canonical and the brief is never hand-edited.
34+
35+
| Field | Description |
36+
|---|---|
37+
| Glossary | Settled project vocabulary (`term`, `definition`, optional `avoid`). Vocabulary only — no implementation detail. Inherited by Specs. |
38+
| Decisions | Every stakeholder decision (`D-` + 4 hex ID). Decisions that are hard to reverse, surprising without context and the result of a real trade-off also record `alternatives` and `rationale`. |
39+
| Open Questions | Unresolved items (`Q-` + 4 hex ID) marked `needs: tech-lead` or `needs: stakeholder`, optionally scoped with `relates_to`. A Spec cannot pass gap-check while a relevant question is open. |
40+
3141
### Authorship
3242

3343
- **Created by:** Product Owner with input from business sponsor and leadership

‎docs/contributing-agents.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Codex can maintain this checkout through AGENTS.md and this guide. Native Codex
2424
and Claude plugins and portable skills have verified local implementation. See
2525
the [installation guide](installation.md) and current
2626
[catch-up report](reviews/2026-09-13-overnight-catch-up.md) for choices and limits.
27-
Fifteen standalone stages have complete bundles, covering interview, authoring, technical/deep
28-
review, gap-check, guarded implementation, validation, Forge, exploration and archival. Archive
27+
Sixteen standalone stages have complete bundles, covering interview, authoring, technical/deep
28+
review, gap-check, guarded implementation, validation, retro, Forge, exploration and archival. Archive
2929
host acceptance is complete for all eight required cases; the complete router has accepted integration evidence, with native Codex/Claude packaging and its isolated lifecycle checks complete. See the [pilot instructions](../plugin/README.md#portable-workflow-pilot)
3030
for local installation and recorded host-evaluation limits.
3131

@@ -42,7 +42,7 @@ for local installation and recorded host-evaluation limits.
4242
| `examples/` | Worked hierarchies; historical cases remain historical evidence |
4343
| `plugin/commands/`, `plugin/agents/` | Claude entry points; all stage bodies are thin adapters; frontmatter owns names and models |
4444
| `plugin/workflows/`, `plugin/references/` | Canonical router, portable stage procedures and reference sources; edit these |
45-
| `plugin/skill-catalog.json` | Explicit source/destination mappings, fifteen stages and sixteen bundles |
45+
| `plugin/skill-catalog.json` | Explicit source/destination mappings, sixteen stages and seventeen bundles |
4646
| `plugin/skills/` | Committed generated complete router and standalone stage bundles; rebuild rather than edit |
4747
| `scripts/`, `tests/`, `.github/workflows/validate.yml` | Assembly, validation, regression tests and CI |
4848
| `plugin/bin/`, `plugin/scripts/` | ID generation, archive inventory, and directory initialization helpers |
@@ -132,8 +132,8 @@ Checks never rewrite artifacts, infer human peer review, detect every semantic
132132
gap, or grant execution permission.
133133

134134
The orchestration skill remains an explicit `legacy-claude` bundle with unchanged
135-
resources. Fifteen catalog stages are `pilot` and require matching portable bundles;
136-
all fifteen stages now emit complete bundles; no placeholder stage remains. Pilot
135+
resources. Sixteen catalog stages are `pilot` and require matching portable bundles;
136+
all sixteen stages now emit complete bundles; no placeholder stage remains. Pilot
137137
references are maintained in `plugin/references/pilot/`; retain parity with the
138138
legacy contract when future changes affect both. Installation evidence alone
139139
does not prove real workflow behavior.
@@ -274,7 +274,7 @@ After documented preparation timeouts, Archive evaluation additionally accepts `
274274

275275
## Router distribution verification
276276

277-
The router has all fifteen stage closures under `stages/<stage>/`, with nested
277+
The router has all sixteen stage closures under `stages/<stage>/`, with nested
278278
`workflow.md` entries and one public root `SKILL.md`. Catalog mappings reuse each
279279
direct source exactly. The only direct workflow/runtime changes in this milestone
280280
are interview's loaded-entry root clarification and guarded execution's safe

‎docs/framework.md‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ IDD replaces the sprint cycle with a continuous flow model anchored by spec read
116116
| **6. Validate** | Automated + human validation against Expectations | All Expectations verified; edge cases covered | QA + Product Owner |
117117
| **7. Deploy** | Release to environment; confirm in production | Deployment successful; monitoring stable | DevOps + Tech Lead |
118118

119+
**Retro (after Validate, before archive).** A propose-only retro reads the Spec's Execution Reports (`spec_gaps_encountered`), gap-check and validation reports, and any build-team plan, then proposes evidence-traced fixes: Product context, glossary or decisions; automated checks (as follow-on Specs); reviewer conventions; and upstream feedback on IDD templates or the gap-checker. Nothing changes without human approval. Its report's `lessons` survive archive in the ledger. Retro is optional but nudged: validation recommends it, and archive warns when a Spec with recorded gaps has none.
120+
121+
**Grilling the Define phase.** The interview and outcome authoring stages ask in rounds, with a recommended answer for every question, look facts up instead of asking, and record vocabulary, decisions and open questions in the Product. A product manager can own Product, Intentions and Expectations and hand off a rendered Product brief; technical questions they can't answer become `needs: tech-lead` open questions that write-spec must resolve and gap-check enforces.
122+
119123
### Spec Completeness Checklist
120124

121125
A Spec is not ready for AI execution until it passes this checklist. This replaces "Definition of Ready."
@@ -272,7 +276,7 @@ See [roles.md](roles.md) for detailed role definitions. Summary:
272276
| **Spec Review** | Sprint Planning + Refinement | As Specs reach Ready | 30 min | Validate completeness and human readiness review; execution additionally requires a clean gap-check |
273277
| **Flow Sync** | Daily Standup | 2–3x per week | 15 min | Review WIP board; surface blockers |
274278
| **Validation Review** | Sprint Review / Demo | Per Spec completion | 30 min | PO validates Expectations; accept or return |
275-
| **Process Retro** | Sprint Retrospective | Biweekly or monthly | 45 min | Review metrics; improve process |
279+
| **Process Retro** | Sprint Retrospective | Biweekly or monthly | 45 min | Review metrics and the `lessons` from per-Spec retros; improve process |
276280
| **Architecture Check** | N/A (new) | Weekly | 30 min | Review coherence across active Specs |
277281

278282
### What Goes Away
@@ -327,7 +331,7 @@ That is IDD's founding premise (§1): when the build phase compresses 5–10×,
327331

328332
| # | Stage | The question it answers | IDD lifecycle phase(s) |
329333
|---|---|---|---|
330-
| 1 | **Grill** | How do I brief an AI well? | **Define** — interview the stakeholder into a Product, rather than writing a perfect prompt |
334+
| 1 | **Grill** | How do I brief an AI well? | **Define** — grill the stakeholder in rounds into a Product with vocabulary, decisions and open questions, rather than writing a perfect prompt |
331335
| 2 | **Research** *(optional)* | How do I keep it grounded in current facts? | **Specify** — the Spec's Context block captures stack, patterns, conventions, and code references; external sources are curated into Context rather than left to model memory |
332336
| 3 | **Prototype** *(optional)* | How do I test an idea before committing? | *Outside core IDD* — a disposable spike to react to, not an artifact that flows through the hierarchy |
333337
| 4 | **PRD/Plan** | How do we end up at the right place? | **Define + Specify** — an Intention states *what* the outcome is; Expectations state *how we'll know it's right*, which is the written-down definition of "done" |
@@ -351,7 +355,7 @@ The IDD plugin's `/idd-framework:*` commands carry the upstream stages; the **Gu
351355
| 4 | PRD/Plan | `/define-intentions`, `/define-expectations` (or `/define-outcomes`) | — |
352356
| 5 | Issues/Tasks | `/write-spec` (or `/quick-spec`); one Spec per chunk | Mordain's committed `plan.md` orders the quest into TDD-sequenced tasks |
353357
| 6 | Implement | `/implement-spec` — managed, single-agent build with self-verification | `/quest` — TDD loop: Seraphine (red tests) → Bruga (green code) → Tink (refactor) |
354-
| 7 | Review | `/gap-check` (before execution), `/review-spec` (after) | Parallel reviewer fan-out — Oriana (security) and Cassian (docs) always-on, plus gated specialists; Rook drafts the PR |
358+
| 7 | Review | `/gap-check` (before execution), `/review-spec` (after), `/retro` (learn and improve before archive) | Parallel reviewer fan-out — Oriana (security) and Cassian (docs) always-on, plus gated specialists; Rook drafts the PR |
355359

356360
**The Spec is the seam.** IDD produces a complete, gap-checked Spec; Guildhall is built to consume it ("Integrates with IDD-framework specs"). That gives you two execution paths off the *same* artifact: run `/implement-spec` for a managed single-agent build, or hand the Spec to `/quest` when you want the full TDD-ordered guild with parallel specialist review. Stage 6 — the "loop and subagents" doing the work — is the only stage where you let the agent move fast, because stages 1–5 already did the deciding.
357361

@@ -387,3 +391,6 @@ Add the rest as the habit takes. The leverage is in the order, not the tooling.
387391
| **Gap-Check Gate** | Adversarial review stage run after a Spec reaches Ready and before execution begins; requires zero unresolved Blockers and Warnings before execution; aims to catch ambiguity, contradictions, and missing context before the build |
388392
| **Execution Report** | Artifact produced by the executing agent upon completing a Spec; records every Boundary acknowledged, a self-verification table against all Expectations and Deliverables, and any Spec gaps encountered during execution; stored alongside the Spec |
389393
| **Flow Sync** | Brief alignment meeting replacing daily standup |
394+
| **Product Brief** | Readable Markdown rendering of a Product and its live Intentions and Expectations, generated beside the Product YAML; the handoff a build team reads |
395+
| **Open Question** | Unresolved Product item marked `needs: tech-lead` or `needs: stakeholder`; a relevant open question blocks its Spec at gap-check |
396+
| **Retro** | Propose-only, evidence-traced review after validation that routes fixes to Product context, automated checks, reviewer conventions or upstream feedback, applying only what a human approves |

0 commit comments

Comments
 (0)