04
Stage 2 — the prompt engine
Core IP
A ~220-line system prompt containing embedded knowledge frameworks, design principles, an output schema, and generation rules. Not a generic “write a roadmap” prompt — it encodes a complete methodology for honest, evidence-grounded AI adoption guidance.
Embedded knowledge frameworks
AI maturity model (5 × 5)
Five levels — Aware → Ready → Capable → Mature → Native. Five dimensions — Information Readiness, Process Clarity, Decision Governance, Team Capability, Tool Foundation. Bottleneck principle: overall maturity equals the lowest dimension score — prevents inflating the assessment by cherry-picking the strongest dimension. Backed by ai-maturity-model.md.
The eleven tenets (AESOP methodology)
1 State Change · 2 Problems Before Solutions · 3 Evidence Over Eloquence · 4 Know What You Need · 5 People Are the Center · 6 Humans Decide · 7 Multiple Perspectives · 8 Context and Brevity · 9 Guardrails Not Gates · 10 Trace the Connections · 11 The Questions Stay the Same.
Five non-negotiable design principles
CLEAR
Skimmable at 6am. Short words, short sentences — under 20 words per sentence. Business language, not academic.
CONCISE
Five pages maximum. Every paragraph earns its place. Substantial and detailed, never padded.
ACTIONABLE
Every section points to something they can do. No passive observation without a practical implication.
NO JARGON
Banned: LLM, API, vector database, embedding, token, agent, platform, ecosystem, solution. Write for a business founder.
NO ASSUMPTIONS — the hardest rule
Only say what the intake data supports. If they didn’t tell you about their customers, don’t describe their customers. Thin data → shorter, more tentative output. Before every claim: “did they tell us this?”
Writing discipline — banned words
significant · particularly · exceptionally · demonstrates · comprehensive · sophisticated · leverage · synergy · paradigm · automation · solution · platform · ecosystem · integration · implementation
Output validation schema — the rubric
maturity_snapshot
current_level + current_level_number. bottleneck_dimension + bottleneck_why (2–3 sentences) + bottleneck_what_this_means (2–3 sentences). Four stage_gaps (1→2, 2→3, 3→4, 4→5), each with whats_missing + what_it_unlocks. Three confidence_gaps, each with gap name, why_it_matters, how_to_close.
movements[] + insights
Three movements — name, rough_timeframe, focus, why_first — each with 4–5 practical guidance bullets, 2–3 what_to_avoid anti-patterns, and one observable risk_signal. Plus the_honest_truth (2–3 uncomfortable sentences), the_one_move (single highest-leverage 30-day action), and what_changes (3–4 tangible outcomes).
07
Stage 4 — post-processing & delivery
Phase extraction
Movements → structured phase objects with phase_number, name, timeframe, focus, why_first, guidance (preserved as a bullet list), what_to_avoid, risk_signal. Timeline computed from first/last movement timeframes.
Confidence merging
Heuristic score (field completeness) adjusted downward by LLM-identified gaps — each gap deducts 5 points (min 5, max 40). Produces base_score + adjusted_score + adjusted_level + a merged summary.
Executive insights extraction
the_one_move, what_changes[], the_honest_truth, stage_gaps, confidence_gaps → an executive_insights JSONB column. Separates v3.0 fields from legacy columns for forward compatibility.
Source manifest — full provenance
org_contextdocument_count + document_types + provenance (“org_context table, is_active=true, all types”).
confidencescore, level, gap_count, provenance (“compute_confidence_executive() — field completeness from 19-field executive intake”).
agentname, temperature, prompt_file, max_tokens, input_tokens_used, output_tokens_used, cost.
validationwarnings list + warning_count.
What the founder receives
Maturity snapshot
Current level + bottleneck + four stage-gap maps.
Three movements
Practical phases with guidance, anti-patterns, risk signals.
Honest truth
2–3 uncomfortable sentences grounded in their data — plus the one move for the next 30 days.
09
Why the output is quality
1
Multi-layered confidence
Heuristic field-completeness score, adjusted by LLM-identified gaps, merged with provenance. No single source of truth about quality.
2
Bottleneck principle
Overall maturity equals the weakest dimension. Prevents inflating the assessment by cherry-picking. Backed by an explicit scoring protocol in ai-maturity-model.md.
3
Structured validation with retries
20+ schema rules checked programmatically. Up to two automatic retries with specific violation feedback; warnings attached if still failing.
4
Evidence traceability
80%+ of claims must trace to specific intake fields, enforced in the prompt. “Did they tell us this?” before every claim.
5
No-jargon enforcement
15+ banned words keep out generic consulting language. Written for someone who runs a business, not a technology department.
6
Mirror without announcing
References their specifics naturally, never “you told us” or “from your intake.” They feel seen, not analyzed.
7
Compass, not GPS
Direction with enough texture for Monday morning, but no false precision. Three movements, not twelve steps. Risk signals, not risk matrices.
8
Gap → impact → exercise chain
Every missing field produces a plain-language impact and a concrete cohort exercise with a week number. Actionable, not diagnostic.
9
Full source provenance
The source manifest records every input: org_context types and counts, confidence provenance, agent config, token usage, cost, validation warnings.
10
Eleven Tenets foundation
Philosophical rigor from aesop-methodology.md — People Are the Center, Evidence Over Eloquence, Guardrails Not Gates, Trace the Connections — so every output embodies a coherent methodology, not ad-hoc heuristics.
Architecture note. This is the executive path — a lightweight variant of the full AESOP Build Pipeline. The full pipeline adds readiness assessment, portfolio with strategic prioritization, department context, multi-agent quality analysis, interviews, custom rubric + scenario generation, adversarial red-team, functional testing, and synthesis reporting. The executive path exists for founders who need a focused, honest, actionable roadmap — not an enterprise-scale analysis.