Shipyard's navigator — chart a foggy effort (destination unclear, questions not yet stateable) into a map of decision tickets on the repo's issue tracker, then
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-ask-navigator-5d9191398e3f ,按照其中的说明把「ask-navigator」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Ask-navigator is the shipyard's navigator: it takes an effort wrapped in fog — the way from here to the destination isn't visible yet — and charts it as a map of decision tickets on the repo's issue tracker, then works the frontier one ticket per session until the route is clear. It produces decisions, never deliverables: when the way is clear it hands off, it doesn't build. Delivery belongs to /oh-my-claudecode:launch.
The role contract. The captain (the human) signs the destination (W1) and the chart (W2); the navigator drafts everything else and never answers a question that belongs to the captain — a grilling session in which the agent answers its own questions has broken the role, not just the process. Facts are the navigator's job; decisions are the captain's.
Fog test. An effort has fog when either answer is no:
Both yes → no map is needed; run /oh-my-claudecode:launch (its fog gate sends efforts here only when an answer is no). Either no → chart first. ask-navigator is also reachable directly: invoke it with a loose idea, with residual questions handed over by launch's fog gate, or with no argument to continue the open map.
The map is a single issue labelled navigator:map on the repo's issue tracker; its decision tickets are child issues of the map. The tracker should have been recorded by /oh-my-claudecode:drydock; if none was recorded, ask once (GitHub / GitLab / local markdown) and remember the answer inside the map's Notes.
navigator:map label if the tracker doesn't have it yet; ticket types live in the ticket body, not in labels..omc/wayfinder/<map-slug>/map.md plus decisions/NN-<slug>.md, one file per ticket, numbered in dependency order. Local mode has no concurrent-claim guarantee: it is single-driver by convention, stated once in the map's Notes.The map is an index, not a store: a decision lives in exactly one place — its ticket. The map gists each resolution in one line and links; it never restates the detail.
Map and ticket prose follow the same document-language contract as /oh-my-claudecode:drydock: read documentLanguage from CONTEXT.md frontmatter when present; if the yard is not laid, ask the language question once during charting (W2) and record the resolved tag in the map's Notes so the later launch run inherits it. Paths, labels, slash commands, the navigator:map label, ticket-type names (research, loft, grilling, task), HITL/AFK, and blockedBy are stable tokens and stay byte-for-byte stable in every language.
Invoked with a loose idea (or launch's residual questions). Charting is one session's work; it hand-resolves nothing.
/oh-my-claudecode:drydock --check audit in report-only mode — the mechanical subset via node scripts/shipyard-audit.mjs, the heuristic classes via the drydock prose audit: findings never block charting (a map produces decisions, not slot landings), but they are recorded verbatim in the map's Notes — launch's yard gate will collect that debt when the effort finally enters delivery. If the yard is not laid at all (no CONTEXT.md, no docs/adr/), offer /oh-my-claudecode:drydock once; if the captain declines, proceed in tracker-only mode and defer all sediment (see Sediment).--frontier): fan out across the whole space rather than deep on any one thread — each round asks the whole frontier of decisions whose prerequisites are settled, then recomputes from the answers — surfacing the open decisions and the first steps takeable now. When charting against an existing map (residual questions or a redraw), read its Out of scope section before ticketing — ruled-out work never re-enters as a fresh ticket. If this surfaces no fog — the way to the destination is already clear and the journey fits one session — no map is needed: stop and recommend /oh-my-claudecode:launch.navigator:map; create child tickets; wire blocking edges in a second pass (issues need ids before they can reference each other). Everything not yet sharp enough to ticket stays in Not yet specified.research ticket just created, spawn a background subagent to resolve it in parallel (see Ticket types), capturing findings where the ticket can link them.Invoked with a map (link or number) or with no argument (pick up the open map). A ticket is optional: without one, take the next frontier ticket, not one the captain must choose.
Claimed-by (local) first, so concurrent sessions skip it. An open, unclaimed ticket is unclaimed. If assignment isn't possible (permissions, no handle), record the claim in a ticket comment instead.[<ticket title>](link): <one-line gist>.When charting reveals an effort whose frontier no number of sessions is likely to clear quickly — decisions fanning out across several independent threads, a destination that keeps opening new fog — the map itself becomes long-lived rather than a short stop on the way to launch:
Long-lived is a property of the map, not a mode switch: the same map issue, the same child tickets, the same rules. When the fog finally clears, the exit is unchanged — collapse the decisions into the mission brief and hand off.
Every ticket is HITL (worked with the captain, who speaks for themselves) or AFK (driven by the navigator alone). A HITL ticket only resolves through live exchange; the agent never stands in for the captain's side.
| Type | Mode | Resolved by | Use when |
|---|---|---|---|
research | AFK | Background subagent: investigate against primary sources (official docs, source code, specs), leave a cited Markdown file at docs/research/<ticket-slug>.md (or the repo's existing notes convention when one exists), link it from the ticket | A decision waits on knowledge outside the current working directory |
loft | HITL | Call the Skill tool with "loft": a throwaway artifact answers the ticket's question — a pure logic module in a clickable shell, or structurally different UI variants behind one route; the captain reacts, the answer folds into the resolution, the artifact stays on a loft/<name> branch | The question is precise but prose cannot settle it — it needs to be seen or clicked, not described |
grilling | HITL | Call the Skill tool with "deep-interview"; the captain decides each round | Conversation is the resolution — the default case |
task | HITL or AFK | The navigator drives it alone where it can; otherwise hands the captain a precise checklist | Manual work that unblocks a decision (sign up for a service, provision access, move data so its shape can be seen) — it earns its place by unblocking a decision, not by delivering the destination |
The answer is never part of the ticket body; it is recorded on resolution. Assets created while resolving are linked from the ticket, not pasted in.
A research ticket whose knowledge lives in a person rather than a document resolves by asking that person directly: one tracker comment naming them (per the granted communication scope), carrying everything they need to answer in one read, and their reply is cited as the primary source — the same standard a document source would meet. No third party is cold-contacted; a person the evidence does not name gets no question. The resolution records who answered and where, so the map's index points at the reply, not at a paraphrase.
A research file speaks the yard's one evidence format: it opens by restating the question it answers, every claim links its source, and it closes with an Unverified section — what could not be confirmed, and why it matters.
## Destination
<what reaching the end of this map looks like: the spec, decision, or change this effort is finding its way to. One or two lines; every session orients to it before choosing a ticket.>
## Notes
<domain; skills every session should consult; standing preferences; deferred drydock --check findings (verbatim); resolved documentLanguage tag; tracker-mode caveats for local mode>
## Decisions so far
<!-- 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>
## Not yet specified
<!-- in-scope fog you cannot ticket yet; graduates as the frontier advances -->
## Out of scope
<!-- work ruled beyond the destination; closed, never graduates -->
Fog or ticket? The test is whether you can state the question precisely now, not whether you can answer it now. Ticket when the question is already sharp, even if it is blocked. Not-yet-specified when you cannot phrase it that sharply — do not pre-slice the fog into ticket-sized pieces; one patch may graduate into several tickets, or none. Out of scope is a scoping act, not a step on the route: scope, not sharpness, lands work there, and it returns only if the destination is redrawn.
Resolutions land in the shipyard's paper trail the moment they settle — the same slots launch's Phase 1 uses:
CONTEXT.md glossary (one entry: definition, boundary, resolved ambiguity)docs/adr/NNNN-<slug>.mddocs/business/ (one article per business question)When the yard is not laid (the captain declined drydock at charting time), defer, don't skip: record each pending landing as one line in the map's Notes under a Deferred sediment heading. The later /oh-my-claudecode:launch run's yard gate treats the un-laid surfaces as findings, and the deferred lines tell it exactly what to land first.
The map is done when no open tickets remain and Not yet specified is empty. Then:
.omc/wayfinder/<map-slug>/brief.md so the handoff passes a pointer, not content./oh-my-claudecode:launch with the brief at .omc/wayfinder/<map-slug>/brief.md." The map stays as the effort's logbook; launch's yard gate owns every check from there./oh-my-claudecode:harbor charts like any loose idea, with the original thread and any signed decision links as material.task ticket, which does only what unblocks a decision.A charting session ends with a captain-signed map and fired research tickets. A working session ends with exactly one resolution recorded, the frontier advanced, and the session-close pointer emitted. The effort ends when the way is clear and the mission brief is in the captain's hands with /oh-my-claudecode:launch recommended — every decision the navigator made on the captain's behalf answerable with one pointer to where it was recorded.
/oh-my-claudecode:ask-navigator to work the next decision."