Repository navigation
feat(standards): meta.model_run, what a model a command calls did in the run - #672
Merged
Merged
Conversation
…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>
Merged
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Desktop's Inbox tab needs the facts of a mail
inboxsorting run as data (cli-coremailInboxCommand).Why
metais a strict object andmeta.rankingmeans 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.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