feat: add safe native harness setup and removal - #19
Merged
Conversation
Plan: .omo/plans/native-harness-setup-remove.md
Plan: .omo/plans/native-harness-setup-remove.md
Plan: .omo/plans/native-harness-setup-remove.md
Plan: .omo/plans/native-harness-setup-remove.md
Plan: .omo/plans/native-harness-setup-remove.md
Plan: .omo/plans/native-harness-setup-remove.md
davidrobertson
marked this pull request as ready for review
August 11, 2026 18:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setupandremovelifecycle adapters for Codex, Cursor, VS Code, GitHub Copilot, and Kiromanual-requiredfor Cursor and Kiro where no documented noninteractive install/remove command existsPATHlookup and shell-metacharacter rejectionRoot cause corrected
The schema-marked root Agent Plugins manifest takes priority over Codex and Cursor compatibility manifests. That portable format loads skills and MCP but not native hooks. The npm artifact now omits the root manifest so Codex and Cursor select
.codex-plugin/plugin.jsonand.cursor-plugin/plugin.json; the source repository retains the root manifest for Kiro.Verification
npm run typechecknpm test(359passed; one Windows-only regression skipped on Linux)npm run smokenpm pack --dry-run(native manifests present; rootplugin.jsonabsent)31506186588: Linux quality, macOS, and Windows all passed; Windows exercised.cmdlifecycle shims and the fail-closed lookup regressione16d17fd201d21552c4264f9c9fd3c64566b709cKnown native limits
Cursor Marketplace and Kiro Powers installation/removal remain guided manual steps because their current public docs do not provide a stable noninteractive lifecycle command. Single-harness Copilot or VS Code removal retains their shared native plugin by design.