feat: add templates, CLI dirs, docs, and Gitea-first platform config #1

Merged
jmiller merged 1 commits from dev into main 2026-04-15 02:35:30 +00:00
Owner

Summary

  • Added cli/, build/, release/ directories (migrated from MokoStandards/api/)
  • Added templates/ — workflow templates, configs, issue templates, stubs synced to governed repos
  • Added docs/api/, docs/workflows/, docs/automation/ — migrated documentation
  • Updated all REPO headers → MokoStandards-API Gitea URL
  • Updated all api/definitions/ paths → definitions/ (no api/ prefix)
  • Default platform set to gitea, token to GA_TOKEN
  • Added syncUpdatesBetweenPlatforms() to PlatformAdapterFactory
  • Updated RepositorySynchronizer — template paths resolve from API repo root
  • Converted workflow template DEFGROUP to Gitea.Workflow
  • Updated README with full repo description and platform config table

Files Changed

  • 297 files changed, ~37,800 insertions
  • New directories: cli/, build/, release/, templates/, docs/api/, docs/workflows/, docs/automation/

Test plan

  • Run composer install and verify autoloading works
  • Run php validate/check_repo_health.php --path .
  • Verify RepositorySynchronizer::getSharedWorkflows() finds templates at new paths
  • Verify DefinitionParser reads from definitions/default/ (not api/definitions/)
  • Verify PlatformAdapterFactory::syncUpdatesBetweenPlatforms() works
  • Run bulk sync in dry-run mode against a test repo

🤖 Generated with Claude Code

## Summary - **Added** `cli/`, `build/`, `release/` directories (migrated from MokoStandards/api/) - **Added** `templates/` — workflow templates, configs, issue templates, stubs synced to governed repos - **Added** `docs/api/`, `docs/workflows/`, `docs/automation/` — migrated documentation - **Updated** all REPO headers → `MokoStandards-API` Gitea URL - **Updated** all `api/definitions/` paths → `definitions/` (no api/ prefix) - **Default platform** set to `gitea`, token to `GA_TOKEN` - **Added** `syncUpdatesBetweenPlatforms()` to PlatformAdapterFactory - **Updated** `RepositorySynchronizer` — template paths resolve from API repo root - **Converted** workflow template DEFGROUP to `Gitea.Workflow` - **Updated** README with full repo description and platform config table ## Files Changed - 297 files changed, ~37,800 insertions - New directories: `cli/`, `build/`, `release/`, `templates/`, `docs/api/`, `docs/workflows/`, `docs/automation/` ## Test plan - [ ] Run `composer install` and verify autoloading works - [ ] Run `php validate/check_repo_health.php --path .` - [ ] Verify `RepositorySynchronizer::getSharedWorkflows()` finds templates at new paths - [ ] Verify `DefinitionParser` reads from `definitions/default/` (not `api/definitions/`) - [ ] Verify `PlatformAdapterFactory::syncUpdatesBetweenPlatforms()` works - [ ] Run bulk sync in dry-run mode against a test repo 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jmiller added 1 commit 2026-04-15 02:32:29 +00:00
- Add cli/, build/, release/ directories (previously in MokoStandards/api/)
- Add templates/ with workflow templates, configs, github/gitea issue templates
- Add docs/api/, docs/workflows/, docs/automation/ documentation
- Update all REPO headers to MokoStandards-API
- Update all api/definitions/ paths to definitions/ (no api/ prefix)
- Set default platform to gitea, token to GA_TOKEN
- Add syncUpdatesBetweenPlatforms() to PlatformAdapterFactory
- Update RepositorySynchronizer for new template paths
- Convert workflow template DEFGROUP to Gitea.Workflow
- Update README with full repo description and platform config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 0b80fec88d into main 2026-04-15 02:35:30 +00:00
jmiller deleted branch dev 2026-04-15 02:35:30 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#1