test(install): empty-dir packed-tarball host-install proofs for the package-relative installer (#252) - #283
Conversation
…ackage-relative installer (#252)
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
Second slice of #252, on top of #281: the empty-dir consumer proof matrix at the
host-installproof level, with the packed tarball as the subject.runClaudeHostInstallProof/runCodexHostInstallProof/runCursorHostInstallProof) gain an injectableinstallCommand; the default remains the framework-CLInode dist/cli.js install <host> --from <bundle>path, byte-compatible for existing callers.packed-host-install-proof.test.ts(packed pool): builds the sharedhost-installfixture ONCE throughagent-bundle prepack(the feat(package): package-relative host installer bins and the agent-bundle prepack inventory gate (#252) #281 gate passing on a real host-pack project), with a journey-local package.json carryingfiles: [artifact, dist]+ the generated installer bin — the checked-in fixture is untouched. One realnpm pack, onenpm installof the exact tarball into a verified-empty consumer, then the source project is deleted and its absence asserted before any install runs.node_modules/.bin/host-install-proof install <host> --json— the package-relativeimport.meta.urlresolution path, never the repo:plugin marketplace add+plugin install;plugin list --jsonrow (id, version, scope, enabled, installPath in the isolated cache, mcpServers) and Skills/Hooks/MCP inventory 1/1/1.agents/openai.yamlsidecar, manifest interface block..cursor/plugins/local/<name>, pinned-schema documents,${CURSOR_PLUGIN_ROOT}unresolved, idempotent second run →already-installed.test:host-install:packed[:build]scripts and a packed-tarball step per matrix host innative-host-smoke.yml, mirroring feat(test): host-install proof level with real Claude, Codex, and Cursor install proofs (#100 stage 3) #242.No production source changes, so no changeset.
Test plan
pnpm build,pnpm typecheck,pnpm lint— greenpnpm test:host-install:packed— 3 passed / 0 skipped / 0 failed: real Claude Code 2.1.257 and codex-cli 0.147.0 registrations plus the Cursor placement, all observed from the packed tarball with the source tree deletedpnpm test:host-install— 3 passed / 0 skipped (runner refactor changes nothing for feat(test): host-install proof level with real Claude, Codex, and Cursor install proofs (#100 stage 3) #242's lane)