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,144 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-test-runtime
|
|
3
|
+
description: |
|
|
4
|
+
Run headless browser verification of the running app: design audit
|
|
5
|
+
(rendered styles vs DESIGN.md tokens, real-DOM WCAG contrast) and
|
|
6
|
+
functional tests (PRD acceptance criteria as user flows). Uses
|
|
7
|
+
Playwright (local) or Vercel Browser API (cloud).
|
|
8
|
+
|
|
9
|
+
Triggers on: "god test runtime", "/god-test-runtime", "browser test",
|
|
10
|
+
"design audit", "verify rendering", "run e2e", "run tests"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-test-runtime
|
|
14
|
+
|
|
15
|
+
Drive a headless browser to verify the app actually matches what
|
|
16
|
+
artifacts say it should be. The third axis of verification (after
|
|
17
|
+
static lint and linkage drift).
|
|
18
|
+
|
|
19
|
+
## Forms
|
|
20
|
+
|
|
21
|
+
| Form | Action |
|
|
22
|
+
|---|---|
|
|
23
|
+
| `/god-test-runtime` | Full pipeline: audit + functional tests |
|
|
24
|
+
| `/god-test-runtime audit [url]` | Design audit only |
|
|
25
|
+
| `/god-test-runtime test [url]` | Functional tests only |
|
|
26
|
+
| `/god-test-runtime --backend agent-browser` | Force vercel-labs/agent-browser CLI (preferred) |
|
|
27
|
+
| `/god-test-runtime --backend playwright` | Force Playwright (local fallback) |
|
|
28
|
+
| `/god-test-runtime --backend auto` | Default cascade: agent-browser -> Playwright |
|
|
29
|
+
| `/god-test-runtime --strict` | Promote warnings to errors |
|
|
30
|
+
| `/god-test-runtime --no-runtime` | Skip; surface as warning (use sparingly) |
|
|
31
|
+
|
|
32
|
+
## Default URL resolution
|
|
33
|
+
|
|
34
|
+
If `[url]` not given:
|
|
35
|
+
1. Read `state.json.deploy.url` if present (production / preview)
|
|
36
|
+
2. Else read `state.json.dev-server.url` if dev server is running
|
|
37
|
+
3. Else default to `http://localhost:3000`
|
|
38
|
+
|
|
39
|
+
## Process
|
|
40
|
+
|
|
41
|
+
1. Verify `.godpowers/` exists.
|
|
42
|
+
2. Spawn `god-browser-tester` agent in fresh context with the requested
|
|
43
|
+
mode (audit / test / both) and resolved URL.
|
|
44
|
+
3. god-browser-tester:
|
|
45
|
+
- Detects backend (Playwright or Vercel Browser)
|
|
46
|
+
- Launches headless browser (NEVER `headless: false`)
|
|
47
|
+
- Navigates, extracts computed styles, runs flows, captures screenshots
|
|
48
|
+
- Aggregates findings
|
|
49
|
+
- Writes reports to `.godpowers/runtime/<run-id>/`
|
|
50
|
+
- Critical findings -> critical-finding gate (pauses default + --yolo)
|
|
51
|
+
- Other findings -> REVIEW-REQUIRED.md batch
|
|
52
|
+
4. Report results to user.
|
|
53
|
+
|
|
54
|
+
## Headless contract
|
|
55
|
+
|
|
56
|
+
Non-negotiable. The bridge layer (`lib/browser-bridge.js`) refuses to
|
|
57
|
+
pass `headless: false`. There is no opt-out flag for that. If you want
|
|
58
|
+
a visual session, use a separate Playwright instance outside Godpowers.
|
|
59
|
+
|
|
60
|
+
`--no-runtime` skips the entire runtime step (e.g., for backend-only
|
|
61
|
+
projects with no UI to verify). It does NOT mean "show me the browser."
|
|
62
|
+
|
|
63
|
+
## Output
|
|
64
|
+
|
|
65
|
+
Per run, in `.godpowers/runtime/<run-id>/`:
|
|
66
|
+
- `audit-report.json` - design verification findings with severity
|
|
67
|
+
- `test-report.json` - functional verification with pass/fail per requirement
|
|
68
|
+
- `screenshots/<name>.png` - reference screenshots
|
|
69
|
+
- `summary.md` - human-readable summary
|
|
70
|
+
|
|
71
|
+
State updates:
|
|
72
|
+
- `state.json.runtime.last-run-id` <- runId
|
|
73
|
+
- `state.json.runtime.backend` <- 'playwright' | 'vercel-browser'
|
|
74
|
+
- `state.json.runtime.audit.summary` <- { errors, warnings, infos }
|
|
75
|
+
- `state.json.runtime.test.summary` <- { passed, failed, total }
|
|
76
|
+
|
|
77
|
+
Events to events.jsonl:
|
|
78
|
+
- `runtime.start`, `runtime.audit-complete`, `runtime.test-complete`,
|
|
79
|
+
`runtime.critical`, `runtime.end`
|
|
80
|
+
|
|
81
|
+
## Critical findings (gate triggers)
|
|
82
|
+
|
|
83
|
+
- Any P-MUST-* requirement fails its acceptance flow
|
|
84
|
+
- WCAG AA fail on text-on-background components
|
|
85
|
+
- Component drift > 10% (more than 1 in 10 selectors mismatch DESIGN.md)
|
|
86
|
+
|
|
87
|
+
These pause both default mode AND --yolo. Lint errors and runtime
|
|
88
|
+
critical findings have the same gate semantics.
|
|
89
|
+
|
|
90
|
+
## When this runs automatically
|
|
91
|
+
|
|
92
|
+
| Workflow | Mode | Gate semantics |
|
|
93
|
+
|---|---|---|
|
|
94
|
+
| `/god-build` (post-wave, opt-in) | audit | warning |
|
|
95
|
+
| `/god-launch` | full pipeline | hard gate; criticals block |
|
|
96
|
+
| `/god-harden` | a11y portion | warning |
|
|
97
|
+
| `/god-design` (post-change) | audit | warning |
|
|
98
|
+
|
|
99
|
+
## Output to events.jsonl
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{ "name": "runtime.start", "url": "https://...", "backend": "playwright" }
|
|
103
|
+
{ "name": "runtime.audit-complete", "errors": 0, "warnings": 2, "infos": 1 }
|
|
104
|
+
{ "name": "runtime.test-complete", "passed": 5, "failed": 1, "total": 6 }
|
|
105
|
+
{ "name": "runtime.critical", "trigger": "P-MUST-01-failed" }
|
|
106
|
+
{ "name": "runtime.end", "runId": "..." }
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Backend choice in detail
|
|
110
|
+
|
|
111
|
+
Three native backends supported, with a preference cascade:
|
|
112
|
+
|
|
113
|
+
### 1. agent-browser (preferred) - vercel-labs/agent-browser
|
|
114
|
+
|
|
115
|
+
[github.com/vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser).
|
|
116
|
+
Native Rust CLI built specifically for AI agents. Features:
|
|
117
|
+
|
|
118
|
+
- Accessibility-tree-first interface with stable refs (`@e1`, `@e2`)
|
|
119
|
+
- Semantic locators (`find role button --name "Submit"`)
|
|
120
|
+
- No Node.js daemon required (single binary)
|
|
121
|
+
- Headless by default; optimized for AI workflows
|
|
122
|
+
- Built-in `chat` mode for natural-language control
|
|
123
|
+
|
|
124
|
+
Install:
|
|
125
|
+
```bash
|
|
126
|
+
npm install -g agent-browser
|
|
127
|
+
agent-browser install # Downloads Chrome from Chrome for Testing
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
This is our preferred backend. Maps better to PRD acceptance phrasing
|
|
131
|
+
("user clicks Submit" -> `find role button click --name "Submit"`).
|
|
132
|
+
|
|
133
|
+
### 2. Playwright - microsoft/playwright
|
|
134
|
+
|
|
135
|
+
Full programmatic browser automation. Used when agent-browser absent.
|
|
136
|
+
Headless launch only (`headless: true` enforced by bridge).
|
|
137
|
+
|
|
138
|
+
## See also
|
|
139
|
+
|
|
140
|
+
- `lib/browser-bridge.js` - cascade detection + launch (agent-browser, Playwright)
|
|
141
|
+
- `lib/agent-browser-driver.js` - vercel-labs/agent-browser CLI wrapper
|
|
142
|
+
- `lib/runtime-audit.js` - design verification on rendered DOM (backend-aware)
|
|
143
|
+
- `lib/runtime-test.js` - PRD acceptance to user-flow assertions (backend-aware)
|
|
144
|
+
- `agents/god-browser-tester.md` - lifecycle owner of runtime checks
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-thread
|
|
3
|
+
description: |
|
|
4
|
+
Manage persistent context threads. Create, switch, list, and resume named
|
|
5
|
+
conversation threads for cross-session work on specific topics.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god thread", "/god-thread", "context thread", "named thread"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-thread
|
|
11
|
+
|
|
12
|
+
Manage persistent context threads.
|
|
13
|
+
|
|
14
|
+
## Subcommands
|
|
15
|
+
|
|
16
|
+
### `/god-thread new <name>`
|
|
17
|
+
Create a new thread. Records initial context to `.godpowers/threads/<name>.md`.
|
|
18
|
+
|
|
19
|
+
### `/god-thread list`
|
|
20
|
+
List all threads with last-updated timestamps.
|
|
21
|
+
|
|
22
|
+
### `/god-thread switch <name>`
|
|
23
|
+
Switch active thread. Loads previous context summary.
|
|
24
|
+
|
|
25
|
+
### `/god-thread resume <name>`
|
|
26
|
+
Resume a paused thread, loading its full context.
|
|
27
|
+
|
|
28
|
+
### `/god-thread archive <name>`
|
|
29
|
+
Archive a completed thread to `.godpowers/threads/archive/`.
|
|
30
|
+
|
|
31
|
+
## When to use
|
|
32
|
+
|
|
33
|
+
- Cross-session work on a specific topic ("auth migration", "billing refactor")
|
|
34
|
+
- Multi-week threads where you want to preserve reasoning
|
|
35
|
+
- Multiple parallel conversations on different parts of the project
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
Threads are markdown files with append-only context blocks per session.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-trace
|
|
3
|
+
description: |
|
|
4
|
+
Deep dive on one tier's events across one run. Shows every event
|
|
5
|
+
for the tier in chronological order with full attrs. Useful for
|
|
6
|
+
debugging a stuck or slow tier, or auditing what a specific
|
|
7
|
+
agent did.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god trace", "/god-trace", "what happened in tier-1",
|
|
10
|
+
"debug tier", "deep dive"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-trace
|
|
14
|
+
|
|
15
|
+
Deep dive on one tier's events.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### `/god-trace <tier>`
|
|
20
|
+
Filter the most-recent run by tier (e.g. `tier-1`, `tier-2`).
|
|
21
|
+
|
|
22
|
+
### `/god-trace <tier> <run-id>`
|
|
23
|
+
Specific run.
|
|
24
|
+
|
|
25
|
+
### `/god-trace <tier> --json`
|
|
26
|
+
Machine-readable.
|
|
27
|
+
|
|
28
|
+
## Output
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
TRACE tier-1 run=2026-05-10T21-42-00-abc12345
|
|
32
|
+
|
|
33
|
+
2026-05-10T21:42:00.000Z workflow.run attrs={workflow:full-arc}
|
|
34
|
+
2026-05-10T21:42:01.234Z agent.start agent=god-pm
|
|
35
|
+
2026-05-10T21:42:08.001Z tool.call tool=Read path=examples/...
|
|
36
|
+
2026-05-10T21:42:12.456Z tool.call tool=Write path=prd/PRD.md
|
|
37
|
+
2026-05-10T21:42:42.789Z agent.end agent=god-pm status=success
|
|
38
|
+
2026-05-10T21:42:43.012Z gate.pass gate=standards artifact=prd/PRD.md
|
|
39
|
+
2026-05-10T21:42:44.111Z agent.start agent=god-architect
|
|
40
|
+
...
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Implementation
|
|
44
|
+
|
|
45
|
+
Built-in. Calls `lib/event-reader.js trace(projectRoot, runId, tier)`.
|
|
46
|
+
|
|
47
|
+
## Related
|
|
48
|
+
|
|
49
|
+
- `/god-logs` - whole-run timeline
|
|
50
|
+
- `/god-metrics` - aggregate stats
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-undo
|
|
3
|
+
description: |
|
|
4
|
+
Revert the last operation via the reflog. Reads .godpowers/log, identifies
|
|
5
|
+
the most recent operation, and applies the inverse. Confirms before any
|
|
6
|
+
destructive change.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god undo", "/god-undo", "revert last", "undo that"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-undo
|
|
12
|
+
|
|
13
|
+
Revert the most recent state-changing operation.
|
|
14
|
+
|
|
15
|
+
## Process
|
|
16
|
+
|
|
17
|
+
1. Read `.godpowers/log` (the reflog)
|
|
18
|
+
2. Identify the most recent operation
|
|
19
|
+
3. Compute the inverse:
|
|
20
|
+
- `op:run` -> roll back tier statuses + move artifacts to .trash
|
|
21
|
+
- `op:extension.install` -> uninstall the extension
|
|
22
|
+
- `op:agent.update` -> revert agent version
|
|
23
|
+
4. Show the user what will happen, ask for confirmation
|
|
24
|
+
5. Execute on confirm; append a `op:undo` event to the log
|
|
25
|
+
|
|
26
|
+
## Safety
|
|
27
|
+
|
|
28
|
+
Destructive operations move files to `.godpowers/.trash/` (recoverable).
|
|
29
|
+
Never permanent deletion without explicit /god-restore decision.
|
|
30
|
+
|
|
31
|
+
## Subcommands
|
|
32
|
+
|
|
33
|
+
### `/god-undo`
|
|
34
|
+
Undo the most recent operation.
|
|
35
|
+
|
|
36
|
+
### `/god-undo --to=<op-id>`
|
|
37
|
+
Undo back to a specific operation.
|
|
38
|
+
|
|
39
|
+
### `/god-undo --dry-run`
|
|
40
|
+
Show what would happen without doing it.
|
|
41
|
+
|
|
42
|
+
## On Completion
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
Undone: [operation]
|
|
46
|
+
Restored: [N] artifacts to .trash for review
|
|
47
|
+
Reflog now points to: [previous op-id]
|
|
48
|
+
|
|
49
|
+
Suggested next:
|
|
50
|
+
- /god-status to verify current state
|
|
51
|
+
- /god-restore if you want to recover something specific
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## Locking
|
|
56
|
+
|
|
57
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
58
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
59
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
60
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
61
|
+
|
|
62
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
63
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
64
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
65
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
66
|
+
|
|
67
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
68
|
+
the full contract.
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-update-deps
|
|
3
|
+
description: |
|
|
4
|
+
Audit and update dependencies safely. Identifies CVEs, deprecation, and
|
|
5
|
+
staleness. Plans incremental updates with regression tests between each.
|
|
6
|
+
Distinguishes patch/minor (safe to batch) from major (needs migration).
|
|
7
|
+
|
|
8
|
+
Triggers on: "god update deps", "/god-update-deps", "update dependencies",
|
|
9
|
+
"audit deps", "npm audit", "dependency upgrade"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-update-deps
|
|
13
|
+
|
|
14
|
+
Update dependencies safely.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Routine maintenance (monthly cadence recommended)
|
|
19
|
+
- After a CVE alert
|
|
20
|
+
- Before a major release (clean dep tree)
|
|
21
|
+
- When `npm outdated` shows accumulated drift
|
|
22
|
+
|
|
23
|
+
## When NOT to use
|
|
24
|
+
|
|
25
|
+
- A specific dependency is part of a framework migration: use /god-upgrade
|
|
26
|
+
- Single trivial bump in dev: use /god-fast
|
|
27
|
+
|
|
28
|
+
## Orchestration
|
|
29
|
+
|
|
30
|
+
### Phase 1: Audit (god-deps-auditor)
|
|
31
|
+
Spawn **god-deps-auditor** in fresh context.
|
|
32
|
+
|
|
33
|
+
The agent:
|
|
34
|
+
1. Runs the appropriate audit tool for the stack (`npm audit`, `pip-audit`,
|
|
35
|
+
etc.)
|
|
36
|
+
2. Lists outdated and stale dependencies
|
|
37
|
+
3. Classifies each: Critical CVE / Stale / Major behind / Minor behind / OK
|
|
38
|
+
4. Writes AUDIT.md
|
|
39
|
+
|
|
40
|
+
### Phase 2: Triage
|
|
41
|
+
The agent presents the audit. Priority order:
|
|
42
|
+
1. Critical CVEs (act now)
|
|
43
|
+
2. Stale + major behind (likely abandoned, plan replacement)
|
|
44
|
+
3. Minor/patch updates (batch them)
|
|
45
|
+
|
|
46
|
+
### Phase 3: Apply Updates
|
|
47
|
+
|
|
48
|
+
For **patch updates** (X.Y.Z -> X.Y.Z+1):
|
|
49
|
+
- Group by category (e.g., all eslint plugins together)
|
|
50
|
+
- Spawn **god-executor** to update + run tests
|
|
51
|
+
- Spawn reviewers (compressed)
|
|
52
|
+
- Atomic commit
|
|
53
|
+
|
|
54
|
+
For **minor updates** (X.Y -> X.Y+1):
|
|
55
|
+
- One package at a time
|
|
56
|
+
- Spawn **god-executor** to update + run tests + read changelog
|
|
57
|
+
- Spawn reviewers
|
|
58
|
+
- Atomic commit
|
|
59
|
+
|
|
60
|
+
For **major updates** (X -> X+1):
|
|
61
|
+
- DO NOT proceed in this workflow
|
|
62
|
+
- Route to /god-upgrade for each major update
|
|
63
|
+
- Defer in this AUDIT.md
|
|
64
|
+
|
|
65
|
+
### Phase 4: Verify
|
|
66
|
+
After all updates:
|
|
67
|
+
- Full test suite must pass
|
|
68
|
+
- CI must be green
|
|
69
|
+
- Lockfile committed
|
|
70
|
+
|
|
71
|
+
## On Completion
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
Dependency audit complete.
|
|
75
|
+
|
|
76
|
+
Critical CVEs: N (all addressed)
|
|
77
|
+
Patch updates: N applied
|
|
78
|
+
Minor updates: N applied
|
|
79
|
+
Major updates: N deferred to /god-upgrade
|
|
80
|
+
|
|
81
|
+
Audit: .godpowers/deps/AUDIT.md
|
|
82
|
+
|
|
83
|
+
Suggested next:
|
|
84
|
+
- For each major version deferred: /god-upgrade
|
|
85
|
+
- /god-status to verify project state
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Have-Nots
|
|
89
|
+
|
|
90
|
+
Deps update FAILS if:
|
|
91
|
+
- Critical CVE found and not addressed (without rationale)
|
|
92
|
+
- Multiple major updates batched in one commit
|
|
93
|
+
- No regression tests run between updates
|
|
94
|
+
- Bulk update without per-package commits (loses bisect-ability)
|
|
95
|
+
- Lockfile not committed
|
|
96
|
+
|
|
97
|
+
## Linkage and reverse-sync
|
|
98
|
+
|
|
99
|
+
Per Phase 13 of the production-ready plan, this workflow participates
|
|
100
|
+
in the linkage system:
|
|
101
|
+
|
|
102
|
+
- On completion of any code change, `lib/reverse-sync.run(projectRoot)`
|
|
103
|
+
is called via god-updater. This:
|
|
104
|
+
- Scans new/modified code for linkage annotations (// Implements: P-MUST-NN, etc.)
|
|
105
|
+
- Updates `.godpowers/links/{artifact-to-code,code-to-artifact}.json`
|
|
106
|
+
- Detects drift via `lib/drift-detector`
|
|
107
|
+
- Appends fenced footers to PRD/ARCH/ROADMAP/STACK/DESIGN
|
|
108
|
+
- Surfaces drift findings to REVIEW-REQUIRED.md
|
|
109
|
+
|
|
110
|
+
- Stable IDs MUST be used in artifact deltas (P-MUST-NN, ADR-NNN,
|
|
111
|
+
C-{slug}, M-{slug}, S-{slug}, D-{slug}, token paths). The scanner
|
|
112
|
+
picks them up automatically via comment annotations.
|
|
113
|
+
|
|
114
|
+
- For UI work: agent-browser audit may run as part of /god-build
|
|
115
|
+
post-wave or /god-launch gate (see `/god-test-runtime`).
|
|
116
|
+
|
|
117
|
+
- Findings flow into the standard REVIEW-REQUIRED.md walkthrough
|
|
118
|
+
via `/god-review-changes`.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## Locking
|
|
122
|
+
|
|
123
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
124
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
125
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
126
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
127
|
+
|
|
128
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
129
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
130
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
131
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
132
|
+
|
|
133
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
134
|
+
the full contract.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-upgrade
|
|
3
|
+
description: |
|
|
4
|
+
Framework, version, or stack migration. Uses expand-contract pattern,
|
|
5
|
+
incremental rollout with parallel paths during transition, metric-gated
|
|
6
|
+
steps. Avoids big-bang migrations.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god upgrade", "/god-upgrade", "migrate framework", "upgrade version",
|
|
9
|
+
"framework migration", "stack migration", "version bump"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-upgrade
|
|
13
|
+
|
|
14
|
+
Migrate a framework, version, or stack component safely.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- React 17 -> React 19
|
|
19
|
+
- Node 18 -> Node 22
|
|
20
|
+
- Python 3.10 -> 3.13
|
|
21
|
+
- Express -> Fastify
|
|
22
|
+
- Replacing one library with another
|
|
23
|
+
|
|
24
|
+
## When NOT to use
|
|
25
|
+
|
|
26
|
+
- Single dependency bump (patch/minor): use /god-update-deps
|
|
27
|
+
- New feature, not migration: use /god-feature
|
|
28
|
+
- Refactor without version change: use /god-refactor
|
|
29
|
+
|
|
30
|
+
## Setup
|
|
31
|
+
|
|
32
|
+
Ask the user:
|
|
33
|
+
- From: current version/framework
|
|
34
|
+
- To: target
|
|
35
|
+
- Why: business reason (not "newer is better")
|
|
36
|
+
|
|
37
|
+
## Orchestration
|
|
38
|
+
|
|
39
|
+
### Phase 1: Strategy (god-migration-strategist)
|
|
40
|
+
Spawn **god-migration-strategist** in fresh context with the migration target.
|
|
41
|
+
|
|
42
|
+
The agent:
|
|
43
|
+
1. Audits surface area (which files/modules touched)
|
|
44
|
+
2. Reads upstream changelog for breaking changes
|
|
45
|
+
3. Assesses test coverage on affected surface
|
|
46
|
+
4. Drafts MIGRATION.md with phased plan (expand -> migrate slices -> contract)
|
|
47
|
+
5. Identifies risks and rollback strategy
|
|
48
|
+
|
|
49
|
+
### Phase 2: Test Coverage Gap-Fill
|
|
50
|
+
If coverage is insufficient on the affected surface:
|
|
51
|
+
Spawn **god-planner** to plan adding tests
|
|
52
|
+
Spawn **god-executor** + reviewers per test slice
|
|
53
|
+
Test coverage must be sufficient BEFORE migration starts.
|
|
54
|
+
|
|
55
|
+
### Phase 3: Expand
|
|
56
|
+
For each component being migrated:
|
|
57
|
+
- Spawn **god-executor** to introduce the new version alongside the old
|
|
58
|
+
- Add abstraction layer if needed (branch-by-abstraction)
|
|
59
|
+
- Both code paths exist
|
|
60
|
+
- Tests cover both
|
|
61
|
+
|
|
62
|
+
### Phase 4: Migrate Slices
|
|
63
|
+
For each migration slice:
|
|
64
|
+
1. Spawn **god-executor** to migrate one slice
|
|
65
|
+
2. Spawn **god-spec-reviewer** + **god-quality-reviewer**
|
|
66
|
+
3. Atomic commit
|
|
67
|
+
4. Spawn **god-deploy-engineer** with feature flag (1% -> 10% -> 50% -> 100%)
|
|
68
|
+
5. Spawn **god-observability-engineer** to monitor key metrics
|
|
69
|
+
6. Wait at least 24 hours before next slice (configurable)
|
|
70
|
+
7. If metrics regress: rollback this slice, investigate
|
|
71
|
+
|
|
72
|
+
### Phase 5: Contract
|
|
73
|
+
After 100% migrated AND a monitoring window passes:
|
|
74
|
+
- Spawn **god-executor** to remove old code path
|
|
75
|
+
- Spawn reviewers
|
|
76
|
+
- Atomic commit: `chore(migration): remove old <thing> path (100% on new)`
|
|
77
|
+
|
|
78
|
+
## On Completion
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
Migration complete: <from> -> <to>
|
|
82
|
+
|
|
83
|
+
Surface migrated: N files, N modules
|
|
84
|
+
Slices: N (all committed and verified)
|
|
85
|
+
Old code path: removed
|
|
86
|
+
Monitoring window: passed
|
|
87
|
+
|
|
88
|
+
Suggested next: /god-status
|
|
89
|
+
Or: /god-update-deps to address any other outdated dependencies
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Have-Nots
|
|
93
|
+
|
|
94
|
+
Upgrade FAILS if:
|
|
95
|
+
- Big-bang migration (no incremental slices)
|
|
96
|
+
- No expand-contract pattern
|
|
97
|
+
- Tests not added before migration starts
|
|
98
|
+
- Metrics not gating slice progression
|
|
99
|
+
- Old code removed before 100% migrated
|
|
100
|
+
- No rollback plan per slice
|
|
101
|
+
|
|
102
|
+
## Linkage and reverse-sync
|
|
103
|
+
|
|
104
|
+
Per Phase 13 of the production-ready plan, this workflow participates
|
|
105
|
+
in the linkage system:
|
|
106
|
+
|
|
107
|
+
- On completion of any code change, `lib/reverse-sync.run(projectRoot)`
|
|
108
|
+
is called via god-updater. This:
|
|
109
|
+
- Scans new/modified code for linkage annotations (// Implements: P-MUST-NN, etc.)
|
|
110
|
+
- Updates `.godpowers/links/{artifact-to-code,code-to-artifact}.json`
|
|
111
|
+
- Detects drift via `lib/drift-detector`
|
|
112
|
+
- Appends fenced footers to PRD/ARCH/ROADMAP/STACK/DESIGN
|
|
113
|
+
- Surfaces drift findings to REVIEW-REQUIRED.md
|
|
114
|
+
|
|
115
|
+
- Stable IDs MUST be used in artifact deltas (P-MUST-NN, ADR-NNN,
|
|
116
|
+
C-{slug}, M-{slug}, S-{slug}, D-{slug}, token paths). The scanner
|
|
117
|
+
picks them up automatically via comment annotations.
|
|
118
|
+
|
|
119
|
+
- For UI work: agent-browser audit may run as part of /god-build
|
|
120
|
+
post-wave or /god-launch gate (see `/god-test-runtime`).
|
|
121
|
+
|
|
122
|
+
- Findings flow into the standard REVIEW-REQUIRED.md walkthrough
|
|
123
|
+
via `/god-review-changes`.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## Locking
|
|
127
|
+
|
|
128
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
129
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
130
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
131
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
132
|
+
|
|
133
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
134
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
135
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
136
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
137
|
+
|
|
138
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
139
|
+
the full contract.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-version
|
|
3
|
+
description: |
|
|
4
|
+
Print installed Godpowers version and a one-line capability summary.
|
|
5
|
+
Useful for bug reports, troubleshooting, and verifying upgrades.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god version", "/god-version", "what version of godpowers"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-version
|
|
11
|
+
|
|
12
|
+
Print version and a short capability summary.
|
|
13
|
+
|
|
14
|
+
## Output
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
Godpowers v0.12.0
|
|
18
|
+
Install: /Users/.../.claude/ (matches package.json)
|
|
19
|
+
Surface: 82 skills, 38 agents, 13 workflows, 36 recipes
|
|
20
|
+
Schema: intent.v1, state.v1, events.v1, workflow.v1, routing.v1, recipe.v1
|
|
21
|
+
External integrations available: impeccable, agent-browser (others lazy)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Subcommands
|
|
25
|
+
|
|
26
|
+
### `/god-version --json`
|
|
27
|
+
Machine-readable output.
|
|
28
|
+
|
|
29
|
+
### `/god-version --check-updates`
|
|
30
|
+
Hit npm to see if a newer version is available (network-aware; fails
|
|
31
|
+
soft if offline).
|
|
32
|
+
|
|
33
|
+
## Implementation
|
|
34
|
+
|
|
35
|
+
Built-in, no spawned agent. Reads:
|
|
36
|
+
- `<runtime>/GODPOWERS_VERSION`
|
|
37
|
+
- File counts in `<runtime>/skills/`, `<runtime>/agents/`, `workflows/`, `routing/recipes/`
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-workstream
|
|
3
|
+
description: |
|
|
4
|
+
Manage parallel workstreams. Create, list, switch, and merge isolated
|
|
5
|
+
workspaces for parallel development. Each workstream has its own .godpowers/
|
|
6
|
+
state and git branch.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god workstream", "/god-workstream", "parallel work", "new branch",
|
|
9
|
+
"split work"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-workstream
|
|
13
|
+
|
|
14
|
+
Manage parallel workstreams for concurrent development.
|
|
15
|
+
|
|
16
|
+
## Subcommands
|
|
17
|
+
|
|
18
|
+
### `/god-workstream new <name>`
|
|
19
|
+
Create a new workstream:
|
|
20
|
+
1. Create git branch `workstream/<name>`
|
|
21
|
+
2. Create `.godpowers/workstreams/<name>/` with isolated PROGRESS.md
|
|
22
|
+
3. Switch to the new branch and workstream
|
|
23
|
+
4. New workstream inherits PRD/ARCH/ROADMAP from main but tracks its own build state
|
|
24
|
+
|
|
25
|
+
### `/god-workstream list`
|
|
26
|
+
List all active workstreams:
|
|
27
|
+
```
|
|
28
|
+
Active workstreams:
|
|
29
|
+
* main (current) Build: 60% complete
|
|
30
|
+
feature-x Build: 20% complete
|
|
31
|
+
bugfix-y Build: 90% complete (ready to merge)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### `/god-workstream switch <name>`
|
|
35
|
+
Switch to a different workstream:
|
|
36
|
+
1. Verify current workstream has no uncommitted changes (or stash them)
|
|
37
|
+
2. Checkout `workstream/<name>` branch
|
|
38
|
+
3. Load `.godpowers/workstreams/<name>/PROGRESS.md` as active state
|
|
39
|
+
|
|
40
|
+
### `/god-workstream status`
|
|
41
|
+
Show detailed status of current workstream and any conflicts with main.
|
|
42
|
+
|
|
43
|
+
### `/god-workstream merge <name>`
|
|
44
|
+
Merge a workstream back to main:
|
|
45
|
+
1. Verify the workstream has no incomplete sub-steps (or confirm partial merge)
|
|
46
|
+
2. Run /god-review on the diff
|
|
47
|
+
3. If passes: merge to main, archive workstream artifacts
|
|
48
|
+
4. If fails: report findings, do not merge
|
|
49
|
+
|
|
50
|
+
### `/god-workstream remove <name>`
|
|
51
|
+
Delete a workstream (with confirmation if not merged).
|
|
52
|
+
|
|
53
|
+
## When to use
|
|
54
|
+
|
|
55
|
+
- Two engineers working on different parts of the same project
|
|
56
|
+
- Exploring a risky refactor without disrupting main work
|
|
57
|
+
- Running /god-mode for a sub-feature in isolation while main keeps moving
|
|
58
|
+
|
|
59
|
+
## On Completion
|
|
60
|
+
|
|
61
|
+
Display the new active workstream and suggested next command.
|