jmiller 244950fb2e
Universal: Auto Version Bump / Version Bump (push) Successful in 9s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 10s
Generic: Project CI / Tests (pull_request) Failing after 11s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Project CI / Lint & Validate (pull_request) Successful in 35s
Universal: PR Check / Wiki Update Reminder (pull_request) Successful in 1s
Universal: PR Check / Require Docs Update (pull_request) Failing after 5s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Secret Scan (pull_request) Successful in 7s
Generic: Standards Compliance / License Header Validation (pull_request) Successful in 4s
Generic: Standards Compliance / Secret Scanning (pull_request) Failing after 4s
Generic: Standards Compliance / Repository Structure Validation (pull_request) Failing after 4s
Generic: Standards Compliance / Coding Standards Check (pull_request) Successful in 9s
Generic: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 5s
Generic: Standards Compliance / Documentation Quality Check (pull_request) Successful in 5s
Generic: Standards Compliance / README Completeness Check (pull_request) Failing after 5s
Generic: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 6s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Successful in 1m7s
Generic: Standards Compliance / Script Integrity Validation (pull_request) Successful in 5s
Generic: Standards Compliance / Line Length Check (pull_request) Successful in 5s
Generic: Standards Compliance / File Naming Standards (pull_request) Successful in 4s
Generic: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 4s
Generic: Standards Compliance / Version Consistency Check (pull_request) Successful in 55s
Generic: Standards Compliance / Dead Code Detection (pull_request) Successful in 6s
Generic: Standards Compliance / File Size Limits (pull_request) Successful in 3s
Generic: Standards Compliance / Binary File Detection (pull_request) Successful in 7s
Generic: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 4s
Generic: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 45s
Generic: Standards Compliance / Code Duplication Detection (pull_request) Successful in 43s
Generic: Standards Compliance / Broken Link Detection (pull_request) Successful in 5s
Generic: Standards Compliance / API Documentation Coverage (pull_request) Successful in 4s
Generic: Standards Compliance / Accessibility Check (pull_request) Successful in 3s
Generic: Standards Compliance / Performance Metrics (pull_request) Successful in 3s
Generic: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 45s
Generic: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 44s
Generic: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 9s
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Generic: Standards Compliance / Enterprise Readiness Check (pull_request) Failing after 42s
Generic: Standards Compliance / Repository Health Check (pull_request) Failing after 49s
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
fix(workflow-sync): map npm -> Template-NPM (mcp consolidated/renamed)
PLATFORM_TEMPLATES had no `npm` key and `mcp` pointed at the renamed-away
Template-MCP. Child repos with platform=npm were falling back to
Template-Generic (getting generic workflows instead of the npm-*.yml suite).

- Add `npm => Template-NPM`
- Keep `mcp => Template-NPM` as a legacy alias for repos not yet migrated
- Bump file header VERSION 09.43.00 -> 09.44.00

Orphan-delete policy already correct: Phase 2 skips Template-* repos and
Phase 1 never deletes, so template repos are never pruned; children preserve
custom-* files and the custom/ folder.

Claude-Session: https://claude.ai/code/session_01DQEMmJPe61ya7HDfA6BHP8
2026-07-14 10:21:12 -05:00
2026-05-20 01:26:39 +00:00

mokocli Enterprise API

Version PHP License

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

S
Description
Enterprise CLI automation, validation, and governance engine for all Moko Consulting repositories — 45+ tools, shared CI workflows, 7 MCP servers
Readme
27 MiB
2026-07-14 15:22:22 +00:00
Languages
PHP 63%
JavaScript 16.8%
TypeScript 8.5%
Markdown 4.7%
Shell 4%
Other 3%