@rizom/ops 0.2.0-alpha.395 → 0.2.0-alpha.397
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 +14 -0
- package/dist/brains-ops.js +166 -167
- package/dist/deploy.js +3 -3
- package/dist/index.js +169 -170
- package/dist/load-registry.d.ts +2 -1
- package/dist/schema.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,6 +35,20 @@ Explicit builds also load the fleet registry and include its complete package un
|
|
|
35
35
|
|
|
36
36
|
`render` owns the observational `views/users.md` projection. Onboard and reconcile commands own generated per-user config and never rewrite live observed status in that view.
|
|
37
37
|
|
|
38
|
+
### Per-user plugin configuration
|
|
39
|
+
|
|
40
|
+
Use canonical plugin configuration in `users/<handle>.yaml`, not edits to generated `brain.yaml`:
|
|
41
|
+
|
|
42
|
+
```yaml
|
|
43
|
+
plugins:
|
|
44
|
+
dashboard:
|
|
45
|
+
ask: true
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The generator composes an object before serializing once. Explicit per-user fields override generated defaults; nested maps merge, arrays replace, and `false` is preserved. Null deletion markers remain in the generated document until the app resolves runtime defaults. Both stages use the same shared merger. The operator validates the configuration map shape; individual plugin schemas remain authoritative in the app.
|
|
49
|
+
|
|
50
|
+
The example enables only the dashboard Ask tab. It does not activate guest access, change allowances, or supply authored content. Users without `plugins` retain the same configuration values. New or changed configuration uses the standard YAML formatter. Reconciliation compares YAML values before writing an existing `brain.yaml`, so formatting-only differences are left untouched and cannot schedule unrelated deployments. Malformed or substantively changed configuration is regenerated.
|
|
51
|
+
|
|
38
52
|
## Directory-sync stress profiles
|
|
39
53
|
|
|
40
54
|
Directory-sync stress is deliberately smoke-only. The handle, domain, and content repository must each identify smoke, and the operator must pass the exact `stress:<handle>` confirmation. The runner refuses production-like targets. The smoke user must also declare the hermetic posture below; reconcile and deploy it before running the workload:
|