Static copy
Copied from docs/en/governance/m10-exit-gate.md in https://github.com/poppy-team/prumo (MIT). Pinned to revision e91694d3959be1ed92757b34063efe0b2191821f, blob 56a727e477d157361f5459fa4241c085247978e5. The source repository remains canonical; this copy is refreshed through a sync pull request, not live.
Status: COMPLETE (M10 Exit Gate Passed)
Milestone M10 exit gate (per docs/development/phases.md:365): prumo-agent connector install opencode produces a fully functional native integration.
internal/connectors/opencode/opencode.go and integrated into internal/cliops/compile.go.prumo-agent compile opencode or prumo-agent compile --target opencodeprumo-agent connector install opencode (and backward-compatible prumo-agent install connector opencode).opencode/ workspace: .opencode/opencode.json: workspace configuration adhering to OpenCode schema..opencode/plugins/prumo.ts: native TypeScript plugin providing tool guards and session lifecycle hooks..opencode/agents/prumo.md: primary Prumo orchestrator agent..opencode/agents/architect.md, executor.md, verifier.md: specialized subagents..opencode/skills/: mapped domain skills (code-review, goal-management, evidence-collection)..opencode/commands/prumo.json: registered slash commands (/goal, /plan, /trace, /experience, /adopt, /status)..opencode/guards/tool-policy.json: tool guard security policies..opencode/.prumo-generated.json: machine-readable ownership marker with version and managed flags.pre_tool_block).rm -rf /, mkfs, fork bombs)..git/, .prumo/credentials, .env) from destructive writes.git push --force, git reset --hard) requiring explicit confirmation.session.start: Injects Lean Progressive Context (LPC) and active Goal details without conversational transcript bloat.session.end: Emits structured session completion events into .prumo/experience/.tool.before_execute / tool.after_execute: Intercepts and logs tool telemetry deterministically.schemas/connector-contract.schema.json.advise, restrict_tools, pre_tool_block, post_tool_verify, isolate_subagents, session_hooks, native_plugin, commands, subagents).CleanupManifest in PRUMO_HOME/connectors/opencode/cleanup.json.prumo-agent connector uninstall opencode, leaving user files intact.internal/connectors/opencode/opencode_test.go: TestOpenCodeContract: verifies capability set, enforcement mode, and lifecycle hooks.TestOpenCodeCompileAndValidate: verifies directory structure, plugin code, and ownership marker.TestOpenCodeInstallAndUninstall: verifies manifest registration, cleanup manifest creation, and safe uninstallation.cmd/prumo/connector_commands_test.go: prumo-agent connector list, prumo-agent connector install, prumo-agent connector validate, prumo-agent connector uninstall, and prumo-agent install connector.-race enabled.