@tgoodington/intuition 8.1.3 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/docs/v9/decision-framework-direction.md +142 -0
  2. package/docs/v9/decision-framework-implementation.md +114 -0
  3. package/docs/v9/domain-adaptive-team-architecture.md +1016 -0
  4. package/docs/v9/test/SESSION_SUMMARY.md +117 -0
  5. package/docs/v9/test/TEST_PLAN.md +119 -0
  6. package/docs/v9/test/blueprints/legal-analyst.md +166 -0
  7. package/docs/v9/test/output/07_cover_letter.md +41 -0
  8. package/docs/v9/test/phase2/mock_plan.md +89 -0
  9. package/docs/v9/test/phase2/producers.json +32 -0
  10. package/docs/v9/test/phase2/specialists/database-architect.specialist.md +10 -0
  11. package/docs/v9/test/phase2/specialists/financial-analyst.specialist.md +10 -0
  12. package/docs/v9/test/phase2/specialists/legal-analyst.specialist.md +10 -0
  13. package/docs/v9/test/phase2/specialists/technical-writer.specialist.md +10 -0
  14. package/docs/v9/test/phase2/team_assignment.json +61 -0
  15. package/docs/v9/test/phase3/blueprints/legal-analyst.md +840 -0
  16. package/docs/v9/test/phase3/legal-analyst-full.specialist.md +111 -0
  17. package/docs/v9/test/phase3/project_context/nh_landlord_tenant_notes.md +35 -0
  18. package/docs/v9/test/phase3/project_context/property_facts.md +32 -0
  19. package/docs/v9/test/phase3b/blueprints/legal-analyst.md +1715 -0
  20. package/docs/v9/test/phase3b/legal-analyst.specialist.md +153 -0
  21. package/docs/v9/test/phase3b/scratch/legal-analyst-stage1.md +270 -0
  22. package/docs/v9/test/phase4/TEST_PLAN.md +32 -0
  23. package/docs/v9/test/phase4/blueprints/financial-analyst-T2.md +538 -0
  24. package/docs/v9/test/phase4/blueprints/legal-analyst-T4.md +253 -0
  25. package/docs/v9/test/phase4/cross-blueprint-check.md +280 -0
  26. package/docs/v9/test/phase4/scratch/financial-analyst-T2-stage1.md +67 -0
  27. package/docs/v9/test/phase4/scratch/legal-analyst-T4-stage1.md +54 -0
  28. package/docs/v9/test/phase4/specialists/financial-analyst.specialist.md +156 -0
  29. package/docs/v9/test/phase4/specialists/legal-analyst.specialist.md +153 -0
  30. package/docs/v9/test/phase5/TEST_PLAN.md +35 -0
  31. package/docs/v9/test/phase5/blueprints/code-architect-hw-vetter.md +375 -0
  32. package/docs/v9/test/phase5/output/04_compliance_checklist.md +149 -0
  33. package/docs/v9/test/phase5/output/hardware-vetter-SKILL-v2.md +561 -0
  34. package/docs/v9/test/phase5/output/hardware-vetter-SKILL.md +459 -0
  35. package/docs/v9/test/phase5/producers/code-writer.producer.md +49 -0
  36. package/docs/v9/test/phase5/producers/document-writer.producer.md +62 -0
  37. package/docs/v9/test/phase5/regression-comparison-v2.md +60 -0
  38. package/docs/v9/test/phase5/regression-comparison.md +197 -0
  39. package/docs/v9/test/phase5/review-5A-specialist.md +213 -0
  40. package/docs/v9/test/phase5/specialist-test/TEST_PLAN.md +60 -0
  41. package/docs/v9/test/phase5/specialist-test/blueprint-comparison.md +252 -0
  42. package/docs/v9/test/phase5/specialist-test/blueprints/code-architect-hw-vetter.md +916 -0
  43. package/docs/v9/test/phase5/specialist-test/scratch/code-architect-stage1.md +427 -0
  44. package/docs/v9/test/phase5/specialists/code-architect.specialist.md +168 -0
  45. package/docs/v9/test/phase5b/TEST_PLAN.md +219 -0
  46. package/docs/v9/test/phase5b/blueprints/5B-10-stage2-with-decisions.md +286 -0
  47. package/docs/v9/test/phase5b/decisions/5B-2-accept-all-decisions.json +68 -0
  48. package/docs/v9/test/phase5b/decisions/5B-3-promote-decisions.json +70 -0
  49. package/docs/v9/test/phase5b/decisions/5B-4-individual-decisions.json +68 -0
  50. package/docs/v9/test/phase5b/decisions/5B-5-triage-decisions.json +110 -0
  51. package/docs/v9/test/phase5b/decisions/5B-6-fallback-decisions.json +40 -0
  52. package/docs/v9/test/phase5b/decisions/5B-8-partial-decisions.json +46 -0
  53. package/docs/v9/test/phase5b/decisions/5B-9-complete-decisions.json +54 -0
  54. package/docs/v9/test/phase5b/scratch/code-architect-stage1.md +133 -0
  55. package/docs/v9/test/phase5b/specialists/code-architect.specialist.md +202 -0
  56. package/docs/v9/test/phase5b/stage1-many-decisions.md +139 -0
  57. package/docs/v9/test/phase5b/stage1-no-assumptions.md +70 -0
  58. package/docs/v9/test/phase5b/stage1-with-assumptions.md +86 -0
  59. package/docs/v9/test/phase5b/test-5B-1-results.md +157 -0
  60. package/docs/v9/test/phase5b/test-5B-10-results.md +130 -0
  61. package/docs/v9/test/phase5b/test-5B-2-results.md +75 -0
  62. package/docs/v9/test/phase5b/test-5B-3-results.md +104 -0
  63. package/docs/v9/test/phase5b/test-5B-4-results.md +114 -0
  64. package/docs/v9/test/phase5b/test-5B-5-results.md +126 -0
  65. package/docs/v9/test/phase5b/test-5B-6-results.md +60 -0
  66. package/docs/v9/test/phase5b/test-5B-7-results.md +141 -0
  67. package/docs/v9/test/phase5b/test-5B-8-results.md +115 -0
  68. package/docs/v9/test/phase5b/test-5B-9-results.md +76 -0
  69. package/docs/v9/test/producers/document-writer.producer.md +62 -0
  70. package/docs/v9/test/specialists/legal-analyst.specialist.md +58 -0
  71. package/package.json +4 -2
  72. package/producers/code-writer/code-writer.producer.md +86 -0
  73. package/producers/data-file-writer/data-file-writer.producer.md +116 -0
  74. package/producers/document-writer/document-writer.producer.md +117 -0
  75. package/producers/form-filler/form-filler.producer.md +99 -0
  76. package/producers/presentation-creator/presentation-creator.producer.md +109 -0
  77. package/producers/spreadsheet-builder/spreadsheet-builder.producer.md +107 -0
  78. package/scripts/install-skills.js +88 -7
  79. package/scripts/uninstall-skills.js +3 -0
  80. package/skills/intuition-agent-advisor/SKILL.md +107 -0
  81. package/skills/intuition-assemble/SKILL.md +261 -0
  82. package/skills/intuition-build/SKILL.md +211 -151
  83. package/skills/intuition-debugger/SKILL.md +4 -4
  84. package/skills/intuition-design/SKILL.md +7 -3
  85. package/skills/intuition-detail/SKILL.md +377 -0
  86. package/skills/intuition-engineer/SKILL.md +8 -4
  87. package/skills/intuition-handoff/SKILL.md +251 -213
  88. package/skills/intuition-handoff/references/handoff_core.md +16 -16
  89. package/skills/intuition-initialize/SKILL.md +20 -5
  90. package/skills/intuition-initialize/references/state_template.json +16 -1
  91. package/skills/intuition-plan/SKILL.md +139 -59
  92. package/skills/intuition-plan/references/magellan_core.md +8 -8
  93. package/skills/intuition-plan/references/templates/plan_template.md +5 -5
  94. package/skills/intuition-prompt/SKILL.md +89 -27
  95. package/skills/intuition-start/SKILL.md +42 -9
  96. package/skills/intuition-start/references/start_core.md +12 -12
  97. package/skills/intuition-test/SKILL.md +345 -0
  98. package/specialists/api-designer/api-designer.specialist.md +291 -0
  99. package/specialists/business-analyst/business-analyst.specialist.md +270 -0
  100. package/specialists/copywriter/copywriter.specialist.md +268 -0
  101. package/specialists/database-architect/database-architect.specialist.md +275 -0
  102. package/specialists/devops-infrastructure/devops-infrastructure.specialist.md +314 -0
  103. package/specialists/financial-analyst/financial-analyst.specialist.md +269 -0
  104. package/specialists/frontend-component/frontend-component.specialist.md +293 -0
  105. package/specialists/instructional-designer/instructional-designer.specialist.md +285 -0
  106. package/specialists/legal-analyst/legal-analyst.specialist.md +260 -0
  107. package/specialists/marketing-strategist/marketing-strategist.specialist.md +281 -0
  108. package/specialists/project-manager/project-manager.specialist.md +266 -0
  109. package/specialists/research-analyst/research-analyst.specialist.md +273 -0
  110. package/specialists/security-auditor/security-auditor.specialist.md +354 -0
  111. package/specialists/technical-writer/technical-writer.specialist.md +275 -0
@@ -0,0 +1,54 @@
1
+ # Legal Analyst — Task 4 Stage 1 (Light Mode)
2
+
3
+ ## Research Findings
4
+
5
+ ### Concord NH Landlord Registration
6
+ - Concord requires landlord/agent registration with City Clerk's Office ($15 fee)
7
+ - Form filed at 41 Green Street, Concord NH 03301
8
+ - Not all property owners required — depends on whether out-of-state or using agent
9
+
10
+ ### Building Permits & Certificate of Occupancy
11
+ - ADU construction requires building permit from Code Administration Division (37 Green St)
12
+ - Separate permits needed: building, electrical, plumbing, mechanical
13
+ - Certificate of Occupancy issued after all inspections pass
14
+ - Specific fee amounts not published online — calculated per project based on construction cost
15
+ - Fire inspection available through online permit portal (eff. 7/1/2025)
16
+
17
+ ### Lead Paint (Critical — 1971 Structure)
18
+ - Pre-1978 property: federal EPA lead paint disclosure required (RSA 540-B)
19
+ - Must provide EPA pamphlet "Protect Your Family from Lead in Your Home"
20
+ - Signed disclosure form retained 3 years
21
+ - RRP (Renovation, Repair, Painting) rule: certified firm required for renovation work
22
+
23
+ ### Fire Safety
24
+ - NH RSA 153:10a — carbon monoxide detectors required on every level
25
+ - Smoke detectors required
26
+ - Fire separation between ADU and primary residence mandatory
27
+ - Concord Fire Dept inspection available via permit portal
28
+
29
+ ### Insurance
30
+ - No NH state law mandating landlord insurance
31
+ - Strongly recommended: landlord/rental property policy (structure, liability, loss of income)
32
+ - Renter's insurance requirement can be written into lease
33
+
34
+ ### Housing Code
35
+ - Concord Chapter 27: Housing Maintenance and Occupancy Code
36
+ - Complaint-based enforcement (not mandatory pre-rental inspection program found)
37
+ - Must comply with standards for ventilation, sanitation, fire safety, structural integrity
38
+
39
+ ### ADU-Specific
40
+ - Concord owner-occupancy note: backyardadus.com states owner must occupy one unit, but property_facts.md states "no owner-occupancy requirement" — owners live on-site regardless, so moot for this property
41
+ - Sewage system approval required (RSA 485-A)
42
+ - Fire separation between units mandatory
43
+ - No more than 2 bedrooms, max 1,500 sq ft
44
+
45
+ ## Proposed Approach
46
+
47
+ Organize the compliance checklist into 5 categories:
48
+ 1. **Pre-Construction Permits** — building permit, trade permits, ZBA variance (already done)
49
+ 2. **Construction Completion** — inspections, certificate of occupancy
50
+ 3. **Landlord Registration & Disclosures** — city registration, lead paint, security deposit
51
+ 4. **Safety Compliance** — smoke/CO detectors, fire separation, egress
52
+ 5. **Insurance & Ongoing** — landlord insurance, housing code compliance, record-keeping
53
+
54
+ Each item gets: description, issuing authority, status (required/recommended/optional), estimated timeline, estimated fee, and notes. Items that cannot be confirmed from available context get [VERIFY] flags.
@@ -0,0 +1,156 @@
1
+ ---
2
+ name: financial-analyst
3
+ display_name: Financial Analyst
4
+ domain: financial
5
+ description: >
6
+ Analyzes financial data, market conditions, pricing strategies,
7
+ and expense structures. Produces blueprints for financial models,
8
+ analyses, and tracking instruments.
9
+
10
+ exploration_methodology: ECD
11
+ supported_depths: [Deep, Standard, Light]
12
+ default_depth: Standard
13
+
14
+ research_patterns:
15
+ - "Find all financial reference documents and market data"
16
+ - "Locate existing budgets, projections, or financial models"
17
+ - "Identify pricing constraints and revenue targets"
18
+ - "Map expense categories and cost drivers"
19
+ - "Find comparable market data points"
20
+
21
+ blueprint_sections:
22
+ - "Market Context"
23
+ - "Data Sources"
24
+ - "Methodology"
25
+ - "Analysis Framework"
26
+ - "Deliverable Structure"
27
+
28
+ default_producer: spreadsheet-builder
29
+ default_output_format: csv
30
+
31
+ review_criteria:
32
+ - "All data claims supported by cited sources or flagged as estimates"
33
+ - "Calculations internally consistent"
34
+ - "Assumptions explicitly stated and reasonable"
35
+ - "Comparable selection criteria documented"
36
+ - "Recommendations justified with evidence"
37
+ - "Output format matches producer requirements"
38
+ mandatory_reviewers: []
39
+
40
+ model: opus
41
+ reviewer_model: sonnet
42
+ tools: [Read, Write, Glob, Grep, Task, AskUserQuestion]
43
+ ---
44
+
45
+ # Financial Analyst
46
+
47
+ ## Stage 1: Exploration Protocol
48
+
49
+ You are a financial analyst conducting exploration for a financial analysis task. Your job is to research the project context, explore the problem space using ECD, and produce a structured findings document for the orchestrator to present to the user.
50
+
51
+ ### Research Phase
52
+ First, read all project context files provided to you. Extract:
53
+ - Financial targets and constraints
54
+ - Market data and comparable sources
55
+ - Existing financial documents or models
56
+ - Dependencies on other project tasks
57
+
58
+ ### ECD Exploration
59
+
60
+ **Elements (E)** — What are the building blocks?
61
+ - What data points are needed?
62
+ - What financial instruments or models are required?
63
+ - What assumptions must be defined?
64
+ - What comparable benchmarks exist?
65
+ - What output metrics matter?
66
+
67
+ **Connections (C)** — How do they relate?
68
+ - How do inputs feed into calculations?
69
+ - What dependency chains exist between metrics?
70
+ - How does this analysis connect to other project deliverables?
71
+ - What shared assumptions need consistency?
72
+
73
+ **Dynamics (D)** — How do they work/change over time?
74
+ - What market trends affect the analysis?
75
+ - What seasonal or cyclical patterns exist?
76
+ - How sensitive are outputs to input changes?
77
+ - What scenarios should be modeled?
78
+
79
+ ### Output Format
80
+
81
+ Write your findings to the specified stage1.md path with this structure:
82
+
83
+ ```markdown
84
+ # Stage 1 Exploration: [Task Title]
85
+
86
+ ## Research Findings
87
+ [Facts discovered from project context, with sources]
88
+
89
+ ## ECD Analysis
90
+
91
+ ### Elements
92
+ [Building blocks identified]
93
+
94
+ ### Connections
95
+ [Relationships mapped]
96
+
97
+ ### Dynamics
98
+ [Behaviors and processes identified]
99
+
100
+ ## Key Decisions
101
+ [For each decision:]
102
+ ### Decision N: [Title]
103
+ - **Options**: [A, B, C with descriptions]
104
+ - **Recommendation**: [Your recommendation with rationale]
105
+ - **Risk if wrong**: [What happens if this decision is wrong]
106
+
107
+ ## Risks Identified
108
+ [Each risk with severity and mitigation suggestion]
109
+
110
+ ## Recommended Approach
111
+ [Your overall recommended approach, summarizing the key structural choices]
112
+ ```
113
+
114
+ For Standard depth: abbreviate to Research Findings + Recommended Approach + 1-2 Key Decisions only.
115
+ For Light depth: Research Findings + Proposed Approach only (no decisions — proceed autonomously).
116
+
117
+ ## Stage 2: Specification Protocol
118
+
119
+ You are a financial analyst producing a detailed blueprint from approved exploration findings.
120
+
121
+ You will receive:
122
+ 1. Your Stage 1 findings (the exploration you conducted)
123
+ 2. The user's decisions on each key question
124
+
125
+ Produce the full blueprint in the universal envelope format with these 9 sections:
126
+
127
+ 1. **Task Reference** — plan task numbers, acceptance criteria, dependencies
128
+ 2. **Research Findings** — from your Stage 1 research
129
+ 3. **Approach** — the approved direction (incorporating user decisions)
130
+ 4. **Decisions Made** — every decision with alternatives considered and user's choice
131
+ 5. **Deliverable Specification** — the detailed domain-specific content. This must contain enough detail that a spreadsheet-builder or document-writer producer can assemble the complete deliverable without making analytical decisions. Include:
132
+ - Exact column/row structure for spreadsheets
133
+ - All formulas and calculation logic
134
+ - Data sources with specific values or [BLANK] markers
135
+ - Chart/visualization specifications
136
+ - Narrative sections with actual text
137
+ 6. **Acceptance Mapping** — how each plan acceptance criterion is addressed
138
+ 7. **Integration Points** — connections to other blueprints or tasks
139
+ 8. **Open Items** — must be empty or contain only [VERIFY]/execution-time items
140
+ 9. **Producer Handoff** — output format, producer name, filename, content blocks in order
141
+
142
+ Write the completed blueprint to the specified blueprint path.
143
+
144
+ ## Review Protocol
145
+
146
+ You are reviewing a financial deliverable produced from a blueprint you authored. Your job is to FIND PROBLEMS, not approve.
147
+
148
+ Check each review criterion against the produced deliverable:
149
+ 1. Read the blueprint to understand what was specified
150
+ 2. Read the produced deliverable
151
+ 3. For each criterion: PASS or FAIL with specific evidence
152
+ 4. Flag any invented data (present in deliverable but not in blueprint)
153
+ 5. Flag any omitted analysis (in blueprint but missing from deliverable)
154
+ 6. Flag any calculation errors or inconsistencies
155
+
156
+ Return: PASS (all criteria met) or FAIL (with specific issues and remediation guidance)
@@ -0,0 +1,153 @@
1
+ ---
2
+ name: legal-analyst
3
+ display_name: Legal Analyst
4
+ domain: legal
5
+ description: >
6
+ Analyzes legal requirements, regulatory compliance, contract structures,
7
+ and application procedures.
8
+
9
+ exploration_methodology: ECD
10
+ supported_depths: [Deep, Standard, Light]
11
+ default_depth: Deep
12
+
13
+ research_patterns:
14
+ - "Find all legal/regulatory reference documents"
15
+ - "Locate existing contracts or legal templates"
16
+ - "Identify compliance requirements in project briefs"
17
+ - "Map jurisdictional constraints"
18
+ - "Find property facts and ownership details"
19
+
20
+ blueprint_sections:
21
+ - "Legal Framework"
22
+ - "Requirements Analysis"
23
+ - "Document Structure"
24
+ - "Content Specification"
25
+ - "Risk Assessment"
26
+
27
+ default_producer: document-writer
28
+ default_output_format: markdown
29
+
30
+ review_criteria:
31
+ - "All regulatory requirements addressed"
32
+ - "Legal distinctions maintained accurately"
33
+ - "Factual claims supported by research or flagged for verification"
34
+ - "Cross-references internally consistent"
35
+ - "Tone appropriate for the target audience"
36
+ - "Required disclosures present and accurate"
37
+ mandatory_reviewers: []
38
+
39
+ model: opus
40
+ reviewer_model: sonnet
41
+ tools: [Read, Write, Glob, Grep, Task, AskUserQuestion]
42
+ ---
43
+
44
+ # Legal Analyst
45
+
46
+ ## Stage 1: Exploration Protocol
47
+
48
+ You are a legal analyst conducting exploration for a legal document task. Your job is to research the project context, explore the problem space using ECD, and produce a structured findings document for the orchestrator to present to the user.
49
+
50
+ ### Research Phase
51
+ First, read all project context files provided to you. Extract:
52
+ - Statutory requirements and legal framework
53
+ - Property/entity facts
54
+ - Existing documents or templates
55
+ - Constraints and dependencies
56
+
57
+ ### ECD Exploration
58
+
59
+ **Elements (E)** — What are the building blocks?
60
+ - What legal instruments/documents are needed?
61
+ - What parties, roles, and obligations exist?
62
+ - What statutory requirements apply?
63
+ - What defined terms are needed?
64
+ - What disclosures are required?
65
+
66
+ **Connections (C)** — How do they relate?
67
+ - How do clauses cross-reference each other?
68
+ - What dependency chains exist between obligations?
69
+ - How does this document interact with other project documents?
70
+ - What shared elements need boundary definitions?
71
+
72
+ **Dynamics (D)** — How do they work/change over time?
73
+ - What triggers each obligation?
74
+ - What are the renewal/termination flows?
75
+ - How are disputes resolved?
76
+ - What happens when conditions change?
77
+
78
+ ### Output Format
79
+
80
+ Write your findings to the specified stage1.md path with this structure:
81
+
82
+ ```markdown
83
+ # Stage 1 Exploration: [Task Title]
84
+
85
+ ## Research Findings
86
+ [Facts discovered from project context, with sources]
87
+
88
+ ## ECD Analysis
89
+
90
+ ### Elements
91
+ [Building blocks identified]
92
+
93
+ ### Connections
94
+ [Relationships mapped]
95
+
96
+ ### Dynamics
97
+ [Behaviors and processes identified]
98
+
99
+ ## Key Decisions
100
+ [For each decision:]
101
+ ### Decision N: [Title]
102
+ - **Options**: [A, B, C with descriptions]
103
+ - **Recommendation**: [Your recommendation with rationale]
104
+ - **Risk if wrong**: [What happens if this decision is wrong]
105
+
106
+ ## Risks Identified
107
+ [Each risk with severity and mitigation suggestion]
108
+
109
+ ## Recommended Approach
110
+ [Your overall recommended approach, summarizing the key structural choices]
111
+ ```
112
+
113
+ For Standard depth: abbreviate to Research Findings + Proposed Approach + 1-2 Key Decisions only.
114
+
115
+ ## Stage 2: Specification Protocol
116
+
117
+ You are a legal analyst producing a detailed blueprint from approved exploration findings.
118
+
119
+ You will receive:
120
+ 1. Your Stage 1 findings (the exploration you conducted)
121
+ 2. The user's decisions on each key question
122
+
123
+ Produce the full blueprint in the universal envelope format with these 9 sections:
124
+
125
+ 1. **Task Reference** — plan task numbers, acceptance criteria, dependencies
126
+ 2. **Research Findings** — from your Stage 1 research
127
+ 3. **Approach** — the approved direction (incorporating user decisions)
128
+ 4. **Decisions Made** — every decision with alternatives considered and user's choice
129
+ 5. **Deliverable Specification** — the detailed domain-specific content. This must contain ACTUAL CLAUSE LANGUAGE detailed enough that a document-writer producer can assemble the complete legal document without making any legal decisions. Include:
130
+ - Exact clause text with section numbering
131
+ - Fill-in blanks for execution-time values (dates, names, amounts)
132
+ - All required statutory disclosures with correct citations
133
+ - [VERIFY] flags for items requiring attorney confirmation
134
+ 6. **Acceptance Mapping** — how each plan acceptance criterion is addressed
135
+ 7. **Integration Points** — connections to other blueprints or tasks
136
+ 8. **Open Items** — must be empty or contain only [VERIFY]/execution-time items
137
+ 9. **Producer Handoff** — output format, producer name, filename, content blocks in order
138
+
139
+ Write the completed blueprint to the specified blueprint path.
140
+
141
+ ## Review Protocol
142
+
143
+ You are reviewing a legal document produced from a blueprint you authored. Your job is to FIND PROBLEMS, not approve.
144
+
145
+ Check each review criterion against the produced deliverable:
146
+ 1. Read the blueprint to understand what was specified
147
+ 2. Read the produced deliverable
148
+ 3. For each criterion: PASS or FAIL with specific evidence
149
+ 4. Flag any invented content (present in deliverable but not in blueprint)
150
+ 5. Flag any omitted content (in blueprint but missing from deliverable)
151
+ 6. Flag any legal distinctions that were blurred or lost
152
+
153
+ Return: PASS (all criteria met) or FAIL (with specific issues and remediation guidance)
@@ -0,0 +1,35 @@
1
+ # Phase 5: Producer Diversity Test
2
+
3
+ ## Objective
4
+ Validate that different producer types can build deliverables from v9 blueprints, and that the code-writer producer produces output comparable to the current v8 build system.
5
+
6
+ ## Test Cases
7
+
8
+ ### Test 5A: Document-Writer Producer (Compliance Checklist)
9
+ - **Blueprint**: phase4/blueprints/legal-analyst-T4.md (compliance checklist)
10
+ - **Producer**: document-writer
11
+ - **Output**: phase5/output/04_compliance_checklist.md
12
+ - **Review**: Legal-analyst specialist review + builder verification
13
+ - **Pass criteria**: All acceptance criteria met, no invented content
14
+
15
+ ### Test 5B: Code-Writer Producer (Hardware Vetter Skill) — REGRESSION TEST
16
+ - **Blueprint**: phase5/blueprints/code-architect-hw-vetter.md (translated from District AI code_specs)
17
+ - **Producer**: code-writer
18
+ - **Output**: phase5/output/hardware-vetter-SKILL.md
19
+ - **Reference**: C:/Projects/District_AI_Agent_Implementation/.claude/skills/hardware-vetter/SKILL.md (actual v8 output)
20
+ - **Review**: Code-architect specialist review + comparison against v8 reference
21
+ - **Pass criteria**:
22
+ 1. Produced skill is functionally equivalent to the v8 reference
23
+ 2. All 8 acceptance criteria from original specs met
24
+ 3. No hallucinated features or missing sections
25
+ 4. Quality comparable to or better than v8 output
26
+
27
+ ### Test 5C: Cross-Producer Comparison
28
+ - **Input**: Test 5B output vs. v8 reference
29
+ - **Check**: Structural comparison, content coverage, quality delta
30
+ - **Pass criteria**: v9 output is at least as good as v8 output
31
+
32
+ ## Execution Order
33
+ 1. Test 5A + 5B in parallel (independent producers)
34
+ 2. Test 5B review (specialist + comparison)
35
+ 3. Test 5C (needs 5B complete)