4009d68a7aea41075b38bb0309d4039b68bc210f
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Failing after 14s
Universal: PR Check / Secret Scan (pull_request) Successful in 15s
Generic: Project CI / Lint & Validate (pull_request) Successful in 57s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Successful in 2m4s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 35s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 28m16s
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
The repo was renamed mokoplatform -> mokocli; this rewrites every stale
reference across the tree (case-sensitive):
MokoPlatform -> MokoCLI (DEFGROUP/INGROUP doc tags)
mokoplatform -> mokocli (repo URLs, /opt & /tmp paths, clone URLs,
EXCLUDE lists, XML xmlns + <root> namespace)
moko-platform -> moko-cli (marker files)
XML namespace URIs and ManifestParser::NAMESPACE_URI are changed in
lockstep so local manifest-vs-parser validation stays consistent. The
external standards.mokoconsulting.tech namespace endpoint must be updated
to match separately (tracked in #336).
Refs #336
Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
mokocli Enterprise API
PHP implementation of mokocli — enterprise standards, automation framework, workflow templates, and bulk sync tooling.
Primary platform: Gitea — 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, Gitea 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 Gitea 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 |
Gitea API / Gitea Actions token |
GH_TOKEN |
GitHub API token (for mirror sync) |
GITEA_URL |
Gitea instance URL (default: https://git.mokoconsulting.tech) |
GITEA_ORG |
Gitea 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
36 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%