@rizom/ops 0.2.0-alpha.243 → 0.2.0-alpha.244

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 CHANGED
@@ -5,6 +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 canonical review copy without mutating the source; a reviewed pins file is required when hosted site overrides exist
8
9
  - `brains-ops render <repo>` — regenerates `views/users.md` and fills status columns from built-in live probes (`DNS`, `/health`, unauthenticated `/mcp`)
9
10
  - `brains-ops user:add <repo> <handle> --cohort <cohort>` — scaffolds a user file, per-user secrets template, and cohort membership
10
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
@@ -13,14 +14,28 @@ Operator CLI package for managing pilot brain fleet registry repos.
13
14
  - `brains-ops cert:bootstrap <repo>`
14
15
  - `brains-ops secrets:push <repo>`
15
16
  - `brains-ops secrets:encrypt <repo> <handle>`
16
- - `brains-ops verify-user <repo> <handle>` — checks `/health`, unauthenticated `/mcp`, and default-preset browser/CMS routes
17
+ - `brains-ops verify-user <repo> <handle>` — checks `/health`, unauthenticated `/mcp`, and site-enabled browser/CMS routes
17
18
  - `brains-ops reconcile-cohort <repo> <cohort>`
18
19
  - `brains-ops reconcile-all <repo>`
20
+ - `brains-ops reconcile-all <repo> --dry-run` — reconciles an isolated copy twice with external content-repository access blocked, reports first-pass drift, and requires second-pass zero drift
19
21
 
20
22
  ## Scope
21
23
 
22
24
  `brains-ops` lives in the `brains` monorepo and is consumed as a separate package.
23
25
 
26
+ The active loader accepts one unversioned canonical schema. Legacy parsing is isolated to the temporary `crossover:stage` command and is never used by render, verify, or reconciliation paths.
27
+
28
+ 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. Hosted sites must be enumerated in a separate reviewed file; staging rejects missing, extra, or identity-mismatched pins instead of inferring versions:
29
+
30
+ ```yaml
31
+ sites:
32
+ example:
33
+ package: "@rizom/site-example"
34
+ version: 0.2.0-alpha.1
35
+ theme: "@rizom/theme-example"
36
+ themeVersion: 0.2.0-alpha.1
37
+ ```
38
+
24
39
  It operates on a separate private data repo, such as `rover-pilot/`, which stores:
25
40
 
26
41
  - `pilot.yaml`