Metadata
| Status | done |
|---|---|
| Assigned | agent-933 |
| Model | pi:openai-codex:gpt-5.6-sol |
| Created | 2026-07-29T08:13:30.960175105+00:00 |
| Started | 2026-07-29T08:13:32.102145796+00:00 |
| Completed | 2026-07-29T08:54:37.198993926+00:00 |
| Tokens | 17418028 in / 30990 out |
Description
User contract
Make this exact attended command work on a clean host and an existing repository, with no pre-created profile:
M=pi:openrouter:deepseek/deepseek-v4-flash
worksgood setup --model "$M"
The current concierge incorrectly requires --profile to name an existing base definition and rejects a natural new name with Profile ... is unavailable. A one-model setup is the primary simple path, not an expert-profile exercise.
Semantics
- Add
--model <EXACT_ROUTE>toworksgoodas the one-model shorthand, accepted by bareworksgoodandworksgood setup. - Initial supported contract is an exact handler-first Pi route
pi:<provider>:<model>. Parse/validate exactly; never reinterpretopenrouter:..., infer another handler, normalize to a different model, or fall back. --model Mmeans every executable LLM role uses exact M. Worker/chat/strong roles receive reasoninghigh; Agency/FLIP/evaluation/weak roles receive reasoninglowby explicit concierge-shorthand policy. User-provided--strong-reasoning/--weak-reasoningmay override those defaults.- Enumerate and verify every effective role (agent, dispatcher, default, task_agent, evaluator, flip_inference, flip_comparison, assigner, evolver, verification, triage, creator, compactor, placer, chat_compactor, coordinator_eval, reviewer, merger, and future configured dispatch roles). No explicit model inherited from a base profile may remain on another route.
- Build from the bundled clean Pi starter in memory; do not require
~/.wg/profiles/pi.toml, mutate it, or inherit drifted user overrides. Materialize a content-addressed reusable generated profile, select it for this project only, prepare the compatible Pi plugin, and reconcile the exact project daemon through existing concierge transaction/identity logic. - Do not write global config or
~/.wg/active-profile. Do not expose/store OpenRouter credentials; Pi remains authentication owner. If authentication cannot be proven, retain existing attended/actionable Pi-owned readiness behavior with no fallback. - Show one immutable redacted plan before mutation. In attended non-
--yesuse, the plan explicitly names M for Worker/chat and Agency/FLIP/evaluation and nameshigh/low; one confirmation commits it. The model need not be pasted twice and no extra model/profile picker appears. - Preserve current TTY safety. Bare non-TTY mutation refuses.
--dry-runis non-mutating and should be usable for deterministic regression validation. Define and document--yesbehavior consistently: it may accept the shorthand’s explicit high/low policy in an attended TTY, but never invent a model. --modelconflicts clearly with--without-ai,--profile,--strong-model, and--weak-model. Advanced two-model/profile flows remain unchanged.- Improve the unavailable-profile error: if model override flags accompany a missing
--profile, explain that--profileselects an existing base and recommendworksgood setup --model <exact-pi-route>. worksgood status, setup rollback, restart, and TUI retain their existing authority boundaries.wgremains the complete expert CLI.
UX examples
worksgood setup --model pi:openrouter:deepseek/deepseek-v4-flash
worksgood --model pi:openrouter:deepseek/deepseek-v4-flash # setup/reconcile, then TUI
worksgood setup --model "$M" --strong-reasoning xhigh --weak-reasoning low
worksgood setup --model "$M" --dry-run
Validation
- RED regression pins the reported command’s current failure/no single-model option.
- Clean isolated HOME with zero profile files: exact command reaches one attended plan and commits a generated project profile after confirmation.
- Stable dry-run JSON proves every effective role uses exact DeepSeek V4 Flash, strong roles are high, weak/FLIP/eval roles low, and no other provider/model appears anywhere.
- Dry-run writes no graph/profile/history/journal/cache/plugin/service/TUI state.
- Real PTY/installed-binary smoke confirms one paste, one confirmation, project-only association, Pi plugin readiness, and authenticated exact daemon identity; repeated invocation is idempotent.
- Invalid route, unsupported handler, missing model, cross-plane/conflicting flags, unavailable Pi, and cancelled confirmation fail before mutation with actionable diagnostics and no fallback.
-
Existing
--profileand explicit strong/weak two-model flows remain byte-for-byte compatible. -
Help/README explain
--modelas the simple path and--profileas existing-profile/advanced customization. -
cargo fmt --check,cargo clippy, focused/full tests and owned smoke pass; install both binaries from accepted source for human-flow verification, commit/push, andwg done.
Depends on
- (none)
Required by
- (none)
Log
- 2026-07-29T08:13:30.906582216+00:00 Task paused
- 2026-07-29T08:13:31.034829871+00:00 Task published
- 2026-07-29T08:13:32.322252529+00:00 Spawned by coordinator --executor pi --model openai-codex:gpt-5.6-sol --isolation required-worktree
- 2026-07-29T08:13:39.413832364+00:00 Starting implementation; checking prior WIP and concierge setup architecture.
- 2026-07-29T08:26:11.920581440+00:00 Implemented exact --model shorthand, all-role route/reasoning pinning, clean-starter generated profiles, dry-run stability, conflict/readiness diagnostics, docs, and owned PTY smoke; starting validation.
- 2026-07-29T08:27:27.701416952+00:00 Focused unit tests and new human-flow smoke pass. Dry-run enumerates 18 identities (agent/dispatcher/default + every DispatchRole), all exact DeepSeek route with high/low policy; continuing with legacy concierge regression and full Rust validation.
- 2026-07-29T08:43:58.014537239+00:00 Validated: cargo fmt --check and cargo clippy pass; cargo test --lib serial passes 3039/3039; focused one-model tests pass; new worksgood_one_model_setup PTY smoke and legacy worksgood_concierge PTY smoke pass. Full cargo test reaches 3813 passes but current wg-bin baseline has 26 unrelated pre-existing failures (legacy model-input/fail/recover/TUI snapshot tests); no concierge/worksgood failure. Installed source with cargo install --path . --locked and verified the installed sibling worksgood/wg exact PTY flow.
- 2026-07-29T08:50:03.868013893+00:00 Committed: b3c63c67 — pushed to remote. User clarification addressed: route-copy remains exact/orthogonal; independent strong-only and weak-only reasoning changes alter generated profile and service fingerprints without altering M.
- 2026-07-29T08:52:42.150749774+00:00 Final validation after user clarification: focused orthogonality tests pass; owned PTY smoke passes with exact route and explicit Worker/chat vs Eval/assign/FLIP labels; cargo fmt/check + focused clippy clean; final cargo install --path . --locked installed worksgood and wg from commit b3c63c67.
- 2026-07-29T08:54:37.198994086+00:00 Task marked as done