Prove end-to-end /autopilot execution in installed OpenCode runtime after fixing local install/readiness gaps.
- Approved Superpowers artifact execution auto-starts autopilot from the live
session.statusbusy path insrc/autopilot-hook.ts. - Install readiness now requires the active config path to contain
commands/autopilot.md, not just merged JSON command metadata. - Missing command markdown is tracked as a dedicated readiness blocker so install false-positives fail before smoke testing.
- Added runtime auto-start regression coverage in
src/autopilot-hook.test.tsand verified the hook fix earlier in this task. - Added bootstrap regression coverage proving readiness flips false when
commands/autopilot.mdis removed after an otherwise valid install. - Updated bootstrap/readiness/runtime stubs to support the command-file-installed gate; full
npm testpasses. - Reinstalled into
~/.config/opencode/opencode.json;npm run readiness:checknow reportsready=truewith no missing items.
src/bootstrap.test.tsnow proves a valid install becomes not ready whencommands/autopilot.mdis removed.src/bootstrap.ts,src/readiness.ts,src/readiness.test.ts,src/types.ts, andsrc/autopilot-hook.tsenforce the command-file-installed readiness gate.npm testpassed after the readiness/install fix.OPENCODE_CONFIG_PATH="$HOME/.config/opencode/opencode.json" npm run readiness:checkreturnedready=trueandmissing=.OPENCODE_CONFIG_PATH="$HOME/.config/opencode/opencode.json" opencode run --command autopilot --agent superpowers -- "status"still failed because the host runtime reported theautopilottool was unavailable.
- Repo changes are still uncommitted.
- Remaining blocker is host runtime tool injection for
opencode run --command autopilot, not local install readiness.