godpowers 0.15.0
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/AGENTS.md +37 -0
- package/CHANGELOG.md +639 -0
- package/INSPIRATION.md +52 -0
- package/LICENSE +21 -0
- package/README.md +232 -0
- package/SKILL.md +500 -0
- package/agents/god-archaeologist.md +139 -0
- package/agents/god-architect.md +92 -0
- package/agents/god-auditor.md +150 -0
- package/agents/god-browser-tester.md +144 -0
- package/agents/god-context-writer.md +137 -0
- package/agents/god-coordinator.md +138 -0
- package/agents/god-debt-assessor.md +132 -0
- package/agents/god-debugger.md +77 -0
- package/agents/god-deploy-engineer.md +87 -0
- package/agents/god-deps-auditor.md +111 -0
- package/agents/god-design-reviewer.md +137 -0
- package/agents/god-designer.md +171 -0
- package/agents/god-docs-writer.md +102 -0
- package/agents/god-executor.md +76 -0
- package/agents/god-explorer.md +110 -0
- package/agents/god-harden-auditor.md +163 -0
- package/agents/god-incident-investigator.md +144 -0
- package/agents/god-launch-strategist.md +103 -0
- package/agents/god-migration-strategist.md +126 -0
- package/agents/god-observability-engineer.md +76 -0
- package/agents/god-orchestrator.md +728 -0
- package/agents/god-org-context-loader.md +124 -0
- package/agents/god-planner.md +73 -0
- package/agents/god-pm.md +105 -0
- package/agents/god-quality-reviewer.md +74 -0
- package/agents/god-reconciler.md +230 -0
- package/agents/god-reconstructor.md +124 -0
- package/agents/god-repo-scaffolder.md +60 -0
- package/agents/god-retrospective.md +109 -0
- package/agents/god-roadmap-reconciler.md +123 -0
- package/agents/god-roadmap-updater.md +89 -0
- package/agents/god-roadmapper.md +82 -0
- package/agents/god-spec-reviewer.md +70 -0
- package/agents/god-spike-runner.md +119 -0
- package/agents/god-stack-selector.md +93 -0
- package/agents/god-standards-check.md +132 -0
- package/agents/god-storyteller.md +116 -0
- package/agents/god-updater.md +174 -0
- package/bin/install.js +514 -0
- package/extensions/data-pack/README.md +33 -0
- package/extensions/data-pack/agents/god-dashboard-builder.md +66 -0
- package/extensions/data-pack/agents/god-etl-engineer.md +64 -0
- package/extensions/data-pack/agents/god-ml-feature-engineer.md +66 -0
- package/extensions/data-pack/manifest.yaml +39 -0
- package/extensions/data-pack/package.json +42 -0
- package/extensions/data-pack/skills/god-dashboard.md +28 -0
- package/extensions/data-pack/skills/god-etl.md +28 -0
- package/extensions/data-pack/skills/god-ml-feature.md +28 -0
- package/extensions/data-pack/workflows/dashboard-arc.yaml +13 -0
- package/extensions/data-pack/workflows/etl-arc.yaml +13 -0
- package/extensions/data-pack/workflows/ml-feature-arc.yaml +13 -0
- package/extensions/launch-pack/README.md +36 -0
- package/extensions/launch-pack/agents/god-indie-hackers-strategist.md +128 -0
- package/extensions/launch-pack/agents/god-oss-release-strategist.md +125 -0
- package/extensions/launch-pack/agents/god-product-hunt-strategist.md +118 -0
- package/extensions/launch-pack/agents/god-show-hn-strategist.md +113 -0
- package/extensions/launch-pack/manifest.yaml +45 -0
- package/extensions/launch-pack/package.json +41 -0
- package/extensions/launch-pack/skills/god-indie-hackers.md +39 -0
- package/extensions/launch-pack/skills/god-oss-release.md +43 -0
- package/extensions/launch-pack/skills/god-product-hunt.md +41 -0
- package/extensions/launch-pack/skills/god-show-hn.md +40 -0
- package/extensions/launch-pack/workflows/indie-hackers.yaml +13 -0
- package/extensions/launch-pack/workflows/oss-release.yaml +13 -0
- package/extensions/launch-pack/workflows/product-hunt.yaml +13 -0
- package/extensions/launch-pack/workflows/show-hn.yaml +13 -0
- package/extensions/security-pack/README.md +48 -0
- package/extensions/security-pack/agents/god-hipaa-auditor.md +117 -0
- package/extensions/security-pack/agents/god-pci-auditor.md +100 -0
- package/extensions/security-pack/agents/god-soc2-auditor.md +107 -0
- package/extensions/security-pack/manifest.yaml +39 -0
- package/extensions/security-pack/package.json +42 -0
- package/extensions/security-pack/skills/god-hipaa-audit.md +41 -0
- package/extensions/security-pack/skills/god-pci-audit.md +40 -0
- package/extensions/security-pack/skills/god-soc2-audit.md +42 -0
- package/extensions/security-pack/workflows/hipaa-arc.yaml +15 -0
- package/extensions/security-pack/workflows/pci-arc.yaml +15 -0
- package/extensions/security-pack/workflows/soc2-arc.yaml +15 -0
- package/hooks/pre-tool-use.sh +40 -0
- package/hooks/session-start.sh +74 -0
- package/lib/README.md +28 -0
- package/lib/agent-browser-driver.js +215 -0
- package/lib/agent-cache.js +194 -0
- package/lib/agent-validator.js +275 -0
- package/lib/artifact-diff.js +168 -0
- package/lib/artifact-linter.js +142 -0
- package/lib/awesome-design.js +312 -0
- package/lib/browser-bridge.js +209 -0
- package/lib/budget.js +215 -0
- package/lib/checkpoint.js +390 -0
- package/lib/code-scanner.js +262 -0
- package/lib/context-budget.js +170 -0
- package/lib/context-writer.js +348 -0
- package/lib/cost-tracker.js +325 -0
- package/lib/cross-artifact-impact.js +162 -0
- package/lib/cross-repo-linkage.js +150 -0
- package/lib/design-detector.js +167 -0
- package/lib/design-spec.js +348 -0
- package/lib/drift-detector.js +212 -0
- package/lib/event-reader.js +174 -0
- package/lib/events.js +183 -0
- package/lib/extensions.js +257 -0
- package/lib/have-nots-validator.js +647 -0
- package/lib/impact.js +314 -0
- package/lib/impeccable-bridge.js +139 -0
- package/lib/intent.js +177 -0
- package/lib/linkage.js +232 -0
- package/lib/meta-linter.js +263 -0
- package/lib/multi-repo-detector.js +182 -0
- package/lib/otel-exporter.js +308 -0
- package/lib/recipes.js +186 -0
- package/lib/reverse-sync.js +332 -0
- package/lib/review-required.js +224 -0
- package/lib/router.js +278 -0
- package/lib/runtime-audit.js +455 -0
- package/lib/runtime-test.js +309 -0
- package/lib/skillui-bridge.js +216 -0
- package/lib/state-lock.js +201 -0
- package/lib/state.js +142 -0
- package/lib/story-validator.js +301 -0
- package/lib/suite-state.js +220 -0
- package/lib/workflow-parser.js +109 -0
- package/lib/workflow-runner.js +221 -0
- package/package.json +63 -0
- package/references/HAVE-NOTS.md +573 -0
- package/references/building/BUILD-ANTIPATTERNS.md +102 -0
- package/references/building/BUILD-VERTICAL-SLICES.md +75 -0
- package/references/building/BUILD-WAVES.md +61 -0
- package/references/building/README.md +17 -0
- package/references/design/COLOR.md +122 -0
- package/references/design/DESIGN-ANATOMY.md +121 -0
- package/references/design/DESIGN-ANTIPATTERNS.md +108 -0
- package/references/design/INTERACTION.md +148 -0
- package/references/design/MOTION.md +120 -0
- package/references/design/RESPONSIVE.md +157 -0
- package/references/design/SPATIAL.md +109 -0
- package/references/design/TYPOGRAPHY.md +121 -0
- package/references/design/UX-WRITING.md +135 -0
- package/references/orchestration/MODE-DETECTION.md +74 -0
- package/references/orchestration/README.md +18 -0
- package/references/orchestration/SCALE-DETECTION.md +81 -0
- package/references/planning/ARCH-ANATOMY.md +143 -0
- package/references/planning/ARCH-ANTIPATTERNS.md +52 -0
- package/references/planning/PRD-ANATOMY.md +117 -0
- package/references/planning/PRD-ANTIPATTERNS.md +138 -0
- package/references/planning/README.md +16 -0
- package/references/planning/ROADMAP-ANATOMY.md +43 -0
- package/references/planning/ROADMAP-ANTIPATTERNS.md +94 -0
- package/references/planning/STACK-ANATOMY.md +60 -0
- package/references/planning/STACK-ANTIPATTERNS.md +95 -0
- package/references/shared/GLOSSARY.md +80 -0
- package/references/shared/ORCHESTRATORS.md +76 -0
- package/references/shared/README.md +14 -0
- package/references/shipping/DEPLOY-ANTIPATTERNS.md +64 -0
- package/references/shipping/DEPLOY-PATTERNS.md +110 -0
- package/references/shipping/HARDEN-ANTIPATTERNS.md +66 -0
- package/references/shipping/HARDEN-OWASP-WORKSHEETS.md +89 -0
- package/references/shipping/LAUNCH-ANTIPATTERNS.md +68 -0
- package/references/shipping/OBSERVE-ANTIPATTERNS.md +62 -0
- package/references/shipping/OBSERVE-SLO-EXAMPLES.md +107 -0
- package/references/shipping/README.md +18 -0
- package/routing/god-add-backlog.yaml +24 -0
- package/routing/god-add-tests.yaml +27 -0
- package/routing/god-add-todo.yaml +24 -0
- package/routing/god-agent-audit.yaml +24 -0
- package/routing/god-arch.yaml +46 -0
- package/routing/god-archaeology.yaml +28 -0
- package/routing/god-audit.yaml +32 -0
- package/routing/god-budget.yaml +24 -0
- package/routing/god-build-agent.yaml +24 -0
- package/routing/god-build.yaml +46 -0
- package/routing/god-cache-clear.yaml +24 -0
- package/routing/god-check-todos.yaml +24 -0
- package/routing/god-context-scan.yaml +24 -0
- package/routing/god-context.yaml +44 -0
- package/routing/god-cost.yaml +24 -0
- package/routing/god-debug.yaml +28 -0
- package/routing/god-deploy.yaml +34 -0
- package/routing/god-design-impact.yaml +25 -0
- package/routing/god-design.yaml +67 -0
- package/routing/god-discuss.yaml +27 -0
- package/routing/god-docs.yaml +33 -0
- package/routing/god-doctor.yaml +27 -0
- package/routing/god-explore.yaml +27 -0
- package/routing/god-extension-add.yaml +24 -0
- package/routing/god-extension-info.yaml +24 -0
- package/routing/god-extension-list.yaml +24 -0
- package/routing/god-extension-remove.yaml +24 -0
- package/routing/god-extract-learnings.yaml +24 -0
- package/routing/god-fast.yaml +27 -0
- package/routing/god-feature.yaml +34 -0
- package/routing/god-graph.yaml +24 -0
- package/routing/god-harden.yaml +41 -0
- package/routing/god-help.yaml +27 -0
- package/routing/god-hotfix.yaml +34 -0
- package/routing/god-hygiene.yaml +28 -0
- package/routing/god-init.yaml +37 -0
- package/routing/god-intel.yaml +24 -0
- package/routing/god-launch.yaml +41 -0
- package/routing/god-lifecycle.yaml +27 -0
- package/routing/god-link.yaml +24 -0
- package/routing/god-lint.yaml +24 -0
- package/routing/god-list-assumptions.yaml +27 -0
- package/routing/god-locate.yaml +24 -0
- package/routing/god-logs.yaml +24 -0
- package/routing/god-map-codebase.yaml +24 -0
- package/routing/god-metrics.yaml +24 -0
- package/routing/god-mode.yaml +31 -0
- package/routing/god-next.yaml +27 -0
- package/routing/god-note.yaml +24 -0
- package/routing/god-observe.yaml +34 -0
- package/routing/god-org-context.yaml +28 -0
- package/routing/god-party.yaml +24 -0
- package/routing/god-pause-work.yaml +27 -0
- package/routing/god-plant-seed.yaml +24 -0
- package/routing/god-postmortem.yaml +34 -0
- package/routing/god-pr-branch.yaml +25 -0
- package/routing/god-prd.yaml +49 -0
- package/routing/god-quick.yaml +28 -0
- package/routing/god-reconcile.yaml +48 -0
- package/routing/god-reconstruct.yaml +36 -0
- package/routing/god-redo.yaml +27 -0
- package/routing/god-refactor.yaml +36 -0
- package/routing/god-repair.yaml +27 -0
- package/routing/god-repo.yaml +35 -0
- package/routing/god-restore.yaml +27 -0
- package/routing/god-resume-work.yaml +27 -0
- package/routing/god-review-changes.yaml +25 -0
- package/routing/god-review.yaml +28 -0
- package/routing/god-roadmap-check.yaml +39 -0
- package/routing/god-roadmap-update.yaml +37 -0
- package/routing/god-roadmap.yaml +42 -0
- package/routing/god-rollback.yaml +27 -0
- package/routing/god-scan.yaml +24 -0
- package/routing/god-set-profile.yaml +24 -0
- package/routing/god-settings.yaml +24 -0
- package/routing/god-skip.yaml +27 -0
- package/routing/god-smite.yaml +29 -0
- package/routing/god-spike.yaml +35 -0
- package/routing/god-sprint.yaml +25 -0
- package/routing/god-stack.yaml +41 -0
- package/routing/god-standards.yaml +24 -0
- package/routing/god-status.yaml +27 -0
- package/routing/god-stories.yaml +24 -0
- package/routing/god-story-build.yaml +25 -0
- package/routing/god-story-close.yaml +25 -0
- package/routing/god-story-verify.yaml +25 -0
- package/routing/god-story.yaml +24 -0
- package/routing/god-suite-init.yaml +24 -0
- package/routing/god-suite-patch.yaml +25 -0
- package/routing/god-suite-release.yaml +25 -0
- package/routing/god-suite-status.yaml +25 -0
- package/routing/god-suite-sync.yaml +25 -0
- package/routing/god-sync.yaml +33 -0
- package/routing/god-tech-debt.yaml +32 -0
- package/routing/god-test-extension.yaml +24 -0
- package/routing/god-test-runtime.yaml +25 -0
- package/routing/god-thread.yaml +24 -0
- package/routing/god-trace.yaml +24 -0
- package/routing/god-undo.yaml +27 -0
- package/routing/god-update-deps.yaml +39 -0
- package/routing/god-upgrade.yaml +33 -0
- package/routing/god-version.yaml +24 -0
- package/routing/god-workstream.yaml +24 -0
- package/routing/god.yaml +24 -0
- package/routing/recipes/add-feature-defer-current-milestone.yaml +21 -0
- package/routing/recipes/add-feature-future-conditional.yaml +21 -0
- package/routing/recipes/add-feature-mid-arc-pause.yaml +33 -0
- package/routing/recipes/add-feature-next-milestone.yaml +23 -0
- package/routing/recipes/add-feature-parallel.yaml +29 -0
- package/routing/recipes/add-feature-prd-update.yaml +21 -0
- package/routing/recipes/add-feature-small.yaml +24 -0
- package/routing/recipes/add-feature-tiny.yaml +24 -0
- package/routing/recipes/bluefield-org-aware.yaml +27 -0
- package/routing/recipes/broken-install.yaml +22 -0
- package/routing/recipes/brownfield-onboarding.yaml +32 -0
- package/routing/recipes/bug-no-urgency.yaml +21 -0
- package/routing/recipes/capture-idea.yaml +22 -0
- package/routing/recipes/capture-todo.yaml +21 -0
- package/routing/recipes/clean-pr.yaml +21 -0
- package/routing/recipes/code-cleanup.yaml +23 -0
- package/routing/recipes/docs-drift.yaml +21 -0
- package/routing/recipes/existing-codebase-onboarding.yaml +32 -0
- package/routing/recipes/extract-learnings.yaml +22 -0
- package/routing/recipes/greenfield-fast.yaml +25 -0
- package/routing/recipes/greenfield-manual.yaml +32 -0
- package/routing/recipes/greenfield-with-ideation.yaml +29 -0
- package/routing/recipes/incident-postmortem.yaml +24 -0
- package/routing/recipes/major-framework-upgrade.yaml +23 -0
- package/routing/recipes/monthly-deps.yaml +22 -0
- package/routing/recipes/multi-repo-suite.yaml +56 -0
- package/routing/recipes/parallel-engineers.yaml +26 -0
- package/routing/recipes/pause-handoff.yaml +21 -0
- package/routing/recipes/production-broken.yaml +26 -0
- package/routing/recipes/rerun-tier.yaml +21 -0
- package/routing/recipes/returning-after-break.yaml +31 -0
- package/routing/recipes/state-drift.yaml +21 -0
- package/routing/recipes/undo-last.yaml +21 -0
- package/routing/recipes/weekly-health-check.yaml +24 -0
- package/routing/recipes/whats-next.yaml +22 -0
- package/routing/recipes/where-am-i.yaml +21 -0
- package/schema/events.v1.json +63 -0
- package/schema/extension-manifest.v1.json +84 -0
- package/schema/intent.v1.yaml.json +116 -0
- package/schema/recipe.v1.json +120 -0
- package/schema/routing.v1.json +163 -0
- package/schema/state.v1.json +146 -0
- package/schema/workflow.v1.json +96 -0
- package/skills/god-add-backlog.md +40 -0
- package/skills/god-add-tests.md +53 -0
- package/skills/god-add-todo.md +32 -0
- package/skills/god-agent-audit.md +87 -0
- package/skills/god-arch.md +81 -0
- package/skills/god-archaeology.md +48 -0
- package/skills/god-audit.md +65 -0
- package/skills/god-budget.md +103 -0
- package/skills/god-build-agent.md +91 -0
- package/skills/god-build.md +90 -0
- package/skills/god-cache-clear.md +75 -0
- package/skills/god-check-todos.md +42 -0
- package/skills/god-context-scan.md +125 -0
- package/skills/god-context.md +147 -0
- package/skills/god-cost.md +118 -0
- package/skills/god-debug.md +30 -0
- package/skills/god-deploy.md +76 -0
- package/skills/god-design-impact.md +86 -0
- package/skills/god-design.md +275 -0
- package/skills/god-discuss.md +46 -0
- package/skills/god-docs.md +81 -0
- package/skills/god-doctor.md +94 -0
- package/skills/god-explore.md +50 -0
- package/skills/god-export-otel.md +87 -0
- package/skills/god-extension-add.md +79 -0
- package/skills/god-extension-info.md +75 -0
- package/skills/god-extension-list.md +55 -0
- package/skills/god-extension-remove.md +66 -0
- package/skills/god-extract-learnings.md +60 -0
- package/skills/god-fast.md +47 -0
- package/skills/god-feature.md +114 -0
- package/skills/god-graph.md +56 -0
- package/skills/god-harden.md +106 -0
- package/skills/god-help.md +66 -0
- package/skills/god-hotfix.md +139 -0
- package/skills/god-hygiene.md +104 -0
- package/skills/god-init.md +161 -0
- package/skills/god-intel.md +36 -0
- package/skills/god-launch.md +86 -0
- package/skills/god-lifecycle.md +119 -0
- package/skills/god-link.md +90 -0
- package/skills/god-lint.md +128 -0
- package/skills/god-list-assumptions.md +56 -0
- package/skills/god-locate.md +97 -0
- package/skills/god-logs.md +57 -0
- package/skills/god-map-codebase.md +45 -0
- package/skills/god-metrics.md +51 -0
- package/skills/god-mode.md +159 -0
- package/skills/god-next.md +257 -0
- package/skills/god-note.md +39 -0
- package/skills/god-observe.md +76 -0
- package/skills/god-org-context.md +81 -0
- package/skills/god-party.md +87 -0
- package/skills/god-pause-work.md +64 -0
- package/skills/god-plant-seed.md +59 -0
- package/skills/god-postmortem.md +103 -0
- package/skills/god-pr-branch.md +50 -0
- package/skills/god-prd.md +90 -0
- package/skills/god-quick.md +50 -0
- package/skills/god-reconcile.md +90 -0
- package/skills/god-reconstruct.md +72 -0
- package/skills/god-redo.md +73 -0
- package/skills/god-refactor.md +137 -0
- package/skills/god-repair.md +82 -0
- package/skills/god-repo.md +49 -0
- package/skills/god-restore.md +91 -0
- package/skills/god-resume-work.md +42 -0
- package/skills/god-review-changes.md +93 -0
- package/skills/god-review.md +52 -0
- package/skills/god-roadmap-check.md +66 -0
- package/skills/god-roadmap-update.md +64 -0
- package/skills/god-roadmap.md +77 -0
- package/skills/god-rollback.md +88 -0
- package/skills/god-scan.md +106 -0
- package/skills/god-set-profile.md +58 -0
- package/skills/god-settings.md +44 -0
- package/skills/god-skip.md +78 -0
- package/skills/god-smite.md +86 -0
- package/skills/god-spike.md +120 -0
- package/skills/god-sprint.md +77 -0
- package/skills/god-stack.md +74 -0
- package/skills/god-standards.md +62 -0
- package/skills/god-status.md +99 -0
- package/skills/god-stories.md +60 -0
- package/skills/god-story-build.md +76 -0
- package/skills/god-story-close.md +82 -0
- package/skills/god-story-verify.md +71 -0
- package/skills/god-story.md +55 -0
- package/skills/god-suite-init.md +75 -0
- package/skills/god-suite-patch.md +64 -0
- package/skills/god-suite-release.md +58 -0
- package/skills/god-suite-status.md +63 -0
- package/skills/god-suite-sync.md +49 -0
- package/skills/god-sync.md +102 -0
- package/skills/god-tech-debt.md +56 -0
- package/skills/god-test-extension.md +87 -0
- package/skills/god-test-runtime.md +144 -0
- package/skills/god-thread.md +39 -0
- package/skills/god-trace.md +50 -0
- package/skills/god-undo.md +68 -0
- package/skills/god-update-deps.md +134 -0
- package/skills/god-upgrade.md +139 -0
- package/skills/god-version.md +37 -0
- package/skills/god-workstream.md +61 -0
- package/skills/god.md +207 -0
- package/templates/ARCH.md +99 -0
- package/templates/DEPS-AUDIT.md +66 -0
- package/templates/DESIGN.md +71 -0
- package/templates/DOCS-UPDATE-LOG.md +64 -0
- package/templates/HARDEN-FINDINGS.md +69 -0
- package/templates/MIGRATION.md +86 -0
- package/templates/POSTMORTEM.md +88 -0
- package/templates/PRD.md +80 -0
- package/templates/PROGRESS.md +49 -0
- package/templates/ROADMAP.md +47 -0
- package/templates/SPIKE.md +72 -0
- package/templates/STACK-DECISION.md +61 -0
- package/workflows/audit-only.yaml +22 -0
- package/workflows/bluefield-arc.yaml +87 -0
- package/workflows/brownfield-arc.yaml +44 -0
- package/workflows/deps-audit.yaml +56 -0
- package/workflows/docs-arc.yaml +22 -0
- package/workflows/feature-arc.yaml +59 -0
- package/workflows/full-arc.yaml +84 -0
- package/workflows/hotfix-arc.yaml +59 -0
- package/workflows/hygiene.yaml +43 -0
- package/workflows/migration-arc.yaml +73 -0
- package/workflows/postmortem.yaml +31 -0
- package/workflows/refactor-arc.yaml +59 -0
- package/workflows/spike.yaml +23 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-suite-init
|
|
3
|
+
description: |
|
|
4
|
+
Register a multi-repo suite (Mode D). Prompts for siblings,
|
|
5
|
+
byte-identical files, version table, and shared standards; writes
|
|
6
|
+
`.godpowers/suite-config.yaml` to the hub; updates each sibling's
|
|
7
|
+
state.json to point at the hub.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god suite init", "/god-suite-init", "register multi-repo",
|
|
10
|
+
"set up suite", "mode d"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-suite-init
|
|
14
|
+
|
|
15
|
+
One-time registration for a multi-repo workspace. Per the locked
|
|
16
|
+
answer to plan question Q1: explicit declaration only. Sibling repos
|
|
17
|
+
are listed manually; godpowers does NOT auto-walk parent dirs.
|
|
18
|
+
|
|
19
|
+
## Forms
|
|
20
|
+
|
|
21
|
+
| Form | Action |
|
|
22
|
+
|---|---|
|
|
23
|
+
| `/god-suite-init` | Interactive setup; prompts for all fields |
|
|
24
|
+
| `/god-suite-init --hub <path>` | Use a specific dir as the hub |
|
|
25
|
+
|
|
26
|
+
## Process
|
|
27
|
+
|
|
28
|
+
1. Verify the working dir is intended as the hub (or `--hub` resolves to one).
|
|
29
|
+
2. Prompt for:
|
|
30
|
+
- Suite name
|
|
31
|
+
- Sibling repo paths (one per line, relative or absolute)
|
|
32
|
+
- Byte-identical files to track (one per line; e.g., LICENSE, .editorconfig)
|
|
33
|
+
- Version-table entries (optional; can be added later)
|
|
34
|
+
- Shared standards (node-version, linter; optional)
|
|
35
|
+
3. Spawn `god-coordinator` agent in `init` mode with collected inputs.
|
|
36
|
+
4. god-coordinator writes `.godpowers/suite-config.yaml` and updates
|
|
37
|
+
each sibling's state.json with `suite.hubPath`.
|
|
38
|
+
5. Initial `lib/suite-state.refreshFromRepos` runs to populate
|
|
39
|
+
`.godpowers/suite/state.json` and `STATE.md`.
|
|
40
|
+
6. Report registration complete; suggest `/god-suite-status` next.
|
|
41
|
+
|
|
42
|
+
## Output
|
|
43
|
+
|
|
44
|
+
- `.godpowers/suite-config.yaml` (hub)
|
|
45
|
+
- `.godpowers/suite/state.json` (hub; aggregate)
|
|
46
|
+
- `.godpowers/suite/STATE.md` (hub; human-readable)
|
|
47
|
+
- Updates to each sibling's `state.json` (`suite.hubPath` field)
|
|
48
|
+
|
|
49
|
+
## Suite-config schema
|
|
50
|
+
|
|
51
|
+
```yaml
|
|
52
|
+
name: my-suite
|
|
53
|
+
siblings:
|
|
54
|
+
- repo-a
|
|
55
|
+
- repo-b
|
|
56
|
+
- { name: external-repo, path: ../external-repo }
|
|
57
|
+
byte-identical:
|
|
58
|
+
- .editorconfig
|
|
59
|
+
- LICENSE
|
|
60
|
+
- .github/workflows/ci.yml
|
|
61
|
+
version-table:
|
|
62
|
+
shared-libs:
|
|
63
|
+
repo-a: 1.2.3
|
|
64
|
+
repo-b: 1.2.3
|
|
65
|
+
shared-standards:
|
|
66
|
+
node-version: 20
|
|
67
|
+
linter: biome
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## What this does NOT do
|
|
71
|
+
|
|
72
|
+
- Modify any repo's source code
|
|
73
|
+
- Run an arc on any repo
|
|
74
|
+
- Override existing per-repo state.json beyond adding the
|
|
75
|
+
`suite.hubPath` pointer
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-suite-patch
|
|
3
|
+
description: |
|
|
4
|
+
Coordinated change touching multiple repos in a Mode D suite. One
|
|
5
|
+
logical change; multiple PRs, atomically tracked. Use for refactors
|
|
6
|
+
spanning shared code + dependents.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god suite patch", "/god-suite-patch",
|
|
9
|
+
"coordinated patch", "cross-repo refactor"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-suite-patch
|
|
13
|
+
|
|
14
|
+
A single change description applied across multiple repos in the
|
|
15
|
+
suite. Each affected repo's `god-orchestrator` runs the patch
|
|
16
|
+
locally; the coordinator tracks atomicity.
|
|
17
|
+
|
|
18
|
+
## Process
|
|
19
|
+
|
|
20
|
+
1. Verify suite is registered.
|
|
21
|
+
2. Prompt for:
|
|
22
|
+
- Patch description (what's the change)
|
|
23
|
+
- Repos in scope (defaults: all siblings; user can subset)
|
|
24
|
+
- Per-repo any specific notes
|
|
25
|
+
3. Spawn `god-coordinator` in `patch` mode.
|
|
26
|
+
4. For each repo in scope:
|
|
27
|
+
- Spawn that repo's `god-orchestrator` with the patch directive
|
|
28
|
+
- Track success/failure
|
|
29
|
+
5. Coordinator aggregates results:
|
|
30
|
+
- All succeeded: report success; append to SYNC-LOG.md
|
|
31
|
+
- Some failed: report partial; suggest manual continuation OR
|
|
32
|
+
rollback (`/god-suite-patch --rollback <patch-id>`)
|
|
33
|
+
|
|
34
|
+
## Forms
|
|
35
|
+
|
|
36
|
+
| Form | Action |
|
|
37
|
+
|---|---|
|
|
38
|
+
| `/god-suite-patch "<description>"` | Apply across all siblings |
|
|
39
|
+
| `/god-suite-patch "<description>" --repos a,b` | Subset |
|
|
40
|
+
| `/god-suite-patch --dry-run` | Show what would change per repo |
|
|
41
|
+
| `/god-suite-patch --rollback <id>` | Undo a previous suite-patch |
|
|
42
|
+
|
|
43
|
+
## Atomicity
|
|
44
|
+
|
|
45
|
+
Per-repo orchestrators run independently. If one fails:
|
|
46
|
+
- The coordinator does NOT auto-rollback the others
|
|
47
|
+
- It reports the failure and asks the user
|
|
48
|
+
- Rollback is opt-in via `--rollback`
|
|
49
|
+
|
|
50
|
+
This matches the Quarterback rule: each repo's orchestrator owns its
|
|
51
|
+
own state. Cross-repo atomicity is human-coordinated, not magic.
|
|
52
|
+
|
|
53
|
+
## Use cases
|
|
54
|
+
|
|
55
|
+
- "Rename X to Y everywhere it appears"
|
|
56
|
+
- "Update all repos to use the new shared-libs API"
|
|
57
|
+
- "Fix CVE-2026-XXXX across all services that use vulnerable lib"
|
|
58
|
+
- "Add a new shared CI step to all repos"
|
|
59
|
+
|
|
60
|
+
## What this does NOT do
|
|
61
|
+
|
|
62
|
+
- Bypass per-repo lint, design-review, or runtime gates
|
|
63
|
+
- Apply changes to repos that aren't declared siblings
|
|
64
|
+
- Auto-rollback (preserved as explicit user action)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-suite-release
|
|
3
|
+
description: |
|
|
4
|
+
Coordinate a release across siblings in a Mode D suite. When repo A
|
|
5
|
+
bumps version, scan all dependents for impact and propagate updates.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god suite release", "/god-suite-release",
|
|
8
|
+
"coordinated release", "bump and propagate"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-suite-release
|
|
12
|
+
|
|
13
|
+
A version bump that knows about dependents. Different from `/god-launch`
|
|
14
|
+
(per-repo); this coordinates ACROSS repos.
|
|
15
|
+
|
|
16
|
+
## Process
|
|
17
|
+
|
|
18
|
+
1. Verify suite is registered.
|
|
19
|
+
2. Prompt for: which repo, new version, release notes.
|
|
20
|
+
3. Spawn `god-coordinator` in `release` mode.
|
|
21
|
+
4. god-coordinator:
|
|
22
|
+
- Scans suite version-table for repos that depend on the bumped repo
|
|
23
|
+
- For each dependent: spawns its `god-orchestrator` with a
|
|
24
|
+
`version-bump` directive (NOT a full arc)
|
|
25
|
+
- Aggregates results per-repo
|
|
26
|
+
- Updates `.godpowers/suite-config.yaml` version-table to match
|
|
27
|
+
- Appends to `.godpowers/suite/SYNC-LOG.md`
|
|
28
|
+
5. Reports aggregated outcome (bumped + propagated repos).
|
|
29
|
+
|
|
30
|
+
## Forms
|
|
31
|
+
|
|
32
|
+
| Form | Action |
|
|
33
|
+
|---|---|
|
|
34
|
+
| `/god-suite-release <repo> <version>` | Bump and propagate |
|
|
35
|
+
| `/god-suite-release <repo> <version> --dry-run` | Show impact; no changes |
|
|
36
|
+
| `/god-suite-release <repo> <version> --no-propagate` | Bump only the named repo |
|
|
37
|
+
|
|
38
|
+
## What this does
|
|
39
|
+
|
|
40
|
+
- Updates the bumped repo's version (via its orchestrator)
|
|
41
|
+
- For each dependent: updates its package.json declared version
|
|
42
|
+
- Updates suite-config.yaml version-table
|
|
43
|
+
- Appends release entry to SYNC-LOG.md
|
|
44
|
+
- Triggers per-repo `/god-launch` (or equivalent) only when the user
|
|
45
|
+
explicitly confirms each launch
|
|
46
|
+
|
|
47
|
+
## What this does NOT do
|
|
48
|
+
|
|
49
|
+
- Auto-launch all dependents (each repo's launch gate still runs;
|
|
50
|
+
user confirms)
|
|
51
|
+
- Bypass per-repo critical-finding gates
|
|
52
|
+
- Modify code beyond what version bumps require
|
|
53
|
+
|
|
54
|
+
## Quarterback rule preserved
|
|
55
|
+
|
|
56
|
+
Each repo's `god-orchestrator` retains full control over its own
|
|
57
|
+
release. The coordinator orchestrates the cross-repo coordination
|
|
58
|
+
without bypassing per-repo gates.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-suite-status
|
|
3
|
+
description: |
|
|
4
|
+
Show all repos' status side-by-side in a Mode D suite. Refreshes
|
|
5
|
+
per-repo state, runs meta-linter, displays aggregate metrics.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god suite status", "/god-suite-status", "suite status",
|
|
8
|
+
"all repos status"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-suite-status
|
|
12
|
+
|
|
13
|
+
The `/god-status` equivalent for the whole suite. Refreshes each
|
|
14
|
+
repo's state, runs cross-repo invariants, prints a single aggregated
|
|
15
|
+
report.
|
|
16
|
+
|
|
17
|
+
## Process
|
|
18
|
+
|
|
19
|
+
1. Verify `.godpowers/suite-config.yaml` exists (or sibling's
|
|
20
|
+
state.json points at a hub).
|
|
21
|
+
2. Spawn `god-coordinator` in `status` mode.
|
|
22
|
+
3. god-coordinator runs:
|
|
23
|
+
- `lib/suite-state.refreshFromRepos(hubPath)` to aggregate state
|
|
24
|
+
- `lib/meta-linter.runAll(hubPath)` to check invariants
|
|
25
|
+
- `lib/cross-repo-linkage.collectAllIds(hubPath)` to count IDs
|
|
26
|
+
4. Prints the formatted report.
|
|
27
|
+
|
|
28
|
+
## Output (example)
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
Suite: my-products
|
|
32
|
+
|
|
33
|
+
Aggregate
|
|
34
|
+
Total artifacts complete: 42
|
|
35
|
+
Total drift findings: 3
|
|
36
|
+
Pending reviews: 5
|
|
37
|
+
Average linkage coverage: 87%
|
|
38
|
+
|
|
39
|
+
Per-repo
|
|
40
|
+
| Repo | Mode | Phase | Artifacts | Coverage | Drift | Reviews |
|
|
41
|
+
|-----------|------|-----------|-----------|----------|-------|---------|
|
|
42
|
+
| dashboard | A | in-arc | 12 | 92% | 0 | 1 |
|
|
43
|
+
| api | A | steady | 18 | 85% | 2 | 2 |
|
|
44
|
+
| docs | A | steady | 12 | 84% | 1 | 2 |
|
|
45
|
+
|
|
46
|
+
Meta-lint findings (3):
|
|
47
|
+
[WARNING] byte-identical-drift: .editorconfig differs across repos
|
|
48
|
+
[WARNING] version-table-drift: api 2.4 declared, package.json has 2.3
|
|
49
|
+
[WARNING] shared-standard-drift: docs uses eslint, suite declares biome
|
|
50
|
+
|
|
51
|
+
Suggested next:
|
|
52
|
+
/god-suite-sync to address byte-identical drift
|
|
53
|
+
/god-review-changes in dashboard repo (1 pending)
|
|
54
|
+
/god-review-changes in api repo (2 pending)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Forms
|
|
58
|
+
|
|
59
|
+
| Form | Action |
|
|
60
|
+
|---|---|
|
|
61
|
+
| `/god-suite-status` | Default report |
|
|
62
|
+
| `/god-suite-status --json` | Structured JSON |
|
|
63
|
+
| `/god-suite-status --strict` | Promote warnings to errors (per Q2 lock) |
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-suite-sync
|
|
3
|
+
description: |
|
|
4
|
+
Propagate byte-identical files across all repos in a Mode D suite.
|
|
5
|
+
Detects drift via meta-linter; user picks canonical version; copies
|
|
6
|
+
to all siblings.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god suite sync", "/god-suite-sync", "sync byte-identical",
|
|
9
|
+
"propagate config", "fix .editorconfig drift"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-suite-sync
|
|
13
|
+
|
|
14
|
+
Resolve byte-identical drift across siblings. Per locked Q2: drift is
|
|
15
|
+
warnings by default; surfaces in REVIEW-REQUIRED.md per repo.
|
|
16
|
+
`--strict` upgrades to hard gate.
|
|
17
|
+
|
|
18
|
+
## Process
|
|
19
|
+
|
|
20
|
+
1. Spawn `god-coordinator` in `sync` mode.
|
|
21
|
+
2. god-coordinator runs `lib/meta-linter.checkByteIdentical(hubPath)`.
|
|
22
|
+
3. For each drifted file:
|
|
23
|
+
- Print the diff between siblings (showing hashes + first-line preview)
|
|
24
|
+
- Ask user: which version is canonical?
|
|
25
|
+
- On answer: copy canonical content to all other siblings
|
|
26
|
+
4. After all drifted files resolved: append entry to
|
|
27
|
+
`.godpowers/suite/SYNC-LOG.md`
|
|
28
|
+
5. Refresh suite state.
|
|
29
|
+
|
|
30
|
+
## Forms
|
|
31
|
+
|
|
32
|
+
| Form | Action |
|
|
33
|
+
|---|---|
|
|
34
|
+
| `/god-suite-sync` | Interactive: prompt per drifted file |
|
|
35
|
+
| `/god-suite-sync --canonical <repo>` | Auto-apply: use this repo's version everywhere |
|
|
36
|
+
| `/god-suite-sync --dry-run` | Show what would change; no writes |
|
|
37
|
+
|
|
38
|
+
## Output
|
|
39
|
+
|
|
40
|
+
- Modified byte-identical files in non-canonical repos
|
|
41
|
+
- Append entry to `.godpowers/suite/SYNC-LOG.md`
|
|
42
|
+
- Refreshed `.godpowers/suite/state.json`
|
|
43
|
+
|
|
44
|
+
## What this does NOT do
|
|
45
|
+
|
|
46
|
+
- Touch files NOT declared in `byte-identical:` of suite-config.yaml
|
|
47
|
+
- Modify per-repo state.json (only the syncer agent writes; no
|
|
48
|
+
Quarterback-level changes)
|
|
49
|
+
- Run any arc inside a sibling repo
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-sync
|
|
3
|
+
description: |
|
|
4
|
+
Sync all affected artifacts after feature work. Updates PRD, ARCH, ROADMAP,
|
|
5
|
+
STACK, DEPLOY, OBSERVE, HARDEN, LAUNCH, BACKLOG, SEEDS, TODOS, THREADS
|
|
6
|
+
based on what the work actually touched. Closes the loop after
|
|
7
|
+
/god-reconcile + feature execution.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god sync", "/god-sync", "sync everything", "update all",
|
|
10
|
+
"close the loop", "post-work sync"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-sync
|
|
14
|
+
|
|
15
|
+
Update all artifacts after feature work.
|
|
16
|
+
|
|
17
|
+
## When auto-invoked
|
|
18
|
+
|
|
19
|
+
End of feature-addition recipes. After feature work completes, /god-sync
|
|
20
|
+
runs to ensure no artifact drifts.
|
|
21
|
+
|
|
22
|
+
## When manually invoked
|
|
23
|
+
|
|
24
|
+
User runs `/god-sync` after manual changes. Useful for:
|
|
25
|
+
- After making code changes outside the recipe flow
|
|
26
|
+
- Periodic sync to catch drift
|
|
27
|
+
- Before declaring a milestone complete
|
|
28
|
+
|
|
29
|
+
## Setup
|
|
30
|
+
|
|
31
|
+
1. Verify `.godpowers/` exists
|
|
32
|
+
2. Spawn god-updater in fresh context with:
|
|
33
|
+
- The reconciliation verdict (if available from a prior /god-reconcile)
|
|
34
|
+
- Or: re-run reconciliation against current state to detect what changed
|
|
35
|
+
- Recent commits for context
|
|
36
|
+
|
|
37
|
+
## Verification
|
|
38
|
+
|
|
39
|
+
After god-updater returns:
|
|
40
|
+
1. Verify each touched artifact passes its tier's have-nots
|
|
41
|
+
2. Verify SYNC-LOG.md was appended
|
|
42
|
+
3. Verify state.json reflects new tier statuses
|
|
43
|
+
4. Display summary of what changed
|
|
44
|
+
|
|
45
|
+
## Output
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
Sync complete.
|
|
49
|
+
|
|
50
|
+
Updated:
|
|
51
|
+
- prd/PRD.md (added requirement P-MUST-12)
|
|
52
|
+
- arch/ARCH.md (added ADR-007)
|
|
53
|
+
- roadmap/ROADMAP.md (Milestone 2 marked complete)
|
|
54
|
+
- deploy/STATE.md (new env var)
|
|
55
|
+
- observe/STATE.md (new SLO)
|
|
56
|
+
- backlog/BACKLOG.md (entry resolved)
|
|
57
|
+
- todos/TODOS.md (1 todo marked done)
|
|
58
|
+
- threads/auth-migration.md (progress note)
|
|
59
|
+
|
|
60
|
+
Have-nots: all passing
|
|
61
|
+
SYNC-LOG.md updated.
|
|
62
|
+
|
|
63
|
+
Suggested next: /god-status
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## What this prevents
|
|
67
|
+
|
|
68
|
+
| Drift type | How /god-sync catches it |
|
|
69
|
+
|---|---|
|
|
70
|
+
| Roadmap drift | Marks milestones complete; appends new entries |
|
|
71
|
+
| PRD-roadmap divergence | Flags if roadmap added work not in PRD |
|
|
72
|
+
| Stale ARCH | Adds ADR for new architectural decisions |
|
|
73
|
+
| Forgotten SLOs | New endpoints/features get SLO entries |
|
|
74
|
+
| Backlog cruft | Resolved entries linked to commits |
|
|
75
|
+
| Orphan todos | Closes superseded todos |
|
|
76
|
+
| Lost threads | Active threads get progress notes |
|
|
77
|
+
|
|
78
|
+
The loop:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
/god-reconcile -> recipe execution -> /god-sync
|
|
82
|
+
(before) (the actual work) (after)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Both bookends run automatically in feature-addition recipes. Both can be
|
|
86
|
+
invoked manually for spot-checks.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## Locking
|
|
90
|
+
|
|
91
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
92
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
93
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
94
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
95
|
+
|
|
96
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
97
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
98
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
99
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
100
|
+
|
|
101
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
102
|
+
the full contract.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-tech-debt
|
|
3
|
+
description: |
|
|
4
|
+
Assess and prioritize technical debt across 8 categories: code, design,
|
|
5
|
+
dependency, security, test, doc, operational, knowledge. Outputs P0-P3
|
|
6
|
+
prioritized remediation plan with cost/impact estimates.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god tech debt", "/god-tech-debt", "tech debt assessment",
|
|
9
|
+
"debt audit", "prioritize debt"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-tech-debt
|
|
13
|
+
|
|
14
|
+
Categorize, prioritize, plan tech debt remediation.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Quarterly health check on a brownfield project
|
|
19
|
+
- Before /god-upgrade or /god-refactor on legacy code
|
|
20
|
+
- After /god-archaeology surfaced concerns
|
|
21
|
+
- Before promising features that may need debt paydown first
|
|
22
|
+
|
|
23
|
+
## Setup
|
|
24
|
+
|
|
25
|
+
1. Verify codebase exists
|
|
26
|
+
2. Spawn god-debt-assessor in fresh context
|
|
27
|
+
|
|
28
|
+
## Verification
|
|
29
|
+
|
|
30
|
+
- `.godpowers/tech-debt/REPORT.md` exists
|
|
31
|
+
- All 8 debt categories assessed (no silent skips)
|
|
32
|
+
- Items prioritized P0/P1/P2/P3 with cost + impact rationale
|
|
33
|
+
- P0 items have specific recommended commands
|
|
34
|
+
|
|
35
|
+
## On Completion
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
Tech debt assessment complete: .godpowers/tech-debt/REPORT.md
|
|
39
|
+
|
|
40
|
+
Summary:
|
|
41
|
+
P0 (do this sprint): [N] items, [N] person-weeks
|
|
42
|
+
P1 (this quarter): [N] items
|
|
43
|
+
P2 (when convenient): [N] items
|
|
44
|
+
P3 (backlog or ignore): [N] items
|
|
45
|
+
|
|
46
|
+
Top 3 P0 items:
|
|
47
|
+
1. [item] -- /god-hotfix
|
|
48
|
+
2. [item] -- /god-add-tests
|
|
49
|
+
3. [item] -- /god-deploy revisit
|
|
50
|
+
|
|
51
|
+
Suggested next:
|
|
52
|
+
- Address P0 items first (route via the suggested commands)
|
|
53
|
+
- /god-update-deps if dependency debt is a P0/P1 driver
|
|
54
|
+
- /god-upgrade for major-version migrations
|
|
55
|
+
- Re-run /god-tech-debt quarterly
|
|
56
|
+
```
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-test-extension
|
|
3
|
+
description: |
|
|
4
|
+
Run contract tests against an extension pack BEFORE publishing.
|
|
5
|
+
Validates the manifest, checks every declared skill/agent/workflow
|
|
6
|
+
exists in the pack directory, verifies the engines.godpowers range
|
|
7
|
+
resolves, and reports findings. Use during pack development.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god test extension", "/god-test-extension", "contract
|
|
10
|
+
test pack", "validate pack"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-test-extension
|
|
14
|
+
|
|
15
|
+
Run contract tests on a godpowers extension pack source.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### `/god-test-extension <source-dir>`
|
|
20
|
+
|
|
21
|
+
Example:
|
|
22
|
+
- `/god-test-extension ./extensions/security-pack`
|
|
23
|
+
|
|
24
|
+
## What it checks
|
|
25
|
+
|
|
26
|
+
| Check | What it asserts |
|
|
27
|
+
|---|---|
|
|
28
|
+
| Manifest exists | `<source-dir>/manifest.yaml` is present |
|
|
29
|
+
| Manifest parses | Valid YAML |
|
|
30
|
+
| apiVersion + kind | `godpowers/v1` + `Extension` |
|
|
31
|
+
| metadata.name | Scoped npm-style: `@org/name` |
|
|
32
|
+
| metadata.version | SemVer `X.Y.Z` |
|
|
33
|
+
| engines.godpowers | Resolves to a non-empty SemVer range |
|
|
34
|
+
| provides | Has at least one of agents/skills/workflows |
|
|
35
|
+
| Provided agents exist | Each `provides.agents[i]` has a file at `<source-dir>/agents/<name>.md` |
|
|
36
|
+
| Provided skills exist | Each `provides.skills[i]` is a slash command with a matching `<source-dir>/skills/<name>.md` |
|
|
37
|
+
| Skill frontmatter | Each declared skill has valid frontmatter (name + description) |
|
|
38
|
+
| Agent frontmatter | Each declared agent has valid frontmatter (name + description + tools) |
|
|
39
|
+
| have-nots prefixes | Each prefix matches `[A-Z][A-Z0-9]*` |
|
|
40
|
+
| Activation | At least one activation rule |
|
|
41
|
+
| No prohibited code | No top-level `child_process` calls in pack scripts |
|
|
42
|
+
|
|
43
|
+
## Output
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
EXTENSION CONTRACT TEST: ./extensions/security-pack
|
|
47
|
+
|
|
48
|
+
Manifest: ./extensions/security-pack/manifest.yaml [OK]
|
|
49
|
+
apiVersion: godpowers/v1 [OK]
|
|
50
|
+
metadata.name: @godpowers/security-pack [OK]
|
|
51
|
+
metadata.version: 1.0.0 [OK]
|
|
52
|
+
engines.godpowers: >=1.0.0 <2.0.0 [OK]
|
|
53
|
+
|
|
54
|
+
Provided surface:
|
|
55
|
+
agents/god-soc2-auditor.md [OK]
|
|
56
|
+
agents/god-hipaa-auditor.md [OK]
|
|
57
|
+
agents/god-pci-auditor.md [OK]
|
|
58
|
+
skills/god-soc2-audit.md [OK]
|
|
59
|
+
skills/god-hipaa-audit.md [OK]
|
|
60
|
+
skills/god-pci-audit.md [OK]
|
|
61
|
+
|
|
62
|
+
Have-nots prefixes: SOC2 HIPAA PCI [OK]
|
|
63
|
+
|
|
64
|
+
Result: 14 checks passed, 0 failed
|
|
65
|
+
Ready to publish.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Subcommands
|
|
69
|
+
|
|
70
|
+
### `/god-test-extension <dir>`
|
|
71
|
+
Full contract check.
|
|
72
|
+
|
|
73
|
+
### `/god-test-extension <dir> --json`
|
|
74
|
+
Machine-readable findings.
|
|
75
|
+
|
|
76
|
+
### `/god-test-extension <dir> --strict`
|
|
77
|
+
Treat warnings as errors. Use in CI.
|
|
78
|
+
|
|
79
|
+
## Implementation
|
|
80
|
+
|
|
81
|
+
Built-in. Calls `lib/extensions.js` and `lib/agent-validator.js`.
|
|
82
|
+
No agent spawn.
|
|
83
|
+
|
|
84
|
+
## Related
|
|
85
|
+
|
|
86
|
+
- `/god-agent-audit` - validate agents in the main repo
|
|
87
|
+
- `/god-extension-add` - install a passing pack
|