@alphazede/bearing-lite 0.1.0
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/CODE_OF_CONDUCT.md +45 -0
- package/CONTRIBUTING.md +74 -0
- package/LICENSE-APACHE +202 -0
- package/README.md +213 -0
- package/SECURITY.md +89 -0
- package/guide/migration.md +168 -0
- package/hooks/activation.cjs +163 -0
- package/hooks/closeout.cjs +242 -0
- package/hooks/protected-action.cjs +229 -0
- package/hooks/transition-order.cjs +290 -0
- package/package.json +37 -0
- package/plugin.json +22 -0
- package/skills/bearing-lite/SKILL.md +40 -0
- package/skills/bearing-lite/assets/role-routing.png +0 -0
- package/skills/bearing-lite/assets/task-state.png +0 -0
- package/skills/bearing-lite/references/role-routing.mmd +34 -0
- package/skills/bearing-lite/references/task-state.md +42 -0
- package/skills/bearing-lite/references/task-state.mmd +29 -0
- package/skills/bearing-lite/templates/task.md +55 -0
- package/skills/crewmate/SKILL.md +37 -0
- package/skills/delegate-authority/SKILL.md +38 -0
- package/skills/explorer/SKILL.md +38 -0
- package/skills/gather-supplies/SKILL.md +33 -0
- package/skills/map-the-route/SKILL.md +33 -0
- package/skills/map-the-route/references/artifact-grammar.md +83 -0
- package/skills/navigator/SKILL.md +44 -0
- package/skills/park-ranger/SKILL.md +38 -0
- package/skills/repository-fit/SKILL.md +33 -0
- package/skills/set-bearings/SKILL.md +33 -0
- package/skills/sub-explorer/SKILL.md +37 -0
- package/skills/surveyor/SKILL.md +38 -0
- package/skills/trail-boss/SKILL.md +38 -0
- package/skills/trail-boss/agents/openai.yaml +4 -0
- package/skills/validator/SKILL.md +41 -0
- package/skills/validator/references/grading-rubric.md +39 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## The short version
|
|
4
|
+
|
|
5
|
+
Be decent to people. Argue about the work, not the person making it.
|
|
6
|
+
|
|
7
|
+
## What we expect
|
|
8
|
+
|
|
9
|
+
- Assume good faith, and give a clear reason when you disagree.
|
|
10
|
+
- Accept that a maintainer may decline your idea. A no is not an insult.
|
|
11
|
+
- Respect the boundaries of the project, including its security rules.
|
|
12
|
+
- Keep other people's data out of issues, pull requests, and evidence you post.
|
|
13
|
+
|
|
14
|
+
## What is not acceptable
|
|
15
|
+
|
|
16
|
+
- Harassment, threats, or personal attacks of any kind.
|
|
17
|
+
- Comments that demean someone for who they are rather than what they said.
|
|
18
|
+
- Publishing private information, including someone's address, email, or
|
|
19
|
+
repository contents, without their permission.
|
|
20
|
+
- Sustained disruption of a discussion after being asked to stop.
|
|
21
|
+
|
|
22
|
+
## Where this applies
|
|
23
|
+
|
|
24
|
+
Every space this project uses: issues, pull requests, discussions, commit
|
|
25
|
+
messages, and any place where you are speaking for Bearing Lite.
|
|
26
|
+
|
|
27
|
+
## Reporting
|
|
28
|
+
|
|
29
|
+
Report a problem privately to the repository owner through GitHub. Do not open a
|
|
30
|
+
public issue about someone's conduct, because that makes the situation worse for
|
|
31
|
+
the person reporting it.
|
|
32
|
+
|
|
33
|
+
If the report involves a security matter, use the [private vulnerability
|
|
34
|
+
reporting form](https://github.com/alphazede/bearing-lite/security/advisories/new)
|
|
35
|
+
instead. See [SECURITY.md](SECURITY.md).
|
|
36
|
+
|
|
37
|
+
Reports are read by the maintainer and kept private. You will get a response.
|
|
38
|
+
|
|
39
|
+
## What happens next
|
|
40
|
+
|
|
41
|
+
Depending on what happened and whether it continues, the response ranges from a
|
|
42
|
+
private word, to a warning, to removing comments, to blocking the account from
|
|
43
|
+
the project. Serious or repeated behavior goes straight to a block.
|
|
44
|
+
|
|
45
|
+
The maintainer makes these calls and is accountable for them.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributing to Bearing Lite
|
|
2
|
+
|
|
3
|
+
## Provider-neutral public artifacts
|
|
4
|
+
|
|
5
|
+
Packaged skills, hooks, manifests, and documentation must never require,
|
|
6
|
+
select, recommend, or silently substitute a concrete agent, model, provider,
|
|
7
|
+
or private harness alias for a role. Public guidance declares capabilities and
|
|
8
|
+
independence requirements; the owner or compatible client maps available
|
|
9
|
+
agents to those requirements. Client names may appear only to document a
|
|
10
|
+
client-specific compatibility surface, never as a required implementation,
|
|
11
|
+
coordination, fallback, or assurance route.
|
|
12
|
+
|
|
13
|
+
Thanks for the interest. This page covers how the project works and what helps
|
|
14
|
+
most.
|
|
15
|
+
|
|
16
|
+
## How this repository works
|
|
17
|
+
|
|
18
|
+
Bearing Lite is developed directly as a public skills-first Agent Plugin. The
|
|
19
|
+
portable product surface is `plugin.json`, `skills/`, optional `hooks/`, and
|
|
20
|
+
the public governance documents. There is no CLI binary, MCP server, browser
|
|
21
|
+
control room, or hidden runtime state to maintain for ordinary contributions.
|
|
22
|
+
|
|
23
|
+
Pull requests that stay inside that product boundary are welcome. Changes that
|
|
24
|
+
reintroduce deep-harness coupling, model or provider pins, secret material, or
|
|
25
|
+
private path spill will be declined.
|
|
26
|
+
|
|
27
|
+
## Reporting a bug
|
|
28
|
+
|
|
29
|
+
Open a bug report and include the Bearing Lite version (or commit), how you
|
|
30
|
+
installed the plugin, your operating system, and which agent client you used.
|
|
31
|
+
If a skill returned a structured handoff or a hook emitted a typed diagnostic,
|
|
32
|
+
paste the sanitized text. Never include credentials, private repository
|
|
33
|
+
contents, or unredacted session evidence.
|
|
34
|
+
|
|
35
|
+
Never report a security problem in a public issue. Use the [private
|
|
36
|
+
vulnerability reporting
|
|
37
|
+
form](https://github.com/alphazede/bearing-lite/security/advisories/new).
|
|
38
|
+
[SECURITY.md](SECURITY.md) covers what to include and what to leave out.
|
|
39
|
+
|
|
40
|
+
## Proposing a change
|
|
41
|
+
|
|
42
|
+
Open a feature request that states the problem before the solution. Bearing
|
|
43
|
+
Lite is a bounded product: skills-first, provider-neutral, no telemetry, no
|
|
44
|
+
hosted service, and no agent that certifies its own work. A proposal that
|
|
45
|
+
crosses one of those lines is likely to be declined, and hearing that early
|
|
46
|
+
saves you the work.
|
|
47
|
+
|
|
48
|
+
## Working on the package
|
|
49
|
+
|
|
50
|
+
Useful local checks for documentation and contract tests (when present in the
|
|
51
|
+
checkout):
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
node --test test/diagram-sync.test.mjs
|
|
55
|
+
node --test test/public-boundary.test.mjs
|
|
56
|
+
node --test test/skills-conformance.test.mjs
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Keep skills lean. Prefer references and assets only when progressive disclosure
|
|
60
|
+
needs them. Do not add dependencies or change the lockfile without explicit
|
|
61
|
+
maintainer approval. Do not add `mcp.json`, postinstall scripts, or global hook
|
|
62
|
+
installers.
|
|
63
|
+
|
|
64
|
+
When you change a Mermaid diagram under the plan assets or skill references,
|
|
65
|
+
keep the paired PNG synchronized and preserve equivalent authoritative text
|
|
66
|
+
(for task state, `skills/bearing-lite/references/task-state.md`).
|
|
67
|
+
|
|
68
|
+
## What gets reviewed hardest
|
|
69
|
+
|
|
70
|
+
Anything touching authority boundaries, independent assurance, public data
|
|
71
|
+
spill, provider neutrality, hook fail-open versus integrity fail-closed
|
|
72
|
+
behavior, or skill activation contracts. Those are the product rather than
|
|
73
|
+
details of it, so expect questions and expect evidence that the change stays
|
|
74
|
+
inside the approved Lite surface.
|
package/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
# Bearing Lite
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@alphazede/bearing-lite)
|
|
4
|
+
[](LICENSE-APACHE)
|
|
5
|
+
|
|
6
|
+
**Bearing Lite** (`@alphazede/bearing-lite`) is a skills-first Agent Plugin for
|
|
7
|
+
planning, routing, bounded execution, and independent review of repository work.
|
|
8
|
+
It ships portable skills, references, templates, and optional client hooks. It
|
|
9
|
+
does **not** ship a CLI, MCP server, browser control room, local scheduler, or
|
|
10
|
+
hidden runtime database.
|
|
11
|
+
|
|
12
|
+
An agent cannot certify its own work. The router selects the smallest valid
|
|
13
|
+
route; independent assurance roles run only when declared, owner-selected, or
|
|
14
|
+
required by a mandatory integrated phase gate. Owner Authority remains human-only.
|
|
15
|
+
|
|
16
|
+
Bearing Lite was created by William Rumph at AlphaZede.
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
|
|
20
|
+
Install as an Agent Plugin in a compatible client (for example Codex or Claude
|
|
21
|
+
Code marketplaces that discover Agent Plugins `plugin.json` and `skills/`).
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
# Example: npm package for packaging and inspection
|
|
25
|
+
npm pack @alphazede/bearing-lite
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Client install names follow the host plugin UI. The portable identity is always
|
|
29
|
+
`bearing-lite` / `@alphazede/bearing-lite`. No postinstall script, global hook
|
|
30
|
+
copy, or host-config mutation is required.
|
|
31
|
+
|
|
32
|
+
Node.js is not required to *use* the skills. Optional typed hook adapters under
|
|
33
|
+
`hooks/` run only when a client registers them; hookless clients remain
|
|
34
|
+
first-class and use procedural skill checks.
|
|
35
|
+
|
|
36
|
+
## What it does
|
|
37
|
+
|
|
38
|
+
1. **Locate** the project plan and next ready task.
|
|
39
|
+
2. **Fill only missing planning stages:** Repository Fit → Set Bearings → Gather
|
|
40
|
+
Supplies → Map the Route.
|
|
41
|
+
3. **Choose the smallest role route** that preserves dependencies and
|
|
42
|
+
`required_assurance`.
|
|
43
|
+
4. **Record task state** only in the project's human-readable plan (Markdown).
|
|
44
|
+
5. **Return structured handoffs**; parent coordinators write plan transitions.
|
|
45
|
+
|
|
46
|
+
Bearing Lite never selects models, providers, credentials, or launchers. The
|
|
47
|
+
owner or client maps available agents to role capability needs.
|
|
48
|
+
|
|
49
|
+
## Routes and scaling
|
|
50
|
+
|
|
51
|
+
| Route | When | Cost |
|
|
52
|
+
|---|---|---|
|
|
53
|
+
| **Direct** | One bounded implementer packet | Lowest coordination |
|
|
54
|
+
| **Explorer (wave)** | One wave, one or more Crewmates | One lane controller |
|
|
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 |
|
|
57
|
+
|
|
58
|
+
**Explorer** keeps one controller over a compact or sequential set of slices.
|
|
59
|
+
**Expedition** adds navigation (and sometimes a Trail Boss) so independent lanes
|
|
60
|
+
stay small and sharp instead of degrading in one long context. Either shape can
|
|
61
|
+
use substantial tokens; the product does not impose a default budget ceiling.
|
|
62
|
+
|
|
63
|
+
### Role routing (explanatory)
|
|
64
|
+
|
|
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/`).
|
|
69
|
+
|
|
70
|
+
**Authoritative text (vision optional):** Owner Authority remains human-only. The
|
|
71
|
+
Bearing Lite Router is entry, not a work role. It invokes only missing planning
|
|
72
|
+
stages, then picks the least costly route: Direct Crewmate; Explorer for one
|
|
73
|
+
wave; Navigator for an expedition (Trail Boss only when waves conflict or run
|
|
74
|
+
concurrently); Delegate Authority only for explicit long multi-phase owner
|
|
75
|
+
delegation. Nested Sub-explorer opens only when a lane must split. After
|
|
76
|
+
Crewmate work, `required_assurance: none` means author self-check plus
|
|
77
|
+
coordinator confirmation; Validator, Park Ranger, and Surveyor appear only when
|
|
78
|
+
listed, owner-selected at slice level, or required by a mandatory phase gate.
|
|
79
|
+
Diagrams explain orientation; they never authorize a transition.
|
|
80
|
+
|
|
81
|
+
## Roles and authority
|
|
82
|
+
|
|
83
|
+
| Role | What it is | Executes | Notes |
|
|
84
|
+
|---|---|---|---|
|
|
85
|
+
| **Router** | Plugin entry procedure | no | Not a work role |
|
|
86
|
+
| **Navigator** | Expedition orchestrator | yes | Owns cross-wave sequencing |
|
|
87
|
+
| **Trail Boss** | Multi-wave controller | yes | Only concurrent or conflicting waves |
|
|
88
|
+
| **Explorer** | One-wave lane controller | yes | Dispatches Crewmates |
|
|
89
|
+
| **Sub-explorer** | Nested lane controller | yes | Only when a lane must split |
|
|
90
|
+
| **Crewmate** | Bounded implementer | yes | Writes only inside declared authority |
|
|
91
|
+
| **Validator** | Evidence sufficiency | yes | Independent of the author |
|
|
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 |
|
|
95
|
+
| **Owner Authority** | Human decision | n/a | Never an agent role |
|
|
96
|
+
|
|
97
|
+
**Independent review:** a candidate author never provides their own Validator,
|
|
98
|
+
Park Ranger, or Surveyor verdict.
|
|
99
|
+
|
|
100
|
+
Failure escalates to the nearest role whose scope can see it:
|
|
101
|
+
|
|
102
|
+
| Failure scope | Escalates to |
|
|
103
|
+
|---|---|
|
|
104
|
+
| Within one slice or packet | Explorer or nearest parent |
|
|
105
|
+
| Across slices in a wave | Trail Boss when present, else Navigator |
|
|
106
|
+
| Across phases | Navigator or Delegate Authority |
|
|
107
|
+
| Contract, security, or authority change | Owner Authority |
|
|
108
|
+
|
|
109
|
+
## Task state (explanatory)
|
|
110
|
+
|
|
111
|
+

|
|
112
|
+
|
|
113
|
+
Reviewable Mermaid source: [`skills/bearing-lite/references/task-state.mmd`](skills/bearing-lite/references/task-state.mmd).
|
|
114
|
+
Authoritative transition rules: [`skills/bearing-lite/references/task-state.md`](skills/bearing-lite/references/task-state.md).
|
|
115
|
+
|
|
116
|
+
**Authoritative summary:** The project's plan is the only task-state record.
|
|
117
|
+
Normal progress is `PROPOSED` → `READY` → `IN_PROGRESS` → `EVIDENCE_READY`, then
|
|
118
|
+
optional `VALIDATING` / `REVIEWING` when required, then `ACCEPTANCE` →
|
|
119
|
+
`COMPLETE`. `WAITING_ON` holds for missing prerequisites or assurance dispatch.
|
|
120
|
+
`CORRECTION_REQUIRED` allows two in-authority repairs; a third failed correction
|
|
121
|
+
escalates to `OWNER_DECISION_REQUIRED`. Diagrams never create state or authorize
|
|
122
|
+
transitions.
|
|
123
|
+
|
|
124
|
+
## Implementation process (explanatory)
|
|
125
|
+
|
|
126
|
+
Owner-approved multi-phase work follows four phases: Inventory, Foundation,
|
|
127
|
+
Proof and Documentation, and Final Audit. Default slice completion is author
|
|
128
|
+
self-check plus coordinator confirmation when `required_assurance` is `none`.
|
|
129
|
+
Fresh Validator then separate Park Ranger is mandatory only on exact integrated
|
|
130
|
+
phase candidates, not on every packet.
|
|
131
|
+
|
|
132
|
+

|
|
133
|
+
|
|
134
|
+
Mermaid source:
|
|
135
|
+
[`docs/plans/2026-08-09-bearing-skills-first-architecture/assets/implementation-process.mmd`](docs/plans/2026-08-09-bearing-skills-first-architecture/assets/implementation-process.mmd).
|
|
136
|
+
|
|
137
|
+
<details>
|
|
138
|
+
<summary>Diagram source (implementation process)</summary>
|
|
139
|
+
|
|
140
|
+
```mermaid
|
|
141
|
+
flowchart TD
|
|
142
|
+
P1[Phase 1 Inventory S1-S4 complete] --> P2[Phase 2 Foundation S4A-S7]
|
|
143
|
+
P2 --> SLICE[Crewmate then author self-check]
|
|
144
|
+
SLICE --> CC[Coordinator scope and dependency confirmation]
|
|
145
|
+
CC --> OPT{Owner slice assurance?}
|
|
146
|
+
OPT -->|Yes| V[Fresh Validator then optional Park Ranger]
|
|
147
|
+
OPT -->|No| MORE{More Foundation slices?}
|
|
148
|
+
V -->|Fail or repair| R[Bounded Correction Attempt]
|
|
149
|
+
V -->|Pass| MORE
|
|
150
|
+
R -->|Attempt 1 or 2| SLICE
|
|
151
|
+
R -->|3rd Failure| O[OWNER_DECISION_REQUIRED]
|
|
152
|
+
MORE -->|Yes| SLICE
|
|
153
|
+
MORE -->|No: integrated Foundation| FG[Fresh Validator then separate Park Ranger]
|
|
154
|
+
FG --> P3[Phase 3 Proof and Documentation S8-S10]
|
|
155
|
+
P3 --> SLICE3[Crewmate then author self-check]
|
|
156
|
+
SLICE3 --> CC3[Coordinator confirmation]
|
|
157
|
+
CC3 --> OPT3{Owner slice assurance?}
|
|
158
|
+
OPT3 -->|Yes| V3[Fresh Validator then optional Park Ranger]
|
|
159
|
+
OPT3 -->|No| MORE3{More Proof and Documentation slices?}
|
|
160
|
+
V3 -->|Fail or repair| R
|
|
161
|
+
V3 -->|Pass| MORE3
|
|
162
|
+
MORE3 -->|Yes| SLICE3
|
|
163
|
+
MORE3 -->|No: integrated Proof and Documentation| PG[Fresh Validator then separate Park Ranger]
|
|
164
|
+
PG --> P4[Phase 4 Final Audit S11-S12]
|
|
165
|
+
P4 --> S11[S11 Skill and State Alignment Audit]
|
|
166
|
+
S11 --> S12[S12 Integrated Acceptance]
|
|
167
|
+
S12 --> S[Fresh Surveyor Final Acceptance]
|
|
168
|
+
S -->|Pass| CMP[COMPLETE]
|
|
169
|
+
O -->|Owner Decision| MORE
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
</details>
|
|
173
|
+
|
|
174
|
+
## Package layout
|
|
175
|
+
|
|
176
|
+
| Path | Purpose |
|
|
177
|
+
|---|---|
|
|
178
|
+
| `plugin.json` | Agent Plugins v1.0.0 manifest |
|
|
179
|
+
| `skills/` | Router, planning stages, and role skills |
|
|
180
|
+
| `hooks/` | Optional client-specific sequencing adapters |
|
|
181
|
+
| `README.md` and governance docs | Public product and conduct surfaces |
|
|
182
|
+
|
|
183
|
+
There is no `mcp.json`, `bin` entrypoint, postinstall, or runtime dependency on
|
|
184
|
+
another product's state.
|
|
185
|
+
|
|
186
|
+
## Provider neutrality
|
|
187
|
+
|
|
188
|
+
Skills declare **capabilities** (reasoning depth, repository access, mutation
|
|
189
|
+
tools, independence, optional vision). They never pin a model, provider API key,
|
|
190
|
+
default route, or launcher. Owners and clients choose how to satisfy each role.
|
|
191
|
+
|
|
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
|
+
## Contributing
|
|
201
|
+
|
|
202
|
+
Issues and carefully scoped pull requests help. See
|
|
203
|
+
[CONTRIBUTING.md](CONTRIBUTING.md). Everyone is covered by the
|
|
204
|
+
[Code of Conduct](CODE_OF_CONDUCT.md).
|
|
205
|
+
|
|
206
|
+
## Security
|
|
207
|
+
|
|
208
|
+
Report suspected vulnerabilities privately—not in a public issue. See
|
|
209
|
+
[SECURITY.md](SECURITY.md).
|
|
210
|
+
|
|
211
|
+
## License
|
|
212
|
+
|
|
213
|
+
Licensed under the [Apache License 2.0](LICENSE-APACHE).
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported versions
|
|
4
|
+
|
|
5
|
+
Bearing Lite is currently a pre-1.0 project. Security fixes are provided for the
|
|
6
|
+
current `main` branch and the latest published `0.1.x` release of
|
|
7
|
+
`@alphazede/bearing-lite`, when one is available. Older commits, development
|
|
8
|
+
snapshots, and superseded releases are not supported unless a published advisory
|
|
9
|
+
says otherwise.
|
|
10
|
+
|
|
11
|
+
| Version | Supported |
|
|
12
|
+
|---|---|
|
|
13
|
+
| Current `main` | Yes |
|
|
14
|
+
| Latest published `0.1.x` | Yes |
|
|
15
|
+
| Older or superseded versions | No |
|
|
16
|
+
|
|
17
|
+
## Report a vulnerability privately
|
|
18
|
+
|
|
19
|
+
Use GitHub's [private vulnerability reporting
|
|
20
|
+
form](https://github.com/alphazede/bearing-lite/security/advisories/new). Private
|
|
21
|
+
vulnerability reporting is enabled for this repository when the host supports it.
|
|
22
|
+
|
|
23
|
+
Do not open a public issue, discussion, pull request, or social-media post for
|
|
24
|
+
a suspected vulnerability. Use [public
|
|
25
|
+
issues](https://github.com/alphazede/bearing-lite/issues) only for ordinary,
|
|
26
|
+
non-security bugs.
|
|
27
|
+
|
|
28
|
+
Include enough information to reproduce and assess the problem:
|
|
29
|
+
|
|
30
|
+
- The affected Bearing Lite version or commit.
|
|
31
|
+
- Operating system, installation method, and agent client.
|
|
32
|
+
- A minimal reproduction, proof of concept, and observed impact.
|
|
33
|
+
- Whether owner authority, repository boundaries, skill routing, or hook
|
|
34
|
+
integrity behavior was bypassed or misreported.
|
|
35
|
+
- Suggested mitigations, if known.
|
|
36
|
+
|
|
37
|
+
Use synthetic data whenever possible. Do not send credentials, customer data,
|
|
38
|
+
private repository contents, raw agent-session history, or unredacted evidence.
|
|
39
|
+
If a secret may have been exposed, revoke or rotate it before reporting and
|
|
40
|
+
include only a redacted identifier.
|
|
41
|
+
|
|
42
|
+
## Security boundaries
|
|
43
|
+
|
|
44
|
+
Reports are especially useful when they involve:
|
|
45
|
+
|
|
46
|
+
- Skill or hook behavior that expands authority, skips required assurance, or
|
|
47
|
+
claims executable enforcement the client cannot provide.
|
|
48
|
+
- Path traversal, unsafe file mutation guidance, or repository-boundary mistakes
|
|
49
|
+
in packaged skills or hooks.
|
|
50
|
+
- Sensitive data leaking through logs, packaged files, diagnostics, or npm
|
|
51
|
+
package contents.
|
|
52
|
+
- Release, dependency, build, or package-publishing integrity.
|
|
53
|
+
- Model, provider, or credential handling introduced into public product
|
|
54
|
+
surfaces (Bearing Lite must remain provider-neutral and must not ship
|
|
55
|
+
credentials or secret lookup paths).
|
|
56
|
+
|
|
57
|
+
A weakness in a third-party agent client, model provider, runtime, or dependency
|
|
58
|
+
should normally be reported to that project. Report it to Bearing Lite as well
|
|
59
|
+
when this package exposes, amplifies, or incorrectly handles the weakness.
|
|
60
|
+
|
|
61
|
+
## Response and disclosure
|
|
62
|
+
|
|
63
|
+
GitHub immediately records the private report. AlphaZede aims to:
|
|
64
|
+
|
|
65
|
+
- Acknowledge the report within three business days.
|
|
66
|
+
- Provide an initial triage result within seven calendar days.
|
|
67
|
+
- Send an update at least every fourteen calendar days while remediation is
|
|
68
|
+
active.
|
|
69
|
+
- Coordinate a fix, release, and public advisory before public disclosure when
|
|
70
|
+
the report is confirmed.
|
|
71
|
+
|
|
72
|
+
These are response targets, not a support SLA. Timing may change with severity,
|
|
73
|
+
reproduction quality, upstream dependencies, and release risk. Reporters who
|
|
74
|
+
want public credit should request it in the private advisory. Duplicate,
|
|
75
|
+
non-security, or unsupported reports will be closed with an explanation.
|
|
76
|
+
|
|
77
|
+
## Good-faith research
|
|
78
|
+
|
|
79
|
+
Research must avoid privacy violations, service disruption, persistence,
|
|
80
|
+
social engineering, and access to data or repositories you do not own or have
|
|
81
|
+
permission to test. Use the minimum access necessary, stop when sensitive data
|
|
82
|
+
is encountered, and report promptly through the private channel.
|
|
83
|
+
|
|
84
|
+
AlphaZede will not initiate legal action for accidental, good-faith violations
|
|
85
|
+
of this policy when the researcher promptly stops, reports the issue, avoids
|
|
86
|
+
harm, and gives reasonable time for remediation. This policy cannot authorize
|
|
87
|
+
testing of third-party systems or excuse violations of applicable law.
|
|
88
|
+
|
|
89
|
+
Bearing Lite does not currently offer a bug bounty or promise compensation.
|