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,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://godpowers.dev/schema/recipe.v1.json",
|
|
4
|
+
"title": "Godpowers Recipe (v1)",
|
|
5
|
+
"description": "Scenario-based recipe that agents consult to map user intent to command sequences.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["apiVersion", "kind", "metadata", "triggers", "sequences"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"apiVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["godpowers/v1"]
|
|
12
|
+
},
|
|
13
|
+
"kind": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["Recipe"]
|
|
16
|
+
},
|
|
17
|
+
"metadata": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["name", "category"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"name": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^[a-z][a-z0-9-]*$"
|
|
24
|
+
},
|
|
25
|
+
"category": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"starting", "planning", "building", "shipping",
|
|
29
|
+
"production", "maintaining", "recovering", "collaborating",
|
|
30
|
+
"knowledge", "feature-addition", "configuration", "meta"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"description": { "type": "string" }
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"triggers": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"intent-keywords": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": { "type": "string" },
|
|
42
|
+
"description": "Keywords/phrases that match user intent"
|
|
43
|
+
},
|
|
44
|
+
"state-conditions": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": { "type": "string" },
|
|
47
|
+
"description": "State predicates: lifecycle-phase == X, tier-N.sub.status == Y"
|
|
48
|
+
},
|
|
49
|
+
"anti-conditions": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": { "type": "string" },
|
|
52
|
+
"description": "Conditions where this recipe does NOT apply"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"decision-tree": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"description": "Optional decision tree for branching based on user answers",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"required": ["question", "options"],
|
|
62
|
+
"properties": {
|
|
63
|
+
"question": { "type": "string" },
|
|
64
|
+
"options": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"required": ["answer"],
|
|
69
|
+
"properties": {
|
|
70
|
+
"answer": { "type": "string" },
|
|
71
|
+
"scope": { "type": "string" },
|
|
72
|
+
"sequence-name": { "type": "string" },
|
|
73
|
+
"sequence": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": { "$ref": "#/$defs/Step" }
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"sequences": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"description": "Named command sequences that this recipe can execute",
|
|
86
|
+
"patternProperties": {
|
|
87
|
+
"^[a-z][a-z0-9-]*$": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"required": ["steps"],
|
|
90
|
+
"properties": {
|
|
91
|
+
"description": { "type": "string" },
|
|
92
|
+
"steps": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"items": { "$ref": "#/$defs/Step" }
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"default-sequence": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Which sequence to use if no decision-tree branching"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"$defs": {
|
|
106
|
+
"Step": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"required": ["command"],
|
|
109
|
+
"properties": {
|
|
110
|
+
"command": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"pattern": "^/god-[a-z-]+(\\s.*)?$"
|
|
113
|
+
},
|
|
114
|
+
"why": { "type": "string", "description": "Why this step in this sequence" },
|
|
115
|
+
"wait-for": { "type": "string", "enum": ["completion", "user-confirm"], "default": "completion" },
|
|
116
|
+
"skip-when": { "type": "string", "description": "Condition to skip this step" }
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://godpowers.dev/schema/routing.v1.json",
|
|
4
|
+
"title": "Godpowers Command Routing (v1)",
|
|
5
|
+
"description": "Defines prerequisites, execution, and routing for a single slash command.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["apiVersion", "kind", "metadata", "execution", "endoff"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"apiVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["godpowers/v1"]
|
|
12
|
+
},
|
|
13
|
+
"kind": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["CommandRouting"]
|
|
16
|
+
},
|
|
17
|
+
"metadata": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["command"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"command": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^/god-[a-z-]+$"
|
|
24
|
+
},
|
|
25
|
+
"description": { "type": "string" },
|
|
26
|
+
"tier": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0,
|
|
29
|
+
"maximum": 3
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"prerequisites": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"required": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": { "$ref": "#/$defs/Prerequisite" }
|
|
39
|
+
},
|
|
40
|
+
"recommended": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": { "$ref": "#/$defs/Recommendation" }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"execution": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"required": ["spawns"],
|
|
49
|
+
"properties": {
|
|
50
|
+
"spawns": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": { "type": "string" },
|
|
53
|
+
"description": "Agent names this skill spawns (in order or parallel)"
|
|
54
|
+
},
|
|
55
|
+
"context": { "type": "string", "enum": ["fresh", "shared"], "default": "fresh" },
|
|
56
|
+
"reads": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": { "type": "string" }
|
|
59
|
+
},
|
|
60
|
+
"writes": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": { "type": "string" }
|
|
63
|
+
},
|
|
64
|
+
"secondary-spawns": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": { "type": "string" },
|
|
67
|
+
"description": "Agents spawned by primary agent (e.g., reviewers)"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"standards": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"description": "Artifact discipline checks at this gate",
|
|
74
|
+
"properties": {
|
|
75
|
+
"substitution-test": { "type": "boolean", "default": false },
|
|
76
|
+
"three-label-test": { "type": "boolean", "default": false },
|
|
77
|
+
"have-nots": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": { "type": "string", "pattern": "^[A-Z]+-\\d{2}$" }
|
|
80
|
+
},
|
|
81
|
+
"gate-on-failure": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"enum": ["pause-for-user", "auto-fix", "warn", "block"],
|
|
84
|
+
"default": "pause-for-user"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"success-path": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"next-recommended": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"pattern": "^/god-[a-z-]+$"
|
|
94
|
+
},
|
|
95
|
+
"alternatives": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": {
|
|
100
|
+
"command": { "type": "string" },
|
|
101
|
+
"when": { "type": "string", "description": "Condition for this alternative" }
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"failure-path": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"on-have-nots-fail": { "type": "string", "description": "What to do if have-nots fail" },
|
|
111
|
+
"on-pause": { "type": "string", "description": "What to do on legitimate pause" },
|
|
112
|
+
"on-error": { "type": "string", "description": "What to do on unexpected error" }
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"endoff": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"required": ["state-update"],
|
|
118
|
+
"properties": {
|
|
119
|
+
"state-update": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "What changes in state.json"
|
|
122
|
+
},
|
|
123
|
+
"events": {
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": { "type": "string" }
|
|
126
|
+
},
|
|
127
|
+
"lifecycle-transition": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"description": "If this command transitions lifecycle phase"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"$defs": {
|
|
135
|
+
"Prerequisite": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"required": ["check"],
|
|
138
|
+
"properties": {
|
|
139
|
+
"check": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "Predicate: e.g., 'state:tier-1.prd.done', 'file:.godpowers/state.json'"
|
|
142
|
+
},
|
|
143
|
+
"auto-complete": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"pattern": "^/god-[a-z-]+$",
|
|
146
|
+
"description": "Command to run if prerequisite missing"
|
|
147
|
+
},
|
|
148
|
+
"human-required": {
|
|
149
|
+
"type": "boolean",
|
|
150
|
+
"description": "If true, ask user before auto-completing"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"Recommendation": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"required": ["command"],
|
|
157
|
+
"properties": {
|
|
158
|
+
"command": { "type": "string", "pattern": "^/god-[a-z-]+$" },
|
|
159
|
+
"when": { "type": "string", "description": "Condition for this recommendation" }
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://godpowers.dev/schema/state.v1.json",
|
|
4
|
+
"title": "Godpowers Project State (v1)",
|
|
5
|
+
"description": "Machine-managed project state. The 'facts' artifact in the three load-bearing artifacts pattern.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["$schema", "version", "project", "tiers"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"$schema": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "https://godpowers.dev/schema/state.v1.json"
|
|
12
|
+
},
|
|
13
|
+
"version": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
16
|
+
},
|
|
17
|
+
"project": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["name", "started"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"name": { "type": "string" },
|
|
22
|
+
"started": { "type": "string", "format": "date-time" }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"active-workstream": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"default": "main"
|
|
28
|
+
},
|
|
29
|
+
"tiers": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"patternProperties": {
|
|
32
|
+
"^tier-[0-9]+$": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"patternProperties": {
|
|
35
|
+
"^[a-z][a-z0-9-]*$": {
|
|
36
|
+
"$ref": "#/$defs/SubStep"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"lifecycle-phase": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": [
|
|
45
|
+
"pre-init",
|
|
46
|
+
"in-arc",
|
|
47
|
+
"steady-state-active",
|
|
48
|
+
"post-incident-pending",
|
|
49
|
+
"in-migration",
|
|
50
|
+
"spike-pending-followup"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"mode": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": ["A", "B", "C", "E"],
|
|
56
|
+
"description": "Mirror of intent.yaml mode for runtime queries. A=greenfield, B=brownfield/gap-fill, C=audit-only, E=bluefield."
|
|
57
|
+
},
|
|
58
|
+
"mode-d-suite": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false,
|
|
61
|
+
"description": "True when this repo is part of a multi-repo suite (god-coordinator owns suite scope)."
|
|
62
|
+
},
|
|
63
|
+
"mode-detected-from": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"items": { "type": "string" },
|
|
66
|
+
"description": "Signals used to detect the mode (e.g. 'no-package-json-found', 'org-context-yaml-in-parent')."
|
|
67
|
+
},
|
|
68
|
+
"mode-announced-as": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Human-friendly label shown to the user (greenfield/brownfield/bluefield/audit)."
|
|
71
|
+
},
|
|
72
|
+
"linkage": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"description": "Slot for linkage map summary. Authoritative file is .godpowers/linkage.json.",
|
|
75
|
+
"additionalProperties": true
|
|
76
|
+
},
|
|
77
|
+
"yolo-decisions": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"description": "Auto-decisions made under --yolo. Mirrored to YOLO-DECISIONS.md.",
|
|
80
|
+
"items": { "type": "object", "additionalProperties": true }
|
|
81
|
+
},
|
|
82
|
+
"lock": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"description": "Cooperative advisory lock for multi-user / multi-agent concurrency. The orchestrator acquires a lock before mutating state, releases on completion or after a stale-lock timeout. Concurrent writers see the lock and pause or pick a different sub-step.",
|
|
85
|
+
"properties": {
|
|
86
|
+
"holder": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Identifier of the actor holding the lock (e.g. 'alice@laptop', 'god-orchestrator@run-abc123')."
|
|
89
|
+
},
|
|
90
|
+
"acquired": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"format": "date-time"
|
|
93
|
+
},
|
|
94
|
+
"expires": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"format": "date-time",
|
|
97
|
+
"description": "Lock auto-expires after this time. Stale locks (past expires) are reclaimable by any actor with a warning event."
|
|
98
|
+
},
|
|
99
|
+
"scope": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "What the holder is currently mutating (e.g. 'tier-1.arch', 'linkage', 'all'). Lets concurrent actors pick non-conflicting work."
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"$defs": {
|
|
107
|
+
"SubStep": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"required": ["status"],
|
|
110
|
+
"properties": {
|
|
111
|
+
"status": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"enum": ["pending", "in-flight", "done", "skipped", "imported", "failed", "re-invoked"]
|
|
114
|
+
},
|
|
115
|
+
"artifact": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "Relative path from .godpowers/"
|
|
118
|
+
},
|
|
119
|
+
"artifact-hash": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
122
|
+
},
|
|
123
|
+
"agent-version": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"pattern": "^[a-z][a-z0-9-]*@\\d+\\.\\d+\\.\\d+$"
|
|
126
|
+
},
|
|
127
|
+
"have-nots-passed": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"pattern": "^[A-Z]+-\\d{2}$"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"updated": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"format": "date-time"
|
|
137
|
+
},
|
|
138
|
+
"notes": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"description": "Free-form for skip reason, failure detail, etc."
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"additionalProperties": false
|
|
146
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://godpowers.dev/schema/workflow.v1.json",
|
|
4
|
+
"title": "Godpowers Workflow (v1)",
|
|
5
|
+
"description": "Declarative workflow definition. Read by god-orchestrator.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["apiVersion", "kind", "metadata", "on", "jobs"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"apiVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["godpowers/v1"]
|
|
12
|
+
},
|
|
13
|
+
"kind": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["Workflow"]
|
|
16
|
+
},
|
|
17
|
+
"metadata": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["name", "version"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"name": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$" },
|
|
22
|
+
"version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+$" },
|
|
23
|
+
"description": { "type": "string" }
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"on": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"pattern": "^/god-[a-z-]+$"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"jobs": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"patternProperties": {
|
|
36
|
+
"^[a-z][a-z0-9-]*$": { "$ref": "#/$defs/Job" }
|
|
37
|
+
},
|
|
38
|
+
"minProperties": 1
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"$defs": {
|
|
42
|
+
"Job": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"required": ["uses"],
|
|
45
|
+
"properties": {
|
|
46
|
+
"tier": {
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"minimum": 0,
|
|
49
|
+
"maximum": 3
|
|
50
|
+
},
|
|
51
|
+
"uses": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"pattern": "^god-[a-z-]+@[\\^~]?\\d+\\.\\d+\\.\\d+$|^god-[a-z-]+@[\\^~]?\\d+\\.x$",
|
|
54
|
+
"description": "Agent reference with SemVer constraint"
|
|
55
|
+
},
|
|
56
|
+
"needs": {
|
|
57
|
+
"oneOf": [
|
|
58
|
+
{ "type": "string" },
|
|
59
|
+
{ "type": "array", "items": { "type": "string" } }
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"with": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"description": "Inputs to the agent"
|
|
65
|
+
},
|
|
66
|
+
"review": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"stages": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"required": ["uses"],
|
|
74
|
+
"properties": {
|
|
75
|
+
"uses": { "type": "string" },
|
|
76
|
+
"on-fail": { "type": "string" }
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"blocks-on": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"additionalProperties": true
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"per": { "type": "string", "enum": ["slice", "wave"] },
|
|
90
|
+
"parallel-by": { "type": "string", "enum": ["slice", "wave"] },
|
|
91
|
+
"on-pass": { "type": "string" },
|
|
92
|
+
"skip-when": { "type": "string" }
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-add-backlog
|
|
3
|
+
description: |
|
|
4
|
+
Add an idea to the backlog. Less urgent than a todo. Reviewed periodically
|
|
5
|
+
via /god-review-backlog. Captured in .godpowers/backlog/BACKLOG.md.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god add backlog", "/god-add-backlog", "backlog this", "for later"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-add-backlog
|
|
11
|
+
|
|
12
|
+
Add an idea to the backlog parking lot.
|
|
13
|
+
|
|
14
|
+
## Process
|
|
15
|
+
|
|
16
|
+
1. Append to `.godpowers/backlog/BACKLOG.md`:
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
- [date] [idea description] (source: [conversation context])
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
2. Confirm capture without ceremony.
|
|
23
|
+
|
|
24
|
+
## Subcommands
|
|
25
|
+
|
|
26
|
+
### `/god-add-backlog <text>`
|
|
27
|
+
Add an item.
|
|
28
|
+
|
|
29
|
+
### `/god-add-backlog list`
|
|
30
|
+
Show items, sorted by date.
|
|
31
|
+
|
|
32
|
+
### `/god-add-backlog promote <n>`
|
|
33
|
+
Promote item N to a todo via /god-add-todo, or to a roadmap milestone.
|
|
34
|
+
|
|
35
|
+
## Difference from /god-add-todo
|
|
36
|
+
|
|
37
|
+
- Todos are things you'll work on this sprint or this quarter
|
|
38
|
+
- Backlog is things you might work on someday, or might not
|
|
39
|
+
- Backlog gets reviewed less often
|
|
40
|
+
- Backlog items can age out
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-add-tests
|
|
3
|
+
description: |
|
|
4
|
+
Generate tests for existing code based on UAT criteria and observed
|
|
5
|
+
behavior. For shoring up coverage on legacy code without rewriting.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god add tests", "/god-add-tests", "test coverage", "add tests"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-add-tests
|
|
11
|
+
|
|
12
|
+
Generate tests for existing code.
|
|
13
|
+
|
|
14
|
+
## When to use
|
|
15
|
+
|
|
16
|
+
- Before /god-refactor on legacy code without coverage
|
|
17
|
+
- Before /god-upgrade as part of pre-migration test gap-fill
|
|
18
|
+
- After acquiring code from another team (combined with /god-map-codebase)
|
|
19
|
+
|
|
20
|
+
## When NOT to use
|
|
21
|
+
|
|
22
|
+
- New feature: use /god-build (TDD writes tests first)
|
|
23
|
+
- Single bug fix: use /god-debug (writes regression test as part of fix)
|
|
24
|
+
|
|
25
|
+
## Process
|
|
26
|
+
|
|
27
|
+
1. Identify the surface to add tests for (file, module, or function)
|
|
28
|
+
2. Spawn god-executor in test-only mode:
|
|
29
|
+
- Read the code
|
|
30
|
+
- Identify acceptance behaviors (what should this do)
|
|
31
|
+
- Identify edge cases
|
|
32
|
+
- Write tests that codify the current behavior
|
|
33
|
+
- Don't change the code (just add tests)
|
|
34
|
+
3. Spawn god-quality-reviewer:
|
|
35
|
+
- Are tests meaningful (testing behavior, not implementation)?
|
|
36
|
+
- Are edge cases covered?
|
|
37
|
+
4. Atomic commit: `test: add coverage for <surface>`
|
|
38
|
+
|
|
39
|
+
## Have-Nots
|
|
40
|
+
|
|
41
|
+
- Tests that verify the test framework runs (no actual assertions)
|
|
42
|
+
- Tests that mirror the implementation 1:1 (fragile, no value)
|
|
43
|
+
- Tests that pass even when bug is intentionally introduced
|
|
44
|
+
|
|
45
|
+
## On Completion
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
Test coverage added: <surface>
|
|
49
|
+
New tests: N
|
|
50
|
+
Coverage delta: +X%
|
|
51
|
+
|
|
52
|
+
Suggested next: /god-refactor or /god-upgrade now that coverage is in place
|
|
53
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-add-todo
|
|
3
|
+
description: |
|
|
4
|
+
Capture an idea or task as a todo from current conversation context. Adds
|
|
5
|
+
to .godpowers/todos/TODOS.md with priority and source.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god add todo", "/god-add-todo", "remind me", "todo"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-add-todo
|
|
11
|
+
|
|
12
|
+
Capture a todo without breaking flow.
|
|
13
|
+
|
|
14
|
+
## Process
|
|
15
|
+
|
|
16
|
+
1. Read the current conversation context for the source of the todo
|
|
17
|
+
2. Ask user (briefly): priority? (P0/P1/P2/P3, default P2)
|
|
18
|
+
3. Append to `.godpowers/todos/TODOS.md`:
|
|
19
|
+
|
|
20
|
+
```markdown
|
|
21
|
+
- [ ] [P2] [date] [todo description] (source: [conversation summary])
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
4. Confirm: "Captured. Run /god-check-todos to see them."
|
|
25
|
+
|
|
26
|
+
## On Completion
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
Todo captured: [description]
|
|
30
|
+
Priority: P2
|
|
31
|
+
Total open todos: 7
|
|
32
|
+
```
|