LoopForge
LoopForge copied to clipboard
[Feature]: Add Pi host support (Portable edition)
Problem
LoopForge currently supports CodeBuddy, Codex, Cursor, and Claude Code, but not the Pi coding agent. Pi natively implements the Agent Skills standard, which matches the Portable edition, yet there is no way to install Portable DevFlow for Pi (loopforge skills install pi is rejected) and no adapters/pi/ implementation.
Proposed behavior
- Add a declaration-style Portable adapter at
skills/devflow/adapters/pi/(manifest.json+adapter.md), like the Codex adapter. loopforge skills install piinstalls the Portable skills into.pi/skills/, which Pi discovers natively; no hand-written settings file is needed.- Map the isolated runtime operations onto the public
subagenttool from thenpm:pi-subagentspackage:spawn/spawn_helperreturn a host-issuedMission: <uuid>used as theexecutor_id;waitis the blocking foreground call;sendis not supported because child sessions are one-shot, so retries re-spawn and re-assign. - Pi is Portable-only. There is no Classic host bundle, so
loopforge install pi(Classic is the default) reports an actionable error pointing atloopforge skills install pi.
Scope
Portable edition + Installer / CLI
Alternatives considered
- Build a Classic host-native bundle for Pi (a
.pi/tree with native agents/commands/rules/hooks). Rejected: Pi's native extension model is already Agent Skills plus extensions, so such a bundle would only duplicate the Portable workflow, and Pi has no separate host-native agent/command/hook layer to reproduce. - Keep the adapter but skip CLI integration, requiring users to wire
.pi/settings.jsonby hand. Rejected: the CLI path installs directly into Pi's native.pi/skills/location.
Checks
- [x] This proposal does not require organization-specific infrastructure or credentials.
- [x] I searched existing issues and discussions for similar proposals.