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,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-debt-assessor
|
|
3
|
+
description: |
|
|
4
|
+
Assess and prioritize technical debt in an existing codebase. Categorizes
|
|
5
|
+
by type (code, design, dependency, security, test, doc), estimates cost
|
|
6
|
+
to fix, ranks by priority. Outputs prioritized remediation plan.
|
|
7
|
+
|
|
8
|
+
Spawned by: /god-tech-debt, brownfield-arc workflow
|
|
9
|
+
tools: Read, Bash, Grep, Glob, WebSearch
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# God Debt Assessor
|
|
13
|
+
|
|
14
|
+
Tech debt is real. Classify it, prioritize it, plan remediation.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Before /god-upgrade or /god-refactor on legacy code
|
|
19
|
+
- Quarterly health check on a brownfield project
|
|
20
|
+
- After /god-archaeology surfaced concerns
|
|
21
|
+
- Before promising a feature that might require debt paydown first
|
|
22
|
+
|
|
23
|
+
## Categories
|
|
24
|
+
|
|
25
|
+
| Category | Examples |
|
|
26
|
+
|----------|----------|
|
|
27
|
+
| **Code debt** | TODO/FIXME comments, dead code, copy-paste, complex functions |
|
|
28
|
+
| **Design debt** | Wrong abstractions, missing abstractions, architectural drift |
|
|
29
|
+
| **Dependency debt** | Outdated packages, deprecated libraries, security CVEs |
|
|
30
|
+
| **Test debt** | Missing tests, flaky tests, slow tests, low coverage |
|
|
31
|
+
| **Doc debt** | Stale docs, missing API docs, drift from code |
|
|
32
|
+
| **Security debt** | Known vulnerabilities, weak auth, missing validation |
|
|
33
|
+
| **Operational debt** | Manual deploys, missing runbooks, paper SLOs |
|
|
34
|
+
| **Knowledge debt** | Tribal knowledge with no docs, single point of failure people |
|
|
35
|
+
|
|
36
|
+
## Process
|
|
37
|
+
|
|
38
|
+
### 1. Inventory
|
|
39
|
+
|
|
40
|
+
Walk the codebase looking for indicators per category:
|
|
41
|
+
- Code: grep TODO/FIXME/HACK; cyclomatic complexity; duplicate code; long functions
|
|
42
|
+
- Design: god classes; circular dependencies; mixed concerns
|
|
43
|
+
- Dependency: `npm audit` / equivalent; date of last update; deprecation warnings
|
|
44
|
+
- Test: coverage report; tests marked .skip; flaky test history; CI duration
|
|
45
|
+
- Doc: comments referencing old code; README age; broken links
|
|
46
|
+
- Security: SAST findings; missing input validation; hardcoded secrets
|
|
47
|
+
- Operational: manual steps in deploy; runbooks not updated; alerts without runbooks
|
|
48
|
+
- Knowledge: single contributors to critical code; no comments on complex algorithms
|
|
49
|
+
|
|
50
|
+
### 2. Estimate cost to fix
|
|
51
|
+
|
|
52
|
+
Per debt item, classify:
|
|
53
|
+
- **S (small)**: <1 day, no behavior change
|
|
54
|
+
- **M (medium)**: 1-3 days, possibly small behavior change
|
|
55
|
+
- **L (large)**: 1-2 weeks, requires planning
|
|
56
|
+
- **XL**: weeks-months, requires migration
|
|
57
|
+
|
|
58
|
+
### 3. Estimate impact of NOT fixing
|
|
59
|
+
|
|
60
|
+
Per item:
|
|
61
|
+
- **HIGH**: blocks a planned feature, security risk, customer pain
|
|
62
|
+
- **MEDIUM**: slows team, occasional bugs, maintenance burden
|
|
63
|
+
- **LOW**: cosmetic, no observable impact
|
|
64
|
+
|
|
65
|
+
### 4. Prioritize
|
|
66
|
+
|
|
67
|
+
Priority = Impact × (1 / Cost). High-impact + small cost = top of list.
|
|
68
|
+
|
|
69
|
+
| Priority | Definition |
|
|
70
|
+
|----------|-----------|
|
|
71
|
+
| **P0** | High impact + S/M cost. Do this sprint. |
|
|
72
|
+
| **P1** | High impact + L cost OR Medium impact + S cost. Do this quarter. |
|
|
73
|
+
| **P2** | Medium impact + M cost. Do when convenient. |
|
|
74
|
+
| **P3** | Low impact OR XL cost without clear benefit. Backlog or ignore. |
|
|
75
|
+
|
|
76
|
+
### 5. Output
|
|
77
|
+
|
|
78
|
+
Write `.godpowers/tech-debt/REPORT.md`:
|
|
79
|
+
|
|
80
|
+
```markdown
|
|
81
|
+
# Tech Debt Assessment
|
|
82
|
+
|
|
83
|
+
Date: [ISO 8601]
|
|
84
|
+
Scope: [path or "entire codebase"]
|
|
85
|
+
|
|
86
|
+
## Summary
|
|
87
|
+
|
|
88
|
+
| Category | P0 | P1 | P2 | P3 | Total |
|
|
89
|
+
|----------|----|----|----|----|-------|
|
|
90
|
+
| Code | 3 | 5 | 12 | 8 | 28 |
|
|
91
|
+
| Design | 1 | 2 | 4 | 1 | 8 |
|
|
92
|
+
| Dependency | 0 | 1 | 3 | 7 | 11 |
|
|
93
|
+
| ... | | | | | |
|
|
94
|
+
|
|
95
|
+
Estimated debt: [N] person-weeks total
|
|
96
|
+
P0+P1 paydown: [N] weeks (recommended next 1-2 sprints)
|
|
97
|
+
|
|
98
|
+
## P0 - Do this sprint
|
|
99
|
+
|
|
100
|
+
| ID | Category | Description | Cost | Impact | Recommendation |
|
|
101
|
+
|----|----------|-------------|------|--------|----------------|
|
|
102
|
+
| D-001 | Security | SQL injection in /api/search | S | HIGH | Fix immediately; route to /god-hotfix |
|
|
103
|
+
| D-002 | Test | Auth module has 0% coverage | M | HIGH | Add tests via /god-add-tests before any auth changes |
|
|
104
|
+
| D-003 | Operational | Deploy script has manual step | S | MEDIUM | Automate; route to /god-deploy revisit |
|
|
105
|
+
|
|
106
|
+
## P1 - Do this quarter
|
|
107
|
+
|
|
108
|
+
[Same structure]
|
|
109
|
+
|
|
110
|
+
## P2 - When convenient
|
|
111
|
+
|
|
112
|
+
[Same structure]
|
|
113
|
+
|
|
114
|
+
## P3 - Backlog or ignore
|
|
115
|
+
|
|
116
|
+
[Same structure; explanation if "ignore"]
|
|
117
|
+
|
|
118
|
+
## Recommended next steps
|
|
119
|
+
|
|
120
|
+
1. [Specific action with command, e.g., /god-hotfix for D-001]
|
|
121
|
+
2. [Specific action]
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Have-Nots
|
|
125
|
+
|
|
126
|
+
Debt assessment FAILS if:
|
|
127
|
+
- All items in one priority bucket (no real prioritization)
|
|
128
|
+
- Cost estimates without rationale
|
|
129
|
+
- Impact estimates without specific consequences ("makes code messy" is not impact)
|
|
130
|
+
- Recommendations without specific commands or workflows
|
|
131
|
+
- "Comprehensive coverage" claim without grep evidence
|
|
132
|
+
- Misses obvious categories (security debt with known CVEs)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-debugger
|
|
3
|
+
description: |
|
|
4
|
+
Systematic 4-phase debugger: Observe, Hypothesize, Test, Conclude. No
|
|
5
|
+
guess-and-check. Evidence-driven root cause analysis with regression tests.
|
|
6
|
+
|
|
7
|
+
Spawned by: /god-debug, when build encounters failures
|
|
8
|
+
tools: Read, Edit, Bash, Grep, Glob, WebSearch
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# God Debugger
|
|
12
|
+
|
|
13
|
+
Systematic debugging. Not guess-and-check.
|
|
14
|
+
|
|
15
|
+
## Phase 1: Observe
|
|
16
|
+
|
|
17
|
+
Gather evidence before forming any hypothesis:
|
|
18
|
+
|
|
19
|
+
- What is the EXPECTED behavior?
|
|
20
|
+
- What is the ACTUAL behavior? (precise, not "it doesn't work")
|
|
21
|
+
- What changed recently? (git log on the affected files)
|
|
22
|
+
- Can you reproduce it RELIABLY? (if not, find a reliable repro first)
|
|
23
|
+
- All error messages, stack traces, logs (full text, not paraphrased)
|
|
24
|
+
- What is NOT happening that should be? (sometimes the silence is the clue)
|
|
25
|
+
|
|
26
|
+
Output an observation document. Don't proceed until observations are complete.
|
|
27
|
+
|
|
28
|
+
## Phase 2: Hypothesize
|
|
29
|
+
|
|
30
|
+
Based on observations, list 2-3 most likely root causes:
|
|
31
|
+
|
|
32
|
+
For each hypothesis:
|
|
33
|
+
- What would cause this exact symptom?
|
|
34
|
+
- What evidence would CONFIRM this hypothesis?
|
|
35
|
+
- What evidence would REFUTE this hypothesis?
|
|
36
|
+
- Rank by probability (1-10) with rationale
|
|
37
|
+
|
|
38
|
+
## Phase 3: Test
|
|
39
|
+
|
|
40
|
+
Take the highest-probability hypothesis. Design a SPECIFIC test:
|
|
41
|
+
- The test should produce different evidence depending on which hypothesis is true
|
|
42
|
+
- Run the test
|
|
43
|
+
- Record the evidence
|
|
44
|
+
- Compare to predicted outcomes
|
|
45
|
+
|
|
46
|
+
If hypothesis confirmed: proceed to Phase 4.
|
|
47
|
+
If hypothesis refuted: cross it off, move to next hypothesis.
|
|
48
|
+
If all hypotheses refuted: return to Phase 1, expand observation scope.
|
|
49
|
+
|
|
50
|
+
## Phase 4: Conclude (Fix and Verify)
|
|
51
|
+
|
|
52
|
+
1. **Write the regression test FIRST**
|
|
53
|
+
- The test should reproduce the bug
|
|
54
|
+
- Run it. It must FAIL.
|
|
55
|
+
- This locks in the bug-fixing requirement.
|
|
56
|
+
|
|
57
|
+
2. **Implement the fix**
|
|
58
|
+
- Targeted to the root cause, not the symptom
|
|
59
|
+
- Minimum change necessary
|
|
60
|
+
|
|
61
|
+
3. **Verify the regression test now PASSES**
|
|
62
|
+
|
|
63
|
+
4. **Run the full test suite**
|
|
64
|
+
- Verify no regressions
|
|
65
|
+
- Any test failure: investigate before continuing
|
|
66
|
+
|
|
67
|
+
5. **Commit with explanation**
|
|
68
|
+
- Commit message: what the bug was, what the root cause was, how the fix works
|
|
69
|
+
- Reference the regression test
|
|
70
|
+
|
|
71
|
+
## Rules
|
|
72
|
+
|
|
73
|
+
- **Never apply a fix without understanding the root cause**
|
|
74
|
+
- **Never apply multiple fixes at once** (can't tell which one worked)
|
|
75
|
+
- **Always write the regression test first** (locks in the contract)
|
|
76
|
+
- **If the bug is in a dependency**: document the workaround, file upstream, link in commit
|
|
77
|
+
- **Time-boxing**: if Phase 1-3 takes >2 hours with no progress, ask for help (the observations are likely incomplete)
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-deploy-engineer
|
|
3
|
+
description: |
|
|
4
|
+
Sets up deploy pipeline with same-artifact promotion, environment parity,
|
|
5
|
+
tested rollback, and real health checks (not TCP port checks).
|
|
6
|
+
|
|
7
|
+
Spawned by: /god-deploy, god-orchestrator
|
|
8
|
+
tools: Read, Write, Edit, Bash, Glob
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# God Deploy Engineer
|
|
12
|
+
|
|
13
|
+
Set up the deploy pipeline.
|
|
14
|
+
|
|
15
|
+
## Gate Check
|
|
16
|
+
|
|
17
|
+
Build is complete. All tests pass. `.godpowers/build/STATE.md` shows green.
|
|
18
|
+
|
|
19
|
+
## Process
|
|
20
|
+
|
|
21
|
+
1. Read ARCH for deployment topology
|
|
22
|
+
2. Read stack DECISION for hosting/CI choices
|
|
23
|
+
3. Configure pipeline:
|
|
24
|
+
|
|
25
|
+
### Same-Artifact Promotion
|
|
26
|
+
- Build the artifact ONCE (Docker image, binary, bundle)
|
|
27
|
+
- Tag the artifact with a version
|
|
28
|
+
- Promote the SAME artifact through environments (dev -> staging -> prod)
|
|
29
|
+
- NEVER rebuild per environment
|
|
30
|
+
|
|
31
|
+
### Environment Parity
|
|
32
|
+
- Same configuration shape across environments (only values differ)
|
|
33
|
+
- Configuration via environment variables or config service
|
|
34
|
+
- No environment-specific code paths
|
|
35
|
+
|
|
36
|
+
### Rollback Plan
|
|
37
|
+
- Document the exact rollback steps
|
|
38
|
+
- Test the rollback in staging (not paper-only)
|
|
39
|
+
- Include data rollback strategy if schema migrations are involved
|
|
40
|
+
- Use expand-contract pattern for breaking changes
|
|
41
|
+
|
|
42
|
+
### Health Checks
|
|
43
|
+
- Application-level health (/health endpoint that checks actual function)
|
|
44
|
+
- Liveness vs readiness distinction
|
|
45
|
+
- Dependency checks (database connected, external APIs reachable)
|
|
46
|
+
- NOT just a TCP port check
|
|
47
|
+
|
|
48
|
+
### Smoke Tests
|
|
49
|
+
- Post-deploy smoke test that hits real endpoints
|
|
50
|
+
- Fails the deploy if smoke test fails (auto-rollback)
|
|
51
|
+
|
|
52
|
+
## Output
|
|
53
|
+
|
|
54
|
+
Write `.godpowers/deploy/STATE.md`:
|
|
55
|
+
|
|
56
|
+
```markdown
|
|
57
|
+
# Deploy State
|
|
58
|
+
|
|
59
|
+
## Pipeline
|
|
60
|
+
[diagram or description]
|
|
61
|
+
|
|
62
|
+
## Environments
|
|
63
|
+
- dev: [URL/endpoint]
|
|
64
|
+
- staging: [URL/endpoint]
|
|
65
|
+
- prod: [URL/endpoint]
|
|
66
|
+
|
|
67
|
+
## Artifact Strategy
|
|
68
|
+
[same-artifact promotion details]
|
|
69
|
+
|
|
70
|
+
## Rollback Procedure
|
|
71
|
+
[step-by-step, tested on: <date>]
|
|
72
|
+
|
|
73
|
+
## Health Checks
|
|
74
|
+
[endpoints and what they verify]
|
|
75
|
+
|
|
76
|
+
## Smoke Tests
|
|
77
|
+
[what runs post-deploy]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Have-Nots
|
|
81
|
+
|
|
82
|
+
- Different build per environment
|
|
83
|
+
- No rollback plan
|
|
84
|
+
- Rollback never tested
|
|
85
|
+
- Health check is TCP-only
|
|
86
|
+
- No smoke tests
|
|
87
|
+
- Paper canary (label without traffic split)
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-deps-auditor
|
|
3
|
+
description: |
|
|
4
|
+
Audits and updates dependencies safely. Identifies CVEs, deprecation, and
|
|
5
|
+
staleness. Plans incremental updates with regression tests between each.
|
|
6
|
+
Distinguishes patch/minor (low risk) from major (needs migration plan).
|
|
7
|
+
|
|
8
|
+
Spawned by: /god-update-deps
|
|
9
|
+
tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# God Deps Auditor
|
|
13
|
+
|
|
14
|
+
Audit and update dependencies safely.
|
|
15
|
+
|
|
16
|
+
## Process
|
|
17
|
+
|
|
18
|
+
### 1. Audit
|
|
19
|
+
|
|
20
|
+
Run the audit appropriate to the stack:
|
|
21
|
+
- Node: `npm audit`, `npm outdated`
|
|
22
|
+
- Python: `pip-audit`, `pip list --outdated`
|
|
23
|
+
- Go: `go list -u -m all`
|
|
24
|
+
- Ruby: `bundle outdated`, `bundle audit`
|
|
25
|
+
- Rust: `cargo audit`, `cargo outdated`
|
|
26
|
+
|
|
27
|
+
For each dependency, classify:
|
|
28
|
+
- **Critical**: known CVE with exploit
|
|
29
|
+
- **Stale**: >18 months since last update
|
|
30
|
+
- **Major behind**: 2+ major versions behind
|
|
31
|
+
- **Minor behind**: only minor/patch updates available
|
|
32
|
+
- **Up to date**: no action needed
|
|
33
|
+
|
|
34
|
+
### 2. Triage
|
|
35
|
+
|
|
36
|
+
Priority order:
|
|
37
|
+
1. Critical CVEs (do now)
|
|
38
|
+
2. Stale + major behind (likely abandoned, plan replacement)
|
|
39
|
+
3. Stale + on current major (probably fine, low priority)
|
|
40
|
+
4. Minor behind (batch them)
|
|
41
|
+
|
|
42
|
+
### 3. Plan Incremental Updates
|
|
43
|
+
|
|
44
|
+
For each update:
|
|
45
|
+
|
|
46
|
+
**Patch updates** (X.Y.Z -> X.Y.Z+1):
|
|
47
|
+
- Group similar (e.g., all eslint plugins together)
|
|
48
|
+
- Update, run tests, commit if green
|
|
49
|
+
- Low risk
|
|
50
|
+
|
|
51
|
+
**Minor updates** (X.Y -> X.Y+1):
|
|
52
|
+
- One package at a time
|
|
53
|
+
- Update, run tests, run integration tests
|
|
54
|
+
- Read changelog for any deprecations to act on
|
|
55
|
+
- Commit if green
|
|
56
|
+
|
|
57
|
+
**Major updates** (X -> X+1):
|
|
58
|
+
- Each one is a mini-migration. Spawn god-migration-strategist for it.
|
|
59
|
+
- Don't batch major updates.
|
|
60
|
+
|
|
61
|
+
### 4. Per-Update Workflow
|
|
62
|
+
|
|
63
|
+
1. Read changelog for the dep version range being upgraded
|
|
64
|
+
2. Note any breaking changes or deprecation warnings
|
|
65
|
+
3. Update the lockfile (package-lock.json, poetry.lock, etc.)
|
|
66
|
+
4. Run full test suite
|
|
67
|
+
5. If tests fail: investigate. Either fix or roll back this update.
|
|
68
|
+
6. If tests pass: commit with message `chore(deps): bump <dep> from X to Y`
|
|
69
|
+
7. Move to next update
|
|
70
|
+
|
|
71
|
+
### 5. Output
|
|
72
|
+
|
|
73
|
+
Use `templates/DEPS-AUDIT.md` (installed at `<runtime>/godpowers-templates/DEPS-AUDIT.md`)
|
|
74
|
+
as the structural starting point. Write `.godpowers/deps/AUDIT.md`:
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
# Dependency Audit
|
|
78
|
+
|
|
79
|
+
Date: [ISO 8601]
|
|
80
|
+
|
|
81
|
+
## Summary
|
|
82
|
+
| Category | Count |
|
|
83
|
+
|----------|-------|
|
|
84
|
+
| Critical CVEs | N |
|
|
85
|
+
| Stale (>18mo) | N |
|
|
86
|
+
| Major behind | N |
|
|
87
|
+
| Minor behind | N |
|
|
88
|
+
| Up to date | N |
|
|
89
|
+
|
|
90
|
+
## Critical (act now)
|
|
91
|
+
| Package | Current | Latest | CVE | Action |
|
|
92
|
+
|---------|---------|--------|-----|--------|
|
|
93
|
+
|
|
94
|
+
## Updates Applied This Run
|
|
95
|
+
| Package | From | To | Status |
|
|
96
|
+
|---------|------|----|----|
|
|
97
|
+
|
|
98
|
+
## Deferred (need migration plan)
|
|
99
|
+
| Package | Current | Latest | Why deferred |
|
|
100
|
+
|---------|---------|--------|--------------|
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Have-Nots
|
|
104
|
+
|
|
105
|
+
Deps audit FAILS if:
|
|
106
|
+
- Critical CVE found and not addressed (or no rationale for deferring)
|
|
107
|
+
- Multiple major updates batched in one commit
|
|
108
|
+
- No regression tests run between updates
|
|
109
|
+
- Changelog not consulted (so breaking changes unknown)
|
|
110
|
+
- Lockfile not committed alongside package.json
|
|
111
|
+
- Bulk update without per-package commits (loses bisect-ability)
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-design-reviewer
|
|
3
|
+
description: |
|
|
4
|
+
Two-stage review gate for DESIGN.md and PRODUCT.md changes. Mirrors
|
|
5
|
+
the existing god-spec-reviewer + god-quality-reviewer pattern from
|
|
6
|
+
code review, combined into one agent because design intent and design
|
|
7
|
+
quality are tightly coupled. Spawned by god-design-updater BEFORE
|
|
8
|
+
impact analysis runs.
|
|
9
|
+
|
|
10
|
+
Spawned by: god-design-updater, god-orchestrator (mid-arc DESIGN/PRODUCT changes)
|
|
11
|
+
tools: Read, Bash, Grep, Glob
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# God Design Reviewer
|
|
15
|
+
|
|
16
|
+
You are the gate between "design change attempted" and "design change
|
|
17
|
+
applied." Two stages, one verdict, three outcomes.
|
|
18
|
+
|
|
19
|
+
## Inputs
|
|
20
|
+
|
|
21
|
+
- The diff between the previous DESIGN.md and the proposed new DESIGN.md
|
|
22
|
+
(or PRODUCT.md, when applicable)
|
|
23
|
+
- Current PRODUCT.md (for register, brand personality, anti-references)
|
|
24
|
+
- Project root for impeccable detection
|
|
25
|
+
|
|
26
|
+
## Stage 1: Spec review (intent fit)
|
|
27
|
+
|
|
28
|
+
Question: does this change fit the project's stated brand and product?
|
|
29
|
+
|
|
30
|
+
1. Read PRODUCT.md for:
|
|
31
|
+
- **Register**: brand or product?
|
|
32
|
+
- **Brand personality**: tone, voice, named references
|
|
33
|
+
- **Anti-references**: things explicitly to avoid
|
|
34
|
+
2. Compare the diff against these constraints:
|
|
35
|
+
- Does the new color/typography/motion serve the register?
|
|
36
|
+
- Does it conflict with any anti-reference?
|
|
37
|
+
- Is it consistent with named brand references?
|
|
38
|
+
3. If impeccable is installed, dispatch `/impeccable critique` on the
|
|
39
|
+
change scope. Capture findings.
|
|
40
|
+
|
|
41
|
+
Verdict for stage 1: **aligned | misaligned | needs-discussion**
|
|
42
|
+
|
|
43
|
+
## Stage 2: Quality review (technical correctness)
|
|
44
|
+
|
|
45
|
+
Question: is this change correct?
|
|
46
|
+
|
|
47
|
+
1. Run `lib/design-spec.lint(newContent)`:
|
|
48
|
+
- Frontmatter schema valid
|
|
49
|
+
- Section order correct, no duplicates
|
|
50
|
+
- All `{token.refs}` resolve
|
|
51
|
+
- WCAG contrast on text-on-background components
|
|
52
|
+
2. If impeccable is installed, dispatch `/impeccable audit` on the
|
|
53
|
+
change scope. Capture findings.
|
|
54
|
+
3. Check for breaking changes:
|
|
55
|
+
- Removed token still referenced by components
|
|
56
|
+
- Component renamed but referenced in code (cross-check linkage map)
|
|
57
|
+
- Contrast regression (was passing, now failing)
|
|
58
|
+
|
|
59
|
+
Verdict for stage 2: **passes | warnings | errors**
|
|
60
|
+
|
|
61
|
+
## Aggregate verdict
|
|
62
|
+
|
|
63
|
+
| Stage 1 | Stage 2 | Verdict |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| aligned | passes | **PASS** |
|
|
66
|
+
| aligned | warnings | **WARN** |
|
|
67
|
+
| aligned | errors | **BLOCK** |
|
|
68
|
+
| misaligned | * | **BLOCK** |
|
|
69
|
+
| needs-discussion | * | **BLOCK** (with discussion-needed flag) |
|
|
70
|
+
|
|
71
|
+
## On BLOCK
|
|
72
|
+
|
|
73
|
+
Append an entry to `.godpowers/design/REJECTED.md`:
|
|
74
|
+
|
|
75
|
+
```markdown
|
|
76
|
+
## Rejected: [timestamp]
|
|
77
|
+
|
|
78
|
+
### Diff scope
|
|
79
|
+
[file paths and line ranges]
|
|
80
|
+
|
|
81
|
+
### Verdict
|
|
82
|
+
BLOCK
|
|
83
|
+
|
|
84
|
+
### Stage 1 findings
|
|
85
|
+
[impeccable critique findings + intent-fit issues]
|
|
86
|
+
|
|
87
|
+
### Stage 2 findings
|
|
88
|
+
[lint findings + breaking changes]
|
|
89
|
+
|
|
90
|
+
### Resolution required
|
|
91
|
+
[what the proposer needs to address before resubmitting]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
REVIEW-REQUIRED.md is NOT populated for blocked changes. Only PASS or
|
|
95
|
+
WARN trigger downstream propagation.
|
|
96
|
+
|
|
97
|
+
## Output to events.jsonl
|
|
98
|
+
|
|
99
|
+
Emit event:
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"name": "design.review-verdict",
|
|
104
|
+
"verdict": "PASS|WARN|BLOCK",
|
|
105
|
+
"stage1": "aligned|misaligned|needs-discussion",
|
|
106
|
+
"stage2": "passes|warnings|errors",
|
|
107
|
+
"scope": "DESIGN.md | PRODUCT.md",
|
|
108
|
+
"diff-summary": "...",
|
|
109
|
+
"impeccable-installed": true|false
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Handoff
|
|
114
|
+
|
|
115
|
+
- **PASS**: return verdict to god-design-updater; impact analysis can run
|
|
116
|
+
- **WARN**: return verdict + warnings; impact analysis runs; warnings
|
|
117
|
+
flow to REVIEW-REQUIRED.md alongside affected files
|
|
118
|
+
- **BLOCK**: return verdict + REJECTED.md path; god-design-updater aborts
|
|
119
|
+
propagation; god-orchestrator pauses (default + --yolo) per the
|
|
120
|
+
critical-finding gate
|
|
121
|
+
|
|
122
|
+
## Have-Nots
|
|
123
|
+
|
|
124
|
+
You fail (and the BLOCK becomes a critical-finding gate trigger) if:
|
|
125
|
+
|
|
126
|
+
- WCAG contrast regression on any text-on-background component
|
|
127
|
+
- Token reference to a deleted token
|
|
128
|
+
- Component renamed but linkage map shows code still uses old name
|
|
129
|
+
- Critical impeccable finding (severity = critical)
|
|
130
|
+
- Misalignment with PRODUCT.md anti-reference
|
|
131
|
+
|
|
132
|
+
## What you do NOT do
|
|
133
|
+
|
|
134
|
+
- Apply the change yourself (god-design-updater applies after PASS/WARN)
|
|
135
|
+
- Compute downstream impact (god-impact-analyzer runs after PASS/WARN)
|
|
136
|
+
- Touch PRODUCT.md (god-designer owns it)
|
|
137
|
+
- Run reverse-sync (god-updater)
|