07ea171af9f3d8d96b41647bb7f167fc27b14770
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Platform: moko-platform CI / Gate 1: Code Quality (push) Failing after 43s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
New CLI tools: - manifest_element.php — extract element/type/prefix from any platform manifest - release_create.php — create/overwrite Gitea releases with proper naming - release_package.php — build ZIP+tar.gz, SHA-256, upload assets - release_promote.php — promote releases between channels (dev→RC→stable) - version_reset_dev.php — reset platform version on dev branch after release Updated CLI tools: - version_bump.php — now writes to manifests, Dolibarr mod, composer.json (not just README) - release_cascade.php — added --version for version-aware deletion of stale releases - release_validate.php — auto-detect platform, --github-output, source dir check Workflow changes (auto-release.yml): - Draft PR to main → auto-promote highest pre-release to RC - Merged PR to main → promote RC to stable (skip rebuild when RC exists) - Removed paths filter for Go/Node/generic repo compatibility - Fixed cascade --api-base parameter bug Workflow changes (pre-release.yml): - Auto-trigger development pre-release on feature branch merge to dev - Removed paths filter Infrastructure: - RepositorySynchronizer: fixed template repo names, .mokogitea/workflows path, universal workflow cascade (Template-Generic → other templates) - bulk_sync.php: syncs universal workflows to templates before repo sync - PHPDoc added to 4 classes missing class-level docs - Version bump 09.00.00 → 09.01.00 Closes #152 #153 #154 #155 #156 #157 #158 #159 #161 #162 Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
MokoStandards Enterprise API
PHP implementation of MokoStandards — 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 automation, validation, sync, and governance engine for all Moko Consulting repositories
9.8 MiB
Releases
4
Languages
PHP
93.6%
Shell
2.3%
HTML
2%
CSS
1%
JavaScript
0.9%
Other
0.2%