Repository navigation
v2.1.0
What's New π
v2.1.0
β¨ Added
-
GitHub Issues backend for Pathfinder β
/plan2code-0-pathfinderno longer assumes local files. Chart Step 1 now asks, HITL and never self-picked, where the map should live: local (the default β files under gitignoredspecs/<idea>/pathfinder/, private and solo) or github (apathfinder:mapissue whose decision questions are its sub-issues, driven by theghCLI). The pick is recorded as the first## Ground rulesbullet, never re-asked and never switched mid-map, and Auto-Discovery resolves either backend β an issue URL or number as the argument routes straight togithub.On
github, the local model maps onto the tracker's own primitives rather than being simulated in issue bodies: a question is a sub-issue (sub_issuesendpoint), blocking is GitHub's native issue dependencies (dependencies/blocked_by, so the frontier renders in GitHub's UI without opening the map), the claim is the assignee,Type:becomes a singlepathfinder:<type>-<mode>label so type and mode cannot drift,Locked: yesbecomespathfinder:locked, and resolution is an## Answercomment followed by a close βcompletedfor a decision,not plannedfor a question ruled out of scope. Both wiring calls key on the issue's database id, not its#number. The map body therefore carries no question checklist at all: the frontier is a live query, which removes the single largest source of drift in the local backend.Three things stay on local disk whatever the backend: runnable sketches (
specs/<idea>/pathfinder/sketch-NN/), anything secret, and thePLAN-DRAFT-<date>.mdβ/plan2code-1-plandiscovers its input withls specs/and has no notion of a tracker, so a draft that existed only as an issue would be invisible to the rest of the pipeline.Guardrails carried over from the local backend's assumptions:
githubis only offered after a five-check preflight (ghpresent, authenticated, GitHub remote, issues enabled, push access), and the offer must name the repo's visibility in the same breath, because a map on a public tracker publishes the destination, the rejected alternatives, and the codebase recon. The Step 3 recon is held in-session and published at Step 6, so the Step 4 no-fog off-ramp leaves no litter on a shared tracker. Aghfailure mid-session stops the session rather than falling back to local files, which would fork the map.Depth lives in a seventh reference file,
src/plan2code-0-pathfinder-references/github-issues.mdβ preflight, label set, the localβGitHub equivalence table, create-then-wire charting, the frontier query, resolve and out-of-scope flows, reconcile, the trail footer, handoff, and a failure-mode table. Adapted from the GitHub tracker doc behind Matt Pocock'swayfinderskill (MIT).
π§ Changed
src/plan2code-0-pathfinder.mdrecompressed to absorb the new## Backendsection within the 11,000-character workflow-file limit β duplication between the orchestrator and its reference files was removed (the local layout and marker legend now live only inquestions.md; Form A/B footer detail only intrail.md), and step text tightened. No behaviour was dropped.