Metadata
| Status | done |
|---|---|
| Assigned | agent-1082 |
| Agent identity | f51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e |
| Created | 2026-04-29T11:55:58.933607353+00:00 |
| Started | 2026-04-29T12:14:46.679858727+00:00 |
| Completed | 2026-04-29T12:23:24.268080362+00:00 |
| Tags | fix,profiles,naming, eval-scheduled |
| Tokens | 1617895 in / 5147 out |
| Eval score | 0.77 |
| └ blocking impact | 0.76 |
| └ completeness | 0.85 |
| └ constraint fidelity | 0.70 |
| └ coordination overhead | 0.68 |
| └ correctness | 0.78 |
| └ downstream usability | 0.75 |
| └ efficiency | 0.72 |
| └ intent fidelity | 0.88 |
| └ style adherence | 0.80 |
Description
Description
The earlier rename-wgnext-profile task (commit 3eee268de) only added a deprecation warning to wg profile list output. It did NOT:
- Make
wg profile init-starterswritenex.toml(still writeswgnext.toml) - Auto-migrate existing
wgnext.tomlfiles on upgrade - Remove
wg-next(with hyphen) from the description string
Verified live 2026-04-29: a fresh wg profile init-starters writes ~/.wg/profiles/wgnext.toml and the listing shows the deprecation hint asking the USER to manually mv the file. That's not a rename, that's homework.
User reaction: 'wgnext what is this?? there is no wgnext. should be wgnex or nex!! ideally nex!'
Scope — finish the rename, properly
wg profile init-starterswrites~/.wg/profiles/nex.toml(notwgnext.toml). Single source name.- The starter content's
descriptionfield reads'wg nex: in-process nex handler...'— no hyphenated 'wg-next' anywhere. - On
wg profile init-starters: ifwgnext.tomlalready exists from a prior run, auto-rename it tonex.toml(idempotent: ifnex.tomlalready exists too, skip with a one-line note). User should never have tomvmanually. - The
wg profile listdeprecation warning can stay (for users with hand-edited or pre-existingwgnext.tomlfiles), but on a system with onlynex.toml, no warning should print. wg profile use wgnextcontinues to work as a legacy alias (loadsnex.tomlifwgnext.tomldoesn't exist) so existing scripts don't break.- grep the codebase for any remaining
wgnext,wg-next, orwg_nextstrings outside of the legacy back-compat layer; remove from docs, help text, error messages, and CLI examples.
Validation
-
Failing test written first: assert that a fresh
wg profile init-starters(against an empty profiles dir) writesnex.tomland NOTwgnext.toml -
Test: with a pre-existing
wgnext.toml,wg profile init-startersauto-renames it tonex.toml(verify by file existence post-run) -
Test: with both
wgnext.tomlandnex.tomlpresent, init-starters skips the rename with a one-line note (no clobber) -
wg profile liston a system with onlynex.tomlprints no deprecation warning -
wg profile use wgnextstill works as a legacy alias -
grep the codebase: zero occurrences of
wgnextorwg-nextoutside the legacy back-compat layer -
Live smoke: rm -rf a tmpdir,
WG_DIR=tmp wg profile init-starters, ls the profiles dir, seenex.toml+claude.toml+codex.tomlonly - cargo build + cargo test pass
- cargo install --path . was run before claiming done
Process note
Same recurring pattern: rename-wgnext-profile claimed done with a deprecation warning instead of actually completing the rename. Per the user's feedback ('verify exhaustively before claiming done'), this task's validation requires evidence — paste ls output of a fresh init-starters into the task log to prove no wgnext.toml is written.
Depends on
Required by
- (none)
Log
- 2026-04-29T11:55:58.925225766+00:00 Task paused
- 2026-04-29T11:56:02.164709006+00:00 Task published
- 2026-04-29T11:56:25.866601221+00:00 Lightweight assignment: agent=Careful Programmer (f5143935), exec_mode=full, context_scope=task, reason=Careful Programmer is the best fit: implementation task requiring exhaustive testing + verification (user feedback emphasizes verification before claiming done), file modifications, and grepping for cleanup; high score (0.77) on similar tasks.
- 2026-04-29T11:56:27.363710979+00:00 Spawned by coordinator --executor claude --model opus
- 2026-04-29T11:56:39.831792305+00:00 Starting: investigating current state of profile init-starters and wgnext references
- 2026-04-29T12:00:23.156813602+00:00 Found real issues: (1) user's existing nex.toml has stale 'wg-next' in description, (2) wg profile use wgnext doesn't fall back to nex.toml when wgnext.toml absent, (3) when both wgnext.toml + nex.toml exist init-starters silently skips rename without note. Implementing fixes.
- 2026-04-29T12:14:38.877731869+00:00 Task unclaimed: agent 'agent-1081' (PID 2588231) process exited
- 2026-04-29T12:14:46.679861863+00:00 Spawned by coordinator --executor claude --model opus
- 2026-04-29T12:22:56.348650317+00:00 Validated: all 6 cases pass live with the new binary. (1) fresh init-starters → only nex.toml + claude.toml + codex.toml, description='wg nex:'. (2) stale wg-next: description in existing nex.toml is refreshed in-place, user fields preserved. (3) legacy wgnext.toml is renamed to nex.toml AND description refreshed. (4) when both wgnext.toml + nex.toml exist, both preserved with one-line note. (5) wg profile use wgnext falls back to nex.toml when wgnext.toml absent. (6) codebase grep: all remaining wgnext/wg-next strings are in the back-compat layer (LEGACY_NEX_NAME constant, legacy alias docs, migration comments, tests). User's actual ~/.wg/profiles/nex.toml refreshed in place. profile_nex_canonical_name smoke scenario PASS. cargo build + 16 profile::named tests pass. cargo install --path . was run.
- 2026-04-29T12:23:15.769275995+00:00 Committed: 12fb469e5 — pushed to remote
- 2026-04-29T12:23:24.268083167+00:00 Task pending eval (agent reported done; awaiting `.evaluate-*` to score)
- 2026-04-29T12:26:06.703994427+00:00 PendingEval → Done (evaluator passed; downstream unblocks)