feat(cli): theme_vars_check governance — forbidden files, topics, protection, element naming #329

Merged
jmiller merged 1 commits from feat/theme-vars-governance into main 2026-06-29 17:03:48 +00:00
Owner

Adds the remaining governance checks to theme_vars_check.php:

  • Forbidden committed files.mcp.json/.mcp_*.json, sftp-config*.json, *.min.css/*.min.js, TODO.md, .claude/ (mirrors the repo "never commit" rules; build artifacts belong to CI, not git).
  • Required topics — repo must carry joomla, client-waas, mokoonyx (Gitea API).
  • Branch protectionmain must be protected (Gitea API).
  • Element namingtype="file" packages must use file_mokoonyx_*.

Tested: forbidden + element naming green/red locally; topics + protection run via the Gitea API in CI (token-backed). No workflow change.

Authored-by: Moko Consulting

Adds the remaining governance checks to `theme_vars_check.php`: - **Forbidden committed files** — `.mcp.json`/`.mcp_*.json`, `sftp-config*.json`, `*.min.css`/`*.min.js`, `TODO.md`, `.claude/` (mirrors the repo "never commit" rules; build artifacts belong to CI, not git). - **Required topics** — repo must carry `joomla`, `client-waas`, `mokoonyx` (Gitea API). - **Branch protection** — `main` must be protected (Gitea API). - **Element naming** — `type="file"` packages must use `file_mokoonyx_*`. Tested: forbidden + element naming green/red locally; topics + protection run via the Gitea API in CI (token-backed). No workflow change. Authored-by: Moko Consulting
jmiller added 1 commit 2026-06-29 17:03:33 +00:00
feat(cli): theme_vars_check governance — forbidden files, topics, protection, element naming
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 5s
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Successful in 55s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Failing after 1m23s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 3m42s
Generic: Project CI / Tests (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: mokocli CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: mokocli CI / CI Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
b32556fdef
- Forbidden committed files: .mcp.json/.mcp_*.json, sftp-config*.json,
  *.min.css/*.min.js, TODO.md, .claude/.
- Required repo topics (joomla, client-waas, mokoonyx) via Gitea API.
- main branch protection enforced via Gitea API.
- <element> naming convention (file_mokoonyx_*) for file packages.

Authored-by: Moko Consulting
jmiller merged commit c4bb08073b into main 2026-06-29 17:03:48 +00:00
jmiller deleted branch feat/theme-vars-governance 2026-06-29 17:03:48 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#329