Commit b008f84
chore: remove deprecated commands, PRAXIS_PROFILE, and dead scaffolding (#46)
The deprecation layer was stamped "removed in v0.8" but the CLI has been
at v0.x well past that (now v0.17.0), so the hidden commands and the
PRAXIS_PROFILE env var have outlived their migration window by ~10 minor
releases. Drop them for the next major.
Removed commands (each already has a live replacement):
init, install-skill -> login
uninstall-skill -> logout
whoami -> status
use -> login --profile <name>
Also removed:
- PRAXIS_PROFILE env var: dropped from the active-profile resolution
chain entirely (not just un-warned), incl. the SourceEnv source and
the per-invocation deprecation warning (warnDeprecatedEnvVars).
- cmd/deprecated.go and the deprecate() wrapper + their tests.
- install-skill/uninstall-skill helpers that were deprecated-only
(installCatalogSkills, snapshotMCPManifest, uninstallSkill seam,
skillName const, harnessNames).
Kept (verified still used by the live login path): installSkill,
installSkillBody, fetchCatalog, listInstalledSkill seams; fetchAuthMe;
list-skills and refresh-skills commands. skillInstallationLite moved from
the deleted init.go into login_setup.go where it's consumed.
Left in place by design: orphaned-skill/agent cleanup, forward-compat
Kind fields, and omitempty receipt migration — defensive compat code that
helps users crossing this major boundary, not deprecated surface.
Updated stale doc/comment references (README, CLAUDE.md, profiles, paths,
mcpmanifest, skillcatalog, exitcode) and the list-skills hint string, and
removed now-dead t.Setenv("PRAXIS_PROFILE", "") test resets.
make build / go vet / gofmt clean; go test -race ./... green.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e58a9b9 commit b008f84
31 files changed
Lines changed: 46 additions & 1182 deletions
File tree
- cmd
- internal
- credentials
- exitcode
- mcpmanifest
- paths
- skillcatalog
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | | - | |
74 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
114 | 113 | | |
115 | 114 | | |
116 | 115 | | |
117 | | - | |
| 116 | + | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | 180 | | |
188 | 181 | | |
189 | 182 | | |
| |||
309 | 302 | | |
310 | 303 | | |
311 | 304 | | |
312 | | - | |
| 305 | + | |
313 | 306 | | |
314 | 307 | | |
315 | 308 | | |
| |||
328 | 321 | | |
329 | 322 | | |
330 | 323 | | |
331 | | - | |
332 | | - | |
333 | | - | |
| 324 | + | |
| 325 | + | |
334 | 326 | | |
335 | 327 | | |
336 | 328 | | |
| |||
393 | 385 | | |
394 | 386 | | |
395 | 387 | | |
396 | | - | |
| 388 | + | |
397 | 389 | | |
398 | 390 | | |
399 | 391 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
This file was deleted.
0 commit comments