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,89 @@
|
|
|
1
|
+
# OWASP Top 10 Manual Walkthrough
|
|
2
|
+
|
|
3
|
+
> Worksheets for each of the OWASP Top 10. Use during /god-harden.
|
|
4
|
+
|
|
5
|
+
## A01: Broken Access Control
|
|
6
|
+
|
|
7
|
+
For each protected endpoint:
|
|
8
|
+
- [ ] What permission is required?
|
|
9
|
+
- [ ] Is the permission check present and correct?
|
|
10
|
+
- [ ] Test: unauthenticated user hitting endpoint -> 401
|
|
11
|
+
- [ ] Test: authenticated user without permission -> 403
|
|
12
|
+
- [ ] Test: authenticated user WITH permission -> 200
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
Endpoint: GET /api/users/:id
|
|
16
|
+
Required: authenticated AND (user_id == :id OR role == admin)
|
|
17
|
+
Implementation: src/api/users.ts:45 (permission check is line 47)
|
|
18
|
+
Tested: yes (test_users_self_access, test_users_other_403, test_users_admin_other_200)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## A02: Cryptographic Failures
|
|
22
|
+
|
|
23
|
+
- [ ] All ePHI / PII / financial data encrypted at rest? (DB-level, not just app-level)
|
|
24
|
+
- [ ] All transmissions over TLS 1.2+? (verify with `nmap --script ssl-enum-ciphers`)
|
|
25
|
+
- [ ] No hardcoded secrets? (run `grep -ri "sk_live\|api_key\|secret" src/`)
|
|
26
|
+
- [ ] No weak algorithms? (no MD5, no SHA1 for security; AES-256 minimum for symmetric; RSA-2048 minimum for asymmetric)
|
|
27
|
+
- [ ] Random number generation cryptographically secure? (crypto.randomBytes, not Math.random)
|
|
28
|
+
|
|
29
|
+
## A03: Injection
|
|
30
|
+
|
|
31
|
+
For each input source (user form, URL param, header, file upload, third-party webhook):
|
|
32
|
+
- [ ] SQL: parameterized queries only? (no string concat)
|
|
33
|
+
- [ ] XSS: output encoded? CSP headers in place?
|
|
34
|
+
- [ ] Command injection: never pass user input to shell commands?
|
|
35
|
+
- [ ] Template injection: safe template engines? No `eval()` of user data?
|
|
36
|
+
- [ ] LDAP/XML/NoSQL injection: parameterized?
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Input: req.body.email (signup endpoint)
|
|
40
|
+
Validation: src/auth/signup.ts:23 (zod schema)
|
|
41
|
+
Used in: SQL via Prisma (parameterized) - safe
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## A04: Insecure Design
|
|
45
|
+
|
|
46
|
+
- [ ] Rate limiting on auth endpoints?
|
|
47
|
+
- [ ] Bulk operation safeguards (e.g., delete-all has confirmation)?
|
|
48
|
+
- [ ] Race condition risks? (TOCTOU on account balance, e.g.)
|
|
49
|
+
- [ ] Business logic flaws? (negative quantities, sign-up bypass, etc.)
|
|
50
|
+
|
|
51
|
+
## A05: Security Misconfiguration
|
|
52
|
+
|
|
53
|
+
- [ ] Default credentials removed?
|
|
54
|
+
- [ ] Verbose error messages disabled in production?
|
|
55
|
+
- [ ] Security headers present? (CSP, HSTS, X-Frame-Options, X-Content-Type-Options)
|
|
56
|
+
- [ ] Unnecessary features disabled? (debug endpoints, sample data)
|
|
57
|
+
- [ ] Cloud bucket permissions? (no public-by-default S3)
|
|
58
|
+
|
|
59
|
+
## A06: Vulnerable Components
|
|
60
|
+
|
|
61
|
+
- [ ] `npm audit` (or equivalent) clean for high+critical?
|
|
62
|
+
- [ ] Dependencies updated within last 12 months?
|
|
63
|
+
- [ ] Pinned versions or version ranges?
|
|
64
|
+
|
|
65
|
+
## A07: Authentication Failures
|
|
66
|
+
|
|
67
|
+
- [ ] Strong password policy?
|
|
68
|
+
- [ ] MFA available for sensitive accounts?
|
|
69
|
+
- [ ] Session fixation prevented? (rotate session ID on login)
|
|
70
|
+
- [ ] Credential stuffing protection? (rate limit, account lockout, captcha)
|
|
71
|
+
- [ ] Forgot-password flow secure? (token expiry, single-use)
|
|
72
|
+
|
|
73
|
+
## A08: Data Integrity Failures
|
|
74
|
+
|
|
75
|
+
- [ ] Updates signed/verified? (e.g., software updates from upstream)
|
|
76
|
+
- [ ] No unsafe deserialization? (no `pickle.loads(user_input)` or equivalent)
|
|
77
|
+
- [ ] Critical data has integrity checks? (HMAC, signature)
|
|
78
|
+
|
|
79
|
+
## A09: Logging Failures
|
|
80
|
+
|
|
81
|
+
- [ ] Security events logged? (auth, authz failures, admin actions)
|
|
82
|
+
- [ ] No sensitive data in logs? (no passwords, no full tokens, no PII unless required and redacted)
|
|
83
|
+
- [ ] Alerts on suspicious activity? (e.g., 100 failed logins in 5 min)
|
|
84
|
+
|
|
85
|
+
## A10: SSRF
|
|
86
|
+
|
|
87
|
+
- [ ] User-supplied URLs validated? (no localhost, no internal IPs)
|
|
88
|
+
- [ ] Internal services not reachable from user-facing endpoints?
|
|
89
|
+
- [ ] Cloud metadata endpoints blocked? (169.254.169.254 in AWS, etc.)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# LAUNCH Antipatterns
|
|
2
|
+
|
|
3
|
+
## 1. The Quiet Launch
|
|
4
|
+
|
|
5
|
+
**Sample**: Code is deployed; nobody told anyone. Team waits to see if
|
|
6
|
+
users notice.
|
|
7
|
+
|
|
8
|
+
**Why it fails**: Users don't notice good things. They notice broken ones.
|
|
9
|
+
Quiet launches give you adoption signals only when something is wrong.
|
|
10
|
+
|
|
11
|
+
**Fix**: Launch with intent. At minimum: announcement to existing users,
|
|
12
|
+
opening of signup for new users, and clear telemetry to verify the
|
|
13
|
+
expected adoption pattern.
|
|
14
|
+
|
|
15
|
+
## 2. The HARDEN-Skipped Launch
|
|
16
|
+
|
|
17
|
+
**Sample**: Time pressure; HARDEN gate skipped "to ship Friday."
|
|
18
|
+
|
|
19
|
+
**Why it fails**: Friday-launched, weekend-on-fire. The skipped harden
|
|
20
|
+
review missed an authentication bug; production is breached over the
|
|
21
|
+
weekend.
|
|
22
|
+
|
|
23
|
+
**Fix**: HARDEN is a gate, not a stage. The launch agent (god-launch-
|
|
24
|
+
strategist) refuses to advance if HARDEN/FINDINGS.md has open CRITICAL
|
|
25
|
+
or HIGH items. Even under --yolo. CRITICAL findings are not waivable.
|
|
26
|
+
|
|
27
|
+
## 3. The Launch Without Rollback
|
|
28
|
+
|
|
29
|
+
**Sample**: Launch plan describes how to ship; says nothing about how to
|
|
30
|
+
unship.
|
|
31
|
+
|
|
32
|
+
**Why it fails**: When the new release reveals a problem, the team has
|
|
33
|
+
no defined path backwards. Recovery improvises.
|
|
34
|
+
|
|
35
|
+
**Fix**: Rollback is part of the launch checklist. Trigger conditions
|
|
36
|
+
are explicit ("if error rate exceeds 5x baseline for 10 minutes,
|
|
37
|
+
rollback"). The rollback path is tested as part of launch prep.
|
|
38
|
+
|
|
39
|
+
## 4. The Launch Without Success Criteria
|
|
40
|
+
|
|
41
|
+
**Sample**: Launched; no measurable definition of "the launch worked."
|
|
42
|
+
|
|
43
|
+
**Why it fails**: Was the launch a success? The team can't tell.
|
|
44
|
+
Subsequent decisions ("ship a similar feature?") are made on vibe.
|
|
45
|
+
|
|
46
|
+
**Fix**: Each launch defines its success criteria up front, drawn from
|
|
47
|
+
the PRD success metrics. "M-5 launch is successful when 50 active
|
|
48
|
+
accounts within 60 days." The criteria are tracked in LAUNCH/STATE.md.
|
|
49
|
+
|
|
50
|
+
## 5. The Quiet Failure
|
|
51
|
+
|
|
52
|
+
**Sample**: A subset of users hits the bug; they don't report it because
|
|
53
|
+
it's intermittent. The team doesn't know.
|
|
54
|
+
|
|
55
|
+
**Fix**: Active error tracking from minute one. Sentry or equivalent
|
|
56
|
+
reports unhandled errors with user context. Launch readiness includes
|
|
57
|
+
"error tracking captures failures from real users in staging within
|
|
58
|
+
30 seconds of the failure occurring."
|
|
59
|
+
|
|
60
|
+
## 6. The Launched-and-Forgotten Feature
|
|
61
|
+
|
|
62
|
+
**Sample**: M-3 shipped 6 weeks ago. No follow-up tracking. Nobody knows
|
|
63
|
+
adoption.
|
|
64
|
+
|
|
65
|
+
**Fix**: Launch creates a measurement timeline. T+7d, T+30d, T+60d
|
|
66
|
+
checkpoints with the success metric tracked. Below threshold triggers a
|
|
67
|
+
god-postmortem (was the feature wrong, the messaging wrong, or the
|
|
68
|
+
metric wrong?).
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# OBSERVE Antipatterns
|
|
2
|
+
|
|
3
|
+
## 1. The Vanity Dashboard
|
|
4
|
+
|
|
5
|
+
**Sample**: Beautiful dashboards showing aggregate request counts. Nothing
|
|
6
|
+
shows error budget burn or per-feature latency.
|
|
7
|
+
|
|
8
|
+
**Why it fails**: When something breaks, vanity dashboards don't tell you
|
|
9
|
+
what or why.
|
|
10
|
+
|
|
11
|
+
**Fix**: Dashboards anchored to SLOs, not to metric availability. Every
|
|
12
|
+
dashboard panel maps to a question the on-call needs to answer.
|
|
13
|
+
|
|
14
|
+
## 2. The Alert That Fires Forever
|
|
15
|
+
|
|
16
|
+
**Sample**: "High error rate" alert fires hourly; team has muted it.
|
|
17
|
+
|
|
18
|
+
**Why it fails**: An always-firing alert is no alert. The team learns
|
|
19
|
+
to ignore the channel; real fires get missed.
|
|
20
|
+
|
|
21
|
+
**Fix**: Alerts have actionable thresholds and a runbook. If an alert
|
|
22
|
+
fires more than weekly without action, it's tuned or removed. Alert
|
|
23
|
+
fatigue is a measurable failure.
|
|
24
|
+
|
|
25
|
+
## 3. The Logs Without Correlation
|
|
26
|
+
|
|
27
|
+
**Sample**: Logs scattered across services with no trace ID.
|
|
28
|
+
|
|
29
|
+
**Why it fails**: A user-reported bug touches 5 services. Without
|
|
30
|
+
correlation, the on-call greps by timestamp and prays.
|
|
31
|
+
|
|
32
|
+
**Fix**: Trace IDs propagate end-to-end. Every log line includes the
|
|
33
|
+
trace ID. OpenTelemetry standard or equivalent.
|
|
34
|
+
|
|
35
|
+
## 4. The Missing Error Budget
|
|
36
|
+
|
|
37
|
+
**Sample**: SLO defined as "99.9% uptime." When breached, no policy.
|
|
38
|
+
|
|
39
|
+
**Why it fails**: SLOs without error budget policies are theater. The
|
|
40
|
+
team has no defined response when reliability slips.
|
|
41
|
+
|
|
42
|
+
**Fix**: Each SLO has a written error budget policy: "When 50% of monthly
|
|
43
|
+
budget is consumed, halt feature work; when 100% consumed, freeze
|
|
44
|
+
non-fix deploys." Codified in OBSERVE/STATE.md.
|
|
45
|
+
|
|
46
|
+
## 5. The Untested Alert
|
|
47
|
+
|
|
48
|
+
**Sample**: Alerts configured; nobody has ever simulated the underlying
|
|
49
|
+
condition to verify the alert actually fires.
|
|
50
|
+
|
|
51
|
+
**Fix**: Each alert has a documented test (e.g., "kill one pod and
|
|
52
|
+
confirm HighErrorRate fires within 5 minutes"). Run quarterly.
|
|
53
|
+
|
|
54
|
+
## 6. The PII in Logs
|
|
55
|
+
|
|
56
|
+
**Sample**: User logging includes email, phone, billing address.
|
|
57
|
+
|
|
58
|
+
**Why it fails**: Logs are usually the least-protected data store. PII
|
|
59
|
+
in logs is a privacy incident waiting to happen.
|
|
60
|
+
|
|
61
|
+
**Fix**: Structured logging with explicit redaction. Schemas mark fields
|
|
62
|
+
as "redacted at source." Linting catches violations.
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# SLO Examples
|
|
2
|
+
|
|
3
|
+
## SLO Definition
|
|
4
|
+
|
|
5
|
+
A Service Level Objective ties to a PRD success metric.
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
PRD says: "99.9% uptime over 30 days"
|
|
9
|
+
SLO is: Availability of /api/* endpoints > 99.9% over rolling 30 days
|
|
10
|
+
Indicator: 1 - (5xx responses / total responses)
|
|
11
|
+
Error budget: 0.1% = 43 minutes/month
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## SLO + Error Budget Policy
|
|
15
|
+
|
|
16
|
+
The SLO without a policy is paper.
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
Error budget policy for /api/* availability:
|
|
20
|
+
- Budget remaining > 50%: continue feature work
|
|
21
|
+
- Budget remaining 25-50%: prioritize reliability work next sprint
|
|
22
|
+
- Budget remaining 5-25%: freeze non-critical features; reliability only
|
|
23
|
+
- Budget exhausted: halt deploys to /api/*; engage reliability rotation
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The policy is what makes the SLO operational.
|
|
27
|
+
|
|
28
|
+
## Symptom-based Alerting
|
|
29
|
+
|
|
30
|
+
Alert on user-facing pain, not internal state.
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
GOOD: Alert when error rate on /api/* > 1% sustained for 5 minutes
|
|
34
|
+
GOOD: Alert when p99 latency > 2s sustained for 10 minutes
|
|
35
|
+
GOOD: Alert when checkout success rate drops 20% from rolling baseline
|
|
36
|
+
|
|
37
|
+
BAD: Alert when CPU > 80%
|
|
38
|
+
BAD: Alert when memory > 75%
|
|
39
|
+
BAD: Alert when disk > 85%
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
CPU/memory/disk alerts are good for capacity planning, not for "wake
|
|
43
|
+
someone up at 3am". Wake people for symptoms.
|
|
44
|
+
|
|
45
|
+
## Runbooks
|
|
46
|
+
|
|
47
|
+
Each alert has a runbook. The runbook has been DRY-RUN.
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
# Runbook: Error rate on /api/* > 1%
|
|
51
|
+
|
|
52
|
+
Trigger: Error rate alert fires (sustained 5 min)
|
|
53
|
+
|
|
54
|
+
Diagnostic steps:
|
|
55
|
+
1. Check Datadog dashboard "API Health" - which endpoint is failing?
|
|
56
|
+
2. Check recent deploys (last 30 min): is there a likely culprit?
|
|
57
|
+
3. Check Stripe API status: are we depending on a degraded upstream?
|
|
58
|
+
4. Check database connection pool: are we exhausted?
|
|
59
|
+
|
|
60
|
+
Mitigation:
|
|
61
|
+
- If recent deploy: rollback (see DEPLOY-PATTERNS.md)
|
|
62
|
+
- If upstream issue: enable degraded mode (return cached data)
|
|
63
|
+
- If DB connection: scale connection pool, restart bad pods
|
|
64
|
+
- If unknown: page the on-call engineer
|
|
65
|
+
|
|
66
|
+
Escalation: if not mitigated in 30 minutes, page CTO.
|
|
67
|
+
|
|
68
|
+
Last dry-run: 2026-04-20 (in staging, simulated 5xx)
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Structured Logging
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
{
|
|
75
|
+
"ts": "2026-05-09T14:23:45.123Z",
|
|
76
|
+
"level": "info",
|
|
77
|
+
"request_id": "req_abc123",
|
|
78
|
+
"user_id": "user_xyz789",
|
|
79
|
+
"endpoint": "/api/mrr",
|
|
80
|
+
"duration_ms": 145,
|
|
81
|
+
"status": 200
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
NOT:
|
|
86
|
+
```
|
|
87
|
+
2026-05-09 14:23:45 INFO Request to /api/mrr from user xyz789 took 145ms (200 OK)
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Structured logs are queryable. Free-text isn't.
|
|
91
|
+
|
|
92
|
+
## Anti-patterns
|
|
93
|
+
|
|
94
|
+
### Vanity Dashboard
|
|
95
|
+
Charts with metrics that look impressive but tie to no SLO and no action.
|
|
96
|
+
|
|
97
|
+
**Fix**: every chart answers a question that ties to an action. Delete the rest.
|
|
98
|
+
|
|
99
|
+
### Alert without runbook
|
|
100
|
+
"Production down!" -- now what?
|
|
101
|
+
|
|
102
|
+
**Fix**: every alert payload includes the runbook URL.
|
|
103
|
+
|
|
104
|
+
### Untested runbook
|
|
105
|
+
Written once during a quiet afternoon. Never verified.
|
|
106
|
+
|
|
107
|
+
**Fix**: dry-run quarterly in staging. Update based on what's actually true.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Shipping References
|
|
2
|
+
|
|
3
|
+
Per-tier reference content for Tier 3 (Deploy, Observe, Launch, Harden).
|
|
4
|
+
|
|
5
|
+
## Files
|
|
6
|
+
|
|
7
|
+
- (placeholder)
|
|
8
|
+
|
|
9
|
+
## Planned content
|
|
10
|
+
|
|
11
|
+
- Same-artifact promotion patterns and anti-patterns
|
|
12
|
+
- SLO worked examples with error budget policies
|
|
13
|
+
- Symptom-vs-cause alerting catalog
|
|
14
|
+
- OWASP Top 10 manual review worksheets
|
|
15
|
+
- Launch copy substitution-test calibration set
|
|
16
|
+
- D-7 to D+7 runbook templates
|
|
17
|
+
|
|
18
|
+
See [HAVE-NOTS.md](../HAVE-NOTS.md) for the canonical failure-mode catalog.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-add-backlog
|
|
5
|
+
description: Add idea to backlog (less urgent than todo)
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required: []
|
|
10
|
+
|
|
11
|
+
execution:
|
|
12
|
+
spawns: [built-in]
|
|
13
|
+
context: fresh
|
|
14
|
+
writes: []
|
|
15
|
+
|
|
16
|
+
success-path:
|
|
17
|
+
next-recommended: /god-next
|
|
18
|
+
|
|
19
|
+
failure-path:
|
|
20
|
+
on-error: /god-doctor
|
|
21
|
+
|
|
22
|
+
endoff:
|
|
23
|
+
state-update: tier-0 updated for /god-add-backlog
|
|
24
|
+
events: [agent.start, agent.end]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-add-tests
|
|
5
|
+
description: Add tests to legacy code
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required:
|
|
10
|
+
- check: state:tier-2.repo.status == done
|
|
11
|
+
|
|
12
|
+
execution:
|
|
13
|
+
spawns: [god-executor]
|
|
14
|
+
context: fresh
|
|
15
|
+
writes:
|
|
16
|
+
[]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
success-path:
|
|
20
|
+
next-recommended: /god-refactor
|
|
21
|
+
|
|
22
|
+
failure-path:
|
|
23
|
+
on-error: /god-doctor
|
|
24
|
+
|
|
25
|
+
endoff:
|
|
26
|
+
state-update: tier-0 updated for /god-add-tests
|
|
27
|
+
events: [agent.start, artifact.created, agent.end]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-add-todo
|
|
5
|
+
description: Capture a todo from current context
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required: []
|
|
10
|
+
|
|
11
|
+
execution:
|
|
12
|
+
spawns: [built-in]
|
|
13
|
+
context: fresh
|
|
14
|
+
writes: []
|
|
15
|
+
|
|
16
|
+
success-path:
|
|
17
|
+
next-recommended: /god-next
|
|
18
|
+
|
|
19
|
+
failure-path:
|
|
20
|
+
on-error: /god-doctor
|
|
21
|
+
|
|
22
|
+
endoff:
|
|
23
|
+
state-update: tier-0 updated for /god-add-todo
|
|
24
|
+
events: [agent.start, agent.end]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-agent-audit
|
|
5
|
+
description: Validate agents/*.md against agent contract
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required: []
|
|
10
|
+
|
|
11
|
+
execution:
|
|
12
|
+
spawns: [built-in]
|
|
13
|
+
context: fresh
|
|
14
|
+
writes: []
|
|
15
|
+
|
|
16
|
+
success-path:
|
|
17
|
+
next-recommended: varies
|
|
18
|
+
|
|
19
|
+
failure-path:
|
|
20
|
+
on-error: /god-doctor
|
|
21
|
+
|
|
22
|
+
endoff:
|
|
23
|
+
state-update: tier-0 updated for /god-agent-audit
|
|
24
|
+
events: [agent.start, agent.end]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-arch
|
|
5
|
+
description: Design system architecture
|
|
6
|
+
tier: 1
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required:
|
|
10
|
+
- check: state:tier-1.prd.status == done
|
|
11
|
+
auto-complete: /god-prd
|
|
12
|
+
human-required: true
|
|
13
|
+
- check: have-nots-pass:prd
|
|
14
|
+
auto-complete: /god-prd
|
|
15
|
+
human-required: true
|
|
16
|
+
|
|
17
|
+
execution:
|
|
18
|
+
spawns: [god-architect]
|
|
19
|
+
context: fresh
|
|
20
|
+
reads:
|
|
21
|
+
- .godpowers/prd/PRD.md
|
|
22
|
+
- templates/ARCH.md
|
|
23
|
+
writes:
|
|
24
|
+
- .godpowers/arch/ARCH.md
|
|
25
|
+
- .godpowers/arch/adr/
|
|
26
|
+
|
|
27
|
+
standards:
|
|
28
|
+
substitution-test: true
|
|
29
|
+
three-label-test: true
|
|
30
|
+
have-nots: [A-01, A-02, A-03, A-04, A-05, A-06, A-07, A-08, A-09, A-10, A-11, A-12]
|
|
31
|
+
gate-on-failure: pause-for-user
|
|
32
|
+
|
|
33
|
+
success-path:
|
|
34
|
+
next-recommended: /god-roadmap
|
|
35
|
+
alternatives:
|
|
36
|
+
- command: /god-stack
|
|
37
|
+
when: stack-not-yet-decided
|
|
38
|
+
|
|
39
|
+
failure-path:
|
|
40
|
+
on-have-nots-fail: /god-arch
|
|
41
|
+
on-pause: relay-to-user-with-options
|
|
42
|
+
on-error: /god-doctor
|
|
43
|
+
|
|
44
|
+
endoff:
|
|
45
|
+
state-update: tier-1.arch.status = done
|
|
46
|
+
events: [agent.start, artifact.created, have-nots.check, agent.end]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-archaeology
|
|
5
|
+
description: Deep brownfield code archaeology
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required: []
|
|
10
|
+
|
|
11
|
+
execution:
|
|
12
|
+
spawns: [god-archaeologist]
|
|
13
|
+
context: fresh
|
|
14
|
+
writes:
|
|
15
|
+
- .godpowers/archaeology/REPORT.md
|
|
16
|
+
|
|
17
|
+
success-path:
|
|
18
|
+
next-recommended: /god-reconstruct
|
|
19
|
+
alternatives:
|
|
20
|
+
- command: /god-tech-debt
|
|
21
|
+
when: archaeology-surfaced-debt-concerns
|
|
22
|
+
|
|
23
|
+
failure-path:
|
|
24
|
+
on-error: /god-doctor
|
|
25
|
+
|
|
26
|
+
endoff:
|
|
27
|
+
state-update: archaeology completed
|
|
28
|
+
events: [agent.start, artifact.created, agent.end]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-audit
|
|
5
|
+
description: Score artifacts against have-nots
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required:
|
|
10
|
+
- check: file:.godpowers/PROGRESS.md
|
|
11
|
+
auto-complete: /god-init
|
|
12
|
+
human-required: true
|
|
13
|
+
|
|
14
|
+
execution:
|
|
15
|
+
spawns: [god-auditor]
|
|
16
|
+
context: fresh
|
|
17
|
+
writes:
|
|
18
|
+
- .godpowers/AUDIT-REPORT.md
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
success-path:
|
|
22
|
+
next-recommended: /god-status
|
|
23
|
+
alternatives:
|
|
24
|
+
- command: /god-redo
|
|
25
|
+
when: failures-found
|
|
26
|
+
|
|
27
|
+
failure-path:
|
|
28
|
+
on-error: /god-doctor
|
|
29
|
+
|
|
30
|
+
endoff:
|
|
31
|
+
state-update: tier-0 updated for /god-audit
|
|
32
|
+
events: [agent.start, artifact.created, agent.end]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-budget
|
|
5
|
+
description:
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required: []
|
|
10
|
+
|
|
11
|
+
execution:
|
|
12
|
+
spawns: [built-in]
|
|
13
|
+
context: fresh
|
|
14
|
+
writes: []
|
|
15
|
+
|
|
16
|
+
success-path:
|
|
17
|
+
next-recommended: varies
|
|
18
|
+
|
|
19
|
+
failure-path:
|
|
20
|
+
on-error: /god-doctor
|
|
21
|
+
|
|
22
|
+
endoff:
|
|
23
|
+
state-update: none
|
|
24
|
+
events: [agent.start, agent.end]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-build-agent
|
|
5
|
+
description: Generate custom specialist agent
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required: []
|
|
10
|
+
|
|
11
|
+
execution:
|
|
12
|
+
spawns: [built-in]
|
|
13
|
+
context: fresh
|
|
14
|
+
writes: []
|
|
15
|
+
|
|
16
|
+
success-path:
|
|
17
|
+
next-recommended: /god-next
|
|
18
|
+
|
|
19
|
+
failure-path:
|
|
20
|
+
on-error: /god-doctor
|
|
21
|
+
|
|
22
|
+
endoff:
|
|
23
|
+
state-update: tier-0 updated for /god-build-agent
|
|
24
|
+
events: [agent.start, agent.end]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-build
|
|
5
|
+
description: Build slices with TDD enforcement and two-stage review
|
|
6
|
+
tier: 2
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required:
|
|
10
|
+
- check: state:tier-1.roadmap.status == done
|
|
11
|
+
auto-complete: /god-roadmap
|
|
12
|
+
human-required: true
|
|
13
|
+
- check: state:tier-2.repo.status == done
|
|
14
|
+
auto-complete: /god-roadmap
|
|
15
|
+
human-required: true
|
|
16
|
+
|
|
17
|
+
execution:
|
|
18
|
+
spawns: [god-planner]
|
|
19
|
+
context: fresh
|
|
20
|
+
secondary-spawns: [god-executor, god-spec-reviewer, god-quality-reviewer]
|
|
21
|
+
writes:
|
|
22
|
+
- .godpowers/build/PLAN.md
|
|
23
|
+
- .godpowers/build/STATE.md
|
|
24
|
+
- source code
|
|
25
|
+
|
|
26
|
+
standards:
|
|
27
|
+
substitution-test: true
|
|
28
|
+
three-label-test: true
|
|
29
|
+
have-nots: [B-01, B-02, B-03, B-04, B-05, B-06, B-07, B-08, B-09, B-10, B-11, B-12]
|
|
30
|
+
gate-on-failure: pause-for-user
|
|
31
|
+
|
|
32
|
+
success-path:
|
|
33
|
+
next-recommended: /god-deploy
|
|
34
|
+
alternatives:
|
|
35
|
+
- command: /god-harden
|
|
36
|
+
when: parallel-with-deploy
|
|
37
|
+
|
|
38
|
+
post-success-actions:
|
|
39
|
+
- run: /god-scan
|
|
40
|
+
reason: refresh linkage map; surface drift to REVIEW-REQUIRED.md
|
|
41
|
+
failure-path:
|
|
42
|
+
on-error: /god-doctor
|
|
43
|
+
|
|
44
|
+
endoff:
|
|
45
|
+
state-update: tier-2 updated for /god-build
|
|
46
|
+
events: [agent.start, artifact.created, agent.end, linkage.snapshot, drift.detected, review-required.populated]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
apiVersion: godpowers/v1
|
|
2
|
+
kind: CommandRouting
|
|
3
|
+
metadata:
|
|
4
|
+
command: /god-cache-clear
|
|
5
|
+
description:
|
|
6
|
+
tier: 0
|
|
7
|
+
|
|
8
|
+
prerequisites:
|
|
9
|
+
required: []
|
|
10
|
+
|
|
11
|
+
execution:
|
|
12
|
+
spawns: [built-in]
|
|
13
|
+
context: fresh
|
|
14
|
+
writes: []
|
|
15
|
+
|
|
16
|
+
success-path:
|
|
17
|
+
next-recommended: varies
|
|
18
|
+
|
|
19
|
+
failure-path:
|
|
20
|
+
on-error: /god-doctor
|
|
21
|
+
|
|
22
|
+
endoff:
|
|
23
|
+
state-update: none
|
|
24
|
+
events: [agent.start, agent.end]
|