@rizom/ops 0.2.0-alpha.317 → 0.2.0-alpha.319
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 +17 -3
- package/dist/brains-ops.js +261 -261
- package/dist/capability-bundle-migration.d.ts +22 -0
- package/dist/deploy.js +70 -70
- package/dist/index.d.ts +1 -1
- package/dist/index.js +326 -331
- package/dist/load-registry.d.ts +1 -0
- package/dist/schema.d.ts +7 -0
- package/dist/stage-legacy-crossover.d.ts +3 -0
- package/package.json +1 -1
- package/templates/rover-pilot/docs/canonical-crossover-record.md +3 -0
- package/templates/rover-pilot/pilot.yaml +4 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Operator CLI package for managing pilot brain fleet registry repos.
|
|
|
5
5
|
## Commands
|
|
6
6
|
|
|
7
7
|
- `brains-ops init <repo>`
|
|
8
|
-
- `brains-ops crossover:stage <source-repo> <output-dir> [site-pins.yaml]` — creates a separate secret-free
|
|
8
|
+
- `brains-ops crossover:stage <source-repo> <output-dir> <bundle-review.yaml> [site-pins.yaml]` — creates a separate secret-free capability-bundle review copy without mutating the source; the bundle review must match every explicit source selection, and a reviewed pins file is required when hosted site overrides exist
|
|
9
9
|
- `brains-ops render <repo>` — regenerates `views/users.md` and fills status columns from built-in live probes (`DNS`, `/health/ready`, unauthenticated `/mcp`)
|
|
10
10
|
- `brains-ops user:add <repo> <handle> --cohort <cohort>` — scaffolds a user file, per-user secrets template, and cohort membership
|
|
11
11
|
- `brains-ops onboard <repo> <handle>` — creates/seeds the user's content repo using `CONTENT_REPO_ADMIN_TOKEN` for GitHub repo administration and `GIT_SYNC_TOKEN` for git clone/push
|
|
@@ -51,9 +51,23 @@ The scaffolded manual `Health Watchdog Smoke` workflow uses the same pilot desir
|
|
|
51
51
|
|
|
52
52
|
`brains-ops` lives in the `brains` monorepo and is consumed as a separate package.
|
|
53
53
|
|
|
54
|
-
The active loader accepts one
|
|
54
|
+
The active loader accepts one schema requiring `bundleContract: capability-bundles-v1` and the nine capability/policy bundle IDs. Offline parsing of prior desired state is isolated to `crossover:stage` and is never used by render, verify, or reconciliation paths.
|
|
55
55
|
|
|
56
|
-
Crossover staging excludes source `.git`, `.operator`, `.brains-ops`, `.turbo`, `dist`, `node_modules`, plaintext `.env`/`.env.local`, and `*.secrets.yaml` artifacts. It generates fresh per-user `.env` selector files in the review copy without copying source secret values.
|
|
56
|
+
Crossover staging excludes source `.git`, `.operator`, `.brains-ops`, `.turbo`, `dist`, `node_modules`, plaintext `.env`/`.env.local`, and `*.secrets.yaml` artifacts. It generates fresh per-user `.env` selector files in the review copy without copying source secret values. A review manifest must name both sides of the pilot selection and every explicit cohort selection; source drift fails staging:
|
|
57
|
+
|
|
58
|
+
```yaml
|
|
59
|
+
bundleContract: capability-bundles-v1
|
|
60
|
+
pilot:
|
|
61
|
+
sourceBundles: [core]
|
|
62
|
+
targetBundles: [core, media, web, chat]
|
|
63
|
+
cohorts:
|
|
64
|
+
sites:
|
|
65
|
+
sourceBundles: [core, site, publishing]
|
|
66
|
+
targetBundles:
|
|
67
|
+
[core, media, automation, web, chat, site, publishing, federation]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Hosted sites must also be enumerated in a separate reviewed file; staging rejects missing, extra, or identity-mismatched pins instead of inferring versions:
|
|
57
71
|
|
|
58
72
|
```yaml
|
|
59
73
|
sites:
|