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
package/skills/god.md
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god
|
|
3
|
+
description: |
|
|
4
|
+
Front door. Take free-text intent from the user, match it to a recipe via
|
|
5
|
+
lib/recipes.matchIntent, and propose the matching command sequence. If no
|
|
6
|
+
text given, fall back to state-driven suggestion (same as /god-next Mode 3).
|
|
7
|
+
|
|
8
|
+
Triggers on: "/god", "god", "/god help", "I want to ...", "how do I ..."
|
|
9
|
+
(when not matched by a more specific command)
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god (front door)
|
|
13
|
+
|
|
14
|
+
The natural-language entry point. Users describe what they want; this skill
|
|
15
|
+
matches the intent to a recipe and suggests the right command sequence. No
|
|
16
|
+
agent is spawned here. This is a thin router on top of `lib/recipes.js`.
|
|
17
|
+
|
|
18
|
+
## Why this exists
|
|
19
|
+
|
|
20
|
+
Slash commands are precise but require the user to know the command name.
|
|
21
|
+
Recipes are scenario-shaped ("I'm coming back after a week", "production is
|
|
22
|
+
broken", "add a feature mid-arc") and match free-text intent. `/god` is the
|
|
23
|
+
front door that turns intent into the right slash command.
|
|
24
|
+
|
|
25
|
+
This skill complements `/god-next` rather than replacing it:
|
|
26
|
+
|
|
27
|
+
| Skill | Best for |
|
|
28
|
+
|-------|----------|
|
|
29
|
+
| `/god <free text>` | "I don't know which command, but here's what I want" |
|
|
30
|
+
| `/god-next` | "I just finished X, what's next?" or pre-flight checks |
|
|
31
|
+
| `/god-status` | "Where are we? what's done?" |
|
|
32
|
+
| `/god-init` | "Start a project here" |
|
|
33
|
+
| `/god-mode` | "Run the whole arc autonomously" |
|
|
34
|
+
|
|
35
|
+
## Process
|
|
36
|
+
|
|
37
|
+
### Step 1: parse the user's intent
|
|
38
|
+
|
|
39
|
+
Treat everything after `/god` as free text. If empty, treat as state-driven.
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
/god add a feature without breaking the current arc
|
|
43
|
+
text = "add a feature without breaking the current arc"
|
|
44
|
+
|
|
45
|
+
/god
|
|
46
|
+
text = "" -> state-driven mode
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Step 2: dispatch by mode
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
text empty?
|
|
53
|
+
yes -> state-driven: call lib/recipes.suggestForState(projectRoot)
|
|
54
|
+
display top 3 recipes ranked by current lifecycle phase
|
|
55
|
+
also call lib/router.suggestNext(projectRoot) for structural next
|
|
56
|
+
|
|
57
|
+
no -> intent-driven: call lib/recipes.matchIntent(text, projectRoot)
|
|
58
|
+
take top 1-3 matches by score
|
|
59
|
+
if highest score >= 10 (exact phrase match): propose directly
|
|
60
|
+
if highest score 5-9 (all-words match): propose with confirmation
|
|
61
|
+
if no matches: suggest /god-next (state-driven fallback)
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Step 3: render the suggestion
|
|
65
|
+
|
|
66
|
+
For a single high-confidence match (score >= 10):
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Best match: <recipe.metadata.name>
|
|
70
|
+
What this does: <recipe.metadata.description>
|
|
71
|
+
|
|
72
|
+
Sequence:
|
|
73
|
+
1. <command> <why>
|
|
74
|
+
2. <command> <why>
|
|
75
|
+
...
|
|
76
|
+
|
|
77
|
+
Run this sequence? (yes / show others / cancel)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
For multiple matches (top 3):
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
Top matches for "<user text>":
|
|
84
|
+
|
|
85
|
+
1. <recipe-name> (<score>) <description>
|
|
86
|
+
2. <recipe-name> (<score>) <description>
|
|
87
|
+
3. <recipe-name> (<score>) <description>
|
|
88
|
+
|
|
89
|
+
Pick one (1/2/3) or describe more specifically.
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
For state-driven (no text):
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
Where you are: <lifecycle-phase>
|
|
96
|
+
|
|
97
|
+
Structural next: <command> <why>
|
|
98
|
+
|
|
99
|
+
Recipes that fit your current state:
|
|
100
|
+
- <recipe-name> <description>
|
|
101
|
+
- <recipe-name> <description>
|
|
102
|
+
|
|
103
|
+
Run structural next? (yes / pick recipe / cancel)
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Step 4: execute or hand off
|
|
107
|
+
|
|
108
|
+
If user confirms a recipe:
|
|
109
|
+
- Walk the recipe's `default-sequence.steps`
|
|
110
|
+
- For each step, suggest the slash command and let the user invoke it
|
|
111
|
+
(or invoke it directly if it has no destructive side effects)
|
|
112
|
+
|
|
113
|
+
If user picks the structural next:
|
|
114
|
+
- Hand off to `/god-next --before=<command>` so prereqs are checked first
|
|
115
|
+
|
|
116
|
+
## Interaction model
|
|
117
|
+
|
|
118
|
+
This skill is a router, not an orchestrator. It:
|
|
119
|
+
- Reads recipes (via `lib/recipes.js`)
|
|
120
|
+
- Reads state (via `lib/state.js`)
|
|
121
|
+
- Proposes commands
|
|
122
|
+
|
|
123
|
+
It does NOT:
|
|
124
|
+
- Spawn agents directly
|
|
125
|
+
- Modify `state.json`, `PROGRESS.md`, or `events.jsonl`
|
|
126
|
+
- Run multi-tier work (that's `god-orchestrator`'s job, accessed via `/god-mode`)
|
|
127
|
+
|
|
128
|
+
The user always sees what command will run. Confirmation is required before
|
|
129
|
+
any destructive sequence executes.
|
|
130
|
+
|
|
131
|
+
## Examples
|
|
132
|
+
|
|
133
|
+
### Example 1: high-confidence intent match
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
User: /god production is broken
|
|
137
|
+
|
|
138
|
+
Match: production-broken (score: 30)
|
|
139
|
+
What this does: P0 incident response with rollback-first triage
|
|
140
|
+
|
|
141
|
+
Sequence:
|
|
142
|
+
1. /god-hotfix Spawn god-debugger for fast triage
|
|
143
|
+
2. /god-deploy Push the fix once green
|
|
144
|
+
3. /god-postmortem Schedule the incident review
|
|
145
|
+
|
|
146
|
+
Run this sequence? (yes / show others / cancel)
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Example 2: ambiguous intent (multiple matches)
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
User: /god add a new feature
|
|
153
|
+
|
|
154
|
+
Top matches for "add a new feature":
|
|
155
|
+
|
|
156
|
+
1. add-feature-mid-arc-pause (15) Pause /god-mode arc, run feature, resume
|
|
157
|
+
2. add-feature-small (10) Lightweight feature, no arc context
|
|
158
|
+
3. add-feature-next-milestone (10) Defer to next milestone
|
|
159
|
+
|
|
160
|
+
Pick one (1/2/3) or describe more specifically.
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Example 3: state-driven (no text)
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
User: /god
|
|
167
|
+
|
|
168
|
+
Where you are: tier-1 in progress (PRD done, ARCH pending)
|
|
169
|
+
|
|
170
|
+
Structural next: /god-arch
|
|
171
|
+
Why: PRD is complete; architecture is the next gate
|
|
172
|
+
|
|
173
|
+
Recipes that fit your current state:
|
|
174
|
+
- whats-next Show the next logical step with reason
|
|
175
|
+
- rerun-tier Redo a previous tier with new inputs
|
|
176
|
+
|
|
177
|
+
Run /god-arch? (yes / pick recipe / cancel)
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Example 4: no match
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
User: /god make me a sandwich
|
|
184
|
+
|
|
185
|
+
No recipe matched. Falling back to state-driven suggestion.
|
|
186
|
+
|
|
187
|
+
Where you are: tier-3 launched
|
|
188
|
+
Structural next: (none, arc complete)
|
|
189
|
+
|
|
190
|
+
Suggested: /god-next show all valid next-step options
|
|
191
|
+
or: /god-status re-derive state from disk
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
## Why a skill, not an agent
|
|
195
|
+
|
|
196
|
+
The matching and dispatch logic is mechanical (lookups against
|
|
197
|
+
`routing/recipes/*.yaml`) and has no need for fresh-context isolation. Running
|
|
198
|
+
it as a skill keeps it fast, lets the user see the proposed commands, and
|
|
199
|
+
avoids stacking another orchestrator layer above `god-orchestrator`. See
|
|
200
|
+
`docs/concepts.md` (the Quarterback section) for why we don't add a second
|
|
201
|
+
orchestrator.
|
|
202
|
+
|
|
203
|
+
## Output
|
|
204
|
+
|
|
205
|
+
No new artifacts. This skill only proposes commands and (with confirmation)
|
|
206
|
+
hands off to the right slash command. State is updated by the downstream
|
|
207
|
+
command, not by `/god`.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# System Architecture
|
|
2
|
+
|
|
3
|
+
> Every decision below has a flip point. Every claim is substitution-tested.
|
|
4
|
+
> Every NFR from PRD has a corresponding architectural choice.
|
|
5
|
+
|
|
6
|
+
## System Context (C4 Level 1)
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
[External User]
|
|
10
|
+
|
|
|
11
|
+
v
|
|
12
|
+
┌──────────────┐
|
|
13
|
+
[External API] -> │ THE SYSTEM │ -> [External Service]
|
|
14
|
+
└──────────────┘
|
|
15
|
+
|
|
|
16
|
+
v
|
|
17
|
+
[External DB / Service]
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[Each arrow labeled with: data flowing, protocol, frequency.]
|
|
21
|
+
|
|
22
|
+
## Container Diagram (C4 Level 2)
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
[Container 1] --[API/protocol]--> [Container 2]
|
|
26
|
+
|
|
|
27
|
+
v
|
|
28
|
+
[Container 3 (DB)]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
| Container | Single Responsibility | Technology |
|
|
32
|
+
|-----------|----------------------|------------|
|
|
33
|
+
| [Name] | [One sentence. Single thing it owns.] | [Language/framework] |
|
|
34
|
+
|
|
35
|
+
## Architecture Decision Records
|
|
36
|
+
|
|
37
|
+
### ADR-001: [Decision Title]
|
|
38
|
+
- **Context**: [What forced this decision]
|
|
39
|
+
- **Decision**: [What was chosen]
|
|
40
|
+
- **Rationale**: [Why this over alternatives]
|
|
41
|
+
- **Flip point**: [Conditions under which this decision reverses]
|
|
42
|
+
- **Consequences**: [What this makes easier; what it makes harder]
|
|
43
|
+
|
|
44
|
+
### ADR-002: [Decision Title]
|
|
45
|
+
[Same structure]
|
|
46
|
+
|
|
47
|
+
## NFR-to-Architecture Map
|
|
48
|
+
|
|
49
|
+
| PRD NFR | Architectural Choice | ADR Reference |
|
|
50
|
+
|---------|---------------------|---------------|
|
|
51
|
+
| p99 < 100ms | [Choice that delivers this] | ADR-00X |
|
|
52
|
+
| 99.9% uptime | [Choice that delivers this] | ADR-00X |
|
|
53
|
+
| [Other NFR] | [Choice] | ADR-00X |
|
|
54
|
+
|
|
55
|
+
Every NFR from PRD MUST appear here. If an NFR has no corresponding choice,
|
|
56
|
+
flag it.
|
|
57
|
+
|
|
58
|
+
## Trust Boundaries
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
[External]
|
|
62
|
+
|
|
|
63
|
+
=== TRUST BOUNDARY: [Auth method, data classification] ===
|
|
64
|
+
|
|
|
65
|
+
[Internal]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
For each external integration:
|
|
69
|
+
- **Boundary**: [Where it sits]
|
|
70
|
+
- **Auth model**: [How identity is established]
|
|
71
|
+
- **Data classification**: [What flows across; sensitive or public]
|
|
72
|
+
- **Failure mode**: [What happens if the boundary is breached]
|
|
73
|
+
|
|
74
|
+
## Data Model
|
|
75
|
+
|
|
76
|
+
### Entities
|
|
77
|
+
|
|
78
|
+
| Entity | Owner Service | Consistency Model |
|
|
79
|
+
|--------|--------------|-------------------|
|
|
80
|
+
| User | auth-service | Strong |
|
|
81
|
+
| Order | orders-service | Strong (own DB), Eventual (read replicas) |
|
|
82
|
+
|
|
83
|
+
### Relationships
|
|
84
|
+
- [User] 1:N [Order]
|
|
85
|
+
- [Description of relationships]
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Have-Nots Checklist
|
|
90
|
+
|
|
91
|
+
Before declaring done, verify:
|
|
92
|
+
- [ ] Every container has a clear single responsibility
|
|
93
|
+
- [ ] No two containers share responsibility without justification
|
|
94
|
+
- [ ] Every NFR from PRD has an architectural mapping
|
|
95
|
+
- [ ] Every ADR has a flip point
|
|
96
|
+
- [ ] "Scalable" never appears without numbers
|
|
97
|
+
- [ ] Every external integration has a trust boundary
|
|
98
|
+
- [ ] Every data entity has an ownership assignment
|
|
99
|
+
- [ ] No sentence is unlabeled
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Dependency Audit
|
|
2
|
+
|
|
3
|
+
> Critical CVEs first. Patch updates batched. Minor updates one-at-a-time.
|
|
4
|
+
> Major updates routed to /god-upgrade.
|
|
5
|
+
|
|
6
|
+
Date: [ISO 8601]
|
|
7
|
+
Stack: [Node / Python / Go / Rust / Ruby / etc.]
|
|
8
|
+
|
|
9
|
+
## Summary
|
|
10
|
+
|
|
11
|
+
| Category | Count |
|
|
12
|
+
|----------|-------|
|
|
13
|
+
| Critical CVEs | [N] |
|
|
14
|
+
| Stale (>18 months) | [N] |
|
|
15
|
+
| Major behind (2+ versions) | [N] |
|
|
16
|
+
| Minor behind | [N] |
|
|
17
|
+
| Up to date | [N] |
|
|
18
|
+
|
|
19
|
+
## Critical (act now)
|
|
20
|
+
|
|
21
|
+
| Package | Current | Latest | CVE | Severity | Action |
|
|
22
|
+
|---------|---------|--------|-----|----------|--------|
|
|
23
|
+
| [pkg] | [v] | [v] | [CVE-ID] | Critical | Update to [v] |
|
|
24
|
+
|
|
25
|
+
## Stale + Major Behind
|
|
26
|
+
|
|
27
|
+
These are likely abandoned. Plan replacement.
|
|
28
|
+
|
|
29
|
+
| Package | Current | Latest stable | Last release | Replacement candidate |
|
|
30
|
+
|---------|---------|---------------|--------------|----------------------|
|
|
31
|
+
| [pkg] | [v] | [v] | [date] | [pkg] |
|
|
32
|
+
|
|
33
|
+
## Updates Applied This Run
|
|
34
|
+
|
|
35
|
+
### Patch updates (batched)
|
|
36
|
+
|
|
37
|
+
| Package | From | To | Status |
|
|
38
|
+
|---------|------|----|----|
|
|
39
|
+
| [pkg] | [v] | [v] | committed |
|
|
40
|
+
|
|
41
|
+
Commit: [SHA] - `chore(deps): batch patch updates`
|
|
42
|
+
|
|
43
|
+
### Minor updates (per-package)
|
|
44
|
+
|
|
45
|
+
| Package | From | To | Status | Commit |
|
|
46
|
+
|---------|------|----|----|--------|
|
|
47
|
+
| [pkg] | [v] | [v] | committed | [SHA] |
|
|
48
|
+
|
|
49
|
+
## Deferred to /god-upgrade
|
|
50
|
+
|
|
51
|
+
Major version bumps requiring migration plans:
|
|
52
|
+
|
|
53
|
+
| Package | Current | Target | Reason for deferring | Recommended workflow |
|
|
54
|
+
|---------|---------|--------|---------------------|---------------------|
|
|
55
|
+
| [pkg] | [v] | [v] | Breaking changes per changelog | /god-upgrade |
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Have-Nots Checklist
|
|
60
|
+
|
|
61
|
+
- [ ] Critical CVEs addressed (or deferred with rationale)
|
|
62
|
+
- [ ] No bulk commit (each package update is its own commit for bisect)
|
|
63
|
+
- [ ] No major version bumps in this workflow (routed to /god-upgrade)
|
|
64
|
+
- [ ] Tests run between updates
|
|
65
|
+
- [ ] Lockfile committed alongside dep changes
|
|
66
|
+
- [ ] Changelog consulted for breaking changes
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: [Name your design system; one-word codename or product name]
|
|
3
|
+
description: [One line. Visual register and feel. Brand vs product.]
|
|
4
|
+
colors:
|
|
5
|
+
# Use OKLCH for wide-gamut accuracy; fall back to hex sRGB if linter requires.
|
|
6
|
+
ink: "oklch(20% 0.01 250)"
|
|
7
|
+
paper: "oklch(98% 0.005 80)"
|
|
8
|
+
accent: "oklch(60% 0.18 250)"
|
|
9
|
+
rule: "oklch(88% 0.01 250)"
|
|
10
|
+
typography:
|
|
11
|
+
display:
|
|
12
|
+
fontFamily: "[Display family, Georgia, serif]"
|
|
13
|
+
fontSize: "clamp(2rem, 5vw, 3.25rem)"
|
|
14
|
+
fontWeight: 400
|
|
15
|
+
lineHeight: 1.1
|
|
16
|
+
body:
|
|
17
|
+
fontFamily: "[Body family, system-ui, sans-serif]"
|
|
18
|
+
fontSize: "1rem"
|
|
19
|
+
fontWeight: 400
|
|
20
|
+
lineHeight: 1.55
|
|
21
|
+
label:
|
|
22
|
+
fontFamily: "[Body family, system-ui, sans-serif]"
|
|
23
|
+
fontSize: "0.75rem"
|
|
24
|
+
fontWeight: 600
|
|
25
|
+
letterSpacing: "0.08em"
|
|
26
|
+
rounded:
|
|
27
|
+
sm: "4px"
|
|
28
|
+
md: "8px"
|
|
29
|
+
lg: "12px"
|
|
30
|
+
spacing:
|
|
31
|
+
xs: "8px"
|
|
32
|
+
sm: "16px"
|
|
33
|
+
md: "24px"
|
|
34
|
+
lg: "32px"
|
|
35
|
+
xl: "48px"
|
|
36
|
+
components:
|
|
37
|
+
card:
|
|
38
|
+
backgroundColor: "{colors.paper}"
|
|
39
|
+
rounded: "{rounded.md}"
|
|
40
|
+
padding: "24px"
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Overview
|
|
44
|
+
|
|
45
|
+
[DECISION] [One paragraph. What register is this (brand vs product)? What
|
|
46
|
+
does it feel like, grounded in named references? Who is it for?]
|
|
47
|
+
|
|
48
|
+
## Colors
|
|
49
|
+
|
|
50
|
+
[DECISION] [Explain palette choices. Why these colors, what they signal,
|
|
51
|
+
what they avoid. Reference impeccable's anti-patterns: no purple-blue
|
|
52
|
+
gradients, no pure black, no gray text on colored backgrounds.]
|
|
53
|
+
|
|
54
|
+
## Typography
|
|
55
|
+
|
|
56
|
+
[DECISION] [Why this type pairing. What each style is used for. Tabular
|
|
57
|
+
numerals for tables.]
|
|
58
|
+
|
|
59
|
+
## Layout
|
|
60
|
+
|
|
61
|
+
[DECISION] [Grid model, breakpoints, default spacing rhythm.]
|
|
62
|
+
|
|
63
|
+
## Components
|
|
64
|
+
|
|
65
|
+
[DECISION] [Name only the canonical components. Variants (hover, active,
|
|
66
|
+
disabled) are systematic, not bespoke.]
|
|
67
|
+
|
|
68
|
+
## Do's and Don'ts
|
|
69
|
+
|
|
70
|
+
- [DECISION] Do: [specific positive pattern]
|
|
71
|
+
- [DECISION] Don't: [specific anti-pattern to avoid]
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Docs Update Log
|
|
2
|
+
|
|
3
|
+
> Every claim in docs must be verifiable against code. Drift between docs
|
|
4
|
+
> and code is a have-not.
|
|
5
|
+
|
|
6
|
+
Date: [ISO 8601]
|
|
7
|
+
Owner: [user]
|
|
8
|
+
|
|
9
|
+
## Inventory
|
|
10
|
+
|
|
11
|
+
### Docs reviewed
|
|
12
|
+
- [doc path] - [last modified] - [brief description]
|
|
13
|
+
- [...]
|
|
14
|
+
|
|
15
|
+
### Code surface
|
|
16
|
+
- Public APIs: [count]
|
|
17
|
+
- CLI commands: [count]
|
|
18
|
+
- Env vars: [count]
|
|
19
|
+
- Slash commands (if Godpowers project): [count]
|
|
20
|
+
|
|
21
|
+
## Verified Claims
|
|
22
|
+
|
|
23
|
+
For each existing doc, every claim was checked against code.
|
|
24
|
+
|
|
25
|
+
| Doc | Claims checked | Passed | Drift found |
|
|
26
|
+
|-----|---------------|--------|-------------|
|
|
27
|
+
| README.md | [N] | [N] | [N] |
|
|
28
|
+
| CONTRIBUTING.md | [N] | [N] | [N] |
|
|
29
|
+
|
|
30
|
+
## Drift Found
|
|
31
|
+
|
|
32
|
+
| Doc | Claim | Reality | Action |
|
|
33
|
+
|-----|-------|---------|--------|
|
|
34
|
+
| README.md | "npm start" | package.json has "dev" | Updated README |
|
|
35
|
+
| docs/api.md | Returns Promise<User> | Returns Promise<User \| null> | Updated docs |
|
|
36
|
+
|
|
37
|
+
## Updated
|
|
38
|
+
|
|
39
|
+
- [Doc path]: [what changed and why]
|
|
40
|
+
|
|
41
|
+
## Created
|
|
42
|
+
|
|
43
|
+
- [New doc path]: [why it was needed]
|
|
44
|
+
|
|
45
|
+
## Verified Examples
|
|
46
|
+
|
|
47
|
+
Every code example in docs was actually run.
|
|
48
|
+
|
|
49
|
+
| Doc | Example | Result |
|
|
50
|
+
|-----|---------|--------|
|
|
51
|
+
| README.md | Quick start command | Ran successfully |
|
|
52
|
+
| docs/api.md | curl example | Returned expected response |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Have-Nots Checklist
|
|
57
|
+
|
|
58
|
+
- [ ] Every claim verified against code
|
|
59
|
+
- [ ] Drift documented and corrected
|
|
60
|
+
- [ ] Examples actually run
|
|
61
|
+
- [ ] Substitution test passed (no generic prose)
|
|
62
|
+
- [ ] Three-label test passed
|
|
63
|
+
- [ ] Diagrams reflect current state (not past or future)
|
|
64
|
+
- [ ] Runbooks executed before commit
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Security Findings
|
|
2
|
+
|
|
3
|
+
Date: [ISO 8601 timestamp]
|
|
4
|
+
Reviewer: god-harden-auditor
|
|
5
|
+
Scope: [What was reviewed: code, config, dependencies, deploy pipeline]
|
|
6
|
+
|
|
7
|
+
## Summary
|
|
8
|
+
|
|
9
|
+
| Severity | Count |
|
|
10
|
+
|----------|-------|
|
|
11
|
+
| Critical | 0 |
|
|
12
|
+
| High | 0 |
|
|
13
|
+
| Medium | 0 |
|
|
14
|
+
| Low | 0 |
|
|
15
|
+
|
|
16
|
+
**Launch gate**: PASSED / BLOCKED
|
|
17
|
+
|
|
18
|
+
If any Critical: BLOCKED. Launch cannot proceed until resolved or risk explicitly accepted.
|
|
19
|
+
|
|
20
|
+
## OWASP Top 10 Coverage
|
|
21
|
+
|
|
22
|
+
| Category | Status | Notes |
|
|
23
|
+
|----------|--------|-------|
|
|
24
|
+
| A01 Broken Access Control | Reviewed | [findings ref] |
|
|
25
|
+
| A02 Cryptographic Failures | Reviewed | [findings ref] |
|
|
26
|
+
| A03 Injection | Reviewed | [findings ref] |
|
|
27
|
+
| A04 Insecure Design | Reviewed | [findings ref] |
|
|
28
|
+
| A05 Security Misconfiguration | Reviewed | [findings ref] |
|
|
29
|
+
| A06 Vulnerable Components | Reviewed | [findings ref] |
|
|
30
|
+
| A07 Authentication Failures | Reviewed | [findings ref] |
|
|
31
|
+
| A08 Data Integrity Failures | Reviewed | [findings ref] |
|
|
32
|
+
| A09 Logging Failures | Reviewed | [findings ref] |
|
|
33
|
+
| A10 SSRF | Reviewed | [findings ref] |
|
|
34
|
+
|
|
35
|
+
No category may be marked "N/A" without explicit justification.
|
|
36
|
+
|
|
37
|
+
## Findings
|
|
38
|
+
|
|
39
|
+
### [CRITICAL-001] [Short title]
|
|
40
|
+
- **Category**: OWASP A01 Broken Access Control
|
|
41
|
+
- **Location**: [file:line]
|
|
42
|
+
- **Description**: [What the vulnerability is]
|
|
43
|
+
- **Impact**: [What happens if exploited]
|
|
44
|
+
- **Reproduction**: [Step-by-step]
|
|
45
|
+
- **Remediation Options**:
|
|
46
|
+
- **Option A**: [Approach] -- Estimated: [time]
|
|
47
|
+
- **Option B**: [Approach] -- Estimated: [time]
|
|
48
|
+
- **Status**: Open / Fixed / Accepted-Risk
|
|
49
|
+
|
|
50
|
+
### [HIGH-001] [Short title]
|
|
51
|
+
[Same structure]
|
|
52
|
+
|
|
53
|
+
### [MEDIUM-001] [Short title]
|
|
54
|
+
[Same structure]
|
|
55
|
+
|
|
56
|
+
### [LOW-001] [Short title]
|
|
57
|
+
[Same structure]
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Have-Nots Checklist
|
|
62
|
+
|
|
63
|
+
- [ ] Manual review performed (not just scanner output)
|
|
64
|
+
- [ ] Auth boundaries actively tested (not just code-read)
|
|
65
|
+
- [ ] Input validation audited
|
|
66
|
+
- [ ] Rate limiting verified on auth endpoints
|
|
67
|
+
- [ ] All OWASP categories reviewed (no skips without justification)
|
|
68
|
+
- [ ] Every finding has a severity classification
|
|
69
|
+
- [ ] Every Critical finding has remediation options
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Migration: [From X to Y]
|
|
2
|
+
|
|
3
|
+
> Expand-contract pattern. Incremental slices. Metric-gated progression.
|
|
4
|
+
> No big-bang.
|
|
5
|
+
|
|
6
|
+
Date started: [ISO 8601]
|
|
7
|
+
Owner: [user]
|
|
8
|
+
Status: planning | expanding | migrating | contracting | complete
|
|
9
|
+
|
|
10
|
+
## Motivation
|
|
11
|
+
|
|
12
|
+
[Why this migration. Specific business reason, not "newer is better".]
|
|
13
|
+
|
|
14
|
+
## Surface
|
|
15
|
+
|
|
16
|
+
- Files affected: [count, with link to list]
|
|
17
|
+
- Modules: [list]
|
|
18
|
+
- Services: [list]
|
|
19
|
+
- External APIs touched: [list]
|
|
20
|
+
|
|
21
|
+
## Test Coverage Today
|
|
22
|
+
|
|
23
|
+
- Affected surface coverage: [%]
|
|
24
|
+
- Coverage gaps: [list]
|
|
25
|
+
- Plan to fill gaps before migration: [yes/no, by when]
|
|
26
|
+
|
|
27
|
+
## Breaking Changes (from upstream changelog)
|
|
28
|
+
|
|
29
|
+
| Change | Risk | Likelihood | Mitigation |
|
|
30
|
+
|--------|------|-----------|------------|
|
|
31
|
+
| [breaking change] | High/Med/Low | High/Med/Low | [specific plan] |
|
|
32
|
+
|
|
33
|
+
## Plan
|
|
34
|
+
|
|
35
|
+
### Phase 1: Expand
|
|
36
|
+
- [ ] Introduce new version alongside old
|
|
37
|
+
- [ ] Add abstraction layer (branch-by-abstraction or feature flag)
|
|
38
|
+
- [ ] Verify both code paths work
|
|
39
|
+
- [ ] Tests cover both paths
|
|
40
|
+
|
|
41
|
+
### Phase 2: Migrate (slices)
|
|
42
|
+
|
|
43
|
+
| Slice | Scope | Status | Deployed | Metrics window | Result |
|
|
44
|
+
|-------|-------|--------|----------|----------------|--------|
|
|
45
|
+
| 1 | [scope] | pending | -- | -- | -- |
|
|
46
|
+
| 2 | [scope] | pending | -- | -- | -- |
|
|
47
|
+
|
|
48
|
+
Each slice:
|
|
49
|
+
- Atomic commit
|
|
50
|
+
- Feature-flagged rollout: 1% -> 10% -> 50% -> 100%
|
|
51
|
+
- Metric monitoring window (default 24h) before next slice
|
|
52
|
+
- Rollback per slice if regression
|
|
53
|
+
|
|
54
|
+
### Phase 3: Contract
|
|
55
|
+
- [ ] Verify 100% of usage on new path
|
|
56
|
+
- [ ] Monitoring window passed (N days, default 7)
|
|
57
|
+
- [ ] Remove old code path
|
|
58
|
+
- [ ] Final commit: `chore(migration): remove old <thing>`
|
|
59
|
+
|
|
60
|
+
## Rollback Strategy
|
|
61
|
+
|
|
62
|
+
| Scenario | Action |
|
|
63
|
+
|----------|--------|
|
|
64
|
+
| Slice N regresses | Revert that slice's deploy, investigate |
|
|
65
|
+
| Multiple slices regress | Pause migration, full audit |
|
|
66
|
+
| Critical regression | Roll back all slices, restart with revised plan |
|
|
67
|
+
|
|
68
|
+
## Metrics to Watch
|
|
69
|
+
|
|
70
|
+
| Metric | Baseline | Threshold for rollback |
|
|
71
|
+
|--------|----------|----------------------|
|
|
72
|
+
| Error rate | [%] | [+0.5%] |
|
|
73
|
+
| p99 latency | [ms] | [+10%] |
|
|
74
|
+
| [Other] | | |
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Have-Nots Checklist
|
|
79
|
+
|
|
80
|
+
- [ ] Plan is incremental (no big-bang)
|
|
81
|
+
- [ ] Expand-contract pattern in use
|
|
82
|
+
- [ ] Tests added before migration started
|
|
83
|
+
- [ ] Each slice has independent rollback
|
|
84
|
+
- [ ] Metrics gate slice progression
|
|
85
|
+
- [ ] Old code removed only after 100% migrated
|
|
86
|
+
- [ ] Risk assessment complete
|