@rizom/ops 0.2.0-alpha.260 → 0.2.0-alpha.262

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": "@rizom/ops",
3
- "version": "0.2.0-alpha.260",
3
+ "version": "0.2.0-alpha.262",
4
4
  "description": "Operator CLI for managing private brain fleet registry repos",
5
5
  "keywords": [
6
6
  "brains",
@@ -235,7 +235,7 @@ jobs:
235
235
  WWW_DOMAIN: ${{ steps.user_config.outputs.www_domain }}
236
236
  PREVIEW_DOMAIN: ${{ steps.user_config.outputs.preview_domain }}
237
237
  run: |
238
- curl -I -k --max-time 20 --resolve "$BRAIN_DOMAIN:443:$SERVER_IP" "https://$BRAIN_DOMAIN/health"
238
+ curl -I -k --max-time 20 --resolve "$BRAIN_DOMAIN:443:$SERVER_IP" "https://$BRAIN_DOMAIN/health/live"
239
239
  if [ -n "$WWW_DOMAIN" ]; then
240
240
  curl -I -k --max-time 20 --resolve "$WWW_DOMAIN:443:$SERVER_IP" "https://$WWW_DOMAIN/"
241
241
  fi
@@ -37,7 +37,7 @@ When a push changes only deploy contract files, CI prints `No affected user conf
37
37
  ## Commands
38
38
 
39
39
  - `brains-ops init <repo>`
40
- - `brains-ops render <repo>` — regenerates `views/users.md` with live DNS, `/health`, and unauthenticated `/mcp` status checks
40
+ - `brains-ops render <repo>` — regenerates `views/users.md` with live DNS, `/health/ready`, and unauthenticated `/mcp` status checks
41
41
  - `brains-ops user:add <repo> <handle> --cohort <cohort>` — scaffolds a user file, per-user secrets template, and cohort membership
42
42
  - `brains-ops onboard <repo> <handle>` — creates/seeds the user's content repo with separate admin and sync tokens
43
43
  - `brains-ops age-key:bootstrap <repo>`
@@ -24,7 +24,7 @@
24
24
  11. Commit and push `users/<handle>.secrets.yaml.age`.
25
25
  12. Run `bunx brains-ops onboard <repo> <handle>`.
26
26
  13. Verify the deployed canonical contract:
27
- - `https://<handle>.rizom.ai/health` returns `200`
27
+ - `https://<handle>.rizom.ai/health/operate` returns `200`
28
28
  - `https://<handle>.rizom.ai/chat` loads the web chat and accepts passkey sign-in
29
29
  - unauthenticated `POST https://<handle>.rizom.ai/mcp` returns the expected auth failure
30
30
  - content repo exists and runtime sync is healthy
@@ -51,7 +51,7 @@ Before the window, record and review:
51
51
  - the exact unified `@rizom/brain` and `@rizom/ops` versions;
52
52
  - every unified image tag and immutable digest;
53
53
  - canary-first rollout order, followed by the remaining cohorts;
54
- - expected `/health` version, unauthenticated MCP response, site marker, and content repository identity for each posture.
54
+ - expected `/health/operate` version, unauthenticated MCP response, site marker, and content repository identity for each posture.
55
55
 
56
56
  Run `bunx brains-ops reconcile-all <canonical-review-copy> --dry-run` against the isolated review copy. The command blocks external content-repository access, leaves the review copy untouched, lists both passes' changed files, and must report second-pass zero drift. Reconciliation owns generated per-user config; only `render` owns the observational `views/users.md` projection.
57
57
 
@@ -65,7 +65,7 @@ During the approved window:
65
65
  6. Enable Deploy and deploy one handle at a time in the approved order. After each deploy, run `bunx brains-ops verify-user . <handle>`, render observed fleet status, and complete the manual identity, content-sync, and app-managed site checks.
66
66
  7. Run Reconcile a second time. Require no reconciler-owned generated diff and no deploy work before re-enabling normal automation and lifting the merge/release freeze. Observed status rendering remains separate from this convergence gate.
67
67
 
68
- If any gate fails, disable all three workflows again. Restore the prior pilot desired-state and dependency revision, reconcile with the prior ops version, and redeploy the prior image tag/digest as one rollback pair. Verify the prior `/health` version and identity/content/site checks before re-enabling automation. Never restore only config or only an image.
68
+ If any gate fails, disable all three workflows again. Restore the prior pilot desired-state and dependency revision, reconcile with the prior ops version, and redeploy the prior image tag/digest as one rollback pair. Verify the prior `/health/operate` version and identity/content/site checks before re-enabling automation. Never restore only config or only an image.
69
69
 
70
70
  ## Directory-sync stress gate
71
71
 
@@ -130,7 +130,7 @@ bunx brains-ops verify-user . <handle>
130
130
 
131
131
  For every bundle posture it checks:
132
132
 
133
- - `https://<handle>.rizom.ai/health` returns `200`;
133
+ - `https://<handle>.rizom.ai/health/operate` returns `200`;
134
134
  - unauthenticated `POST https://<handle>.rizom.ai/mcp` returns the expected auth failure;
135
135
  - background jobs are not repeatedly failing, except for missing optional integrations.
136
136