WIP: Port OpenCode harness to pi (pi-open-agents + permission-system) - #107
Draft
MKuckert wants to merge 2 commits into
Draft
WIP: Port OpenCode harness to pi (pi-open-agents + permission-system)#107MKuckert wants to merge 2 commits into
MKuckert wants to merge 2 commits into
Conversation
added 2 commits
September 2, 2026 15:03
- Remap agent models to local omlx qwen3.8 (openrouter exhausted); reasoningEffort -> thinking - Add local pi extensions (.pi/extensions): pi-open-agents@0.1.20, @gotgenes/pi-permission-system@29.1.0, no global installs - Fix subagent nesting: subagent allow + allowedAgents on reviewers, maxDepth 0 on leaves, explicit tools for Committer - Port skills to .pi/skills (grill-me, create-projectmap) - Convert commands to pi prompt templates (.pi/prompts) Partial: nested delegation retest, gap doc, harness-sync push pending
- oQ5e does not exist in the local omlx registry (CodeReviewer children returned no output); all 10 agents now on qwen3.8-27B-oQ4e - thinking: high unsupported on this model -> xhigh for reviewers/planner/testing - Verified: CodeReviewer -> Explorer works (depth 2), -> Committer rejected via allowedAgents; skills visible in main session - Add docs/opencode-to-pi-port.md (mapping, verified items, gaps)
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
Port of the OpenCode agent harness to the pi harness, using local-only extensions (no global installs). Full mapping + gap analysis in
docs/opencode-to-pi-port.md.Changes
omlx/qwen3.8-27B-oQ4e(OpenRouter exhausted; theoQ5evariant does not exist in the local registry).reasoningEffortrenamed tothinking;highunsupported on this model, reviewers/planner/testing usexhigh.pi/extensions/, npm-installed, referenced from project.pi/settings.json):pi-open-agents@0.1.20— drop-in OpenCode-compatible agent loader (discovers.opencode/agents/*.md, zero format changes)@gotgenes/pi-permission-system@29.1.0— permission gating (project config in.pi/extensions/pi-permission-system/config.json)subagent: allow+allowedAgents: Explorer, Librarianon CodeReviewer/PlanReviewer;maxDepth: 0on leaves (Explorer, Librarian, Committer) enforcing the oldsubagent_depth: 2; explicittools:list for Committergrill-me,create-projectmapcopied to.pi/skills/.pi/prompts/Verified end-to-end
search_agents,set_agentswitchingUnknown agent: Committer. Available agents: Explorer, Librarian.Pending (hence draft)
harness-sync pushto sync agent edits back into theagent-harnesssubmodule (canonical source)Known gaps (documented in
docs/opencode-to-pi-port.md)<active_agent>tag); child isolation comes from the coarser tool whitelistagent:frontmatter converted toset_agent/delegation instructions in the template body