HL โ {PREFIX}-{N}: {Title}¶
Date: YYYY-MM-DD Author: {author} Status: ๐ HL_DRAFT โ Awaiting review
1. Vision¶
{Strategic narrative: what we want and why โ 2-3 sentences. Write as if it's already done.}
Impact: {What changes when this is done โ for users, team, product}
Key quote from the stakeholder perspective โ what they would say when this ships.
2. Current State (As-Is)¶
Current state: problems, structure, metrics, constraints. Tables with REAL data where applicable.
3. Target State (To-Be)¶
What it should look like after. Clear deliverables. Tables comparing As-Is โ To-Be where applicable.
3.1 Result Visualization¶
Working Backwards: Show the outcome as if it's already achieved. Imagine it's done โ what does the user see? What changed? Write from the perspective of "6 months after launch."
Choose the format that fits: - Before โ After tables โ state comparison with real data - Outlines / mockups โ document structure, UI sketches, report layout - Sample output โ example paragraph, data snippet, formula result - Narrative โ timeline of a user's day after the change ships
This is NOT a process diagram or architecture flow โ those belong in ยง3.2 Value Flow. Goal: executor and user must see the "finished picture" before work begins.
3.2 Value Flow¶
Visualize HOW value gets created โ the machine, not the outcome. Show the flow from user pain โ pipeline steps โ value delivered.
Formats: - ASCII flow โ
INPUT โ PROCESSING โ OUTCOMEwith value labels - Mermaid diagram โ for complex multi-path flows - Value stream table โ columns: Step, Input, Transformation, Value CreatedThis is NOT the outcome preview (ยง3.1) โ this is the process that creates the outcome.
4. Phases¶
Break into Phases (A, B, C...) with priorities ๐ด๐ก๐ข. Each Phase = separate TSโRF cycle.
Phase Dependencies¶
For multi-phase tasks: visualize dependencies and shared files. Omit for single-phase tasks.
{mermaid graph or ASCII flow showing phase order and dependencies}
graph LR
A[Phase A: {title}] --> B[Phase B: {title}]
A --> C[Phase C: {title}]
B --> D[Phase D: {title}]
C --> D
| Phase | Depends on | Shared files | Can run in parallel with |
|---|---|---|---|
| A | Independent | โ | โ |
| B | A | {files modified by both} | C |
| C | {A or Independent} | {files modified by both} | B |
| D | B + C | {files modified by both} | โ |
Phase A: {title} ๐ด¶
For multi-phase tasks (3+ phases): include Context block per phase. Phase coordinator reads ONLY this block + referenced files โ not all research.
Requires: {Independent | Requires: Phase X โ }
โ ๏ธ Shared files with Phase X: {files modified by multiple phases โ omit if none}
Context for coordinator: numbered list of files + specific ยง/D-references to read before writing Phase TS
Key decisions: D-numbers with inline one-line summaries
โ ๏ธ Cascade dependency: {if modifying workflow steps โ warn about adjacent steps. Omit if none}
Deliverables: numbered list
- {bullet list of deliverables โ for simple tasks without Context block}
Phase B: {title} ๐ก¶
- {bullet list of deliverables}
5. Definition of Done (DoD)¶
Numbered list. Each item starts with โ . Must cover all deliverables from ยง4 Phases.
- โ 1. {Criterion 1}
- โ 2. {Criterion 2}
6. Definition of Failure (DoF)¶
Numbered list. Each item starts with โ. What to do on failure: rollback, rethink, escalate.
- โ 1. {Failure condition 1}
- โ 2. {Failure condition 2}
On failure: {action plan}
7. Principles¶
Design philosophy. Non-negotiable rules.
- {Principle name} โ {description}
- {Principle name} โ {description}
7.1 Quality Contract (optional, for multi-phase tasks)¶
Anti-patterns, style rules, and constraints that MUST be copied into each Phase TS. Purpose: prevent executor agents from drifting. Only needed for tasks where consistency across phases matters.
7.2 Knowledge Citations¶
Coordinator: scan PV Index (glossary.md โ Project Values). Full scan of priorities 1-4 (README Values, philosophy.md, KNOWLEDGE.md ยง1, conventions.md). Skim priorities 5-7 for relevant items. Reviewer will verify these links resolve to real items.
| # | Source | Item | How it applies |
|---|---|---|---|
For new projects with empty KNOWLEDGE.md: "No applicable knowledge items โ project in bootstrap phase."
8. Dependencies¶
| Dependency | Status |
|---|---|
| {dependency} | โฌ / โ |
9. Risks¶
| Risk | Probability | Impact | Mitigation |
|---|---|---|---|
| {risk} | Low/Medium/High | Low/Medium/High | {mitigation} |
10. RESEARCH Case¶
Blind Spots¶
- {What we do NOT know that could affect our approach}
Hypotheses¶
| # | Hypothesis | Status |
|---|---|---|
| H1 | {Statement to verify} | open |
Filter: Each hypothesis: "If proven false, would our approach change?" If no โ remove.
Risks of Not Researching¶
{What happens IF we skip RESEARCH}
Proposed RESEARCH Focus¶
- Gather: {specific question}
- Extract: {specific question}
- Challenge: {specific question}
Why Not Just...?¶
- Why not {obvious alternative A}? โ {reason}
- Why not {obvious alternative B}? โ {reason}
11. Strategic Insights (Planning)¶
Cognitive mode: Deep analytical synthesis. Capture human-sourced domain knowledge, then ADD implications โ what does this insight mean for the project's direction?
Human-Only Test: Would this insight be unknown without the user saying it? If an agent can discover it by reading code โ it's NOT a strategic insight, it's a Fact Candidate (ยง6).
High-value signals to watch for: - User corrects direction or reframes the problem - User expresses emotion (frustration, excitement, urgency) - User shares domain knowledge not in any artifact - User makes strategic decisions between alternatives - User reveals business context, stakeholder priorities, or constraints
Categories: conventions.md ยง10.1.
| # | Insight | Category | Source |
|---|---|---|---|
| S1 | {insight} | {category โ see ยง10.1} | User, |
Cross-references: use Reference Format (e.g.
[RF TFW-18](../../tasks/TFW-18__knowledge_consolidation/RF__PhaseB__knowledge_quality.md),D24,[TD-72](../tech-debt.md)). See compilable_contract.md ยง2. Build script resolves to hyperlinks.
HL โ {PREFIX}-{N}: {Title} | YYYY-MM-DD