zob-harness 0.1.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/.pi/adapters/registry.json +103 -0
- package/.pi/agents/architecture-cartographer.md +53 -0
- package/.pi/agents/chief-vision.md +39 -0
- package/.pi/agents/clarifier.md +58 -0
- package/.pi/agents/context-steward.md +52 -0
- package/.pi/agents/doc-steward.md +34 -0
- package/.pi/agents/explore.md +49 -0
- package/.pi/agents/factory.md +41 -0
- package/.pi/agents/implementer.md +44 -0
- package/.pi/agents/librarian.md +32 -0
- package/.pi/agents/oracle-merge.md +50 -0
- package/.pi/agents/oracle.md +55 -0
- package/.pi/agents/pattern-miner.md +53 -0
- package/.pi/agents/planner.md +39 -0
- package/.pi/agents/project-dna-golden-evaluator.md +32 -0
- package/.pi/agents/project-dna-ontology-steward.md +30 -0
- package/.pi/agents/project-dna-oracle.md +56 -0
- package/.pi/agents/project-dna-orchestrator.md +60 -0
- package/.pi/agents/project-dna-query-steward.md +38 -0
- package/.pi/agents/project-dna-safety-preflight.md +54 -0
- package/.pi/agents/project-dna-test-linker.md +27 -0
- package/.pi/agents/qa.md +38 -0
- package/.pi/agents/refactor-cartographer.md +28 -0
- package/.pi/agents/refactor-mover.md +31 -0
- package/.pi/agents/refactor-oracle.md +49 -0
- package/.pi/agents/repo-scout.md +60 -0
- package/.pi/agents/sample-architect.md +48 -0
- package/.pi/agents/specifier.md +57 -0
- package/.pi/agents/symbol-range-curator.md +41 -0
- package/.pi/agents/synthesis.md +52 -0
- package/.pi/agents/temp-agent-creator.md +35 -0
- package/.pi/autonomy-policy.json +67 -0
- package/.pi/budget-policy.json +54 -0
- package/.pi/capabilities/zob-public-runtime-capabilities.json +1700 -0
- package/.pi/chains/explore-plan-oracle.json +78 -0
- package/.pi/chains/explore-spec-clarify-plan-oracle.json +64 -0
- package/.pi/chains/explore-spec-plan-oracle.json +53 -0
- package/.pi/chains/spec-clarify-plan-oracle.json +53 -0
- package/.pi/chains/spec-factory-oracle.json +42 -0
- package/.pi/chains/spec-plan-oracle.json +42 -0
- package/.pi/compute-profiles/defaults.json +19 -0
- package/.pi/compute-profiles/overrides.json +13 -0
- package/.pi/compute-profiles/risk-rules.json +16 -0
- package/.pi/daemon-policy.json +80 -0
- package/.pi/damage-control-rules.json +45 -0
- package/.pi/extensions/zob-child-safety/index.ts +212 -0
- package/.pi/extensions/zob-harness/AGENTS.md +28 -0
- package/.pi/extensions/zob-harness/index.ts +391 -0
- package/.pi/extensions/zob-harness/src/AGENTS.md +25 -0
- package/.pi/extensions/zob-harness/src/agents.ts +82 -0
- package/.pi/extensions/zob-harness/src/autonomous-runtime.ts +2912 -0
- package/.pi/extensions/zob-harness/src/autonomy-readiness.ts +778 -0
- package/.pi/extensions/zob-harness/src/budget-policy.ts +308 -0
- package/.pi/extensions/zob-harness/src/capabilities.ts +249 -0
- package/.pi/extensions/zob-harness/src/child-runner.ts +249 -0
- package/.pi/extensions/zob-harness/src/chronicle.ts +262 -0
- package/.pi/extensions/zob-harness/src/compute-profile.ts +602 -0
- package/.pi/extensions/zob-harness/src/compute-workflow-shape.ts +168 -0
- package/.pi/extensions/zob-harness/src/coms-v2/AGENTS.md +16 -0
- package/.pi/extensions/zob-harness/src/coms-v2/envelope.ts +121 -0
- package/.pi/extensions/zob-harness/src/coms-v2/identity.ts +53 -0
- package/.pi/extensions/zob-harness/src/coms-v2/ledger-bridge.ts +67 -0
- package/.pi/extensions/zob-harness/src/coms-v2/local-transport.ts +147 -0
- package/.pi/extensions/zob-harness/src/coms-v2/pending-replies.ts +80 -0
- package/.pi/extensions/zob-harness/src/coms-v2/policy.ts +125 -0
- package/.pi/extensions/zob-harness/src/coms-v2/presence.ts +55 -0
- package/.pi/extensions/zob-harness/src/coms-v2/registry.ts +113 -0
- package/.pi/extensions/zob-harness/src/coms-v2/response-capture.ts +50 -0
- package/.pi/extensions/zob-harness/src/coms-v2/transcript-capture.ts +164 -0
- package/.pi/extensions/zob-harness/src/coms-v2/types.ts +149 -0
- package/.pi/extensions/zob-harness/src/coms-v2/zpeer-profile.ts +140 -0
- package/.pi/extensions/zob-harness/src/coms-v2/zpeer.ts +452 -0
- package/.pi/extensions/zob-harness/src/constants.ts +108 -0
- package/.pi/extensions/zob-harness/src/context-gbrain.ts +465 -0
- package/.pi/extensions/zob-harness/src/daemon-policy.ts +223 -0
- package/.pi/extensions/zob-harness/src/daemon-readiness.ts +134 -0
- package/.pi/extensions/zob-harness/src/daemon-runtime.ts +393 -0
- package/.pi/extensions/zob-harness/src/factory/AGENTS.md +24 -0
- package/.pi/extensions/zob-harness/src/factory/agentic-plan.ts +65 -0
- package/.pi/extensions/zob-harness/src/factory/quarantine.ts +319 -0
- package/.pi/extensions/zob-harness/src/factory/run.ts +520 -0
- package/.pi/extensions/zob-harness/src/factory/validation.ts +454 -0
- package/.pi/extensions/zob-harness/src/factory-selector.ts +318 -0
- package/.pi/extensions/zob-harness/src/full-autonomy-test.ts +226 -0
- package/.pi/extensions/zob-harness/src/git-ops.ts +868 -0
- package/.pi/extensions/zob-harness/src/goal-room.ts +178 -0
- package/.pi/extensions/zob-harness/src/goal-runtime.ts +1569 -0
- package/.pi/extensions/zob-harness/src/goal-todo-imports.ts +111 -0
- package/.pi/extensions/zob-harness/src/goal-todo-types.ts +231 -0
- package/.pi/extensions/zob-harness/src/goal-todos.ts +1410 -0
- package/.pi/extensions/zob-harness/src/goal.ts +152 -0
- package/.pi/extensions/zob-harness/src/governed-requests.ts +436 -0
- package/.pi/extensions/zob-harness/src/interactive-autonomy.ts +595 -0
- package/.pi/extensions/zob-harness/src/launch-apply.ts +313 -0
- package/.pi/extensions/zob-harness/src/merge-queue.ts +290 -0
- package/.pi/extensions/zob-harness/src/mission-control.ts +573 -0
- package/.pi/extensions/zob-harness/src/model-availability.ts +52 -0
- package/.pi/extensions/zob-harness/src/model-routing.ts +429 -0
- package/.pi/extensions/zob-harness/src/orchestration/AGENTS.md +23 -0
- package/.pi/extensions/zob-harness/src/orchestration/adaptive-delegation.ts +547 -0
- package/.pi/extensions/zob-harness/src/orchestration/adaptive-workflow.ts +585 -0
- package/.pi/extensions/zob-harness/src/orchestration/lead-plan.ts +192 -0
- package/.pi/extensions/zob-harness/src/orchestration/plan.ts +168 -0
- package/.pi/extensions/zob-harness/src/orchestration/room.ts +346 -0
- package/.pi/extensions/zob-harness/src/orchestration/run.ts +134 -0
- package/.pi/extensions/zob-harness/src/orchestration/supervised-readonly.ts +1147 -0
- package/.pi/extensions/zob-harness/src/orchestration/widget-readers.ts +132 -0
- package/.pi/extensions/zob-harness/src/output-contracts.ts +656 -0
- package/.pi/extensions/zob-harness/src/project-dna.ts +533 -0
- package/.pi/extensions/zob-harness/src/promotion/AGENTS.md +24 -0
- package/.pi/extensions/zob-harness/src/promotion/candidate.ts +336 -0
- package/.pi/extensions/zob-harness/src/promotion/coms.ts +127 -0
- package/.pi/extensions/zob-harness/src/promotion/documentation.ts +142 -0
- package/.pi/extensions/zob-harness/src/promotion/factory.ts +107 -0
- package/.pi/extensions/zob-harness/src/promotion/ledger.ts +2 -0
- package/.pi/extensions/zob-harness/src/promotion/temp-agent.ts +151 -0
- package/.pi/extensions/zob-harness/src/promotion/types.ts +149 -0
- package/.pi/extensions/zob-harness/src/promotion/validate.ts +6 -0
- package/.pi/extensions/zob-harness/src/promotion/write-lane.ts +162 -0
- package/.pi/extensions/zob-harness/src/prompt-packs.ts +239 -0
- package/.pi/extensions/zob-harness/src/queue.ts +386 -0
- package/.pi/extensions/zob-harness/src/rules.ts +225 -0
- package/.pi/extensions/zob-harness/src/runtime/AGENTS.md +26 -0
- package/.pi/extensions/zob-harness/src/runtime/adaptive-zmode.ts +116 -0
- package/.pi/extensions/zob-harness/src/runtime/auto-compaction.ts +715 -0
- package/.pi/extensions/zob-harness/src/runtime/commands.ts +1315 -0
- package/.pi/extensions/zob-harness/src/runtime/compaction-policy.ts +516 -0
- package/.pi/extensions/zob-harness/src/runtime/delegation-click-markers.ts +141 -0
- package/.pi/extensions/zob-harness/src/runtime/delegation-feed.ts +415 -0
- package/.pi/extensions/zob-harness/src/runtime/delegation-markdown.ts +97 -0
- package/.pi/extensions/zob-harness/src/runtime/delegation-monitor.ts +553 -0
- package/.pi/extensions/zob-harness/src/runtime/delegation-mouse.ts +205 -0
- package/.pi/extensions/zob-harness/src/runtime/delegation-overlay.ts +434 -0
- package/.pi/extensions/zob-harness/src/runtime/events.ts +736 -0
- package/.pi/extensions/zob-harness/src/runtime/goal-todo-overlay.ts +214 -0
- package/.pi/extensions/zob-harness/src/runtime/mode-intent.ts +144 -0
- package/.pi/extensions/zob-harness/src/runtime/plan-capture.ts +270 -0
- package/.pi/extensions/zob-harness/src/runtime/state.ts +403 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-autonomous.ts +117 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-compute.ts +136 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-coms.ts +365 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-context.ts +70 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-delegation.ts +1854 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-factory.ts +810 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-goal-room.ts +46 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-governed-requests.ts +38 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-merge-queue.ts +61 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-mission-control.ts +77 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-orchestration.ts +106 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-project-dna.ts +123 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-worker-pool.ts +93 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-workspace-claims.ts +62 -0
- package/.pi/extensions/zob-harness/src/runtime/tools-zcommit.ts +147 -0
- package/.pi/extensions/zob-harness/src/runtime/widget.ts +353 -0
- package/.pi/extensions/zob-harness/src/runtime/zobHarness.ts +60 -0
- package/.pi/extensions/zob-harness/src/safety.ts +338 -0
- package/.pi/extensions/zob-harness/src/sandbox.ts +1508 -0
- package/.pi/extensions/zob-harness/src/schemas-project-dna.ts +47 -0
- package/.pi/extensions/zob-harness/src/schemas.ts +695 -0
- package/.pi/extensions/zob-harness/src/telemetry.ts +373 -0
- package/.pi/extensions/zob-harness/src/topology/AGENTS.md +22 -0
- package/.pi/extensions/zob-harness/src/topology/chains.ts +236 -0
- package/.pi/extensions/zob-harness/src/topology/coms.ts +211 -0
- package/.pi/extensions/zob-harness/src/topology/orchestration-profiles.ts +204 -0
- package/.pi/extensions/zob-harness/src/topology/teams.ts +113 -0
- package/.pi/extensions/zob-harness/src/types/core.ts +47 -0
- package/.pi/extensions/zob-harness/src/types.ts +939 -0
- package/.pi/extensions/zob-harness/src/utils/AGENTS.md +22 -0
- package/.pi/extensions/zob-harness/src/utils/formatting.ts +34 -0
- package/.pi/extensions/zob-harness/src/utils/hashing.ts +11 -0
- package/.pi/extensions/zob-harness/src/utils/json.ts +28 -0
- package/.pi/extensions/zob-harness/src/utils/paths.ts +54 -0
- package/.pi/extensions/zob-harness/src/utils/records.ts +25 -0
- package/.pi/extensions/zob-harness/src/utils/resources.ts +38 -0
- package/.pi/extensions/zob-harness/src/worker-pool.ts +672 -0
- package/.pi/extensions/zob-harness/src/workspace-claims.ts +297 -0
- package/.pi/extensions/zob-switch/index.ts +180 -0
- package/.pi/factories/budget-preflight-dry-run/batch-manifest.json +59 -0
- package/.pi/factories/budget-preflight-dry-run/factory.json +94 -0
- package/.pi/factories/budget-preflight-dry-run/pilot-manifest.json +50 -0
- package/.pi/factories/budget-preflight-dry-run/smoke-manifest.json +43 -0
- package/.pi/factories/code-review-matrix/batch-manifest.json +61 -0
- package/.pi/factories/code-review-matrix/factory.json +163 -0
- package/.pi/factories/code-review-matrix/pilot-manifest.json +41 -0
- package/.pi/factories/code-review-matrix/smoke-manifest.json +35 -0
- package/.pi/factories/factory-forge/batch-manifest.json +56 -0
- package/.pi/factories/factory-forge/factory.json +84 -0
- package/.pi/factories/factory-forge/pilot-manifest.json +32 -0
- package/.pi/factories/factory-forge/smoke-manifest.json +19 -0
- package/.pi/factories/opencode-pattern-canonizer/batch-manifest.json +54 -0
- package/.pi/factories/opencode-pattern-canonizer/factory.json +86 -0
- package/.pi/factories/opencode-pattern-canonizer/pilot-manifest.json +39 -0
- package/.pi/factories/opencode-pattern-canonizer/smoke-manifest.json +26 -0
- package/.pi/factories/project-dna/README.md +182 -0
- package/.pi/factories/project-dna/batch-manifest.json +37 -0
- package/.pi/factories/project-dna/example-project-dna-manifest-v2.json +80 -0
- package/.pi/factories/project-dna/example-project-dna-manifest.json +58 -0
- package/.pi/factories/project-dna/factory.json +131 -0
- package/.pi/factories/project-dna/golden-cases-smoke.json +62 -0
- package/.pi/factories/project-dna/pi-agentic-ontology.json +88 -0
- package/.pi/factories/project-dna/pilot-manifest.json +32 -0
- package/.pi/factories/project-dna/schemas/benchmark-suite.schema.json +27 -0
- package/.pi/factories/project-dna/schemas/code-knowledge-graph.schema.json +97 -0
- package/.pi/factories/project-dna/schemas/context-pack.schema.json +43 -0
- package/.pi/factories/project-dna/schemas/golden-case.schema.json +36 -0
- package/.pi/factories/project-dna/schemas/manifest-v2.schema.json +128 -0
- package/.pi/factories/project-dna/schemas/manifest.schema.json +77 -0
- package/.pi/factories/project-dna/schemas/ontology.schema.json +45 -0
- package/.pi/factories/project-dna/schemas/project-fingerprint.schema.json +28 -0
- package/.pi/factories/project-dna/schemas/query-steward-report.schema.json +52 -0
- package/.pi/factories/project-dna/smoke-manifest.json +27 -0
- package/.pi/factories/roadmap-smoke-lots/batch-manifest.json +49 -0
- package/.pi/factories/roadmap-smoke-lots/factory.json +89 -0
- package/.pi/factories/roadmap-smoke-lots/pilot-manifest.json +50 -0
- package/.pi/factories/roadmap-smoke-lots/smoke-manifest.json +35 -0
- package/.pi/git-policy.json +120 -0
- package/.pi/mission-control/zob_coms_transport.json +64 -0
- package/.pi/model-catalog.example.json +345 -0
- package/.pi/model-economy.example.json +196 -0
- package/.pi/model-routing.json +86 -0
- package/.pi/orchestrations/adaptive-chief-vision.json +193 -0
- package/.pi/orchestrations/ceo-feature-build.json +182 -0
- package/.pi/orchestrations/readonly-dynamic-smoke.json +75 -0
- package/.pi/output-contracts/agent-event.v1.json +19 -0
- package/.pi/output-contracts/base.v1.json +24 -0
- package/.pi/output-contracts/brain-lookup.v1.json +21 -0
- package/.pi/output-contracts/clarification.v1.json +21 -0
- package/.pi/output-contracts/context-pack.v1.json +20 -0
- package/.pi/output-contracts/context-request.v1.json +21 -0
- package/.pi/output-contracts/context-steward.v1.json +19 -0
- package/.pi/output-contracts/context-writeback-proposal.v1.json +18 -0
- package/.pi/output-contracts/delegation-request.v1.json +21 -0
- package/.pi/output-contracts/explore.v1.json +52 -0
- package/.pi/output-contracts/factory.v1.json +48 -0
- package/.pi/output-contracts/guidance-steward.v1.json +18 -0
- package/.pi/output-contracts/implement.v1.json +40 -0
- package/.pi/output-contracts/launch-authorization.v1.json +21 -0
- package/.pi/output-contracts/lead-plan.v1.json +22 -0
- package/.pi/output-contracts/mission-readiness.v1.json +20 -0
- package/.pi/output-contracts/oracle-merge.v1.json +44 -0
- package/.pi/output-contracts/oracle-request.v1.json +20 -0
- package/.pi/output-contracts/oracle.v1.json +44 -0
- package/.pi/output-contracts/orchestration-profile.v1.json +22 -0
- package/.pi/output-contracts/plan.v1.json +48 -0
- package/.pi/output-contracts/prompt-pack.v1.json +20 -0
- package/.pi/output-contracts/qa.v1.json +40 -0
- package/.pi/output-contracts/research.v1.json +36 -0
- package/.pi/output-contracts/spec.v1.json +22 -0
- package/.pi/output-contracts/synthesis.v1.json +44 -0
- package/.pi/output-contracts/temp-agent-card.v1.json +23 -0
- package/.pi/output-contracts/todo-child-result.v1.json +20 -0
- package/.pi/output-contracts/todo-child-result.v2.json +22 -0
- package/.pi/output-contracts/todo-claim-validation.v1.json +22 -0
- package/.pi/output-contracts/todo-split-request.v1.json +20 -0
- package/.pi/prompts/adaptive-workflow.md +63 -0
- package/.pi/prompts/autonomous-runtime.md +15 -0
- package/.pi/prompts/benchmark-contender.md +15 -0
- package/.pi/prompts/benchmark-judge.md +19 -0
- package/.pi/prompts/clarify-spec.md +20 -0
- package/.pi/prompts/compute-plan.md +36 -0
- package/.pi/prompts/compute-preview.md +42 -0
- package/.pi/prompts/contract.md +29 -0
- package/.pi/prompts/explore.md +13 -0
- package/.pi/prompts/factory-run.md +36 -0
- package/.pi/prompts/factory.md +20 -0
- package/.pi/prompts/implement.md +27 -0
- package/.pi/prompts/model-catalog.md +68 -0
- package/.pi/prompts/model-economy.md +64 -0
- package/.pi/prompts/oracle-merge.md +18 -0
- package/.pi/prompts/oracle.md +13 -0
- package/.pi/prompts/orchestrator.md +48 -0
- package/.pi/prompts/parallel-review.md +21 -0
- package/.pi/prompts/plan.md +21 -0
- package/.pi/prompts/project-dna.md +90 -0
- package/.pi/prompts/refactor-oracle.md +23 -0
- package/.pi/prompts/refactor-slice.md +24 -0
- package/.pi/prompts/research.md +20 -0
- package/.pi/prompts/spec.md +19 -0
- package/.pi/prompts/synthesis.md +18 -0
- package/.pi/rules/always.md +38 -0
- package/.pi/rules/docs.md +32 -0
- package/.pi/rules/factory.md +44 -0
- package/.pi/rules/oracle.md +34 -0
- package/.pi/rules/orchestration.md +44 -0
- package/.pi/rules/project.md +34 -0
- package/.pi/rules/prompts.md +43 -0
- package/.pi/rules/runtime.md +43 -0
- package/.pi/rules/sandbox.md +43 -0
- package/.pi/settings.json +28 -0
- package/.pi/skills/zob-agentic-access/SKILL.md +20 -0
- package/.pi/skills/zob-autonomous-runtime/SKILL.md +41 -0
- package/.pi/skills/zob-commit/SKILL.md +79 -0
- package/.pi/skills/zob-compaction-policy/SKILL.md +92 -0
- package/.pi/skills/zob-compute-profile/SKILL.md +108 -0
- package/.pi/skills/zob-coms-safety/SKILL.md +54 -0
- package/.pi/skills/zob-coms-v2-live/SKILL.md +47 -0
- package/.pi/skills/zob-delegation-routing/SKILL.md +82 -0
- package/.pi/skills/zob-factory/SKILL.md +28 -0
- package/.pi/skills/zob-goal-todo-tree/SKILL.md +279 -0
- package/.pi/skills/zob-harness/SKILL.md +68 -0
- package/.pi/skills/zob-mission-control-coms/SKILL.md +39 -0
- package/.pi/skills/zob-oracle/SKILL.md +21 -0
- package/.pi/skills/zob-owner-pool-drill-writer/SKILL.md +244 -0
- package/.pi/skills/zob-owner-pool-launcher/SKILL.md +261 -0
- package/.pi/skills/zob-project-dna/SKILL.md +275 -0
- package/.pi/skills/zob-sandbox/SKILL.md +29 -0
- package/.pi/skills/zob-spec/SKILL.md +25 -0
- package/.pi/skills/zob-split-refactor/SKILL.md +39 -0
- package/.pi/skills/zob-tool-router/SKILL.md +104 -0
- package/.pi/teams/zob-core.json +122 -0
- package/AGENTS.md +89 -0
- package/CONTRIBUTING.md +56 -0
- package/LICENSE +21 -0
- package/README.md +360 -0
- package/SECURITY.md +35 -0
- package/SOURCE_INDEX.md +46 -0
- package/package.json +135 -0
- package/scripts/README.md +57 -0
- package/scripts/autonomy/mission-readiness-secret-smoke.mjs +90 -0
- package/scripts/compute-profile/plan-workflow.mjs +85 -0
- package/scripts/compute-profile/preview.mjs +242 -0
- package/scripts/compute-profile/regression-smoke.mjs +38 -0
- package/scripts/compute-profile/summarize.mjs +72 -0
- package/scripts/compute-profile/validate-policy.mjs +50 -0
- package/scripts/compute-profile/validate-preview.mjs +95 -0
- package/scripts/compute-profile/validate-workflow.mjs +58 -0
- package/scripts/git-ops/commit-policy-smoke.mjs +221 -0
- package/scripts/goal-todo/child-goal-ref-smoke.mjs +252 -0
- package/scripts/harness-switch/static-smoke.mjs +43 -0
- package/scripts/model-catalog/validate-economy.mjs +223 -0
- package/scripts/model-catalog/validate.mjs +199 -0
- package/scripts/package-surface/validate-script-refs.mjs +190 -0
- package/scripts/path-policy/validate-smoke.mjs +103 -0
- package/scripts/project-dna/bench-smoke.mjs +217 -0
- package/scripts/project-dna/build-capsules.mjs +207 -0
- package/scripts/project-dna/build-sample-spec.mjs +140 -0
- package/scripts/project-dna/emit-golden-cases.mjs +75 -0
- package/scripts/project-dna/emit-ontology.mjs +75 -0
- package/scripts/project-dna/generate-sample.mjs +302 -0
- package/scripts/project-dna/oracle-review-smoke.mjs +157 -0
- package/scripts/project-dna/plan-workflow.mjs +289 -0
- package/scripts/project-dna/query-context.mjs +276 -0
- package/scripts/project-dna/query-steward.mjs +149 -0
- package/scripts/project-dna/scan.mjs +553 -0
- package/scripts/project-dna/validate-5of5.mjs +159 -0
- package/scripts/project-dna/validate-golden-cases.mjs +78 -0
- package/scripts/project-dna/validate-ontology.mjs +97 -0
- package/scripts/project-dna/validate-sample-project.mjs +105 -0
- package/scripts/project-dna/validate-scaffold.mjs +383 -0
- package/scripts/project-dna/validate-scan-artifacts.mjs +187 -0
- package/scripts/project-dna/validate-workflow.mjs +166 -0
- package/scripts/start-pi.sh +4 -0
- package/scripts/worker-pool/static-smoke.mjs +54 -0
- package/scripts/zpeer-local-e2e-smoke.mjs +395 -0
- package/scripts/zpeer-static-smoke.mjs +129 -0
- package/tsconfig.json +12 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zob-goal-todo-tree
|
|
3
|
+
description: Use when planning, using, reviewing, or implementing ZOB /goal-linked TODOs, subtodos, TODO HUD progress, delegated TODO claims, or hierarchical subagent work graphs.
|
|
4
|
+
---
|
|
5
|
+
# ZOB Goal TODO Tree Skill
|
|
6
|
+
|
|
7
|
+
## When to use
|
|
8
|
+
|
|
9
|
+
Use this skill when a task involves any of:
|
|
10
|
+
|
|
11
|
+
- `/goal todo`, `/todo`, or goal progress tracking;
|
|
12
|
+
- TODO/subtodo planning under an active runtime goal;
|
|
13
|
+
- showing progress in the HUD;
|
|
14
|
+
- linking TODOs to `delegate_task`, `delegate_agent`, `child_goal`, orchestration, chains, or factories;
|
|
15
|
+
- accepting/rejecting subagent completion claims;
|
|
16
|
+
- reviewing whether a goal can move to `ready_for_oracle` or `complete`;
|
|
17
|
+
- designing X-depth TODO/delegation systems.
|
|
18
|
+
|
|
19
|
+
Canonical design/runtime doc:
|
|
20
|
+
|
|
21
|
+
- `docs/ZOB_GOAL_TODO_TREE_PLAN.md`
|
|
22
|
+
|
|
23
|
+
Runtime support now includes `/goal todo ...`, `/todo`, `/todos overlay`, goal TODO tools, delegated claim acceptance/rejection, oracle claim validation, strict PASS/no_ship=false auto-accept, artifact imports, HUD/prompt summaries, and completion blockers.
|
|
24
|
+
|
|
25
|
+
## Core model
|
|
26
|
+
|
|
27
|
+
A ZOB goal TODO is not a standalone checklist. It is a parent-owned work graph attached to a `RuntimeGoal.goalId`.
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
RuntimeGoal = objective + loop + oracle + final gate
|
|
31
|
+
GoalTodoGraph = work breakdown + progress + evidence
|
|
32
|
+
DelegationGraph = subagent execution/claims linked to TODO nodes
|
|
33
|
+
EvidenceGraph = validation commands, reports, checkpoints, sentinels, hashes
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Non-negotiable invariants
|
|
37
|
+
|
|
38
|
+
- Do not create floating TODOs without an active runtime goal.
|
|
39
|
+
- Do not mark root goal complete from TODO status alone.
|
|
40
|
+
- Do not call `update_goal complete` before `propose_goal_completion` and oracle `PASS/no_ship=false`.
|
|
41
|
+
- Do not propose root completion while required TODOs are open, blocked, delegated, or awaiting user/oracle review.
|
|
42
|
+
- Use `resolve_goal_todo` as the primary API for TODO transitions (`auto`, `complete`, `accept_claim`, `reject_claim`, `block`, `skip`, `reopen`).
|
|
43
|
+
- Do not use `update_goal_todo` to mark TODOs `done` or `skipped`; it is metadata-only.
|
|
44
|
+
- Do not let a subagent directly mutate canonical TODO state.
|
|
45
|
+
- Refresh active TODO refs with `get_goal_todos` before TODO-linked delegation.
|
|
46
|
+
- Do not pass stale or invented `child_goal.todo_id` values. Prefer canonical active IDs from `get_goal_todos`; if you only know the visible tree path, use `child_goal.todo_path` rather than fabricating shorthand IDs.
|
|
47
|
+
- Safe auto-open/delegation is allowed for runtime-delegatable TODOs (`planned`, `ready`, `in_progress`, `needs_review`) when no active child/run owns the leaf and scope/ownership are clear; do not auto-open `needs_user`, `needs_oracle`, `blocked`, `claim_returned`, or active delegated/review states.
|
|
48
|
+
- Recover delegated/recovery leaves only when no active child/run owns the TODO and stale metadata can be safely cleared; otherwise block/review and do not redelegate the same leaf.
|
|
49
|
+
- No same-leaf parallel write workers. If multiple agents or parallel work are needed, split into subtodos first and dispatch one owner per writable leaf.
|
|
50
|
+
- Parallel owner pools use read-across/write-by-owner: sibling workers may read cited outputs/context and Goal Room summaries, but only the leaf owner edits its owned paths, and planned write paths must be within owned paths. Read-across never grants write access; overlap with write paths requires a hash-only justification. Workspace claims are metadata-only; an owner's own active listed write claim can cover write intent while other overlaps remain conflicts. Cross-owner changes require a parent-visible owner request and owner/parent decision, with requested paths covered by the named owner assignment when a plan exists; children without harness extensions may emit a hash/body-free `OWNER_CHANGE_REQUEST.v1` final-output block for parent-side extraction only.
|
|
51
|
+
- Goal Room is canonical for pool coordination, owner requests/decisions, blockers, evidence refs, and oracle-visible history. ZPeer is optional transient live clarification and must be summarized to Goal Room when it changes decisions.
|
|
52
|
+
- A subagent returns a claim; the parent accepts or rejects it.
|
|
53
|
+
- Child-spawns-child is forbidden. Child-proposes-child is allowed only through parent-owned adaptive delegation gates.
|
|
54
|
+
- Children may propose XDEF/deeper splits with `TODO_SPLIT_REQUEST.v1`; only the parent applies `split_goal_todo` and dispatches follow-up agents.
|
|
55
|
+
- Persisted coms/Mission Control/adaptive TODO refs must remain hash-only/body-free.
|
|
56
|
+
|
|
57
|
+
## Stop-on-blocker context layer
|
|
58
|
+
|
|
59
|
+
When runtime goal context shows a human-decision blocker was already recorded (blocker score >=90, no `nextAgent`, goal paused, blocker visible), report it once and stop. Do not re-dispatch, re-ask the same human question, mark done/skip, hide the blocker, auto-resume, or bypass oracle/no_ship/evidence gates. Wait for explicit `/goal resume` or `resume_goal` before continuing.
|
|
60
|
+
|
|
61
|
+
## Activation-mode behavior
|
|
62
|
+
|
|
63
|
+
Respect `/goal mode` (default: `auto` unless a session explicitly persisted `manual` or `validation`):
|
|
64
|
+
|
|
65
|
+
### manual
|
|
66
|
+
|
|
67
|
+
Only create TODOs when the user explicitly asks.
|
|
68
|
+
|
|
69
|
+
### validation
|
|
70
|
+
|
|
71
|
+
For long work, propose a TODO plan and ask confirmation before creating/applying it.
|
|
72
|
+
|
|
73
|
+
### auto
|
|
74
|
+
|
|
75
|
+
For clearly long, multi-step, delegated, factory, or oracle-gated work, create a bounded initial TODO plan, but keep it visible and editable. Use `add_goal_todos` for multi-item plans instead of repeated `add_goal_todo` calls.
|
|
76
|
+
|
|
77
|
+
## TODO planning rules
|
|
78
|
+
|
|
79
|
+
When creating TODOs:
|
|
80
|
+
|
|
81
|
+
0. For an initial plan, batch top-level items with `add_goal_todos`; use `get_goal_todos` or `/goal todo tree` only when the full tree is needed.
|
|
82
|
+
1. Keep TODOs atomic and evidence-oriented.
|
|
83
|
+
2. Prefer 3-9 top-level TODOs for a normal feature.
|
|
84
|
+
3. Use subtodos when a step is too broad, needs delegation, or would require multiple agents/parallel writable work.
|
|
85
|
+
4. Split-before-parallel: create distinct child leaves and acceptance criteria before dispatching concurrent workers.
|
|
86
|
+
5. Mark required vs optional explicitly.
|
|
87
|
+
6. Assign owner: `agent`, `user`, `oracle`, `subagent`, `factory`, or `orchestration`.
|
|
88
|
+
7. Add acceptance criteria for critical TODOs.
|
|
89
|
+
8. Add expected evidence refs or validation commands where possible.
|
|
90
|
+
9. Avoid over-splitting; respect depth/fanout caps.
|
|
91
|
+
|
|
92
|
+
## Status meanings
|
|
93
|
+
|
|
94
|
+
Recommended statuses:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
planned known but not ready/started
|
|
98
|
+
ready next actionable item
|
|
99
|
+
in_progress parent agent is working on it
|
|
100
|
+
delegated child agent/run owns execution temporarily
|
|
101
|
+
claim_returned child output exists, parent has not accepted it
|
|
102
|
+
needs_review parent review required
|
|
103
|
+
needs_oracle oracle review required
|
|
104
|
+
needs_user user input/action required
|
|
105
|
+
blocked cannot proceed without replan/input/fix
|
|
106
|
+
done accepted with evidence
|
|
107
|
+
skipped intentionally skipped with reason
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Delegated TODO claims
|
|
111
|
+
|
|
112
|
+
When delegating a TODO, pass TODO metadata via `child_goal` once the runtime supports it:
|
|
113
|
+
|
|
114
|
+
```text
|
|
115
|
+
child_goal.objective = bounded child objective
|
|
116
|
+
child_goal.todo_id = <canonical-active-todo-id from get_goal_todos> # only when freshly verified
|
|
117
|
+
child_goal.parent_todo_id = <canonical-active-parent-todo-id if freshly verified>
|
|
118
|
+
child_goal.todo_path = <visible-todo-path such as 1.2> # safe fallback when canonical id is not freshly known; parent resolves it before dispatch when unique
|
|
119
|
+
child_goal.delegation_depth = current agent-depth + 1
|
|
120
|
+
child_goal.completion_policy = return_claim
|
|
121
|
+
child_goal.agentic_validation.mode = oracle_then_auto_accept # optional; validates claim with oracle child before safe auto-accept
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Expected child claim shape (v2 preferred; v1 remains compatible):
|
|
125
|
+
|
|
126
|
+
```text
|
|
127
|
+
TODO_CHILD_RESULT.v2
|
|
128
|
+
|
|
129
|
+
todo_id: <id>
|
|
130
|
+
child_goal_status: ready_for_oracle | incomplete | blocked
|
|
131
|
+
status_claim: done | incomplete | blocked
|
|
132
|
+
evidence_refs:
|
|
133
|
+
validation_commands:
|
|
134
|
+
risks:
|
|
135
|
+
acceptance_blockers: <blockers parent must resolve before accepting, or none>
|
|
136
|
+
target_readiness: ready_for_parent_acceptance | needs_parent_review | blocked
|
|
137
|
+
no_ship: true/false # advisory/readiness evidence; parent/oracle decides review_no_ship; runtime computes hard/effective no_ship
|
|
138
|
+
subtodo_delta_proposals:
|
|
139
|
+
FINAL_MARKER: TODO_CHILD_RESULT_V2_END
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Parent action after a claim:
|
|
143
|
+
|
|
144
|
+
- accept claim only after output contract/gate/evidence checks pass;
|
|
145
|
+
- for `child_goal.agentic_validation.mode=oracle_then_auto_accept`, runtime requests an oracle child to return `todo-claim-validation.v1` and auto-accepts only when worker gate passed, child status is `ready_for_oracle`, status claim is `done`, target readiness is `ready_for_parent_acceptance`, no acceptance blockers remain, oracle `claim_hash` exactly matches the returned claim, `recommended_action=accept_claim`, confidence is MEDIUM/HIGH, no oracle blocking issues remain, and oracle verdict is `PASS` with `no_ship=false`;
|
|
146
|
+
- `WARN`, `FAIL`, oracle `no_ship=true`, missing evidence, missing final marker, or mismatched `claim_hash` must leave the TODO in review/blocked state, not `done`;
|
|
147
|
+
- treat child `no_ship=true` as advisory review evidence, not an automatic child delivery failure when a deliverable was returned;
|
|
148
|
+
- reject/block the claim if evidence is missing or the parent agrees the advisory no_ship is a real blocker;
|
|
149
|
+
- import subtodo proposals only after checking depth/fanout and relevance.
|
|
150
|
+
|
|
151
|
+
Oracle validation output shape:
|
|
152
|
+
|
|
153
|
+
```text
|
|
154
|
+
TODO_CLAIM_VALIDATION.v1
|
|
155
|
+
|
|
156
|
+
todo_id: <id>
|
|
157
|
+
claim_hash: <sha256 returned claim hash>
|
|
158
|
+
verdict: PASS | WARN | FAIL
|
|
159
|
+
recommended_action: accept_claim | needs_review | reject_claim | block
|
|
160
|
+
evidence_refs:
|
|
161
|
+
validation_commands:
|
|
162
|
+
blocking_issues: <issues, or none>
|
|
163
|
+
no_ship: true/false
|
|
164
|
+
confidence: LOW | MEDIUM | HIGH
|
|
165
|
+
FINAL_MARKER: TODO_CLAIM_VALIDATION_END
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
If a delegated TODO claim has returned:
|
|
169
|
+
|
|
170
|
+
- Primary Tool API: `resolve_goal_todo({ todo_id, action: "auto" | "complete" | "accept_claim", evidence_refs, validation_commands })`.
|
|
171
|
+
- Compatibility Tool API: `complete_goal_todo` and `accept_goal_todo_claim` use the same parent-owned acceptance behavior for returned claims.
|
|
172
|
+
- Slash command: `/goal todo done <todoId> [evidence]` and `/goal todo accept-claim <todoId> [evidence]` both route through parent acceptance for returned claims.
|
|
173
|
+
- Never mark delegated TODOs `done` while the delegation is queued/running/failed and no returned claim exists.
|
|
174
|
+
- If evidence is missing or `no_ship=true`, call `reject_goal_todo_claim` or `block_goal_todo` unless parent review explicitly accepts the advisory risk.
|
|
175
|
+
|
|
176
|
+
If a high/xhigh/max TODO-linked child determines the TODO is too broad for its scope/context, or discovers safe completion requires multiple agents/parallel writable leaves, it may return a split request instead of a poor completion:
|
|
177
|
+
|
|
178
|
+
```text
|
|
179
|
+
TODO_SPLIT_REQUEST.v1
|
|
180
|
+
|
|
181
|
+
todo_id: <id>
|
|
182
|
+
reason: <why this exceeds child scope/context>
|
|
183
|
+
recommended_action: split | replan | factory | needs_user | blocked
|
|
184
|
+
proposed_subtodos:
|
|
185
|
+
- <bounded child TODO title>
|
|
186
|
+
risk_level: low | medium | high
|
|
187
|
+
validation_plan:
|
|
188
|
+
- <expected evidence or command>
|
|
189
|
+
evidence: <why this split request is justified>
|
|
190
|
+
risks_blockers: <unresolved risks, or none>
|
|
191
|
+
compliance: parent-owned split request only; no child dispatch or parent TODO mutation
|
|
192
|
+
no_ship: false
|
|
193
|
+
FINAL_MARKER: TODO_SPLIT_REQUEST_END
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Parent action after a split request:
|
|
197
|
+
|
|
198
|
+
- validate output contract, depth/fanout caps, scope, no_ship, and relevance;
|
|
199
|
+
- apply `split_goal_todo` only from the parent;
|
|
200
|
+
- assign one writable owner per new leaf and record owned/write paths plus read-across refs;
|
|
201
|
+
- mark the original parent TODO skipped/decomposed only after child TODOs are created;
|
|
202
|
+
- never let the child directly split, dispatch, or complete the parent TODO.
|
|
203
|
+
|
|
204
|
+
## Completion gate checklist
|
|
205
|
+
|
|
206
|
+
Before calling `propose_goal_completion`, verify:
|
|
207
|
+
|
|
208
|
+
- `get_goal_todos.details.completion_ready` is true and `effective_no_ship` is false;
|
|
209
|
+
- all required TODOs are `done` or `skipped` with explicit reason; critical/delegated/factory/orchestration skips also cite evidence refs or validation commands;
|
|
210
|
+
- no required TODO is `planned`, `ready`, `in_progress`, `delegated`, `claim_returned`, `needs_user`, `needs_oracle`, or `blocked`;
|
|
211
|
+
- critical/delegated TODOs have evidence refs or validation commands;
|
|
212
|
+
- factory/orchestration TODOs cite validation/sentinel/checkpoint artifacts when relevant;
|
|
213
|
+
- known risks are included in the completion proposal;
|
|
214
|
+
- no hard or unresolved review no-ship blocker remains (`hard_no_ship=false`, `review_no_ship=false`, `effective_no_ship=false`).
|
|
215
|
+
|
|
216
|
+
If any item fails, continue work or report the blocker instead of proposing completion.
|
|
217
|
+
|
|
218
|
+
## HUD guidance
|
|
219
|
+
|
|
220
|
+
HUD should show compact summary, not the whole tree:
|
|
221
|
+
|
|
222
|
+
```text
|
|
223
|
+
runtime goal active · loop on 2/12 · oracle none
|
|
224
|
+
todos 5/12 · active 2 · blocked 1 · delegated 3
|
|
225
|
+
next agent 1.2 add reducer · next user 3 confirm UX
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Use detailed commands/overlay for the full tree.
|
|
229
|
+
|
|
230
|
+
## Coms and Mission Control safety
|
|
231
|
+
|
|
232
|
+
For TODO-linked communication:
|
|
233
|
+
|
|
234
|
+
- use `taskId=todoId`;
|
|
235
|
+
- use `taskHash` and `outputHash`;
|
|
236
|
+
- use safe repo-relative `artifactRefs`;
|
|
237
|
+
- keep `bodyStored=false`;
|
|
238
|
+
- keep command proposals parent-owned and proposal-only;
|
|
239
|
+
- never target direct worker writes from Mission Control.
|
|
240
|
+
|
|
241
|
+
## Factory/orchestration evidence
|
|
242
|
+
|
|
243
|
+
When TODOs represent factories/orchestrations/chains, reference existing artifacts instead of duplicating bodies:
|
|
244
|
+
|
|
245
|
+
- `reports/factory-runs/<runId>/validation.json`
|
|
246
|
+
- `reports/factory-runs/<runId>/checkpoints/*.checkpoint.json`
|
|
247
|
+
- `reports/factory-runs/<runId>/DONE.sentinel`
|
|
248
|
+
- `reports/orchestrations/<runId>/orchestration-plan.json`
|
|
249
|
+
- `reports/orchestrations/<runId>/status.jsonl`
|
|
250
|
+
- `reports/chains/<runId>/chain-plan.json`
|
|
251
|
+
|
|
252
|
+
## Implementation advice
|
|
253
|
+
|
|
254
|
+
The harness implements the core phases. For future changes, preserve the phased safety model:
|
|
255
|
+
|
|
256
|
+
1. Flat TODOs attached to `/goal`.
|
|
257
|
+
2. HUD summary and prompt injection.
|
|
258
|
+
3. Completion blocker in `propose_goal_completion`.
|
|
259
|
+
4. Tree/subtodos.
|
|
260
|
+
5. Delegated TODO claims.
|
|
261
|
+
6. TODO overlay.
|
|
262
|
+
7. Adaptive delegation mapping.
|
|
263
|
+
8. Factory/orchestration/chain imports.
|
|
264
|
+
9. Mission Control/context/queue integrations.
|
|
265
|
+
|
|
266
|
+
Do not start with full X-depth delegation. First prove flat TODOs, restore, HUD, and completion blocking.
|
|
267
|
+
|
|
268
|
+
## Oracle review behavior
|
|
269
|
+
|
|
270
|
+
For oracle review of a goal with TODOs:
|
|
271
|
+
|
|
272
|
+
- inspect TODO summary;
|
|
273
|
+
- sample critical done TODO evidence;
|
|
274
|
+
- verify delegated claims were parent-accepted, not child-self-completed;
|
|
275
|
+
- verify required TODOs are closed;
|
|
276
|
+
- verify validation commands and sentinels exist when claimed;
|
|
277
|
+
- return PASS/WARN/FAIL and explicit `no_ship`.
|
|
278
|
+
|
|
279
|
+
Missing TODO evidence means WARN or FAIL, never PASS.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zob-harness
|
|
3
|
+
description: Use when working inside the ZOB Pi harness, designing agentic workflows, creating specialist prompts, adding Pi extensions, or turning repeated tasks into software factories.
|
|
4
|
+
---
|
|
5
|
+
# ZOB Harness Skill
|
|
6
|
+
|
|
7
|
+
## When to use
|
|
8
|
+
|
|
9
|
+
Use this skill for any task involving:
|
|
10
|
+
- Pi extensions, prompt templates, skills, or agent definitions.
|
|
11
|
+
- Multi-agent delegation workflows.
|
|
12
|
+
- Safety gates and damage-control policy.
|
|
13
|
+
- Software-factory design from repeated manual workflows.
|
|
14
|
+
- Runtime tool/command routing via `.pi/capabilities/zob-public-runtime-capabilities.json`.
|
|
15
|
+
|
|
16
|
+
For routing behavior, load `zob-tool-router` before non-trivial or tool-ambiguous work. For compaction/recovery behavior, load `zob-compaction-policy` before changing compaction hooks or resuming from a compacted long-running goal. For domain behavior, load the domain skill named by the registry instead of inlining details here: `zob-goal-todo-tree`, `zob-coms-v2-live`, `zob-coms-safety`, `zob-mission-control-coms`, `zob-autonomous-runtime`, `zob-factory`, `zob-sandbox`, `zob-oracle`, or `zob-spec` as applicable.
|
|
17
|
+
|
|
18
|
+
## Operating model
|
|
19
|
+
|
|
20
|
+
1. Classify the task as one of: `explore`, `plan`, `implement`, `oracle`, `factory`, `orchestrator`.
|
|
21
|
+
2. For non-trivial or tool-ambiguous work, apply `zob-tool-router`: classify applicable families, then use/delegate/skip each with a reason.
|
|
22
|
+
3. Use `orchestrator` when the task needs Chief Vision coordination, multi-agent decomposition, Lead/Worker routing, goal/TODO graph governance, or parent-owned dispatch; the root should delegate substantive work rather than do it directly.
|
|
23
|
+
4. Check `.pi/capabilities/zob-public-runtime-capabilities.json` for the relevant tool/command family, mode allowlist, skill refs, and no-ship notes.
|
|
24
|
+
5. If broad or risky, use the `delegate_agent` tool before editing.
|
|
25
|
+
6. For delegated work, use the six-part contract:
|
|
26
|
+
- TASK
|
|
27
|
+
- EXPECTED OUTCOME
|
|
28
|
+
- REQUIRED TOOLS
|
|
29
|
+
- MUST DO
|
|
30
|
+
- MUST NOT DO
|
|
31
|
+
- CONTEXT
|
|
32
|
+
7. For parallel owner micro-worker pools, split broad TODOs into owned leaves before dispatch; use `zob_worker_pool_plan`/`zob_worker_pool_status` only to create/read metadata-only owned/write/read-across coordination records, then dispatch actual children parent-owned through `delegate_task`/`delegate_agent` with explicit TODO linkage and repo-relative owned/write grants. `zob_worker_pool_owner_request`/`zob_worker_pool_owner_decision` record body-free Goal Room owner arbitration only; they never apply changes, mutate TODOs, or dispatch children.
|
|
33
|
+
8. Use Goal Room as the canonical parent-visible coordination record; ZPeer is transient/local and cannot replace typed decisions, evidence, or owner arbitration.
|
|
34
|
+
9. For code changes, verify with the smallest relevant command first.
|
|
35
|
+
10. End with evidence and a compliance line.
|
|
36
|
+
|
|
37
|
+
## Planning in auto-mode
|
|
38
|
+
|
|
39
|
+
When the user asks for a plan:
|
|
40
|
+
- Produce exactly one plan for the request.
|
|
41
|
+
- If you already produce the plan in the current response, do not emit a `mode="plan"` intent.
|
|
42
|
+
- Emit a `mode="plan"` intent only when deliberately deferring the actual detailed plan to the next turn; keep that response to a short handoff.
|
|
43
|
+
- Never both: full plan content and `mode="plan"` intent in the same response.
|
|
44
|
+
- If a prior assistant response already contained a complete plan for the same request, do not restate it; summarize that the plan exists and ask whether to refine, save, or implement it.
|
|
45
|
+
- The harness may auto-capture complete plans into `plans/`; do not manually duplicate that artifact unless the user asks.
|
|
46
|
+
|
|
47
|
+
## Project files
|
|
48
|
+
|
|
49
|
+
- Extension: `.pi/extensions/zob-harness/index.ts`
|
|
50
|
+
- Agents: `.pi/agents/*.md`
|
|
51
|
+
- Prompt templates: `.pi/prompts/*.md`
|
|
52
|
+
- Capability registry: `.pi/capabilities/zob-public-runtime-capabilities.json`
|
|
53
|
+
- Damage rules: `.pi/damage-control-rules.json`
|
|
54
|
+
- Architecture docs: `docs/`
|
|
55
|
+
- Goal TODO tree plan: `docs/ZOB_GOAL_TODO_TREE_PLAN.md`
|
|
56
|
+
|
|
57
|
+
## Safety reminders
|
|
58
|
+
|
|
59
|
+
- Never read `.env` or secrets. Ask the user instead.
|
|
60
|
+
- Never run destructive git/shell commands without explicit approval.
|
|
61
|
+
- Do not commit unless explicitly requested.
|
|
62
|
+
- Delegation/orchestration `allowed_paths` are repo-relative-only grants; do not use absolute/home/traversal/broad-root paths. Represent external context through repo-local `reports/...` snapshots or `context_ref` artifacts. `forbidden_paths` stay deny-only and may use specific absolute/home patterns when safe.
|
|
63
|
+
- Stop-on-blocker: when a human-decision blocker is already visible on a paused goal (score >=90, no `nextAgent`), report once and wait for `/goal resume` or `resume_goal`; do not repeat the ask, redispatch, auto-resume, or bypass oracle/no_ship/evidence gates.
|
|
64
|
+
- Parallel owner pools are supervised: worker-pool tools are metadata/coordination only; actual worker launch remains parent-owned through delegation tools. No child-spawns-child, no child parent-TODO mutation, no direct main-workspace apply/merge, no stale/offline delivery success, and no completion without validation/oracle evidence when required.
|
|
65
|
+
|
|
66
|
+
## Bash timeouts
|
|
67
|
+
|
|
68
|
+
Every `bash` call MUST set a `timeout` scaled to the action (small reads/greps: ~5-30 s; repo-wide greps/finds: ~60 s; npm/build/install: ~300 s). On timeout, first narrow the command (scope, glob, depth); only retry with a larger timeout when the narrow form is correct but genuinely slow, and stay reasonable — never set `timeout: 0`.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zob-mission-control-coms
|
|
3
|
+
description: Use when reading or controlling ZOB coms from Mission Control, including live presence, stale peers, command proposals, and oracle/no-ship review.
|
|
4
|
+
---
|
|
5
|
+
# ZOB Mission Control Coms Skill
|
|
6
|
+
|
|
7
|
+
## When to use
|
|
8
|
+
|
|
9
|
+
Use for:
|
|
10
|
+
- `zob_mission_control_snapshot` interpretation;
|
|
11
|
+
- `zob_coms_readiness` review;
|
|
12
|
+
- live peer online/stale/offline diagnosis;
|
|
13
|
+
- command proposal creation;
|
|
14
|
+
- oracle/no-ship communication reviews.
|
|
15
|
+
|
|
16
|
+
## MUST DO
|
|
17
|
+
|
|
18
|
+
- Read Mission Control as metadata-only.
|
|
19
|
+
- Use `zob_mission_control_snapshot` for queue/runs/coms/live presence overview.
|
|
20
|
+
- Use `zob_coms_readiness` before approving coms changes.
|
|
21
|
+
- Use `zob_mission_control_propose_command` for pause/resume/replan/request_oracle/stop/approve.
|
|
22
|
+
- Treat direct worker command targets as blocked.
|
|
23
|
+
- Escalate stale/offline peers as blockers or replan candidates.
|
|
24
|
+
- Verify `proposalOnly=true`, `directWorkerWrites=false`, `transportDispatch=false` for dashboard commands.
|
|
25
|
+
|
|
26
|
+
## MUST NOT
|
|
27
|
+
|
|
28
|
+
- Do not dispatch worker writes from Mission Control.
|
|
29
|
+
- Do not override topology or stale/no-ship gates.
|
|
30
|
+
- Do not store raw rationale or command body; use hashes and artifact refs.
|
|
31
|
+
- Do not use dashboard state as proof of task completion unless live response/output hash exists.
|
|
32
|
+
|
|
33
|
+
## Operator checklist
|
|
34
|
+
|
|
35
|
+
1. Snapshot shows live presence and no direct writes.
|
|
36
|
+
2. Readiness PASS.
|
|
37
|
+
3. No stale/offline peer counted as success.
|
|
38
|
+
4. Command is proposal-only.
|
|
39
|
+
5. Oracle/no-ship gates remain enforceable.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zob-oracle
|
|
3
|
+
description: Use for skeptical validation, no-ship decisions, evidence gates, final reports, and regression/security reviews.
|
|
4
|
+
---
|
|
5
|
+
# ZOB Oracle Skill
|
|
6
|
+
|
|
7
|
+
## When to use
|
|
8
|
+
|
|
9
|
+
Use before marking work complete, before pilot/batch, before sandbox writes are applied, and before enabling any autonomous path.
|
|
10
|
+
|
|
11
|
+
## Gate rules
|
|
12
|
+
|
|
13
|
+
- Lead with PASS / WARN / FAIL.
|
|
14
|
+
- `no_ship=true` blocks completion.
|
|
15
|
+
- Missing evidence means WARN or FAIL, never PASS.
|
|
16
|
+
- Oracle/security roles must not be downgraded silently.
|
|
17
|
+
- Final reports must include evidence refs, blockers, and no-ship decision.
|
|
18
|
+
|
|
19
|
+
## Safety
|
|
20
|
+
|
|
21
|
+
Oracle is read-only by default. It may inspect artifacts and commands/logs, but does not patch.
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zob-owner-pool-drill-writer
|
|
3
|
+
description: Use when the owner gives a plain-language intention and wants it rewritten into a safe, copy-pasteable ZOB parallel owner micro-worker pool drill or execution prompt.
|
|
4
|
+
---
|
|
5
|
+
# ZOB Owner Pool Drill Writer Skill
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
Use this skill to turn a short owner ask into a complete ZOB parallel owner micro-worker pool prompt. The owner may write only a few plain-language notes; the assistant expands them into a structured, safe drill with objective, assumptions, path grants, worker assignments, phases, owner arbitration, validation, metadata audit, and result contract.
|
|
10
|
+
|
|
11
|
+
This skill writes prompts only. It does not dispatch workers, apply changes, mutate TODOs, commit, or enable autonomous production writes.
|
|
12
|
+
|
|
13
|
+
## Lightweight intake form
|
|
14
|
+
|
|
15
|
+
Ask for missing details only when they change safety. Otherwise use the defaults.
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
1. Objective: [what should the worker pool accomplish?]
|
|
19
|
+
2. Source/read paths: [default: ask owner; never assume broad repo access]
|
|
20
|
+
3. Desired outputs: [default: reports/proposals only]
|
|
21
|
+
4. Workers: [default: 3 micro-workers: mapper, implementer/planner, oracle]
|
|
22
|
+
5. Write mode: [default: reports-only]
|
|
23
|
+
- reports-only: workers may write only report/proposal artifacts
|
|
24
|
+
- source-write: requires explicit owner request plus sandbox/merge/oracle gates
|
|
25
|
+
6. Validation commands: [default: narrowest relevant read/check command; if unknown, ask]
|
|
26
|
+
7. Time/scale: [default: one bounded slice, no batch scaling]
|
|
27
|
+
8. Special constraints: [forbidden paths, no-ship gates, human decisions]
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Defaults
|
|
31
|
+
|
|
32
|
+
- Mode: `reports-only`.
|
|
33
|
+
- Dispatch: parent-owned only.
|
|
34
|
+
- Coordination record: Goal Room is canonical.
|
|
35
|
+
- Peer/live chatter: ZPeer is transient only and cannot replace typed Goal Room decisions or evidence.
|
|
36
|
+
- Worker policy: no child-spawns-child; no child mutates parent TODOs; no direct main-workspace apply/merge.
|
|
37
|
+
- Persistence: no raw body persistence in coordination metadata; use body-free summaries, hashes, paths, and evidence refs.
|
|
38
|
+
- Writes: read-across/write-by-owner. Workers can read cited context, but only the owning worker may propose or perform writes within granted owned paths.
|
|
39
|
+
- Source writes: prohibited unless the owner explicitly requests `source-write` and the generated prompt states sandbox, merge, rollback, validation, oracle, and human approval gates.
|
|
40
|
+
- Git: no commits, pushes, tags, staging, or direct git state changes unless separately authorized by governed ZOB commit policy.
|
|
41
|
+
|
|
42
|
+
## Conversion procedure
|
|
43
|
+
|
|
44
|
+
1. Extract the owner intent into one sentence: `OBJECTIVE`.
|
|
45
|
+
2. Identify concrete `READ_PATHS`, `OWNED_PATHS`, and `OUTPUT_PATHS`. If paths are absent, use placeholders and ask the owner to fill them.
|
|
46
|
+
3. Choose worker roles. Prefer small, bounded micro-workers:
|
|
47
|
+
- Mapper: inventories relevant files/artifacts and creates a path/evidence map.
|
|
48
|
+
- Planner or Implementer: drafts the proposed changes or performs the bounded owned slice.
|
|
49
|
+
- Oracle: checks safety, evidence, validation, and no-ship conditions.
|
|
50
|
+
Add workers only when the objective has clearly separable owned paths.
|
|
51
|
+
4. Choose mode:
|
|
52
|
+
- `reports-only` for exploration, planning, audits, prompts, specs, and proposals.
|
|
53
|
+
- `source-write-gated` only when explicitly requested.
|
|
54
|
+
5. Generate a copy-pasteable prompt using the template below.
|
|
55
|
+
6. End with a strict result contract so downstream agents return comparable evidence.
|
|
56
|
+
|
|
57
|
+
## Copy-paste template
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
ORIGINAL_OWNER_ASK: [paste the owner’s plain-language request]
|
|
61
|
+
|
|
62
|
+
1. TASK: Run a bounded ZOB parallel owner micro-worker pool drill for [OBJECTIVE].
|
|
63
|
+
2. EXPECTED OUTCOME: [observable deliverable: report/proposal/diff candidate/validation verdict], with evidence and no auto-apply.
|
|
64
|
+
3. REQUIRED TOOLS: [list allowed tools only; default: read, grep, find, ls, bash, write/edit only for allowed report paths]
|
|
65
|
+
4. MUST DO:
|
|
66
|
+
- Keep this to one bounded slice: [SCOPE].
|
|
67
|
+
- Use Goal Room as the canonical coordination record; ZPeer is transient only.
|
|
68
|
+
- Use parent-owned dispatch only; workers must not spawn children.
|
|
69
|
+
- Enforce read-across/write-by-owner.
|
|
70
|
+
- Persist no raw message bodies in metadata; use paths, hashes, summaries, and evidence refs.
|
|
71
|
+
- Default to reports-only outputs under [OUTPUT_PATHS].
|
|
72
|
+
- Record owner requests for any cross-owner or source-write need; decisions are metadata only and never auto-apply.
|
|
73
|
+
- Run validation commands: [VALIDATION_COMMANDS].
|
|
74
|
+
- Produce a metadata audit: worker IDs/roles, owned paths, read paths, outputs, evidence refs, validation results, no-ship status.
|
|
75
|
+
5. MUST NOT DO:
|
|
76
|
+
- Do not commit, push, tag, stage, or alter git state.
|
|
77
|
+
- Do not read/write secrets or forbidden paths: [FORBIDDEN_PATHS].
|
|
78
|
+
- Do not write source files unless source-write is explicitly requested and sandbox/merge/oracle/human gates are stated.
|
|
79
|
+
- Do not count append-only or stale/offline records as delivery success.
|
|
80
|
+
- Do not auto-apply, auto-merge, or claim autonomous production readiness.
|
|
81
|
+
6. CONTEXT:
|
|
82
|
+
- Objective: [OBJECTIVE]
|
|
83
|
+
- Assumptions: [ASSUMPTIONS]
|
|
84
|
+
- Read paths: [READ_PATHS]
|
|
85
|
+
- Owned/write paths: [OWNED_PATHS]
|
|
86
|
+
- Output paths: [OUTPUT_PATHS]
|
|
87
|
+
- Write mode: [reports-only | source-write-gated]
|
|
88
|
+
|
|
89
|
+
WORKER ASSIGNMENTS:
|
|
90
|
+
- Worker A / Mapper:
|
|
91
|
+
- Owns: [owned report path]
|
|
92
|
+
- Reads: [read paths]
|
|
93
|
+
- Produces: path map, risk map, evidence refs.
|
|
94
|
+
- Worker B / [Planner or Implementer]:
|
|
95
|
+
- Owns: [owned report or sandbox path]
|
|
96
|
+
- Reads: [read paths]
|
|
97
|
+
- Produces: [proposal, patch plan, or sandbox diff candidate].
|
|
98
|
+
- Worker C / Oracle:
|
|
99
|
+
- Owns: [oracle report path]
|
|
100
|
+
- Reads: Worker A/B outputs and validation logs.
|
|
101
|
+
- Produces: PASS/WARN/FAIL, no_ship flag, evidence gaps, merge/apply blockers.
|
|
102
|
+
|
|
103
|
+
PHASES:
|
|
104
|
+
1. Intake and scope lock: confirm objective, paths, mode, forbidden paths, and validation.
|
|
105
|
+
2. Metadata setup: create/read only body-free coordination records; no raw body persistence.
|
|
106
|
+
3. Parallel work: workers operate only within owned grants; read-across is read-only.
|
|
107
|
+
4. Owner arbitration: cross-owner/source-write requests must be explicit typed requests and parent decisions.
|
|
108
|
+
5. Validation: run [VALIDATION_COMMANDS] or report why not feasible.
|
|
109
|
+
6. Oracle review: verify evidence, safety rules, and no-ship status.
|
|
110
|
+
7. Final synthesis: summarize outputs, evidence, risks, and exact next owner decision.
|
|
111
|
+
|
|
112
|
+
RESULT CONTRACT:
|
|
113
|
+
- gap_verdict: SUFFICIENT or GAP, with exact missing behavior if GAP
|
|
114
|
+
- worker_outputs: paths and one-line summaries
|
|
115
|
+
- validation_commands: exact commands run, or not run with reason
|
|
116
|
+
- results: exact outcomes
|
|
117
|
+
- metadata_audit: workers, owned paths, read paths, output paths, owner requests/decisions, hashes/evidence refs
|
|
118
|
+
- no_ship: true/false with reason
|
|
119
|
+
- risks/blockers: unresolved risks
|
|
120
|
+
- compliance: Goal Room canonical, ZPeer transient, parent-owned dispatch, no child-spawns-child, read-across/write-by-owner, no raw body persistence, no auto-apply, no commits
|
|
121
|
+
- deliverable_delivered: yes/no
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Example 1: reports-only full drill
|
|
125
|
+
|
|
126
|
+
Owner writes:
|
|
127
|
+
|
|
128
|
+
```text
|
|
129
|
+
Je veux que plusieurs workers analysent notre workflow ProjectDNA et me sortent un plan clair, sans modifier le code.
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Generated prompt:
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
ORIGINAL_OWNER_ASK: Je veux que plusieurs workers analysent notre workflow ProjectDNA et me sortent un plan clair, sans modifier le code.
|
|
136
|
+
|
|
137
|
+
1. TASK: Run a bounded ZOB parallel owner micro-worker pool drill to analyze the ProjectDNA workflow and produce a clear reports-only improvement plan.
|
|
138
|
+
2. EXPECTED OUTCOME: Report artifacts with workflow map, improvement plan, oracle review, validation evidence, and no source changes.
|
|
139
|
+
3. REQUIRED TOOLS: read, grep, find, ls, bash, write.
|
|
140
|
+
4. MUST DO:
|
|
141
|
+
- Keep this to one bounded ProjectDNA workflow analysis slice.
|
|
142
|
+
- Use Goal Room as the canonical coordination record; ZPeer is transient only.
|
|
143
|
+
- Use parent-owned dispatch only; workers must not spawn children.
|
|
144
|
+
- Enforce read-across/write-by-owner.
|
|
145
|
+
- Persist no raw message bodies in metadata; use paths, hashes, summaries, and evidence refs.
|
|
146
|
+
- Write only reports under `reports/project-dna-owner-pool-drill/`.
|
|
147
|
+
- Run validation commands: `npm run validate:project-dna` if feasible.
|
|
148
|
+
- Produce a metadata audit with workers, paths, outputs, evidence refs, validation results, and no-ship status.
|
|
149
|
+
5. MUST NOT DO:
|
|
150
|
+
- Do not edit source files, prompts, existing skills, docs, package files, or registry.
|
|
151
|
+
- Do not commit, push, tag, stage, or alter git state.
|
|
152
|
+
- Do not read/write secrets, `.env`, keys, `~/.ssh`, `~/.aws`, `node_modules`, `dist`, `build`, or `.git`.
|
|
153
|
+
- Do not auto-apply or claim autonomous production readiness.
|
|
154
|
+
6. CONTEXT:
|
|
155
|
+
- Objective: Analyze the ProjectDNA workflow and produce a clear plan.
|
|
156
|
+
- Assumptions: Reports-only; no code changes.
|
|
157
|
+
- Read paths: `.pi/factories/project-dna`, `.pi/skills/zob-project-dna/SKILL.md`, relevant package scripts.
|
|
158
|
+
- Owned/write paths: `reports/project-dna-owner-pool-drill/worker-a-map.md`, `worker-b-plan.md`, `worker-c-oracle.md`.
|
|
159
|
+
- Output paths: `reports/project-dna-owner-pool-drill/`.
|
|
160
|
+
- Write mode: reports-only.
|
|
161
|
+
|
|
162
|
+
WORKER ASSIGNMENTS:
|
|
163
|
+
- Worker A / Mapper: produce workflow/path/evidence map.
|
|
164
|
+
- Worker B / Planner: produce improvement plan and owner decision points.
|
|
165
|
+
- Worker C / Oracle: review evidence, safety, validation, and no-ship status.
|
|
166
|
+
|
|
167
|
+
PHASES: intake and scope lock; body-free metadata setup; parallel reports-only work; owner arbitration for any cross-owner need; validation; oracle review; final synthesis.
|
|
168
|
+
|
|
169
|
+
RESULT CONTRACT:
|
|
170
|
+
- gap_verdict
|
|
171
|
+
- worker_outputs
|
|
172
|
+
- validation_commands
|
|
173
|
+
- results
|
|
174
|
+
- metadata_audit
|
|
175
|
+
- no_ship
|
|
176
|
+
- risks/blockers
|
|
177
|
+
- compliance
|
|
178
|
+
- deliverable_delivered: yes/no
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Example 2: source-write plan remains gated/sandboxed
|
|
182
|
+
|
|
183
|
+
Owner writes:
|
|
184
|
+
|
|
185
|
+
```text
|
|
186
|
+
Je veux que les workers préparent une petite correction dans le runtime, mais je veux valider avant que ça touche le repo.
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Generated prompt:
|
|
190
|
+
|
|
191
|
+
```text
|
|
192
|
+
ORIGINAL_OWNER_ASK: Je veux que les workers préparent une petite correction dans le runtime, mais je veux valider avant que ça touche le repo.
|
|
193
|
+
|
|
194
|
+
1. TASK: Run a bounded ZOB parallel owner micro-worker pool drill to prepare a gated sandbox source-write correction plan for the specified runtime issue.
|
|
195
|
+
2. EXPECTED OUTCOME: Sandbox diff candidate plus validation and oracle reports; no main-workspace apply unless the owner later approves through explicit merge gates.
|
|
196
|
+
3. REQUIRED TOOLS: read, grep, find, ls, bash, write, edit only inside the declared sandbox/allowed paths.
|
|
197
|
+
4. MUST DO:
|
|
198
|
+
- Ask the owner to specify the exact runtime issue and allowed source paths before any source-write work.
|
|
199
|
+
- Use Goal Room as the canonical coordination record; ZPeer is transient only.
|
|
200
|
+
- Use parent-owned dispatch only; workers must not spawn children.
|
|
201
|
+
- Enforce read-across/write-by-owner.
|
|
202
|
+
- Work in a sandbox/temp workspace or explicit quarantine path, not direct main-workspace source files.
|
|
203
|
+
- Record diff hash, changed paths, rollback notes, validation logs, and oracle verdict.
|
|
204
|
+
- Treat owner merge approval as a later separate decision; this prompt does not auto-apply.
|
|
205
|
+
5. MUST NOT DO:
|
|
206
|
+
- Do not write directly to main-workspace runtime files.
|
|
207
|
+
- Do not commit, push, tag, stage, or alter git state.
|
|
208
|
+
- Do not read/write secrets, `.env`, keys, `~/.ssh`, `~/.aws`, `node_modules`, `dist`, `build`, or `.git`.
|
|
209
|
+
- Do not auto-merge, auto-apply, or claim autonomous production readiness.
|
|
210
|
+
6. CONTEXT:
|
|
211
|
+
- Objective: Prepare a small runtime correction candidate for owner review.
|
|
212
|
+
- Assumptions: Source-write is gated and sandboxed only.
|
|
213
|
+
- Read paths: [owner fills exact runtime paths].
|
|
214
|
+
- Owned/write paths: [sandbox/quarantine paths only].
|
|
215
|
+
- Output paths: [sandbox diff report, validation log, oracle report].
|
|
216
|
+
- Write mode: source-write-gated.
|
|
217
|
+
|
|
218
|
+
WORKER ASSIGNMENTS:
|
|
219
|
+
- Worker A / Mapper: inspect allowed runtime paths and identify minimal change surface.
|
|
220
|
+
- Worker B / Sandbox Implementer: create only the sandbox diff candidate and rollback notes.
|
|
221
|
+
- Worker C / Oracle: review diff hash, validation logs, safety gates, and no-ship status.
|
|
222
|
+
|
|
223
|
+
PHASES: owner path confirmation; sandbox setup; parallel read/planning; sandbox-only implementation; validation; oracle review; owner merge decision request.
|
|
224
|
+
|
|
225
|
+
RESULT CONTRACT:
|
|
226
|
+
- gap_verdict
|
|
227
|
+
- worker_outputs
|
|
228
|
+
- validation_commands
|
|
229
|
+
- results
|
|
230
|
+
- metadata_audit
|
|
231
|
+
- no_ship
|
|
232
|
+
- risks/blockers
|
|
233
|
+
- compliance
|
|
234
|
+
- deliverable_delivered: yes/no
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
## Refusal and clarification triggers
|
|
238
|
+
|
|
239
|
+
Refuse or ask for clarification instead of generating a runnable drill when:
|
|
240
|
+
|
|
241
|
+
- The owner asks for commits, pushes, tags, secret access, destructive commands, or broad unbounded writes.
|
|
242
|
+
- The owner requests source writes but gives no path boundaries or rejects sandbox/oracle gates.
|
|
243
|
+
- The prompt would require child-spawns-child, auto-apply, raw body persistence, or treating non-live append-only records as delivery success.
|
|
244
|
+
- The objective is too broad to be one bounded slice.
|