Skip to content

Commit 87f9962

Browse files
chaosdinosaurBill Berry
andauthored
feat(instructions): add DT-to-RPI handoff contract specification (#679)
# Pull Request ## Description Add ambient-tier instruction defining the formal contract for lateral handoffs from Design Thinking coaching into the RPI (Research → Plan → Implement) workflow. The handoff contract includes: - **Tiered Handoff Schema** — Three exit points aligned to DT space boundaries (Problem Statement Complete, Concept Validated, Implementation Spec Ready) - **Exit-Point Artifact Schema** — YAML template for handoff summary files extending the coaching state pattern - **RPI Input Contracts** — Per-agent table defining what each RPI agent (researcher, planner, implementor) needs from DT outputs - **Graduation Awareness Behavior** — Four-step flow (Detect → Surface → Prepare → Transfer) for the DT coach at space boundaries - **Handoff Quality Markers** — Confidence taxonomy (validated/assumed/unknown/conflicting) with RPI implications Token budget: ~1,500–2,000 tokens (ambient tier, `applyTo: '**/.copilot-tracking/dt/**'`). ## Related Issue(s) Closes #583 ## Type of Change **AI Artifacts:** - [x] Copilot instructions (`.github/instructions/*.instructions.md`) ## Sample Prompts (for AI Artifact Contributions) **User Request:** "We've finished our synthesis and have a validated problem statement. Let's hand this off to the RPI workflow for implementation planning." **Execution Flow:** 1. DT coach detects space boundary readiness signals (Method 3 complete, synthesis validated). 2. Coach surfaces lateral handoff option: "Your problem statement looks solid. You could continue to Method 4 (Brainstorming), revisit earlier methods, or hand off to the RPI Researcher to investigate implementation approaches." 3. If handoff chosen, coach creates `handoff-summary.md` with artifacts tagged by confidence markers. 4. Coach records lateral transition in coaching state and provides handoff summary path to the RPI agent. **Output Artifacts:** `.copilot-tracking/dt/{project-slug}/handoff-summary.md` — YAML-structured handoff file with exit point, artifacts, constraints, and assumptions, each tagged with confidence markers. **Success Indicators:** - Handoff summary contains all DT artifacts with confidence markers - RPI agent receives structured input matching its input contract - Coach remains available for advisory after handoff ## Testing - `npm run lint:md` — 0 errors (183 files) - `npm run lint:frontmatter` — 0 errors, 0 warnings - `npm run lint:collections-metadata` — 11 collections validated, 0 errors - `npm run plugin:generate` — 11 plugins generated successfully ## Checklist ### Required Checks - [x] Documentation is updated (if applicable) - [x] Files follow existing naming conventions - [x] Changes are backwards compatible (if applicable) ### AI Artifact Contributions - [x] Verified contribution follows common standards and type-specific requirements ### Required Automated Checks - [x] Markdown linting: `npm run lint:md` - [x] Frontmatter validation: `npm run lint:frontmatter` ## Security Considerations - [x] This PR does not contain any sensitive or NDA information ## Additional Notes Part of Epic #563 — Design Thinking Coaching Capabilities (Phase 5: Implementation Space). This ambient instruction enables the DT coach agent to formally transition teams from coaching into the RPI implementation workflow with structured artifact handoff. --------- Co-authored-by: Bill Berry <wbery@microsoft.com>
1 parent d3ec70d commit 87f9962

File tree

8 files changed

+99
-0
lines changed

8 files changed

+99
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
description: 'DT-to-RPI handoff contract defining exit points, artifact schemas, and per-agent input requirements for lateral transitions from Design Thinking to RPI workflow'
3+
applyTo: '**/.copilot-tracking/dt/**'
4+
---
5+
6+
# DT→RPI Handoff Contract
7+
8+
Defines the formal contract for lateral handoffs from Design Thinking coaching into the RPI (Research → Plan → Implement) workflow. Use this guidance whenever a team graduates from a DT space boundary or explicitly requests implementation support.
9+
10+
## Tiered Handoff Schema
11+
12+
Three exit points align with DT space boundaries. Each exit targets the RPI agent best suited to consume DT outputs at that stage.
13+
14+
| Exit Point | DT Methods | DT Space Boundary | RPI Target | What Transfers |
15+
|----------------------------|--------------|---------------------------|-------------|----------------------------------------------------------------------------------------|
16+
| Problem Statement Complete | 1-3 complete | Problem → Solution | Researcher | Validated problem statement, synthesis themes, stakeholder map, constraint inventory |
17+
| Concept Validated | 4-6 complete | Solution → Implementation | Planner | Tested concepts, lo-fi prototype feedback, constraint discoveries, narrowed directions |
18+
| Implementation Spec Ready | 7-8 complete | Implementation exit | Implementor | Hi-fi prototype specs, user testing results, architecture decisions, rollout criteria |
19+
20+
Earlier exit points produce more RPI work. A Problem Statement Complete handoff requires full RPI research and planning. An Implementation Spec Ready handoff may skip directly to implementation.
21+
22+
## Exit-Point Artifact Schema
23+
24+
Record handoff artifacts in the coaching state `transition_log` using a lateral transition entry. Create a handoff summary file alongside the coaching state.
25+
26+
```yaml
27+
# .copilot-tracking/dt/{project-slug}/handoff-summary.md
28+
exit_point: "problem-statement-complete | concept-validated | implementation-spec-ready"
29+
dt_method: 3 # last completed DT method
30+
dt_space: "problem" # space being exited
31+
handoff_target: "researcher | planner | implementor"
32+
date: "YYYY-MM-DD"
33+
34+
artifacts:
35+
- path: ".copilot-tracking/dt/{project-slug}/method-03-synthesis-themes.md"
36+
type: "synthesis-themes"
37+
confidence: validated
38+
- path: ".copilot-tracking/dt/{project-slug}/method-01-stakeholder-map.md"
39+
type: "stakeholder-map"
40+
confidence: validated
41+
42+
constraints:
43+
- description: "System must integrate with existing ERP"
44+
source: "stakeholder-interview"
45+
confidence: validated
46+
- description: "Budget limited to current fiscal year"
47+
source: "project-sponsor"
48+
confidence: assumed
49+
50+
assumptions:
51+
- description: "Maintenance team has tablet access on factory floor"
52+
confidence: unknown
53+
impact: "high"
54+
```
55+
56+
## RPI Input Contracts
57+
58+
Each RPI agent consumes different DT outputs. Provide artifacts matching the target agent's needs.
59+
60+
| RPI Agent | Required Inputs | Optional Inputs | Format |
61+
|-------------|---------------------------------------------------------------------------|-----------------------------------------------------------------------------|-----------------------------------------------------------------|
62+
| Researcher | Problem statement, synthesis themes, constraint inventory | Stakeholder map, interview evidence, environmental context | Free-form topic referencing DT artifacts by path |
63+
| Planner | Validated concepts, constraint discoveries, user feedback from prototypes | Synthesis themes, stakeholder alignment status, frozen/fluid classification | Research file path (from RPI researcher) plus DT artifact paths |
64+
| Implementor | Hi-fi prototype specs, user testing results, architecture decisions | Performance benchmarks, rollout criteria, trade-off documentation | Plan file path (from RPI planner) |
65+
66+
When handing off to the Researcher, frame the DT problem statement as the research topic and reference artifact paths so the researcher can read DT evidence directly rather than relying on summarized context.
67+
68+
## Graduation Awareness Behavior
69+
70+
The DT coach monitors for handoff readiness at every space boundary using this four-step flow:
71+
72+
1. **Detect**: At each method boundary, assess whether the team's work satisfies the space boundary readiness signals defined in the method sequencing protocol.
73+
2. **Surface**: When readiness signals are met, explicitly name the lateral handoff option alongside forward and backward options. State which exit point applies and which RPI agent would receive the work.
74+
3. **Prepare**: If the team chooses lateral handoff, create the handoff summary file. Tag each artifact and constraint with a confidence marker. Identify gaps where confidence is `unknown` or `conflicting`.
75+
4. **Transfer**: Record a lateral transition in the coaching state `transition_log` with rationale. Announce the handoff target and provide the handoff summary path for the RPI agent.
76+
77+
The coach remains available in an advisory capacity after handoff. If the RPI workflow surfaces questions that require DT methods, the team can resume coaching from the recorded state.
78+
79+
## Handoff Quality Markers
80+
81+
Every artifact, constraint, and assumption in the handoff summary carries a confidence marker:
82+
83+
| Marker | Definition | RPI Implication |
84+
|---------------|----------------------------------------------------------|---------------------------------------------------|
85+
| `validated` | Confirmed through multiple sources or direct observation | Accept as grounded input |
86+
| `assumed` | Stated by a source but not independently confirmed | Flag for verification during RPI research |
87+
| `unknown` | Gap identified but not yet investigated | Prioritize in RPI research scope |
88+
| `conflicting` | Multiple sources disagree | Resolve before planning; escalate if unresolvable |
89+
90+
The RPI researcher treats `assumed`, `unknown`, and `conflicting` markers as investigation targets. The RPI planner distinguishes `validated` constraints from `assumed` ones when assessing implementation risk.

collections/design-thinking.collection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ This collection includes agents, prompts, and instructions for:
1313
- **DT Method 02: Design Research** — Interview techniques, research planning, environmental observation, and insight extraction patterns for systematic discovery of end-user needs through direct engagement across three phases: planning, execution, and documentation
1414
- **DT Method 03: Input Synthesis** — Pattern recognition, theme development, synthesis validation, and Problem-to-Solution Space transition readiness for transforming fragmented research data into unified problem understanding
1515
- **DT Method 03 Deep** — Advanced affinity analysis with multi-pass clustering, insight frameworks with observation-inference-insight formula, HMW question scaffolding, problem statement articulation, and manufacturing synthesis patterns
16+
- **DT→RPI Handoff Contract** — Exit-point definitions, artifact schemas, per-agent input contracts, graduation awareness behavior, and quality markers for lateral transitions from Design Thinking coaching into the RPI workflow
1617
- **DT Method 07: High-Fidelity Prototypes** — Technical translation, functional prototypes, and specifications for Implementation Space entry with three-hat architecture and progressive fidelity modeling
1718
- **DT Method 07: Deep Expertise** — On-demand fidelity translation, architecture trade-off analysis, specification writing patterns, and manufacturing-specific prototyping guidance for complex Method 7 coaching scenarios

collections/design-thinking.collection.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ items:
3030
kind: instruction
3131
- path: .github/instructions/design-thinking/dt-coaching-state.instructions.md
3232
kind: instruction
33+
- path: .github/instructions/design-thinking/dt-rpi-handoff-contract.instructions.md
34+
kind: instruction
3335
- path: .github/instructions/design-thinking/dt-method-01-deep.instructions.md
3436
kind: instruction
3537
- path: .github/instructions/design-thinking/dt-method-01-scope.instructions.md

collections/hve-core-all.collection.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ items:
186186
kind: instruction
187187
- path: .github/instructions/design-thinking/dt-quality-constraints.instructions.md
188188
kind: instruction
189+
- path: .github/instructions/design-thinking/dt-rpi-handoff-contract.instructions.md
190+
kind: instruction
189191
- path: .github/instructions/github/community-interaction.instructions.md
190192
kind: instruction
191193
maturity: experimental

plugins/design-thinking/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ copilot plugin install design-thinking@hve-core
3232
| dt-method-sequencing | Method transition rules, nine-method sequence, space boundaries, and non-linear iteration support for Design Thinking coaching |
3333
| dt-quality-constraints | Quality constraints, fidelity rules, and output standards for Design Thinking coaching across all nine methods |
3434
| dt-coaching-state | Coaching state schema for Design Thinking session persistence, method progress tracking, and session recovery |
35+
| dt-rpi-handoff-contract | DT-to-RPI handoff contract defining exit points, artifact schemas, and per-agent input requirements for lateral transitions from Design Thinking to RPI workflow |
3536
| dt-method-01-deep | Deep expertise for Method 1: Scope Conversations, covering advanced stakeholder analysis, power dynamics, and scope negotiation |
3637
| dt-method-01-scope | Method 1 Scope Conversations coaching knowledge for Design Thinking: frozen vs fluid assessment, stakeholder discovery, constraint patterns, and conversation navigation |
3738
| dt-method-03-deep | Deep expertise for Method 3: Input Synthesis — advanced affinity analysis, insight frameworks, and problem statement articulation |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../.github/instructions/design-thinking/dt-rpi-handoff-contract.instructions.md

plugins/hve-core-all/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ copilot plugin install hve-core-all@hve-core
110110
| dt-method-07-hifi-prototypes | Design Thinking Method 7: High-Fidelity Prototypes; technical translation, functional prototypes, and specifications |
111111
| dt-method-sequencing | Method transition rules, nine-method sequence, space boundaries, and non-linear iteration support for Design Thinking coaching |
112112
| dt-quality-constraints | Quality constraints, fidelity rules, and output standards for Design Thinking coaching across all nine methods |
113+
| dt-rpi-handoff-contract | DT-to-RPI handoff contract defining exit points, artifact schemas, and per-agent input requirements for lateral transitions from Design Thinking to RPI workflow |
113114
| community-interaction | Community interaction voice, tone, and response templates for GitHub-facing agents and prompts |
114115
| github-backlog-discovery | Discovery protocol for GitHub backlog management - artifact-driven, user-centric, and search-based issue discovery |
115116
| github-backlog-planning | Reference specification for GitHub backlog management tooling - planning files, search protocols, similarity assessment, and state persistence |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../.github/instructions/design-thinking/dt-rpi-handoff-contract.instructions.md

0 commit comments

Comments
 (0)