@mmerterden/multi-agent-pipeline 20.38.0 → 20.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/README.md +12 -11
- package/README.tr.md +12 -11
- package/docs/adr/0006-skills-core-external-split.md +1 -1
- package/docs/adr/0009-claude-stack-skills-plugin-only.md +1 -1
- package/docs/architecture.md +6 -3
- package/docs/ecosystem.md +14 -11
- package/docs/engineering.md +2 -1
- package/docs/facts.json +5 -5
- package/docs/features.md +3 -3
- package/index.js +0 -3
- package/install/_codex-agents.mjs +0 -8
- package/install/_common.mjs +13 -65
- package/install/_dev-only-files.mjs +3 -1
- package/install/_mcp-register.mjs +0 -21
- package/install/_platform-filter.mjs +55 -2
- package/install/_supported-floor.mjs +96 -0
- package/install/_unattended-profile.mjs +0 -4
- package/install/claude.mjs +45 -137
- package/install/codex.mjs +3 -1
- package/install/copilot.mjs +19 -3
- package/install/index.mjs +22 -3
- package/install/supported-floor.json +3 -0
- package/manifest.json +359 -358
- package/package.json +5 -3
- package/pipeline/commands/multi-agent/build-optimize/SKILL.md +17 -17
- package/pipeline/commands/multi-agent/health/SKILL.md +68 -0
- package/pipeline/commands/multi-agent/sync/SKILL.md +3 -3
- package/pipeline/commands/multi-agent/uninstall/SKILL.md +2 -3
- package/pipeline/contract/CHANGELOG.md +12 -0
- package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
- package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
- package/pipeline/contract/fixtures/error-unsigned.json +1 -1
- package/pipeline/contract/manifest.json +8 -8
- package/pipeline/contract/types/index.d.ts +3 -3
- package/pipeline/lib/claude-md-links.mjs +0 -11
- package/pipeline/lib/credential-store.sh +3 -3
- package/pipeline/lib/session-usage.mjs +388 -0
- package/pipeline/multi-agent-refs/cross-cli-contract.md +4 -4
- package/pipeline/multi-agent-refs/help/en.md +2 -0
- package/pipeline/multi-agent-refs/help/tr.md +2 -0
- package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +1 -1
- package/pipeline/multi-agent-refs/phases/phase-3-review.md +1 -1
- package/pipeline/office/assets/BIN.png +0 -0
- package/pipeline/office/assets/BOOKSHELF.png +0 -0
- package/pipeline/office/assets/CACTUS.png +0 -0
- package/pipeline/office/assets/CLOCK.png +0 -0
- package/pipeline/office/assets/COFFEE.png +0 -0
- package/pipeline/office/assets/COFFEE_TABLE.png +0 -0
- package/pipeline/office/assets/CUSHIONED_BENCH.png +0 -0
- package/pipeline/office/assets/CUSHIONED_CHAIR_BACK.png +0 -0
- package/pipeline/office/assets/CUSHIONED_CHAIR_FRONT.png +0 -0
- package/pipeline/office/assets/DESK_FRONT.png +0 -0
- package/pipeline/office/assets/DOUBLE_BOOKSHELF.png +0 -0
- package/pipeline/office/assets/HANGING_PLANT.png +0 -0
- package/pipeline/office/assets/LARGE_PAINTING.png +0 -0
- package/pipeline/office/assets/LARGE_PLANT.png +0 -0
- package/pipeline/office/assets/PC_BACK.png +0 -0
- package/pipeline/office/assets/PC_FRONT_OFF.png +0 -0
- package/pipeline/office/assets/PC_FRONT_ON_1.png +0 -0
- package/pipeline/office/assets/PC_FRONT_ON_2.png +0 -0
- package/pipeline/office/assets/PC_FRONT_ON_3.png +0 -0
- package/pipeline/office/assets/PC_SIDE.png +0 -0
- package/pipeline/office/assets/PLANT.png +0 -0
- package/pipeline/office/assets/PLANT_2.png +0 -0
- package/pipeline/office/assets/POT.png +0 -0
- package/pipeline/office/assets/SMALL_PAINTING.png +0 -0
- package/pipeline/office/assets/SMALL_PAINTING_2.png +0 -0
- package/pipeline/office/assets/SMALL_TABLE_FRONT.png +0 -0
- package/pipeline/office/assets/SOFA_BACK.png +0 -0
- package/pipeline/office/assets/SOFA_FRONT.png +0 -0
- package/pipeline/office/assets/SOFA_SIDE.png +0 -0
- package/pipeline/office/assets/TABLE_FRONT.png +0 -0
- package/pipeline/office/assets/WHITEBOARD.png +0 -0
- package/pipeline/office/assets/WOODEN_BENCH.png +0 -0
- package/pipeline/office/assets/WOODEN_CHAIR_BACK.png +0 -0
- package/pipeline/office/assets/WOODEN_CHAIR_FRONT.png +0 -0
- package/pipeline/office/assets/WOODEN_CHAIR_SIDE.png +0 -0
- package/pipeline/office/assets/char_0.png +0 -0
- package/pipeline/office/assets/char_1.png +0 -0
- package/pipeline/office/assets/char_12.png +0 -0
- package/pipeline/office/assets/char_13.png +0 -0
- package/pipeline/office/assets/char_14.png +0 -0
- package/pipeline/office/assets/char_15.png +0 -0
- package/pipeline/office/assets/char_16.png +0 -0
- package/pipeline/office/assets/char_17.png +0 -0
- package/pipeline/office/assets/char_18.png +0 -0
- package/pipeline/office/assets/char_19.png +0 -0
- package/pipeline/office/assets/char_2.png +0 -0
- package/pipeline/office/assets/char_20.png +0 -0
- package/pipeline/office/assets/char_21.png +0 -0
- package/pipeline/office/assets/char_22.png +0 -0
- package/pipeline/office/assets/char_23.png +0 -0
- package/pipeline/office/assets/char_24.png +0 -0
- package/pipeline/office/assets/char_25.png +0 -0
- package/pipeline/office/assets/char_26.png +0 -0
- package/pipeline/office/assets/char_27.png +0 -0
- package/pipeline/office/assets/char_28.png +0 -0
- package/pipeline/office/assets/char_29.png +0 -0
- package/pipeline/office/assets/char_3.png +0 -0
- package/pipeline/office/assets/char_30.png +0 -0
- package/pipeline/office/assets/char_4.png +0 -0
- package/pipeline/office/assets/char_5.png +0 -0
- package/pipeline/office/assets/floor_0.png +0 -0
- package/pipeline/office/assets/floor_1.png +0 -0
- package/pipeline/office/assets/floor_2.png +0 -0
- package/pipeline/office/assets/floor_3.png +0 -0
- package/pipeline/office/assets/floor_4.png +0 -0
- package/pipeline/office/assets/floor_6.png +0 -0
- package/pipeline/office/assets/floor_8.png +0 -0
- package/pipeline/office/assets/wall_0.png +0 -0
- package/pipeline/office/index.html +2 -2
- package/pipeline/office/toolkit.json +1 -1
- package/pipeline/schemas/activity.schema.json +2 -2
- package/pipeline/schemas/prefs.schema.json +11 -1
- package/pipeline/scripts/_autopilot-ops.mjs +0 -13
- package/pipeline/scripts/_cost.mjs +18 -8
- package/pipeline/scripts/_renamed-skills.mjs +143 -0
- package/pipeline/scripts/_run-paths.mjs +0 -15
- package/pipeline/scripts/_stack-routing.mjs +7 -7
- package/pipeline/scripts/activity-snapshot.mjs +38 -5
- package/pipeline/scripts/autopilot-runner.mjs +0 -4
- package/pipeline/scripts/base-branch-candidates.mjs +0 -16
- package/pipeline/scripts/bug-bash.mjs +0 -1
- package/pipeline/scripts/build-skills-index.mjs +28 -4
- package/pipeline/scripts/build-stack-plugins.mjs +50 -3
- package/pipeline/scripts/bulk-read.sh +1 -3
- package/pipeline/scripts/check-read-size.py +0 -2
- package/pipeline/scripts/contract-server.mjs +1 -1
- package/pipeline/scripts/gen-facts.mjs +4 -2
- package/pipeline/scripts/health-report.mjs +813 -0
- package/pipeline/scripts/memory-load.sh +2 -5
- package/pipeline/scripts/office-build.mjs +425 -20
- package/pipeline/scripts/office-credentials.mjs +2 -2
- package/pipeline/scripts/office-ledger.mjs +3 -0
- package/pipeline/scripts/offload-ref.sh +3 -5
- package/pipeline/scripts/symbol-existence-gate.mjs +0 -12
- package/pipeline/scripts/uninstall.mjs +34 -71
- package/pipeline/skills/.skill-manifest.json +82 -78
- package/pipeline/skills/.skills-index.json +196 -174
- package/pipeline/skills/renamed.json +29 -0
- package/pipeline/skills/shared/README.md +30 -29
- package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +6 -6
- package/pipeline/skills/shared/core/multi-agent-health/SKILL.md +19 -0
- package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +3 -3
- package/pipeline/skills/shared/core/multi-agent-uninstall/SKILL.md +1 -3
- package/pipeline/skills/shared/external/{app-store-changelog → app-store-release-notes}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{app-store-changelog → app-store-release-notes}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{xcode-project-analyzer → build-settings-audit}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{xcode-project-analyzer → build-settings-audit}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{spm-build-analysis → build-settings-audit}/references/build-optimization-sources.md +13 -13
- package/pipeline/skills/shared/external/build-settings-audit/references/recommendation-format.md +95 -0
- package/pipeline/skills/shared/external/{xcode-build-benchmark → build-time-benchmark}/SKILL.md +5 -5
- package/pipeline/skills/shared/external/{xcode-build-benchmark → build-time-benchmark}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/build-time-benchmark/schemas/build-benchmark.schema.json +123 -0
- package/pipeline/skills/shared/external/build-time-benchmark/scripts/benchmark_builds.py +334 -0
- package/pipeline/skills/shared/external/{xcode-build-fixer → build-time-fixes}/SKILL.md +5 -5
- package/pipeline/skills/shared/external/{xcode-build-fixer → build-time-fixes}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/build-time-fixes/references/recommendation-format.md +95 -0
- package/pipeline/skills/shared/external/build-time-fixes/scripts/benchmark_builds.py +334 -0
- package/pipeline/skills/shared/external/{xcode-build-orchestrator → build-time-optimizer}/SKILL.md +6 -6
- package/pipeline/skills/shared/external/{xcode-build-orchestrator → build-time-optimizer}/evals/evals.json +3 -3
- package/pipeline/skills/shared/external/{xcode-build-orchestrator → build-time-optimizer}/references/orchestration-report-template.md +67 -29
- package/pipeline/skills/shared/external/build-time-optimizer/references/recommendation-format.md +95 -0
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/benchmark_builds.py +334 -0
- package/pipeline/skills/shared/external/build-time-optimizer/scripts/diagnose_compilation.py +266 -0
- package/pipeline/skills/shared/external/ci-cd-pipelines/references/pipeline-examples.md +143 -163
- package/pipeline/skills/shared/external/css-modern/references/code-examples.md +78 -76
- package/pipeline/skills/shared/external/database-patterns/references/orm-examples.md +112 -77
- package/pipeline/skills/shared/external/{firebase → firebase-integration}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{firebase → firebase-integration}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/hig-components-layout/SKILL.md +1 -1
- package/pipeline/skills/shared/external/hig-components-layout/references/bars-and-tabs.md +1 -1
- package/pipeline/skills/shared/external/hig-foundations/SKILL.md +1 -1
- package/pipeline/skills/shared/external/hig-foundations/references/foundations-detail.md +1 -1
- package/pipeline/skills/shared/external/hig-foundations/references/type-color-spacing.md +1 -1
- package/pipeline/skills/shared/external/hig-patterns/references/onboarding-and-states.md +1 -1
- package/pipeline/skills/shared/external/ios-accessibility/references/large-content-and-appearance.md +1 -1
- package/pipeline/skills/shared/external/ios-design-review/SKILL.md +4 -4
- package/pipeline/skills/shared/external/ios-design-review/evals/evals.json +2 -2
- package/pipeline/skills/shared/external/ios-design-review/references/checklist.md +1 -1
- package/pipeline/skills/shared/external/ios-security/references/code-examples.md +55 -45
- package/pipeline/skills/shared/external/{ios-debugger-agent → ios-simulator-debugging}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{ios-debugger-agent → ios-simulator-debugging}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/macos-app-distribution/assets/templates/package_app.sh +265 -0
- package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{macos-menubar-tuist-app → macos-menubar-utility}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{macos-menubar-tuist-app → macos-menubar-utility}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{nextjs-app-router → nextjs-routing}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{nextjs-app-router → nextjs-routing}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{spm-build-analysis → package-build-audit}/SKILL.md +3 -3
- package/pipeline/skills/shared/external/{spm-build-analysis → package-build-audit}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{xcode-project-analyzer → package-build-audit}/references/build-optimization-sources.md +13 -13
- package/pipeline/skills/shared/external/package-build-audit/references/recommendation-format.md +95 -0
- package/pipeline/skills/shared/external/{spm-build-analysis → package-build-audit}/scripts/check_spm_pins.py +11 -11
- package/pipeline/skills/shared/external/rest-api-design/references/api-examples.md +141 -83
- package/pipeline/skills/shared/external/{xcode-compilation-analyzer → swift-compile-hotspots}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{xcode-compilation-analyzer → swift-compile-hotspots}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{xcode-compilation-analyzer → swift-compile-hotspots}/references/build-optimization-sources.md +13 -13
- package/pipeline/skills/shared/external/swift-compile-hotspots/references/recommendation-format.md +95 -0
- package/pipeline/skills/shared/external/swift-compile-hotspots/scripts/diagnose_compilation.py +266 -0
- package/pipeline/skills/shared/external/swift-concurrency/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{swift-concurrency-expert → swift-concurrency-fix}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{swift-concurrency-expert → swift-concurrency-fix}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/actors.md +1 -1
- package/pipeline/skills/shared/external/swift-concurrency-review/references/diagnostics.md +93 -0
- package/pipeline/skills/shared/external/swift-concurrency-review/references/interop.md +146 -0
- package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/testing.md +1 -1
- package/pipeline/skills/shared/external/{swift-testing-pro → swift-testing-review}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{swift-testing-pro → swift-testing-review}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swift-testing-pro → swift-testing-review}/references/async-tests.md +1 -1
- package/pipeline/skills/shared/external/{swift-testing-pro → swift-testing-review}/references/writing-better-tests.md +1 -1
- package/pipeline/skills/shared/external/{swiftdata-pro → swiftdata-review}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{swiftdata-pro → swiftdata-review}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swiftdata-pro → swiftdata-review}/references/model-rules.md +2 -2
- package/pipeline/skills/shared/external/swiftdata-review/references/predicates.md +67 -0
- package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/SKILL.md +5 -5
- package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/evals/evals.json +3 -3
- package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/liquid-glass.md +2 -2
- package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swiftui-liquid-glass → swiftui-glass-effects}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{swiftui-liquid-glass → swiftui-glass-effects}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swiftui-liquid-glass → swiftui-glass-effects}/references/liquid-glass.md +1 -1
- package/pipeline/skills/shared/external/{swiftui-liquid-glass → swiftui-glass-effects}/references/uikit-glass.md +1 -1
- package/pipeline/skills/shared/external/swiftui-patterns/SKILL.md +4 -4
- package/pipeline/skills/shared/external/swiftui-performance/SKILL.md +2 -2
- package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/SKILL.md +7 -7
- package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/data.md +1 -1
- package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/swift.md +1 -1
- package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/views.md +1 -1
- package/pipeline/skills/shared/external/{swiftui-view-refactor → swiftui-view-splitting}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{swiftui-view-refactor → swiftui-view-splitting}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/swiftui-view-splitting/references/mv-patterns.md +188 -0
- package/pipeline/skills/shared/external/{tailwind-css → tailwind-styling}/SKILL.md +1 -1
- package/pipeline/skills/shared/external/{tailwind-css → tailwind-styling}/evals/evals.json +1 -1
- package/pipeline/skills/shared/external/testing-backend/references/testing-examples.md +179 -138
- package/pipeline/skills/shared/external/web-accessibility/references/a11y-examples.md +121 -135
- package/pipeline/skills/shared/external/web-performance/references/code-examples.md +40 -40
- package/pipeline/skills/shared/external/web-testing/SKILL.md +110 -110
- package/pipeline/skills/skills-index.md +44 -42
- package/install/catalog-history.json +0 -1
- package/pipeline/office/NOTICE.md +0 -48
- package/pipeline/office/assets/CUSHIONED_CHAIR_SIDE.png +0 -0
- package/pipeline/office/assets/DESK_SIDE.png +0 -0
- package/pipeline/office/assets/SMALL_TABLE_SIDE.png +0 -0
- package/pipeline/office/assets/floor_5.png +0 -0
- package/pipeline/office/assets/floor_7.png +0 -0
- package/pipeline/skills/shared/external/macos-spm-app-packaging/assets/templates/package_app.sh +0 -240
- package/pipeline/skills/shared/external/spm-build-analysis/references/recommendation-format.md +0 -86
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/diagnostics.md +0 -93
- package/pipeline/skills/shared/external/swift-concurrency-pro/references/interop.md +0 -137
- package/pipeline/skills/shared/external/swiftdata-pro/references/predicates.md +0 -66
- package/pipeline/skills/shared/external/swiftui-view-refactor/references/mv-patterns.md +0 -182
- package/pipeline/skills/shared/external/xcode-build-benchmark/schemas/build-benchmark.schema.json +0 -108
- package/pipeline/skills/shared/external/xcode-build-benchmark/scripts/benchmark_builds.py +0 -270
- package/pipeline/skills/shared/external/xcode-build-fixer/references/recommendation-format.md +0 -86
- package/pipeline/skills/shared/external/xcode-build-fixer/scripts/benchmark_builds.py +0 -270
- package/pipeline/skills/shared/external/xcode-build-orchestrator/references/recommendation-format.md +0 -86
- package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/benchmark_builds.py +0 -270
- package/pipeline/skills/shared/external/xcode-build-orchestrator/scripts/diagnose_compilation.py +0 -218
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/references/recommendation-format.md +0 -86
- package/pipeline/skills/shared/external/xcode-compilation-analyzer/scripts/diagnose_compilation.py +0 -218
- package/pipeline/skills/shared/external/xcode-project-analyzer/references/recommendation-format.md +0 -86
- /package/pipeline/skills/shared/external/{app-store-changelog → app-store-release-notes}/references/release-notes-guidelines.md +0 -0
- /package/pipeline/skills/shared/external/{app-store-changelog → app-store-release-notes}/scripts/collect_release_changes.sh +0 -0
- /package/pipeline/skills/shared/external/{xcode-build-fixer → build-settings-audit}/references/build-settings-best-practices.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-project-analyzer → build-settings-audit}/references/project-audit-checks.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-build-benchmark → build-time-benchmark}/references/benchmark-artifacts.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-build-benchmark → build-time-benchmark}/references/benchmarking-workflow.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-build-orchestrator → build-time-fixes}/references/build-settings-best-practices.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-build-fixer → build-time-fixes}/references/fix-patterns.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-build-orchestrator → build-time-optimizer}/references/benchmark-artifacts.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-project-analyzer → build-time-optimizer}/references/build-settings-best-practices.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-build-orchestrator → build-time-optimizer}/scripts/generate_optimization_report.py +0 -0
- /package/pipeline/skills/shared/external/{firebase → firebase-integration}/references/functions-and-products.md +0 -0
- /package/pipeline/skills/shared/external/{firebase → firebase-integration}/references/security-rules.md +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/bootstrap/Package.swift +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/bootstrap/Sources/MyApp/MyApp.swift +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/bootstrap/Sources/MyApp/Resources/.keep +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/bootstrap/version.env +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/build_icon.sh +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/compile_and_run.sh +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/launch.sh +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/make_appcast.sh +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/setup_dev_signing.sh +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/sign-and-notarize.sh +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/assets/templates/version.env +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/references/packaging.md +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/references/release.md +0 -0
- /package/pipeline/skills/shared/external/{macos-spm-app-packaging → macos-app-distribution}/references/scaffold.md +0 -0
- /package/pipeline/skills/shared/external/{nextjs-app-router → nextjs-routing}/references/app-router-examples.md +0 -0
- /package/pipeline/skills/shared/external/{spm-build-analysis → package-build-audit}/references/spm-analysis-checks.md +0 -0
- /package/pipeline/skills/shared/external/{xcode-compilation-analyzer → swift-compile-hotspots}/references/code-compilation-checks.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-expert → swift-concurrency-fix}/references/approachable-concurrency.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-expert → swift-concurrency-fix}/references/swift-6-2-concurrency.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-expert → swift-concurrency-fix}/references/swiftui-concurrency-tour-wwdc.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/async-streams.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/bridging.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/bug-patterns.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/cancellation.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/hotspots.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/new-features.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/structured.md +0 -0
- /package/pipeline/skills/shared/external/{swift-concurrency-pro → swift-concurrency-review}/references/unstructured.md +0 -0
- /package/pipeline/skills/shared/external/{swift-testing-pro → swift-testing-review}/references/core-rules.md +0 -0
- /package/pipeline/skills/shared/external/{swift-testing-pro → swift-testing-review}/references/migrating-from-xctest.md +0 -0
- /package/pipeline/skills/shared/external/{swift-testing-pro → swift-testing-review}/references/new-features.md +0 -0
- /package/pipeline/skills/shared/external/{swiftdata-pro → swiftdata-review}/references/cloudkit.md +0 -0
- /package/pipeline/skills/shared/external/{swiftdata-pro → swiftdata-review}/references/indexing.md +0 -0
- /package/pipeline/skills/shared/external/{swiftdata-pro → swiftdata-review}/references/inheritance.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/accessibility-patterns.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/animation-advanced.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/animation-basics.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/animation-transitions.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/charts-accessibility.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/charts.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/image-optimization.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/latest-apis.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/layout-best-practices.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/list-patterns.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/macos-scenes.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/macos-views.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/macos-window-styling.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/performance-patterns.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/scroll-patterns.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/sheet-navigation-patterns.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/state-management.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-expert-skill → swiftui-feature-builder}/references/view-structure.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/app-wiring.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/async-state.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/components-index.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/controls.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/deeplinks.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/focus.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/form.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/grids.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/haptics.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/input-toolbar.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/lightweight-clients.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/list.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/loading-placeholders.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/macos-settings.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/matched-transitions.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/media.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/menu-bar.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/navigationstack.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/overlay.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/performance.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/previews.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/scroll-reveal.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/scrollview.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/searchable.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/sheets.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/split-views.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/tabview.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/theming.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/title-menus.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-ui-patterns → swiftui-flow-recipes}/references/top-bar.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-liquid-glass → swiftui-glass-effects}/evals/trigger-eval.json +0 -0
- /package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/references/audit-layout.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/references/capture-checklist.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/references/hangs.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/references/instruments-guide.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/references/smell-catalog.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-performance-audit → swiftui-performance-triage}/references/update-model.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/accessibility.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/api.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/design.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/hygiene.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/navigation.md +0 -0
- /package/pipeline/skills/shared/external/{swiftui-pro → swiftui-review}/references/performance.md +0 -0
- /package/pipeline/skills/shared/external/{tailwind-css → tailwind-styling}/references/code-examples.md +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,55 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
16
16
|
|
|
17
17
|
## [Unreleased]
|
|
18
18
|
|
|
19
|
+
## [20.39.1] - 2026-11-02
|
|
20
|
+
|
|
21
|
+
### Removed
|
|
22
|
+
|
|
23
|
+
- `pipeline/office/NOTICE.md`: every office sprite is built from this project's own sources in `pipeline/office-art`, so the office ships without a notice file. An upgrade removes the installed copy with the rest of the old office tree.
|
|
24
|
+
|
|
25
|
+
## [20.39.0] - 2026-11-02
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- The command, agent, skill, tool, tool-family and phase counts and the toolkit version in the READMEs, `docs/` and the help guides are rendered from `docs/facts.json` by `gen-fact-marks.mjs`; `npm test` and `smoke-facts.sh` fail on a stale marker or on one of those counts typed by hand. The toolkit version in the ecosystem doc now reads 3.28.0.
|
|
30
|
+
- `install/supported-floor.json` (`minimumUpgradeFrom`) names the oldest installed version the installer upgrades in place, 20.17.0. An install whose version stamp is older is refused before anything is written, with the commands for a fresh reinstall (`uninstall --yes`, then `install`); Keychain tokens and pipeline settings survive it.
|
|
31
|
+
- `/multi-agent:health` and `health-report.mjs [--json] [--probe] [--quiet]`: one report on everything the pipeline depends on here, each part green, yellow or red with a one-line reason. Parts: services (each credential held, missing or not set up; with `--probe` works, refused or unreachable), toolkit MCP (registered, version, tool count from its tool manifest or a short `tools/list` probe), install (the version each host carries and doctor's verdict with the ids of blocking checks), sessions (open Claude Code sessions, today's tokens and estimated cost, cache writes priced by lifetime: 1h at 2x input, 5m and unsplit at 1.25x), autopilot (on or off, last tick, items waiting for an answer), office (running and its port), disk (free space and log folder size), the last green local gate, and run-error tags seen in two runs or more in 7 days (a run is a ledger row id). Exit code 0 all green, 1 any yellow, 2 any red, 3 the report could not be built or a usage error. The report carries names, counts, versions, a port and dates only; a check that fails reads "could not be checked", never its error text.
|
|
32
|
+
- `pipeline/lib/session-usage.mjs`: tokens and estimated cost from the `usage` records in Claude Code's own transcripts, per model, priced from `cost-table.json`. Each message id counts once across files, synthetic messages and unparsable lines are skipped, files are read in chunks with a per-file byte cap (a capped file is reported), and an incremental cache reads only what a transcript appended since the last call.
|
|
33
|
+
- The office's activity view measures sessions no run tracks: such a table now carries `tokens` and `estUsd` from the session's own transcripts and subagent transcripts, with `costSource: "transcript"`. A session with no usage records stays `not-measured`. Client contract 1.9.0 (`activity` 1.2.0).
|
|
34
|
+
- `office-credentials.mjs` `officeCredentials({ timeoutMs })` lets a caller wait longer for the credential inventory; the panel's defaults are unchanged.
|
|
35
|
+
|
|
36
|
+
### Removed
|
|
37
|
+
|
|
38
|
+
- `uninstall --cursor`, `--copilot-chat`, `--antigravity` and `--target=<path>`: the cleanup of files from adapters the installer no longer has. Uninstall now refuses these and any other flag it does not know with exit 2 and removes nothing, instead of ignoring them and widening into an uninstall from every host.
|
|
39
|
+
- The memory, bulk-read, offload and read-size hooks no longer look for a bare `preferences.json`; settings are read from `multi-agent-preferences.json` only, the name the installer writes.
|
|
40
|
+
- In-place upgrades from installs older than 20.17.0. The installer no longer removes the `dev-toolkit` MCP registration (renamed to `multi-agent-toolkit` in 15.12.0) or rewrites the `Bash(git commit:*)` secret-scan hook matcher (replaced in 11.5.0). Uninstall still removes both, so the fresh reinstall clears them. The pre-manifest catalog prune goes with them: every install at 20.17.0 or newer already ran it, so `install/catalog-history.json`, `gen-catalog-history.mjs` and the `install --prune-external` flag are removed, and the flag is now refused with exit 1.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- The smoke runner runs suites in a pool of `min(4, cpus - 1)` workers (`SMOKE_JOBS` sets it, `SMOKE_JOBS=1` runs them one by one in name order); suites that touch shared state run alone after the pool. `--fast` skips the suites over 30 s for a local loop. Verdicts and check counts are the same either way.
|
|
45
|
+
- `smoke-progress-contract.sh` fails when a phase doc lacks the progress-contract adoption marker; the advisory mode and its `PROGRESS_CONTRACT_BLOCKING` switch are gone.
|
|
46
|
+
- Knowledge skills renamed to names of their own: `app-store-changelog` -> `app-store-release-notes`, `firebase` -> `firebase-integration`, `ios-debugger-agent` -> `ios-simulator-debugging`, `macos-menubar-tuist-app` -> `macos-menubar-utility`, `macos-spm-app-packaging` -> `macos-app-distribution`, `nextjs-app-router` -> `nextjs-routing`, `spm-build-analysis` -> `package-build-audit`, `swift-concurrency-expert` -> `swift-concurrency-fix`, `swift-concurrency-pro` -> `swift-concurrency-review`, `swift-testing-pro` -> `swift-testing-review`, `swiftdata-pro` -> `swiftdata-review`, `swiftui-expert-skill` -> `swiftui-feature-builder`, `swiftui-liquid-glass` -> `swiftui-glass-effects`, `swiftui-performance-audit` -> `swiftui-performance-triage`, `swiftui-pro` -> `swiftui-review`, `swiftui-ui-patterns` -> `swiftui-flow-recipes`, `swiftui-view-refactor` -> `swiftui-view-splitting`, `tailwind-css` -> `tailwind-styling`, `xcode-build-benchmark` -> `build-time-benchmark`, `xcode-build-fixer` -> `build-time-fixes`, `xcode-build-orchestrator` -> `build-time-optimizer`, `xcode-compilation-analyzer` -> `swift-compile-hotspots`, `xcode-project-analyzer` -> `build-settings-audit`; the old names keep working as alias skills (written by `build-stack-plugins.mjs` and the Copilot and Codex installers from `pipeline/skills/renamed.json`) until 21.0.0.
|
|
47
|
+
- `upstream-overlap-gate.mjs` (pre-push) matches by content as well as by skill name: every text file on the shipped surfaces (skills with their references and scripts, agents, commands, refs, rules, office sources, scripts, lib, and the local `prefs.global.upstreamGateExtraRoots`) is paired with the corpus file it shares the most 6-word shingles with, code compared without its comments, and fails above 4.5%. Shipped PNGs are fingerprinted with a dependency-free difference hash and an image within 4 bits of a corpus PNG fails. Globs in the local `prefs.global.upstreamGateExceptions` report owner-approved material as excepted, with a count, instead of failing it. The corpus index is cached under `~/.claude/cache/upstream-overlap`.
|
|
48
|
+
- Reference files, templates and scripts flagged by the content-based overlap gate are rewritten in their own structure and wording, each now at or below 4.5% 6-word-shingle overlap with any upstream file: the build-time skills' recommendation format, source list, report template, benchmark schema and `benchmark_builds.py` / `diagnose_compilation.py` / `check_spm_pins.py`, `package_app.sh`, the Swift concurrency, SwiftData and view-splitting references, and the backend and frontend example references with `web-testing/SKILL.md`. CLIs, outputs, exit codes, schema property names and linked headings are unchanged.
|
|
49
|
+
- The office sprites are all built from sources in `pipeline/office-art`, with the same file names and pixel sizes: the furniture, floor patterns and the 16-piece wall sheet are letter grids, and the six character sheets are composed from body, outfit and hair layer sheets in `pipeline/office-art/characters` with seated typing and reading poses drawn as grids over them. Skin and hair keep a soft warm tone, so the page's second tint of the sheets leaves faces alone. A palette colour may be `RRGGBBAA` for soft shadows; the existing company furniture renders byte for byte as before. The unused `CUSHIONED_CHAIR_SIDE`, `DESK_SIDE`, `SMALL_TABLE_SIDE`, `floor_5` and `floor_7` are removed. `test/office-assets.test.mjs` pins every sprite name and size and holds each PNG to its source. Each character frame keeps the feet row of the sheet it replaces and its head row within a pixel, and the build stops on a layer pixel that falls outside its 16x32 frame or on an outfit pixel the recolour would read as skin or hair; `test/office-characters.test.mjs` pins those measurements.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- The Copilot installer drops any delivery-manifest entry that is not a plain kebab-case skill name before it removes what the previous delivery left, so an entry such as `""`, `..` or a path can no longer turn into a recursive delete of the skills dir or anything above it.
|
|
54
|
+
- `pipeline/skills/.skills-index.json` and `skills-index.md` list the renamed knowledge skills under their new names; `build-skills-index.mjs --check` runs in `npm test` and fails on a stale index.
|
|
55
|
+
- The smoke runner stops a timed-out suite's whole process group, so a child that holds the output pipes no longer keeps the run waiting, and an isolated suite no longer sees the host-directory overrides (`CODEX_HOME`, `COPILOT_HOME`, `CLAUDE_CONFIG_DIR`, the XDG dirs and the pipeline's own path variables) that resolve ahead of `HOME`.
|
|
56
|
+
- `modelRateLookup` prices only ids the cost table defines, so an id such as `constructor` is counted as unpriced instead of resolving to an inherited object member.
|
|
57
|
+
- The Claude Code installer applies the same skill-name check to its delivery manifest, so an empty entry can no longer resolve to the skills dir itself and remove it with the user's own skills. Without a manifest it removes no catalog-named dir and names the ones it kept, since each shadows the plugin copy of that skill.
|
|
58
|
+
- The upgrade refusal prints its reinstall commands with the scope pinned to the public registry, so an `.npmrc` that maps the scope elsewhere does not turn them into a 404.
|
|
59
|
+
- The smoke runner forwards SIGINT, SIGTERM and SIGHUP to every running suite's process group and removes their temporary homes before it exits, and passes the read-only personal-data pattern lists (`MA_PERSONAL_DATA_PATTERNS`, `MA_PERSONAL_DATA_WORDS`) through to the suites.
|
|
60
|
+
- `priceUsage` prices a record's 1-hour cache writes at 2x input and the rest at 1.25x, so the office ledger, `cost-analyze` and the health report give one figure for the same transcript.
|
|
61
|
+
- Install and uninstall accept the global `--no-color` option.
|
|
62
|
+
- `upstream-overlap-gate.mjs` pairs a renamed skill with its upstream under the old name from `renamed.json`, without a maintainer alias in the preferences. `lint-skills.mjs` checks for old skill names in `pipeline/agents`, `docs/` and both READMEs as well, and fails once the package version reaches an entry's `removeIn` while `renamed.json` still holds it.
|
|
63
|
+
- `gen-facts.mjs` leaves rename aliases out of `pluginSkillCount`, so the marketplace skill count stays the number of real skills while the aliases ship.
|
|
64
|
+
- `check_spm_pins.py` (package-build-audit) skips a repository URL that starts with `-` and ends git's options with `--`, so a `repositoryURL` in an audited project cannot be read as a `git ls-remote` option.
|
|
65
|
+
- The office ledger keeps a transcript record's 1-hour cache-write count when it copies a record, so its prices match the other cost surfaces.
|
|
66
|
+
- The upstream overlap gate compares every shipped PNG's raw bytes with every corpus PNG, fails on a shipped PNG it cannot decode unless an exception covers it, decodes interlaced PNGs and honours colour-key transparency; its image hash sets a bit only past half a grey level, so a 2x rescale of a sprite stays within the limit. It measures `.css`, `.scss`, `.html`, `.htm`, `.tsx`, `.jsx` and `.xml` files and reports how many shipped files it skipped by type; its cache follows the measuring code, and a file with too few sampled shingles is listed as unjudgeable instead of scored 0%.
|
|
67
|
+
|
|
19
68
|
## [20.38.0] - 2026-11-01
|
|
20
69
|
|
|
21
70
|
### Added
|
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
🇹🇷 Türkçe: [README.tr.md](./README.tr.md)
|
|
10
10
|
|
|
11
|
-
A 6
|
|
11
|
+
A <!-- fact:phaseCount -->6<!-- /fact -->-phase AI development pipeline for **Claude Code**, **Copilot CLI** and **Codex CLI**. Drives a Jira issue or GitHub URL to a merged PR in one command - analysis → plan → TDD → review → test → commit → PR - with multi-repo orchestration, a plan-approval gate, CLI-aware parallel review, and store-compliance checks. Component and Figma-to-code work is dispatched to the per-stack marketplace plugins (iOS/SwiftUI, Android/Compose) rather than bundled, so component skills live in one place.
|
|
12
12
|
|
|
13
13
|
Runs natively on Claude Code, Copilot CLI and Codex CLI. macOS only. Zero runtime dependencies.
|
|
14
14
|
|
|
15
|
-
📐 **[Architecture diagrams](./docs/architecture.md)** - the 6
|
|
15
|
+
📐 **[Architecture diagrams](./docs/architecture.md)** - the <!-- fact:phaseCount -->6<!-- /fact -->-phase flow, operating modes, review/triage, Figma subphases, component layout. **[Ecosystem diagram](./docs/ecosystem.md)** - how this repo, the `multi-agent-plugins` marketplace and `multi-agent-toolkit-mcp` compose.
|
|
16
16
|
|
|
17
17
|
### Prerequisites
|
|
18
18
|
|
|
@@ -91,7 +91,7 @@ Update later with `/multi-agent:update`. Uninstall (tokens preserved) with `npx
|
|
|
91
91
|
|
|
92
92
|
## How it works
|
|
93
93
|
|
|
94
|
-
One command runs 6 phases, with a gate between the risky ones. Every run
|
|
94
|
+
One command runs <!-- fact:phaseCount -->6<!-- /fact --> phases, with a gate between the risky ones. Every run
|
|
95
95
|
carries the whole set; the one question Phase 0 asks about shape is where the
|
|
96
96
|
branch lives, a worktree or your current checkout:
|
|
97
97
|
|
|
@@ -149,8 +149,8 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
149
149
|
|
|
150
150
|
| Mode | Command | Flow |
|
|
151
151
|
| --------- | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
152
|
-
| Full | `/multi-agent "task"` | All 6 phases, interactive |
|
|
153
|
-
| Autopilot | `/multi-agent:autopilot "task"` | The same 6 phases, no confirmations; the workspace resolves to a worktree and the user-test gate inside Review is skipped |
|
|
152
|
+
| Full | `/multi-agent "task"` | All <!-- fact:phaseCount -->6<!-- /fact --> phases, interactive |
|
|
153
|
+
| Autopilot | `/multi-agent:autopilot "task"` | The same <!-- fact:phaseCount -->6<!-- /fact --> phases, no confirmations; the workspace resolves to a worktree and the user-test gate inside Review is skipped |
|
|
154
154
|
| Audit | `/multi-agent:design-check` | Mock-mode vs Figma conformance, local-only |
|
|
155
155
|
| Audit | `/multi-agent:testflight-validation` | Pre-submission gates for a TestFlight build: static archive audit → Apple's `altool --validate-app` → Review-Guidelines check. Validates only, never uploads |
|
|
156
156
|
|
|
@@ -158,7 +158,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
158
158
|
|
|
159
159
|
## Commands
|
|
160
160
|
|
|
161
|
-
`/multi-agent` plus
|
|
161
|
+
`/multi-agent` plus <!-- fact:commandCount -->71<!-- /fact --> sub-commands. `/multi-agent:help` renders the same catalog in your terminal, in your `outputLanguage`.
|
|
162
162
|
|
|
163
163
|
### Pipeline entries
|
|
164
164
|
|
|
@@ -262,6 +262,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
262
262
|
| `/multi-agent:sync` | One-shot sync: Claude Code, Copilot CLI, pipeline repo, website, toolkit MCP |
|
|
263
263
|
| `/multi-agent:update` | Update to the latest published npm release and run migrations |
|
|
264
264
|
| `/multi-agent:doctor` | Health check of the install: layout, preferences, credentials, hooks, host capabilities; the exit code is the verdict |
|
|
265
|
+
| `/multi-agent:health` | One look at the machine: services, toolkit, install, sessions and today's cost, autopilot, office, disk, errors |
|
|
265
266
|
| `/multi-agent:uninstall` | Remove the pipeline from every CLI. Keychain tokens always left intact |
|
|
266
267
|
| `/multi-agent:serve` | Local contract server for a client: 127.0.0.1 only, token, stops when idle |
|
|
267
268
|
| `/multi-agent:help` | This catalog, in the terminal, in your `outputLanguage` |
|
|
@@ -453,17 +454,17 @@ This enables the matching plugin (+ the shared `ai-common` plugin) in the repo's
|
|
|
453
454
|
|
|
454
455
|
## Tool support
|
|
455
456
|
|
|
456
|
-
The pipeline runs natively on **Claude Code**, **Copilot CLI** and **Codex CLI** - all three install from the same `pipeline/` source and get the same
|
|
457
|
+
The pipeline runs natively on **Claude Code**, **Copilot CLI** and **Codex CLI** - all three install from the same `pipeline/` source and get the same <!-- fact:commandCount -->71<!-- /fact --> commands.
|
|
457
458
|
|
|
458
459
|
| Tool | Flag | What it installs |
|
|
459
460
|
| ----------- | -------------------- | ------------------------------------------------------------------------------------------------------ |
|
|
460
461
|
| Claude Code | `--claude` (default) | slash commands + skills + agents + the enforcement hooks (secret scan, agent-guard, read-size gate, run-scope guard, run-stop guard) |
|
|
461
|
-
| Copilot CLI | `--copilot` | instructions +
|
|
462
|
-
| Codex CLI | `--codex` | one router skill +
|
|
462
|
+
| Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->71<!-- /fact --> sub-command skills + scripts |
|
|
463
|
+
| Codex CLI | `--codex` | one router skill + <!-- fact:commandCount -->71<!-- /fact --> specs as refs + <!-- fact:agentCount -->11<!-- /fact --> agent TOML + `AGENTS.md` block + `codex mcp add` |
|
|
463
464
|
|
|
464
465
|
Filter skills by stack with `--platform=ios\|android\|all`.
|
|
465
466
|
|
|
466
|
-
**Why Codex gets one skill and not
|
|
467
|
+
**Why Codex gets one skill and not <!-- fact:commandCount -->71<!-- /fact -->.** Codex assembles every discovered skill's name
|
|
467
468
|
and description into a single prompt block and drops entries when it overflows, with no
|
|
468
469
|
error. Measured on 0.145: installing one plugin that declares 142 skills surfaced only
|
|
469
470
|
75 of them and evicted an unrelated user skill. So on Codex the pipeline ships a single
|
|
@@ -519,7 +520,7 @@ Installing the pipeline is not only useful when you run it. Open an ordinary ses
|
|
|
519
520
|
|
|
520
521
|
- **Services you already onboarded.** The token `setup` mapped is readable now - resolve the logical name through `credential-store.sh` and fetch the issue, the page, the log. **Reads are ordinary work; writes are not.** Posting a Jira comment, editing an issue or opening a PR goes through the pipeline commands, because the rules that make those safe (never auto-close, `Ref:` not `Closes:`, humanizer on outward prose) live there.
|
|
521
522
|
- **The stack skills `/multi-agent:stack` enabled for the repo.** Each toolkit's own `index` skill routes; the pipeline keeps no copy of that table.
|
|
522
|
-
- **The `multi-agent-toolkit` MCP.** 227 tools, most of them for a running app - screen state, crash logs, design comparison, store pre-submission, web scraping and browser test states. Several measure instead of judging by eye: WCAG contrast (`design_contrast_check`), layout shift across themes or a mirrored locale (`ios_visual_diff` with `mode: "layout"`), store listing limits (`store_listing_lint`), review themes with verbatim quotes (`store_review_themes`) and whether security findings cite real lines (`security_evidence_check`, with `security_sarif_export` for code-scanning views). The learnings ledger and the code graph are readable through it too (`learnings_*`, `graph_*`).
|
|
523
|
+
- **The `multi-agent-toolkit` MCP.** <!-- fact:toolCount -->227<!-- /fact --> tools, most of them for a running app - screen state, crash logs, design comparison, store pre-submission, web scraping and browser test states. Several measure instead of judging by eye: WCAG contrast (`design_contrast_check`), layout shift across themes or a mirrored locale (`ios_visual_diff` with `mode: "layout"`), store listing limits (`store_listing_lint`), review themes with verbatim quotes (`store_review_themes`) and whether security findings cite real lines (`security_evidence_check`, with `security_sarif_export` for code-scanning views). The learnings ledger and the code graph are readable through it too (`learnings_*`, `graph_*`).
|
|
523
524
|
|
|
524
525
|
Uninstall preserves this layer: the tokens, the reader that opens them, the mapping that names them, and the MCP registration. Removing the pipeline should not cost you the credentials you onboarded through it.
|
|
525
526
|
|
package/README.tr.md
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
🇬🇧 English: [README.md](./README.md)
|
|
10
10
|
|
|
11
|
-
**Claude Code**, **Copilot CLI** ve **Codex CLI** için 6 fazlı bir AI geliştirme pipeline'ı. Bir Jira issue'sunu veya GitHub URL'sini tek komutla merge edilmiş bir PR'a dönüştürür - analiz → plan → TDD → review → test → commit → PR - çoklu-repo orkestrasyonu, bir plan-onay kapısı, CLI-farkında paralel review ve store-uyumluluk kontrolleriyle birlikte. Component ve Figma-to-code işleri paket içine gömülmek yerine stack başına marketplace plugin'lerine (iOS/SwiftUI, Android/Compose) devredilir, böylece component skill'leri tek bir yerde yaşar.
|
|
11
|
+
**Claude Code**, **Copilot CLI** ve **Codex CLI** için <!-- fact:phaseCount -->6<!-- /fact --> fazlı bir AI geliştirme pipeline'ı. Bir Jira issue'sunu veya GitHub URL'sini tek komutla merge edilmiş bir PR'a dönüştürür - analiz → plan → TDD → review → test → commit → PR - çoklu-repo orkestrasyonu, bir plan-onay kapısı, CLI-farkında paralel review ve store-uyumluluk kontrolleriyle birlikte. Component ve Figma-to-code işleri paket içine gömülmek yerine stack başına marketplace plugin'lerine (iOS/SwiftUI, Android/Compose) devredilir, böylece component skill'leri tek bir yerde yaşar.
|
|
12
12
|
|
|
13
13
|
Claude Code, Copilot CLI ve Codex CLI üzerinde native çalışır. Yalnızca macOS. Sıfır runtime dependency.
|
|
14
14
|
|
|
15
|
-
📐 **[Mimari diyagramları](./docs/architecture.md)** - 6 faz akışı, çalışma modları, review/triage, Figma subphase'leri, component yapısı. **[Ekosistem diyagramı](./docs/ecosystem.md)** - bu repo, `multi-agent-plugins` marketplace'i ve `multi-agent-toolkit-mcp`'nin nasıl bir araya geldiği.
|
|
15
|
+
📐 **[Mimari diyagramları](./docs/architecture.md)** - <!-- fact:phaseCount -->6<!-- /fact --> faz akışı, çalışma modları, review/triage, Figma subphase'leri, component yapısı. **[Ekosistem diyagramı](./docs/ecosystem.md)** - bu repo, `multi-agent-plugins` marketplace'i ve `multi-agent-toolkit-mcp`'nin nasıl bir araya geldiği.
|
|
16
16
|
|
|
17
17
|
### Önkoşullar
|
|
18
18
|
|
|
@@ -90,7 +90,7 @@ Sonra `/multi-agent:update` ile güncelle. Kaldırmak için (tokenlar korunur) `
|
|
|
90
90
|
|
|
91
91
|
## Nasıl çalışır
|
|
92
92
|
|
|
93
|
-
Tek komut 6 fazı çalıştırır, riskli olanlar arasında bir kapı ile. Her koşu
|
|
93
|
+
Tek komut <!-- fact:phaseCount -->6<!-- /fact --> fazı çalıştırır, riskli olanlar arasında bir kapı ile. Her koşu
|
|
94
94
|
tüm kümeyi taşır; Faz 0'ın şekil hakkında sorduğu tek soru branch'in nerede
|
|
95
95
|
yaşayacağı: worktree mi, mevcut checkout'un mu.
|
|
96
96
|
|
|
@@ -148,8 +148,8 @@ Bunun arkasındaki disiplin - sınırlı loop'lar, kanıt kapıları, token-büt
|
|
|
148
148
|
|
|
149
149
|
| Mod | Komut | Akış |
|
|
150
150
|
| --------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
151
|
-
| Full | `/multi-agent "task"` | Tüm 6 faz, interaktif |
|
|
152
|
-
| Autopilot | `/multi-agent:autopilot "task"` | Aynı 6 faz, onaysız; çalışma alanı worktree'ye çözülür ve Review içindeki kullanıcı-test kapısı atlanır |
|
|
151
|
+
| Full | `/multi-agent "task"` | Tüm <!-- fact:phaseCount -->6<!-- /fact --> faz, interaktif |
|
|
152
|
+
| Autopilot | `/multi-agent:autopilot "task"` | Aynı <!-- fact:phaseCount -->6<!-- /fact --> faz, onaysız; çalışma alanı worktree'ye çözülür ve Review içindeki kullanıcı-test kapısı atlanır |
|
|
153
153
|
| Audit | `/multi-agent:design-check` | Mock-mode vs Figma uygunluğu, yalnızca lokal |
|
|
154
154
|
| Audit | `/multi-agent:testflight-validation` | TestFlight build için pre-submission kapıları: statik archive denetimi → Apple'ın `altool --validate-app`'i → Review-Guidelines kontrolü. Yalnızca doğrular, asla yüklemez |
|
|
155
155
|
|
|
@@ -157,7 +157,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
|
|
|
157
157
|
|
|
158
158
|
## Komutlar
|
|
159
159
|
|
|
160
|
-
`/multi-agent` ve
|
|
160
|
+
`/multi-agent` ve <!-- fact:commandCount -->71<!-- /fact --> alt komut. `/multi-agent:help` aynı katalogu terminalde, `outputLanguage` ayarına göre gösterir.
|
|
161
161
|
|
|
162
162
|
### Pipeline girişleri
|
|
163
163
|
|
|
@@ -261,6 +261,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
|
|
|
261
261
|
| `/multi-agent:sync` | Tek atımlık senkron: Claude Code, Copilot CLI, pipeline repo, website, toolkit MCP |
|
|
262
262
|
| `/multi-agent:update` | npm'deki son yayına günceller ve migration'ları koşar |
|
|
263
263
|
| `/multi-agent:doctor` | Kurulumun sağlık kontrolü: yerleşim, tercihler, kimlik bilgileri, hook'lar, host yetenekleri; çıkış kodu verdiktin kendisi |
|
|
264
|
+
| `/multi-agent:health` | Makineye tek bakış: servisler, toolkit, kurulum, oturumlar ve bugünün maliyeti, autopilot, ofis, disk, hatalar |
|
|
264
265
|
| `/multi-agent:uninstall` | Pipeline'ı her CLI'dan kaldırır. Keychain token'larına hiç dokunmaz |
|
|
265
266
|
| `/multi-agent:serve` | İstemci için yerel sözleşme sunucusu: yalnızca 127.0.0.1, token, boşta durur |
|
|
266
267
|
| `/multi-agent:help` | Bu katalog, terminalde, `outputLanguage`'ine göre |
|
|
@@ -453,17 +454,17 @@ Bu, ilgili plugin'i (+ ortak `ai-common` plugin'ini) repo'nun `.claude/settings.
|
|
|
453
454
|
|
|
454
455
|
## Araç desteği
|
|
455
456
|
|
|
456
|
-
Pipeline **Claude Code**, **Copilot CLI** ve **Codex CLI** üzerinde native çalışır - üçü de aynı `pipeline/` kaynağından kurulur ve aynı
|
|
457
|
+
Pipeline **Claude Code**, **Copilot CLI** ve **Codex CLI** üzerinde native çalışır - üçü de aynı `pipeline/` kaynağından kurulur ve aynı <!-- fact:commandCount -->71<!-- /fact --> komutu alır.
|
|
457
458
|
|
|
458
459
|
| Araç | Bayrak | Ne kurar |
|
|
459
460
|
| ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
460
461
|
| Claude Code | `--claude` (varsayılan) | slash komutları + skill'ler + agent'lar + üç `PreToolUse` hook'u (secret scan, agent-guard, okuma-boyutu geçidi) |
|
|
461
|
-
| Copilot CLI | `--copilot` | talimatlar +
|
|
462
|
-
| Codex CLI | `--codex` | bir router skill + ref olarak
|
|
462
|
+
| Copilot CLI | `--copilot` | talimatlar + <!-- fact:commandCount -->71<!-- /fact --> alt-komut skill'i + script'ler |
|
|
463
|
+
| Codex CLI | `--codex` | bir router skill + ref olarak <!-- fact:commandCount -->71<!-- /fact --> spec + <!-- fact:agentCount -->11<!-- /fact --> agent TOML + `AGENTS.md` bloğu + `codex mcp add` |
|
|
463
464
|
|
|
464
465
|
Skill'leri stack'e göre filtrele: `--platform=ios\|android\|all`.
|
|
465
466
|
|
|
466
|
-
**Codex neden
|
|
467
|
+
**Codex neden <!-- fact:commandCount -->71<!-- /fact --> değil de tek bir skill alıyor.** Codex, keşfettiği her skill'in adını
|
|
467
468
|
ve açıklamasını tek bir prompt bloğuna toplar ve blok taştığında girdileri hatasızca
|
|
468
469
|
düşürür. 0.145 üzerinde ölçüldü: 142 skill deklare eden bir plugin kurulduğunda sadece
|
|
469
470
|
75'i yüzeye çıktı ve alakasız bir kullanıcı skill'i tahliye edildi. Bu yüzden Codex'te
|
|
@@ -519,7 +520,7 @@ Pipeline'ı kurmak yalnız onu çalıştırdığında işe yaramıyor. Sıradan
|
|
|
519
520
|
|
|
520
521
|
- **Zaten onboard ettiğin servisler.** `setup`'ın eşlediği token okunabilir durumda - mantıksal adı `credential-store.sh` ile çöz, issue'yu, sayfayı, logu getir. **Okuma sıradan iş, yazma değil.** Jira yorumu, issue düzenleme ve PR açma pipeline komutlarından geçer, çünkü onları güvenli kılan kurallar (issue asla otomatik kapanmaz, `Closes:` değil `Ref:`, dışa dönük metinde humanizer) orada yaşıyor.
|
|
521
522
|
- **`/multi-agent:stack`'in bu repo için açtığı stack skilleri.** Yönlendirmeyi her toolkit'in kendi `index` skill'i yapar; pipeline o tablonun kopyasını tutmaz.
|
|
522
|
-
- **`multi-agent-toolkit` MCP.** 227 araç, çoğu çalışan uygulama için - ekran durumu, crash logu, tasarım karşılaştırma, store ön-kontrolü, web kazıma ve tarayıcı test durumları. Bazı kontrolleri gözle değil ölçümle yapar. WCAG kontrastı `design_contrast_check` ile, tema ya da RTL değişince kayan yerleşim `ios_visual_diff` (`mode: "layout"`) ile ölçülür. Mağaza metni sınırlarını `store_listing_lint` denetler. `store_review_themes` yorumları temalara ayırır ve alıntıyı birebir bırakır. Güvenlik bulgularının gerçek satırlara dayandığını `security_evidence_check` doğrular; `security_sarif_export` kod tarama ekranları için SARIF yazar. Öğrenim kaydı (`learnings_*`) ve kod grafiği (`graph_*`) de buradan okunur.
|
|
523
|
+
- **`multi-agent-toolkit` MCP.** <!-- fact:toolCount -->227<!-- /fact --> araç, çoğu çalışan uygulama için - ekran durumu, crash logu, tasarım karşılaştırma, store ön-kontrolü, web kazıma ve tarayıcı test durumları. Bazı kontrolleri gözle değil ölçümle yapar. WCAG kontrastı `design_contrast_check` ile, tema ya da RTL değişince kayan yerleşim `ios_visual_diff` (`mode: "layout"`) ile ölçülür. Mağaza metni sınırlarını `store_listing_lint` denetler. `store_review_themes` yorumları temalara ayırır ve alıntıyı birebir bırakır. Güvenlik bulgularının gerçek satırlara dayandığını `security_evidence_check` doğrular; `security_sarif_export` kod tarama ekranları için SARIF yazar. Öğrenim kaydı (`learnings_*`) ve kod grafiği (`graph_*`) de buradan okunur.
|
|
523
524
|
|
|
524
525
|
Uninstall bu katmanı korur: token'lar, onları açan okuyucu, adlarını tutan eşleme ve MCP kaydı. Pipeline'ı kaldırmak, onun üzerinden onboard ettiğin credential'ları kaybetmek anlamına gelmemeli.
|
|
525
526
|
|
|
@@ -9,7 +9,7 @@ ADR-0003 (v3.5.0) collapsed the split `skills/claude/` + `skills/copilot/` into
|
|
|
9
9
|
By v5.3.x the maintenance burden of the flat tree became visible in everyday work:
|
|
10
10
|
|
|
11
11
|
- **Source navigation.** Browsing `pipeline/skills/shared/` on GitHub shows 148 sibling directories with no hint which ones are load-bearing for the pipeline vs. which ones are knowledge skills.
|
|
12
|
-
- **Code review cost.** Changes under `shared/` have very different risk profiles depending on which kind of skill changed. `multi-agent-sync/SKILL.md` is pipeline-critical - any drift breaks cross-CLI parity. `swiftui-
|
|
12
|
+
- **Code review cost.** Changes under `shared/` have very different risk profiles depending on which kind of skill changed. `multi-agent-sync/SKILL.md` is pipeline-critical - any drift breaks cross-CLI parity. `swiftui-review/SKILL.md` is a knowledge skill authored in this repo - edits almost never affect pipeline behavior.
|
|
13
13
|
- **Grep noise.** `grep -r skills/shared/` produces 148× the noise it should when searching for pipeline code.
|
|
14
14
|
- **Audit findings.** The v5.3.0 audit flagged this as technical debt worth addressing once the pipeline stabilized.
|
|
15
15
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Context
|
|
6
6
|
|
|
7
|
-
ADR-0006 split the source tree into `shared/core/` + `shared/external/` but kept the install unchanged: both trees flattened into `~/.claude/skills/`. Since then the same external catalog also became the authoring source for the `multi-agent-plugins` marketplace (`build-stack-plugins.mjs` derives each plugin's `knowledge/` layer from it), and Claude Code loads those plugins natively, namespaced (`ai-ios-toolkit:swiftui-
|
|
7
|
+
ADR-0006 split the source tree into `shared/core/` + `shared/external/` but kept the install unchanged: both trees flattened into `~/.claude/skills/`. Since then the same external catalog also became the authoring source for the `multi-agent-plugins` marketplace (`build-stack-plugins.mjs` derives each plugin's `knowledge/` layer from it), and Claude Code loads those plugins natively, namespaced (`ai-ios-toolkit:swiftui-review`).
|
|
8
8
|
|
|
9
9
|
That left Claude Code receiving every stack skill **twice**:
|
|
10
10
|
|
package/docs/architecture.md
CHANGED
|
@@ -28,6 +28,7 @@ graph TD
|
|
|
28
28
|
|
|
29
29
|
## Operating Modes
|
|
30
30
|
|
|
31
|
+
<!-- facts: phaseCount="phase)" -->
|
|
31
32
|
```mermaid
|
|
32
33
|
graph LR
|
|
33
34
|
subgraph Normal ["Normal (Full 6-phase)"]
|
|
@@ -105,6 +106,7 @@ graph TD
|
|
|
105
106
|
|
|
106
107
|
## Component Architecture
|
|
107
108
|
|
|
109
|
+
<!-- facts: commandCount="command files" agentCount="agent personas" -->
|
|
108
110
|
```mermaid
|
|
109
111
|
graph TB
|
|
110
112
|
subgraph "CLI Layer"
|
|
@@ -113,7 +115,7 @@ graph TB
|
|
|
113
115
|
end
|
|
114
116
|
|
|
115
117
|
subgraph "Pipeline Specs"
|
|
116
|
-
CMD[commands/<br/>
|
|
118
|
+
CMD[commands/<br/>71 command files]
|
|
117
119
|
AGT[agents/<br/>11 agent personas]
|
|
118
120
|
RUL[rules/<br/>13 domain rules]
|
|
119
121
|
PHS[multi-agent-refs/phases/<br/>phase specs + contracts]
|
|
@@ -201,11 +203,12 @@ run behaves as before. Detail:
|
|
|
201
203
|
repo and the website, plus the two independently shipped repos
|
|
202
204
|
(`multi-agent-plugins`, `multi-agent-toolkit-mcp`):
|
|
203
205
|
|
|
206
|
+
<!-- facts: commandCount="sub-command skills" commandCount="refs" -->
|
|
204
207
|
```mermaid
|
|
205
208
|
graph TD
|
|
206
209
|
CC["Claude Code<br/>(source of truth)"]
|
|
207
|
-
COP["Copilot CLI<br/>(instructions +
|
|
208
|
-
COD["Codex CLI<br/>(1 router skill +
|
|
210
|
+
COP["Copilot CLI<br/>(instructions + 71 sub-command skills)"]
|
|
211
|
+
COD["Codex CLI<br/>(1 router skill + 71 refs)"]
|
|
209
212
|
REPO["Pipeline Repo<br/>(npm package)"]
|
|
210
213
|
WEB["Website"]
|
|
211
214
|
PLUGREPO["multi-agent-plugins<br/>(6 plugins, own repo)"]
|
package/docs/ecosystem.md
CHANGED
|
@@ -5,20 +5,21 @@ separately, wired together at install time and at run time:
|
|
|
5
5
|
|
|
6
6
|
| Repo | What it owns | Ships as |
|
|
7
7
|
|---|---|---|
|
|
8
|
-
| **`multi-agent-pipeline`** (this repo) | Orchestration: the 6
|
|
8
|
+
| **`multi-agent-pipeline`** (this repo) | Orchestration: the <!-- fact:phaseCount -->6<!-- /fact -->-phase flow, the <!-- fact:commandCount -->71<!-- /fact --> slash commands, quality gates, review/triage, cross-CLI parity | npm package (`@mmerterden/multi-agent-pipeline`), installs itself onto Claude Code / Copilot CLI / Codex CLI |
|
|
9
9
|
| **`multi-agent-plugins`** | Stack knowledge: per-platform component/lifecycle skills (iOS, Android, Frontend, Backend) + shared knowledge | Claude Code marketplace, 6 independently-versioned plugins |
|
|
10
|
-
| **`multi-agent-toolkit-mcp`** | The pipeline's hands on devices and browsers: 227 MCP tools across 23 families (simulator/emulator control, end-to-end locators and assertions, memory, crash diagnostics, accessibility audit, store compliance and listing lint, web automation and scraping, Figma-vs-mock design audit with contrast checks, code intelligence, a code graph, a learnings ledger, wallet passes, an agent-DSL batch runner, a full-text context index with text-to-image rendering, provider-backed and community research, opt-in social reading, verified hand-off of simple text tasks to free models, video key frames and transcripts, offline security scoring with evidence checks and SARIF export, read-only access to related repositories at their latest branch, travel document fixtures, a voice channel, App Store Connect and Play Console APIs, virtual iPhones) | npm package, registered as a standard stdio MCP server on every host |
|
|
10
|
+
| **`multi-agent-toolkit-mcp`** | The pipeline's hands on devices and browsers: <!-- fact:toolCount -->227<!-- /fact --> MCP tools across <!-- fact:toolFamilyCount -->23<!-- /fact --> families (simulator/emulator control, end-to-end locators and assertions, memory, crash diagnostics, accessibility audit, store compliance and listing lint, web automation and scraping, Figma-vs-mock design audit with contrast checks, code intelligence, a code graph, a learnings ledger, wallet passes, an agent-DSL batch runner, a full-text context index with text-to-image rendering, provider-backed and community research, opt-in social reading, verified hand-off of simple text tasks to free models, video key frames and transcripts, offline security scoring with evidence checks and SARIF export, read-only access to related repositories at their latest branch, travel document fixtures, a voice channel, App Store Connect and Play Console APIs, virtual iPhones) | npm package, registered as a standard stdio MCP server on every host |
|
|
11
11
|
|
|
12
12
|
None of the three depends on the others at the code level. They compose through two
|
|
13
13
|
narrow contracts: the **Skill tool** (pipeline → plugin, at Phase 2) and the **MCP
|
|
14
14
|
protocol** (pipeline skills → multi-agent-toolkit, at Phase 3 / design-check / store-ready).
|
|
15
15
|
Either can be swapped or removed without touching the other two's source.
|
|
16
16
|
|
|
17
|
+
<!-- facts: phaseCount="phases" commandCount="commands" -->
|
|
17
18
|
```mermaid
|
|
18
19
|
graph LR
|
|
19
20
|
subgraph PIPE ["multi-agent-pipeline (orchestrator)"]
|
|
20
21
|
direction TB
|
|
21
|
-
PHASES["6 phases ·
|
|
22
|
+
PHASES["6 phases · 71 commands"]
|
|
22
23
|
GATES["deterministic gates + review triage"]
|
|
23
24
|
end
|
|
24
25
|
|
|
@@ -64,12 +65,13 @@ derived, synced, or independently-shipped artifact. `/multi-agent:sync` is the o
|
|
|
64
65
|
command that walks all six targets in order, detects which are stale, and updates
|
|
65
66
|
only those:
|
|
66
67
|
|
|
68
|
+
<!-- facts: commandCount="sub-command skills" commandCount="refs" agentCount="agent TOML" -->
|
|
67
69
|
```mermaid
|
|
68
70
|
graph TD
|
|
69
71
|
CC["Claude Code<br/>~/.claude/commands/multi-agent/<br/>(source of truth)"]
|
|
70
72
|
|
|
71
|
-
CC -->|"Step 2: copy + reformat<br/>
|
|
72
|
-
CC -->|"Step 2b: transform<br/>(install.js --codex)"| COD["Codex CLI<br/>1 router skill +
|
|
73
|
+
CC -->|"Step 2: copy + reformat<br/>71 sub-command skills"| COP["Copilot CLI<br/>~/.copilot/skills/"]
|
|
74
|
+
CC -->|"Step 2b: transform<br/>(install.js --codex)"| COD["Codex CLI<br/>1 router skill + 71 refs<br/>+ 11 agent TOML"]
|
|
73
75
|
CC -->|"Step 3: genericize<br/>(strip personal data)"| REPO["multi-agent-pipeline repo<br/>pipeline/"]
|
|
74
76
|
CC -->|"Step 4: version + feature sync"| WEB["Website<br/>projects.ts / i18n.tsx"]
|
|
75
77
|
|
|
@@ -108,6 +110,7 @@ hand-authored *inside* `multi-agent-plugins` and are never touched by sync.
|
|
|
108
110
|
|
|
109
111
|
## 2. Plugin marketplace build: one authoring source, six versioned artifacts
|
|
110
112
|
|
|
113
|
+
<!-- facts: skillCount="skills - single authoring source" -->
|
|
111
114
|
```mermaid
|
|
112
115
|
graph TD
|
|
113
116
|
EXT["pipeline/skills/shared/external/<br/>166 skills - single authoring source<br/>(the pipeline's own phases read these too)"]
|
|
@@ -133,7 +136,7 @@ graph TD
|
|
|
133
136
|
style EXT fill:#ffd,stroke:#333
|
|
134
137
|
```
|
|
135
138
|
|
|
136
|
-
The plugins' skill counts sum to more than the 166
|
|
139
|
+
The plugins' skill counts sum to more than the <!-- fact:skillCount -->166<!-- /fact -->-skill source because each
|
|
137
140
|
plugin also carries its own authored `reference/`, `workflow/` and `tools/`
|
|
138
141
|
skills and an `index` router. A vendored knowledge skill ships in exactly one
|
|
139
142
|
plugin: cross-stack skills go to `ai-common-toolkit` rather than into every
|
|
@@ -159,7 +162,7 @@ measurements behind this table):
|
|
|
159
162
|
|
|
160
163
|
| | Claude Code | Copilot CLI | Codex CLI |
|
|
161
164
|
|---|---|---|---|
|
|
162
|
-
| **Pipeline commands** |
|
|
165
|
+
| **Pipeline commands** | <!-- fact:commandCount -->71<!-- /fact --> slash-command skills, native | <!-- fact:commandCount -->71<!-- /fact --> sub-command skills, `multi-agent-{cmd}` naming, copied in | 1 router skill (`multi-agent`) + <!-- fact:commandCount -->71<!-- /fact --> command specs as reference files - Codex silently truncates its skills block past a few dozen entries, so sub-commands are not peer skills here |
|
|
163
166
|
| **Stack plugins** | Marketplace plugin, loaded natively, resolved by `.claude/settings.json` enabled-list | Enabled plugin's authored skills copied flat into `~/.copilot/skills/`; `knowledge/` **not** re-copied (already delivered via `shared/external`) | Copied as reference files under `~/.codex/multi-agent-refs/skills/`, plugin-prefixed on name clash (e.g. `architecture` → `ai-ios-toolkit-architecture`) |
|
|
164
167
|
| **Component dispatch (Phase 3)** | Marketplace plugin's `create-component`/`create-screen` skill via the Skill tool | No plugin loader - the enabled stack plugin's authored skills (incl. `create-component`) are copied flat into `~/.copilot/skills/` at install time (the old frozen `figma-*` copies are pruned, they were never a fallback) | Not part of the enforced parity axis; classification + state-shape must match, skill *inventory* does not |
|
|
165
168
|
| **multi-agent-toolkit-mcp** | `claude mcp add multi-agent-toolkit -- npx -y @mmerterden/multi-agent-toolkit-mcp` | `copilot mcp add multi-agent-toolkit -- npx -y @mmerterden/multi-agent-toolkit-mcp` | `codex mcp add multi-agent-toolkit -- npx -y @mmerterden/multi-agent-toolkit-mcp` (skipped with a warning if `codex` isn't on `PATH`) |
|
|
@@ -236,8 +239,8 @@ Detail: [`unattended-security.md`](../pipeline/multi-agent-refs/features/unatten
|
|
|
236
239
|
|
|
237
240
|
### multi-agent-toolkit-mcp's tools, by category
|
|
238
241
|
|
|
239
|
-
227 tools in 23 families, counted from the server's own `tools/list` response
|
|
240
|
-
at toolkit 3.
|
|
242
|
+
<!-- fact:toolCount -->227<!-- /fact --> tools in <!-- fact:toolFamilyCount -->23<!-- /fact --> families, counted from the server's own `tools/list` response
|
|
243
|
+
at toolkit <!-- fact:toolkitVersion -->3.29.0<!-- /fact --> rather than from a README. Three families are defined in
|
|
241
244
|
modules the main file only spreads in, so a count taken from the source reads
|
|
242
245
|
low; the response is the only place the whole surface appears at once. A
|
|
243
246
|
family is the prefix every tool name carries.
|
|
@@ -250,8 +253,8 @@ skill body and leaves frontmatter `allowed-tools` alone. Both qualified forms
|
|
|
250
253
|
let `lint-mcp-refs.mjs` check that the tool exists.
|
|
251
254
|
|
|
252
255
|
The families can be narrowed per host: `MCP_TOOLKIT_CAPS` serves only the named
|
|
253
|
-
ones, and unset serves all 227
|
|
254
|
-
sees 50 tools instead of 227
|
|
256
|
+
ones, and unset serves all <!-- fact:toolCount -->227<!-- /fact -->. A frontend repo that sets `web,code,context`
|
|
257
|
+
sees 50 tools instead of <!-- fact:toolCount -->227<!-- /fact -->, which matters because every registered server's
|
|
255
258
|
tool list is charged against the context window on every turn.
|
|
256
259
|
|
|
257
260
|
| Family | Tools | Primary pipeline consumers |
|
package/docs/engineering.md
CHANGED
|
@@ -26,7 +26,7 @@ Every loop in the pipeline has a deterministic exit condition and a hard iterati
|
|
|
26
26
|
|
|
27
27
|
## Context management
|
|
28
28
|
|
|
29
|
-
- **Token-budgeted phase docs**: every phase document has a per-file and total token budget enforced by a smoke gate (`token-budget.json`). Growth is compressed first; budgets are recalibrated only when real contract text lands. This keeps the orchestrator's working context lean across a 6
|
|
29
|
+
- **Token-budgeted phase docs**: every phase document has a per-file and total token budget enforced by a smoke gate (`token-budget.json`). Growth is compressed first; budgets are recalibrated only when real contract text lands. This keeps the orchestrator's working context lean across a <!-- fact:phaseCount -->6<!-- /fact -->-phase run.
|
|
30
30
|
- **Lazy loading**: only the active phase's document is in context; references load on demand.
|
|
31
31
|
- **Structured handoff blocks**: at every phase boundary the orchestrator appends a Done / Remaining / Decisions / Open findings / Next block to the run log - written from state it already holds, no extra model call. Resume and post-compaction re-entry read the latest handoff plus the state file, never the conversation history.
|
|
32
32
|
- **Proactive compaction**: past ~50% context usage the run compacts itself and re-grounds from durable artifacts instead of waiting for lossy auto-compaction.
|
|
@@ -62,6 +62,7 @@ Every loop in the pipeline has a deterministic exit condition and a hard iterati
|
|
|
62
62
|
- **Layout fingerprint**: a fixture pins the installed file layout; structural drift fails the suite.
|
|
63
63
|
- **Advisory update check**: at run start (cached, bounded, offline-silent) the pipeline compares its installed version with the registry; interactive runs offer a one-question update, autopilot only logs. It never blocks and never self-modifies mid-run.
|
|
64
64
|
- **Token-preserving uninstall**: removing the pipeline never touches the user's stored credentials.
|
|
65
|
+
- **Supported upgrade floor**: `install/supported-floor.json` names the oldest installed version the installer upgrades in place (`minimumUpgradeFrom`). An install stamped below it (`~/.claude/.pipeline-version`, or the Copilot / Codex stamp of a selected target) is refused before anything is written, with the uninstall-then-install commands for a fresh reinstall. Migrations for versions below the floor are not carried.
|
|
65
66
|
|
|
66
67
|
## Security and hygiene
|
|
67
68
|
|
package/docs/facts.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "Generated by pipeline/scripts/gen-facts.mjs. Do not hand-edit: the site reads this, and a number edited here instead of at its source is the drift this file removes.",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
4
|
-
"version": "20.
|
|
3
|
+
"generatedAt": "2026-11-02",
|
|
4
|
+
"version": "20.39.1",
|
|
5
5
|
"phaseSchema": 2,
|
|
6
6
|
"phases": [
|
|
7
7
|
{
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"autopilot": [0, 1, 2, 3, 4, 5],
|
|
36
36
|
"analysis": [0, 1, 2, 3, 4, 5]
|
|
37
37
|
},
|
|
38
|
-
"commandCount":
|
|
38
|
+
"commandCount": 71,
|
|
39
39
|
"skillCount": 166,
|
|
40
|
-
"skillCountAll":
|
|
40
|
+
"skillCountAll": 240,
|
|
41
41
|
"agentCount": 11,
|
|
42
42
|
"hosts": ["Claude Code", "Codex CLI", "Copilot CLI"],
|
|
43
43
|
"toolCount": 227,
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"test": 1
|
|
68
68
|
},
|
|
69
69
|
"pluginSkillCount": 262,
|
|
70
|
-
"toolkitVersion": "3.
|
|
70
|
+
"toolkitVersion": "3.29.0"
|
|
71
71
|
}
|
package/docs/features.md
CHANGED
|
@@ -54,7 +54,7 @@ The install is not only useful while `/multi-agent` is running. `rules/outside-t
|
|
|
54
54
|
|
|
55
55
|
- **Onboarded service credentials.** Resolve the logical name through `credential-store.sh` and read the issue, page or log. Writes route through the pipeline commands, which carry the rules that make them safe - issues are never auto-closed, PR bodies use `Ref:`, outward prose goes through the humanizer.
|
|
56
56
|
- **The stack skills enabled for this repo.** Each toolkit's own `index` skill routes. The pipeline reads the effective `enabledPlugins` rather than keeping a stack table, so a seventh toolkit needs no code change.
|
|
57
|
-
- **The `multi-agent-toolkit` MCP.** 227 tools, most of them for a running app.
|
|
57
|
+
- **The `multi-agent-toolkit` MCP.** <!-- fact:toolCount -->227<!-- /fact --> tools, most of them for a running app.
|
|
58
58
|
|
|
59
59
|
Uninstall preserves the whole layer - tokens, the reader that opens them, the mapping that names them, the MCP registration. It is 1.5 kB of always-loaded text; the detail lives in a ref that loads on demand, and a gate keeps both under a ceiling because every byte there is paid by every session.
|
|
60
60
|
|
|
@@ -149,7 +149,7 @@ Result persisted to `agent-state.taskType`:
|
|
|
149
149
|
|
|
150
150
|
### SubPhase Convention
|
|
151
151
|
|
|
152
|
-
When a specialized skill takes over a main pipeline phase, progress is reported as SubPhases (e.g. `SubPhase 3.0: Init`, `SubPhase 3.1: Gather`). The top-level pipeline stays fixed at 6 phases (0-5) - specialized work slots into its parent phase without inflating the count.
|
|
152
|
+
When a specialized skill takes over a main pipeline phase, progress is reported as SubPhases (e.g. `SubPhase 3.0: Init`, `SubPhase 3.1: Gather`). The top-level pipeline stays fixed at <!-- fact:phaseCount -->6<!-- /fact --> phases (0-5) - specialized work slots into its parent phase without inflating the count.
|
|
153
153
|
|
|
154
154
|
## PR & Review Flow
|
|
155
155
|
|
|
@@ -359,7 +359,7 @@ Commands (`commands.mjs --json`) and run questions (`launch-request.mjs question
|
|
|
359
359
|
- **Operational Reporting** (`prefs.global.usageLog`): coarse run metadata - task id and type, current phase, run status (in progress, completed, halted, parked), phase durations, whether a PR opened, token counts - sent at every phase transition and at completion, halt and park, and never prompts, code, diffs or absolute paths (task title and PR URL only when `includeTitle` / `includePrUrl` are set). Runs are reported under the GitHub account on the machine that can read the pipeline repository, found with no question asked through gh, the git credential helper or an SSH key (`usage-identity.mjs`, cached in `usageLog.login` / `loginMethod`, `--refresh` to re-check); with no such account nothing is sent. The per-machine token is REQUESTED from the endpoint by `usage-register.mjs` (setup, update, and the Phase 0 exit gate as a backstop), is write-only, and lives in the OS credential store; prefs hold only the entry name and the switch. `usageLog.optOut: true` blocks registration permanently and is checked before the network call. Registration proves the login with that account's gh or credential-helper token, or with an SSH signature over a server challenge. The server issues a token only to the repository owner or a collaborator, pins the login to it, and shows only those accounts' records on the panel. An unreachable endpoint leaves reporting off with one line and exit 0 - a run is never failed over bookkeeping.
|
|
360
360
|
- **Post-Edit Syntax Gate** (opt-in, `prefs.global.editSyntaxGate.enabled`): after a file edit, `edit-syntax-gate.sh` parses the file within 2 s (`swiftc -parse`, `node --check`, `py_compile` into a temp dir, JSON, `bash -n`; Kotlin skipped) and hands a syntax error to the model as hook context. It never blocks and stays silent when a parser is missing or slow. Registered on Claude Code and Codex: Claude Code `PostToolUse` on `Edit|Write|MultiEdit` (`claude-hooks.json`), Codex `PostToolUse` on `apply_patch`, checking every file the patch adds, updates or moves to (`codex-hooks.json`, merged into `~/.codex/hooks.json`, run once trusted in Codex's `/hooks`). `/multi-agent:setup` Step 8 offers it; on Codex it calls `host-hooks.mjs install`, and uninstall takes it back. Copilot CLI gets no registration: as of 1.0.45 it loads `~/.copilot/hooks/*.json` but discards a `postToolUse` hook's output and applies no matcher, so the gate would spawn on every tool call and the model would never see its message. Source for the Codex contract: the Codex hooks guide plus `codex-rs` (`hooks/src/engine`, `core/src/tools/handlers/apply_patch.rs`).
|
|
361
361
|
- **Build Queue**: All `xcodebuild` calls acquire a lock. Each worktree uses own `-derivedDataPath`. Stale locks auto-clean after 15 min. Non-Xcode builds don't need the lock.
|
|
362
|
-
- **Context Management**: `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=65` - compaction at 65% usage (prevents degradation in 6
|
|
362
|
+
- **Context Management**: `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=65` - compaction at 65% usage (prevents degradation in <!-- fact:phaseCount -->6<!-- /fact -->-phase sessions).
|
|
363
363
|
- **3-Iteration Hard Kill**: Any retry loop stops after 3 attempts, then pauses for user. No infinite loops.
|
|
364
364
|
|
|
365
365
|
## Testing & Quality
|
package/index.js
CHANGED
|
@@ -91,7 +91,6 @@ if (command === "--version" || command === "-v" || command === "version") {
|
|
|
91
91
|
npx @mmerterden/multi-agent-pipeline install --link Use symlinks (saves tokens, dev mode)
|
|
92
92
|
npx @mmerterden/multi-agent-pipeline install --dry-run Preview what would be written, write nothing
|
|
93
93
|
npx @mmerterden/multi-agent-pipeline install --index-only Ship only the skills index (dynamic skill loading)
|
|
94
|
-
npx @mmerterden/multi-agent-pipeline install --prune-external Also remove pre-v15 catalog copies that differ from the shipped catalog
|
|
95
94
|
|
|
96
95
|
Uninstall (token-preserving - Keychain untouched):
|
|
97
96
|
npx @mmerterden/multi-agent-pipeline uninstall Interactive: remove from all installed targets
|
|
@@ -101,7 +100,6 @@ if (command === "--version" || command === "-v" || command === "version") {
|
|
|
101
100
|
npx @mmerterden/multi-agent-pipeline uninstall --copilot Only Copilot CLI
|
|
102
101
|
npx @mmerterden/multi-agent-pipeline uninstall --codex Only Codex CLI
|
|
103
102
|
npx @mmerterden/multi-agent-pipeline uninstall --all-data ALSO remove pipeline settings + logs/state/metrics
|
|
104
|
-
npx @mmerterden/multi-agent-pipeline uninstall --cursor Legacy pre-v10.7 adapter-file cleanup (also --copilot-chat / --antigravity; --target=<path> overrides cwd)
|
|
105
103
|
|
|
106
104
|
Verify (is this install the thing that was published):
|
|
107
105
|
npx @mmerterden/multi-agent-pipeline verify Package hashes + ~/.claude drift
|
|
@@ -115,7 +113,6 @@ if (command === "--version" || command === "-v" || command === "version") {
|
|
|
115
113
|
|
|
116
114
|
Options:
|
|
117
115
|
--no-color Disable colored output
|
|
118
|
-
--target=<path> Uninstall only: project dir for the legacy adapter cleanup (--cursor / --copilot-chat / --antigravity; defaults to cwd). Install always targets $HOME.
|
|
119
116
|
--platform=ios|android|all Filter external skills by platform (default: all)
|
|
120
117
|
|
|
121
118
|
After installation:
|
|
@@ -210,11 +210,3 @@ function removeStalePipelineAgents(dest, personas) {
|
|
|
210
210
|
if (removed > 0) console.log(` -> removed ${removed} stale generated agent file(s)`);
|
|
211
211
|
return removed;
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Header the installer stamps on generated agent files. Uninstall matches on
|
|
216
|
-
* this rather than on a name list derived from the source tree: ownership has
|
|
217
|
-
* to be decidable from the installed file alone, since uninstall can run from a
|
|
218
|
-
* different pipeline version than the one that installed.
|
|
219
|
-
*/
|
|
220
|
-
export { GENERATED_MARKER as CODEX_AGENT_GENERATED_MARKER };
|
package/install/_common.mjs
CHANGED
|
@@ -1052,6 +1052,19 @@ export function wipeDir(dir) {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
|
|
1055
|
+
/**
|
|
1056
|
+
* A delivery-manifest entry names one skill directory and is joined onto the
|
|
1057
|
+
* skills dir before a recursive delete, so only a plain kebab-case name may
|
|
1058
|
+
* pass: "", ".." or a path would otherwise become the skills dir itself or a
|
|
1059
|
+
* directory above it.
|
|
1060
|
+
*
|
|
1061
|
+
* @param {unknown} name
|
|
1062
|
+
* @returns {boolean}
|
|
1063
|
+
*/
|
|
1064
|
+
export function isSkillDirName(name) {
|
|
1065
|
+
return typeof name === "string" && /^[a-z0-9]+(-[a-z0-9]+)*$/.test(name);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1055
1068
|
/**
|
|
1056
1069
|
* @param {string} a
|
|
1057
1070
|
* @param {string} b
|
|
@@ -1075,68 +1088,3 @@ export function dirsIdentical(a, b) {
|
|
|
1075
1088
|
}
|
|
1076
1089
|
return true;
|
|
1077
1090
|
}
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* True when every file under `dir` has the bytes of some version the catalog
|
|
1081
|
-
* shipped for that skill, per install/catalog-history.json. Such a copy holds
|
|
1082
|
-
* nothing of the user's; a file that never shipped means it was edited.
|
|
1083
|
-
*
|
|
1084
|
-
* @param {string} dir - installed skill dir
|
|
1085
|
-
* @param {{prefix: number, skills: Record<string, Record<string, string[]>>} | null} history
|
|
1086
|
-
* @param {string} name - catalog skill name
|
|
1087
|
-
* @returns {boolean}
|
|
1088
|
-
*/
|
|
1089
|
-
export function matchesShippedVersion(dir, history, name) {
|
|
1090
|
-
const shipped = history?.skills?.[name];
|
|
1091
|
-
if (!shipped) return false;
|
|
1092
|
-
const walk = (d) =>
|
|
1093
|
-
readdirSync(d, { withFileTypes: true }).flatMap((e) => {
|
|
1094
|
-
const p = join(d, e.name);
|
|
1095
|
-
if (e.isDirectory()) return walk(p);
|
|
1096
|
-
return e.isFile() ? [p] : [null];
|
|
1097
|
-
});
|
|
1098
|
-
const files = walk(dir);
|
|
1099
|
-
if (files.length === 0 || files.includes(null)) return false;
|
|
1100
|
-
return files.every((file) => {
|
|
1101
|
-
const rel = file
|
|
1102
|
-
.slice(dir.length + 1)
|
|
1103
|
-
.split(sep)
|
|
1104
|
-
.join("/");
|
|
1105
|
-
const buf = readFileSync(file);
|
|
1106
|
-
const hash = createHash("sha1")
|
|
1107
|
-
.update(`blob ${buf.length}\0`)
|
|
1108
|
-
.update(buf)
|
|
1109
|
-
.digest("hex")
|
|
1110
|
-
.slice(0, history.prefix);
|
|
1111
|
-
return shipped[rel]?.includes(hash) ?? false;
|
|
1112
|
-
});
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* @param {string} path - install/catalog-history.json
|
|
1117
|
-
* @returns {{prefix: number, skills: Record<string, Record<string, string[]>>} | null}
|
|
1118
|
-
*/
|
|
1119
|
-
export function loadCatalogHistory(path) {
|
|
1120
|
-
try {
|
|
1121
|
-
const data = JSON.parse(readFileSync(path, "utf-8"));
|
|
1122
|
-
return data && data.version === 1 && Number.isInteger(data.prefix) ? data : null;
|
|
1123
|
-
} catch {
|
|
1124
|
-
return null;
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* Same `local-only: true` frontmatter convention the command wrappers use:
|
|
1130
|
-
* a dir carrying it is the user's and no prune path may take it.
|
|
1131
|
-
*
|
|
1132
|
-
* @param {string} dir
|
|
1133
|
-
* @returns {boolean}
|
|
1134
|
-
*/
|
|
1135
|
-
export function isLocalOnlySkill(dir) {
|
|
1136
|
-
try {
|
|
1137
|
-
const skill = join(dir, "SKILL.md");
|
|
1138
|
-
return existsSync(skill) && /^local-only:\s*true\s*$/m.test(readFileSync(skill, "utf-8"));
|
|
1139
|
-
} catch {
|
|
1140
|
-
return true;
|
|
1141
|
-
}
|
|
1142
|
-
}
|