5fc9040493bfa1ad18a1ae18fcf86a387b7a3542
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Failing after 6s
Generic: Project CI / Lint & Validate (pull_request) Has been cancelled
Generic: Project CI / Tests (pull_request) Has been cancelled
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Universal: PR Check / Require Docs Update (pull_request) Has been cancelled
Universal: PR Check / Wiki Update Reminder (pull_request) Has been cancelled
Universal: PR Check / Secret Scan (pull_request) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Generic: Repo Health / Site Health (pull_request) Has been cancelled
Generic: Standards Compliance / Secret Scanning (pull_request) Has been cancelled
Generic: Standards Compliance / License Header Validation (pull_request) Has been cancelled
Generic: Standards Compliance / Repository Structure Validation (pull_request) Has been cancelled
Generic: Standards Compliance / Coding Standards Check (pull_request) Has been cancelled
Generic: Standards Compliance / Version Consistency Check (pull_request) Has been cancelled
Generic: Standards Compliance / Workflow Configuration Check (pull_request) Has been cancelled
Generic: Standards Compliance / Documentation Quality Check (pull_request) Has been cancelled
Generic: Standards Compliance / README Completeness Check (pull_request) Has been cancelled
Generic: Standards Compliance / Git Repository Hygiene (pull_request) Has been cancelled
Generic: Standards Compliance / Script Integrity Validation (pull_request) Has been cancelled
Generic: Standards Compliance / Line Length Check (pull_request) Has been cancelled
Generic: Standards Compliance / File Naming Standards (pull_request) Has been cancelled
Generic: Standards Compliance / Insecure Code Pattern Detection (pull_request) Has been cancelled
Generic: Standards Compliance / Code Complexity Analysis (pull_request) Has been cancelled
Generic: Standards Compliance / Code Duplication Detection (pull_request) Has been cancelled
Generic: Standards Compliance / Dead Code Detection (pull_request) Has been cancelled
Generic: Standards Compliance / File Size Limits (pull_request) Has been cancelled
Generic: Standards Compliance / Binary File Detection (pull_request) Has been cancelled
Generic: Standards Compliance / TODO/FIXME Tracking (pull_request) Has been cancelled
Generic: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Has been cancelled
Generic: Standards Compliance / Unused Dependencies Check (pull_request) Has been cancelled
Generic: Standards Compliance / Broken Link Detection (pull_request) Has been cancelled
Generic: Standards Compliance / API Documentation Coverage (pull_request) Has been cancelled
Generic: Standards Compliance / Accessibility Check (pull_request) Has been cancelled
Generic: Standards Compliance / Performance Metrics (pull_request) Has been cancelled
Generic: Standards Compliance / Enterprise Readiness Check (pull_request) Has been cancelled
Generic: Standards Compliance / Repository Health Check (pull_request) Has been cancelled
Generic: Standards Compliance / Terraform Configuration Validation (pull_request) Has been cancelled
Branch Cleanup / Delete merged branch (pull_request) Has been cancelled
RC Revert / Rename rc/ back to dev/ (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
Generic: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
sync-on-merge.yml and workflow-sync-trigger.yml are template-only (gated if: Template-*), dead no-ops in this child repo, inherited at scaffold time. sync-on-merge.yml is also broken. The real sync lives in the templates' workflows/custom/.
mokocli Enterprise API
PHP implementation of mokocli — enterprise standards, automation framework, workflow templates, and bulk sync tooling.
Primary platform: MokoGitea — git.mokoconsulting.tech Backup mirror: GitHub (read-only mirror)
What Lives Here
| Directory | Purpose |
|---|---|
lib/Enterprise/ |
38 PHP enterprise library classes (platform adapters, sync, validation, plugins) |
cli/ |
CLI scripts (archive, create, release, sync rulesets, version management) |
automation/ |
Bulk sync, push files, repo cleanup, MokoGitea migration |
validate/ |
18 validation scripts (health, structure, secrets, syntax, drift) |
templates/ |
Workflow templates and config templates synced to governed repos |
definitions/ |
Repository structure definitions (.tf format) |
deploy/ |
Deployment scripts (SFTP, Joomla) |
maintenance/ |
Labels, inventory, SHA pinning, version sync |
tools/ |
Standalone tools (legal doc generator) |
tests/ |
PHPUnit test suite |
Installation
composer require mokoconsulting-tech/enterprise
Composer Registry
This package is served from MokoGitea package registry. Add this to your composer.json:
{
"repositories": [
{
"type": "composer",
"url": "https://git.mokoconsulting.tech/api/packages/MokoConsulting/composer"
}
]
}
CLI Tools
# Health check
vendor/bin/moko health -- --path .
# Sync standards
vendor/bin/moko sync
# Inventory
vendor/bin/moko inventory -- --path .
Platform Configuration
| Variable | Purpose |
|---|---|
GIT_PLATFORM |
gitea (default) or github |
GA_TOKEN |
MokoGitea API / MokoGitea Actions token |
GH_TOKEN |
GitHub API token (for mirror sync) |
GITEA_URL |
MokoGitea instance URL (default: https://git.mokoconsulting.tech) |
GITEA_ORG |
MokoGitea organization (default: MokoConsulting) |
License
GPL-3.0-or-later — See LICENSE.md
Description
Enterprise CLI automation, validation, and governance engine for all Moko Consulting repositories — 45+ tools, shared CI workflows, 7 MCP servers
26 MiB
Releases
8
MokoCLI (VERSION: 09.43.00)
Latest
Languages
PHP
63%
JavaScript
16.8%
TypeScript
8.5%
Markdown
4.7%
Shell
4%
Other
3%