Skip to content

refactor(ci): adopt ai-kit, the package ai-ration became - #45

Merged
catomean merged 1 commit into
masterfrom
worktree-adopt-ai-kit
Aug 26, 2026
Merged

refactor(ci): adopt ai-kit, the package ai-ration became#45
catomean merged 1 commit into
masterfrom
worktree-adopt-ai-kit

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

ai-ration is now ai-kit — the name described one of its five modules and hid the rest, and the person deciding whether to install it couldn't tell what it did. That's an adoption cost paid at every install decision, and this is the package with one adopter whose absence took five repos down together on 2026-08-26.

The audit here was its second adopter, so it migrates first.

  • AI_RATION_FROM still works, and the old paths stay in the resolver list. A rename must not turn a working daily audit into a silent exit 2 on the first machine that hasn't caught up.
  • Installed from GitHub, not npm: ai-kit v0.3.0 is tagged, built and verified, but the publish failed on ENEEDAUTH — the repo has no NPM_TOKEN. Switch to npm i ai-kit once one is added.

SHARED.md now records why the merge stopped where it did: ai-kit absorbed ai-ration and re-exports ai-forms, because to an app "which model do we call", "AI chat" and "AI form fill" are one feature — AOZ adopted the form half, hand-rolled the rest, and was taken down by the half it skipped. threadkit and limitkit stay out: neither is about AI, and an app throttling its login form shouldn't install a model catalogue to do it.

Verified: 29 self-test assertions green, and a full local sweep run through the new ai-kit loader.

`ai-ration` is now `ai-kit`, because the name described one of its five modules
and hid the rest — and the person deciding whether to install it could not tell
what it did. That is an adoption cost paid at every install decision, and this
is the package with ONE adopter whose absence took five repos down together on
2026-08-26.

The audit here was its second adopter, so it moves first. `AI_RATION_FROM` still
works and the old paths stay in the resolver list: a rename must not turn a
working daily audit into a silent exit 2 on the first machine that has not
caught up.

Installed from GitHub rather than npm because ai-kit v0.3.0 is tagged, built and
verified but not on the registry — the repo has no NPM_TOKEN, which needs an
account nobody here holds. Switch to `npm i ai-kit` once it does.

SHARED.md records WHY the merge stopped where it did: ai-kit absorbed ai-ration
and re-exports ai-forms, because to an app "which model do we call", "AI chat"
and "AI form fill" are one feature. threadkit and limitkit stay out — neither is
about AI, and an app throttling its login form should not install a model
catalogue to do it. Merge by what a consumer needs together, never by "these are
all shared utilities".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@catomean
catomean merged commit 7821247 into master Aug 26, 2026
2 checks passed
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