voidmachine 0.0.0 → 4.0.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/LICENSE +21 -0
- package/README.md +123 -4
- package/bin/void-harness.mjs +12 -0
- package/bin/void-machine.mjs +12 -0
- package/core-assets/.claude-plugin/plugin.json +253 -0
- package/core-assets/.gitkeep +0 -0
- package/core-assets/PHILOSOPHY.md +218 -0
- package/core-assets/PROJECT-DOCTRINE.template.md +14 -0
- package/core-assets/adapters/security/manifest.yaml +96 -0
- package/core-assets/agents/.gitkeep +0 -0
- package/core-assets/agents/accessibility-specialist.md +59 -0
- package/core-assets/agents/api-integration-engineer.md +59 -0
- package/core-assets/agents/code-explorer.md +94 -0
- package/core-assets/agents/code-explorer.source +7 -0
- package/core-assets/agents/data-migration-engineer.md +59 -0
- package/core-assets/agents/devex-docs-engineer.md +57 -0
- package/core-assets/agents/doctrine-critic.md +91 -0
- package/core-assets/agents/doctrine-critic.source +11 -0
- package/core-assets/agents/domain-architect.md +56 -0
- package/core-assets/agents/experience-designer.md +59 -0
- package/core-assets/agents/frontend-engineer.md +60 -0
- package/core-assets/agents/independent-code-reviewer.md +61 -0
- package/core-assets/agents/migration-planner.md +97 -0
- package/core-assets/agents/migration-planner.source +7 -0
- package/core-assets/agents/observability-sre-engineer.md +59 -0
- package/core-assets/agents/pdf-specialist.md +58 -0
- package/core-assets/agents/performance-engineer.md +58 -0
- package/core-assets/agents/product-challenger.md +55 -0
- package/core-assets/agents/security-engineer.md +66 -0
- package/core-assets/agents/silent-failure-hunter.md +94 -0
- package/core-assets/agents/silent-failure-hunter.source +8 -0
- package/core-assets/agents/solution-architect.md +57 -0
- package/core-assets/agents/test-qa-engineer.md +60 -0
- package/core-assets/agents/type-design-analyzer.md +93 -0
- package/core-assets/agents/type-design-analyzer.source +8 -0
- package/core-assets/agents/visual-craft-director.md +62 -0
- package/core-assets/codex/hooks.json +157 -0
- package/core-assets/contract-history/visual-craft-director/v2.yaml +43 -0
- package/core-assets/data/catalog.v3.json +10479 -0
- package/core-assets/data/certification.json +1800 -0
- package/core-assets/data/identity.json +8 -0
- package/core-assets/data/model.json +4226 -0
- package/core-assets/enforce/ci-enforce.sh +183 -0
- package/core-assets/hooks/_checks.sh +145 -0
- package/core-assets/hooks/_hooklib.sh +163 -0
- package/core-assets/hooks/_syntax-worker.cjs +503 -0
- package/core-assets/hooks/_void-hook.mjs +5459 -0
- package/core-assets/hooks/activation-meter.sh +13 -0
- package/core-assets/hooks/anti-ai-slop-grep.sh +38 -0
- package/core-assets/hooks/auto-format.sh +9 -0
- package/core-assets/hooks/axe-precommit.sh +35 -0
- package/core-assets/hooks/block-dangerous-bash.sh +10 -0
- package/core-assets/hooks/block-protected-push.sh +81 -0
- package/core-assets/hooks/boundary-direction-check.sh +10 -0
- package/core-assets/hooks/control-character-grep.sh +10 -0
- package/core-assets/hooks/fowler-refactors.txt +71 -0
- package/core-assets/hooks/large-cl-grep.sh +9 -0
- package/core-assets/hooks/llm-cost-precommit.sh +55 -0
- package/core-assets/hooks/migration-lint.sh +58 -0
- package/core-assets/hooks/migration-pr-template.sh +55 -0
- package/core-assets/hooks/no-ai-design-slop.sh +10 -0
- package/core-assets/hooks/no-any-grep.sh +10 -0
- package/core-assets/hooks/no-as-cast-grep.sh +10 -0
- package/core-assets/hooks/no-console-log-grep.sh +10 -0
- package/core-assets/hooks/no-null-grep.sh +10 -0
- package/core-assets/hooks/no-only-no-skip.sh +10 -0
- package/core-assets/hooks/outcome-meter.sh +13 -0
- package/core-assets/hooks/pre-PR-review-evidence.sh +47 -0
- package/core-assets/hooks/protect-sensitive-files.sh +10 -0
- package/core-assets/hooks/refactor-named-grep.sh +49 -0
- package/core-assets/hooks/secret-in-content.sh +10 -0
- package/core-assets/hooks/sessionstart-context.sh +9 -0
- package/core-assets/hooks/stop-typecheck.sh +9 -0
- package/core-assets/hooks/tdd-guard.md +90 -0
- package/core-assets/hooks/tdd-guard.sh +10 -0
- package/core-assets/hooks/test-name-lint.sh +10 -0
- package/core-assets/hooks/tidying-commit-prefix.sh +37 -0
- package/core-assets/hooks/trim-large-output.sh +9 -0
- package/core-assets/hooks/tsc-noemit-precommit.sh +22 -0
- package/core-assets/hooks/ubiquitous-language-lint.sh +58 -0
- package/core-assets/hooks/viewport-screenshot-gate.sh +48 -0
- package/core-assets/modules/.gitkeep +0 -0
- package/core-assets/packs/pack-mobile/skills/void-eas-build-profile/.source +7 -0
- package/core-assets/packs/pack-mobile/skills/void-eas-build-profile/SKILL.md +164 -0
- package/core-assets/packs/pack-mobile/skills/void-eas-build-profile/harness.yaml +14 -0
- package/core-assets/packs/pack-mobile/skills/void-expo-config-plugins/.source +7 -0
- package/core-assets/packs/pack-mobile/skills/void-expo-config-plugins/SKILL.md +178 -0
- package/core-assets/packs/pack-mobile/skills/void-expo-config-plugins/harness.yaml +14 -0
- package/core-assets/packs/pack-mobile/skills/void-expo-router-pattern/.source +8 -0
- package/core-assets/packs/pack-mobile/skills/void-expo-router-pattern/SKILL.md +209 -0
- package/core-assets/packs/pack-mobile/skills/void-expo-router-pattern/harness.yaml +14 -0
- package/core-assets/packs/pack-mobile/skills/void-ota-update-strategy/.source +7 -0
- package/core-assets/packs/pack-mobile/skills/void-ota-update-strategy/SKILL.md +194 -0
- package/core-assets/packs/pack-mobile/skills/void-ota-update-strategy/harness.yaml +14 -0
- package/core-assets/packs/pack-monorepo/skills/void-dependency-direction/.source +5 -0
- package/core-assets/packs/pack-monorepo/skills/void-dependency-direction/SKILL.md +160 -0
- package/core-assets/packs/pack-monorepo/skills/void-dependency-direction/harness.yaml +14 -0
- package/core-assets/packs/pack-monorepo/skills/void-package-extraction/.source +5 -0
- package/core-assets/packs/pack-monorepo/skills/void-package-extraction/SKILL.md +70 -0
- package/core-assets/packs/pack-monorepo/skills/void-package-extraction/harness.yaml +14 -0
- package/core-assets/packs/pack-monorepo/skills/void-service-package/.source +5 -0
- package/core-assets/packs/pack-monorepo/skills/void-service-package/SKILL.md +122 -0
- package/core-assets/packs/pack-monorepo/skills/void-service-package/harness.yaml +14 -0
- package/core-assets/packs/pack-monorepo/skills/void-turbo-pipeline-tuning/.source +7 -0
- package/core-assets/packs/pack-monorepo/skills/void-turbo-pipeline-tuning/SKILL.md +116 -0
- package/core-assets/packs/pack-monorepo/skills/void-turbo-pipeline-tuning/harness.yaml +14 -0
- package/core-assets/packs/pack-nextjs/skills/void-cache-component-pattern/.source +5 -0
- package/core-assets/packs/pack-nextjs/skills/void-cache-component-pattern/SKILL.md +162 -0
- package/core-assets/packs/pack-nextjs/skills/void-cache-component-pattern/harness.yaml +14 -0
- package/core-assets/packs/pack-nextjs/skills/void-instrumentation-setup/.source +5 -0
- package/core-assets/packs/pack-nextjs/skills/void-instrumentation-setup/SKILL.md +161 -0
- package/core-assets/packs/pack-nextjs/skills/void-instrumentation-setup/harness.yaml +14 -0
- package/core-assets/packs/pack-nextjs/skills/void-loading-error-boundaries/.source +5 -0
- package/core-assets/packs/pack-nextjs/skills/void-loading-error-boundaries/SKILL.md +176 -0
- package/core-assets/packs/pack-nextjs/skills/void-loading-error-boundaries/harness.yaml +14 -0
- package/core-assets/packs/pack-nextjs/skills/void-parallel-routes-slots/.source +5 -0
- package/core-assets/packs/pack-nextjs/skills/void-parallel-routes-slots/SKILL.md +129 -0
- package/core-assets/packs/pack-nextjs/skills/void-parallel-routes-slots/harness.yaml +14 -0
- package/core-assets/packs/pack-nextjs/skills/void-route-group-decision/.source +5 -0
- package/core-assets/packs/pack-nextjs/skills/void-route-group-decision/SKILL.md +107 -0
- package/core-assets/packs/pack-nextjs/skills/void-route-group-decision/harness.yaml +14 -0
- package/core-assets/packs/pack-pwa/skills/void-install-prompt-ux/.source +5 -0
- package/core-assets/packs/pack-pwa/skills/void-install-prompt-ux/SKILL.md +153 -0
- package/core-assets/packs/pack-pwa/skills/void-install-prompt-ux/harness.yaml +14 -0
- package/core-assets/packs/pack-pwa/skills/void-manifest-checklist/.source +5 -0
- package/core-assets/packs/pack-pwa/skills/void-manifest-checklist/SKILL.md +204 -0
- package/core-assets/packs/pack-pwa/skills/void-manifest-checklist/harness.yaml +14 -0
- package/core-assets/packs/pack-pwa/skills/void-offline-first-mutation/.source +8 -0
- package/core-assets/packs/pack-pwa/skills/void-offline-first-mutation/SKILL.md +266 -0
- package/core-assets/packs/pack-pwa/skills/void-offline-first-mutation/harness.yaml +14 -0
- package/core-assets/packs/pack-pwa/skills/void-service-worker-strategy/.source +5 -0
- package/core-assets/packs/pack-pwa/skills/void-service-worker-strategy/SKILL.md +178 -0
- package/core-assets/packs/pack-pwa/skills/void-service-worker-strategy/harness.yaml +14 -0
- package/core-assets/packs/pack-react/skills/void-accessibility-check/.source +8 -0
- package/core-assets/packs/pack-react/skills/void-accessibility-check/SKILL.md +136 -0
- package/core-assets/packs/pack-react/skills/void-accessibility-check/harness.yaml +14 -0
- package/core-assets/packs/pack-react/skills/void-client-vs-server-component/.source +5 -0
- package/core-assets/packs/pack-react/skills/void-client-vs-server-component/SKILL.md +116 -0
- package/core-assets/packs/pack-react/skills/void-client-vs-server-component/harness.yaml +14 -0
- package/core-assets/packs/pack-react/skills/void-form-pattern/.source +7 -0
- package/core-assets/packs/pack-react/skills/void-form-pattern/SKILL.md +157 -0
- package/core-assets/packs/pack-react/skills/void-form-pattern/harness.yaml +14 -0
- package/core-assets/packs/pack-react/skills/void-state-architecture/.source +5 -0
- package/core-assets/packs/pack-react/skills/void-state-architecture/SKILL.md +160 -0
- package/core-assets/packs/pack-react/skills/void-state-architecture/harness.yaml +14 -0
- package/core-assets/packs/pack-server/skills/void-background-job-pattern/.source +6 -0
- package/core-assets/packs/pack-server/skills/void-background-job-pattern/SKILL.md +214 -0
- package/core-assets/packs/pack-server/skills/void-background-job-pattern/harness.yaml +14 -0
- package/core-assets/packs/pack-server/skills/void-drizzle-migration-safe/.source +6 -0
- package/core-assets/packs/pack-server/skills/void-drizzle-migration-safe/SKILL.md +168 -0
- package/core-assets/packs/pack-server/skills/void-drizzle-migration-safe/harness.yaml +14 -0
- package/core-assets/packs/pack-server/skills/void-env-validation/.source +6 -0
- package/core-assets/packs/pack-server/skills/void-env-validation/SKILL.md +131 -0
- package/core-assets/packs/pack-server/skills/void-env-validation/harness.yaml +14 -0
- package/core-assets/packs/pack-server/skills/void-rate-limit-strategy/.source +6 -0
- package/core-assets/packs/pack-server/skills/void-rate-limit-strategy/SKILL.md +149 -0
- package/core-assets/packs/pack-server/skills/void-rate-limit-strategy/harness.yaml +14 -0
- package/core-assets/packs/pack-server/skills/void-server-action/.source +7 -0
- package/core-assets/packs/pack-server/skills/void-server-action/SKILL.md +181 -0
- package/core-assets/packs/pack-server/skills/void-server-action/harness.yaml +14 -0
- package/core-assets/packs/pack-server/skills/void-testing-server-modules/.source +7 -0
- package/core-assets/packs/pack-server/skills/void-testing-server-modules/SKILL.md +73 -0
- package/core-assets/packs/pack-server/skills/void-testing-server-modules/harness.yaml +14 -0
- package/core-assets/packs/pack-server/skills/void-webhook-handler-pattern/.source +7 -0
- package/core-assets/packs/pack-server/skills/void-webhook-handler-pattern/SKILL.md +205 -0
- package/core-assets/packs/pack-server/skills/void-webhook-handler-pattern/harness.yaml +14 -0
- package/core-assets/policies/core.yaml +95 -0
- package/core-assets/policies/ui.yaml +23 -0
- package/core-assets/profiles/base.yaml +29 -0
- package/core-assets/profiles/expo-config.yaml +36 -0
- package/core-assets/profiles/expo.yaml +35 -0
- package/core-assets/profiles/monorepo.yaml +33 -0
- package/core-assets/profiles/nextjs-config.yaml +31 -0
- package/core-assets/profiles/nextjs.yaml +31 -0
- package/core-assets/profiles/node-server.yaml +31 -0
- package/core-assets/profiles/pwa.yaml +33 -0
- package/core-assets/profiles/react.yaml +39 -0
- package/core-assets/profiles/sql.yaml +39 -0
- package/core-assets/profiles/typescript.yaml +39 -0
- package/core-assets/skills/.gitkeep +0 -0
- package/core-assets/skills/void-accessibility/.source +15 -0
- package/core-assets/skills/void-accessibility/SKILL.md +275 -0
- package/core-assets/skills/void-accessibility/harness.yaml +17 -0
- package/core-assets/skills/void-api-and-interface-design/.source +13 -0
- package/core-assets/skills/void-api-and-interface-design/SKILL.md +231 -0
- package/core-assets/skills/void-api-and-interface-design/harness.yaml +16 -0
- package/core-assets/skills/void-async-safety/.source +13 -0
- package/core-assets/skills/void-async-safety/SKILL.md +287 -0
- package/core-assets/skills/void-async-safety/harness.yaml +16 -0
- package/core-assets/skills/void-audit/.source +15 -0
- package/core-assets/skills/void-audit/SKILL.md +83 -0
- package/core-assets/skills/void-audit/harness.yaml +14 -0
- package/core-assets/skills/void-autopilot/.source +21 -0
- package/core-assets/skills/void-autopilot/SKILL.md +358 -0
- package/core-assets/skills/void-autopilot/harness.yaml +14 -0
- package/core-assets/skills/void-brainstorm/.source +14 -0
- package/core-assets/skills/void-brainstorm/SKILL.md +271 -0
- package/core-assets/skills/void-brainstorm/harness.yaml +14 -0
- package/core-assets/skills/void-checkpoint/.source +39 -0
- package/core-assets/skills/void-checkpoint/SKILL.md +227 -0
- package/core-assets/skills/void-checkpoint/harness.yaml +14 -0
- package/core-assets/skills/void-claude-md/.source +15 -0
- package/core-assets/skills/void-claude-md/SKILL.md +180 -0
- package/core-assets/skills/void-claude-md/harness.yaml +14 -0
- package/core-assets/skills/void-code-review/.source +14 -0
- package/core-assets/skills/void-code-review/SKILL.md +232 -0
- package/core-assets/skills/void-code-review/harness.yaml +15 -0
- package/core-assets/skills/void-commit-discipline/.source +9 -0
- package/core-assets/skills/void-commit-discipline/SKILL.md +211 -0
- package/core-assets/skills/void-commit-discipline/harness.yaml +15 -0
- package/core-assets/skills/void-context/.source +15 -0
- package/core-assets/skills/void-context/SKILL.md +167 -0
- package/core-assets/skills/void-context/harness.yaml +14 -0
- package/core-assets/skills/void-debug/.source +11 -0
- package/core-assets/skills/void-debug/SKILL.md +211 -0
- package/core-assets/skills/void-debug/harness.yaml +14 -0
- package/core-assets/skills/void-decide/.source +9 -0
- package/core-assets/skills/void-decide/SKILL.md +147 -0
- package/core-assets/skills/void-decide/harness.yaml +14 -0
- package/core-assets/skills/void-devex-audit/.source +8 -0
- package/core-assets/skills/void-devex-audit/SKILL.md +113 -0
- package/core-assets/skills/void-devex-audit/harness.yaml +15 -0
- package/core-assets/skills/void-doctor/.source +15 -0
- package/core-assets/skills/void-doctor/SKILL.md +83 -0
- package/core-assets/skills/void-doctor/harness.yaml +14 -0
- package/core-assets/skills/void-domain-driven-design/.source +13 -0
- package/core-assets/skills/void-domain-driven-design/SKILL.md +292 -0
- package/core-assets/skills/void-domain-driven-design/harness.yaml +15 -0
- package/core-assets/skills/void-frontend-design/.source +19 -0
- package/core-assets/skills/void-frontend-design/SKILL.md +274 -0
- package/core-assets/skills/void-frontend-design/harness.yaml +17 -0
- package/core-assets/skills/void-functional/.source +14 -0
- package/core-assets/skills/void-functional/SKILL.md +312 -0
- package/core-assets/skills/void-functional/harness.yaml +15 -0
- package/core-assets/skills/void-graph/.source +15 -0
- package/core-assets/skills/void-graph/SKILL.md +80 -0
- package/core-assets/skills/void-graph/harness.yaml +14 -0
- package/core-assets/skills/void-hexagonal-architecture/.source +12 -0
- package/core-assets/skills/void-hexagonal-architecture/SKILL.md +276 -0
- package/core-assets/skills/void-hexagonal-architecture/harness.yaml +15 -0
- package/core-assets/skills/void-implement/.source +39 -0
- package/core-assets/skills/void-implement/SKILL.md +183 -0
- package/core-assets/skills/void-implement/harness.yaml +14 -0
- package/core-assets/skills/void-learn/.source +13 -0
- package/core-assets/skills/void-learn/SKILL.md +226 -0
- package/core-assets/skills/void-learn/harness.yaml +14 -0
- package/core-assets/skills/void-llm-cost-discipline/.source +13 -0
- package/core-assets/skills/void-llm-cost-discipline/SKILL.md +299 -0
- package/core-assets/skills/void-llm-cost-discipline/harness.yaml +15 -0
- package/core-assets/skills/void-make-pdf/.source +9 -0
- package/core-assets/skills/void-make-pdf/SKILL.md +52 -0
- package/core-assets/skills/void-make-pdf/harness.yaml +15 -0
- package/core-assets/skills/void-merge/.source +8 -0
- package/core-assets/skills/void-merge/SKILL.md +111 -0
- package/core-assets/skills/void-merge/harness.yaml +14 -0
- package/core-assets/skills/void-migrations/.source +13 -0
- package/core-assets/skills/void-migrations/SKILL.md +264 -0
- package/core-assets/skills/void-migrations/harness.yaml +17 -0
- package/core-assets/skills/void-observability/.source +12 -0
- package/core-assets/skills/void-observability/SKILL.md +245 -0
- package/core-assets/skills/void-observability/harness.yaml +15 -0
- package/core-assets/skills/void-plan/.source +15 -0
- package/core-assets/skills/void-plan/SKILL.md +239 -0
- package/core-assets/skills/void-plan/harness.yaml +14 -0
- package/core-assets/skills/void-plan-review/.source +12 -0
- package/core-assets/skills/void-plan-review/SKILL.md +128 -0
- package/core-assets/skills/void-plan-review/harness.yaml +15 -0
- package/core-assets/skills/void-qa/.source +15 -0
- package/core-assets/skills/void-qa/SKILL.md +103 -0
- package/core-assets/skills/void-qa/harness.yaml +15 -0
- package/core-assets/skills/void-refactor/.source +9 -0
- package/core-assets/skills/void-refactor/SKILL.md +220 -0
- package/core-assets/skills/void-refactor/harness.yaml +15 -0
- package/core-assets/skills/void-retrospective/.source +9 -0
- package/core-assets/skills/void-retrospective/SKILL.md +71 -0
- package/core-assets/skills/void-retrospective/harness.yaml +15 -0
- package/core-assets/skills/void-security-audit/.source +12 -0
- package/core-assets/skills/void-security-audit/SKILL.md +138 -0
- package/core-assets/skills/void-security-audit/harness.yaml +15 -0
- package/core-assets/skills/void-security-guidance/.source +12 -0
- package/core-assets/skills/void-security-guidance/SKILL.md +255 -0
- package/core-assets/skills/void-security-guidance/harness.yaml +15 -0
- package/core-assets/skills/void-source-driven-development/.source +12 -0
- package/core-assets/skills/void-source-driven-development/SKILL.md +158 -0
- package/core-assets/skills/void-source-driven-development/harness.yaml +15 -0
- package/core-assets/skills/void-tdd/.source +15 -0
- package/core-assets/skills/void-tdd/SKILL.md +394 -0
- package/core-assets/skills/void-tdd/harness.yaml +15 -0
- package/core-assets/skills/void-testing/.source +19 -0
- package/core-assets/skills/void-testing/SKILL.md +301 -0
- package/core-assets/skills/void-testing/harness.yaml +17 -0
- package/core-assets/skills/void-ticket/.source +18 -0
- package/core-assets/skills/void-ticket/SKILL.md +239 -0
- package/core-assets/skills/void-ticket/harness.yaml +14 -0
- package/core-assets/skills/void-typescript-strict/.source +10 -0
- package/core-assets/skills/void-typescript-strict/SKILL.md +294 -0
- package/core-assets/skills/void-typescript-strict/harness.yaml +17 -0
- package/core-assets/skills/void-ui-review/.source +12 -0
- package/core-assets/skills/void-ui-review/SKILL.md +97 -0
- package/core-assets/skills/void-ui-review/harness.yaml +15 -0
- package/core-assets/skills/void-verify/.source +12 -0
- package/core-assets/skills/void-verify/SKILL.md +184 -0
- package/core-assets/skills/void-verify/harness.yaml +15 -0
- package/core-assets/specialists/accessibility-specialist.source +11 -0
- package/core-assets/specialists/accessibility-specialist.yaml +30 -0
- package/core-assets/specialists/api-integration-engineer.source +11 -0
- package/core-assets/specialists/api-integration-engineer.yaml +30 -0
- package/core-assets/specialists/data-migration-engineer.source +11 -0
- package/core-assets/specialists/data-migration-engineer.yaml +30 -0
- package/core-assets/specialists/devex-docs-engineer.source +11 -0
- package/core-assets/specialists/devex-docs-engineer.yaml +29 -0
- package/core-assets/specialists/domain-architect.source +11 -0
- package/core-assets/specialists/domain-architect.yaml +28 -0
- package/core-assets/specialists/experience-designer.source +15 -0
- package/core-assets/specialists/experience-designer.yaml +38 -0
- package/core-assets/specialists/frontend-engineer.source +11 -0
- package/core-assets/specialists/frontend-engineer.yaml +32 -0
- package/core-assets/specialists/independent-code-reviewer.source +10 -0
- package/core-assets/specialists/independent-code-reviewer.yaml +37 -0
- package/core-assets/specialists/migrations.json +15 -0
- package/core-assets/specialists/observability-sre-engineer.source +11 -0
- package/core-assets/specialists/observability-sre-engineer.yaml +30 -0
- package/core-assets/specialists/pdf-specialist.source +11 -0
- package/core-assets/specialists/pdf-specialist.yaml +29 -0
- package/core-assets/specialists/performance-engineer.source +11 -0
- package/core-assets/specialists/performance-engineer.yaml +29 -0
- package/core-assets/specialists/product-challenger.source +10 -0
- package/core-assets/specialists/product-challenger.yaml +27 -0
- package/core-assets/specialists/security-engineer.source +13 -0
- package/core-assets/specialists/security-engineer.yaml +41 -0
- package/core-assets/specialists/solution-architect.source +13 -0
- package/core-assets/specialists/solution-architect.yaml +32 -0
- package/core-assets/specialists/test-qa-engineer.source +14 -0
- package/core-assets/specialists/test-qa-engineer.yaml +35 -0
- package/core-assets/specialists/visual-craft-director.source +17 -0
- package/core-assets/specialists/visual-craft-director.yaml +60 -0
- package/core-assets/templates/github/dependency-audit.mjs +54 -0
- package/core-assets/templates/github/void-dependency-audit.yml +35 -0
- package/core-assets/templates/github/void-security.yml +85 -0
- package/dist/main.js +57001 -0
- package/package.json +66 -4
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: void-autopilot
|
|
3
|
+
description: Use to run the continuous delivery loop, where a curator ranks the backlog, up to four workers each run void-implement to a PR, and a bounded review gates the GitHub merge queue until drained or stopped.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# autopilot
|
|
7
|
+
|
|
8
|
+
A continuous loop that takes tickets from the tracker to the integration branch without a human
|
|
9
|
+
at each merge. A curator ranks what is worth doing, up to four workers each carry one ticket to
|
|
10
|
+
a pull request, a reviewer reads each one once, and GitHub merges what is green through its merge
|
|
11
|
+
queue. Promotion to the branch that deploys stays human.
|
|
12
|
+
|
|
13
|
+
**Attribution**: see `.source`.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## What this skill does NOT do
|
|
18
|
+
|
|
19
|
+
It owns no ticket cycle. Every worker runs the canonical `void-implement` skill, whole, once per
|
|
20
|
+
ticket, specialist panel included. If you find yourself writing "then the worker runs the tests,
|
|
21
|
+
then reviews..." inside autopilot, stop: that behaviour has one owner, and two copies drift until
|
|
22
|
+
a ticket gets a different standard depending on how it was started.
|
|
23
|
+
|
|
24
|
+
It never merges on a flag. Not on the command line, not because the checks are green, not because
|
|
25
|
+
the diff is small. Consent to a machine merge is a durable declaration in the programme --
|
|
26
|
+
`mergeGate: union-reviewed` together with a `deployBranch` -- and there is no `--auto-merge` on
|
|
27
|
+
any path. Under `mergeGate: human` a ready pull request goes to a person; that wait is by design
|
|
28
|
+
and never counts toward the streak that stops the loop. Promotion from the integration branch to the one that deploys stays human
|
|
29
|
+
under both gates.
|
|
30
|
+
|
|
31
|
+
It never merges a change to the machinery that judges merges. A pull request touching
|
|
32
|
+
`.github/**`, `scripts/independent-review-check.mjs`, `.void/program.md`, `packages/core/hooks/**`,
|
|
33
|
+
what a judging workflow runs from outside `.github`
|
|
34
|
+
(`scripts/promotion-authority.mjs`, `scripts/auto-merge-contract.mjs`, `scripts/verify.mjs`,
|
|
35
|
+
`packages/core/enforce/**`), what judges a publication (`scripts/prepare-release-artifact.mjs`,
|
|
36
|
+
`scripts/verify-release-publication.mjs` and the two release contracts they read), the loop code that believes a verdict and arms a merge (`loop.ts`,
|
|
37
|
+
`loop-observe.ts`, `review-signature.ts`, `commands/autopilot-loop.ts`), or the hooks installed here (`.void/hooks/**`, `.claude/settings.json`,
|
|
38
|
+
`.codex/**`, `.void/config.json`) goes to a person with the file named (`protected-path`). A rename
|
|
39
|
+
counts by its source and its destination. The programme adds paths through
|
|
40
|
+
`autopilot.protectedPaths`; nothing removes from that floor.
|
|
41
|
+
|
|
42
|
+
It never closes, cancels or deletes a ticket, and it never touches `main`, the secrets or the
|
|
43
|
+
repository settings.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Consent and target
|
|
48
|
+
|
|
49
|
+
The run takes no argument. `.void/program.md` names the progress provider, its scope, the base and
|
|
50
|
+
the `autopilot` block, so there is nothing to ask: not which ticket, not which provider.
|
|
51
|
+
|
|
52
|
+
That file is also the consent, and consent is never inferred. An absent `.void/program.md`, a
|
|
53
|
+
`status` other than `executing`, an `autopilot` block that is missing or unreadable, or
|
|
54
|
+
`autopilot.enabled: false` all mean the same thing -- say so and stop. `void-machine autopilot next`
|
|
55
|
+
refuses the same cases; inventing a target claims tickets nobody agreed to hand over.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## The cursor between code and model
|
|
60
|
+
|
|
61
|
+
The model renders narrow, typed judgments; the policy stays in the code. Agents keep their whole
|
|
62
|
+
freedom over the work itself -- ranking, implementing, resolving a conflict, reading a diff. At
|
|
63
|
+
each decision point their answer is closed, and the CLI admits it against a schema before anything
|
|
64
|
+
acts. An answer that does not fit is a refusal naming the field, never an interpretation.
|
|
65
|
+
|
|
66
|
+
| Decision point | Judgment the model renders | Policy the code applies |
|
|
67
|
+
|---|---|---|
|
|
68
|
+
| Is a ticket workable | `readiness`: `ready`, `needs-enrichment` or `ambiguous`, with a reason | only `ready` gets a slot |
|
|
69
|
+
| What comes next | `queue`: ordered entries, each with a justification and a footprint | the head takes a free slot unless it collides |
|
|
70
|
+
| A conflict after ejection | `conflict`: the conflicting `headSha`, `mechanical` or `semantic`, with a reason | `semantic` waits for a human |
|
|
71
|
+
| A review | `review`: the `headSha` read, round 1 or 2, `blocking[]` each with location, scenario and correction, `advisory[]` | a blocking finding without a scenario is invalid; no merge without a clean verdict on the exact head; two rounds at most |
|
|
72
|
+
|
|
73
|
+
Slots, collisions, review rounds, stops, resumption and the merge are the kernel's. No agent may
|
|
74
|
+
skip a step, merge, or decide that a refusal does not apply to it.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Four roles, one subject each
|
|
79
|
+
|
|
80
|
+
**Curator.** Decides what is worth doing next. Touches the tracker, never code.
|
|
81
|
+
|
|
82
|
+
**Orchestrator.** Runs the loop. Evaluates no ticket, edits no code, reads no diff.
|
|
83
|
+
|
|
84
|
+
**Workers**, one per slot. Each carries one ticket from claim to an open pull request, in its own
|
|
85
|
+
worktree, by running `void-implement` whole.
|
|
86
|
+
|
|
87
|
+
**Reviewer.** The independent pass of `void-implement`, run by GitHub itself: the
|
|
88
|
+
`independent-review` job, in a fresh context, on the exact head SHA of every ready pull request.
|
|
89
|
+
There is no second review at merge time: its check is what GitHub requires.
|
|
90
|
+
|
|
91
|
+
A role that starts doing another's job is the failure this split exists to prevent: an orchestrator
|
|
92
|
+
that "just looks at the diff" becomes a reviewer nobody bounded, and a worker that posts its own
|
|
93
|
+
verdict is a self-review GitHub reads as independent.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Curator
|
|
98
|
+
|
|
99
|
+
Read the real state of the project before ranking anything: the programme, the specs and plans in
|
|
100
|
+
flight, the code they touch, open pull requests, recent merges, tickets waiting on a human.
|
|
101
|
+
|
|
102
|
+
Walk the tracker in this order: **Todo, then Backlog, then Triage.** Rank by what the project needs
|
|
103
|
+
-- what unblocks other work, what extends the work in flight, what removes a real risk -- not by
|
|
104
|
+
the priority label. The label is somebody's past guess; the ranking is today's reading of the
|
|
105
|
+
project.
|
|
106
|
+
|
|
107
|
+
- **Realign the tracker with the ranking.** Change priority or status so the tracker says what the
|
|
108
|
+
queue says, and leave on every ticket you move a justification of one or two sentences. A move
|
|
109
|
+
without a reason is indistinguishable from a mistake.
|
|
110
|
+
- **Enrich before ready.** A ticket too vague to implement goes through `void-ticket` before it can
|
|
111
|
+
be declared `ready`. One that stays ambiguous after that is `ambiguous`: it is set aside with its
|
|
112
|
+
reason, not guessed at.
|
|
113
|
+
- **Name the ground.** Every queued entry carries a footprint: the paths it will touch, at least
|
|
114
|
+
one. A ticket without one is not admitted; the kernel routes on footprints and cannot protect
|
|
115
|
+
ground nobody named.
|
|
116
|
+
- **Never close, cancel or delete.** Not a duplicate, not an obsolete ticket, not one you are sure
|
|
117
|
+
about. Say so in a comment and leave the decision to a person.
|
|
118
|
+
- **Re-rank after every merge.** A merge changes what is relevant next, so the queue is only valid
|
|
119
|
+
until the next one lands.
|
|
120
|
+
|
|
121
|
+
Return the queue as the typed `queue` judgment, at most sixteen entries. The curator can run in the
|
|
122
|
+
orchestrator's session or as its own agent; either way its output is data the kernel admits, not an
|
|
123
|
+
instruction the orchestrator follows.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Orchestrator
|
|
128
|
+
|
|
129
|
+
The loop is one question asked again and again: `void-machine autopilot next --json`, with the
|
|
130
|
+
tracker state on stdin. The command reads the programme, GitHub, the shared git state and the stop
|
|
131
|
+
signal itself; GitHub is the authority on a merge, so no agent reports it.
|
|
132
|
+
|
|
133
|
+
What you pipe in is the tracker as you observed it -- `void-machine autopilot --help` gives the
|
|
134
|
+
shape: `schemaVersion: 1`, the curator's `queue`, every ticket in scope with its provider status,
|
|
135
|
+
`humanWait`, pull request, branch, footprint and the raw `readiness` attached to it, the `recent`
|
|
136
|
+
outcomes of this run, the `liveWorkers` you actually have, and `quota` (`low` once the runtime
|
|
137
|
+
reports its limit is near). Pass judgments through raw; the kernel admits each one where it is
|
|
138
|
+
used, so one malformed answer refuses its own decision and nothing else.
|
|
139
|
+
|
|
140
|
+
Act on each returned action, then ask again:
|
|
141
|
+
|
|
142
|
+
| Action | What you do |
|
|
143
|
+
|---|---|
|
|
144
|
+
| `assign` | claim the ticket (In Progress, assigned), run `autopilot fingerprint --before <ticket>`, create or reuse its worktree, spawn its worker |
|
|
145
|
+
| `wait` | nothing; the reason says who is working |
|
|
146
|
+
| `hand-back-to-worker` | give the ticket back to its worker, alive or respawned in the same worktree, with the reason and the pull request; a respawned worker resumes its mission (see Respawning) |
|
|
147
|
+
| `mark-human-wait` | record it in `recent` with its `reason`, which `recent` requires and the recap repeats, put the decision's `humanWaitLabel` on the ticket, comment the reason and detail, free the slot; keep reporting its pull request and footprint, which hold its ground until that pull request merges or closes |
|
|
148
|
+
| `enable-auto-merge` | `void-machine autopilot arm --ticket <id> --pr <n> --head <headSha>`: it records the head, arms on exactly that head and reads GitHub back; never `gh pr merge --auto` by hand, never `--admin` |
|
|
149
|
+
| `disable-auto-merge` | `void-machine autopilot disarm --pr <n>`, before the action that follows it for the same ticket; it turns its auto-merge off, then takes it out of the merge queue, and fails while GitHub still shows either; never `gh pr merge --disable-auto` alone, which leaves a queued pull request in the queue |
|
|
150
|
+
| `rerun-review-check` | `gh run rerun <run> --failed`: the review job failed on this head without posting a verdict, a crash or an output it refused; twice at most per run, then `review-check-reruns-exhausted` |
|
|
151
|
+
| `requeue` | the same command, to put an ejected head back in the queue; the kernel bounds how often |
|
|
152
|
+
| `drain` | take nothing new; keep acting on the tickets in flight |
|
|
153
|
+
| `freeze` | stop acting, once the disarms before it succeeded |
|
|
154
|
+
| `recap` | write the final recap and end the run |
|
|
155
|
+
|
|
156
|
+
A pull request observed merged has no action: move its ticket to Done, clean its worktree, count it
|
|
157
|
+
in `recent`, and ask the curator to re-rank. `refusals` name judgments the kernel would not admit:
|
|
158
|
+
send each back to the agent that produced it.
|
|
159
|
+
|
|
160
|
+
**Spawning.** Every worker gets its worktree before it starts, at the durable location the
|
|
161
|
+
doctrine's worktree rule names, reused when its branch already has one. A worker never chooses its
|
|
162
|
+
own checkout and never works in the main one. When the project uses the cockpit presentation
|
|
163
|
+
described in the harness's native supervision guide, each worker and reviewer is launched once in
|
|
164
|
+
its own surface to the right of the orchestrator; without it, workers are native subagents. The
|
|
165
|
+
presentation shows the loop; it never grants a permission, a proof or a merge.
|
|
166
|
+
|
|
167
|
+
**Respawning.** A respawned worker resumes; it never starts the ticket again. Its code is in its
|
|
168
|
+
worktree and its branch, its progress in its mission journal, `.void/machine/runs/<mission>/events.jsonl`
|
|
169
|
+
under the installation root, which is the main checkout and not the worktree. It finds its mission
|
|
170
|
+
as the open one whose `mission.json` carries the ticket id as its title, runs
|
|
171
|
+
`void-machine mission resume --id <mission> --json` and acts on the recovery decision it prints,
|
|
172
|
+
then goes on with `mission dispatch`. `resume` records itself once per checkpoint; it exits 1 while
|
|
173
|
+
the mission waits and refuses a closed one, and neither is answered by opening a new mission: the
|
|
174
|
+
worker reports it. When the worktree is gone, recreate it from the branch. When the branch the
|
|
175
|
+
tracker names for the ticket is gone too, locally and on the remote, the work is lost: do not
|
|
176
|
+
spawn over it, record `mark-human-wait` yourself with the reason `branch-missing`.
|
|
177
|
+
|
|
178
|
+
**The fingerprint.** A worktree isolates the working tree, the index and `HEAD`, and nothing else:
|
|
179
|
+
the local config and the files it includes, the stash, tags, notes, remotes, the local base and
|
|
180
|
+
deploy branches, replace refs, `hooks/` and `info/` are one set for every worktree. The upstream
|
|
181
|
+
(`remote`, `merge`) of every branch but the bases and the one that deploys is left out, since units
|
|
182
|
+
in flight set it when they create or push their branch and drop it with a merged one; the bases'
|
|
183
|
+
own settings still count. So start each worktree from
|
|
184
|
+
`origin/<base>` and never move a local base branch while units are in flight. The baseline
|
|
185
|
+
recorded at `assign` is written once: a second `--before` for the same ticket is refused, so a unit
|
|
186
|
+
cannot re-record the state it left as the state it found. It is compared by the worker before it
|
|
187
|
+
pushes, with `autopilot fingerprint --after <ticket>`, and again by the kernel before it arms a
|
|
188
|
+
merge. A changed or missing baseline sends the ticket to a human, unpublished; only that person
|
|
189
|
+
deletes the record.
|
|
190
|
+
|
|
191
|
+
**Disarming.** Armed means GitHub merges without anyone acting again: an auto-merge request, or,
|
|
192
|
+
once the checks pass on a base with a merge queue, an entry in that queue and no request at all.
|
|
193
|
+
GitHub keeps an auto-merge armed across a push by anyone with write access, shows
|
|
194
|
+
no armed head, and its required check trusts the status alone. So `arm` records the head it armed,
|
|
195
|
+
and `next` returns `disable-auto-merge` when it can no longer vouch for an armed pull request: its
|
|
196
|
+
head moved since `arm` recorded it (then `hand-back-to-worker`, `head-moved-after-arming`: the new
|
|
197
|
+
head is unreviewed), the seal no longer proves a clean verdict on the armed head (then
|
|
198
|
+
`mark-human-wait`, `armed-verdict-unproven`), or nothing recorded the arming (then
|
|
199
|
+
`mark-human-wait`, `ambiguous-state`). An armed merge survives a tick only while the loop vouches
|
|
200
|
+
for its head and hands it to nobody (`wait merging`, `rerun-review-check`): a worker at work, any
|
|
201
|
+
hand-back, a human wait and an immediate stop all come with the disarm. Disarm first, always.
|
|
202
|
+
|
|
203
|
+
**The review runs in GitHub.** `.github/workflows/independent-review.yml` reviews every ready
|
|
204
|
+
pull request into the base on `pull_request_target`: GitHub runs its workflow, scripts and
|
|
205
|
+
instructions from the default branch, which only a person merges into, so a change to the review
|
|
206
|
+
takes effect once promoted there; the head is read as data and never run, and the verdict becomes the
|
|
207
|
+
`independent-review` check on that head, posted by the review App, a GitHub App holding the Checks
|
|
208
|
+
permission alone. Branch protection requires the check from that App, so the same name from any
|
|
209
|
+
workflow's `GITHUB_TOKEN` does not count. For each merge group, `independent-review-queue.yml`, on
|
|
210
|
+
`workflow_run` of `ci` and also from the default branch, posts the App's check on the group commit
|
|
211
|
+
once every head of the group carries it. No key or secret for it lives on this machine, so neither a
|
|
212
|
+
worker nor a compromised dependency it runs can forge an approval: the App's key and the
|
|
213
|
+
`CLAUDE_CODE_OAUTH_TOKEN` live in the `independent-review` environment, whose deployment branch
|
|
214
|
+
policy admits the default branch alone.
|
|
215
|
+
|
|
216
|
+
**No state lives in the session.** Who holds which ticket comes from the tracker (status, assignee,
|
|
217
|
+
pull request link, the human-wait label); the rest comes from GitHub. The label is the one every
|
|
218
|
+
decision names in `humanWaitLabel`: `autopilot.humanWaitLabel` when the programme declares it,
|
|
219
|
+
`void:human-wait` otherwise; report `humanWait` as that label's presence, nothing else. After a restart -- an OS
|
|
220
|
+
update, a cut, a saturated context -- the first `next` rebuilds the slots from those two sources,
|
|
221
|
+
and a ticket already held is resumed, never seated twice. Report each ticket's branch and pull
|
|
222
|
+
request whenever they exist, whatever its status: a ticket still ready but with a branch or a pull
|
|
223
|
+
request is a unit in flight, and the kernel resumes it instead of seating a second worker. A
|
|
224
|
+
ticket whose state is ambiguous goes to a human rather than being relaunched.
|
|
225
|
+
|
|
226
|
+
**Judgments live on the pull request.** The reviewer's verdict and a worker's conflict class are
|
|
227
|
+
comments carrying a machine block: two HTML comment markers around a fenced JSON value. The verdict
|
|
228
|
+
is posted only by the review job, beside its check; `next` believes the job's latest verdict on the
|
|
229
|
+
head only when that check agrees with it, and a block anyone else posts is text. The conflict class is the block `void-machine autopilot judgment conflict-class`
|
|
230
|
+
prints for the JSON on its stdin. `next` reads both from GitHub and admits them again, so the
|
|
231
|
+
tracker you pipe in never carries them and a restart loses nothing.
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## Workers
|
|
236
|
+
|
|
237
|
+
Given: one ticket id, its worktree, its branch, the programme's plan and spec. The worker re-fetches
|
|
238
|
+
the complete ticket itself; it never works from a summary.
|
|
239
|
+
|
|
240
|
+
It runs `void-implement` whole in that worktree, and starts its mission with the ticket id as its
|
|
241
|
+
`--title`, which is how a respawn finds it again. Before any context compaction it writes to the
|
|
242
|
+
mission what it has done: each specialist result through `mission specialist-event`, each proof
|
|
243
|
+
through `mission verify`, a committed candidate through `mission writer-event`. The journal accepts
|
|
244
|
+
only these typed events, no free note; what is not yet one of them does not survive a respawn, and
|
|
245
|
+
uncommitted edits survive only in the worktree. When its proofs are green it runs
|
|
246
|
+
`autopilot fingerprint --after <ticket>`, pushes its own branch, opens one pull request towards the
|
|
247
|
+
base, ready for review rather than as a draft, and moves the ticket to In Review. The review job's
|
|
248
|
+
pass is that cycle's independent review; it reviews ready pull requests only, so a draft waits.
|
|
249
|
+
Blocking findings come back as a hand-back and are corrected as a batch, per `void-implement`.
|
|
250
|
+
|
|
251
|
+
On a hand-back the worker reads the reason: failing checks, blocking findings, a conflict, or a
|
|
252
|
+
base that moved. It updates its branch by merging the base into it,
|
|
253
|
+
never by rewriting pushed history, re-runs its proofs, and pushes again.
|
|
254
|
+
|
|
255
|
+
May: run every `void-implement` pass whose predicate fires, run its own gates, apply a migration in
|
|
256
|
+
dev/local only, push its own branch without force, and open or update its own pull request.
|
|
257
|
+
|
|
258
|
+
May not: enable auto-merge, merge anything, post a verdict or re-run the review job, move a ticket to Done, close or cancel a ticket, touch another ticket's branch or worktree,
|
|
259
|
+
prune the mission journals, or write the git state the repository shares -- `refs/stash`, tags,
|
|
260
|
+
notes, remotes, the repository config.
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
## Reviewer
|
|
265
|
+
|
|
266
|
+
The `independent-review` job, on every push to a ready pull request and when one is marked ready.
|
|
267
|
+
Its instructions are `.github/review/prompt.md` on the base; it reads the diff and the head with
|
|
268
|
+
read-only tools and returns `blocking` and `advisory` findings under a JSON schema. The job binds
|
|
269
|
+
them to the head and the round, posts the verdict comment and concludes the check: success with no
|
|
270
|
+
blocking finding, failure otherwise, failure too when the output is missing or out of bounds.
|
|
271
|
+
|
|
272
|
+
**What blocks.** Only what is wrong or dangerous, with a concrete scenario: incorrect behaviour, a
|
|
273
|
+
vulnerability, an unstable or empty proof, a broken consumer. Each blocking finding names its
|
|
274
|
+
location, the scenario and the correction. Everything else is advisory. The number of blocking
|
|
275
|
+
findings measures nothing; a pass that files four advisories and blocks on none is a good pass.
|
|
276
|
+
|
|
277
|
+
**Advisories** of a merged ticket's verdict go into a single Triage issue per ticket, filed by the
|
|
278
|
+
orchestrator, and never come back into the loop.
|
|
279
|
+
|
|
280
|
+
**Rounds.** After a correction, round 2 is handed round 1's blocking findings and checks only those
|
|
281
|
+
against the new diff; it opens no new general reading. Still blocking after round 2, the kernel
|
|
282
|
+
hands the ticket to a human with the finding. The kernel counts rounds on GitHub, one per head the
|
|
283
|
+
job blocked, not from the round a verdict announces, and a job that failed without a verdict is a
|
|
284
|
+
crash it re-runs, not a round.
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
## Conflicts and the merge queue
|
|
289
|
+
|
|
290
|
+
When the base has a merge queue, GitHub rebuilds the combined commit of every pull request ahead
|
|
291
|
+
and reruns the required checks, `independent-review` included, before it merges. Two tickets green
|
|
292
|
+
alone and broken together cannot reach the base.
|
|
293
|
+
|
|
294
|
+
A pull request ejected from the queue whose head still passes its checks and carries a clean
|
|
295
|
+
verdict has nothing for its worker to fix: the kernel answers `requeue`, at most twice for the same
|
|
296
|
+
head, then sends the ticket to a human. An ejected head whose own checks fail goes back to its
|
|
297
|
+
worker as failing checks. A pull request in conflict with the base goes back to its worker. The
|
|
298
|
+
worker classifies the conflict as the typed `conflict` judgment on the conflicting head, posted
|
|
299
|
+
through `autopilot judgment conflict-class`: `mechanical` it resolves, re-runs
|
|
300
|
+
its proofs and pushes; `semantic` -- two intents that disagree -- it leaves alone, and the kernel
|
|
301
|
+
sends the ticket to a human. A worker never picks a side of a semantic conflict to keep the loop
|
|
302
|
+
moving.
|
|
303
|
+
|
|
304
|
+
**Serial fallback.** Without a merge queue, merges run one at a time: the oldest ready pull request
|
|
305
|
+
(or the one already merging) holds the turn, is updated on the base when it is behind, re-checked,
|
|
306
|
+
merged, then the next. Same guarantee, lower throughput. The kernel keeps the turn; you do not.
|
|
307
|
+
It holds only if the base refuses a pull request that is not up to date, so `next` checks that the
|
|
308
|
+
base requires it (classic protection or a ruleset) and refuses the tick, naming the fix, when
|
|
309
|
+
nothing readable says so.
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
## Stopping
|
|
314
|
+
|
|
315
|
+
**Drain.** Requested by a person (`void-machine autopilot stop --drain`, from any pane) or reached
|
|
316
|
+
on its own: nothing ready or preparable, quota low, or three tickets in a row handed to a human
|
|
317
|
+
(a pull request waiting only for a human merge gate is not one).
|
|
318
|
+
The loop takes nothing new, carries the tickets in flight to a merge or a human wait, closes its
|
|
319
|
+
agents, cleans the merged worktrees, and writes the recap.
|
|
320
|
+
|
|
321
|
+
**Now.** `void-machine autopilot stop --now`. Everything freezes, a merge GitHub would run on its
|
|
322
|
+
own included: `next` returns a `disable-auto-merge` for every armed pull request, then `freeze`.
|
|
323
|
+
Run the disarms, then stop. When `next` cannot read what is armed, or a disarm fails, it does not
|
|
324
|
+
pretend to have frozen: disarm by hand what it names and tell the person. Nothing is lost: the
|
|
325
|
+
state is in the tracker and GitHub, and a later run resumes from there.
|
|
326
|
+
|
|
327
|
+
The stop file stays until someone deletes it; a new run starts only once it is gone.
|
|
328
|
+
|
|
329
|
+
**The recap.** What merged, what waits and why, the advisory issues created, and the time each
|
|
330
|
+
ticket took. It is the account a person reads when they come back; write it from observed state,
|
|
331
|
+
never from memory of the session.
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
## Red flags
|
|
336
|
+
|
|
337
|
+
| Rationalization | Reality |
|
|
338
|
+
|---|---|
|
|
339
|
+
| "The checks are green, enable auto-merge myself" | Only `enable-auto-merge` from the kernel arms a merge, and only on the SHA it names. |
|
|
340
|
+
| "The worker already reviewed its diff" | Self-review is not independent. The reviewer is a separate context on the exact SHA. |
|
|
341
|
+
| "Post the verdict comment by hand, it is quicker" | Only the review job's comment counts, and only its check is required. A hand-written one is text. |
|
|
342
|
+
| "The review job crashed, approve it and move on" | A crash is re-run, twice at most, then a person looks. Nothing approves a head the job did not review. |
|
|
343
|
+
| "That advisory matters, block on it" | Blocking needs a scenario where it is wrong or dangerous. Otherwise it goes to the Triage issue. |
|
|
344
|
+
| "This duplicate ticket can just be closed" | The curator never closes. Comment, and leave it to a person. |
|
|
345
|
+
| "P1 on the label, so it goes first" | The ranking reads the project, not the label. Justify the move on the ticket. |
|
|
346
|
+
| "Both tickets touch different folders, seat them together" | Different folders, same lockfile is still a collision. The kernel decides. |
|
|
347
|
+
| "The conflict is semantic but I see what they meant" | A semantic conflict waits for a human. |
|
|
348
|
+
| "I remember which worker had which ticket" | Rebuild from the tracker and GitHub. The session is not the state. |
|
|
349
|
+
| "The PR is gone from the list, it must have been merged" | Only a merged pull request observed on GitHub is a merge. |
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
|
|
353
|
+
## Composition
|
|
354
|
+
|
|
355
|
+
Upstream: `void-ticket` authors and enriches the tickets and the programme descriptor. Per ticket:
|
|
356
|
+
`void-implement`, entire, once, in the worker's worktree. The merge belongs to GitHub under
|
|
357
|
+
`mergeGate: union-reviewed`, to a person under `mergeGate: human`, and to a person always for the
|
|
358
|
+
branch that deploys.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Harness metadata for this skill. Not part of the Agent Skills
|
|
2
|
+
# specification, and never copied into a consumer project: the SKILL.md
|
|
3
|
+
# beside it stays portable and validates against the official six fields.
|
|
4
|
+
# Read by this repository's graph, and by the installer for `runtimes`.
|
|
5
|
+
kind: action
|
|
6
|
+
owner: folpe
|
|
7
|
+
runtimes: [claude, codex]
|
|
8
|
+
enforcement:
|
|
9
|
+
floor: ci
|
|
10
|
+
inline:
|
|
11
|
+
claude: pretooluse
|
|
12
|
+
codex: pretooluse
|
|
13
|
+
hermes: ci-only
|
|
14
|
+
eval_targets: [claude/anthropic/opus]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Sources for `void-brainstorm` skill (see `docs/plans/skill-audits/void-brainstorm.md` for full audit):
|
|
2
|
+
|
|
3
|
+
- superpowers/brainstorm — primary source. Hard gate, one-question, multi-choice preferred, 2–3 approaches, spec-write, transition to plan.
|
|
4
|
+
- gstack /office-hours — VENDORED (DEV-386): the YC product diagnostic (six forcing questions, anti-sycophancy, 10x ambition move) distilled into the "Pressure-testing a raw idea" upstream mode. Builder-visual/cross-model/gstack-runtime rejected. Was composed upstream; now absorbed as the gstack teardown removes it.
|
|
5
|
+
- gstack /spec — VENDORED (DEV-388, the precision half): read-code-before-asking (cite path:line, "don't ask what you can read"), the five mandatory "why" questions gate, quantify-everything, and failure-mode thinking as a first-class axis. The executability gate + MVP-cut half went to plan; the single-solution persona was NOT allowed to overwrite this skill's 2-3-approaches divergence.
|
|
6
|
+
- compound-engineering (EveryInc) — plan phase referenced; rejected as primary (no clear gate between explore and implement).
|
|
7
|
+
- Boris Cherny "how Boris uses Claude Code" — discipline of writing the design before code.
|
|
8
|
+
|
|
9
|
+
Strategy: distill. Three deliberate changes from superpowers:
|
|
10
|
+
1. Spec location: docs/specs/YYYY-MM-DD-<topic>.md (consumer convention)
|
|
11
|
+
2. Transition target: plan (vendored equivalent)
|
|
12
|
+
3. No trigger filter on activation (per Section 0bis hedge resolution)
|
|
13
|
+
|
|
14
|
+
No companion hooks; the gate is a process discipline enforced via void-code-review flags downstream.
|