Skip to content

0.1.1 NC3: openwiz models offers local harnesses without CloudRoom #2220

Closed

Description

@jparker2006

Parent

Ticket NC3 of spec #2216 (0.1.1).

What to build

openwiz models --json lists choices with no CloudRoom, for the harnesses installed on this computer, following NC1's offered-models rule.

  • With Claude Code and/or Codex on PATH, it lists each one with OpenWiz's current choices (J255), marked as the local source.
  • openwiz models set accepts a choice from that list.
  • With CloudRoom reachable and chosen, it reads CloudRoom's catalogue as today.

Owned paths

  • crates/cli/src/models.rs (only the offered-list read)
  • crates/core/src/new_thread/ (only a local offered-list source)
  • tests/cli-agent/ (only new tests in a new file)
  • changes/<this ticket>.md

Relies on: contracts/new-thread.v1.schema.json

Links

Acceptance criteria

  • With fake claude and codex programs on PATH and no CloudRoom, models --json lists both, from the local source, and set accepts a listed choice.
  • CloudRoom reads are unchanged on the existing tests.

Proof

P2: CLI tests, red first.

Activity

  1. added this to the 0.1.1 milestone on Nov 22, 2026
  2. added
    ready-for-agent
    on Nov 22, 2026
  3. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started (the J87 planner's direct start of spec #2216, after NC1 #2228 merged; Codex Sol 6.2 Medium builder under J300 A)

  4. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: codex
    model: gpt-6.2-sol
    skills: build-ticket@0.2.1
    step: Full CI passed at the pull request head. The pull request is ready for review.
    time: 2026-11-22T06:46:43Z
    pr: #2239

  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Builder question: please record an F4 grant for the following narrow NC3 and #2234 edits.

    • crates/cli/src/models.rs: confirm the annotated scope includes parsing and selecting the host for models, set and show, and adding listed: false to successful local sets outside the offered list. These are the entry points and report named by NC1.
    • contracts/models.v1.schema.json: widen only the offered-snapshot label from the existing constant to an enum containing that exact value and Installed local harnesses with OpenWiz's current choices. A successful set copies the label into the snapshot, so the options-label line alone would leave a local set writing a snapshot that fails its schema. Use the same two values on the granted options label in contracts/new-thread.v1.schema.json.
    • contracts/setup.v1.md and contracts/models.v1.md: replace the single-label sentence and the snapshot's CloudRoom-only description with the source-specific labels and provenance. Keep the existing cloud behavior and snapshot fields.
    • tools/install/tests/setup-onboard-contract/fixtures/hosts.json: replace the label in the three valid local offered-list documents with the local label. Keep cloud and negative fixtures and all assertions.
    • crates/cli/src/lib.rs and crates/cli/src/agent-catalogue.json: amend only the models help and catalogue entries for the bare command, set and show to describe the host selector and set validation. The current help and catalogue describe options and set as CloudRoom-only. Keep the documented behavior of models list and other commands.

    The new CLI test module is under the owned test path and its registration uses the shared test catalogue rule. No moved changelog file occupies changes/2220.md.

  6. added
    needs-info
    on Nov 22, 2026
  7. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2220:

    • crates/cli/src/models.rs
    • contracts/models.v1.schema.json
    • contracts/new-thread.v1.schema.json
    • contracts/setup.v1.md
    • contracts/models.v1.md
    • tools/install/tests/setup-onboard-contract/fixtures/hosts.json
    • crates/cli/src/lib.rs
    • crates/cli/src/agent-catalogue.json

    As scoped in 7075321753, and no further:

    • models.rs: the host selector on models, set and show, and listed: false.
    • The two schemas: the label becomes an enum of exactly the CloudRoom label and Installed local harnesses with OpenWiz's current choices.
    • setup.v1.md and models.v1.md: the source-specific label and provenance sentences only.
    • hosts.json: the label in the three valid local documents only.
    • lib.rs and agent-catalogue.json: only the bare models, set and show help and catalogue entries.

    Every cloud behaviour and snapshot field stays as it is. WizSkills keeps a byte copy of contracts/models.v1.md, which NC8 re-syncs. Say so in the PR.

  8. removed
    needs-info
    on Nov 22, 2026
  9. added a commit that references this issue on Nov 22, 2026
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