Skip to content

0.1.2 EF16: the CloudRoom driver refuses an effort for an unknown provider with the exact text #2844

Done

Description

@jparker2006

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 JSON error or next.
  • 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/driver
  • adapters/cloudroom/test_driver.py
  • adapters/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 reaches error or next (the synthetic-credential regression)
  • A genuine lookup failure keeps its fixed words
  • env -u OPENWIZ_GITHUB_APP_KEY python3 -I adapters/cloudroom/test_driver.py passes

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

  1. added this to the 0.1.2 milestone on Nov 23, 2026
  2. changed the title [-]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[/+] on Nov 23, 2026
  3. added
    ready-for-agent
    on Nov 23, 2026
  4. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started

    Hand checks (lead, plan revision 4 approved on #2471):

  5. added a commit that references this issue on Nov 23, 2026
  6. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: no thread matches builder:2844

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions