From 244950fb2e543c0b5ff52f80718add511d346ca3 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 14 Jul 2026 10:21:12 -0500 Subject: [PATCH] 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 --- cli/workflow_sync.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/workflow_sync.php b/cli/workflow_sync.php index 72c29ec..ab6941a 100644 --- a/cli/workflow_sync.php +++ b/cli/workflow_sync.php @@ -10,7 +10,7 @@ * INGROUP: mokocli * REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli * PATH: /cli/workflow_sync.php - * VERSION: 09.43.00 + * VERSION: 09.44.00 * BRIEF: Sync workflows from Generic → platform templates → live repos based on manifest.platform */ @@ -26,7 +26,8 @@ class WorkflowSyncCli extends CliFramework 'joomla' => 'Template-Joomla', 'dolibarr' => 'Template-Dolibarr', 'go' => 'Template-Go', - 'mcp' => 'Template-MCP', + 'npm' => 'Template-NPM', + 'mcp' => 'Template-NPM', // legacy alias: mcp was consolidated into npm; repo renamed Template-MCP → Template-NPM 'platform' => 'Template-Generic', 'generic' => 'Template-Generic', ];