Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
1c11d22
feat: Settings offers the catalog's models pi does not list
claude Oct 24, 2026
8c04672
test: restructure the suite
claude Oct 25, 2026
2ebaffc
chore: refresh the generated catalog and limits tables
claude Oct 26, 2026
d51a3e6
test: skip free models the gateway has withdrawn in the live suite
claude Oct 26, 2026
409b5e1
fix: address the second review of P-T1b
claude Oct 26, 2026
aec8c1a
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into p-h
claude Oct 26, 2026
0dd1b9c
Merge branch 'claude/vigilant-mendel-bctz9n' into p1a
claude Oct 26, 2026
1f5ed90
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into p1b
claude Oct 26, 2026
05faa93
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into p2
claude Oct 26, 2026
73db37b
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into p-t1a
claude Oct 26, 2026
9f7e8e2
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into p-t1b
claude Oct 26, 2026
1f48272
test: follow the vendor catalog refresh
claude Oct 26, 2026
3cfacd9
fix: address the second review of P-H
claude Oct 26, 2026
bffd3a4
Merge branch 'claude/vigilant-mendel-bctz9n-p-h' into p-r1
claude Oct 26, 2026
8ab5d65
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into p-h
claude Oct 26, 2026
25dc182
Merge branch 'claude/vigilant-mendel-bctz9n-p-h' into p-r1
claude Oct 26, 2026
9cf8372
test: follow the vendor catalog refresh
claude Oct 26, 2026
0cceb81
fix: address the second review of P-R1
claude Oct 27, 2026
9f694bf
Merge branch 'claude/vigilant-mendel-bctz9n-p-r1' into p-r2
claude Oct 27, 2026
059236a
ci: gate freshness only on a pull request's own generator changes
claude Oct 27, 2026
d13cbe2
chore: refresh the generated catalog after Zen retired deepseek-v4-flash
claude Oct 27, 2026
32f2d71
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Oct 27, 2026
64c8acc
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Oct 27, 2026
6988e7a
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into claude/vigilant…
claude Oct 27, 2026
aba2c4a
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into claude/vigilant-…
claude Oct 27, 2026
c6d8965
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into claude/vigila…
claude Oct 27, 2026
c6077be
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into claude/vigila…
claude Oct 27, 2026
3d7cb38
test: give the freshness walk's dynamic import a script-local target
claude Oct 27, 2026
e4aa0c9
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Oct 27, 2026
94c3a22
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Oct 27, 2026
14c1544
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into claude/vigilant…
claude Oct 27, 2026
8ee4245
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into claude/vigilant-…
claude Oct 27, 2026
5133c0c
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into claude/vigila…
claude Oct 27, 2026
b518061
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into claude/vigila…
claude Oct 27, 2026
3ccd70c
fix: address the second review of P-R2
claude Oct 27, 2026
79d0036
Merge branch 'claude/vigilant-mendel-bctz9n-p-r2' into p3
claude Oct 27, 2026
29b43ca
chore: refresh the generated catalog after Zen retired deepseek-v4-flash
claude Oct 27, 2026
4891c07
test: follow the vendor catalog refresh
claude Oct 27, 2026
4dbd22e
fix: send Google's thinking level to Gemini models the catalog gives …
claude Oct 27, 2026
d8821f0
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Oct 27, 2026
dec00c8
docs: correct the Go shape count, the README date and the install range
claude Oct 27, 2026
be649da
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Oct 27, 2026
d16a600
docs: date the refreshed model count and correct three stale figures
claude Oct 27, 2026
f8a4af3
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Oct 27, 2026
cb3cdda
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Oct 27, 2026
3d461c2
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into claude/vigilant…
claude Oct 27, 2026
659b0f3
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into claude/vigilant-…
claude Oct 27, 2026
fa6a5bd
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into claude/vigila…
claude Oct 27, 2026
c82fa3e
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into claude/vigila…
claude Oct 27, 2026
a583874
Merge branch 'claude/vigilant-mendel-bctz9n-p-h' into claude/vigilant…
claude Oct 27, 2026
72852fb
Merge branch 'claude/vigilant-mendel-bctz9n-p-r1' into claude/vigilan…
claude Oct 27, 2026
dbe995e
fix: address the second review of P3
claude Oct 27, 2026
3794482
Merge branch 'claude/vigilant-mendel-bctz9n-p3' into p-t2
claude Oct 27, 2026
c0ac147
chore: refresh the generated catalog after Zen retired deepseek-v4-flash
claude Oct 27, 2026
61e2c5d
docs: close the audit's remaining findings on P-R1
claude Oct 27, 2026
1c91312
Merge remote-tracking branch 'origin/main' into claude/vigilant-mende…
claude Nov 2, 2026
854a337
chore: follow the vendor's retirement of nemotron-3-ultra-free
claude Nov 2, 2026
b0f0bdc
test: walk past a model the gateway answers ModelDeprecated for
claude Nov 2, 2026
15e6236
test: install the plane-lookup world before each test
claude Nov 2, 2026
2454609
test(scripts): move the generated-table skip into the CLI-version rules
claude Nov 2, 2026
beae0ca
test(e2e): read an upstream's 400 "Model is unavailable" as a retirement
claude Nov 2, 2026
1d4aaab
docs(testing): describe the suite this branch keeps
claude Nov 2, 2026
4b0ebea
test(e2e): keep the free-tier case's narrowing in the subject picker
claude Nov 2, 2026
979ea27
chore(vendor): follow opencode 1.19.5
claude Nov 2, 2026
28fee8d
docs(plan): restack the plan onto 1.8.0 and the alpha host
claude Nov 2, 2026
8b9da84
build: raise the client bundle ceiling to 136 KB
claude Nov 2, 2026
281fc9f
docs: complete the restack of P0
claude Nov 2, 2026
6812723
docs: close the restack review of P0
claude Nov 2, 2026
7cd12d3
docs: hold the meter's allowance figures to the generated table
claude Nov 3, 2026
e3216d1
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n' i…
claude Nov 3, 2026
73d5465
style: lint and format the merged purge row and token test
claude Nov 3, 2026
2ecf689
fix: complete the restack of P1a
claude Nov 3, 2026
252d0f8
docs: state the measured meter-scan reasons and P1a's refusal test cases
claude Nov 3, 2026
bf5717b
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p1…
claude Nov 3, 2026
5e60c1b
test: one catalogue fixture, behind the one door
claude Nov 3, 2026
f3697a5
docs: describe debugFile by the gate main chose (D24)
claude Nov 3, 2026
074c834
style: satisfy main's promise lint in the retry test
claude Nov 3, 2026
19f05e6
docs(plan): record P1b's restack
claude Nov 3, 2026
8e9f36e
test: keep the fallback case's comment free of a model name
claude Nov 3, 2026
7136ca0
fix: complete the restack of P1b
claude Nov 3, 2026
786de90
docs: name the setup file in the door rule and count the fixture's en…
claude Nov 3, 2026
239d635
docs(plan): record the both-channel host question for P-T1a
claude Nov 3, 2026
bab4fc8
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p1…
claude Nov 3, 2026
521b98f
test: route main's new tests through the one door
claude Nov 3, 2026
737a49d
docs(testing): drop the wrapper forwarder P2 retires again
claude Nov 3, 2026
c15aca0
docs: stop the count sweep record asserting a superseded catalog
claude Nov 3, 2026
798ba2e
chore: refresh the generated catalog for pulse-alpha-free
claude Nov 3, 2026
749669c
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Nov 3, 2026
835c793
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Nov 3, 2026
0563db6
chore: merge the parent's catalog refresh into P2
claude Nov 3, 2026
394e892
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p2…
claude Nov 3, 2026
d65ed21
build: switch the dev install between the harness channels
claude Nov 3, 2026
f595d2d
test: fail if src reads what the desktop's patched pi changes
claude Nov 3, 2026
ea228a6
ci: run the unit and mock suites on both harness channels
claude Nov 3, 2026
90048d7
docs: record the both-channel, no-patch host policy
claude Nov 3, 2026
bcae61f
docs: keep the plan's D14'' row one table cell
claude Nov 3, 2026
44a6d5b
docs: complete the restack of P-T1a
claude Nov 3, 2026
bce1863
test: hold the relock's lockfile strip and name the channel switch's …
claude Nov 3, 2026
4679c1d
fix: report harness channel drift nightly and complete the restack of…
claude Nov 3, 2026
6310663
fix: keep Dependabot and the rc lockfile inside the channel-bump rule…
claude Nov 3, 2026
fb6a686
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 3, 2026
0101239
test: characterize the real host on both harness channels, newest and…
claude Nov 3, 2026
017adad
ci: boot each channel's published binary, as npm installs it and at t…
claude Nov 3, 2026
e1d775c
docs: describe the host cells and the per-channel binary e2e
claude Nov 3, 2026
4871d87
test: name the host cell each row and dispatch set belongs to
claude Nov 3, 2026
79ef58a
test: record the alpha host's broken save as a host limitation
claude Nov 3, 2026
8688046
fix: pin the e2e-host floor cell to the shipped tree and narrow its h…
claude Nov 4, 2026
c1fca83
fix: hold the cordis family to the declared range floors
claude Nov 4, 2026
ec38185
fix: hold the cordis family at the record's floors through a relock
claude Nov 4, 2026
011b99e
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
d001586
docs: pair the reload bullet in the Chinese README
claude Nov 4, 2026
ff2db1d
docs: retitle P-H as the fix it ships
claude Nov 4, 2026
58ba532
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
4a66384
fix: leave the Google thinking control to the host's pi
claude Nov 4, 2026
7ed93a7
fix: route by the plugin's own endpoint table, never pi's catalog
claude Nov 4, 2026
34d6959
fix: size undescribed models with pi-ai's own defaults, not a copy
claude Nov 4, 2026
fa53d8e
docs: cite both channels' host lines and correct the session header c…
claude Nov 4, 2026
db81e7e
test: size the adapter's toggle case through pi-ai's own Config
claude Nov 4, 2026
48776d2
test: hold every remote codec's two parser doors to one parser
claude Nov 4, 2026
0a165d6
test: record the floor's budget refusal in the dispatch cases
claude Nov 4, 2026
2701c88
test: record where the route claim cannot engage on the alpha npm host
claude Nov 4, 2026
76d11e0
fix: complete the restack of P-R1
claude Nov 4, 2026
8bb7b7f
docs: record the withdrawn thinking-level rewrite and finish the P-R1…
claude Nov 4, 2026
26d1e74
docs: complete the restack review of P-R1
claude Nov 4, 2026
7fec19d
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
53388e2
test(mock): the mock serves every dispatched request and no root one
claude Nov 4, 2026
67faee7
test: record the refusal, header and family shapes the community plug…
claude Nov 4, 2026
b9bff93
test: the dispatch derivation reads the root shape P-R2 probes
claude Nov 4, 2026
7322b8b
test: the endpoint-family pins use stand-in route defaults
claude Nov 4, 2026
6c4c643
fix: read ModelDeprecated as gone in every probe classifier and finis…
claude Nov 4, 2026
24fcf00
fix: name the session gate a capped free walk met, and close P-R2's p…
claude Nov 4, 2026
de9bfc0
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
da3dec9
docs: record what the restack changed for P3 in the plan
claude Nov 4, 2026
f006ce6
fix: offer Settings fetch's catalog complement only once the route cl…
claude Nov 4, 2026
38f19dc
test: a harness that is the real host
claude Nov 12, 2026
9cc5cd6
test: pin the host contracts for both internal/config call shapes
claude Nov 12, 2026
2db6e7b
test: re-measure the host cells on rc 0.2.2-rc.2 and alpha 0.2.2-alpha.3
claude Nov 12, 2026
d4723c2
test: pin the bridges' route-level api set per channel, and state bot…
claude Nov 12, 2026
0a000c5
docs: put P-T1b on main 1.9.2 and name the cores and owners the revie…
claude Nov 12, 2026
6786ee2
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-t1b (hist…
claude Nov 12, 2026
0b2cf31
fix: disabling or reloading the plugin restores the host methods it w…
claude Nov 12, 2026
bea5722
docs: cite the new cordis core for the shadow-method trap, and name t…
claude Nov 12, 2026
da01f95
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-h (histor…
claude Nov 12, 2026
57b0851
Merge origin/main (#168) into claude/vigilant-mendel-bctz9n-p-t1b
claude Nov 12, 2026
b1d8e29
Merge claude/vigilant-mendel-bctz9n-p-t1b (#110's head, with main #16…
claude Nov 12, 2026
e13848d
Merge origin/main (#110 squash) into claude/vigilant-mendel-bctz9n-p-h
claude Nov 12, 2026
d90f066
feat: the plugin owns the opencode and opencode-go routes
claude Nov 12, 2026
0ab3fa7
fix: the route claim speaks both internal/config call shapes
claude Nov 12, 2026
9ba2290
fix: plane profiles carry pi-ai's image bounds where pi-ai defines them
claude Nov 12, 2026
d4f6557
test: the binary e2e expects the claim on both host cores
claude Nov 12, 2026
5f82bd1
test: the route claim through a pi-ai row the loader removed first
claude Nov 12, 2026
bbd924d
docs: record the new host core and the claim on both shapes
claude Nov 12, 2026
aa70a43
fix: the route claim's re-append never throws into pi-ai's status emit
claude Nov 12, 2026
1f80a51
docs: mark P-T1b and P-H merged, and put P-R1 on main 1.9.2
claude Nov 12, 2026
0b6fc99
docs: the plan's summaries say P0 to P-H are merged
claude Nov 12, 2026
974b43a
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-r1 (histo…
claude Nov 12, 2026
b54b1de
test: measure which endpoint families the gateway serves
claude Nov 12, 2026
a706d44
docs: record P-R2's dispatch set re-measured on the new host core
claude Nov 12, 2026
af1de77
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-r2 (histo…
claude Nov 12, 2026
e04e719
Merge claude/vigilant-mendel-bctz9n-p-h (this PR's base) into claude/…
claude Nov 12, 2026
3eb8541
feat: Settings offers the catalog's models pi does not list
claude Nov 12, 2026
60f6552
test: the F21 restart case finds pi-ai's fiber by uid on the new core
claude Nov 12, 2026
c35e6a4
test: Settings' fetch follows the claim's engagement on the new core
claude Nov 12, 2026
40bb655
test: the binary e2e's Settings fetch rows run in every cell of both …
claude Nov 12, 2026
cbca50a
docs: P3's guard on the new core, and its e2e rows in every cell
claude Nov 12, 2026
6c172fe
test: name the pi versions host-discovery's capacity check is measure…
claude Nov 12, 2026
a7cb95a
test: drive Settings' fetch guard through states the host cores reach
claude Nov 13, 2026
33925ef
Merge origin/main (#170, #159) into claude/vigilant-mendel-bctz9n-p-r1
claude Nov 13, 2026
77f538b
fix: Settings' fetch answers the catalog through a handover's restart
claude Nov 13, 2026
96789b4
docs: the plan's patch-method section reads claiming() as the other r…
claude Nov 13, 2026
fdd1ec8
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p3 (history…
claude Nov 13, 2026
71dae39
docs: the plan's P3 rebase note counts four cases and says which chan…
claude Nov 13, 2026
8648541
test: restructure the suite
claude Nov 13, 2026
c3a715a
test: the route claim's stand-in models both cordis cores in one place
claude Nov 13, 2026
8a0cc97
docs: record P-T2's rebase onto P3 and where the new core's cases landed
claude Nov 13, 2026
d3be8ab
test: the refusal oracle classifies a 403 through the installed pi-ai
claude Nov 13, 2026
e18d5b5
test: the refusal oracle's control reads the probe's words, and logLi…
claude Nov 13, 2026
6fcd5b5
docs: place the route claim's stand-in in its support file and record…
claude Nov 13, 2026
11410fd
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-t2 (histo…
claude Nov 13, 2026
5ecc037
fix: the route claim steps aside for a plane another plugin owns
claude Nov 13, 2026
e21f99d
docs: D27, and the routes OpenCode Console serves
claude Nov 13, 2026
6527780
fix: keep the plugin off every stepped-aside plane, by realm or marker
claude Nov 13, 2026
d63a24c
docs: D27 names the realm by what each context resolves, and covers t…
claude Nov 13, 2026
a1db1d2
fix: a live change of pi-ai's realm alone moves its planes, with one …
claude Nov 13, 2026
51f4626
fix: the purge never rewrites a plane entry another plugin owns
claude Nov 13, 2026
7052ab0
test: pin the step-aside's multi-row branches and the save check on a…
claude Nov 13, 2026
574604e
docs: D27 covers a realm-only live edit and the purge
claude Nov 13, 2026
140c9c9
fix: a live realm change on the plugin's own row or a group moves the…
claude Nov 13, 2026
3c85d97
fix: a marker saved beside a second pi-ai row releases the plane in t…
claude Nov 13, 2026
d58994b
test: perform the discovery and meter step-aside through the applied …
claude Nov 13, 2026
b2d5a86
docs: D27 covers every row's realm edit and the second-row release; t…
claude Nov 13, 2026
219263f
Merge claude/vigilant-mendel-bctz9n-p-r1 (D27 step-aside, main #170/#…
claude Nov 13, 2026
d563282
test: the endpoint setting never moves a plane another plugin owns
claude Nov 13, 2026
25c8c9e
Merge claude/vigilant-mendel-bctz9n-p-r2 (D27 step-aside, main #170/#…
claude Nov 13, 2026
c1d9e86
fix: Settings leaves a stepped-aside plane's list to pi-ai
claude Nov 13, 2026
8b2fa44
fix: Settings leaves a foreign-realm row's undeclared plane to pi-ai
claude Nov 13, 2026
b20bf4b
Merge claude/vigilant-mendel-bctz9n-p3 (D27 step-aside, main #170/#15…
claude Nov 13, 2026
340bf68
docs: record where D27's cases landed in P-T2's layout
claude Nov 13, 2026
5c3854b
chore: refresh the generated catalog and limits tables
github-actions[bot] Nov 13, 2026
586c6b8
chore: follow the catalog refresh through the docs and tests
claude Nov 13, 2026
7534edc
docs: point the routes module header at the per-SDK counts instead of…
claude Nov 13, 2026
ff2f0d6
docs: say where the per-SDK counts live without claiming a single copy
claude Nov 13, 2026
152d0c0
docs: replace the retired muse-spark-1.3-contributor-free id in both …
claude Nov 13, 2026
37bcf0c
Merge the catalog refresh (#171) into claude/vigilant-mendel-bctz9n-p-r1
claude Nov 13, 2026
ce889ef
chore: follow the catalog refresh through P-R1's tests and docs
claude Nov 13, 2026
65b8443
Merge claude/vigilant-mendel-bctz9n-p-r1 (catalog refresh #171) into …
claude Nov 13, 2026
285aeaf
Merge claude/vigilant-mendel-bctz9n-p-r2 (catalog refresh #171) into …
claude Nov 13, 2026
50ef6ab
Merge claude/vigilant-mendel-bctz9n-p3 (catalog refresh #171) into cl…
claude Nov 13, 2026
1e46ef7
ci: one setup, one unit run, and stricter scripts
claude Nov 14, 2026
5690400
Merge branch 'main' into p-t3
claude Nov 14, 2026
fd3a6bc
fix: report the gateway's refusals honestly
claude Nov 14, 2026
2c8e154
refactor: one installer for the remote services
claude Nov 14, 2026
cc9d484
Merge origin/main into p-t3
claude Nov 15, 2026
84feb50
fix: decide every README value of a host bump against the paragraph a…
claude Nov 15, 2026
17d6a50
test: name a pnpmfile among the build approvals the tokenless plan st…
claude Nov 15, 2026
7a41445
test: spawn the catalog scripts current and on a moved endpoint, and …
claude Nov 15, 2026
a787b5e
docs: name what enforces the client-bundle boundary, and P-T3's pull …
claude Nov 15, 2026
9911b30
test: find a root pnpmfile on disk and hold the global pnpmfile spell…
claude Nov 15, 2026
1e51e5d
Merge the re-reviewed p-t3 into p-r3
claude Nov 15, 2026
46175e3
test: tie each variant row's "no key" label to its keyed switch
claude Nov 16, 2026
42929dc
Merge the re-reviewed p-r3 into p5
claude Nov 16, 2026
bf01001
docs: record that P5's pins landed in its one change commit
claude Nov 16, 2026
ef74a26
Merge main (#177 toolchain bump, #178 refresh) into p-t3
claude Nov 16, 2026
0f97615
Merge p-t3 into p-r3
claude Nov 16, 2026
6c599a5
Merge p-r3 into p5
claude Nov 16, 2026
bf1b3b8
fix: narrow the typert peer to the request-headers seam
claude Nov 16, 2026
359ae87
refactor: one resolver for the fetch patch's credential fill
claude Nov 16, 2026
524e95a
revert: keep the typert peer range and state the seam's floor in the …
claude Nov 16, 2026
544c88a
docs: record the typert peer decision as taken for the owner in the P…
claude Nov 16, 2026
c424b21
docs: state what #163 did to the cordis peer, not an intent it never …
claude Nov 16, 2026
5749d91
chore: refresh the generated catalog and limits tables
github-actions[bot] Nov 16, 2026
997eb17
refactor: one source per table
claude Nov 16, 2026
ac8f34f
Merge branch 'claude/vigilant-mendel-bctz9n-p6' into p7
claude Nov 16, 2026
7ebbe83
chore: follow the catalog refresh through the docs and tests
claude Nov 16, 2026
beaf08b
test: stop saying the newest pi lists every Go catalog model
claude Nov 16, 2026
1ad8bd8
test: word the pi-gap comment so it depends on no host cell
claude Nov 16, 2026
f36e849
Merge main (#181 toolchain bump) and the catalog refresh (#182) into …
claude Nov 16, 2026
71316be
Merge claude/vigilant-mendel-bctz9n-p-t3 (main #181, refresh #182) in…
claude Nov 16, 2026
aa58754
Merge claude/vigilant-mendel-bctz9n-p-r3 (main #181, refresh #182) in…
claude Nov 16, 2026
0834b63
Merge claude/vigilant-mendel-bctz9n-p5 (main #181, refresh #182) into…
claude Nov 16, 2026
f5610db
Merge claude/vigilant-mendel-bctz9n-p6 (main #181, refresh #182) into…
claude Nov 16, 2026
121bd6d
Merge main (#180) into claude/vigilant-mendel-bctz9n-p7
claude Nov 16, 2026
e3c320d
refactor: one settings table drives schema, card and manifest
claude Nov 16, 2026
d1f7bf4
Merge branch 'claude/vigilant-mendel-bctz9n-p7' into p8
claude Nov 16, 2026
7e54c1b
Merge main (#183) into claude/vigilant-mendel-bctz9n-p8
claude Nov 16, 2026
f829dff
refactor: one remote seam
claude Nov 16, 2026
9d269b1
Merge branch 'claude/vigilant-mendel-bctz9n-p8' into p9
claude Nov 16, 2026
24e627d
Merge main (#184) into claude/vigilant-mendel-bctz9n-p9
claude Nov 16, 2026
fcf56ee
refactor: move modules to where they belong
claude Nov 16, 2026
bbbea4b
Merge main (#185) into claude/vigilant-mendel-bctz9n-p10a
claude Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -839,14 +839,13 @@ jobs:
# dependency bump touches it), so a change to its `test:e2e:host`
# script alone is exercised only by the nightly run.
# The host seam lives under src/host/ (the route claim, the plane
# adapter, the Settings graft, the host-module loaders), and the
# modules whose behaviour depends on the real loader and apply order
# sit beside it by name: the composition (lifecycle.ts, identity.ts),
# the host-module seam (cordis-context.ts), the remaining discovery
# patch (models-discovery.ts), and the two modules that still install
# host-level patches until P6/P10a move them under src/host/: the
# global fetch wrapper (fetch-patch.ts, whose order the probe reads
# as fetchInnermost) and the llm/stream hook (stream-hook.ts). Every
# adapter, the Settings graft, the discovery patch, the host-module
# loaders), and the modules whose behaviour depends on the real
# loader and apply order sit beside it: the composition
# (lifecycle.ts, identity.ts), the host-module seam
# (cordis-context.ts), the global fetch wrapper's stages under
# src/request/ (the patch whose order the probe reads as
# fetchInnermost) and, by name, the llm/stream hook (stream-hook.ts). Every
# other row producer (the pure plane profile and model in
# src/utils/, key-capture.ts, models-catalog.ts, config.ts, the
# generated catalog) is covered on each pull request by the
Expand All @@ -858,7 +857,7 @@ jobs:
# reader its gate, prefix and cell come through (support/e2e-env.ts).
# test/keyed-probes.test.ts compiles this pattern and checks it.
# A here-string, not a pipe: see the e2e job's tier step.
if grep -Eq '^(src/host/|src/lifecycle\.ts$|src/identity\.ts$|src/cordis-context\.ts$|src/models-discovery\.ts$|src/fetch-patch\.ts$|src/stream-hook\.ts$|cordis\.patch\.yml$|test/e2e/host/|test/e2e/host-binary\.e2e\.ts$|test/support/host\.ts$|test/support/host-versions\.ts$|test/support/e2e-env\.ts$|scripts/host-drift\.ts$|\.github/workflows/ci\.yml$|\.github/actions/|vitest\.e2e\.config\.ts$|vite\.config\.ts$)' <<<"$changed"; then
if grep -Eq '^(src/host/|src/lifecycle\.ts$|src/identity\.ts$|src/cordis-context\.ts$|src/request/|src/stream-hook\.ts$|cordis\.patch\.yml$|test/e2e/host/|test/e2e/host-binary\.e2e\.ts$|test/support/host\.ts$|test/support/host-versions\.ts$|test/support/e2e-env\.ts$|scripts/host-drift\.ts$|\.github/workflows/ci\.yml$|\.github/actions/|vitest\.e2e\.config\.ts$|vite\.config\.ts$)' <<<"$changed"; then
echo "run=true" >> "$GITHUB_OUTPUT"
else
echo "run=false" >> "$GITHUB_OUTPUT"
Expand Down
26 changes: 13 additions & 13 deletions AGENTS.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions CONTRIBUTING.md

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Built, in the order this file sets out:

**What a login buys is not the free tier, and the surface exists anyway.** The org is necessary and not sufficient: measured with this machine's own account — its session token, its active org, and every header captured from the real client — a free-tier model still answers `403 FreeTierError`, on both endpoints. The gate is not in the HTTP request, so it is either a client fingerprint or a signature sent only to the real host, and the error's own words may simply be true. A login is what the free tier is asked FOR; whether it is granted is a separate, unmeasured question. The first org is activated, matching the client.

- **The org on the request.** `fetch-patch.ts` sends `x-opencode-org-id` from a per-plane resolver — asked per request, because a login can arrive while the process runs — and invents no header when a plane's credential is a plain key, which is every key deployment. `credentialOrg` is the explicit fallback for a token that came from elsewhere.
- **The org on the request.** The fetch patch (`request/headers.ts`) sends `x-opencode-org-id` from a per-plane resolver — asked per request, because a login can arrive while the process runs — and invents no header when a plane's credential is a plain key, which is every key deployment. `credentialOrg` is the explicit fallback for a token that came from elsewhere.

Built, and the account plane it serves:

Expand Down Expand Up @@ -290,10 +290,10 @@ The shape it would read, taken from the schema rather than guessed: `credential(
The two modules existed and were tested before anything called them. The wiring below is built: a config field with no reader is an empty switch, which this repository has already been audited for once, and the edits went together.

1. `src/config.ts` — `readOpencodeStore: false` in `CONFIG_DEFAULTS` (the object is alphabetical, so between `providers` and `sessionIdEnv`), the matching optional field on `PluginConfig`, and a `z.boolean().default(...).volatile()` row in the schema with a description that says what it reads and that it is off by default.
2. `src/go-discovery.ts` — one more entry in the step map `firstResolved` takes, and **last in every policy**, because the user's own declaration wins: `opencodeStore: () => readFromStore(ctx, plane)`. It resolves the path with `opencodeDatabasePath({ channel: process.env.OPENCODE_CHANNEL, env: process.env, home: os.homedir() }, os.tmpdir())`, reads with `readOpencodeCredentials`, picks the entry whose `integrationId` matches the plane, and answers `undefined` for everything else — a missing file included.
2. `src/go-discovery.ts` (now `src/credentials.ts`) — one more entry in the step map `firstResolved` takes, and **last in every policy**, because the user's own declaration wins: `opencodeStore: () => readFromStore(ctx, plane)`. It resolves the path with `opencodeDatabasePath({ channel: process.env.OPENCODE_CHANNEL, env: process.env, home: os.homedir() }, os.tmpdir())`, reads with `readOpencodeCredentials`, picks the entry whose `integrationId` matches the plane, and answers `undefined` for everything else — a missing file included.
3. `src/settings-fields.ts` — one `CARD_FIELDS` control, which is what makes the switch reachable.
4. **Which of the two mechanisms to use, now that both have been read.** `discoverGoConfig` walks `ctx.loader.entries()` and reads `entry.options.config`, but that is the PROVIDER REGISTRY — the rows that describe `opencode-go` and `opencode` — not this plugin's own configuration. This plugin's own config arrives as a VALUE: `fetch-patch.ts` receives `config: ResolvedPluginConfig` as a parameter, and `lifecycle.ts` is what passes it. So the new step should take the flag as an argument threaded from `lifecycle` rather than dig for it in the loader, and that means `resolveGoApiKey` needs one more parameter (it currently takes `ctx`, `targetProvider` and `policy`).
5. The config travels as VALUES rather than as a config object: `lifecycle.ts` resolves it with `resolveConfig` and passes fields down. `usage.ts:285` calls `resolveGoApiKey(...)` for the meter and `fetch-patch.ts:253` reads `config.keySource` directly for the headers, which is the precedent for how a field arrives. **The model-call path is now traced, and it is `fetch-patch.ts`**: the interceptor's Authorization fallback is what fills the `Bearer unused` sentinel the internal routes carry, so that is where a request's own key is resolved. The other one is `google-bridge.ts`'s `resolveApiKey`, the per-request resolver for the `opencode-google` route specifically — `responses-provider.ts` calls neither `resolveRoutedKey` (since deleted in 1.x: it was exported and never called from `src/`) nor `resolveApiKey`, as the grep said; it hands the bridge its inputs, and the flag travels that way. Both consult the store only after the captured key and the declared environment, so they agree with the meter.
4. **Which of the two mechanisms to use, now that both have been read.** `discoverGoConfig` walks `ctx.loader.entries()` and reads `entry.options.config`, but that is the PROVIDER REGISTRY — the rows that describe `opencode-go` and `opencode` — not this plugin's own configuration. This plugin's own config arrives as a VALUE: `fetch-patch.ts` (now the stages under `src/request/`) receives `config: ResolvedPluginConfig` as a parameter, and `lifecycle.ts` is what passes it. So the new step should take the flag as an argument threaded from `lifecycle` rather than dig for it in the loader, and that means `resolveGoApiKey` needs one more parameter (it currently takes `ctx`, `targetProvider` and `policy`).
5. The config travels as VALUES rather than as a config object: `lifecycle.ts` resolves it with `resolveConfig` and passes fields down. `usage.ts:285` calls `resolveGoApiKey(...)` for the meter and `fetch-patch.ts:253` reads `config.keySource` directly for the headers, which is the precedent for how a field arrives. **The model-call path is now traced, and it is `fetch-patch.ts`** (now `src/request/`): the interceptor's Authorization fallback is what fills the `Bearer unused` sentinel the internal routes carry, so that is where a request's own key is resolved. The other one is `google-bridge.ts`'s `resolveApiKey`, the per-request resolver for the `opencode-google` route specifically — `responses-provider.ts` calls neither `resolveRoutedKey` (since deleted in 1.x: it was exported and never called from `src/`) nor `resolveApiKey`, as the grep said; it hands the bridge its inputs, and the flag travels that way. Both consult the store only after the captured key and the declared environment, so they agree with the meter.
6. Tests: the step answers a key from a store this suite builds, answers `undefined` with the switch off, and still loses to a declared credential and to a captured one; the fetch patch fills its Authorization header from the store, per plane; and the bridge carries a stored login over the store.

**One bug the wiring found, worth recording because the login reader masked it.** `google-bridge.ts` derived the plane with `String(route).startsWith("opencode-go")`, and `"opencode-google"` starts with `"opencode-go"` — so the Zen route was read as the Go one. `loginTokenReader` hid that by falling back to the other plane; an integration-id lookup does not, so the derivation is now an exact route comparison.
Expand Down Expand Up @@ -334,7 +334,7 @@ Everything below is measured against the live gateway and a real installation, o
| org on the request | **not needed** | **needed** — `x-opencode-org-id` |
| session header | accepted, not required | **required** (`400 MissingSessionID` without) |

The org distinction is the one that matters most and was got wrong twice: it belongs to the **Go** plane only. `src/fetch-patch.ts` already scopes it per plane through `hooks.resolveOrg?.(gatewayPlaneFor(url))`.
The org distinction is the one that matters most and was got wrong twice: it belongs to the **Go** plane only. `src/request/headers.ts` already scopes it per plane through `resolveOrg?.(gatewayPlaneFor(url))`.

### The two sources, and which is which

Expand Down Expand Up @@ -364,7 +364,7 @@ So the refusal is not about structure, data, headers, route, credential class or

**Plane matters, and that is why the hide was scoped to Zen in the rounds it existed.** `step-5-preview-free` and `longcat-2.5-preview-free` appear on BOTH planes; `space-bunny` and `muse-spark-1.3-contributor` are Go's. So the exclusion was `provider === "zen" && id.endsWith("-free")` — never an id list and never global.

**That rule broke eleven tests, and they were not mechanical.** Several encode deliberate behaviour about which models are offered (`adds Space Bunny and removes retired 1.2`, `preserves Space Bunny while removing retired Muse 1.2 rows`), and `muse-spark-1.3-contributor-free` is the fixture six suites use for a responses-format model. Changing them is a design decision about what this plugin offers, not a rename; it was attempted and reverted rather than half-applied. The decision that followed — and stands — is to offer the ids and report the refusal per request, so no such rule exists in `src/models-discovery.ts` today.
**That rule broke eleven tests, and they were not mechanical.** Several encode deliberate behaviour about which models are offered (`adds Space Bunny and removes retired 1.2`, `preserves Space Bunny while removing retired Muse 1.2 rows`), and `muse-spark-1.3-contributor-free` is the fixture six suites use for a responses-format model. Changing them is a design decision about what this plugin offers, not a rename; it was attempted and reverted rather than half-applied. The decision that followed — and stands — is to offer the ids and report the refusal per request, so no such rule exists in `src/host/discovery.ts` (`src/models-discovery.ts` until P10a) today.

### What is measured about the free tier

Expand All @@ -384,11 +384,11 @@ declared ← apiKeyEnv; "almost always", and overridden when a working oa
store ← the local OpenCode CLI's database, only when neither is configured
```

`src/fetch-patch.ts` implements exactly this. Do not invert it: a test named "fills the Authorization header from the installation's store, last" exists for that reason.
`src/credentials.ts` implements exactly this, for the fill the fetch patch's credential stage (`src/request/credential.ts`) asks. Do not invert it: a test named "fills the Authorization header from the installation's store, last" exists for that reason.

### What is open, and what is no longer

- **The free tier is refused on Zen for every shape this plugin can assemble, and the ids are offered anyway.** The plugin does not use a bare client — it reaches the gateway through the host's `llm-pi-ai` adapter — and that is what produced the claim this line used to make: that a session running on `opencode/step-5-preview-free` produces turns normally, so the adapter clears the gate. **It does not, and the run was made.** With this machine's session token, its active org and the complete header set the client sends, a free-tier Zen model answers `403 FreeTierError` on both endpoints — the measurement in the login section above, which postdates this one and contradicts it. What the adapter does clear is the PROTOCOL: the session that appeared to run on a free model was running on `global:step-5-preview`, this host's own model, not in OpenCode's catalog at all. `step-5-preview-free` produces turns **on the Go plane**, which has no free tier to gate and serves it by the subscription key — and Go's three are not the exception that proves a rule: Zen's free ids are offered too. The console's source shows the refusal is made by the vendor's inference service, which receives these requests keyless and answers for them; a refusal that names itself per request is what a reader should be given instead of an empty picker, so `src/models-discovery.ts` offers the ids and `fetch-patch.ts` passes the refusal through as `403 FreeTierError`, in the gateway's own words.
- **The free tier is refused on Zen for every shape this plugin can assemble, and the ids are offered anyway.** The plugin does not use a bare client — it reaches the gateway through the host's `llm-pi-ai` adapter — and that is what produced the claim this line used to make: that a session running on `opencode/step-5-preview-free` produces turns normally, so the adapter clears the gate. **It does not, and the run was made.** With this machine's session token, its active org and the complete header set the client sends, a free-tier Zen model answers `403 FreeTierError` on both endpoints — the measurement in the login section above, which postdates this one and contradicts it. What the adapter does clear is the PROTOCOL: the session that appeared to run on a free model was running on `global:step-5-preview`, this host's own model, not in OpenCode's catalog at all. `step-5-preview-free` produces turns **on the Go plane**, which has no free tier to gate and serves it by the subscription key — and Go's three are not the exception that proves a rule: Zen's free ids are offered too. The console's source shows the refusal is made by the vendor's inference service, which receives these requests keyless and answers for them; a refusal that names itself per request is what a reader should be given instead of an empty picker, so `src/host/discovery.ts` offers the ids and the fetch patch (`src/request/`) passes the refusal through as `403 FreeTierError`, in the gateway's own words.
- **`auto-review` needs no change of its own.** It builds a bare options object and takes its route from `session.requestHeader()`, so it inherits whatever the session selected — which is why it failed on a free model the chat appeared to be using. Free models are offered, so a new selection can land there; the turn then stops with the gateway's own refusal, passed through verbatim rather than rewritten. **A session already on one keeps failing until the model is changed**, which is the same statement for the picker as for an existing selection.
- **`readOpencodeAccount` is wired into both request paths through the shared login reader**, and the account token with its org was measured to serve a paid model (`200`). It does not help the free tier, which nothing does.
- **The store is read per request with no cache**, deliberately: a rotation inside OpenCode should be picked up. It is also a SQLite open per keyless request.
Expand Down
Loading
Loading