@happyvertical/smrt-users 0.55.12 → 0.55.14

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/AGENTS.md CHANGED
@@ -55,8 +55,11 @@ are not prerequisites for unrelated user-package work.
55
55
  - Generated REST/MCP operations on identity/RBAC models are list/get only.
56
56
  Route authentication does not authorize authority mutations, and these models
57
57
  are not tenant-scoped. Use permission-gated services or explicitly checked
58
- consumer handlers. CLI remains a local-operator surface. Preserve the
59
- registry assertions in `security-audit-1400.test.ts`.
58
+ consumer handlers. Generated CLI is list/get or closed (`cli: false` for
59
+ credential/grant models) because agents shell out to it; a `cli` without
60
+ `include` is full CRUD (#3742). Their catalog slugs stay full via
61
+ `USERS_AUTHORITY_CATALOG_MODELS`. Preserve the registry assertions in
62
+ `security-audit-1400.test.ts` and `issue-3742-cli-surface-lockdown.test.ts`.
60
63
  - Resource guards take the resource tenant, not the session tenant. Omit a
61
64
  session membership when targeting a different tenant; mismatches fail closed.
62
65
  `loadSessionContext().tenantAuthorization` must be checked by required-tenant