Commit Graph

5 Commits

Author SHA1 Message Date
Jonathan Miller df83f36436 fix: add MokoCLI backward-compatibility aliases and redirect stubs (#276)
Prepare for the mokoplatform -> MokoCLI rename by introducing aliases
so both old and new names work during the transition:

- src/aliases.php: forward function aliases (mokocli_version, etc.)
  and install path resolver accepting both /opt/mokocli and /opt/mokoplatform
- scripts/setup-mokocli-aliases.sh: runner provisioning script to create
  symlinks between mokocli and mokoplatform paths
- composer.json: auto-load aliases.php
- mcp/package.json: add mokocli-mcp bin alias alongside moko-platform-mcp
- auto-bump.yml: check both /opt/mokocli and /opt/mokoplatform paths
- platform_detect.php: accept both mokocli and mokoplatform directory names
2026-06-20 11:17:08 -05:00
Jonathan Miller 8abc30835c feat: add cleanup script to remove .claude/ and .mcp.json from repos
Scans all repos via Gitea API and deletes .claude/ directories and
.mcp.json files that were accidentally committed. These are local
workspace configs and should be gitignored.

Authored-by: Moko Consulting
2026-05-10 14:47:04 -05:00
Jonathan Miller aeb574980b feat: auto-discover all repos with wikis across all orgs
Sync Wikis to GitHub / Export wikis to GitHub (push) Successful in 8s
No more hardcoded repo list — queries Gitea API for all orgs and
repos that have wikis enabled. Falls back to hardcoded list if
no GITEA_TOKEN is set.

Authored-by: Moko Consulting
2026-05-09 19:15:02 -05:00
Jonathan Miller de1fef1de6 feat: daily wiki sync workflow — mirrors all Gitea wikis to GitHub
- sync-wikis.yml: runs daily at 5am UTC via cron, also manual dispatch
- sync-wikis-to-github.sh: exports all project wikis to consolidated
  mokoconsulting-tech/wiki repo on GitHub, organized by project folder

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-09 18:14:44 -05:00
Jonathan Miller 5e894a2c8f feat: add wiki health check and GitHub wiki mirror sync
- validate/check_wiki_health.php — checks Home page, MokoStandards ref
- scripts/sync-wikis-to-github.sh — mirrors Gitea wikis to GitHub
- MCP tools: standards_check_wiki, standards_sync_wikis

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-09 17:58:20 -05:00