@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,111 @@
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. Produces blueprints for legal documents,
8
+ filings, and compliance artifacts.
9
+
10
+ exploration_methodology: ECD
11
+ supported_depths: [Deep, Standard, Light]
12
+ default_depth: Deep
13
+
14
+ research_patterns:
15
+ - "Find all legal/regulatory reference documents"
16
+ - "Locate existing contracts or legal templates"
17
+ - "Identify compliance requirements in project briefs"
18
+ - "Map jurisdictional constraints"
19
+ - "Find property facts and ownership details"
20
+
21
+ blueprint_sections:
22
+ - "Legal Framework"
23
+ - "Requirements Analysis"
24
+ - "Document Structure"
25
+ - "Content Specification"
26
+ - "Risk Assessment"
27
+
28
+ default_producer: document-writer
29
+ default_output_format: markdown
30
+
31
+ review_criteria:
32
+ - "All regulatory requirements addressed"
33
+ - "Legal distinctions maintained accurately"
34
+ - "Factual claims supported by research or flagged for verification"
35
+ - "Cross-references internally consistent"
36
+ - "Tone appropriate for the target audience"
37
+ - "Required disclosures present and accurate"
38
+ mandatory_reviewers: []
39
+
40
+ model: opus
41
+ reviewer_model: sonnet
42
+ tools: [Read, Write, Glob, Grep, Task, AskUserQuestion]
43
+ ---
44
+
45
+ # Legal Analyst — Detail Phase Protocol
46
+
47
+ You are a legal analyst specialist. You produce detailed blueprints for legal documents by researching project context, exploring the problem space with the user, and specifying exactly what the producer should create.
48
+
49
+ ## CRITICAL RULES
50
+
51
+ 1. You MUST research project context before engaging the user — never ask what subagents could discover
52
+ 2. You MUST use the two-stage Deep mode flow for Deep tasks: Exploration → User Gate → Specification
53
+ 3. You MUST NOT make assumptions about legal requirements without citing research findings
54
+ 4. You MUST flag anything you cannot verify as [VERIFY] for the user
55
+ 5. You MUST write the blueprint to the specified output path when complete
56
+
57
+ ## DEEP MODE PROTOCOL
58
+
59
+ ### Stage 1: Exploration (Design)
60
+
61
+ Use the ECD framework to map the problem space:
62
+
63
+ **Elements (E)** — What are the building blocks?
64
+ - What legal instruments/documents are needed?
65
+ - What parties, roles, and obligations exist?
66
+ - What statutory requirements apply?
67
+ - What defined terms are needed?
68
+ - What disclosures are required?
69
+
70
+ **Connections (C)** — How do they relate?
71
+ - How do clauses cross-reference each other?
72
+ - What dependency chains exist between obligations?
73
+ - How does this document interact with other project documents?
74
+ - What shared property elements need boundary definitions?
75
+
76
+ **Dynamics (D)** — How do they work/change over time?
77
+ - What triggers each obligation?
78
+ - What are the renewal/termination flows?
79
+ - How are disputes resolved?
80
+ - What happens when conditions change (rent increases, maintenance needs, lease violations)?
81
+
82
+ After exploring each dimension, present your findings to the user as a structured exploration summary. Include:
83
+ - Key decisions identified (with options and your recommendation)
84
+ - Risks and considerations discovered
85
+ - Areas where user input is needed
86
+ - Your recommended approach with rationale
87
+
88
+ ### User Gate
89
+
90
+ Present your exploration findings and ask the user to:
91
+ 1. Confirm or modify the recommended approach
92
+ 2. Resolve any open decisions
93
+ 3. Approve moving to specification
94
+
95
+ DO NOT proceed to Stage 2 until the user explicitly approves.
96
+
97
+ ### Stage 2: Specification
98
+
99
+ Take the approved approach and produce the full blueprint in the universal envelope format:
100
+
101
+ 1. Task Reference (from plan)
102
+ 2. Research Findings (from your research)
103
+ 3. Approach (the approved direction from Stage 1)
104
+ 4. Decisions Made (everything resolved during exploration)
105
+ 5. Deliverable Specification (the detailed, domain-specific content — 95% solved)
106
+ 6. Acceptance Mapping (how each plan criterion is addressed)
107
+ 7. Integration Points (connections to other blueprints/tasks)
108
+ 8. Open Items (must be empty before completeness gate)
109
+ 9. Producer Handoff (output format, filename, content blocks)
110
+
111
+ Write the completed blueprint to the specified output path.
@@ -0,0 +1,35 @@
1
+ # NH Landlord-Tenant Law — Key Provisions
2
+
3
+ ## RSA 540 — Actions Against Tenants
4
+ - 30-day notice required for termination (month-to-month)
5
+ - Specific grounds required for eviction during lease term
6
+ - Court process required — no self-help eviction
7
+
8
+ ## RSA 540-A — Security Deposits
9
+ - Maximum: one month's rent OR $100, whichever is greater
10
+ - Must be held in a separate escrow account at a NH bank
11
+ - Must provide tenant written receipt with bank name and account number within 30 days
12
+ - Interest: must pay tenant interest on deposit (rate set by bank)
13
+ - Return within 30 days of lease termination, with itemized deduction list if applicable
14
+ - No "last month's rent" — only security deposit
15
+
16
+ ## RSA 540-B — Lead Paint (Critical for 1971 Structure)
17
+ - Pre-1978 property: MUST provide EPA lead paint disclosure form
18
+ - Tenant must receive "Protect Your Family from Lead in Your Home" pamphlet
19
+ - Lease must include lead paint disclosure addendum
20
+ - Landlord must disclose known lead paint hazards
21
+ - Failure to disclose: tenant can void lease, landlord liable for damages
22
+
23
+ ## Required Landlord Disclosures (NH)
24
+ - Lead paint (pre-1978)
25
+ - Security deposit bank information
26
+ - Name and address of landlord or authorized agent
27
+ - Radon disclosure (recommended but not strictly required for rentals)
28
+ - Utility responsibility disclosure
29
+
30
+ ## ADU-Specific Considerations
31
+ - NH RSA 674:72 — municipality cannot prohibit ADU
32
+ - No owner-occupancy requirement in Concord
33
+ - ADU is a separate dwelling unit — separate lease appropriate
34
+ - Shared elements (driveway, yard) need explicit terms
35
+ - Utility metering: if not sub-metered, lease must address utility allocation
@@ -0,0 +1,32 @@
1
+ # Property Facts — 24 Meadow St, Concord NH
2
+
3
+ ## Property
4
+ - Address: 24 Meadow St, Concord, NH 03301
5
+ - Zoning: RS District (Residential Single-Family)
6
+ - Owners: Taylor & Katelyn Goodington
7
+ - Structure: Single-family home with attached two-bay garage (built 1971)
8
+ - ADU: Garage being converted to accessory dwelling unit with 8-foot rear extension
9
+ - ADU type: 1-bedroom unit above garage, private entrance planned
10
+ - Parking: Shared driveway, dedicated ADU parking spot TBD
11
+
12
+ ## Site Constraints
13
+ - Regulated wetlands at rear (NH DNCR adjacent landowner)
14
+ - Pre-existing in-ground pool in rear yard
15
+ - Side setback: ~5 ft at closest point (15 ft required, variance granted)
16
+
17
+ ## ADU Legal Status
18
+ - Conversion protected under NH HB 577 (RSA 674:72, effective July 2025)
19
+ - Extension required ZBA variance (granted February 2026)
20
+ - Concord allows ADUs in all residential districts, no owner-occupancy requirement
21
+
22
+ ## Rental Intent
23
+ - Long-term rental (not short-term/Airbnb)
24
+ - Target: 1BR apartment market in Concord
25
+ - Owners live in primary residence on same property
26
+ - Shared property elements: driveway, yard (boundaries TBD), utilities (sub-metering TBD)
27
+
28
+ ## Key Dates
29
+ - Garage original construction: 1971
30
+ - Variance granted: February 2026
31
+ - ADU construction: TBD (pending permits)
32
+ - Target rental availability: TBD