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,159 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-mode
|
|
3
|
+
description: |
|
|
4
|
+
Full autonomous arc orchestrator. Spawns the god-orchestrator agent in a
|
|
5
|
+
fresh context which runs the entire workflow: idea to hardened production.
|
|
6
|
+
Pauses only for legitimate human-only decisions.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god mode", "/god-mode", "autonomous build", "one-shot",
|
|
9
|
+
"full arc", "idea to production", "build everything"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-mode
|
|
13
|
+
|
|
14
|
+
You are receiving a /god-mode invocation. Your job is to spawn the
|
|
15
|
+
**god-orchestrator** agent in a fresh context to run the autonomous arc.
|
|
16
|
+
|
|
17
|
+
## Process
|
|
18
|
+
|
|
19
|
+
1. Greet the user briefly: "God Mode engaged. Describe what you want to build."
|
|
20
|
+
|
|
21
|
+
2. **Auto-detect project type in background** (no jargon to user):
|
|
22
|
+
- Scan working directory for code presence (package.json, src/, etc.)
|
|
23
|
+
- Look for org-context.yaml (current dir + parents)
|
|
24
|
+
- Decide: greenfield / brownfield / bluefield (internally A/B/C/E)
|
|
25
|
+
- Announce in plain English what was detected (see god-orchestrator
|
|
26
|
+
"How to announce" section)
|
|
27
|
+
|
|
28
|
+
3. Wait for the user's project description (any format).
|
|
29
|
+
|
|
30
|
+
4. Parse flags from the invocation:
|
|
31
|
+
- `--yolo` (skip pauses, pick defaults)
|
|
32
|
+
- `--conservative` (more checkpoints)
|
|
33
|
+
- `--from=<tier>` (resume from specific tier)
|
|
34
|
+
- `--audit` (score only, build nothing)
|
|
35
|
+
- `--dry-run` (plan only, no agent dispatch)
|
|
36
|
+
- `--workflow=<name>` (v0.14 workflow runtime; load
|
|
37
|
+
`workflows/<name>.yaml`, run via `lib/workflow-runner`)
|
|
38
|
+
- `--plan` (v0.14; emit plan to `.godpowers/runs/<id>/plan.yaml`
|
|
39
|
+
and stop. Same effect as `--dry-run`. Use with `--workflow` for
|
|
40
|
+
a specific arc's plan.)
|
|
41
|
+
- `--brownfield` (force brownfield path even if detection says greenfield)
|
|
42
|
+
- `--bluefield` (force bluefield path)
|
|
43
|
+
- `--greenfield` (force greenfield, skip archaeology even if code exists)
|
|
44
|
+
|
|
45
|
+
5. Spawn the **god-orchestrator** agent via Task tool with:
|
|
46
|
+
- The user's project description
|
|
47
|
+
- The detected mode (A/B/C/E)
|
|
48
|
+
- The active flags
|
|
49
|
+
- Instruction to read `.godpowers/PROGRESS.md` from disk if it exists
|
|
50
|
+
|
|
51
|
+
6. Orchestrator runs the appropriate workflow:
|
|
52
|
+
- Greenfield -> full-arc
|
|
53
|
+
- Brownfield -> brownfield-arc (archaeology -> reconstruct -> debt-assess -> proceed)
|
|
54
|
+
- Bluefield -> bluefield-arc (org-context -> arc with constraints)
|
|
55
|
+
|
|
56
|
+
7. Relay the orchestrator's output to the user.
|
|
57
|
+
|
|
58
|
+
8. When the orchestrator pauses, present the question to the user using the
|
|
59
|
+
pause format (What / Why / Options / Default).
|
|
60
|
+
|
|
61
|
+
9. When the user answers, re-spawn god-orchestrator with the answer.
|
|
62
|
+
|
|
63
|
+
## Pause Format (relay from orchestrator)
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
PAUSE: [one-sentence question]
|
|
67
|
+
|
|
68
|
+
Why only you can answer: [one sentence]
|
|
69
|
+
|
|
70
|
+
| Option | Tradeoff |
|
|
71
|
+
|--------|----------|
|
|
72
|
+
| A: ... | ... |
|
|
73
|
+
| B: ... | ... |
|
|
74
|
+
|
|
75
|
+
Default: If you say "go", I'll pick [X] because [Y].
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Flags
|
|
79
|
+
|
|
80
|
+
### --yolo
|
|
81
|
+
Pass through to orchestrator. Orchestrator picks defaults at every pause point
|
|
82
|
+
and logs decisions to `.godpowers/YOLO-DECISIONS.md`.
|
|
83
|
+
|
|
84
|
+
### --conservative
|
|
85
|
+
Pass through. Orchestrator pauses at every tier boundary.
|
|
86
|
+
|
|
87
|
+
### --from=<tier>
|
|
88
|
+
Pass through. Orchestrator re-derives state from disk and starts from named tier.
|
|
89
|
+
|
|
90
|
+
### --audit
|
|
91
|
+
Pass through. Orchestrator skips building, runs god-auditor on existing artifacts.
|
|
92
|
+
|
|
93
|
+
### --dry-run
|
|
94
|
+
Pass through. Orchestrator plans but writes nothing.
|
|
95
|
+
|
|
96
|
+
### --with-hygiene
|
|
97
|
+
After Launch, run a post-launch hygiene pass: god-auditor + god-deps-auditor +
|
|
98
|
+
god-docs-writer verification. Catches pre-existing CVEs, doc drift, artifact
|
|
99
|
+
quality drift before declaring complete.
|
|
100
|
+
|
|
101
|
+
### --skip-hygiene
|
|
102
|
+
Default. Skip the hygiene pass. Use when iterating quickly.
|
|
103
|
+
|
|
104
|
+
## Mandatory final sync
|
|
105
|
+
|
|
106
|
+
Regardless of flags, `/god-mode` always runs `/god-sync` before declaring
|
|
107
|
+
complete. This ensures all 14 artifact categories are in a consistent state:
|
|
108
|
+
|
|
109
|
+
- 10 Tier 0-3 artifacts validated (have-nots passing)
|
|
110
|
+
- 4 capture artifacts noted as `not-yet-created` (graceful handling)
|
|
111
|
+
- SYNC-LOG.md updated with arc completion entry
|
|
112
|
+
- state.json reflects final tier statuses
|
|
113
|
+
|
|
114
|
+
Under `--yolo`, the sync step auto-applies (no pause). Under
|
|
115
|
+
`--conservative`, it pauses for confirmation. Under `--with-hygiene`,
|
|
116
|
+
it runs alongside the hygiene pass.
|
|
117
|
+
|
|
118
|
+
The sync step is what closes the loop between greenfield arc creation and
|
|
119
|
+
the comprehensive 14-artifact reconciliation system. See
|
|
120
|
+
`docs/greenfield-coverage.md` for what's created when.
|
|
121
|
+
|
|
122
|
+
## Completion
|
|
123
|
+
|
|
124
|
+
When orchestrator returns "complete", display:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
Godpowers full-arc complete.
|
|
128
|
+
|
|
129
|
+
Artifacts on disk:
|
|
130
|
+
+ PRD .godpowers/prd/PRD.md
|
|
131
|
+
+ Architecture .godpowers/arch/ARCH.md
|
|
132
|
+
+ Roadmap .godpowers/roadmap/ROADMAP.md
|
|
133
|
+
+ Stack .godpowers/stack/DECISION.md
|
|
134
|
+
+ Repo .godpowers/repo/AUDIT.md
|
|
135
|
+
+ Build .godpowers/build/STATE.md
|
|
136
|
+
+ Deploy .godpowers/deploy/STATE.md
|
|
137
|
+
+ Observe .godpowers/observe/STATE.md
|
|
138
|
+
+ Launch .godpowers/launch/STATE.md
|
|
139
|
+
+ Harden .godpowers/harden/FINDINGS.md
|
|
140
|
+
|
|
141
|
+
Built. Tested. Shipped. Hardened.
|
|
142
|
+
|
|
143
|
+
Project is now in STEADY STATE. From here, use these workflows:
|
|
144
|
+
|
|
145
|
+
Adding features: /god-feature
|
|
146
|
+
Production bugs: /god-hotfix
|
|
147
|
+
Code cleanup: /god-refactor
|
|
148
|
+
Research questions: /god-spike
|
|
149
|
+
Post-incident: /god-postmortem
|
|
150
|
+
Framework upgrades: /god-upgrade
|
|
151
|
+
Documentation: /god-docs
|
|
152
|
+
Dependency updates: /god-update-deps
|
|
153
|
+
|
|
154
|
+
Periodic hygiene:
|
|
155
|
+
Quality audit: /god-audit
|
|
156
|
+
Health check: /god-hygiene
|
|
157
|
+
|
|
158
|
+
Or describe what you want and /god-next will route.
|
|
159
|
+
```
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-next
|
|
3
|
+
description: |
|
|
4
|
+
Decision engine. For any command intent, checks prerequisites, proposes
|
|
5
|
+
auto-completion of missing prerequisites, runs standards checks at gates,
|
|
6
|
+
and suggests next commands after success. Backed by routing/<command>.yaml
|
|
7
|
+
configurations.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god next", "/god-next", "what's next", "what should I do next",
|
|
10
|
+
"next step", "continue"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-next
|
|
14
|
+
|
|
15
|
+
The unified decision engine. Routes between commands based on disk state,
|
|
16
|
+
routing definitions, and user intent.
|
|
17
|
+
|
|
18
|
+
## Three modes of invocation
|
|
19
|
+
|
|
20
|
+
### Mode 1: After a command (post-completion routing)
|
|
21
|
+
The completing skill calls /god-next to determine what's next.
|
|
22
|
+
Reads `routing/<just-completed>.yaml`, gets `success-path.next-recommended`,
|
|
23
|
+
suggests it.
|
|
24
|
+
|
|
25
|
+
### Mode 2: Before a command (pre-flight)
|
|
26
|
+
User wants to run /god-X. /god-next checks prerequisites first.
|
|
27
|
+
Reads `routing/<X>.yaml`, evaluates prerequisites, proposes auto-completion
|
|
28
|
+
if any are missing.
|
|
29
|
+
|
|
30
|
+
### Mode 3: Standalone (state-driven)
|
|
31
|
+
User just ran /god-next. Auto-detects current project phase and suggests
|
|
32
|
+
the next logical command.
|
|
33
|
+
|
|
34
|
+
## Process for Mode 1 (post-completion)
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
A skill completes (e.g., /god-prd just finished)
|
|
38
|
+
|
|
|
39
|
+
v
|
|
40
|
+
Skill calls: /god-next --after=/god-prd
|
|
41
|
+
|
|
|
42
|
+
v
|
|
43
|
+
Read routing/god-prd.yaml
|
|
44
|
+
|
|
|
45
|
+
v
|
|
46
|
+
Get success-path.next-recommended (e.g., "/god-arch")
|
|
47
|
+
|
|
|
48
|
+
v
|
|
49
|
+
Display: "PRD complete: .godpowers/prd/PRD.md
|
|
50
|
+
Suggested next: /god-arch (design the architecture)"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
If standards-check is configured at the gate:
|
|
54
|
+
```
|
|
55
|
+
|
|
|
56
|
+
v
|
|
57
|
+
Spawn god-standards-check on the produced artifact
|
|
58
|
+
|
|
|
59
|
+
v
|
|
60
|
+
If standards FAIL:
|
|
61
|
+
- Display failures with line refs and suggested fixes
|
|
62
|
+
- Suggest /god-redo with feedback OR /god-skip with reason
|
|
63
|
+
- Do NOT auto-progress
|
|
64
|
+
|
|
|
65
|
+
If standards PASS:
|
|
66
|
+
- Update state.json: tier.sub-step.status = done
|
|
67
|
+
- Display "Suggested next: /god-arch"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Process for Mode 2 (pre-flight)
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
User types: /god-arch
|
|
74
|
+
|
|
|
75
|
+
v
|
|
76
|
+
The /god-arch skill calls: /god-next --before=/god-arch
|
|
77
|
+
|
|
|
78
|
+
v
|
|
79
|
+
Read routing/god-arch.yaml
|
|
80
|
+
|
|
|
81
|
+
v
|
|
82
|
+
For each prerequisite in prerequisites.required:
|
|
83
|
+
- Evaluate the check predicate
|
|
84
|
+
- If false: prerequisite is missing
|
|
85
|
+
|
|
|
86
|
+
v
|
|
87
|
+
If all prereqs satisfied: proceed with /god-arch
|
|
88
|
+
|
|
|
89
|
+
If some prereqs missing AND auto-completable:
|
|
90
|
+
- Display:
|
|
91
|
+
"/god-arch requires PRD to be complete (prereq missing).
|
|
92
|
+
The routing has auto-complete: /god-prd
|
|
93
|
+
Run /god-prd first? (yes/no)"
|
|
94
|
+
- If yes: invoke /god-prd, then return to /god-arch
|
|
95
|
+
- If no: abort or show what user needs to do manually
|
|
96
|
+
|
|
|
97
|
+
If prereqs missing and NOT auto-completable:
|
|
98
|
+
- Display what's needed
|
|
99
|
+
- Show how to fix manually
|
|
100
|
+
- Suggest /god-doctor for diagnosis
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Process for Mode 3 (standalone)
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
User types: /god-next
|
|
107
|
+
|
|
|
108
|
+
v
|
|
109
|
+
Read .godpowers/state.json (or PROGRESS.md as fallback)
|
|
110
|
+
|
|
|
111
|
+
v
|
|
112
|
+
Use lib/router.suggestNext(projectRoot) <- structural next
|
|
113
|
+
|
|
|
114
|
+
v
|
|
115
|
+
For each tier in order:
|
|
116
|
+
- Find first non-done sub-step
|
|
117
|
+
- That's the suggested next command
|
|
118
|
+
|
|
|
119
|
+
v
|
|
120
|
+
If all tiers done:
|
|
121
|
+
- Use lib/recipes.suggestForState(projectRoot) <- scenario-aware
|
|
122
|
+
- Returns recipes matching current lifecycle phase
|
|
123
|
+
|
|
|
124
|
+
v
|
|
125
|
+
Display: "Suggested next: /god-arch
|
|
126
|
+
Why: PRD is complete; architecture is the next gate"
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Process for Mode 4 (intent-based)
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
User says: "I need to add a new feature mid-development"
|
|
133
|
+
|
|
|
134
|
+
v
|
|
135
|
+
/god-next consults lib/recipes.matchIntent(text, projectRoot)
|
|
136
|
+
|
|
|
137
|
+
v
|
|
138
|
+
Returns ranked recipes matching:
|
|
139
|
+
- Intent keywords ("add new feature", "mid-development")
|
|
140
|
+
- State conditions (lifecycle-phase == in-arc)
|
|
141
|
+
|
|
|
142
|
+
v
|
|
143
|
+
Display top match with the recipe's sequence:
|
|
144
|
+
"Best match: add-feature-mid-arc-pause
|
|
145
|
+
Sequence:
|
|
146
|
+
1. /god-pause-work (Save current /god-mode arc state)
|
|
147
|
+
2. /god-feature (Run feature workflow)
|
|
148
|
+
3. /god-resume-work (Restore arc)
|
|
149
|
+
|
|
150
|
+
Run this sequence? Or see other matches?"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
This is the recipe-driven decision support: agents consult `routing/recipes/`
|
|
154
|
+
when user intent is fuzzy or doesn't map to a single command.
|
|
155
|
+
|
|
156
|
+
## Routing data
|
|
157
|
+
|
|
158
|
+
Routing definitions live in `routing/*.yaml`. Each command has a file:
|
|
159
|
+
- `routing/god-prd.yaml`
|
|
160
|
+
- `routing/god-arch.yaml`
|
|
161
|
+
- ...
|
|
162
|
+
|
|
163
|
+
These define prerequisites, execution, success-path, failure-path, and
|
|
164
|
+
endoff for each command.
|
|
165
|
+
|
|
166
|
+
The `lib/router.js` JS module provides programmatic queries:
|
|
167
|
+
- `getRouting(command)` - load a command's routing
|
|
168
|
+
- `checkPrerequisites(command, projectRoot)` - prereq check
|
|
169
|
+
- `getNextCommand(command)` - get success-path next
|
|
170
|
+
- `getStandards(command)` - get standards checks
|
|
171
|
+
- `suggestNext(projectRoot)` - state-driven suggestion
|
|
172
|
+
|
|
173
|
+
## Decision Tree
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
/god-next invoked
|
|
177
|
+
|
|
|
178
|
+
v
|
|
179
|
+
┌────── What flag? ──────┐
|
|
180
|
+
| |
|
|
181
|
+
v v
|
|
182
|
+
--before=X --after=X (no flag)
|
|
183
|
+
| | |
|
|
184
|
+
v v v
|
|
185
|
+
Check X's prereqs Get X's next Use suggestNext
|
|
186
|
+
| | |
|
|
187
|
+
v v |
|
|
188
|
+
Pass: proceed Standards check |
|
|
189
|
+
Fail+autocomp: on artifact |
|
|
190
|
+
offer to run | |
|
|
191
|
+
prereq cmd Pass: announce next |
|
|
192
|
+
Fail no autocomp: Fail: pause |
|
|
193
|
+
explain |
|
|
194
|
+
| | |
|
|
195
|
+
└──────────────┬───────────┴──────────────┘
|
|
196
|
+
v
|
|
197
|
+
Display suggestion + why
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## Edge cases
|
|
201
|
+
|
|
202
|
+
### User wants to skip a prereq
|
|
203
|
+
`/god-arch --skip-prereqs` (advanced flag)
|
|
204
|
+
- Logs the skip with reason in events.jsonl
|
|
205
|
+
- Proceeds anyway
|
|
206
|
+
- Marks state as `re-invoked` flag if upstream artifacts are stale
|
|
207
|
+
|
|
208
|
+
### Multiple non-done sub-steps (parallel-safe)
|
|
209
|
+
e.g., after /god-arch, both /god-roadmap and /god-stack are eligible.
|
|
210
|
+
Display both with: "Run in any order. /god-roadmap is critical-path."
|
|
211
|
+
|
|
212
|
+
### State drift (artifact missing but state says done)
|
|
213
|
+
Detected by lib/state.detectDrift(). Suggest /god-repair.
|
|
214
|
+
|
|
215
|
+
### Steady state with multiple workflow options
|
|
216
|
+
If lifecycle-phase = steady-state-active, route by user intent if provided
|
|
217
|
+
(use the User Intent Map below).
|
|
218
|
+
|
|
219
|
+
## Steady-state User Intent Map
|
|
220
|
+
|
|
221
|
+
When in steady state, match keywords to workflows:
|
|
222
|
+
|
|
223
|
+
| Keyword | Suggest |
|
|
224
|
+
|---------|---------|
|
|
225
|
+
| feature, add, new functionality | /god-feature |
|
|
226
|
+
| production down, urgent, p0 | /god-hotfix |
|
|
227
|
+
| bug, broken, doesn't work | /god-debug |
|
|
228
|
+
| refactor, clean up, rename | /god-refactor |
|
|
229
|
+
| POC, prototype, spike, research | /god-spike |
|
|
230
|
+
| postmortem, RCA, incident review | /god-postmortem |
|
|
231
|
+
| upgrade, migrate, bump major | /god-upgrade |
|
|
232
|
+
| docs, documentation, README | /god-docs |
|
|
233
|
+
| deps, dependencies, audit | /god-update-deps |
|
|
234
|
+
| audit, score, quality check | /god-audit |
|
|
235
|
+
| health check, hygiene | /god-hygiene |
|
|
236
|
+
|
|
237
|
+
## Output Format
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
Godpowers Next
|
|
241
|
+
|
|
242
|
+
Current state: [where we are]
|
|
243
|
+
Suggested next: [/god-X]
|
|
244
|
+
|
|
245
|
+
Why: [one-line reason]
|
|
246
|
+
|
|
247
|
+
[If prereqs missing]:
|
|
248
|
+
Pre-flight: missing [prereq]
|
|
249
|
+
Auto-complete available: /god-Y
|
|
250
|
+
Run /god-Y first? (yes/no/manual-info)
|
|
251
|
+
|
|
252
|
+
[If standards-check on previous tier failed]:
|
|
253
|
+
Previous tier had standards failures. Address before proceeding:
|
|
254
|
+
- [failure 1]
|
|
255
|
+
- [failure 2]
|
|
256
|
+
Suggested: /god-redo [tier] OR /god-skip [tier] --reason="..."
|
|
257
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-note
|
|
3
|
+
description: |
|
|
4
|
+
Zero-friction idea capture. Append a note to .godpowers/notes/NOTES.md
|
|
5
|
+
with timestamp. Optionally promote to a todo.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god note", "/god-note", "capture this", "remember this"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-note
|
|
11
|
+
|
|
12
|
+
Capture an idea with zero ceremony.
|
|
13
|
+
|
|
14
|
+
## Process
|
|
15
|
+
|
|
16
|
+
1. Take the user's note text
|
|
17
|
+
2. Append to `.godpowers/notes/NOTES.md` with timestamp:
|
|
18
|
+
|
|
19
|
+
```markdown
|
|
20
|
+
- 2026-05-09 14:23:45: [note text]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
3. Brief confirmation, no questions asked unless user wants to promote.
|
|
24
|
+
|
|
25
|
+
## Subcommands
|
|
26
|
+
|
|
27
|
+
### `/god-note <text>`
|
|
28
|
+
Append the note.
|
|
29
|
+
|
|
30
|
+
### `/god-note list`
|
|
31
|
+
Show recent notes (last 20).
|
|
32
|
+
|
|
33
|
+
### `/god-note promote <n>`
|
|
34
|
+
Promote note #n to a todo (calls /god-add-todo with the note as source).
|
|
35
|
+
|
|
36
|
+
## Why this exists
|
|
37
|
+
|
|
38
|
+
Mid-flow ideas need a fast capture point. /god-add-todo is heavier (asks
|
|
39
|
+
priority). /god-note is just "save this thought".
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-observe
|
|
3
|
+
description: |
|
|
4
|
+
Wire observability. Spawns the god-observability-engineer agent in a fresh
|
|
5
|
+
context. Gated on Deploy.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god observe", "/god-observe", "add monitoring", "SLOs", "alerting"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-observe
|
|
11
|
+
|
|
12
|
+
Spawn the **god-observability-engineer** agent in a fresh context via Task tool.
|
|
13
|
+
|
|
14
|
+
## Setup
|
|
15
|
+
|
|
16
|
+
1. Verify `.godpowers/deploy/STATE.md` exists. App is deployed.
|
|
17
|
+
2. Spawn god-observability-engineer with PRD (for success metrics) and ARCH paths.
|
|
18
|
+
3. The agent writes `.godpowers/observe/STATE.md`.
|
|
19
|
+
|
|
20
|
+
## Verification
|
|
21
|
+
|
|
22
|
+
After god-observability-engineer returns:
|
|
23
|
+
1. Verify STATE.md exists on disk
|
|
24
|
+
2. Verify each SLO has an error budget policy
|
|
25
|
+
3. Verify each alert has a runbook
|
|
26
|
+
4. Update `.godpowers/PROGRESS.md`: Observe status = done
|
|
27
|
+
|
|
28
|
+
## On Completion
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
Observability complete: .godpowers/observe/STATE.md
|
|
32
|
+
|
|
33
|
+
Suggested next: /god-harden (adversarial security review, gates Launch)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Re-invocation contract
|
|
38
|
+
|
|
39
|
+
What happens if `/god-observe` is run when `.godpowers/observe/STATE.md` already exists:
|
|
40
|
+
|
|
41
|
+
| Existing state | Behavior |
|
|
42
|
+
|---|---|
|
|
43
|
+
| File does not exist | Spawn god-observability-engineer; produce file; mark sub-step done |
|
|
44
|
+
| 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 |
|
|
45
|
+
| File exists, fails lint or have-nots | Spawn god-observability-engineer in update mode with current file + findings as input. Diff preview before overwrite. |
|
|
46
|
+
| File exists, state.json says `pending` | Treat as imported: hash + register, no agent spawn. User can `/god-observe --force` to re-run. |
|
|
47
|
+
| `--force` flag passed | Snapshot existing file to `.godpowers/.trash/god-observe-<ts>/`. Spawn agent fresh. |
|
|
48
|
+
| `--dry-run` flag passed | Show what would happen; touch nothing |
|
|
49
|
+
|
|
50
|
+
Snapshots in `.trash/` are recoverable via `/god-restore` for 30 days.
|
|
51
|
+
The reflog records every god-observe invocation as `op:god-observe` for `/god-undo`.
|
|
52
|
+
|
|
53
|
+
### Idempotency guarantees
|
|
54
|
+
|
|
55
|
+
- Running `/god-observe` twice with no user input between them is a no-op
|
|
56
|
+
(second call detects the artifact and pauses).
|
|
57
|
+
- Running `/god-observe --dry-run` is always read-only.
|
|
58
|
+
- An interrupted `/god-observe` (agent crashes mid-run) leaves state.json
|
|
59
|
+
with `status: failed` and the artifact path either missing or marked
|
|
60
|
+
for `/god-repair` review. Re-running picks up cleanly.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## Locking
|
|
64
|
+
|
|
65
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
66
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
67
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
68
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
69
|
+
|
|
70
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
71
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
72
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
73
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
74
|
+
|
|
75
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
76
|
+
the full contract.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-org-context
|
|
3
|
+
description: |
|
|
4
|
+
Bluefield support. Set up or read organization-level context: shared
|
|
5
|
+
standards, conventions, infrastructure, libraries. Constrains downstream
|
|
6
|
+
agents to respect org-wide decisions when building new code in an
|
|
7
|
+
established context.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god org context", "/god-org-context", "org standards",
|
|
10
|
+
"bluefield setup", "shared conventions"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-org-context
|
|
14
|
+
|
|
15
|
+
Bluefield: new code, established context.
|
|
16
|
+
|
|
17
|
+
## When to use
|
|
18
|
+
|
|
19
|
+
- Starting a new service in a microservices architecture
|
|
20
|
+
- Adding a new module to an existing monorepo
|
|
21
|
+
- Building within an organization that has shared standards
|
|
22
|
+
- Any greenfield-feeling project that lives within constraints
|
|
23
|
+
|
|
24
|
+
## Subcommands
|
|
25
|
+
|
|
26
|
+
### `/god-org-context init`
|
|
27
|
+
Create `.godpowers/org-context.yaml` from user input. Asks:
|
|
28
|
+
- Language and tooling standards
|
|
29
|
+
- Cloud provider and deploy platform
|
|
30
|
+
- Shared libraries available
|
|
31
|
+
- Shared services to integrate with
|
|
32
|
+
- Team conventions (branching, releases)
|
|
33
|
+
- Constraints (e.g., "must emit OpenTelemetry")
|
|
34
|
+
|
|
35
|
+
### `/god-org-context show`
|
|
36
|
+
Display current org context.
|
|
37
|
+
|
|
38
|
+
### `/god-org-context update <key>=<value>`
|
|
39
|
+
Update a specific value.
|
|
40
|
+
|
|
41
|
+
### `/god-org-context validate`
|
|
42
|
+
Check the project's decisions against org context. Flag conflicts.
|
|
43
|
+
|
|
44
|
+
## Process
|
|
45
|
+
|
|
46
|
+
Spawn god-org-context-loader in fresh context. Agent creates or reads
|
|
47
|
+
`.godpowers/org-context.yaml`.
|
|
48
|
+
|
|
49
|
+
## Effect on other commands
|
|
50
|
+
|
|
51
|
+
Once org-context.yaml exists, downstream agents respect it:
|
|
52
|
+
- /god-stack-selector prefers org-standard tools (won't choose Python if org-standard is TypeScript without explicit override)
|
|
53
|
+
- /god-arch respects org infrastructure (won't propose Kubernetes if org uses Vercel)
|
|
54
|
+
- /god-deploy uses org's deploy platform
|
|
55
|
+
- /god-observe uses org's observability stack
|
|
56
|
+
- /god-harden checks against org security standards
|
|
57
|
+
|
|
58
|
+
## On Completion
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
Org context [created/updated]: .godpowers/org-context.yaml
|
|
62
|
+
|
|
63
|
+
Constraints that will apply to this project:
|
|
64
|
+
- Language: TypeScript
|
|
65
|
+
- Cloud: AWS
|
|
66
|
+
- Auth: shared auth-service
|
|
67
|
+
- Observability: Datadog
|
|
68
|
+
...
|
|
69
|
+
|
|
70
|
+
Downstream agents will respect these throughout the arc.
|
|
71
|
+
|
|
72
|
+
Suggested next: /god-init (or /god-mode if you're ready to build)
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Have-Nots
|
|
76
|
+
|
|
77
|
+
Org context FAILS if:
|
|
78
|
+
- Created without user-confirmed standards (would be guessing)
|
|
79
|
+
- Constraints not enforced by downstream agents
|
|
80
|
+
- Conflicts surface at code time instead of at decision time
|
|
81
|
+
- Multiple sources of truth (org-context.yaml + scattered notes)
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-party
|
|
3
|
+
description: |
|
|
4
|
+
Multi-persona collaboration session. Spawn multiple specialist agents in
|
|
5
|
+
parallel to discuss a topic from different angles, then synthesize their
|
|
6
|
+
views. Real multi-agent (separate fresh contexts), not simulated.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god party", "/god-party", "party mode", "multi-perspective",
|
|
9
|
+
"what would the team say"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-party
|
|
13
|
+
|
|
14
|
+
Get multiple specialist perspectives on a single question.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Cross-cutting design decision (affects multiple disciplines)
|
|
19
|
+
- Trade-off analysis (security vs UX, performance vs cost)
|
|
20
|
+
- Stakeholder simulation before a real meeting
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. Ask the user for the topic/question
|
|
25
|
+
2. Ask which personas should weigh in (or auto-select based on topic):
|
|
26
|
+
- PM (god-pm) - user impact, prioritization
|
|
27
|
+
- Architect (god-architect) - structural implications
|
|
28
|
+
- Executor (god-executor mindset) - implementation cost
|
|
29
|
+
- Quality reviewer (god-quality-reviewer) - code health risk
|
|
30
|
+
- Harden auditor (god-harden-auditor) - security implications
|
|
31
|
+
- Launch strategist (god-launch-strategist) - go-to-market implications
|
|
32
|
+
|
|
33
|
+
3. Spawn each selected persona IN PARALLEL via Task tool:
|
|
34
|
+
- Each gets fresh context
|
|
35
|
+
- Each receives ONLY the question and the relevant artifact subset
|
|
36
|
+
- Each is instructed: respond as your specialist, do not soften or hedge
|
|
37
|
+
|
|
38
|
+
4. Collect all responses
|
|
39
|
+
|
|
40
|
+
5. Synthesize:
|
|
41
|
+
- Areas of agreement (consensus)
|
|
42
|
+
- Areas of disagreement (with the trade-off)
|
|
43
|
+
- Recommendation (with rationale)
|
|
44
|
+
- Open questions for human decision
|
|
45
|
+
|
|
46
|
+
## Output
|
|
47
|
+
|
|
48
|
+
Write to `.godpowers/party/[topic-slug]-[timestamp].md`:
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
# Party Discussion: [Topic]
|
|
52
|
+
|
|
53
|
+
## Question
|
|
54
|
+
[The question that was asked]
|
|
55
|
+
|
|
56
|
+
## Personas Consulted
|
|
57
|
+
[Who weighed in]
|
|
58
|
+
|
|
59
|
+
## Perspectives
|
|
60
|
+
|
|
61
|
+
### god-pm
|
|
62
|
+
[Verbatim response]
|
|
63
|
+
|
|
64
|
+
### god-architect
|
|
65
|
+
[Verbatim response]
|
|
66
|
+
|
|
67
|
+
### [other personas]
|
|
68
|
+
|
|
69
|
+
## Synthesis
|
|
70
|
+
|
|
71
|
+
### Consensus
|
|
72
|
+
- [Where they all agreed]
|
|
73
|
+
|
|
74
|
+
### Disagreements
|
|
75
|
+
- [Specific tradeoff: PM said X, Architect said Y because Z]
|
|
76
|
+
|
|
77
|
+
### Recommendation
|
|
78
|
+
[The synthesized view, with rationale]
|
|
79
|
+
|
|
80
|
+
### Open Questions for Human
|
|
81
|
+
- [Decision the personas could not resolve]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## On Completion
|
|
85
|
+
|
|
86
|
+
Present the synthesis to the user. Do NOT auto-implement; this is advisory.
|
|
87
|
+
The user decides what to do with the perspectives.
|