@alphazede/bearing-lite 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ {
2
+ "description": "Bearing Lite Cursor mapping. Partial coverage: sessionStart activation, stop closeout. Transition-order and protected-action remain procedural.",
3
+ "hooks": {
4
+ "sessionStart": [
5
+ {
6
+ "command": "node ./hooks/com.anthropic.claude-code/host.cjs"
7
+ }
8
+ ],
9
+ "stop": [
10
+ {
11
+ "command": "node ./hooks/com.anthropic.claude-code/host.cjs"
12
+ }
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "description": "Bearing Lite verified Claude Code and Codex mapping. Partial coverage: activation on SessionStart, closeout on Stop. Transition-order and protected-action remain procedural.",
3
+ "hooks": {
4
+ "SessionStart": [
5
+ {
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "node",
10
+ "args": [
11
+ "${CLAUDE_PLUGIN_ROOT}/hooks/com.anthropic.claude-code/host.cjs"
12
+ ],
13
+ "timeout": 15,
14
+ "statusMessage": "Bearing Lite activation"
15
+ }
16
+ ]
17
+ }
18
+ ],
19
+ "Stop": [
20
+ {
21
+ "hooks": [
22
+ {
23
+ "type": "command",
24
+ "command": "node",
25
+ "args": [
26
+ "${CLAUDE_PLUGIN_ROOT}/hooks/com.anthropic.claude-code/host.cjs"
27
+ ],
28
+ "timeout": 15,
29
+ "statusMessage": "Bearing Lite closeout"
30
+ }
31
+ ]
32
+ }
33
+ ]
34
+ }
35
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alphazede/bearing-lite",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Skills-first Agent Plugin for planning, routing, bounded execution, and independent review of repository work—without CLI, MCP, server, or hidden runtime state.",
5
5
  "keywords": [
6
6
  "agent-plugins",
@@ -11,8 +11,12 @@
11
11
  "developer-tools",
12
12
  "skills-first",
13
13
  "evidence",
14
- "code-review"
14
+ "code-review",
15
+ "pi-package"
15
16
  ],
17
+ "pi": {
18
+ "skills": ["./skills"]
19
+ },
16
20
  "author": "William Rumph / AlphaZede",
17
21
  "license": "Apache-2.0",
18
22
  "repository": {
@@ -31,7 +35,6 @@
31
35
  "CODE_OF_CONDUCT.md",
32
36
  "CONTRIBUTING.md",
33
37
  "SECURITY.md",
34
- "LICENSE-APACHE",
35
- "guide/migration.md"
38
+ "LICENSE-APACHE"
36
39
  ]
37
40
  }
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "bearing-lite",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Skills-first portable plugin that routes repository work through the smallest valid planning stages and agent roles, using project Markdown as the only task record.",
6
6
  "author": {
7
7
  "name": "William Rumph / AlphaZede",
@@ -18,5 +18,37 @@
18
18
  "routing",
19
19
  "developer-tools",
20
20
  "skills-first"
21
- ]
21
+ ],
22
+ "hooks": {
23
+ "com.anthropic.claude-code.activation": {
24
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
25
+ },
26
+ "com.anthropic.claude-code.closeout": {
27
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
28
+ },
29
+ "com.openai.codex.activation": {
30
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
31
+ },
32
+ "com.openai.codex.closeout": {
33
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
34
+ },
35
+ "com.xai.grok-build.activation": {
36
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
37
+ },
38
+ "com.xai.grok-build.closeout": {
39
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
40
+ },
41
+ "com.cursor.ide.activation": {
42
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
43
+ },
44
+ "com.cursor.ide.closeout": {
45
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
46
+ },
47
+ "com.moonshotai.kimi-code.activation": {
48
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
49
+ },
50
+ "com.moonshotai.kimi-code.closeout": {
51
+ "path": "./hooks/com.anthropic.claude-code/host.cjs"
52
+ }
53
+ }
22
54
  }
@@ -1,40 +1,52 @@
1
1
  ---
2
2
  name: bearing-lite
3
3
  description: >
4
- Bearing Lite router for entry, resume, or unclear next action on repository
5
- work. Locates the project plan, next ready task, dependency state, risk, and
6
- smallest valid route among planning stages and roles. Activate for bearing
7
- lite, start/resume bearing, route the next task, or choose the minimum role
8
- path. Do not use for model or provider selection, package publication, deep
9
- harness control-room work, or a single already-assigned role packet.
4
+ Stateful Bearing Lite Router for starting or resuming a Journey, owning the
5
+ planning conversation, recording visible state, and dispatching fresh nodes.
6
+ Use only on explicit Bearing Lite invocation. Do not use for ordinary work,
7
+ an assigned role packet, model selection, implementation, or publication.
10
8
  ---
11
9
 
12
10
  # Bearing Lite Router
13
11
 
14
- Plugin entry skill. Not a work role. Owner Authority remains human-only.
15
-
16
- ## Inputs
17
-
18
- Plan path, next ready task, dependencies, risk, and available native capabilities.
19
-
20
- ## Select the smallest route
21
-
22
- 1. Identify the project plan and next ready task. Missing plan fields stay `PROPOSED`.
23
- 2. Invoke only missing planning stages: `repository-fit`, `set-bearings`, `gather-supplies`, `map-the-route`. Reuse valid evidence; do not replay completed stages.
24
- 3. Choose the least costly role route that preserves dependencies and assurance:
25
- - **Direct:** Crewmate → author self-check plus coordinator confirmation when `required_assurance` is `none`; otherwise the declared assurance roles. Add Park Ranger only when required or owner-selected. Validator and Park Ranger appear only when declared, owner-selected, or at a mandatory integrated phase gate.
26
- - **Single wave:** Explorer Crewmate packets with the same assurance rule → Surveyor when multi-packet or owner acceptance requires it. Never automatic Validator per packet.
27
- - **Expedition:** Navigator Trail Boss only for concurrent/conflicting waves Explorer lanes → optional Sub-explorer → Crewmates, with assurance only where `required_assurance`, owner selection, or a mandatory phase gate requires it.
28
- - **Long multi-phase:** Delegate Authority only when the owner explicitly delegates across sessions or Navigator replacement.
29
- 4. Leave dormant roles unselected. No placeholder, receipt, or hidden state.
30
- 5. Report honest hook coverage: full, partial, or skills-only procedural checks.
31
-
32
- ## Never
33
-
34
- - Select models, providers, credentials, launchers, or tool routes.
35
- - Create, import, or interpret `.bearing` state, MCP, CLI, or a scheduler.
36
- - Expand owner authority, publish, or self-certify as Validator, Park Ranger, or Surveyor.
37
-
38
- ## State and task record
39
-
40
- Task status lives only in the project plan. See `references/task-state.md` and `templates/task.md`. Orientation diagrams may load later under `references/` and `assets/`; text remains authoritative.
12
+ Owner-facing planning controller, never a work role. Explicit invocation is
13
+ consent to begin; do not ask for another start confirmation.
14
+
15
+ ## Inputs and state
16
+
17
+ Read the request, repository evidence, visible plan artifacts, and global lineup
18
+ when present. The Router alone writes Journey planning state; no `.bearing`,
19
+ CLI, MCP, scheduler, or hidden ledger. Report hook coverage honestly: plugin
20
+ hosts are partial; skill-copy is skills-only.
21
+
22
+ ## Algorithm
23
+
24
+ 1. Say `Gathering Supplies for this Journey.` Detect new versus resumed work.
25
+ 2. For a new Journey, recommend one route and ask exactly: `What Journey shall
26
+ we Embark on—an Explorer Journey or an Expedition?` Explorer fits one bounded
27
+ wave; Expedition fits dependency-connected waves.
28
+ 3. For a resume, state the next incomplete planning stage and continue unless
29
+ owner intent is missing. Never replay accepted stages.
30
+ 4. If `~/.agents/bearing-lite/default-role-lineup.md` is absent, create a
31
+ proposed copy from `templates/default-role-lineup.md` and ask the owner to
32
+ fill or confirm it one role at a time. Never infer identity values.
33
+ 5. Invoke one missing stage in order: Repository Fit Set Bearings → Gather
34
+ Supplies Map the Route. Give each a fresh session and integrate its return.
35
+ 6. Before implementation, display every role's primary/fallback agent or
36
+ harness, model, reasoning, and active/standby/unused state. Ask `Is this a
37
+ good lineup for the roles on this Journey?`; never choose those values.
38
+ 7. Ask `How often would you like an independent review—per slice, per round, or
39
+ at the end?` Record `per-slice`, `per-round`, or `at-end` in global config and
40
+ the Journey snapshot. The owner's Journey answer overrides the default.
41
+ 8. Dispatch only ready nodes. Every node gets a fresh session containing the
42
+ approved baseline, bounded assignment, dependencies, authority, relevant
43
+ evidence, review cadence, lineup identity, and return schema.
44
+
45
+ ## Return and recovery
46
+
47
+ Write the node result into visible state and return `READY`, `WAITING_ON`,
48
+ `OWNER_DECISION_REQUIRED`, or `COMPLETE` with evidence and next action. Use only
49
+ the approved fallback after verified primary unavailability; if both fail,
50
+ return to the owner. Allow at most three evidence-changing corrections.
51
+
52
+ Never implement, self-assure, select models, expand scope, or publish.
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: "Bearing Lite"
3
+ short_description: "Route a stateful repository Journey"
4
+ default_prompt: "Use $bearing-lite to start or resume this Journey, resolve planning one stage at a time, confirm the lineup and review cadence, then dispatch fresh bounded sessions."
5
+
6
+ policy:
7
+ allow_implicit_invocation: false
@@ -0,0 +1,21 @@
1
+ # Peer synthesis evidence
2
+
3
+ Bearing keeps its own skills-first identity, visible Markdown state, authority
4
+ ladder, and assurance separation. The catalog synthesizes behavior; it does not
5
+ copy peer text, runtimes, state stores, or authority assumptions.
6
+
7
+ | Bearing skill | Strongest compared peer | Behavior retained |
8
+ | --- | --- | --- |
9
+ | Bearing Router | [LangChain subagents](https://docs.langchain.com/oss/python/langchain/multi-agent/subagents) and [handoffs](https://docs.langchain.com/oss/python/langchain/multi-agent/handoffs) | central conversational supervisor, bounded handoff, fresh context |
10
+ | Repository Fit | [Kiro steering](https://kiro.dev/docs/steering/) | verified workspace and explicit global/workspace scope |
11
+ | Set Bearings | [Kiro steering](https://kiro.dev/docs/steering/) | durable human-readable workspace context |
12
+ | Gather Supplies | [Matt Pocock grilling](https://github.com/mattpocock/skills/blob/main/skills/productivity/grilling/SKILL.md) | relentless dependency-ordered interview, one recommended question at a time |
13
+ | Map the Route | [Kiro Quick Spec](https://kiro.dev/docs/specs/quick-spec/) and [GitHub Spec Kit](https://github.com/github/spec-kit/blob/main/workflows/speckit/workflow.yml) | staged requirements/design/tasks and explicit gates |
14
+ | Navigator | LangChain subagents | central sequencing and context isolation |
15
+ | Trail Boss | Spec Kit fan-out/fan-in workflows | conflict-aware wave integration |
16
+ | Explorer | LangChain subagents | bounded worker dispatch and result integration |
17
+ | Sub-Explorer | LangChain subagents | one justified extra context-isolation level |
18
+ | Crewmate | Spec Kit implement step | bounded execution after approved planning |
19
+ | Validator | Spec Kit gate | evidence gate on a stable candidate |
20
+ | Park Ranger | LangChain reviewer subagent | independent defect review with a typed return |
21
+ | Surveyor | Spec Kit review gate | outcome comparison before completion |
@@ -1,34 +1,27 @@
1
1
  flowchart TD
2
- O[Owner Authority] --> R[Bearing Lite Router]
2
+ O[Owner Authority] <--> R[Stateful Bearing Lite Router]
3
+ R --> J{Explorer Journey or Expedition?}
3
4
  R --> P{Next missing planning stage?}
4
- P -->|Repository Fit| PF[Repository Fit]
5
- P -->|Set Bearings| SB[Set Bearings]
6
- P -->|Gather Supplies| GS[Gather Supplies]
7
- P -->|Map the Route| MR[Map the Route]
8
- PF --> R
9
- SB --> R
10
- GS --> R
11
- MR --> R
12
- P -->|none| Q{Smallest valid route}
13
- Q -->|direct| C[Crewmate]
14
- Q -->|wave| E[Explorer]
15
- Q -->|expedition| N[Navigator]
16
- Q -->|long multi-phase| D[Delegate Authority]
17
- D --> N
18
- N --> TB{Multiple active or conflicting waves?}
19
- TB -->|yes| T[Trail Boss]
5
+ P -->|Repository Fit| PF[Fresh Repository Fit]
6
+ P -->|Set Bearings| SB[Fresh Set Bearings]
7
+ P -->|Gather Supplies| GS[Fresh Gather Supplies]
8
+ P -->|Map the Route| MR[Fresh Map the Route]
9
+ PF & SB & GS & MR -->|typed return| R
10
+ R --> L[Owner confirms lineup and review cadence]
11
+ J -->|Explorer Journey: one packet| C[Fresh Crewmate]
12
+ J -->|Explorer Journey: one wave| E[Fresh Explorer]
13
+ J -->|Expedition| N[Fresh Navigator]
14
+ N --> TB{Concurrent or conflicting waves?}
15
+ TB -->|yes| T[Fresh Trail Boss]
20
16
  TB -->|no| E
21
17
  T --> E
22
- E --> X{Nested split needed?}
23
- X -->|yes| SE[Sub-explorer]
18
+ E --> X{Two or more proven-independent lanes?}
19
+ X -->|yes| SE[Fresh Sub-Explorer]
24
20
  SE --> C
25
21
  X -->|no| C
26
- C --> A{required_assurance / next missing?}
27
- A -->|none: coordinator confirms| Q
28
- A -->|Validator| V[Validator]
29
- A -->|Park Ranger| PK[Park Ranger]
30
- A -->|Surveyor| S[Surveyor]
31
- A -->|owner acceptance| O
32
- V --> A
33
- PK --> A
34
- S --> O
22
+ C --> A{Selected cadence boundary?}
23
+ A -->|Validator declared| V[Fresh Validator]
24
+ A -->|Park Ranger declared| PK[Fresh Park Ranger]
25
+ A -->|Surveyor declared| S[Fresh Surveyor]
26
+ A -->|not yet| E
27
+ V & PK & S -->|typed verdict| R
@@ -0,0 +1,26 @@
1
+ # Bearing Lite global defaults
2
+
3
+ Store the user-owned copy at
4
+ `~/.agents/bearing-lite/default-role-lineup.md`. The Router displays it before
5
+ implementation and asks whether it is good for the current Journey. Never fill
6
+ agent, model, or reasoning values on the user's behalf.
7
+
8
+ ```markdown
9
+ review_cadence: <per-slice | per-round | at-end>
10
+
11
+ | Role | Primary agent/harness | Primary model | Primary reasoning | Fallback agent/harness | Fallback model | Fallback reasoning |
12
+ | --- | --- | --- | --- | --- | --- | --- |
13
+ | Router | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
14
+ | Navigator | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
15
+ | Trail Boss | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
16
+ | Explorer | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
17
+ | Sub-Explorer | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
18
+ | Crewmate | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
19
+ | Validator | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
20
+ | Park Ranger | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
21
+ | Surveyor | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET | OWNER_TO_SET |
22
+ ```
23
+
24
+ Journey artifacts copy the confirmed values and mark named instances active,
25
+ standby, or unused. Only verified primary unavailability activates its approved
26
+ fallback. If both are unavailable, return `OWNER_DECISION_REQUIRED`.
@@ -2,6 +2,23 @@
2
2
 
3
3
  Use one compact Markdown block per task in the project's existing plan or progress document. Omit unused conditional fields. Prefer the project's format; add only missing fields. Do not create a Bearing-owned state file or hidden ledger.
4
4
 
5
+ ## Journey settings (record before task mapping)
6
+
7
+ Record these plan-level choices once, above the task blocks:
8
+
9
+ ```markdown
10
+ - journey: <Explorer Journey | Expedition>
11
+ - review_cadence: <per-slice | per-round | at-end>
12
+ - choice_basis: <owner-confirmed recommendation and reason>
13
+ - lineup_snapshot: <named active, standby, and unused role instances>
14
+ ```
15
+
16
+ `review_cadence` controls independent review frequency, not task-level tests or
17
+ author self-checks. Never infer it from `required_assurance` on an individual
18
+ task. `per-round` means after each integrated execution or correction round;
19
+ `at-end` means one review of the final integrated candidate. The Router asks the
20
+ owner to confirm both the applicable lineup and cadence before implementation.
21
+
5
22
  ## Always present
6
23
 
7
24
  ```markdown
@@ -1,37 +1,40 @@
1
1
  ---
2
2
  name: crewmate
3
3
  description: >
4
- Implement one approved mutation, execution, or integration packet inside its
5
- exact write set with native tools. Use for crewmate, implement packet, bounded
6
- coding task, or apply a write-set change. Do not use for wave orchestration,
7
- multi-packet control, self-certification, publication, or expanding authority.
4
+ Implement one approved bounded packet in a fresh session and exact write set.
5
+ Use for Crewmate, implementation, repair, or integration packets. Do not use
6
+ for orchestration, planning, independent assurance, publication, destructive
7
+ action, owner decisions, or unset scope.
8
8
  ---
9
9
 
10
10
  # Crewmate
11
11
 
12
- ## Trigger
12
+ Lowest mutation authority and highest hands-on work in the Bearing ladder.
13
13
 
14
- - **Match:** one approved implementation, repair, or integration packet is READY with fixed scope and authority.
15
- - **Non-match:** multi-packet orchestration, wave ownership, assurance review, owner decisions, or unset write sets.
14
+ ## Inputs and match
16
15
 
17
- ## Inputs
16
+ - **Inputs:** approved baseline, objective, dependencies, exact write set,
17
+ authority, acceptance/SEIT rows, commands, cadence, stop rule, return schema.
18
+ - **Match:** one packet is `READY` and every input is fixed.
19
+ - **Non-match:** multi-packet coordination, design gaps, missing authority,
20
+ assurance, or owner-only action.
18
21
 
19
- Plan path, packet objective, acceptance, allowed paths, commands, stop condition, `required_assurance`, expected handoff.
22
+ ## Algorithm
20
23
 
21
- ## Responsibility
24
+ 1. Start a fresh session and confirm candidate continuity, boundaries, and clean
25
+ dependency state. Do not infer missing owner choices.
26
+ 2. For a verified contract defect, create the smallest failing regression first.
27
+ 3. Make the smallest change that satisfies the packet inside the write set.
28
+ 4. Run assigned focused commands and author self-checks. Review cadence never
29
+ removes deterministic testing or grants independent-review identity.
30
+ 5. Preserve unrelated work and report every changed path and observed result.
31
+ 6. Stop on acceptance, authority boundary, design gap, or exhausted correction.
22
32
 
23
- Smallest honest change in the write set. For verified contract bugs, add a failing regression first, then repair. Run assigned focused commands. Preserve unrelated work.
33
+ ## Return and recovery
24
34
 
25
- ## Return
35
+ Return `CANDIDATE_READY`, `PARTIAL`, `WAITING_ON`, or
36
+ `OWNER_DECISION_REQUIRED` with plan ref, role, subject, dependencies, scope,
37
+ authority, candidate ref, evidence, blocker, next action, and receiving role.
38
+ Attempts 1–3 require new evidence, hypothesis, or narrower strategy.
26
39
 
27
- Handoff fields: `plan_ref`, `role`, `subject`, `depends_on`, `scope`, `authority`, `outcome`, `evidence`, `blocker`, `next_action`, `receiving_role`.
28
-
29
- Outcomes: `CANDIDATE_READY`, `PARTIAL`, `WAITING_ON`, `OWNER_DECISION_REQUIRED`. Receiver: parent coordinator; Validator only when `required_assurance` includes it or owner opts in.
30
-
31
- ## Independence
32
-
33
- Never self-certifies. `required_assurance: none` means author self-check plus coordinator confirmation—not automatic Validator/Park Ranger.
34
-
35
- ## Correction
36
-
37
- Repair evidenced failures inside authority. Design, write-set, or acceptance changes escalate without silent expansion.
40
+ Never expand scope, self-certify as assurance, publish, or hide a failure.
@@ -1,38 +1,42 @@
1
1
  ---
2
2
  name: explorer
3
3
  description: >
4
- Wave-owner orchestration: sequence and dispatch bounded packets inside one
5
- approved wave without implementing them. Use for explorer, wave ownership,
6
- packet orchestration, or parallel dispatch planning. Do not use for product
7
- implementation, multi-wave Trail Boss control, nested Sub-explorer defaulting,
8
- or independent assurance of wave output.
4
+ Own one approved execution wave, dispatching bounded fresh-session packets
5
+ and integrating their evidence. Use for Explorer Journey, wave orchestration,
6
+ or parallel packet sequencing. Do not use for implementation, cross-wave
7
+ Trail Boss work, planning, automatic nesting, or independent assurance.
9
8
  ---
10
9
 
11
10
  # Explorer
12
11
 
13
- ## Trigger
12
+ Wave authority. Coordinates more and implements less than Sub-Explorer.
14
13
 
15
- - **Match:** an approved wave contains work packets that need orchestration, sequencing, or parallel dispatch (not the implementation itself).
16
- - **Non-match:** a single already-bounded implementation packet with no wave orchestration need; multi-wave Trail Boss duty; assurance review.
14
+ ## Inputs and match
17
15
 
18
- ## Inputs
16
+ - **Inputs:** approved baseline, wave objective, packet graph, dependencies,
17
+ scope, authority, lineup, review cadence, acceptance, and return schema.
18
+ - **Match:** one wave needs packet sequencing, dispatch, or integration.
19
+ - **Non-match:** one bounded packet needs no orchestration, multiple waves
20
+ conflict, or assurance alone is requested.
19
21
 
20
- Plan path, wave objective, packets, dependencies, scope, authority, `required_assurance`, expected handoff.
22
+ ## Algorithm
21
23
 
22
- ## Responsibility
24
+ 1. Start fresh and verify wave readiness, exact packet boundaries, dependencies,
25
+ and approved primary/fallback identities.
26
+ 2. Use direct Crewmates by default. Add one Sub-Explorer only for at least two
27
+ proven-independent lanes where it materially reduces conflict or context.
28
+ 3. Give every node a fresh bounded session. Never pass raw conversation history.
29
+ 4. Inspect returns against write sets and acceptance; integrate evidence without
30
+ implementing missing packet work.
31
+ 5. Dispatch declared assurance at `per-slice` or after each integrated execution
32
+ or correction round at `per-round`. At `at-end`, an Explorer Journey reviews
33
+ its final wave once; an Expedition wave defers assurance to the Navigator's
34
+ final Journey boundary. Deterministic checks always run.
23
35
 
24
- Issue disjoint Crewmate packets, inspect returns against allowlists, and hand off for coordinator confirmation or required assurance. Never implement or audit the packets itself.
36
+ ## Return and recovery
25
37
 
26
- ## Return
38
+ Return `READY`, `REROUTED`, `WAITING_ON`, or `OWNER_DECISION_REQUIRED` with
39
+ plan ref, role, subject, dependencies, scope, authority, evidence, blocker, next
40
+ action, and receiver. Reroute only from new evidence; three attempts per packet.
27
41
 
28
- Handoff fields: `plan_ref`, `role`, `subject`, `depends_on`, `scope`, `authority`, `outcome`, `evidence`, `blocker`, `next_action`, `receiving_role`.
29
-
30
- Outcomes: `READY`, `REROUTED`, `WAITING_ON`, `OWNER_DECISION_REQUIRED`. Receiver: Sub-explorer, Crewmate, or parent coordinator.
31
-
32
- ## Independence
33
-
34
- Wave owner only. Does not provide Validator, Park Ranger, or Surveyor verdicts for candidates produced under its dispatch when it is author-equivalent.
35
-
36
- ## Correction
37
-
38
- Reroute incomplete packets with new evidence. Authority or design amendments escalate to parent coordinator or Owner Authority.
42
+ Never implement, self-assure, select models, or expand the wave.
@@ -1,33 +1,45 @@
1
1
  ---
2
2
  name: gather-supplies
3
3
  description: >
4
- Resolve only material owner decisions that block a complete plan after the
5
- workspace exists. Use for gather supplies, owner decisions, plan-spec
6
- assumptions, or blocking scope questions. Do not use for design drafting,
7
- implementation, product edits, or replaying settled owner answers.
4
+ Relentlessly resolve material owner decisions for a Bearing Journey, one
5
+ dependency-ordered question at a time, until shared understanding is explicit.
6
+ Use for Gather Supplies or unresolved plan intent. Do not use for discoverable
7
+ repository facts, design drafting, implementation, or settled decisions.
8
8
  ---
9
9
 
10
10
  # Gather Supplies
11
11
 
12
- Procedural stage. Not a persona.
12
+ Planning node, not a persona or plan-state writer.
13
13
 
14
- ## Match / non-match
14
+ ## Match and inputs
15
15
 
16
- - **Match:** material open decisions block scope, architecture, security, authority, or acceptance.
17
- - **Non-match:** decisions already recorded; Map the Route can proceed; pure implementation packets.
16
+ - **Match:** a Journey choice or material scope, behavior, authority, risk, or
17
+ acceptance decision is unresolved.
18
+ - **Non-match:** evidence can answer it, the owner already decided it, or a work
19
+ packet is ready.
20
+ - **Inputs:** goal, visible plan state, repository evidence, prior decisions,
21
+ open decision tree, and return schema.
18
22
 
19
- ## Inputs
23
+ ## Algorithm
20
24
 
21
- Goal, repository evidence, plan workspace, and prior owner Q&A.
25
+ 1. Inspect the repository and available evidence before asking. Never ask the
26
+ owner for a fact tools can establish.
27
+ 2. Select the earliest unresolved decision whose dependencies are satisfied.
28
+ 3. Ask exactly one question. Lead with the recommended answer and why, then
29
+ explain only material alternatives and tradeoffs. Wait for the owner.
30
+ 4. Challenge vague terms, contradictions, unsafe assumptions, and incomplete
31
+ acceptance. A default, probability, or silence is not approval.
32
+ 5. Follow the affected dependency branch. Revisit an earlier answer when new
33
+ evidence conflicts; otherwise do not replay it.
34
+ 6. Return each confirmed decision immediately to the Router for recording.
35
+ 7. When no material branch remains, summarize the shared interpretation and ask
36
+ for explicit confirmation that shared understanding has been reached.
22
37
 
23
- ## Procedure
38
+ ## Return and recovery
24
39
 
25
- 1. Ask only material questions; reuse durable prior answers without re-asking.
26
- 2. For each question: recommendation, evidence, options/tradeoffs, affected section, safe default.
27
- 3. Apply completed answers into the validated plan specification only.
28
- 4. Keep requirements testable with stable IDs; record blockers instead of inventing approval.
29
- 5. Exit with zero-to-few bounded questions, applied plan-spec, or `OWNER_DECISION_REQUIRED`.
40
+ Return `DECISION_CONFIRMED`, `SHARED_UNDERSTANDING_CONFIRMED`,
41
+ `NEEDS_EVIDENCE`, or `OWNER_DECISION_REQUIRED` with decision ID, answer,
42
+ rationale, affected requirements, remaining branch, and next action. Stop after
43
+ three evidence-changing attempts on one blocked decision.
30
44
 
31
- ## Never
32
-
33
- Design the route, draft implementation slices, edit product code, or overwrite a recorded owner answer with a default.
45
+ Never write Journey state, choose for the owner, design, or implement.