|
|
|
@@ -1,16 +1,21 @@
|
|
|
|
|
---
|
|
|
|
|
name: wayfinder
|
|
|
|
|
description: Chart a route through a foggy problem — turn a loose idea into a shared map of investigation tickets on your issue tracker, and resolve them one at a time until the way to the goal is clear.
|
|
|
|
|
disable-model-invocation: true
|
|
|
|
|
description: Plan a huge chunk of work — more than one agent session can hold — as a shared map of investigation tickets on your issue tracker, and resolve them one at a time until the way to the goal is clear.
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
A loose idea has arrived — too big for one agent session, and wrapped in fog: the route from here to a plan isn't visible yet. This skill charts it as a **shared map** on the repo's issue tracker, then works its tickets one at a time. The map is domain-agnostic — engineering work, course content, whatever fits the shape.
|
|
|
|
|
|
|
|
|
|
## Refer by name
|
|
|
|
|
|
|
|
|
|
Every map and ticket is an issue, so it has a **name** — its title. In everything the human reads — narration, the map's Decisions-so-far — 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 don't vanish — a name wraps its link — but they ride *inside* the name, never stand in for it.
|
|
|
|
|
|
|
|
|
|
## The Map
|
|
|
|
|
|
|
|
|
|
The map is a single issue on this repo's issue tracker, labelled `wayfinder:map` — the canonical artifact. Its tickets are child issues of the map.
|
|
|
|
|
|
|
|
|
|
**Where the map, its child tickets, blocking, and frontier queries physically live is tracker-specific.** Consult `docs/agents/issue-tracker.md` (the "Wayfinding operations" section) for how *this* repo expresses them. If that doc is absent, default to the local-markdown tracker.
|
|
|
|
|
The map is an **index**, not a store. It lists the decisions made and points at the tickets that hold their detail; a decision lives in exactly one place — its ticket — so the map never restates it, only gists it and links.
|
|
|
|
|
|
|
|
|
|
**Where the map, its child tickets, blocking, and frontier queries physically live is tracker-specific.** Consult `docs/agents/issue-tracker.md` (the "Wayfinding operations" section) for how _this_ repo expresses them. If that doc is absent, default to the local-markdown tracker.
|
|
|
|
|
|
|
|
|
|
### The map body
|
|
|
|
|
|
|
|
|
@@ -18,13 +23,17 @@ The whole map at low resolution, loaded once per session. Open tickets are **not
|
|
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
|
## Notes
|
|
|
|
|
|
|
|
|
|
<domain; skills every session should consult; standing preferences for this effort>
|
|
|
|
|
|
|
|
|
|
## Decisions so far
|
|
|
|
|
<!-- one context pointer per closed ticket — enough to judge relevance; zoom the link for detail -->
|
|
|
|
|
- [<closed ticket title>](<link>) — <one-line gist of the answer>
|
|
|
|
|
|
|
|
|
|
<!-- the index — one line per closed ticket: enough to judge relevance, then zoom the link for the detail the ticket holds -->
|
|
|
|
|
|
|
|
|
|
- [<closed ticket title>](link) — <one-line gist of the answer>
|
|
|
|
|
|
|
|
|
|
## Fog
|
|
|
|
|
|
|
|
|
|
<!-- see "Fog of war" for what belongs here -->
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -34,6 +43,7 @@ Each ticket is a **child issue** of the map; the tracker's issue id is its ident
|
|
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
|
## Question
|
|
|
|
|
|
|
|
|
|
<the decision or investigation this ticket resolves>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -68,7 +78,7 @@ Fog excludes only what's already decided (that's Decisions so far) and what's al
|
|
|
|
|
|
|
|
|
|
## Invocation
|
|
|
|
|
|
|
|
|
|
Two branches. Either way, **every session ends with a [Handoff](#handoff)** — never resolve more than one ticket per session.
|
|
|
|
|
Two modes. Either way, **never resolve more than one ticket per session.**
|
|
|
|
|
|
|
|
|
|
### Chart the map
|
|
|
|
|
|
|
|
|
@@ -77,7 +87,7 @@ User invokes with a loose idea.
|
|
|
|
|
1. Run a `/grilling` and `/domain-modeling` session to surface the open decisions.
|
|
|
|
|
2. **Create the map** (label `wayfinder:map`): Notes filled in, Decisions-so-far empty, Fog sketched.
|
|
|
|
|
3. **Create the tickets you can specify now** as child issues of the map — then wire blocking edges in a **second pass** (issues need ids before they can reference each other). Wiring sorts them into the frontier and the blocked; everything you can't yet specify stays in the Fog.
|
|
|
|
|
4. Handoff. Charting the map is one session's work; do not also resolve tickets.
|
|
|
|
|
4. Stop — charting the map is one session's work; do not also resolve tickets.
|
|
|
|
|
|
|
|
|
|
### Work through the map
|
|
|
|
|
|
|
|
|
@@ -87,29 +97,6 @@ User invokes with a map (URL or number). A ticket is **optional** — without on
|
|
|
|
|
2. Choose the ticket. If the user named one, use it. Otherwise take the first frontier ticket in order. **Claim it**: set `wayfinder:claimed` and save before any work.
|
|
|
|
|
3. Resolve it — **zoom as needed**: fetch the full body of any related or closed ticket on demand; invoke the skills the `## Notes` block names. If in doubt, use `/grilling` and `/domain-modeling`.
|
|
|
|
|
4. Record the resolution: post the answer as a **resolution comment**, **close** the issue, and **append a context pointer** to the map's Decisions-so-far.
|
|
|
|
|
5. Add newly-surfaced tickets (create-then-wire); graduate any fog the answer has made specifiable. If the decision invalidates other parts of the map, update or delete those tickets.
|
|
|
|
|
6. Handoff.
|
|
|
|
|
5. Add newly-surfaced tickets (create-then-wire); graduate any fog the answer has made specifiable, clearing each graduated patch from the Fog so it lives only as its new ticket. If the decision invalidates other parts of the map, update or delete those tickets.
|
|
|
|
|
|
|
|
|
|
The user may run unblocked tickets in parallel, so expect other sessions to be editing the tracker concurrently.
|
|
|
|
|
|
|
|
|
|
## Handoff
|
|
|
|
|
|
|
|
|
|
End every session with a **Next steps** block the user can copy-paste. Two cases:
|
|
|
|
|
|
|
|
|
|
**Open tickets remain.** Query the map for the currently-unblocked children, then give two copy-paste options: a bare command for one session (you pick the next ticket), and one pinned command per unblocked ticket for running them in parallel. Paste one line per fresh window — opening one, some, or all of them.
|
|
|
|
|
|
|
|
|
|
> **Next steps** — 3 tickets unblocked. Clear the context, then open fresh sessions.
|
|
|
|
|
>
|
|
|
|
|
> **One session** — resolves the next unblocked ticket:
|
|
|
|
|
> ```
|
|
|
|
|
> Invoke /wayfinder with the map <map-url>.
|
|
|
|
|
> ```
|
|
|
|
|
>
|
|
|
|
|
> **Parallel** — paste one line per window, up to all 3:
|
|
|
|
|
> ```
|
|
|
|
|
> Invoke /wayfinder with the map <map-url>, ticket <issue-url>.
|
|
|
|
|
> Invoke /wayfinder with the map <map-url>, ticket <issue-url>.
|
|
|
|
|
> Invoke /wayfinder with the map <map-url>, ticket <issue-url>.
|
|
|
|
|
> ```
|
|
|
|
|
|
|
|
|
|
**No open tickets remain.** The fog is pushed back far enough that the way to the goal is clear — the map is done. (The initial grilling may also surface no fog at all, in which case there was never a map to chart.) Recommend implementing directly, or using `/to-prd` to schedule a multi-session implementation.
|
|
|
|
|