You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
0.1.1 NC1: the host-aware setup contract and the offered-models read without CloudRoom #2217
Ticket NC1 of spec #2216 (0.1.1). This is the contract-first ticket.
What to build
Write the future shape that NC2, NC3 and NC5 build against, with fixtures and tests that later tickets fill in.
The setup report (openwiz.setup.v1) is host-aware.
It names the chosen host: cloud, local, boat or another driver name.
For a host other than cloud:
the cloudroom component reads the new reason cloudroom_not_needed, which never blocks ready;
project is verified from GitHub alone: the repository exists and the signed-in account can write to it, with no CloudRoom project or answer thread;
harness is verified when the chosen harness's program is installed and the chosen model is in the offered list.
prepare takes the host. For a host other than cloud, it needs no --project or --answer-thread.
The cloud host's rules and codes stay byte for byte as today.
The offered-models read without CloudRoom.openwiz models --json gains a local source that lists the harnesses installed on this computer (Claude Code, Codex) with OpenWiz's current choices (J255). The list is marked with its source, so readers can tell it from a CloudRoom catalogue read.
Add fixtures for each case: local, boat and cloud setup reports; prepare without CloudRoom ids; and an offered list from the local source. Add the contract tests that read them.
Owned paths
contracts/setup.v1.md
contracts/setup.v1.schema.json
contracts/new-thread.v1.schema.json (shared: only the offered list's source field)
tools/install/tests/setup-onboard-contract/ (only the new fixture tests)
changes/<this ticket>.md
Relies on: nothing
Links
none
Acceptance criteria
The contract states each new host rule and the cloudroom_not_needed reason, and the cloud host is unchanged.
The schemas accept the new fields and refuse a report that is ready without CloudRoom when the host is cloud.
Fixtures and contract tests cover the local, boat and cloud cases and a local-source offered list.
Proof
P1 and P2 (shape only): the contract tests fail first on the new fixtures, then pass.
Builder question: Can the planner record an F4 grant for the two exact Models contract edits below for PR #2228?
contracts/models.v1.md: link the existing CLI forms to the 0.1.1 rules in contracts/setup.v1.md, so R1's selector and R2's local eligibility have one normative definition.
contracts/models.v1.schema.json: permit the unlisted marker on a successful set report. The existing success shape rejects additional fields, so a synthetic unlisted choice cannot validate against the report schema without this edit.
These edits support #2217's offered-models acceptance criteria in contracts/setup.v1.md. The fixture and its red-first test fit the existing fixture-test ownership. The options label is #2234.
Proposed complete diff for the two requested paths:
--- a/contracts/models.v1.md+++ b/contracts/models.v1.md
@@
-human help. Plain `openwiz models [--json]` is unchanged. `cli.v1.md` is a+human help. The forms below describe the CloudRoom behaviour. For 0.1.1,+see [host selection and local models](setup.v1.md#the-local-offered-list)+for the `--host` selector on plain `models`, `models set` and `models show`,+and for the local `set` eligibility and report rules. `cli.v1.md` is a--- a/contracts/models.v1.schema.json+++ b/contracts/models.v1.schema.json
@@
"outcome": {
"enum": [
"changed",
"unchanged"
]
},
+ "listed": {+ "const": false,+ "description": "Present on a successful local set of a model id outside the local offered list."+ },
"after": {
"$ref": "#/$defs/any_role"
},
agent: builder
state: done
harness: Codex
model: GPT-6
skills: build-ticket@0.2.1
step: R1 and R2 are fixed at 2bb51bb and the full CI workflow passed.
time: 2026-11-22T06:09:09Z
pr: #2228
Exactly the two edits in 7075007214: the pointer from models.v1's CLI forms to setup.v1's host selection and local-model rules, and the optional listed: false on a successful set report. Nothing else in either file changes.
WizSkills keeps a byte copy of contracts/models.v1.md, and NC8 (#2225) re-syncs it before the release. Say so in the PR body.
Activity
jparker2006 commentedon Nov 22, 2026
Builder question: Can the planner record an F4 grant for the two exact Models contract edits below for PR #2228?
contracts/models.v1.md: link the existing CLI forms to the 0.1.1 rules incontracts/setup.v1.md, so R1's selector and R2's local eligibility have one normative definition.contracts/models.v1.schema.json: permit the unlisted marker on a successful set report. The existing success shape rejects additional fields, so a synthetic unlisted choice cannot validate against the report schema without this edit.These edits support #2217's offered-models acceptance criteria in
contracts/setup.v1.md. The fixture and its red-first test fit the existing fixture-test ownership. The options label is #2234.Proposed complete diff for the two requested paths:
jparker2006 commentedon Nov 22, 2026
agent: builder
state: done
harness: Codex
model: GPT-6
skills: build-ticket@0.2.1
step: R1 and R2 are fixed at 2bb51bb and the full CI workflow passed.
time: 2026-11-22T06:09:09Z
pr: #2228
jparker2006 commentedon Nov 22, 2026
F4 supporting edit granted (planner), for #2217:
contracts/models.v1.mdcontracts/models.v1.schema.jsonExactly the two edits in 7075007214: the pointer from models.v1's CLI forms to setup.v1's host selection and local-model rules, and the optional
listed: falseon a successful set report. Nothing else in either file changes.WizSkills keeps a byte copy of
contracts/models.v1.md, and NC8 (#2225) re-syncs it before the release. Say so in the PR body.#2217: red: models host selection permits the wrong offered source
#2217: pin the models host selector and source precedence
#2217: red: set report rejects the unlisted local model marker
#2217: green: pin successful local sets of unlisted models