@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.
- package/README.md +97 -67
- package/hooks/activation.cjs +2 -1
- package/hooks/com.anthropic.claude-code/host.cjs +437 -0
- package/hooks/com.anthropic.claude-code/mapping.md +69 -0
- package/hooks/com.cursor/hooks.json +15 -0
- package/hooks/hooks.json +35 -0
- package/package.json +7 -4
- package/plugin.json +34 -2
- package/skills/bearing-lite/SKILL.md +43 -36
- package/skills/bearing-lite/agents/openai.yaml +7 -0
- package/skills/bearing-lite/references/peer-synthesis.md +19 -0
- package/skills/bearing-lite/references/role-routing.mmd +19 -32
- package/skills/bearing-lite/references/task-state.md +19 -1
- package/skills/bearing-lite/references/task-state.mmd +1 -1
- package/skills/bearing-lite/templates/default-role-lineup.md +24 -0
- package/skills/bearing-lite/templates/task.md +56 -0
- package/skills/crewmate/SKILL.md +42 -30
- package/skills/explorer/SKILL.md +50 -31
- package/skills/gather-supplies/SKILL.md +46 -26
- package/skills/map-the-route/SKILL.md +39 -26
- package/skills/map-the-route/references/artifact-grammar.md +10 -10
- package/skills/navigator/SKILL.md +51 -37
- package/skills/park-ranger/SKILL.md +29 -24
- package/skills/repository-fit/SKILL.md +26 -19
- package/skills/set-bearings/SKILL.md +25 -19
- package/skills/surveyor/SKILL.md +26 -24
- package/skills/validator/SKILL.md +28 -27
- package/guide/migration.md +0 -168
- package/skills/bearing-lite/assets/role-routing.png +0 -0
- package/skills/bearing-lite/assets/task-state.png +0 -0
- package/skills/delegate-authority/SKILL.md +0 -38
- package/skills/sub-explorer/SKILL.md +0 -37
- package/skills/trail-boss/SKILL.md +0 -38
- package/skills/trail-boss/agents/openai.yaml +0 -4
package/README.md
CHANGED
|
@@ -5,93 +5,131 @@
|
|
|
5
5
|
|
|
6
6
|
**Bearing Lite** (`@alphazede/bearing-lite`) is a skills-first Agent Plugin for
|
|
7
7
|
planning, routing, bounded execution, and independent review of repository work.
|
|
8
|
-
It ships portable skills, references, templates, and optional client hooks.
|
|
9
|
-
does **not** ship a CLI, MCP server, browser control room, local scheduler, or
|
|
10
|
-
hidden runtime database.
|
|
8
|
+
It ships portable skills, references, templates, and optional client hooks.
|
|
11
9
|
|
|
12
|
-
An agent cannot certify its own work. The
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
An agent cannot certify its own work. The stateful Router owns the planning
|
|
11
|
+
conversation and visible Journey state, then dispatches fresh bounded sessions.
|
|
12
|
+
Independent assurance runs at the owner's selected cadence: per slice, per
|
|
13
|
+
execution/correction round, or once at the end. Owner Authority remains human-only.
|
|
15
14
|
|
|
16
|
-
Bearing Lite was created by William Rumph
|
|
15
|
+
Bearing Lite was created by William Rumph.
|
|
16
|
+
|
|
17
|
+
## Quick start with Pi
|
|
18
|
+
|
|
19
|
+
Install the published skills package:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
pi install npm:@alphazede/bearing-lite
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then give your agent a real task:
|
|
26
|
+
|
|
27
|
+
> Use Bearing Lite to add rate limiting to this API without changing its public
|
|
28
|
+
> responses. Require one independent review at the end.
|
|
29
|
+
|
|
30
|
+
Bearing Lite asks whether the work is an Explorer Journey or an Expedition,
|
|
31
|
+
fills only the missing planning stages, confirms the agent lineup and review
|
|
32
|
+
cadence, and dispatches bounded sessions with visible Markdown state.
|
|
33
|
+
|
|
34
|
+
If Bearing Lite helps keep a long agent task scoped and reviewable,
|
|
35
|
+
[star the repository](https://github.com/alphazede/bearing-lite). It helps other
|
|
36
|
+
coding-agent users find it.
|
|
17
37
|
|
|
18
38
|
## Install
|
|
19
39
|
|
|
20
|
-
Install as
|
|
21
|
-
|
|
40
|
+
Install as a host plugin. The portable identity is always `bearing-lite` /
|
|
41
|
+
`@alphazede/bearing-lite`. No postinstall script, global hook copy, or
|
|
42
|
+
host-config mutation is required.
|
|
22
43
|
|
|
23
44
|
```sh
|
|
24
|
-
#
|
|
25
|
-
|
|
45
|
+
# Claude Code
|
|
46
|
+
claude plugin marketplace add /path/to/bearing-lite
|
|
47
|
+
claude plugin install bearing-lite@bearing-lite
|
|
48
|
+
|
|
49
|
+
# Codex
|
|
50
|
+
codex plugin marketplace add /path/to/bearing-lite
|
|
51
|
+
codex plugin add bearing-lite@bearing-lite
|
|
52
|
+
|
|
53
|
+
# Grok Build
|
|
54
|
+
grok plugin marketplace add /path/to/bearing-lite
|
|
55
|
+
grok plugin install bearing-lite --trust
|
|
56
|
+
|
|
57
|
+
# Cursor
|
|
58
|
+
# Add the checkout as a Cursor marketplace/plugin (.cursor-plugin/)
|
|
59
|
+
|
|
60
|
+
# Kimi Code
|
|
61
|
+
# /plugins install /path/to/bearing-lite
|
|
62
|
+
|
|
63
|
+
# AGY (Antigravity) — install the .agy root, not the repo root
|
|
64
|
+
agy plugin install /path/to/bearing-lite/.agy
|
|
65
|
+
|
|
66
|
+
# Pi — skills package, no command hooks
|
|
67
|
+
pi install npm:@alphazede/bearing-lite
|
|
26
68
|
```
|
|
27
69
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
70
|
+
Claude Code, Codex, Grok Build, Cursor, and Kimi Code are **partial** hook
|
|
71
|
+
clients: session start runs the activation advisory and stop runs the closeout
|
|
72
|
+
advisory. AGY and Pi are **skills-only**. Transition-order and protected-action
|
|
73
|
+
checks stay in the skills on every host. Node.js must be on `PATH` for the
|
|
74
|
+
hook adapters.
|
|
31
75
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
76
|
+
**Skills-only copy** of `skills/` into a host skills directory does not
|
|
77
|
+
register hooks. That path remains first-class. See
|
|
78
|
+
[`hooks/com.anthropic.claude-code/mapping.md`](hooks/com.anthropic.claude-code/mapping.md).
|
|
35
79
|
|
|
36
80
|
## What it does
|
|
37
81
|
|
|
38
|
-
1. **
|
|
82
|
+
1. **Ask** whether the Journey is an Explorer Journey or an Expedition.
|
|
39
83
|
2. **Fill only missing planning stages:** Repository Fit → Set Bearings → Gather
|
|
40
84
|
Supplies → Map the Route.
|
|
41
|
-
3. **
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
5. **Return structured handoffs**; parent coordinators write plan transitions.
|
|
85
|
+
3. **Confirm** the user-owned primary/fallback lineup and review cadence.
|
|
86
|
+
4. **Dispatch fresh sessions** with bounded context, authority, and return types.
|
|
87
|
+
5. **Record state visibly** in human-readable Markdown artifacts only.
|
|
45
88
|
|
|
46
89
|
Bearing Lite never selects models, providers, credentials, or launchers. The
|
|
47
|
-
owner
|
|
90
|
+
owner provides each role's primary/fallback agent or harness, model, and
|
|
91
|
+
reasoning level in `~/.agents/bearing-lite/default-role-lineup.md`, then confirms
|
|
92
|
+
the applicable Journey snapshot before implementation.
|
|
48
93
|
|
|
49
94
|
## Routes and scaling
|
|
50
95
|
|
|
51
96
|
| Route | When | Cost |
|
|
52
97
|
|---|---|---|
|
|
53
|
-
| **
|
|
54
|
-
| **
|
|
55
|
-
| **Expedition** | Multi-phase or concurrent independent lanes | Navigator; Trail Boss only for concurrent/conflicting waves |
|
|
56
|
-
| **Long multi-phase** | Owner-approved intent across sessions | Optional Delegate Authority |
|
|
98
|
+
| **Explorer Journey** | One bounded packet or one wave | Direct Crewmate or one Explorer |
|
|
99
|
+
| **Expedition** | Multi-phase or concurrent independent lanes | Navigator |
|
|
57
100
|
|
|
58
|
-
**Explorer**
|
|
59
|
-
|
|
101
|
+
An **Explorer Journey** uses a direct Crewmate for one ready packet or one
|
|
102
|
+
Explorer over a compact/sequential wave.
|
|
103
|
+
**Expedition** adds navigation so independent lanes
|
|
60
104
|
stay small and sharp instead of degrading in one long context. Either shape can
|
|
61
105
|
use substantial tokens; the product does not impose a default budget ceiling.
|
|
62
106
|
|
|
63
107
|
### Role routing (explanatory)
|
|
64
108
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
Reviewable Mermaid source: [`skills/bearing-lite/references/role-routing.mmd`](skills/bearing-lite/references/role-routing.mmd)
|
|
68
|
-
(plan-local twin under `docs/plans/2026-08-09-bearing-skills-first-architecture/assets/`).
|
|
109
|
+
Current routing diagram source: [`skills/bearing-lite/references/role-routing.mmd`](skills/bearing-lite/references/role-routing.mmd).
|
|
110
|
+
The text below remains authoritative for clients that do not render Mermaid.
|
|
69
111
|
|
|
70
112
|
**Authoritative text (vision optional):** Owner Authority remains human-only. The
|
|
71
|
-
Bearing Lite Router is
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Diagrams explain orientation; they never authorize a transition.
|
|
113
|
+
Bearing Lite Router is the stateful planning controller, not a work role. It
|
|
114
|
+
invokes only missing planning stages in fresh sessions, confirms the owner's
|
|
115
|
+
lineup and cadence, then dispatches an Explorer Journey or Expedition. Explorer
|
|
116
|
+
coordinates proven-independent in-wave lanes without a nested coordinator.
|
|
117
|
+
Validator, Park Ranger,
|
|
118
|
+
and Surveyor appear only when declared and when the selected per-slice,
|
|
119
|
+
per-round, or at-end boundary is reached. Diagrams explain orientation; they
|
|
120
|
+
never authorize a transition.
|
|
80
121
|
|
|
81
122
|
## Roles and authority
|
|
82
123
|
|
|
83
124
|
| Role | What it is | Executes | Notes |
|
|
84
125
|
|---|---|---|---|
|
|
85
|
-
| **Router** |
|
|
86
|
-
| **Navigator** | Expedition orchestrator |
|
|
87
|
-
| **
|
|
88
|
-
| **
|
|
89
|
-
| **
|
|
90
|
-
| **
|
|
91
|
-
| **
|
|
92
|
-
| **Park Ranger** | Defect review | yes | Independent of the author |
|
|
93
|
-
| **Surveyor** | User-facing acceptance | no | Read-only acceptance judgment |
|
|
94
|
-
| **Delegate Authority** | Cross-session phase owner | yes | Only when owner explicitly delegates |
|
|
126
|
+
| **Router** | Stateful planning controller | no | User-facing; planning-state writer |
|
|
127
|
+
| **Navigator** | Expedition orchestrator | no | Owns cross-wave sequencing and conflicts |
|
|
128
|
+
| **Explorer** | One-wave controller | no | Dispatches Crewmates; owns proven-independent lanes |
|
|
129
|
+
| **Crewmate** | Bounded implementer | yes | Most hands-on work; exact write set |
|
|
130
|
+
| **Validator** | Evidence sufficiency | no | Independent of the author |
|
|
131
|
+
| **Park Ranger** | Defect review | no | Independent of the author |
|
|
132
|
+
| **Surveyor** | User-facing acceptance | no | Read-only outcome judgment |
|
|
95
133
|
| **Owner Authority** | Human decision | n/a | Never an agent role |
|
|
96
134
|
|
|
97
135
|
**Independent review:** a candidate author never provides their own Validator,
|
|
@@ -102,21 +140,21 @@ Failure escalates to the nearest role whose scope can see it:
|
|
|
102
140
|
| Failure scope | Escalates to |
|
|
103
141
|
|---|---|
|
|
104
142
|
| Within one slice or packet | Explorer or nearest parent |
|
|
105
|
-
| Across slices in a wave |
|
|
106
|
-
| Across phases | Navigator
|
|
143
|
+
| Across slices in a wave | Explorer |
|
|
144
|
+
| Across waves or phases | Navigator |
|
|
107
145
|
| Contract, security, or authority change | Owner Authority |
|
|
108
146
|
|
|
109
147
|
## Task state (explanatory)
|
|
110
148
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
Reviewable Mermaid source: [`skills/bearing-lite/references/task-state.mmd`](skills/bearing-lite/references/task-state.mmd).
|
|
149
|
+
Current task-state diagram source: [`skills/bearing-lite/references/task-state.mmd`](skills/bearing-lite/references/task-state.mmd).
|
|
150
|
+
The text below remains authoritative for clients that do not render Mermaid.
|
|
114
151
|
Authoritative transition rules: [`skills/bearing-lite/references/task-state.md`](skills/bearing-lite/references/task-state.md).
|
|
115
152
|
|
|
116
153
|
**Authoritative summary:** The project's plan is the only task-state record.
|
|
117
154
|
Normal progress is `PROPOSED` → `READY` → `IN_PROGRESS` → `EVIDENCE_READY`, then
|
|
118
155
|
optional `VALIDATING` / `REVIEWING` when required, then `ACCEPTANCE` →
|
|
119
|
-
`COMPLETE`. `WAITING_ON` holds for missing prerequisites
|
|
156
|
+
`COMPLETE`. `WAITING_ON` holds for missing prerequisites, checkout-lease
|
|
157
|
+
conflict, or assurance dispatch.
|
|
120
158
|
`CORRECTION_REQUIRED` allows two in-authority repairs; a third failed correction
|
|
121
159
|
escalates to `OWNER_DECISION_REQUIRED`. Diagrams never create state or authorize
|
|
122
160
|
transitions.
|
|
@@ -177,7 +215,7 @@ flowchart TD
|
|
|
177
215
|
|---|---|
|
|
178
216
|
| `plugin.json` | Agent Plugins v1.0.0 manifest |
|
|
179
217
|
| `skills/` | Router, planning stages, and role skills |
|
|
180
|
-
| `hooks/` |
|
|
218
|
+
| `hooks/` | Four portable class adapters plus the verified Claude Code / Codex mapping |
|
|
181
219
|
| `README.md` and governance docs | Public product and conduct surfaces |
|
|
182
220
|
|
|
183
221
|
There is no `mcp.json`, `bin` entrypoint, postinstall, or runtime dependency on
|
|
@@ -189,14 +227,6 @@ Skills declare **capabilities** (reasoning depth, repository access, mutation
|
|
|
189
227
|
tools, independence, optional vision). They never pin a model, provider API key,
|
|
190
228
|
default route, or launcher. Owners and clients choose how to satisfy each role.
|
|
191
229
|
|
|
192
|
-
## Migration note
|
|
193
|
-
|
|
194
|
-
Bearing Lite does not import historical deep-harness run directories or hidden
|
|
195
|
-
runtime state. Resume from the approved project plan and a verified
|
|
196
|
-
human-readable handoff using native agent tools. See
|
|
197
|
-
[guide/migration.md](guide/migration.md) for existing-run migration and
|
|
198
|
-
owner distribution checkpoints.
|
|
199
|
-
|
|
200
230
|
## Contributing
|
|
201
231
|
|
|
202
232
|
Issues and carefully scoped pull requests help. See
|
package/hooks/activation.cjs
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Bearing Lite activation/context advisory adapter (CONTRACT-HOOK-01).
|
|
6
6
|
* Advisory only: outcomes are ADVISE or UNAVAILABLE. Never fabricates BLOCK.
|
|
7
|
-
* Skills-only clients: enforcement remains procedural
|
|
7
|
+
* Skills-only clients: enforcement remains procedural. Claude Code and Codex
|
|
8
|
+
* use the verified partial mapping in hooks/com.anthropic.claude-code/.
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
const HOOK_CLASS = "activation";
|