superbee 0.3.0-pre.6 → 0.4.0-pre.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superbee",
3
- "version": "0.3.0-pre.6",
3
+ "version": "0.4.0-pre.1",
4
4
  "type": "module",
5
5
  "description": "Agent-facing Superbee CLI for reading and writing local OKF knowledge bundles: context notes, docs, cross-links, and live bundle Views.",
6
6
  "keywords": [
@@ -210,18 +210,33 @@ Superbee app, by the person.
210
210
  ## Refusals that belong to the person
211
211
 
212
212
  Some commands are refused in a hosted checkout with "do this in the Superbee app". Examples:
213
- artifacts and `doc verify`. Tell the person what to do in the app. Editing Kinds or recipes is
214
- refused too, and the app cannot do it either: a hosted bundle's Kinds cannot be changed from a
215
- checkout. Kinds are designed in a local or Git bundle before it is published. Do not work around a
216
- refusal by editing files, using another command, or copying the bundle somewhere else. Taking a
217
- bundle out of hosted is `superbee export` (below), and only when the person asks for it.
213
+ artifacts and `doc verify`. Tell the person what to do in the app. Editing Kinds (`kind`) or
214
+ applying recipes (`recipe add`, `recipe evolve`) depends on what the host says at checkout and at
215
+ each `sync`:
216
+
217
+ - Where the host allows this person to change the bundle's model, those commands run, and `sync`
218
+ sends the changed files under `conventions/` like any document. The host checks every change
219
+ against the bundle's documents: a Kind change the documents do not fit comes back `refused`
220
+ (`definition_incompatible`) with findings that name the rule, the field and the documents, and
221
+ the file stays. Fix those documents; the sync that sends them sends the Kind change again. A
222
+ recipe that installs anything besides Kind conventions (Views, References) is refused.
223
+ - Where the host says the person may not, the refusal says so: ask whoever manages access to the
224
+ bundle. Do not suggest a workspace admin role; the permission is managed per person.
225
+ - Where the host says nothing, a hosted bundle's Kinds cannot be changed from a checkout, and the
226
+ app cannot do it either: Kinds are designed in a local or Git bundle before it is published.
227
+
228
+ Do not work around a refusal by editing files, using another command, or copying the bundle
229
+ somewhere else. Taking a bundle out of hosted is `superbee export` (below), and only when the
230
+ person asks for it.
218
231
 
219
232
  `checkout` adds the folder to the workspace catalog, where `catalog list` shows it with
220
233
  `home: hosted`. The local MCP app (`superbee mcp`) serves it through the folder, by that label or
221
234
  with the session opened in it: a document written through a View lands in the folder and reaches
222
235
  the host at the next `superbee sync`. A write sync could not send (a View save, a convention, a
223
236
  retype, a document over the size limit, a change to `verified`) is refused before the file
224
- changes; View saves, conventions and verification are for the person to do in the Superbee app. With a checkout of a bundle on this
237
+ changes; View saves, conventions and verification are for the person to do in the Superbee app.
238
+ The local MCP app never writes conventions, even where the person may change the model: that
239
+ goes through the `kind` and `recipe` commands. With a checkout of a bundle on this
225
240
  machine, work through the folder, not also through the hosted connector's tools for that bundle.
226
241
 
227
242
  `sync_busy` means another command is working, or is just taking or releasing the lock: wait,