Files
oh-my-pi/packages
Diogo Soares Rodrigues 53408d0412 test(coding-agent): pinned the advisor approval-gate test to a resolvable model
`runs advisor tools through the approval gate` built its advisor from the
`advisor` role chain, which resolves against `modelRegistry.getAvailable()`
— the models the host holds auth for. On a developer box whose environment
carries provider keys the roster resolved and the test passed; in CI, where
the suite's isolated auth storage is empty, every advisor resolved to
`no_model` and `getAdvisorAgent()` returned undefined ("expected an advisor
agent").

The advisor now names `gpt-4o-mini` outright and runs inside the file's
`withProviderAuth` helper, so the roster resolves from the granted key
rather than from whatever the machine happens to have configured.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014oA3H7aHUL85ydp9PJ3ryF
(cherry picked from commit ef2054da5dbe3d3d1cca4025e12e5c350f47173d)
2026-07-30 01:43:27 +02:00
..
2026-07-29 23:34:04 +02:00
2026-07-29 23:34:04 +02:00
2026-07-27 16:43:53 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-29 23:34:04 +02:00
2026-07-29 23:34:04 +02:00
2026-07-28 14:10:19 +02:00