design-canonical-wg

Design: canonical wg config UX — global defaults + 'wg setup'/'wg config init' for easy first-run

Metadata

Statusdone
Assignedagent-814
Agent identityf51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e
Created2026-04-27T17:38:33.203733849+00:00
Started2026-04-27T18:40:54.723805623+00:00
Completed2026-04-27T18:45:30.467757630+00:00
Tagseval-scheduled
Tokens0 in / 0 out

Description

Description

Based on the audit produced by research-audit-wg, design the user-facing config UX:

  1. Canonical default values for the global config that will ship as built-in defaults (no user file needed). Goal: a fresh install with no ~/.wg/config.toml should Just Work for the most common case (claude CLI executor, opus model, sensible parallelism).

  2. wg setup improvements — interactive wizard for first-run that writes a minimal ~/.wg/config.toml AND/OR a project-local .wg/config.toml. Existing wg setup exists per CLAUDE.md — review and propose what changes.

  3. wg config init — non-interactive command to write a minimal sane config to either global or local scope. wg config init --global / wg config init --local.

  4. Migration path for existing users with stale configs (deprecated keys, old model strings, executor= keys). Two options:

    • A. wg migrate config — opt-in command that rewrites configs to canonical form
    • B. Auto-detect and warn-only (current behavior) until a future major version
  5. TUI integrationwg setup from inside the TUI? A 'Settings' tab that edits config keys? Per memory feedback_launcher_history_in_config_ui.md, configuration UIs should also surface launcher_history.

Required artifacts

A design doc docs/config-ux-design.md with:

  • Decision: which config keys are global-only, project-only, or overridable
  • Concrete ~/.wg/config.toml and .wg/config.toml example files (the 'after' state)
  • Wireframes (text-based OK) of wg setup interactive flow
  • Decision: A vs B vs both for migration
  • One-line reason for each decision so a worker agent can implement without re-deciding

Validation

  • Design doc exists at docs/config-ux-design.md
  • Cites the research audit doc for every keys-decision
  • Concrete example files present and runnable (paste into ~/.wg/config.toml and wg starts cleanly)
  • Migration path picked with rationale
  • TUI integration scope decided (in-this-task vs follow-up task)
  • No design forks left for the implementer to decide; if any remain, list them as open questions for the user

Depends on

Required by

Log