@rizom/ops 0.2.0-alpha.276 → 0.2.0-alpha.277
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 +2 -1
- package/dist/brains-ops.js +139 -138
- package/dist/directory-sync-stress-system.d.ts +21 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +231 -230
- package/dist/run-command.d.ts +2 -1
- package/package.json +1 -1
- package/templates/rover-pilot/.github/workflows/directory-sync-stress.yml +17 -1
- package/templates/rover-pilot/docs/operator-playbook.md +2 -0
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ Operator CLI package for managing pilot brain fleet registry repos.
|
|
|
16
16
|
- `brains-ops secrets:encrypt <repo> <handle>`
|
|
17
17
|
- `brains-ops verify-user <repo> <handle>` — checks `/health/operate`, unauthenticated `/mcp`, and site-enabled browser/CMS routes
|
|
18
18
|
- `brains-ops stress:directory-sync <repo> <handle> --profile <regression|load|stress> --confirm stress:<handle>` — runs a smoke-only, reversible directory-sync workload and writes structured evidence
|
|
19
|
+
- `brains-ops stress:directory-sync:verify-access <repo> <handle> --confirm stress:<handle>` — clones the smoke content repository and verifies push authorization with `git push --dry-run`, without creating a ref or starting a workload
|
|
19
20
|
- `brains-ops stress:directory-sync:cleanup <repo> <handle> --confirm stress:<handle>` — idempotently removes residual stress probes
|
|
20
21
|
- `brains-ops reconcile-cohort <repo> <cohort>`
|
|
21
22
|
- `brains-ops reconcile-all <repo>`
|
|
@@ -36,7 +37,7 @@ topicExtractionEnabled: false
|
|
|
36
37
|
- `load`: ramp through 50, 150, and 350 files, update 350, rename 100, update again, then delete all probes;
|
|
37
38
|
- `stress`: continue the same deterministic ramp to 700 files and 200 renames.
|
|
38
39
|
|
|
39
|
-
Each run creates a rollback branch, gates on health failures during the monitored workload window, preserves warmup and cleanup health samples as evidence without poisoning that gate, samples container CPU/memory/PIDs, detects watchdog restarts even when Docker's restart counter remains zero, rejects external AI usage, waits for Git and entity persistence, and always attempts cleanup. JSON, Markdown, runtime logs, and samples are written under `.brains-ops/stress/` unless `--artifacts-dir` is supplied. The scaffolded `Directory Sync Stress` workflow
|
|
40
|
+
Each run creates a rollback branch, gates on health failures during the monitored workload window, preserves warmup and cleanup health samples as evidence without poisoning that gate, samples container CPU/memory/PIDs, detects watchdog restarts even when Docker's restart counter remains zero, rejects external AI usage, waits for Git and entity persistence, and always attempts cleanup. JSON, Markdown, runtime logs, and samples are written under `.brains-ops/stress/` unless `--artifacts-dir` is supplied. The scaffolded `Directory Sync Stress` workflow runs a weekly regression and supports manual profiles. Its manual `verify_only` mode exercises the Bitwarden/Varlock content credential path through clone and a dry-run push, skips the workload, and does not schedule cleanup. Workload runs retain a separate `always()` cleanup job. Successful idempotent cleanup also prunes retained stress backup branches; branches remain available when probes remain for recovery. The workflow never deploys or targets a non-smoke user.
|
|
40
41
|
|
|
41
42
|
## Scope
|
|
42
43
|
|