loadout-ai 0.5.8 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/MASTER_PLAN.md +9 -9
  3. package/README.md +84 -121
  4. package/catalog/discovered.json +59800 -10065
  5. package/catalog/packages.json +4 -3
  6. package/dist/src/cli.js +26 -2979
  7. package/dist/src/commands/agents.js +168 -0
  8. package/dist/src/commands/catalog.js +708 -0
  9. package/dist/src/commands/health.js +98 -0
  10. package/dist/src/commands/inventory.js +417 -0
  11. package/dist/src/commands/lifecycle.js +411 -0
  12. package/dist/src/commands/mcp.js +424 -0
  13. package/dist/src/commands/setup.js +67 -0
  14. package/dist/src/commands/sharing.js +358 -0
  15. package/dist/src/commands/support.js +246 -0
  16. package/dist/src/core/active-limit.js +2 -0
  17. package/dist/src/core/active-policy.js +2 -1
  18. package/dist/src/core/catalog-install.js +47 -10
  19. package/dist/src/core/catalog.js +15 -96
  20. package/dist/src/core/cli-guide.js +43 -37
  21. package/dist/src/core/completion.js +2 -20
  22. package/dist/src/core/doctor.js +73 -24
  23. package/dist/src/core/github.js +3 -2
  24. package/dist/src/core/handoff.js +161 -0
  25. package/dist/src/core/health-score-evidence.js +2 -2
  26. package/dist/src/core/health.js +83 -0
  27. package/dist/src/core/install.js +8 -3
  28. package/dist/src/core/loadout-card.js +14 -2
  29. package/dist/src/core/review-queue.js +7 -2
  30. package/dist/src/core/route.js +248 -0
  31. package/dist/src/core/skill-inventory.js +3 -3
  32. package/dist/src/core/skills.js +6 -7
  33. package/dist/src/core/source.js +10 -3
  34. package/dist/src/core/upgrade.js +10 -9
  35. package/docs/ACTIVE_SET.md +1 -1
  36. package/docs/ACTIVE_SET_POLICY.md +1 -1
  37. package/docs/CATALOG.md +2 -2
  38. package/docs/DEMO_SCRIPT.md +5 -5
  39. package/docs/DISCOVERED.md +250 -253
  40. package/docs/RELEASE_REVIEW.md +28 -143
  41. package/docs/SUBMISSION_COPY.md +4 -4
  42. package/docs/UPSTREAM_LICENSE_DECISIONS.md +19 -12
  43. package/docs/USER_TEST_GUIDE.md +1 -1
  44. package/docs/evidence/readme-claims.json +2 -14
  45. package/package.json +4 -3
  46. package/dist/src/core/benchmark-campaign.js +0 -496
  47. package/dist/src/core/benchmark-evidence.js +0 -458
  48. package/dist/src/core/benchmark-fixtures.js +0 -1157
  49. package/dist/src/core/benchmark-runner.js +0 -301
  50. package/dist/src/core/benchmark-trust.js +0 -795
  51. package/dist/src/core/catalog-release.js +0 -287
  52. package/dist/src/core/compatibility-intelligence.js +0 -465
  53. package/dist/src/core/ecosystem-import.js +0 -1072
  54. package/dist/src/core/head-to-head.js +0 -437
  55. package/dist/src/core/intelligence-feed-build.js +0 -59
  56. package/dist/src/core/intelligence-feed.js +0 -353
  57. package/dist/src/core/registry-api.js +0 -97
  58. package/dist/src/core/release-claims.js +0 -175
  59. package/dist/src/core/signing.js +0 -115
@@ -1,143 +1,28 @@
1
- # Release review — historical 2026-07-15 review, updated 2026-07-19
2
-
3
- ## Current status and evidence boundary
4
-
5
- The sections below preserve the evidence recorded for the earlier 0.1.0 review; their
6
- old package version, catalog count, and test totals are historical and must not be read
7
- as current 0.3.2 results. The checked-in package is now 0.3.2 with a 50-record catalog.
8
-
9
- On 2026-07-19, the focused v0.3.x regression run passed 58 tests covering the unified
10
- upgrade, saved-profile updates, complete uninstall, separation of model API access from
11
- service credentials, and recursively empty skill-directory recovery. The later
12
- `npm run verify:full` result is bound to exact tested commit
13
- `8f8eccdd20272ebb88d0339087fc9cd3828e65c9`: its deterministic evidence gate, 552 tests
14
- with one explicit skip, both CLI product journeys, package smoke, the 1,000-skill
15
- performance gate, and two Playwright dashboard projects passed. The evidence-only
16
- follow-up commit that records this statement was not represented as part of that tested
17
- commit. These local results establish the tested repository behaviors only; they do not
18
- retroactively establish native-agent recognition, current npm publication, branch
19
- protection, or an independent security review.
20
-
21
- The separate [sanitized live-check report](./evidence/live-checks-2026-07-19.json) was
22
- generated at `2026-07-19T13:45:14.945Z` and records the same repository commit
23
- `8f8eccdd20272ebb88d0339087fc9cd3828e65c9` as the deterministic run above. At that
24
- historical observation time, the pinned Stable install and rollback were verified; npm
25
- returned 404 for `loadout-ai@0.3.2`; and authenticated GitHub access reached the
26
- repository but branch protection for `main` returned 404. These results can change
27
- after the timestamp and are not part of the deterministic offline gate.
28
-
29
- At the time it was written, this review covered the then-current Loadout
30
- implementation, not an aspirational roadmap. It was performed after the transaction,
31
- source-fetch, dashboard, and adapter test suites passed locally.
32
-
33
- ## P4-08: atomic-commit review — accepted with explicit durability boundary
34
-
35
- Mutation metadata that can make a completed install unrecoverable now uses a
36
- temporary sibling file followed by `rename`:
37
-
38
- - `~/.loadout/state.json`
39
- - `loadout.lock`
40
- - edits to an existing `loadout.json`
41
- - MCP JSON/TOML config writers already used the same-directory temporary-file
42
- pattern.
43
-
44
- The replacement prevents readers from observing a partially written JSON file
45
- on local filesystems with atomic same-directory rename support. Snapshots are
46
- created before mutation and restoration is exercised by tests. CI run
47
- `29401149042` executed the atomic-file and transaction suites on Node 20 and
48
- 22 for Windows, macOS, and Linux. The decision is therefore accepted for the
49
- supported local-filesystem scope.
50
-
51
- This is not a claim of durable, power-loss-safe multi-file transactions: a
52
- process or system failure can still leave either the old or new version of an
53
- individual file. Transaction journals recover interrupted multi-file work before
54
- the next synchronization; users needing database-grade durability should not rely
55
- on filesystem rename alone.
56
-
57
- ## P7-15: product and security review — pass with stated boundaries
58
-
59
- The reviewed release flow is appropriate for a hackathon demo and local use:
60
-
61
- - Plans are read-only until an explicit apply command or dashboard action.
62
- - Install/update safety requires approval for scripts, hooks, binaries, new
63
- domains, environment references, suspicious instructions, and MCP changes.
64
- - Snapshots are taken before managed mutations; failures restore them.
65
- - Repository cloning does not run package lifecycle scripts. Generic Git URLs
66
- with embedded credentials, query strings, or fragments are rejected so a
67
- failed Git command cannot echo a token.
68
- - The API is loopback-only. The dashboard also validates the actual socket peer
69
- instead of trusting a spoofable `Host` header; mutation endpoints require a
70
- random per-process session token and reject cross-origin requests.
71
- - The dashboard and CLI summaries avoid emitting MCP environment values.
72
-
73
- Known boundaries remain intentional: Loadout does not execute third-party
74
- install scripts, silently replace existing Codex TOML MCP tables, or support
75
- private repository credentials. It should not be marketed as a full arbitrary
76
- plugin executor.
77
-
78
- ## P9-07: cross-platform go/no-go — bounded go for native skills
79
-
80
- CI run `29401149042` planed, installed, byte-verified, and removed a real
81
- `SKILL.md` through every declared agent-owned skill layout on Windows, macOS,
82
- and Linux, using disposable native home and state directories. **Current
83
- decision:** go for the bounded native-skill-directory claim. The no-go remains
84
- for plugins, hooks, executables, and arbitrary MCP runtimes.
85
-
86
- ## Local verification
87
-
88
- On 2026-07-15 the corrective audit also verified:
89
-
90
- ```text
91
- npm run format:check
92
- npm run lint
93
- npm run typecheck
94
- npm test -- --run # 55 files, 169 tests
95
- npm run build
96
- npm run test:e2e # Chromium first-run preview/apply flow
97
- ```
98
-
99
- The audit fixed these release blockers and added regressions for them:
100
-
101
- - Vitest now assigns every test file disposable Loadout and user homes; a CRLF
102
- fixture can no longer write into the developer's real `~/.loadout`.
103
- - A stale refresh cache overlays mutable metadata onto the bundled catalog instead
104
- of hiding newer bundled records or retaining deleted cache-only packages.
105
- - The Maximum profile references only catalog packages that actually exist.
106
- - Dashboard Installed and Updates routes have unique container/list IDs and are
107
- exercised through navigation in Playwright.
108
- - Demo output distinguishes planned skill directories from tracked files instead of
109
- printing an impossible installed/total fraction.
110
- - Multi-file synchronization now writes a durable journal and recovers interrupted
111
- work even when the next synchronization is otherwise empty.
112
- - The npm tarball exposes the `loadout` executable, carries runtime code/assets but
113
- not compiled tests, and resolves its catalog/dashboard independently of the current
114
- working directory.
115
-
116
- An outside-checkout 72-file tarball smoke test launched version `0.1.0`, read all 20
117
- catalog records, and served the packaged dashboard. The live isolated demo fetched
118
- `obra/superpowers`, planned 14 skill directories and 48 files, then verified rollback
119
- and removed its temporary profile. The npm package is named `loadout-ai`; the shorter
120
- `loadout` registry name is owned by an unrelated package.
121
-
122
- ## CLI-first product correction
123
-
124
- The dashboard is now explicitly secondary. Running `loadout` in an interactive terminal
125
- starts Maximum/Stable/Custom onboarding, while `loadout setup --mode maximum` provides
126
- a scriptable read-only preview and `--yes --approve-risk` applies the reviewed result.
127
-
128
- Catalog setup now:
129
-
130
- - filters out MCP/executable-only records before cloning;
131
- - fetches up to four repositories concurrently with visible progress;
132
- - fetches the catalog's exact reviewed commit rather than mutable default-branch HEAD;
133
- - reuses only a clean cache whose Git HEAD matches that commit;
134
- - resolves duplicate skill targets by retaining the higher-ranked reviewed source and
135
- reporting every lower-ranked duplicate;
136
- - installs all remaining packages through one transaction and one restore point;
137
- - keeps local health checks network-free unless `--updates` is explicitly requested.
138
-
139
- A disposable real Maximum Boost run prepared all 31 skill-bearing repositories from the
140
- 50-record catalog, deferred 19 explicit MCP-only setups, exposed 1,219 skill directories,
141
- and resolved 48 duplicate target directories. The same isolated flow exercised library
142
- inspection, project optimization, apply, and rollback successfully before removing its
143
- test home. No real user agent directory was used.
1
+ # Archived release review
2
+
3
+ This page is an archive of the repository stabilization review completed between
4
+ July 15 and July 19, 2026. It evaluated the former 0.1.x–0.3.x product, including a
5
+ loopback dashboard that has since been removed. Its package availability, test counts,
6
+ catalog totals, CI run IDs, and dashboard findings are historical evidence—not current
7
+ release status or supported product claims.
8
+
9
+ The archived deterministic and live evidence is bound to exact tested commit
10
+ `8f8eccdd20272ebb88d0339087fc9cd3828e65c9`. That binding is retained so the evidence
11
+ remains reproducible; it does not describe the current release candidate.
12
+ The linked sanitized live observation was generated at
13
+ `2026-07-19T13:45:14.945Z`; registry and GitHub results recorded there are likewise
14
+ historical and may have changed.
15
+
16
+ For current behavior and evidence, use:
17
+
18
+ - the [README](../README.md) for the CLI product, trust boundaries, and generated
19
+ catalog/support facts;
20
+ - the [changelog](../CHANGELOG.md) for released behavior;
21
+ - the [feature test matrix](./FEATURE_TEST_MATRIX.md) for adapter evidence;
22
+ - the [repository stabilization record](./REPOSITORY_STABILIZATION.md) and
23
+ [sanitized July 19 live checks](./evidence/live-checks-2026-07-19.json) only when
24
+ investigating that historical release line.
25
+
26
+ The current release gate is `npm run verify`. Publication status must be checked
27
+ against the npm registry and the corresponding GitHub release rather than inferred
28
+ from this archived document.
@@ -52,7 +52,7 @@ architecture, implementation, repository research, threat modelling, cross-platf
52
52
  work, and the founder testing loop. Real tests on Codex and Claude Code exposed bugs
53
53
  in rollback history, update performance, project activation, MCP configuration,
54
54
  runtime-tool inventory, and adopted-skill removal. Each reproducible failure became a
55
- regression test. The current release passes 625 tests, packaged CLI journeys, public
55
+ regression test. The current release passes 632 tests, packaged CLI journeys, public
56
56
  CI, and a 1,000-skill performance gate.
57
57
 
58
58
  Loadout is published on npm and the code is public. The dashboard was deliberately
@@ -64,13 +64,13 @@ the extensions around every AI coding agent.
64
64
 
65
65
  - GitHub: https://github.com/VirajMishra1/loadout
66
66
  - npm: https://www.npmjs.com/package/loadout-ai
67
- - Release: https://github.com/VirajMishra1/loadout/releases/tag/v0.5.8
68
- - Demo: PASTE_PUBLIC_YOUTUBE_URL_HERE
67
+ - Release: https://github.com/VirajMishra1/loadout/releases/tag/v0.5.9
68
+ - Demo: https://www.youtube.com/watch?v=opNqJKX7xMw
69
69
 
70
70
  ## Judge testing path
71
71
 
72
72
  ```bash
73
- npm install --global loadout-ai@0.5.8
73
+ npm install --global loadout-ai@0.5.9
74
74
  loadout --version
75
75
  loadout guide
76
76
  loadout setup --mode stable
@@ -1,31 +1,38 @@
1
1
  # Upstream license decisions
2
2
 
3
- Reviewed on July 21, 2026 for the public `0.5.8` release.
3
+ Reviewed on July 21, 2026 for the public release catalog. Re-reviewed on August 30,
4
+ 2026: two of the original six records had identifiable repository-wide licenses and
5
+ were updated in `catalog/packages.json`; four remain `NOASSERTION`.
4
6
 
5
7
  Loadout records `NOASSERTION` when it cannot identify one repository-wide SPDX
6
8
  license from the inspected source. Popularity, an official publisher, or a public
7
9
  GitHub repository does not replace a license grant.
8
10
 
9
- ## Release decision
11
+ ## Resolved out of NOASSERTION (August 30, 2026)
10
12
 
11
- The six records below remain in the credited catalog as source metadata. Loadout
13
+ | Catalog record | Upstream source | Recorded decision |
14
+ | -------------- | --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
15
+ | Vercel Skills | [vercel-labs/skills](https://github.com/vercel-labs/skills) | Updated `license` to `MIT`. The repository now carries a root `LICENSE` file (MIT, Vercel, Inc., 2026) and GitHub's license API confirms `mit`. No longer `NOASSERTION`. |
16
+ | Sentry MCP | [getsentry/sentry-mcp](https://github.com/getsentry/sentry-mcp) | Updated `license` to `FSL-1.1-ALv2`. The root `LICENSE.md` is the Functional Source License 1.1, Apache-2.0 Future License — a single, identifiable repository-wide license, just not one GitHub's detector classifies as a standard OSS license. **This is not a permissive OSI license**: it forbids "Competing Use" (offering the software, or a substitute for it, as a competing commercial product or service) until it converts to Apache-2.0 two years after each release. Sentry MCP is not part of Stable and should stay out of any default/non-custom mode; Power, Maximum, or Custom selections must show this restriction before fetch, not just a generic "review upstream terms" notice. |
17
+
18
+ ## Remaining NOASSERTION (four records)
19
+
20
+ The four records below remain in the credited catalog as source metadata. Loadout
12
21
  does not copy their source into the npm package, claim ownership, or assign them a
13
22
  license. A selected profile may fetch a pinned upstream snapshot only after showing
14
23
  the user a preview. MCP configuration and executable tools remain separate explicit
15
24
  actions.
16
25
 
17
- None of these six records is part of Stable. Stable continues to use four sources
26
+ None of these four records is part of Stable. Stable continues to use four sources
18
27
  with identified SPDX licenses. People who select Power, Maximum, or a Custom package
19
28
  must review the linked upstream terms before using content marked `NOASSERTION`.
20
29
 
21
- | Catalog record | Upstream source | Recorded decision |
22
- | ------------------------------ | ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
23
- | OpenAI Skills Catalog | [openai/skills](https://github.com/openai/skills) | Retain the pinned catalog pointer with `NOASSERTION`; no repository-wide root license was identified. |
24
- | Anthropic Skills | [anthropics/skills](https://github.com/anthropics/skills) | Retain the pinned catalog pointer with `NOASSERTION`; no repository-wide root license was identified. |
25
- | Vercel Agent Skills | [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills) | Retain the pinned catalog pointer with `NOASSERTION`; no repository-wide root license was identified. |
26
- | Vercel Skills | [vercel-labs/skills](https://github.com/vercel-labs/skills) | Retain the pinned catalog pointer with `NOASSERTION`; no repository-wide root license was identified. |
27
- | Sentry MCP | [getsentry/sentry-mcp](https://github.com/getsentry/sentry-mcp) | Retain the pinned catalog pointer with `NOASSERTION`; the root license file is not identified as a standard SPDX license by GitHub. |
28
- | Model Context Protocol Servers | [modelcontextprotocol/servers](https://github.com/modelcontextprotocol/servers) | Retain the pinned catalog pointer with `NOASSERTION`; the root license file is not identified as a standard SPDX license by GitHub. |
30
+ | Catalog record | Upstream source | Recorded decision |
31
+ | ------------------------------ | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
32
+ | OpenAI Skills Catalog | [openai/skills](https://github.com/openai/skills) | Retain `NOASSERTION`; the repository has no root `LICENSE` file of any kind. |
33
+ | Anthropic Skills | [anthropics/skills](https://github.com/anthropics/skills) | Retain `NOASSERTION`; the repository has no root `LICENSE` file of any kind. |
34
+ | Vercel Agent Skills | [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills) | Retain `NOASSERTION`; the repository has no root `LICENSE` file of any kind. |
35
+ | Model Context Protocol Servers | [modelcontextprotocol/servers](https://github.com/modelcontextprotocol/servers) | Retain `NOASSERTION`; the root `LICENSE` file itself states the project is mid-transition from MIT to Apache-2.0 — new/relicensed contributions are Apache-2.0, contributions whose authors have not consented to relicensing remain MIT. No single SPDX identifier covers the whole repository, so this is a genuine mixed-license case, not a missing-file case. |
29
36
 
30
37
  This is a transparent product policy decision, not legal advice or a claim that the
31
38
  upstream material may be redistributed under Loadout's MIT license. Each upstream
@@ -211,7 +211,7 @@ cleanup deliberately deletes Loadout's snapshots, so it is the last lifecycle te
211
211
  ## Troubleshooting and recovery
212
212
 
213
213
  - **`loadout` is not found after installation:** confirm `npm install --global
214
- loadout-ai@0.5.8` completed, run `hash -r`, and confirm npm's global binary
214
+ loadout-ai@0.5.9` completed, run `hash -r`, and confirm npm's global binary
215
215
  directory is on `PATH`. For a source checkout, run `npm run build` and `npm link`.
216
216
  - **A preview asks for `--approve-risk`:** read the reported scripts, domains,
217
217
  credentials, binaries, or instruction findings. If you accept that specific plan,
@@ -140,8 +140,8 @@
140
140
  "evidenceClass": "structural",
141
141
  "status": "proven",
142
142
  "evidence": [
143
- "src/core/benchmark-trust.ts",
144
- "tests/benchmark-trust.test.ts",
143
+ "src/core/profiles.ts",
144
+ "tests/profiles.test.ts",
145
145
  "docs/CATALOG_POLICY.md"
146
146
  ]
147
147
  },
@@ -202,18 +202,6 @@
202
202
  "tests/manifest.test.ts"
203
203
  ]
204
204
  },
205
- {
206
- "id": "benchmarks.protocol",
207
- "section": "Development and verification",
208
- "summary": "Benchmark planning and protocol artifacts do not by themselves prove a source is benchmarked.",
209
- "evidenceClass": "structural",
210
- "status": "bounded",
211
- "evidence": [
212
- "docs/EVALUATION_PROTOCOL_V1.md",
213
- "src/core/benchmark-campaign.ts",
214
- "tests/benchmark-campaign.test.ts"
215
- ]
216
- },
217
205
  {
218
206
  "id": "uninstall.complete",
219
207
  "section": "Troubleshooting and uninstall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loadout-ai",
3
- "version": "0.5.8",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "Universal upgrade manager for AI coding agents",
@@ -62,8 +62,9 @@
62
62
  "readme:check": "node scripts/update-readme-facts.mjs --check",
63
63
  "check:readme-claims": "npm run build && node scripts/check-readme-claims.mjs",
64
64
  "check:live": "node scripts/check-live-evidence.mjs",
65
- "check:evidence": "node scripts/check-catalog-attribution.mjs && node scripts/check-discovery-artifacts.mjs && npm run check:readme-claims && node --import tsx scripts/check-release-claims.ts",
66
- "feed:build": "node --import tsx scripts/build-intelligence-feed.ts",
65
+ "check:allowlists": "npm run build && node scripts/check-mode-allowlists.mjs",
66
+ "check:catalog-freshness": "npm run build && node scripts/check-catalog-freshness.mjs",
67
+ "check:evidence": "node scripts/check-catalog-attribution.mjs && node scripts/check-discovery-artifacts.mjs && npm run check:readme-claims",
67
68
  "verify": "npm run format:check && npm run lint && npm run typecheck && npm run check:evidence && npm test -- --run && npm run test:e2e:cli && npm run test:e2e:readme && npm run test:package && npm run test:performance",
68
69
  "verify:full": "npm run verify"
69
70
  },