Skip to content

fix: credibility pass — align docs/site/CLI with reality (0.11.0) - #91

Merged
singhharsh1708 merged 1 commit into
mainfrom
fix/credibility-batch
Jul 27, 2026
Merged

fix: credibility pass — align docs/site/CLI with reality (0.11.0)#91
singhharsh1708 merged 1 commit into
mainfrom
fix/credibility-batch

Conversation

@singhharsh1708

Copy link
Copy Markdown
Owner

A staff-level review of the shipped product found the docs, site, and CLI contradicting each other — fatal for a tool whose entire pitch is honest measurement. Every fix here aligns the surface with reality; none is a new feature. All were verified against the real CLI before fixing.

The flagship-number bug (worst offender)

The standing-token cost — the one thing Kitbash uniquely measures — was reported three different ways for the same skill on the same target: compile warned ~517, preview showed ~507, the benchmark said 560. Cause: the 0.9.0 permissions note and each adapter's own wrapper were counted inconsistently. All three now report the true cost of the emitted file (560), and preview renders exactly what compile writes.

The measurement failed --strict

The standing-cost report was in the same warnings array as real problems, so compile --strict exited 1 on the one bundled skill — the product punishing the number it exists to surface. It's now an informational note; --strict still fails on genuine warnings (verified).

The self-contradictions

  • Stub commands said "lands in v0.2" on a 0.10 build → now point at the roadmap; --help lists them under a separate Planned section.
  • The bundled example advertised mode = gate while gate is unimplemented → now mode = skill, runnable end to end.
  • The website's interactive preview showed a fictional 1,480-token cost → now the real 539/560; quickstart blocks match the CLI; one tax figure; README marks shipped-vs-planned skills.

Consistency + ergonomics

  • Exit codes: unknown command = 2 (+ did-you-mean) not 1+help-dump; unbuilt = 7; empty-repo test/lint = 0 to match compile/list.
  • doctor: undetected targets show · not (reserved for real problems) + an "N of 9" count.
  • compile: a partial fan-out shows how to enable more targets (no more "2 targets" reading as a shortfall).
  • Added per-command --help, help <command>, did-you-mean, pluralization ("1 skill for 2 targets"), token units; removed -v (collides with verbose).

261 assertions. Number consistency verified live across compile/preview/benchmark. This is the highest-ROI change on the project: ~15 edits that flip it from "impressive but self-contradicting" to something a stranger can trust.

A staff-level review found the shipped surface contradicting itself, fatal for
a tool whose pitch is honest measurement. Every fix aligns surface with reality.

- the flagship number was reported three ways (compile ~517, preview ~507,
  benchmark 560) because the permissions note and the adapter wrapper were
  counted inconsistently. All three now report the true emitted-file cost (560);
  preview renders exactly what compile writes.
- the measurement no longer fails --strict: it moved from the warnings array to
  an informational note channel. --strict still fails on real warnings.
- stub commands cited already-passed milestones ("lands in v0.2" on a 0.10
  build); now point at the roadmap, and --help lists them under a separate
  Planned section instead of mixing with working commands.
- the bundled example advertised mode=gate while gate is unimplemented; now
  mode=skill, runnable end to end.
- exit codes: unknown command = 2 (+ did-you-mean) not 1+help-dump; unbuilt = 7;
  empty-repo test/lint = 0 to match compile/list.
- doctor: undetected targets show · not ✗ (reserved for real problems) + count.
- compile: partial fan-out shows how to enable more targets.
- site/docs: killed the fictional 1,480-token number, aligned quickstart blocks
  to the real CLI, one tax figure, marked shipped-vs-planned skills, expanded KSF.
- added per-command --help, help <command>, did-you-mean, pluralization, token
  units; removed -v (collides with verbose).

261 assertions. Number consistency verified across compile/preview/benchmark.
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kitbash Ready Ready Preview, Comment Jul 27, 2026 8:20pm

@github-actions github-actions Bot added documentation Docs, spec, RFCs, README, site dependencies Dependency or action version bumps labels Jul 27, 2026
@singhharsh1708
singhharsh1708 merged commit 4cb39d5 into main Jul 27, 2026
8 checks passed
@singhharsh1708
singhharsh1708 deleted the fix/credibility-batch branch July 27, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency or action version bumps documentation Docs, spec, RFCs, README, site

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant