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,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-pause-work
|
|
3
|
+
description: |
|
|
4
|
+
Pause work mid-task. Captures the current state, what was being worked on,
|
|
5
|
+
open threads, and next steps so a future session can resume cleanly.
|
|
6
|
+
Writes to .godpowers/HANDOFF.md.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god pause", "/god-pause-work", "pause work", "save context",
|
|
9
|
+
"I need to stop"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-pause-work
|
|
13
|
+
|
|
14
|
+
Create a context handoff so you can resume cleanly later.
|
|
15
|
+
|
|
16
|
+
## Process
|
|
17
|
+
|
|
18
|
+
1. Read `.godpowers/PROGRESS.md` to capture current state
|
|
19
|
+
2. Identify what was actively being worked on:
|
|
20
|
+
- Which slice? Which agent was running?
|
|
21
|
+
- What was the next step?
|
|
22
|
+
- What was blocked?
|
|
23
|
+
3. Capture conversation context:
|
|
24
|
+
- Decisions made this session
|
|
25
|
+
- Open questions raised
|
|
26
|
+
- Things the user mentioned that aren't yet in artifacts
|
|
27
|
+
4. Write `.godpowers/HANDOFF.md`:
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
# Godpowers Handoff
|
|
31
|
+
|
|
32
|
+
Paused: [timestamp]
|
|
33
|
+
|
|
34
|
+
## Where We Were
|
|
35
|
+
[Specific tier, sub-step, slice if applicable]
|
|
36
|
+
|
|
37
|
+
## Active Work
|
|
38
|
+
[What was in flight when we paused]
|
|
39
|
+
|
|
40
|
+
## Open Threads
|
|
41
|
+
- [Unresolved item 1]
|
|
42
|
+
- [Unresolved item 2]
|
|
43
|
+
|
|
44
|
+
## Decisions This Session
|
|
45
|
+
- [Decision] (recorded in [artifact])
|
|
46
|
+
- [Decision] (verbal, needs to be added to [artifact])
|
|
47
|
+
|
|
48
|
+
## Next Steps
|
|
49
|
+
- [Specific next action]
|
|
50
|
+
- [Specific next action]
|
|
51
|
+
|
|
52
|
+
## Resume With
|
|
53
|
+
`/god-resume-work` to load this context, then continue.
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
5. Update PROGRESS.md to mark current sub-step as `in-flight` if not already
|
|
57
|
+
|
|
58
|
+
## On Completion
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
Work paused. Handoff written: .godpowers/HANDOFF.md
|
|
62
|
+
|
|
63
|
+
To resume: open a new session and run /god-resume-work
|
|
64
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-plant-seed
|
|
3
|
+
description: |
|
|
4
|
+
Capture a forward-looking idea with trigger conditions. Surfaces
|
|
5
|
+
automatically when the trigger fires (e.g., "when MRR > $5k, revisit
|
|
6
|
+
pricing"). Stored in .godpowers/seeds/.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god plant seed", "/god-plant-seed", "for the future",
|
|
9
|
+
"when X happens"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-plant-seed
|
|
13
|
+
|
|
14
|
+
Capture an idea that should surface later when conditions are right.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- "When we hit 1000 users, we should revisit our database design"
|
|
19
|
+
- "When the next major Node version drops, evaluate the new fetch API"
|
|
20
|
+
- "When team size > 5, introduce sprint ceremonies"
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. Take the idea + trigger condition from the user
|
|
25
|
+
2. Write to `.godpowers/seeds/<seed-id>.md`:
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
# Seed: [short name]
|
|
29
|
+
|
|
30
|
+
Date planted: [ISO 8601]
|
|
31
|
+
Trigger: [specific condition]
|
|
32
|
+
Idea: [what to do when triggered]
|
|
33
|
+
Source: [conversation context]
|
|
34
|
+
Status: dormant
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
3. The seed lies dormant until /god-status or another command checks if
|
|
38
|
+
the trigger condition is met.
|
|
39
|
+
|
|
40
|
+
## Trigger types
|
|
41
|
+
|
|
42
|
+
- **Metric-based**: "When MRR > $5k"
|
|
43
|
+
- **Time-based**: "In 3 months, revisit"
|
|
44
|
+
- **Event-based**: "After first major incident"
|
|
45
|
+
- **Tool-based**: "When Node 24 is released"
|
|
46
|
+
|
|
47
|
+
## Subcommands
|
|
48
|
+
|
|
49
|
+
### `/god-plant-seed <description>`
|
|
50
|
+
Plant a seed.
|
|
51
|
+
|
|
52
|
+
### `/god-plant-seed list`
|
|
53
|
+
Show all dormant seeds.
|
|
54
|
+
|
|
55
|
+
### `/god-plant-seed check`
|
|
56
|
+
Check all seeds against current state. Surface any with met triggers.
|
|
57
|
+
|
|
58
|
+
### `/god-plant-seed harvest <id>`
|
|
59
|
+
Mark a seed as acted upon (route to /god-feature or /god-add-todo).
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-postmortem
|
|
3
|
+
description: |
|
|
4
|
+
Post-incident investigation. Builds timeline, identifies root cause AND
|
|
5
|
+
class-of-bug, produces action items with owners and due dates, updates
|
|
6
|
+
runbooks. Blameless framing.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god postmortem", "/god-postmortem", "incident review",
|
|
9
|
+
"after-action", "root cause analysis", "what happened"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-postmortem
|
|
13
|
+
|
|
14
|
+
Investigate an incident after resolution.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- An incident has been resolved (or is being resolved)
|
|
19
|
+
- You need to prevent the class of bug, not just this instance
|
|
20
|
+
- You're following up after /god-hotfix
|
|
21
|
+
|
|
22
|
+
## When NOT to use
|
|
23
|
+
|
|
24
|
+
- Incident is still active: use /god-debug or /god-hotfix
|
|
25
|
+
- Bug found in dev (no incident): use /god-debug
|
|
26
|
+
|
|
27
|
+
## Setup
|
|
28
|
+
|
|
29
|
+
Ask the user:
|
|
30
|
+
- Incident ID or short title
|
|
31
|
+
- When it started (rough)
|
|
32
|
+
- When it was resolved
|
|
33
|
+
- Who responded
|
|
34
|
+
- The hotfix commit SHA if applicable
|
|
35
|
+
|
|
36
|
+
## Orchestration
|
|
37
|
+
|
|
38
|
+
Spawn **god-incident-investigator** in fresh context with the incident metadata.
|
|
39
|
+
|
|
40
|
+
The agent:
|
|
41
|
+
1. Builds the timeline from logs, events, git history
|
|
42
|
+
2. Identifies root cause via 5-whys or causal chain
|
|
43
|
+
3. Identifies class-of-bug (broader pattern)
|
|
44
|
+
4. Drafts blameless action items with owners and due dates
|
|
45
|
+
5. Updates relevant runbooks
|
|
46
|
+
6. Writes POSTMORTEM.md
|
|
47
|
+
|
|
48
|
+
## After the Investigator Returns
|
|
49
|
+
|
|
50
|
+
Optionally spawn **god-docs-writer** to:
|
|
51
|
+
- Update relevant runbooks
|
|
52
|
+
- Update on-call documentation if applicable
|
|
53
|
+
- Update architecture docs if the incident revealed a structural issue
|
|
54
|
+
|
|
55
|
+
## On Completion
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Postmortem complete: .godpowers/postmortems/<incident-id>/POSTMORTEM.md
|
|
59
|
+
|
|
60
|
+
Severity: SEV-[N]
|
|
61
|
+
Root cause: [one line]
|
|
62
|
+
Class of bug: [pattern]
|
|
63
|
+
Action items: [N], with owners and due dates
|
|
64
|
+
|
|
65
|
+
Suggested next:
|
|
66
|
+
- Schedule a blameless review meeting if multi-person team
|
|
67
|
+
- /god-status to see action items in PROGRESS.md
|
|
68
|
+
- /god-feature to prioritize the highest-priority action item
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Have-Nots
|
|
72
|
+
|
|
73
|
+
Postmortem FAILS if:
|
|
74
|
+
- Action items are vague ("communicate better", "more tests")
|
|
75
|
+
- Action items have no owner or due date
|
|
76
|
+
- Phrasing blames individuals instead of systems
|
|
77
|
+
- Root cause is symptom-level
|
|
78
|
+
- No class-of-bug identified
|
|
79
|
+
- Runbooks not updated
|
|
80
|
+
- Timeline has gaps without acknowledging unknowns
|
|
81
|
+
|
|
82
|
+
## Linkage and reverse-sync
|
|
83
|
+
|
|
84
|
+
Per Phase 13 of the production-ready plan, this workflow participates
|
|
85
|
+
in the linkage system:
|
|
86
|
+
|
|
87
|
+
- On completion of any code change, `lib/reverse-sync.run(projectRoot)`
|
|
88
|
+
is called via god-updater. This:
|
|
89
|
+
- Scans new/modified code for linkage annotations (// Implements: P-MUST-NN, etc.)
|
|
90
|
+
- Updates `.godpowers/links/{artifact-to-code,code-to-artifact}.json`
|
|
91
|
+
- Detects drift via `lib/drift-detector`
|
|
92
|
+
- Appends fenced footers to PRD/ARCH/ROADMAP/STACK/DESIGN
|
|
93
|
+
- Surfaces drift findings to REVIEW-REQUIRED.md
|
|
94
|
+
|
|
95
|
+
- Stable IDs MUST be used in artifact deltas (P-MUST-NN, ADR-NNN,
|
|
96
|
+
C-{slug}, M-{slug}, S-{slug}, D-{slug}, token paths). The scanner
|
|
97
|
+
picks them up automatically via comment annotations.
|
|
98
|
+
|
|
99
|
+
- For UI work: agent-browser audit may run as part of /god-build
|
|
100
|
+
post-wave or /god-launch gate (see `/god-test-runtime`).
|
|
101
|
+
|
|
102
|
+
- Findings flow into the standard REVIEW-REQUIRED.md walkthrough
|
|
103
|
+
via `/god-review-changes`.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-pr-branch
|
|
3
|
+
description: |
|
|
4
|
+
Create a clean PR branch by filtering out .godpowers/ commits. Useful when
|
|
5
|
+
shipping to a public repo where reviewers don't need the planning artifacts.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god pr branch", "/god-pr-branch", "clean PR", "PR ready",
|
|
8
|
+
"filter planning"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-pr-branch
|
|
12
|
+
|
|
13
|
+
Create a code-only branch for PR review.
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- Open source repo where .godpowers/ shouldn't ship
|
|
18
|
+
- Working repo separate from planning repo
|
|
19
|
+
- PR reviewers complaining about noise
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
|
|
23
|
+
1. From current branch, identify commits since main
|
|
24
|
+
2. For each commit:
|
|
25
|
+
- If it touches code only: cherry-pick to new branch
|
|
26
|
+
- If it touches both code and .godpowers/: split. Keep the code commit;
|
|
27
|
+
drop the .godpowers/ commit (already exists on the original branch).
|
|
28
|
+
- If it touches only .godpowers/: skip
|
|
29
|
+
3. Create new branch `pr/<original-branch-name>`
|
|
30
|
+
4. Push to remote
|
|
31
|
+
5. Show the user the PR URL to create
|
|
32
|
+
|
|
33
|
+
## Output
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
PR branch created: pr/feature-x
|
|
37
|
+
Commits: N (filtered from M originals)
|
|
38
|
+
Push: success
|
|
39
|
+
|
|
40
|
+
Create PR: https://github.com/<repo>/compare/main...pr/feature-x
|
|
41
|
+
|
|
42
|
+
Original branch (with planning artifacts): feature-x
|
|
43
|
+
PR branch (code only): pr/feature-x
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Have-Nots
|
|
47
|
+
|
|
48
|
+
- PR branch contains .godpowers/ files (filter failed)
|
|
49
|
+
- PR branch is missing code changes that the original had
|
|
50
|
+
- Force-pushed over an existing PR branch (must be a new branch each run)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-prd
|
|
3
|
+
description: |
|
|
4
|
+
Write a Product Requirements Document with mechanical quality enforcement.
|
|
5
|
+
Spawns the god-pm specialist agent in a fresh context.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god prd", "/god-prd", "write the prd", "product requirements"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-prd
|
|
11
|
+
|
|
12
|
+
Spawn the **god-pm** agent in a fresh context via Task tool.
|
|
13
|
+
|
|
14
|
+
## Setup
|
|
15
|
+
|
|
16
|
+
1. If `.godpowers/PROGRESS.md` does not exist: tell the user to run `/god-init` first
|
|
17
|
+
2. Otherwise: spawn god-pm with the user's project description from PROGRESS.md
|
|
18
|
+
3. The agent writes `.godpowers/prd/PRD.md`
|
|
19
|
+
4. The agent runs have-nots checks before declaring done
|
|
20
|
+
5. If god-pm pauses for a human question: relay to user using pause format
|
|
21
|
+
|
|
22
|
+
## Verification
|
|
23
|
+
|
|
24
|
+
After god-pm returns:
|
|
25
|
+
1. Verify `.godpowers/prd/PRD.md` exists on disk
|
|
26
|
+
2. Spawn god-auditor briefly to verify have-nots pass
|
|
27
|
+
3. Update `.godpowers/PROGRESS.md`: PRD status = done
|
|
28
|
+
|
|
29
|
+
## Pause Format
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
PAUSE: [question]
|
|
33
|
+
Why: [why only you can answer]
|
|
34
|
+
Options:
|
|
35
|
+
A: ... -- [tradeoff]
|
|
36
|
+
B: ... -- [tradeoff]
|
|
37
|
+
Default: [if you say "go", I'll pick X because Y]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## On Completion
|
|
41
|
+
|
|
42
|
+
After PRD is written and have-nots pass, print:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
PRD complete: .godpowers/prd/PRD.md
|
|
46
|
+
|
|
47
|
+
Suggested next: /god-arch (design the architecture)
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Re-invocation contract
|
|
52
|
+
|
|
53
|
+
What happens if `/god-prd` is run when `.godpowers/prd/PRD.md` already exists:
|
|
54
|
+
|
|
55
|
+
| Existing state | Behavior |
|
|
56
|
+
|---|---|
|
|
57
|
+
| File does not exist | Spawn god-pm; produce file; mark sub-step done |
|
|
58
|
+
| File exists, passes lint, state.json says `done` | Pause: ask user (A) re-run anyway with diff preview, (B) treat as imported (no-op), (C) cancel |
|
|
59
|
+
| File exists, fails lint or have-nots | Spawn god-pm in update mode with current file + findings as input. Diff preview before overwrite. |
|
|
60
|
+
| File exists, state.json says `pending` | Treat as imported: hash + register, no agent spawn. User can `/god-prd --force` to re-run. |
|
|
61
|
+
| `--force` flag passed | Snapshot existing file to `.godpowers/.trash/god-prd-<ts>/`. Spawn agent fresh. |
|
|
62
|
+
| `--dry-run` flag passed | Show what would happen; touch nothing |
|
|
63
|
+
|
|
64
|
+
Snapshots in `.trash/` are recoverable via `/god-restore` for 30 days.
|
|
65
|
+
The reflog records every god-prd invocation as `op:god-prd` for `/god-undo`.
|
|
66
|
+
|
|
67
|
+
### Idempotency guarantees
|
|
68
|
+
|
|
69
|
+
- Running `/god-prd` twice with no user input between them is a no-op
|
|
70
|
+
(second call detects the artifact and pauses).
|
|
71
|
+
- Running `/god-prd --dry-run` is always read-only.
|
|
72
|
+
- An interrupted `/god-prd` (agent crashes mid-run) leaves state.json
|
|
73
|
+
with `status: failed` and the artifact path either missing or marked
|
|
74
|
+
for `/god-repair` review. Re-running picks up cleanly.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## Locking
|
|
78
|
+
|
|
79
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
80
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
81
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
82
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
83
|
+
|
|
84
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
85
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
86
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
87
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
88
|
+
|
|
89
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
90
|
+
the full contract.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-quick
|
|
3
|
+
description: |
|
|
4
|
+
Execute a small task with Godpowers atomic commits and TDD discipline, but
|
|
5
|
+
skip optional gates (no PRD, no ARCH, no roadmap). For tasks too big for
|
|
6
|
+
/god-fast but too small for /god-build.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god quick", "/god-quick", "small task", "minor feature"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-quick
|
|
12
|
+
|
|
13
|
+
Run a focused task with TDD and atomic commits, but skip the full planning
|
|
14
|
+
arc.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- One small feature with clear scope (1-3 hours of work)
|
|
19
|
+
- Refactor with regression risk (TDD matters here)
|
|
20
|
+
- Bug fix that needs a regression test
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. Ask the user for the task description (one paragraph max)
|
|
25
|
+
2. Skip PRD, ARCH, ROADMAP, STACK
|
|
26
|
+
3. Spawn god-planner directly with the task description (treat it as a single slice)
|
|
27
|
+
4. Spawn god-executor for the slice (TDD enforced)
|
|
28
|
+
5. Spawn god-spec-reviewer + god-quality-reviewer
|
|
29
|
+
6. Atomic commit on pass
|
|
30
|
+
|
|
31
|
+
## What still applies
|
|
32
|
+
|
|
33
|
+
- TDD enforcement
|
|
34
|
+
- Two-stage review
|
|
35
|
+
- Atomic commit
|
|
36
|
+
- Have-nots check on the code
|
|
37
|
+
|
|
38
|
+
## What's skipped
|
|
39
|
+
|
|
40
|
+
- Planning tier (PRD/ARCH/ROADMAP/STACK)
|
|
41
|
+
- Build planning into waves (single slice only)
|
|
42
|
+
- PROGRESS.md updates if no `.godpowers/` exists
|
|
43
|
+
|
|
44
|
+
## On Completion
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
Quick task complete.
|
|
48
|
+
Test results: [N] passed
|
|
49
|
+
Commit: [SHA]
|
|
50
|
+
```
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-reconcile
|
|
3
|
+
description: |
|
|
4
|
+
Comprehensive reconciliation across all impacted artifacts before doing
|
|
5
|
+
feature work. Checks PRD, ARCH, ROADMAP, STACK, REPO, DEPLOY, OBSERVE,
|
|
6
|
+
HARDEN, LAUNCH, BACKLOG, SEEDS, TODOS, THREADS in parallel. Replaces
|
|
7
|
+
/god-roadmap-check (kept for back-compat; this is the comprehensive version).
|
|
8
|
+
|
|
9
|
+
Triggers on: "god reconcile", "/god-reconcile", "check all", "full check",
|
|
10
|
+
"where does this fit", "what does this touch"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-reconcile
|
|
14
|
+
|
|
15
|
+
Multi-artifact reconciliation before feature work.
|
|
16
|
+
|
|
17
|
+
## When auto-invoked
|
|
18
|
+
|
|
19
|
+
When the user describes feature intent and the matched recipe is in the
|
|
20
|
+
`feature-addition` category, /god-next automatically calls /god-reconcile
|
|
21
|
+
before showing the recipe sequence.
|
|
22
|
+
|
|
23
|
+
## When manually invoked
|
|
24
|
+
|
|
25
|
+
User runs `/god-reconcile` with an intent description. Useful for:
|
|
26
|
+
- Sanity check before starting any non-trivial work
|
|
27
|
+
- "Where does this fit in the existing system?"
|
|
28
|
+
- Resolving overlap between intent and existing artifacts
|
|
29
|
+
|
|
30
|
+
## Setup
|
|
31
|
+
|
|
32
|
+
1. Verify `.godpowers/` exists. If not: nothing to reconcile against; suggest /god-init.
|
|
33
|
+
2. Spawn god-reconciler in fresh context with the intent.
|
|
34
|
+
|
|
35
|
+
## Verification
|
|
36
|
+
|
|
37
|
+
After god-reconciler returns:
|
|
38
|
+
1. Verify all 13 artifact statuses are reported (no silent skips)
|
|
39
|
+
2. Display structured verdict to user
|
|
40
|
+
3. Present recommended sequence (preflight + main work + post-work)
|
|
41
|
+
4. Await user decision
|
|
42
|
+
|
|
43
|
+
## Output
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Reconciliation: <intent>
|
|
47
|
+
|
|
48
|
+
Where this intersects existing artifacts:
|
|
49
|
+
|
|
50
|
+
Tier 1 (Planning):
|
|
51
|
+
PRD: [status] [action if needed]
|
|
52
|
+
ARCH: [status] [action if needed]
|
|
53
|
+
ROADMAP: [status] [match if any]
|
|
54
|
+
STACK: [status]
|
|
55
|
+
|
|
56
|
+
Tier 2 (Building):
|
|
57
|
+
REPO: [status]
|
|
58
|
+
BUILD: [status]
|
|
59
|
+
|
|
60
|
+
Tier 3 (Shipping):
|
|
61
|
+
DEPLOY: [status]
|
|
62
|
+
OBSERVE: [status]
|
|
63
|
+
HARDEN: [status]
|
|
64
|
+
LAUNCH: [status]
|
|
65
|
+
|
|
66
|
+
Capture:
|
|
67
|
+
BACKLOG: [status] [match if any]
|
|
68
|
+
SEEDS: [status] [match if any]
|
|
69
|
+
TODOS: [status] [match if any]
|
|
70
|
+
THREADS: [status] [match if any]
|
|
71
|
+
|
|
72
|
+
Recommended sequence:
|
|
73
|
+
Preflight: [/god-redo prd, /god-arch delta-only]
|
|
74
|
+
Main work: [/god-feature scoped to Milestone 2]
|
|
75
|
+
Post-work: [/god-sync]
|
|
76
|
+
|
|
77
|
+
Run? (yes / show alternatives / cancel)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Difference from /god-roadmap-check
|
|
81
|
+
|
|
82
|
+
| | /god-roadmap-check | /god-reconcile |
|
|
83
|
+
|---|---|---|
|
|
84
|
+
| Scope | ROADMAP only | All 13 artifacts |
|
|
85
|
+
| Use | Quick check | Comprehensive |
|
|
86
|
+
| Auto-invoked | by feature-addition recipes (legacy) | by feature-addition recipes (preferred) |
|
|
87
|
+
| Replaces | -- | /god-roadmap-check (kept for back-compat) |
|
|
88
|
+
|
|
89
|
+
For new projects, prefer /god-reconcile. /god-roadmap-check remains a
|
|
90
|
+
narrower tool for when you only care about milestone overlap.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-reconstruct
|
|
3
|
+
description: |
|
|
4
|
+
Reverse-engineer Godpowers planning artifacts (PRD, ARCH, ROADMAP, STACK)
|
|
5
|
+
from existing code. Lets brownfield projects use the full reconciliation
|
|
6
|
+
system without rewriting planning from scratch.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god reconstruct", "/god-reconstruct", "reverse engineer",
|
|
9
|
+
"derive prd", "extract planning"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-reconstruct
|
|
13
|
+
|
|
14
|
+
Derive planning artifacts from existing code.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Brownfield project without `.godpowers/` planning artifacts
|
|
19
|
+
- Need to use /god-reconcile or /god-feature on existing code
|
|
20
|
+
- Want a starting point for stakeholder review of the project's "shape"
|
|
21
|
+
|
|
22
|
+
## Setup
|
|
23
|
+
|
|
24
|
+
1. Verify codebase exists (Mode B)
|
|
25
|
+
2. Optional: run /god-archaeology first for richer input
|
|
26
|
+
3. Spawn god-reconstructor in fresh context
|
|
27
|
+
|
|
28
|
+
## Verification
|
|
29
|
+
|
|
30
|
+
- All four artifacts created at `.godpowers/<tier>/`:
|
|
31
|
+
- prd/PRD.md
|
|
32
|
+
- arch/ARCH.md (+ adr/)
|
|
33
|
+
- roadmap/ROADMAP.md
|
|
34
|
+
- stack/DECISION.md
|
|
35
|
+
- Each has reconstruction warning at top
|
|
36
|
+
- Each section tagged with confidence level (HIGH/MEDIUM/LOW)
|
|
37
|
+
- Open questions explicitly listed
|
|
38
|
+
- `.godpowers/RECONSTRUCTION-LOG.md` written
|
|
39
|
+
|
|
40
|
+
## On Completion
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
Reconstruction complete.
|
|
44
|
+
|
|
45
|
+
Artifacts derived from code:
|
|
46
|
+
+ prd/PRD.md (HIGH/MEDIUM/LOW per section)
|
|
47
|
+
+ arch/ARCH.md (HIGH/MEDIUM/LOW per section)
|
|
48
|
+
+ roadmap/ROADMAP.md (Done section preserved)
|
|
49
|
+
+ stack/DECISION.md (flip points marked OPEN QUESTION)
|
|
50
|
+
|
|
51
|
+
Open questions for stakeholder review: [N]
|
|
52
|
+
Reconstruction log: .godpowers/RECONSTRUCTION-LOG.md
|
|
53
|
+
|
|
54
|
+
CRITICAL: these are reconstructed, not authoritative. Schedule
|
|
55
|
+
stakeholder review within 1-2 weeks. Treat as starting point.
|
|
56
|
+
|
|
57
|
+
Suggested next:
|
|
58
|
+
/god-audit - score the reconstructed artifacts
|
|
59
|
+
/god-feature - now you can add features with reconciliation
|
|
60
|
+
/god-tech-debt - assess what needs paying down
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Caveats
|
|
64
|
+
|
|
65
|
+
Reconstruction is lossy:
|
|
66
|
+
- Original intent may be wrong-inferred
|
|
67
|
+
- Decisions never written down stay unknown
|
|
68
|
+
- Future plans living in someone's head are absent
|
|
69
|
+
- The reconstructed PRD may not match what stakeholders actually want NOW
|
|
70
|
+
|
|
71
|
+
Always recommend stakeholder review before treating reconstructed artifacts
|
|
72
|
+
as authoritative.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-redo
|
|
3
|
+
description: |
|
|
4
|
+
Re-run a tier or sub-step that already completed. Useful when an
|
|
5
|
+
upstream change invalidates downstream work, or when the user wants
|
|
6
|
+
a fresh pass with different parameters. Pairs with /god-undo for
|
|
7
|
+
full revert + rerun.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god redo", "/god-redo", "rerun tier", "redo arch",
|
|
10
|
+
"regenerate the prd"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-redo
|
|
14
|
+
|
|
15
|
+
Re-run a tier or sub-step.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### `/god-redo <tier-or-substep>`
|
|
20
|
+
Examples:
|
|
21
|
+
- `/god-redo prd` (re-run god-pm)
|
|
22
|
+
- `/god-redo arch` (re-run god-architect; warn if downstream tiers exist)
|
|
23
|
+
- `/god-redo build` (re-run god-planner + executor + reviewers)
|
|
24
|
+
- `/god-redo tier-1` (re-run all of planning)
|
|
25
|
+
|
|
26
|
+
## Process
|
|
27
|
+
|
|
28
|
+
1. Identify the tier or sub-step from the argument.
|
|
29
|
+
2. If it has downstream completed work in state.json: warn the user.
|
|
30
|
+
Options: A) `/god-rollback` first to clean state, B) overwrite in
|
|
31
|
+
place (downstream may go stale), C) cancel.
|
|
32
|
+
3. Snapshot the current artifact to `.godpowers/.trash/redo-<id>/` so
|
|
33
|
+
`/god-undo` can revert.
|
|
34
|
+
4. Re-spawn the producing agent in fresh context.
|
|
35
|
+
5. Verify with `/god-standards` if a routing config exists for the
|
|
36
|
+
sub-step.
|
|
37
|
+
6. Update state.json + append a `op:redo` event to the reflog.
|
|
38
|
+
|
|
39
|
+
## Difference from /god-undo + run-again
|
|
40
|
+
|
|
41
|
+
- `/god-undo` then run-again: two operations, easier to reason about.
|
|
42
|
+
- `/god-redo`: single operation, atomic in the reflog. Use when you
|
|
43
|
+
know you want a redo.
|
|
44
|
+
|
|
45
|
+
## Subcommands
|
|
46
|
+
|
|
47
|
+
### `/god-redo --dry-run`
|
|
48
|
+
Show what would be re-run and what downstream work would be marked stale.
|
|
49
|
+
|
|
50
|
+
### `/god-redo --force`
|
|
51
|
+
Skip the downstream-stale warning. Use with care.
|
|
52
|
+
|
|
53
|
+
## Implementation
|
|
54
|
+
|
|
55
|
+
Built-in. Reads state.json to find the sub-step. Spawns the same agent
|
|
56
|
+
that originally produced the artifact. Updates the linkage map via
|
|
57
|
+
`/god-scan` after the artifact is rewritten.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## Locking
|
|
61
|
+
|
|
62
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
63
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
64
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
65
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
66
|
+
|
|
67
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
68
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
69
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
70
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
71
|
+
|
|
72
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
73
|
+
the full contract.
|