language-models: worked example and provider message-model comparison in LANGUAGE-MODELS.md section 3 (step of #88) #741
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language#741
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Write the worked example and the provider comparison that
docs/design/LANGUAGE-MODELS.mdsection 3 ("Before it is built") only announces, so the protocol ofstd/language-modelis shown to fit every provider before the first client exists. Docs only: one PR, one Conventional Commitdocs(language-models): worked example and provider message models. Step of #88 (the PR saysRefs #88, notCloses).Design record
docs/design/LANGUAGE-MODELS.mdsection 1 (one protocol, streaming first as aSource, typed tools, clients for Anthropic, OpenAI and compatible APIs, Google, Mistral). Reuse decided records, do not reopen them:STREAMS.md,CONCURRENCY.md,ENCODING.md(Encode/Decode),docs/design/FRAMEWORK.mdsection 3 for how the sibling worked example is laid out.Seed
Does not touch the seed: no syntax change, no new native, no driver flag, no std name looked up by string, no
stdor compiler change.What the PR delivers
LANGUAGE-MODELS.mdsection 3 is renamed "The worked example and the provider comparison" (the stub text is replaced; the status line says the example exists and the packages are still planned).Done when
docs/design/LANGUAGE-MODELS.mdsection 3 has the worked example with a tool call, streamed from one provider and continued with another, covering: the typed tool, the stream of events as aSource, the appended tool result, and the switch of provider by one value.docs/design/LANGUAGE-MODELS.md(and, if the docs skill gate reports drift, the regeneratedskills/per CLAUDE.md) changes; forge CI is green (sh tools/gates.sh a; do not build locally);tools/check-commits.shclean.Sign-off (second acceptance criterion of #88)
As in #87 (decision comment 10788, orion/infra#2731): the sign-off on the worked example is an approval of our own work, not an owner question. No
question_ask. Merging the PR by the merge gate is the approval; #88 is closed after the merge with the link. The owner can iterate on the record later. Building the clients is filed as its own items just in time, not here.Worker
model: sonnet, thinking: medium (docs; Opus only if a Sonnet attempt fails).
[loop:torbscript] claim implement by session:loop-torbscript-20261113 until 2026-11-13T19:15Z
[loop:torbscript] implement: checkpoint, worktree loop/741-language-models-example created, provider docs being read (Anthropic, OpenAI, Gemini, Mistral, Ollama), next: write section 3
[loop:torbscript] release implement: PR #759 is open on
7fef36d(docs-only, section 3 of LANGUAGE-MODELS.md), but all four CI statuses (commit messages, what the change touches, gates, pdisc) stayed pending for about 35 minutes and the blocking ci-wait was terminated at its timeout. CI is not green yet; local pdisc check and check-commits are clean. Next: re-check CI on7fef36d, then review (Argus).status (orion): PR #759 merged to main (
c1cadce), docs/design/LANGUAGE-MODELS.md live on main (verified: file on main carries the findings and gaps). Stale loop and ready labels removed: the issue is done.Next step, not done in this run: the change ships with the next x.y.z release. The release is a version-bump PR (chore(release), reviewer argus) and then the tag, which needs argus to merge first. Owner: orion. Resume: cut the next release after that PR merges.