Skip to content

feat(standards): meta.model_run, what a model a command calls did in the run - #672

Merged
leemour merged 1 commit into
mainfrom
feat/meta-model-run
Nov 19, 2026
Merged

leemour merged 1 commit into
mainfrom
feat/meta-model-run

Conversation

@leemour

@leemour leemour commented Nov 19, 2026

Copy link
Copy Markdown
Member

Task

Desktop's Inbox tab needs the facts of a mail inbox sorting run as data (cli-core mailInboxCommand).

Why

meta is a strict object and meta.ranking means a search's reordered hits. A run of a model a command calls on its own (mail's inbox) had nowhere to say how many threads went to the model, how many it sorted, how many wait, the tokens and the cost.

What

  • meta.model_run: { provider, model, endpoint, sent, done, left, usage?, cost_usd, ms }, ranking's names for the shared fields.
  • WC-OUT-7 lists it; a changes/ fragment under Added.

Testing

  • vitest run src/standards/standards.test.ts (takes a run, refuses an unknown key and a negative count), typecheck, pnpm docs:check.

🤖 Generated with Claude Code

…the run

mail's `inbox` sorts new threads with the AI model the owner chose, and
Desktop's Inbox tab needs the run's facts as data: how many threads went to
the model, how many it sorted, how many wait for the next run, the tokens
the provider counted, the cost when a price is known, and which model at
which endpoint. meta is a strict object, and meta.ranking means a search's
reordered hits, so a new optional key carries them, with ranking's names
for the shared fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 3593335 into main Nov 19, 2026
10 checks passed
@leemour
leemour deleted the feat/meta-model-run branch November 19, 2026 16:20
@leemour leemour mentioned this pull request Nov 19, 2026
leemour added a commit that referenced this pull request Nov 19, 2026
Collects the merged changes/ fragments and the Unreleased fix into
0.125.0 (meta.model_run #672, --like, linear-cli, audit --family
wordpress, docs-check YAML header). The wordpress fragment said `###
Changed`, which is not a changelog heading; it is an addition.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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