analyze-sessions report — 2026-05-24 — Based on 9,482 Claude + 1,750 Codex history entries across 3,344 sessions
The alignment-first workflow was introduced May 22, 2026 with the directive that every skill producing durable deliverables must output an HTML alignment page for browser-based review before the user approves canonical file writes. The prototype-first gate was introduced May 18, 2026 to ensure product/feature work produces clickable prototypes before production infrastructure.
Together, these represent a fundamental shift in how skills operate: from inline conversational iteration to structured preview-approve-write cycles.
| Activity | Scale | Cost Signal |
|---|---|---|
| Initial alignment page contract design | 3+ sessions, ~15 messages | Medium |
Cross-cutting upgrade (5f11f2f): add alignment page to all skills | 310 files, 4,222 insertions | High |
Inline question migration (d805201): move questions from bottom section to inline | 313 files, 634 insertions | Medium |
Skip list creation + strip operation (1aa1191 + 3b0b98d) | 30 files stripped, 480 deletions + scripts | Medium |
| Browser-open WSL debugging | 3-4 turns in first session | Low (one-time) |
| Tooling scripts (upgrade, verify, strip, archive) | 4 scripts, 3 now deprecated | Low |
| Benchmark fixture remediation (route assertions) | 32 of 37 fixtures needed updates, full Phase 43 | High |
Total investment commits: 38 of 1,309 total commits (2.9% of all project commits) are alignment/prototype infrastructure. Since May 18, 17 of 126 commits (13.5%) have been alignment-related — a heavy recent concentration.
tasks/lessons.md were written to correct alignment workflow drift, each representing a user interruption and correction cycle.| Skill | Pre-Alignment Avg Turns | Post-Alignment Turns | Delta | Sample Size |
|---|---|---|---|---|
/icp | 8.6 | 5.0 | -42% | 16 pre / 1 post |
/idea-scope-brief | 2.7 | 5.5 | +104% | Many pre / 2 post |
/competitive-analysis | 7.3 | — | — | 7 pre / 0 post |
/journey-map | 8.0 | — | — | 6 pre / 0 post |
Caution Only 3 post-alignment research sessions exist (2 days of data). The ICP turn reduction is directionally encouraging but statistically meaningless at N=1. The idea-scope-brief increase likely reflects richer output scope, not workflow overhead.
| Metric | Pre-Alignment | Post-Alignment | Change |
|---|---|---|---|
| ICP alignment page size | N/A (markdown only) | 57 KB HTML | New artifact |
| Average alignment page size | N/A | ~14 KB | New artifact |
| Deliverables per skill run | 1 (markdown research) | 2 (alignment HTML + markdown) | 2x artifacts |
Each skill run now generates both an alignment HTML page (for browser review) and the canonical markdown deliverable. The HTML generation adds token output cost proportional to the page size. A 57 KB page at ~4 chars/token is roughly 14,000 extra output tokens per ICP run.
Savings Async review eliminates idle LLM context. When the user reviews an alignment page in their browser, zero LLM tokens are consumed. Pre-alignment, every feedback round required the model to hold conversation context while the user thought. On an 8.6-turn ICP session with 2-minute think times, that's ~17 minutes of context-window occupancy eliminated per session.
Savings Batched feedback reduces round trips. The compile-answers YAML captures all feedback in one structured payload instead of 3-5 incremental correction messages.
Cost HTML generation adds ~14K output tokens per research skill run. At Opus pricing (~$75/M output tokens), that's roughly $1.05 per alignment page. At Sonnet pricing (~$15/M), it's ~$0.21.
Cost Every skill contract now includes ~16 lines of alignment page instructions in its SKILL.md, which are loaded into context for every invocation — even when no alignment page is ultimately needed (e.g., a quick re-run of a previously approved deliverable).
The single most visible cost of the alignment workflow is the overcorrection-remediation cycle. This is the pattern:
| Step | Commit | What Happened | Files |
|---|---|---|---|
| 1. Require everywhere | a839142 | Added alignment pages to all skills including run/ship loops | ~310 |
| 2. Discover overcorrection | — | User corrected: "Run/ship loops are not alignment-page producers" | — |
| 3. Build skip list | 1aa1191 | Created 30-skill skip list + strip script | 3 |
| 4. Strip exempted skills | 3b0b98d | Removed alignment sections from 30 skip-listed skills | 30 |
| 5. Deprecate tooling | 4deed8f | Archived 3 scripts that were only needed for the overcorrection fix | 3+ |
This cycle consumed 4 commits and at least 2 full sessions to fix a problem that wouldn't have existed if the initial rollout had distinguished research/planning skills from execution/shipping skills. The lesson is documented in tasks/lessons.md (2026-05-21).
Pattern cost estimate: Each overcorrection cycle costs roughly 1-2 sessions of remediation work (~10-20 messages) plus the original overcorrection session. With 5 documented corrections in lessons.md, the alignment workflow has generated roughly 50-100 extra messages in correction overhead across 6 days.
Warning Zero /prototype invocations found in either history file.
The prototype-first gate was introduced on May 18 with a clear lesson: "Product and feature planning should separate prototype exploration from production implementation." But in the 6 days since:
/prototype is eventually used, the accumulated contract expectations may not match real usage patterns, triggering another overcorrection cycle| Component | Pre-Alignment | Post-Alignment | Net |
|---|---|---|---|
| Turns per research session | ~8 turns | ~5 turns (projected) | -3 turns |
| Output tokens per run | ~5K tokens | ~19K tokens (research + HTML) | +14K tokens |
| User correction messages | ~2-3 inline | ~1 compiled YAML | -1-2 messages |
| Context tokens for alignment contract | 0 | ~400 tokens (16 lines in SKILL.md) | +400 per invocation |
| Async review (no LLM cost) | 0 min | ~5-10 min | Saves idle context |
The alignment page adds ~14K output tokens (~$1.05 at Opus) but saves ~3 turns of back-and-forth. Each saved turn avoids roughly:
At 3 saved turns: $1.59 saved vs $1.05 spent on HTML generation = net savings of ~$0.54 per research session at Opus pricing.
At Sonnet pricing, the alignment page costs ~$0.21 and saves ~$0.30 per avoided turn = net savings of ~$0.69 per session.
Positive ROI The alignment page pays for itself if it saves 2+ turns of inline iteration. The early ICP data (8.6 → 5 turns) suggests 3+ turns saved, putting this above break-even.
The one-time infrastructure investment (38 commits, 310+ file modifications, 5 correction cycles, benchmark re-runs) is a sunk cost. To amortize it:
The alignment-first workflow is directionally positive on per-session cost but carries a heavy infrastructure investment that takes over a year to amortize at current usage rates. The biggest cost driver is not the alignment pages themselves but the overcorrection-remediation cycles from batch contract changes.
| # | Action | Type | Impact |
|---|---|---|---|
| 1 | Freeze alignment contract changes for 2-4 weeks to accumulate real usage data | Standing instruction | Avoids further overcorrection tax |
| 2 | Track turns-per-session for research skills to validate the break-even hypothesis | Skill enhancement | Data collection |
| 3 | Run /prototype on one active project to exercise the untested contract | Manual test | Risk reduction |
| 4 | Consider generating alignment HTML with Sonnet subagent to reduce output cost by ~80% | Architecture | $0.84 saved per page |
| 5 | Add skill-type classification (research/execution/utility) to SKILL.md frontmatter to prevent future overcorrection | Convention | Prevents batch mistakes |
6 questions remaining