doc-bridge-handoff — fail-closed repository routing as a Pi package #7990
EmersonBraun
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I maintain Doc Bridge and packaged one of its workflows as a Pi skill for a problem I keep seeing in larger repositories: coding agents infer edit authority from prose and sometimes start in the wrong package or cross an ownership boundary.
The skill resolves a repository target into a deterministic handoff before editing:
startHere— the correct entry document;readBeforeEditing— context that must be loaded;editRoots— paths the agent is allowed to change;checks— commands that define completion.If the target is unknown or a returned path is unsafe, the resolver stops instead of inventing a fallback. The workflow is read-only, provider-independent, and does not require credentials or a hosted service.
Install
The npm package declares
pi.skills: ["./skills"]and thepi-packagekeyword, so Pi discovers the bundleddoc-bridge-handoffskill directly.Reproduce the handoff first
The source bundle also includes a synthetic monorepo fixture that verifies both a successful package handoff and a fail-closed unknown target.
I would value Pi-specific feedback on three things:
Affiliation disclosure: I maintain Doc Bridge and AgentsKit. I am sharing this here because the package uses Pi's documented package/skill mechanism; no change to Pi core is required.
All reactions