name: awcms-mini-governance-overlay description: Use this skill when implementing or reviewing AWCMS Mini governance features on top of EmDash, including roles, permissions, ABAC, jobs, regions, security controls, admin extensions, and governance-aware plugins.
AWCMS Mini Governance Overlay
AWCMS Mini is EmDash-first. Governance features must be added as overlays, not as a second platform core.
Use This Skill For
- roles and permission work
- ABAC or route-guard changes
- jobs, logical regions, or administrative regions
- security-hardening flows such as 2FA, lockouts, password reset, and step-up
- admin extensions in
awcms-users-admin - governance-aware plugin contract work
Core Rules
- EmDash owns the host architecture, admin shell, and plugin model.
- Mini owns governance overlays only.
- Prefer explicit service-layer enforcement over UI-only logic.
- Prefer shared helpers over route-by-route duplication.
- Keep jobs, roles, and regions as separate concepts.
Required Reading Order
REQUIREMENTS.mddocs/architecture/constraints.mddocs/architecture/overview.mdREADME.mdDOCS_INDEX.md- Relevant domain docs under
docs/governance/,docs/security/,docs/plugins/, anddocs/admin/
Implementation Guidance
- For authorization work, inspect
src/services/authorization/first. - For security-policy work, inspect
src/security/policy.mjsandsrc/plugins/awcms-users-admin/together. - For plugin work, use the shared helpers under
src/plugins/instead of open-coding permission, auth, audit, or region logic. - For admin work, preserve the EmDash-hosted admin surface and keep changes inside the plugin-admin extension flow.
Validation Guidance
- Prefer targeted unit tests first.
- Run
pnpm typecheckfor UI or TypeScript-adjacent changes. - For rollout or security changes, review
docs/process/migration-deployment-checklist.mdanddocs/security/emergency-recovery-runbook.mdfor operator impact.
Current Accuracy Notes
- Do not describe staged mandatory 2FA rollout as fully enforced everywhere unless you have verified the current auth path.
- Do not describe ABAC audit-only rollout as a permanent policy state.
Related Documents
docs/governance/auth-and-authorization.mddocs/governance/roles.mddocs/governance/jobs.mddocs/governance/regions.mddocs/security/operations.mddocs/plugins/contract-overview.md