Repository navigation
Description
Parent
Ticket EF16 of spec #2471 (0.1.2), effort as a first-class setting (J318), added in plan revision 4. It's the exact-refusal case that the planner split out of EF3 (#2565, PR #2701; J318 EF3: b). Size: S.
What to build
A start WITH an effort, through the CloudRoom driver, for a provider that room-cli doesn't know (room-cli provider models <provider> --json exits 1 with "Unknown provider ..."), must get driver v1's exact refusal: next = this host can't set effort: remove the effort for this harness in your Models table or Roster to run it at the host's default, and error naming the harness and effort. Today it gets the CloudRoom driver's fixed generic lookup failure.
EF3's first fix recognised the unknown-provider diagnostic by reading room-cli's stderr, and copied a provider-shaped substring from that stderr into the JSON error (review R17, privacy). That was reverted, and the case moves here.
- Required failing test, first: R17's regression. A lookup failure whose stderr carries a mismatched unknown-provider diagnostic with a synthetic credential (for example
GH_TOKEN=synthetic-demo-credential, present only in that stderr) must return no part of that text in the JSONerrorornext. - The case itself: an unknown provider gets the exact refusal. Recognise it only during
provider models, only for the provider the driver itself sent (already validated), and answer with an internal classification or fixed text. Never interpolate any substring of the diagnostic. - Approach note first: the first commit is an approach note covering the threat list (stderr text reaching the answer, a mismatched provider name, a genuine lookup failure misread as unknown) and what the tests can and cannot prove.
Owned paths
adapters/cloudroom/driveradapters/cloudroom/test_driver.pyadapters/cloudroom/fixtures/adapters/cloudroom/evidence/(shared: this ticket's red and green files only)
Relies on: kernel/driver.v1.md
Links
none
Acceptance criteria
- An unknown provider with an effort gets the exact refusal, with nothing saved or spawned
- No text from
room-cli's stderr ever reacheserrorornext(the synthetic-credential regression) - A genuine lookup failure keeps its fixed words
-
env -u OPENWIZ_GITHUB_APP_KEY python3 -I adapters/cloudroom/test_driver.pypasses
Proof
Spec claim: CloudRoom passes effort, or refuses it exactly. Red first: the synthetic-credential case and the unknown-provider case fail on main. Green: both pass.
Activity
[-]0.1.2 follow-up: the CloudRoom driver refuses an effort for an unknown provider with the exact text (split from EF3)[/-][+]0.1.2 EF16: the CloudRoom driver refuses an effort for an unknown provider with the exact text[/+]jparker2006 commentedon Nov 23, 2026
launch-fleet: started
Hand checks (lead, plan revision 4 approved on #2471):
ready-for-agent--reasoning-level#2565, whose files this builds on, has merged)#2844: green: a credential-shaped test value is built from parts, so …
jparker2006 commentedon Nov 23, 2026
launch-fleet: look: no thread matches builder:2844