Skip to content

Release 1.2.0: receipts, guard, ledger, twenty views - #7

Merged
vimoxshah merged 8 commits into
mainfrom
release/1.2.0
Sep 6, 2026
Merged

Release 1.2.0: receipts, guard, ledger, twenty views#7
vimoxshah merged 8 commits into
mainfrom
release/1.2.0

Conversation

@vimoxshah

Copy link
Copy Markdown
Owner

Spend attributed to the unit of work, a guard that acts while a session is still running, and a design system every surface compiles from. Nothing here reads prompt or code content.

What ships

  • Receipts. A pre-push hook writes a spend receipt as a git note and never blocks. The Action in action/ upserts one PR comment from it. Receipt schema v0, SVG and PNG cards, CSV export, a Receipts tab and a Compare branches tab.
  • Guard. Per-repo .tokenflow/policy.yaml overrides caps key by key. Codex gets a warn-only guard through its notify hook. The Live tab and the menu bar show sessions, today's receipts and the last verdict.
  • Ledger and team. Rollups carry receipts. tokenflow team serve accepts pushes behind a bearer token and gates reads. Budgets scope by project, branch or provider.
  • Capture. Codex sessions record their branch. Worktrees no longer double-count. A new otel adapter reads OTLP GenAI spans and Gemini CLI logs. doctor audits the install, pricing diff shows what a price table change would do.
  • Dashboard. View and route registries. Seven new tabs: Session anatomy, Live, Cache health, What-if, Rhythm, Compare branches, Annotations. Command palette on Meta+K, first-run screen, wrapping tab bar, offline snapshot that inlines every stylesheet.
  • Design system. design/tokens.yaml compiles into the dashboard, the landing page and DesignTokens.swift, with fail-closed gates.
  • Landing page rebuilt around the above with self-hosted fonts.

Verification

Gate Result
npm test 520 pass
npm run lint clean, 141 files
npm run typecheck 0 errors
npm run design:check gates pass, 3 targets current
npm run validate all checks passed
Swift menu bar typecheck clean, app bundle builds in the test suite
Browser Overview, Session anatomy, palette and the offline snapshot render from the demo store

Full notes in CHANGELOG.md under 1.2.0.

🤖 Generated with Claude Code

vimoxshah and others added 8 commits September 6, 2026 07:46
design/tokens.yaml is the single source for colour roles, mode and skin
axes, type scale, spacing, radii, motion tiers and chart ramps. npm run
design compiles it into the dashboard stylesheet, the landing stylesheet
and DesignTokens.swift, and refuses to write when a contrast, distance,
monotonicity or motion gate fails. A new hairline role gives the subtlest
divider its own colour in every skin.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…el GenAI

Codex sessions now carry git_branch and repository from session_meta.
Ingest resolves the repo root once so worktrees roll up to their main
checkout instead of counting twice. A new otel adapter reads OTLP GenAI
spans and logs, including Gemini CLI, and never persists content
attributes. The mock provider now emits every field the dashboard reads
so the demo shows real shapes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A pre-push hook writes the receipt as a git note and never blocks. The
GitHub Action in action/ upserts one PR comment from that note. Receipt
schema v0 is published with SVG and PNG cards and CSV export. A per-repo
.tokenflow/policy.yaml overrides guard caps key by key; Codex gets a
warn-only guard through its notify hook. Rollups carry receipts, a team
server accepts them behind a bearer token and gates reads, budgets scope
by project, branch or provider, doctor audits the install and pricing
gains a diff command.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
View and route registries replace the hand-wired tab list. New tabs:
Session anatomy, Live with sessions, receipts and guard verdicts, Cache
health, What-if, Rhythm, Compare branches and Annotations. A command
palette opens on Meta+K, a first-run screen says what was found on this
machine, the tab bar wraps, and the offline snapshot inlines every view
stylesheet so it boots from a file URL.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…u bar

The app reads the same status JSON the dashboard does and compiles from
the generated DesignTokens.swift so it cannot drift from the web skins.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Self-hosted fonts replace the CDN link, the decorative scripts are gone,
and every number on the page is one the test suite or the demo store can
back.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
hooks, week, team serve, sync --to, guard --policy and --install --codex,
budget scopes, pricing diff and the doctor audit all reach bin. The
changelog dates the 1.2.0 section, README and docs describe what ships,
and the package carries design, schemas and Dockerfile.team.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
NTFS has no execute bit and Git for Windows runs hooks through sh
regardless, so the assertion measured the filesystem, not the install.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vimoxshah
vimoxshah merged commit ede7b85 into main Sep 6, 2026
9 checks passed
@vimoxshah
vimoxshah deleted the release/1.2.0 branch September 6, 2026 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant