@alphazede/bearing-lite 0.1.0 → 0.1.8

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.
Files changed (34) hide show
  1. package/README.md +97 -67
  2. package/hooks/activation.cjs +2 -1
  3. package/hooks/com.anthropic.claude-code/host.cjs +437 -0
  4. package/hooks/com.anthropic.claude-code/mapping.md +69 -0
  5. package/hooks/com.cursor/hooks.json +15 -0
  6. package/hooks/hooks.json +35 -0
  7. package/package.json +7 -4
  8. package/plugin.json +34 -2
  9. package/skills/bearing-lite/SKILL.md +43 -36
  10. package/skills/bearing-lite/agents/openai.yaml +7 -0
  11. package/skills/bearing-lite/references/peer-synthesis.md +19 -0
  12. package/skills/bearing-lite/references/role-routing.mmd +19 -32
  13. package/skills/bearing-lite/references/task-state.md +19 -1
  14. package/skills/bearing-lite/references/task-state.mmd +1 -1
  15. package/skills/bearing-lite/templates/default-role-lineup.md +24 -0
  16. package/skills/bearing-lite/templates/task.md +56 -0
  17. package/skills/crewmate/SKILL.md +42 -30
  18. package/skills/explorer/SKILL.md +50 -31
  19. package/skills/gather-supplies/SKILL.md +46 -26
  20. package/skills/map-the-route/SKILL.md +39 -26
  21. package/skills/map-the-route/references/artifact-grammar.md +10 -10
  22. package/skills/navigator/SKILL.md +51 -37
  23. package/skills/park-ranger/SKILL.md +29 -24
  24. package/skills/repository-fit/SKILL.md +26 -19
  25. package/skills/set-bearings/SKILL.md +25 -19
  26. package/skills/surveyor/SKILL.md +26 -24
  27. package/skills/validator/SKILL.md +28 -27
  28. package/guide/migration.md +0 -168
  29. package/skills/bearing-lite/assets/role-routing.png +0 -0
  30. package/skills/bearing-lite/assets/task-state.png +0 -0
  31. package/skills/delegate-authority/SKILL.md +0 -38
  32. package/skills/sub-explorer/SKILL.md +0 -37
  33. package/skills/trail-boss/SKILL.md +0 -38
  34. package/skills/trail-boss/agents/openai.yaml +0 -4
@@ -1,168 +0,0 @@
1
- # Existing-run migration and distribution checkpoints
2
-
3
- How to retire a deep Bearing run without importing hidden runtime state, hand
4
- work off in a project-local readable record, and resume with Bearing Lite.
5
- Repository rename and npm deprecation remain separate owner-authorized release
6
- checkpoints; this guide documents them only and does not perform remote actions.
7
-
8
- Bearing Lite does **not** import `.bearing` data, Focus session state, MCP
9
- runtime state, or CLI journey ledgers. Resume uses a verified human-readable
10
- handoff, the existing approved plan, Bearing Lite, and native agent tools.
11
-
12
- ## Existing-run migration
13
-
14
- For each project that still has deep Bearing run data, complete these steps in
15
- order:
16
-
17
- 1. **Retire the old run read-only.** Leave historical `.bearing/`,
18
- `bearing-<plan>/`, Focus, MCP, and CLI runtime data in place. Do not mutate,
19
- import, or rewrite it as Lite input.
20
- 2. **Write a project-local human-readable handoff** in the affected repository
21
- (for example under that project's planning docs). Fill every field in the
22
- checklist below from visible plan text, Git history, and recorded evidence —
23
- not from hidden runtime stores.
24
- 3. **Verify the handoff** against the project tree and the current candidate
25
- revision: every field is present, paths exist or are intentionally listed as
26
- deleted, blockers and dependencies match the plan, and the next action is
27
- actionable without deep runtime state.
28
- 4. **Resume through Bearing Lite** using the existing approved plan plus native
29
- agent tools. Do not require `.bearing` import, Focus resume, MCP session
30
- restore, or CLI ledger continuity to continue work.
31
- 5. **Keep legacy runtime data read-only** until the handoff is verified. Archive
32
- or remove retired run data only as a later, separate owner-authorized action.
33
-
34
- Stop if migration would require importing hidden runtime state as Lite resume
35
- input. That is out of scope for Bearing Lite; produce a fuller handoff from
36
- visible sources instead.
37
-
38
- ## Project-local handoff checklist
39
-
40
- Use one handoff record per existing run (or per coherent plan-bound workspace).
41
- Every field is required for a complete handoff:
42
-
43
- | Field | What to record |
44
- |---|---|
45
- | **Approved plan** | Path and identity of the owner-approved plan the run was executing (title, date, or plan directory). |
46
- | **Completed work** | Slices, waves, or deliverables already finished and accepted, with enough detail that a new agent does not re-implement them. |
47
- | **Changed paths** | Exact repository paths modified by completed work (added, edited, or intentionally removed). |
48
- | **Commands / evidence** | Commands run, test or validation results, review verdicts, and other durable proof that completed work actually landed. |
49
- | **Blockers** | Open blockers, refusals, or owner decisions still required; write `none` only when none remain. |
50
- | **Dependencies** | Incomplete prerequisites, external packages, environment needs, or cross-slice dependencies that still gate progress. |
51
- | **Next action** | The single concrete next step for the receiving agent or owner, scoped so Lite can resume without deep runtime state. |
52
-
53
- ### Representative handoff template
54
-
55
- Copy into the affected project and fill every section:
56
-
57
- ```markdown
58
- # Migration handoff — <project or plan name>
59
-
60
- ## Approved plan
61
- - Plan path:
62
- - Plan identity / date:
63
-
64
- ## Completed work
65
- - [ ] <slice or deliverable>: summary
66
-
67
- ## Changed paths
68
- - `path/to/file` — added | edited | removed
69
-
70
- ## Commands / evidence
71
- - Command or review: result / artifact path
72
-
73
- ## Blockers
74
- - none | <blocker and owner>
75
-
76
- ## Dependencies
77
- - none | <dependency and why it still gates work>
78
-
79
- ## Next action
80
- - <one concrete next step for Bearing Lite + native tools>
81
- ```
82
-
83
- ### Handoff review (PROC-MIGRATION-01)
84
-
85
- Before treating the handoff as verified, confirm:
86
-
87
- - [ ] Approved plan is named and locatable in the project.
88
- - [ ] Completed work is enumerated without relying on `.bearing` or other hidden state.
89
- - [ ] Changed paths are explicit and match the tree or intentional removals.
90
- - [ ] Commands and evidence are durable and inspectable.
91
- - [ ] Blockers are stated (or explicitly `none`).
92
- - [ ] Dependencies are stated (or explicitly `none`).
93
- - [ ] Next action is sufficient to resume with Bearing Lite and native tools only.
94
- - [ ] No step requires importing `.bearing`, Focus, MCP, or CLI runtime state.
95
-
96
- A handoff that omits blockers, dependencies, or next action is incomplete. A
97
- migration that imports hidden runtime state as Lite input is rejected.
98
-
99
- ## Read-only legacy retirement
100
-
101
- Until the handoff is verified:
102
-
103
- - Treat `.bearing/`, plan-bound `bearing-<plan>/` workspaces, Focus contexts,
104
- MCP session artifacts, and CLI journey ledgers as **read-only historical
105
- evidence**.
106
- - Do not delete, rewrite, or “upgrade” those stores into Lite state.
107
- - Do not point Bearing Lite at them as an import or resume source.
108
-
109
- After the handoff is verified, archive or remove retired run data only under
110
- explicit repository-owner authorization as a separate action. Permanent deletion
111
- is never implied by writing the handoff.
112
-
113
- ## Distribution checkpoints (documentation only)
114
-
115
- These steps are **owner-authorized release checkpoints**. Document them here so
116
- operators know the approved sequence. This guide does **not** rename a
117
- repository, publish or deprecate an npm package, mutate remotes, or perform any
118
- other registry or network publish action.
119
-
120
- Approved sequence (PROC-DISTRIBUTION-01 — verify before any remote action):
121
-
122
- 1. **Repository rename (in place).** Rename the existing public repository from
123
- `alphazede/bearing` to `alphazede/bearing-lite` so public Git history remains
124
- intact. Do not create a replacement repository that discards history.
125
- 2. **Package identity.** Publish future Lite releases only as
126
- `@alphazede/bearing-lite`, and only after exact package and native-client
127
- validation plus explicit owner approval.
128
- 3. **Deprecate the old package.** Deprecate `@alphazede/bearing` with a message
129
- that directs users to Bearing Lite. Do not republish Lite under the old
130
- identity.
131
- 4. **Link and evidence hygiene.** Update public repository, issue, security,
132
- marketplace, package, and documentation links to the Lite identity. Keep
133
- historical public evidence clearly historical rather than rewriting it as
134
- current Lite behavior.
135
- 5. **Protected settings and authorization.** Confirm protected branch or
136
- repository settings, registry credentials, and owner authorization before any
137
- remote mutation. Remote action without that checkpoint is blocked.
138
-
139
- ### Pre-remote owner checklist
140
-
141
- Before any rename, publish, or deprecation command:
142
-
143
- - [ ] Owner has explicitly approved the repository rename
144
- `alphazede/bearing` → `alphazede/bearing-lite`.
145
- - [ ] Owner has explicitly approved publishing `@alphazede/bearing-lite` (not the
146
- old package name).
147
- - [ ] Owner has explicitly approved deprecating `@alphazede/bearing` with a
148
- migration message pointing at Lite.
149
- - [ ] Package identity on the candidate is `@alphazede/bearing-lite`.
150
- - [ ] Protected settings and release authority are confirmed.
151
- - [ ] No remote or registry action is performed from documentation-only work.
152
-
153
- Repository rename, npm deprecation, and publication remain separate protected
154
- owner actions. Completing this migration guide does not authorize them.
155
-
156
- ## What Bearing Lite does not do
157
-
158
- - Import or migrate `.bearing` / Focus / MCP / CLI runtime state as resume input.
159
- - Automatically rewrite deep run data into Lite task records.
160
- - Perform repository rename, npm publish, npm deprecation, or other remote
161
- release actions from ordinary product use.
162
- - Depend on another Bearing product's runtime, state store, or release gate to
163
- resume work.
164
-
165
- Resume authority is the verified project-local handoff, the approved plan, and
166
- native tools under Bearing Lite.
167
-
168
- [Back to the README](../README.md)
@@ -1,38 +0,0 @@
1
- ---
2
- name: delegate-authority
3
- description: >
4
- Maintain owner-approved multi-phase intent and appoint phase Navigators when
5
- the owner explicitly delegates across sessions or Navigator replacement. Use
6
- for delegate authority, multi-phase journey, or long-running delegation. Do
7
- not use for single-wave work, implementation, assurance, contract changes, or
8
- publication.
9
- ---
10
-
11
- # Delegate Authority
12
-
13
- ## Trigger
14
-
15
- - **Match:** owner explicitly delegates a bounded multi-phase journey, especially across sessions or Navigator replacement.
16
- - **Non-match:** ordinary direct, Explorer, or single-phase Expedition work without owner delegation.
17
-
18
- ## Inputs
19
-
20
- Plan path, approved intent, phase boundaries, authority envelope, `required_assurance`, expected handoff.
21
-
22
- ## Responsibility
23
-
24
- Preserve approved intent, appoint phase Navigators, and route phase handoffs. Never implement, assure, amend the contract, or publish.
25
-
26
- ## Return
27
-
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: Navigator or Owner Authority.
31
-
32
- ## Independence
33
-
34
- Dormant until owner delegation is evidenced. Does not self-certify phases.
35
-
36
- ## Correction
37
-
38
- In-authority phase appointment repair only. Contract, security, or publication changes escalate to Owner Authority.
@@ -1,37 +0,0 @@
1
- ---
2
- name: sub-explorer
3
- description: >
4
- Orchestrate bounded packets inside one Explorer-owned wave when at least two
5
- proven-independent lanes need one extra coordination level. Use for
6
- sub-explorer or in-wave lane coordination. Do not use as a second nesting
7
- level, for product implementation, multi-wave control, or assurance.
8
- ---
9
-
10
- # Sub-explorer
11
-
12
- ## Trigger
13
-
14
- - **Match:** one Explorer-owned wave has ≥2 proven-independent lanes and one extra coordination level materially reduces context or conflict.
15
- - **Non-match:** single lane; nested Sub-explorer requests; Trail Boss multi-wave work; direct Crewmate packets.
16
-
17
- ## Inputs
18
-
19
- Parent wave plan path, lane boundaries, packet specs, dependencies, authority, `required_assurance`, expected handoff.
20
-
21
- ## Responsibility
22
-
23
- Orchestrate in-wave packets only. Maximum one Sub-explorer level. Never perform packets, expand parent wave authority, or assure results.
24
-
25
- ## Return
26
-
27
- Handoff fields: `plan_ref`, `role`, `subject`, `depends_on`, `scope`, `authority`, `outcome`, `evidence`, `blocker`, `next_action`, `receiving_role`.
28
-
29
- Outcomes: `READY`, `REROUTED`, `WAITING_ON`, `OWNER_DECISION_REQUIRED`. Receiver: Crewmate or Explorer.
30
-
31
- ## Independence
32
-
33
- Dormant unless independence is proven. Does not substitute for Explorer, Trail Boss, or Navigator.
34
-
35
- ## Correction
36
-
37
- Return lane conflicts to Explorer. Out-of-wave expansion escalates to parent coordinator.
@@ -1,38 +0,0 @@
1
- ---
2
- name: trail-boss
3
- description: >
4
- Trail Boss cross-wave coordination for concurrent Explorer-owned waves with
5
- shared-interface or dependency conflicts. Use for trail boss, multi-wave
6
- conflict management, wave readiness scheduling, or integration order across
7
- waves. Do not use for a single wave, packet implementation, review, grading,
8
- or assurance verdicts.
9
- ---
10
-
11
- # Trail Boss
12
-
13
- ## Trigger
14
-
15
- - **Match:** ≥2 Explorer-owned waves are active or need cross-wave dependency, shared-interface, or conflict management.
16
- - **Non-match:** one Explorer owns the whole route; direct Crewmate work; review or implementation tasks.
17
-
18
- ## Inputs
19
-
20
- Plan path, wave graph, lane status, budgets, shared interfaces, `required_assurance`, expected handoff.
21
-
22
- ## Responsibility
23
-
24
- Schedule wave readiness and integration order only. Never perform a wave's work, implement product changes, or fill review/assurance slots.
25
-
26
- ## Return
27
-
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: Explorer, Navigator, or assurance role when required.
31
-
32
- ## Independence
33
-
34
- Orchestration-only. Omitted when one Explorer suffices. Never self-certifies integrated candidates.
35
-
36
- ## Correction
37
-
38
- Escalate unresolvable cross-wave conflicts to Navigator or Owner Authority; do not absorb Explorer packet work.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "Trail Boss"
3
- short_description: "Coordinate approved Expedition Explorer lanes"
4
- default_prompt: "Use $trail-boss to coordinate the approved Expedition wave graph."