wayfinder
Carry a huge chunk of work (more than one agent session can hold) as a mission on your issue tracker. The mission names a working outcome and tracks the decisions and the build that reach it, deciding each step just before it is needed and learning from every landing. It is done when the outcome is seen working.
- License 许可
- MIT
- 最近更新
- 2026-10-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- wayfinder
- description
- Carry a huge chunk of work (more than one agent session can hold) as a mission on your issue tracker. The mission names a working outcome and tracks the decisions and the build that reach it, deciding each step just before it is needed and learning from every landing. It is done when the outcome is seen working.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml178 B
03 SKILL.md 正文
A loose idea has arrived, too big for one agent session, and wrapped in fog: the way from here to the destination isn't visible yet. This skill carries that effort as a mission: one issue on the repo's tracker that names a working outcome, and whose child tickets are the decisions and the build that get there. It is done when the outcome is seen working. A complete specification is never the finish line, because specifications are never quite right until something is built against them.
Building teaches what grilling can't, and the code around the mission keeps moving. The mission therefore plans a few steps ahead, in detail that fades with distance, builds the nearest step, and replans from what the building revealed and from what changed around it. Planning is never final; replanning is the normal way a mission moves.
Refer by name
Every mission and ticket is an issue, so it has a name: its title. In everything the human reads (narration, the mission's sections), refer to it by that name, never by a bare id, number, or slug. A wall of #42, #43, #44 is illegible; names read at a glance. The id and URL ride inside the name, as its link.
The Mission
The mission is a single issue on this repo's issue tracker, labelled wayfinder:map. It is the canonical artifact, and every ticket that serves it, decision or build, is its child issue. Child membership is what lets the repo's dispatcher rank and cap the mission's work together (see the tracker doc).
The mission is an index, not a store. It gists each decision and each landing, and links to the ticket or change that holds the detail. Each fact lives in exactly one place.
Where the mission, its child tickets, blocking, priority and frontier queries physically live is tracker-specific. The issue tracker should have been provided to you. If not, tell the user to run /setup-matt-pocock-skills. Consult the tracker doc's "Wayfinding operations" section for how this repo expresses them, and its "Wayfinding execution" section for how build tickets are dispatched. If no tracker has been provided, default to the local-markdown tracker.
The mission body
The whole mission at low resolution, loaded once per session. Open tickets are not listed: they are open child issues, found by query.
## Destination
<the working outcome, in one or two lines, and how anyone can see that it works: the observation, demo or check that closes this mission.>
## Notes
<domain; skills every session should consult; standing preferences for this effort>
## Priority
<the mission's rank against other missions, expressed the way the tracker doc says (for example Value, Class of service, Crew limit), with one line of reason. "Parked: <reason>" when the mission is not being advanced.>
## Decisions so far
<!-- one line per closed decision ticket: enough to judge relevance; zoom the link for detail -->
- [<decision ticket title>](link): <one-line gist of the answer>
## Landed and learned
<!-- one line per landed piece of building, and per outside change that moved the plan -->
- [<build ticket or change title>](link): <what works now>. Learned: <what turned out differently, or "as expected">
- Elsewhere: [<outside change>](link): <what it changed for this mission>
## Not yet specified
<!-- see "Fog of war": known-to-be-coming work and questions whose prerequisites don't exist yet -->
## Out of scope
<!-- see "Out of scope": work ruled beyond the destination; closed, never graduates -->
Tickets
Each ticket is a child issue of the mission; the tracker's issue id is its identity. It carries a wayfinder:<type> label (see Ticket Types).
-
A decision ticket's body is the question, sized to one agent session:
## Question <the decision or investigation this ticket resolves, and the build step that waits on it> -
A build ticket's body is the contract the repo's dispatch expects: what the next piece of building delivers, how it is checked, and what is out of scope. A ready build ticket is written from the decisions it rests on and the code as it stands now. A planned build ticket is an outline written further ahead; it is refreshed against the code and marked ready before anyone starts it (see Planning horizon).
A session claims a ticket by assigning it to the dev driving the mission, first, before any work, so concurrent sessions skip it. That assignee is the claim: an open, unassigned ticket is unclaimed.
Blocking uses the tracker's native dependency relationship, so the tracker's own UI shows what's takeable without opening the mission. Only a tracker that lacks native blocking falls back to a body convention. A ticket is unblocked when every ticket blocking it is closed; the frontier is the open, unblocked, unclaimed children.
Answers and outcomes are recorded on resolution (see Advance the mission). Assets created while resolving a ticket are linked from the issue, not pasted in.
Ticket Types
Every ticket is either HITL (human in the loop, worked with a human who speaks for themselves) or AFK, driven by agents alone. A HITL ticket only resolves through that live exchange; the agent asks, and the human answers.
- Build (AFK): A slice of the outcome itself, delivered the way the repo builds things (for example a dispatched crew and a change request). It resolves when the slice has landed, and its landing is followed by a learn pass.
- Research (AFK): Reading documentation, third-party APIs, or local resources to surface a fact a decision waits on. Resolved by a subagent that calls the Skill tool with "research". Use when knowledge outside the current working directory is required.
- Prototype (HITL): A cheap, rough, concrete artifact to react to (an outline, a stub, UI or logic code), made by calling the Skill tool with "prototype". Use when "how should it look" or "how should it behave" is the key question. A spike that settles a question by trying it beats a decision argued from priors.
- Grilling (HITL): Conversation. Call the Skill tool twice, for "grilling" and "domain-modeling".
- Task (HITL or AFK): Manual work a decision or a build step waits on (provisioning access, signing up for a service, moving data so its shape can be seen). The agent drives it alone where it can; otherwise it hands the human a precise checklist. The answer records what was done and the facts later tickets depend on.
Planning horizon
Plan the way a controller steers: look a few steps ahead, act on the nearest one, then measure where you are and plan again. Detail fades with distance.
- Ready: the next build step or two. Their decisions are settled, and each build ticket is a contract written against the code as it stands now. Building can start.
- Planned: the few steps after that. Write them as tickets when seeing them makes the near steps safer or clearer: the order of work, the seams the near steps must leave room for, the decisions worth settling early. A planned ticket is an outline and a working assumption. Mark it planned the way the tracker doc says, and refresh it into a ready ticket when it reaches the front.
- Fog: everything further out stays loose in Not yet specified. Planning it in detail now is wasted, because it may be irrelevant by the time building gets there.
Plan ahead as far as it reduces risk, and no further. When a grill starts settling the detail of work several steps past the planned horizon, record the thought in Not yet specified and return to the near steps.
Decisions and plans are working assumptions. Revisit them whenever the picture changes:
- After a landing: what the building revealed.
- When the surroundings change: other work landing in the codebase, a dependency or tool in the stack changing, another mission's decision, a fact the team learns elsewhere.
When one is wrong, reopen or supersede the decision, rewrite or close the planned tickets it fed, and say why in Landed and learned.
Fog of war
The mission is deliberately incomplete. Beyond the planned horizon lies the fog of war: work and questions you can tell are coming, written down loosely in Not yet specified. Write as loosely or as fully as the view allows; it signposts where the effort is headed for collaborators.
A patch of fog graduates into tickets when the planning horizon reaches it: when a landing brings it a few steps closer, or when a near step turns out to depend on it. One patch may graduate into several tickets, or none.
Not yet specified excludes what's already decided (Decisions so far), what's landed (Landed and learned), what's already a live ticket, and what's out of scope.
Out of scope
The destination fixes the scope, so work beyond it is out of scope: it isn't fog, and it doesn't belong in Not yet specified. It gets its own Out of scope section: work consciously ruled out of this mission. Out-of-scope work returns only if the destination is redrawn, and then as a fresh mission.
When an existing ticket turns out to sit past the destination, close it and leave one line in Out of scope: the gist, why, and the link.
Invocation
Two modes. Resolve at most one HITL ticket per session; AFK tickets (research, build) may run in parallel.
Chart the mission
User invokes with a loose idea.
- Name the destination. Call the Skill tool twice, for "grilling" and "domain-modeling", to pin down the working outcome and how anyone will see that it works. The destination fixes the scope, so it's settled first.
- Find the first step. Grill breadth-first just far enough to see the whole space and the first piece of building that can start now, together with the decisions it waits on, and the few steps after it that are worth planning now. If no fog remains (the journey is small enough for one session), you don't need a mission. Stop and ask the user how they'd like to proceed.
- Create the mission (label
wayfinder:map): Destination, Notes and Priority filled in; Decisions so far and Landed and learned empty; the rest of the space sketched loosely into Not yet specified. - Create the horizon's tickets as child issues: the first build ticket (or its precursor research, prototype or task) and the decisions it waits on as ready, and the steps after it as planned. Wire blocking edges in a second pass, once the issues have ids.
- Fire the research subagents for any
researchticket just created, capturing findings on a throwawayresearch/<name>branch with a context pointer from the ticket. - Stop. Charting is one session's work; it resolves no HITL ticket.
Advance the mission
User invokes with a mission (URL or number). A ticket is optional: without one, you pick the next move.
- Load the mission: the low-res view, not every ticket body.
- Choose the move, in this order:
- Learn and replan. If a build ticket has landed, or the surroundings have changed, since the last learn pass, do that pass first (step 5).
- Start building. If a ready build ticket is unblocked and unclaimed, hand it to the repo's build path (the tracker doc's "Wayfinding execution"), claiming it.
- Decide what building waits on. Otherwise take the frontier decision ticket that unblocks the nearest build step, and claim it.
- Refresh or extend the horizon. If nothing is ready, refresh the nearest planned ticket against the code and mark it ready; if nothing is planned and the destination isn't yet seen working, graduate the fog nearest the building into tickets.
- Resolve a decision ticket. Zoom as needed: fetch the full body of related or closed tickets on demand; call the Skill tool for whichever skills
## Notesnames. If in doubt, call the Skill tool twice, for "grilling" and "domain-modeling". Post the answer as a resolution comment, close the issue, and append a pointer to Decisions so far. - Write the build ticket the answer unblocked, if its other prerequisites exist, from the decisions and the code as it is now.
- Learn pass, after each landing and whenever the surroundings change:
- Append any landing to Landed and learned: what works now, and what building it taught.
- Check what changed around the mission since the last pass: other merged work in the codebase, the stack and tools it depends on, other missions' decisions. Note anything that bears on this mission.
- Revisit the decisions and planned tickets those changes contradict: reopen or supersede the decisions, rewrite or close the planned tickets.
- Re-extend the horizon: graduate fog that is now a few steps away into tickets, and clear it from Not yet specified.
- Thin anything planned in more detail than its distance warrants back into an outline or into fog.
- Close the mission when the destination's check is seen working: record the observation (link, demo, or run) on the mission, then close it.
The user may run unblocked tickets in parallel, so expect other sessions to be editing the tracker concurrently.
04 同仓库更多 Skills
wait-what
Stop. That last message did not land: re-pitch it.
to-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
teach
Teach the user a new skill or concept, within this workspace.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
grilling
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
grill-me
A relentless interview to sharpen a plan or design.