Skip to content

v2.6.0 — Self-Contained Word Doc Build

Choose a tag to compare

@termsheetinator termsheetinator released this 10 Jun 16:36
· 4 commits to main since this release

What's New

Word doc build: completely rebuilt. Self-contained. No external dependencies.

Bug 1 — External skill dependency (fixed)

The previous protocol told the agent to invoke anthropic-skills:docx via the Skill tool. This was unreliable — it stalled, failed silently, or required 2–3 follow-up prompts before it executed. The agent now writes a complete Node.js script using the docx npm package and runs it directly with node. One shot. Nothing external. Node is always present in Claude Code environments.

Bug 2 — Invisible cover page (fixed)

XML inspection of generated documents confirmed the cover page had white text with no background color — white text on white paper, invisible. The cover is now built as a full-width table cell with navy shading (#1a2744), which guarantees the background renders correctly.

Design improvements

  • Gap card side padding doubled: 200 → 400 DXA (~10pt → ~20pt)
  • Gap card vertical cell padding increased to 240/280 DXA
  • Section title spacing increased for breathing room
  • Script quote blocks wider indent on both sides
  • Explicit spacer paragraphs between cards (instead of relying on table margins)
  • Design mandate added to protocol: document must feel spacious — if cramped, increase padding

What didn't change

Report content, analysis quality, all 9 sections, every other mode (discovery, review, debrief, email, scope feedback), memory system, routing logic — untouched. The change is scoped entirely to the Word doc build path.


Gapsi is built on peer-reviewed behavioral science: Kahneman & Tversky (Prospect Theory, 1979), Tversky & Kahneman (Framing Effects, 1981), Samuelson & Zeckhauser (Status Quo Bias), Kahneman, Knetsch & Thaler (Endowment Effect, 1990), Heath, Larrick & Wu (Goals as Reference Points, 1999), Novemsky & Kahneman (Boundaries of Loss Aversion, 2005).