Commit Graph
53 Commits
Author SHA1 Message Date
Cato 822d979b94 ci(release): safely tag approved v1.2.0 after green main and dispatch guarded publish (#37)
* ci(release): tag approved version only after green main CI and dispatch guarded publish

* chore(release): explicitly request immutable v1.2.0 tag after CI

* ci(release): accept explicit dispatch from verified tag workflow

* docs(design): document verified release pipeline and CSS reset import order
design-tokens-v1.2.0
2026-10-22 00:59:30 +02:00
Cato 6f65cd0e77 chore(release): prepare design-tokens 1.2.0 for composition consumers (#36)
* chore(release): prepare design-tokens 1.2.0 with optional composition export

* docs(release): distinguish prepared 1.2.0 from an actually published tag
2026-10-22 00:42:31 +02:00
Cato 228cb34f7c feat(design): opt-in cross-product composition grammar without brand coupling (#34)
* feat(design): optional brand-neutral composition and interaction grammar

* test(design): enforce optional, brand-neutral composition and touch contracts

* feat(design): publish opt-in composition CSS subpath without altering brand tokens

* docs(design): explain opt-in composition, cross-brand ownership and release steps
2026-10-21 20:43:02 +02:00
dependabot[bot] a1303dec8c chore(deps-dev): bump the minor-and-patch group with 2 updates (#33)
Bumps the minor-and-patch group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [prettier](https://github.com/prettier/prettier).


Updates `@types/node` from 26.6.4 to 26.6.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `prettier` from 3.9.9 to 3.9.10
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.9...3.9.10)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.9.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-17 23:44:13 +02:00
dependabot[bot] 88f40006d4 chore(deps-dev): bump the minor-and-patch group with 3 updates (#32)
Bumps the minor-and-patch group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint](https://github.com/eslint/eslint) and [globals](https://github.com/sindresorhus/globals).


Updates `@types/node` from 26.6.3 to 26.6.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 10.11.0 to 10.12.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.11.0...v10.12.0)

Updates `globals` from 17.12.0 to 17.13.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.12.0...v17.13.0)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: globals
  dependency-version: 17.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-10 13:45:07 -07:00
dependabot[bot] 1fb481577e chore(deps-dev): bump the minor-and-patch group across 1 directory with 3 updates (#30)
Bumps the minor-and-patch group with 3 updates in the / directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint](https://github.com/eslint/eslint) and [prettier](https://github.com/prettier/prettier).


Updates `@types/node` from 26.5.1 to 26.6.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 10.10.0 to 10.11.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.10.0...v10.11.0)

Updates `prettier` from 3.9.6 to 3.9.9
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.6...3.9.9)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.9.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 10:35:43 -07:00
CatoandCursor 7eb579e553 feat: map scale, no-data, boundary and hatch tokens (#31)
A sequential viridis scale in seven steps for choropleths (Solon's Places
map first), no-data and boundary colours per theme, and the hatch geometry
for areas more than one authority claims. Tests pin that the scale's
luminance rises at every step and that its darkest step stands off the dark
page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 20:15:45 +02:00
CatoandClaude Opus 5.5 1e52f67320 ci(publish): tag-driven npm Trusted Publishing, same workflow as speechkit/sitekit (#29)
Tag vX.Y.Z publishes via OIDC once NPM_PUBLISHING=on; until then a tag
runs green and says why. No token anywhere.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 13:16:49 -07:00
CatoandClaude Opus 5 c8c137344e docs: link back to bitbaum, and to who uses this package (#27)
Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 01:05:36 -07:00
CatoandClaude Fable 5.1 f6cad01fad chore: rename FleetCrown to Loki (#26)
The product was renamed on 2026-09-14: bitbaum/loki, loki.orangecat.ch,
LOKI_* env keys, loki-* units. This repo referenced the old name in
8 files changed, 10 insertions(+), 10 deletions(-).
Email addresses at the old sending domain stay until the new domain is
verified in Resend.


Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 16:22:44 -07:00
dependabot[bot] 00d9fb86bc chore(deps-dev): bump the minor-and-patch group with 2 updates (#25)
Bumps the minor-and-patch group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [eslint](https://github.com/eslint/eslint).


Updates `@types/node` from 26.4.1 to 26.5.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 10.9.1 to 10.10.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.9.1...v10.10.0)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.5.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-12 13:44:44 -07:00
CatoandClaude Opus 5 54f65bad75 ci(auto-merge): correct the reason this repo passes a PAT (#24)
The comment added a few hours ago says GITHUB_TOKEN cannot merge a PR that
touches .github/workflows. That is contradicted by this fleet's own history:
github-actions[bot] merged datacat#253 and ai-kit#42 today, and both change a
workflow file. I asserted it from the reusable workflow's docstring without
checking, then found the counter-evidence while looking for something else.

Two stalled PRs were offered as proof and neither survives either. ai-kit#11
opened 2026-08-29 and this repo's sweep was not added until 2026-09-04, so for
most of that PR's life nothing was sweeping at all. aoz-housing#122 is still
unexplained — I merged it before diagnosing it, which destroyed the evidence.

The THROUGHPUT reason is unaffected and is why the line stays. A dispatch made
with GITHUB_TOKEN triggers no workflows — the same rule the deploy reconciler
exists for — so after a merge the re-armed CI run's completion fires no
workflow_run and nothing wakes the sweep for the next PR. It waits for the
cron, which GitHub throttles: fleetcrown's sweeps land 50-65 minutes apart
against a */10 schedule. A PAT-created dispatch does emit workflow_run.

The wrong claim is recorded in the file rather than quietly deleted, so the
next reader does not re-derive it from the same docstring I did.

No behaviour change: an undefined secret still resolves to empty and the
reusable workflow still falls back to github.token.


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 15:53:33 +00:00
CatoandClaude Opus 5 dc84f027de ci(auto-merge): hand the sweep a PAT so workflow PRs stop stalling (#23)
GITHUB_TOKEN cannot merge a PR that touches .github/workflows. The sweep tries,
the merge API refuses, it logs "leaving for the next sweep", and repeats — while
still exiting 0. So the failure is invisible: every run reports success and the
PR simply never merges.

That is not hypothetical. ai-kit #11 (bump actions/checkout) sat green, CLEAN
and MERGEABLE for nine days; aoz-housing #122 (bump actions/upload-artifact)
for nine more. Both had to be merged by hand today. Every Dependabot
`github_actions` bump in the fleet is in this class, permanently.

A PAT fixes a second thing that costs more: THROUGHPUT. A dispatch made with
GITHUB_TOKEN emits no workflow_run, so after each merge nothing wakes the sweep
to take the next PR — it waits for the cron, and GitHub throttles scheduled
workflows to roughly hourly regardless of what the cron says. Observed in
fleetcrown: sweeps ~50-65 minutes apart against a */10 schedule. A PAT-created
dispatch does emit workflow_run, so the queue drains at CI speed instead.

The reusable workflow has always supported this — GH_TOKEN is
`secrets.token || github.token`. This just passes it.

SAFE BEFORE THE SECRET EXISTS: an undefined secret resolves to empty, and the
fallback picks github.token. So this changes nothing until FLEET_PAT is created
as an organisation secret, and needs no second pass afterwards.


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 14:56:01 +00:00
dependabot[bot] 7ffc18e66d chore(deps-dev): bump @types/node in the minor-and-patch group (#22)
Bumps the minor-and-patch group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 26.4.0 to 26.4.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-05 20:44:02 +00:00
8a2cf0f207 chore: rename package to @bitbaum/design-tokens (#21)
We don't own the @fleet npm scope; the package moves to the org scope
so it can be published.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-05 14:41:57 +00:00
dependabot[bot] 1776d75536 chore(deps-dev): bump globals from 16.5.0 to 17.12.0 (#11)
Bumps [globals](https://github.com/sindresorhus/globals) from 16.5.0 to 17.12.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.5.0...v17.12.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 17.11.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-04 16:41:53 +00:00
dependabot[bot] 9c964b056a chore(deps-dev): bump @types/node (#7)
Bumps the minor-and-patch group with 1 update in the / directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 26.2.0 to 26.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-04 16:38:45 +00:00
91c79d130f chore(ci): adopt the fleet auto-merge sweep — green PRs merge themselves (#20)
This repo had no auto-merge workflow; green PRs waited for a human.
Thin caller of bitbaum/fleet auto-merge-sweep.yml, same as ai-forms.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-04 09:37:52 -07:00
e1b18db7ab docs: sync docs with actual stack (#19)
The install snippet pinned `#v0.1.0` while the package is at v1.1.0 (tag
exists); the release-flow example named a tag that already exists and would
fail if run verbatim — bumped to the next plausible one. Handles, org, and
the github: dependency form all verified correct.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-04 07:52:07 -07:00
44ffd740fa chore: pnpm — the fleet has one package manager (#18)
Convert from npm to pnpm (fleet standard, STACK.md):
- packageManager pin pnpm@11.25.0 (corepack SSOT)
- pnpm-lock.yaml via `pnpm import` from package-lock.json (resolutions
  preserved), then package-lock.json deleted
- CI + publish workflows: pnpm/action-setup@v6, cache: pnpm,
  `pnpm install --frozen-lockfile`, `pnpm run verify`
- package.json scripts and contributor docs use pnpm; consumer install
  lines stay npm — consumers choose their own package manager
- npm publish invocation unchanged (works from a pnpm-managed tree)

Clean-room proven: rm -rf node_modules && pnpm install --frozen-lockfile
&& tests green.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-03 08:05:32 -07:00
ed925bc7fb chore(deps): typescript 6 (#17)
TS 7.0.2 exists but typescript-eslint rejects it — canaried and blocked;
revisit when support ships.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 15:36:10 +02:00
086190df61 chore(deps): currency sweep — eslint 10, @types/node 26, CI node 24, actions v7 (#16)
Exact bumps:
- eslint ^9.39.5 -> ^10.9.1
- @eslint/js ^9.39.5 -> ^10.0.1
- globals ^15.15.0 -> ^16.5.0
- @types/node already ^26.2.0 (no change)
- actions/checkout v4 -> v7
- actions/setup-node v4 -> v7
- CI node-version 20 -> 24 (library, not box-deployed)

npm run verify green (format, lint, typecheck, 9/9 tests).


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 10:48:56 +02:00
GandClaude Opus 5 a850f3ff54 chore: add a formatter (#15)
* chore: add a formatter, matching the style this repo already writes

singleQuote=true was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.

Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* style: format with prettier (6 files)

Mechanical. No behaviour change. This SHA is listed in
.git-blame-ignore-revs so `git blame` skips it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* chore: teach git blame to skip the reformat

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-31 10:32:46 +02:00
GandClaude Opus 5 9997424fd4 chore: declare node >=20, the version the box actually runs (#14)
Was: undeclared.

Eighteen of thirty repos declared no Node version at all, and the twelve
that did used five spellings of the same intent - >=18, >=20, >=20.0.0,
>=22, >=22.19.0. The box runs 20.20.2, so >=22 was a claim nothing could
satisfy and nothing would have caught.

One spelling, matching the machine that runs it, turns an invisible
mismatch into a loud one.


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 09:04:59 +02:00
GandClaude Opus 5 4a15888cd6 chore: add a dependency watcher (#6)
23 of 30 repos in the fleet had none. The symptom looks like neglect and
is not: aoz-housing had 100 commits in August, features landing daily, and
was still on Next 14 / React 18 / Tailwind 3 — because nothing ever OPENED
the upgrade PR. Version drift here is the absence of a mechanism.

npm directory: /. Minor and patch grouped so the sweep spends one
cycle on them; majors stay separate because they deserve reading.


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 08:25:23 +02:00
GandClaude Opus 5 9f7ebab838 chore: retire the maonakamoto handle (#5)
The account was renamed to `catomean` and the repos then moved to the
`bitbaum` org, so `maonakamoto` now names nothing: github.com/maonakamoto
and maonakamoto.github.io both return 404, and @maonakamoto no longer
resolves as a user.

Three different targets, because these are not the same reference:
  repo links  -> bitbaum/<repo>   (the repos live in the org)
  the person  -> catomean        (profile links, @mentions, CODEOWNERS)
  pages site  -> bitbaum.github.io

Deliberately NOT changed:
  .mailmap keeps the old noreply address as an ALIAS. It is what maps
  historical commits onto the current identity; deleting it would
  silently unmap them. Only the canonical side moved to catomean.
  Files that explain the outage by naming the old account keep it,
  since the name is the content.

Files: README.md, package.json


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 10:25:12 +02:00
GandClaude Opus 5 3034c114d6 chore: v1.1.0 — --on-accent, the label that can be read on the accent (#4)
Minor, not major: purely additive. Nothing existing changed value, so a
consumer that never adopts text-on-accent is unaffected by upgrading.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
design-tokens-v1.1.0
2026-08-16 16:37:52 +02:00
GandClaude Opus 5 0bdf708ae9 feat(tokens): pair the accent with a label that can be read on it (#3)
* feat(tokens): pair the accent with a label that can be read on it

White on --public-accent (#ff5c00) is 3.10:1 — below the 4.5 AA floor for
normal text. Because the accent is the fleet's single action colour, that
one pairing put three primary CTAs under the floor simultaneously:
Solon's "Open the Dashboard", OrangeCat's "Get Started", FleetCrown's
"Launch agent". Measured on the live sites, not guessed.

Nobody noticed for months because an orange button with a white label
looks completely normal. It is only wrong when you measure it.

Adds --on-accent (near-black, 6.10:1 on the accent) and maps it as
`text-on-accent`, so the ink is paired with the background it belongs to
and nobody has to remember which label an orange button takes.

The orange is deliberately NOT darkened to rescue white text. It would
have to reach roughly #c74600 to clear the floor, which is a duller,
muddier colour — and the accent IS the brand. The label gives way, not
the brand.

Theme-independent for the same reason --public-accent is: the accent does
not flip between themes, so a label that flipped with it would be
unreadable in one of them. That is precisely why no existing text token
could be reused here — --text-primary inverts, and this must not.

test/contrast.test.js pins the arithmetic, including the negative side:
if someone brightens --on-accent to "soften" the buttons the build fails
here, and if the accent is ever darkened enough that white becomes
legitimate again, that test fails too so the pairing is revisited
deliberately instead of left as a token nobody can explain. Verified the
gate is not vacuous — flipping --on-accent to white fails it at 3.10:1.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(test): annotate the contrast helpers — this package typechecks its JS

tsconfig runs with checkJs and noImplicitAny, so a plain .js test file
fails typecheck even though it runs. The existing contract test already
carries JSDoc for the same reason; the new one now matches it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-16 16:13:12 +02:00
GandClaude Opus 5 678f84e193 chore: add the MIT LICENSE file package.json already declares (#2)
package.json has declared "license": "MIT" since the repo was created, but
with no LICENSE file GitHub reports the repo as unlicensed — which reads as
all-rights-reserved to anyone evaluating it, and to any company's legal review.

This adds the file the manifest already promised. No licensing decision is
being made here; the existing one is just being made visible.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 14:41:12 +02:00
GandClaude Opus 5 0abebe0f71 ci: give the design SSOT a gate, starting with the contract it claims to keep (#1)
This repository had NO CI at all — no workflow, no scripts, no gate of any
kind — while being the design SSOT that OrangeCat, FleetCrown and Solon all
consume. A change here reaches every one of them, unchecked.

The interesting part is not lint. It is that the package's central promise was
unenforced. `tailwind-preset.js` states it in its own docstring:

    Every value here resolves to a var — never a literal. That is the whole
    point: retheming edits tokens.css, and nothing in any app changes.

Nothing verified that. A preset entry naming `--surface-modal` while tokens.css
spells it `--surface-modal-bg` produces no error anywhere: the custom property
is simply undefined, `hsl(var(--surface-modal) / 1)` is an invalid colour, and
the utility silently renders as nothing in every consuming app. It surfaces as
"that panel looks wrong on FleetCrown", days later, in a different repo.

test/contract.test.js locks the seams that no single file can check:

  - every `var(--x)` the preset references is defined in tokens.css
  - the preset contains no literal colours (the stated rule, now enforced)
  - the preset is requireable and uses `theme.extend` rather than replacing
  - every path in `files` / `exports` exists — a published package is its
    manifest, and a listed-but-absent path breaks on `npm install`, not here
  - every @font-face url in tokens.css resolves to a shipped file
  - `.dark` only OVERRIDES tokens, never introduces one, since a dark-only
    token is undefined in light mode

Negative-tested rather than assumed: injecting `--radius-control-TYPO` into the
preset turns the first test red and names the exact token. A suite that has
only ever passed proves nothing.

Also added, because the floor asks for them and both earn their keep here:
`eslint` (recommended preset only — this is two JS files, more would be taste
with a maintenance cost) and `tsc --checkJs`. checkJs was not ceremony: it
caught an implicit-any in the preset's `withAlpha` and a `(string|number)[]`
widening in my own test helper, both now fixed properly rather than silenced.

CI calls `npm run verify` verbatim. Do not re-inline the gates — a hand-copied
gate list is exactly how botsmann silently lost its typecheck.

Verified: `npm run verify` passes — eslint clean, tsc clean, 6/6 tests.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 13:34:22 +02:00
G 29c78d439f chore!: v1.0.0 — :root is light, .dark overrides design-tokens-v1.0.0 2026-08-14 16:18:14 +02:00
G a2680529f2 feat(theme): map modal, drawer, accent and status-subtle 2026-08-14 16:18:12 +02:00
G cabab1ea64 feat(theme)!: light + dark ramps, full OrangeCat vocabulary 2026-08-14 16:18:10 +02:00
G 5d0c1b177b chore: v0.4.0 design-tokens-v0.4.0 2026-08-14 13:02:56 +02:00
G 8b9d73b6c7 chore: no preset change 2026-08-14 13:02:54 +02:00
G 424cc28583 feat(type): balance display line lengths 2026-08-14 13:02:53 +02:00
G dc85c14d26 chore: v0.3.0 design-tokens-v0.3.0 2026-08-14 12:56:04 +02:00
G fe979410b3 feat(rhythm): map display sizes, measures and section spacing 2026-08-14 12:56:03 +02:00
G d4f6e226dd feat(rhythm): fluid section pace, display scale and measures 2026-08-14 12:56:01 +02:00
G 6f459b1b81 chore: v0.2.0 design-tokens-v0.2.0 2026-08-14 12:16:58 +02:00
G 5081c92f20 docs: display size floor 2026-08-14 12:16:55 +02:00
G 7c85691cd5 feat(type): add .wordmark and document the display size floor 2026-08-14 12:16:52 +02:00
G fe00891eae feat(tokens): add fonts/plex-mono-500-latin.woff2 design-tokens-v0.1.0 2026-08-14 03:51:02 +02:00
G e348ba035d feat(tokens): add fonts/plex-mono-400-latin.woff2 2026-08-14 03:51:00 +02:00
G 04744a1121 feat(tokens): add fonts/inter-latin.woff2 2026-08-14 03:50:58 +02:00
G 2454940eab feat(tokens): add fonts/inter-latin-ext.woff2 2026-08-14 03:50:56 +02:00
G e1fae7b957 feat(tokens): add fonts/instrument-serif-latin.woff2 2026-08-14 03:50:54 +02:00
G 950e5d0c07 feat(tokens): add fonts/instrument-serif-latin-ext.woff2 2026-08-14 03:50:52 +02:00
G 163d699f61 feat(tokens): add fonts/instrument-serif-italic-latin.woff2 2026-08-14 03:50:50 +02:00
G 3c22a5ad9a feat(tokens): add README.md 2026-08-14 03:50:48 +02:00