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,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "todo-claim-validation.v1",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"description": "Oracle validation of a returned /goal TODO claim; parent runtime may auto-accept only on PASS/no_ship=false.",
|
|
5
|
+
"required": [
|
|
6
|
+
{ "name": "deliverable_delivered", "type": "section_or_marker" },
|
|
7
|
+
{ "name": "evidence", "type": "section_or_marker" },
|
|
8
|
+
{ "name": "todo_id", "type": "field" },
|
|
9
|
+
{ "name": "claim_hash", "type": "field" },
|
|
10
|
+
{ "name": "verdict", "type": "enum", "values": ["PASS", "WARN", "FAIL"] },
|
|
11
|
+
{ "name": "recommended_action", "type": "enum", "values": ["accept_claim", "needs_review", "reject_claim", "block"] },
|
|
12
|
+
{ "name": "evidence_refs", "type": "section_or_marker" },
|
|
13
|
+
{ "name": "validation_commands", "type": "section_or_marker" },
|
|
14
|
+
{ "name": "blocking_issues", "type": "section_or_marker" },
|
|
15
|
+
{ "name": "risks_blockers", "type": "section_or_marker" },
|
|
16
|
+
{ "name": "no_ship", "type": "field" },
|
|
17
|
+
{ "name": "confidence", "type": "enum", "values": ["LOW", "MEDIUM", "HIGH"] },
|
|
18
|
+
{ "name": "compliance", "type": "section_or_marker" },
|
|
19
|
+
{ "name": "final_marker", "type": "literal" }
|
|
20
|
+
],
|
|
21
|
+
"final_marker": "FINAL_MARKER: TODO_CLAIM_VALIDATION_END"
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "todo-split-request.v1",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"description": "Parent-owned /goal TODO split/replan request output contract.",
|
|
5
|
+
"required": [
|
|
6
|
+
{ "name": "deliverable_delivered", "type": "section_or_marker" },
|
|
7
|
+
{ "name": "evidence", "type": "section_or_marker" },
|
|
8
|
+
{ "name": "todo_id", "type": "field" },
|
|
9
|
+
{ "name": "reason", "type": "section_or_marker" },
|
|
10
|
+
{ "name": "recommended_action", "type": "enum", "values": ["split", "replan", "factory", "needs_user", "blocked"] },
|
|
11
|
+
{ "name": "proposed_subtodos", "type": "section_or_marker" },
|
|
12
|
+
{ "name": "risk_level", "type": "enum", "values": ["low", "medium", "high"] },
|
|
13
|
+
{ "name": "validation_plan", "type": "section_or_marker" },
|
|
14
|
+
{ "name": "risks_blockers", "type": "section_or_marker" },
|
|
15
|
+
{ "name": "no_ship", "type": "field" },
|
|
16
|
+
{ "name": "compliance", "type": "section_or_marker" },
|
|
17
|
+
{ "name": "final_marker", "type": "literal" }
|
|
18
|
+
],
|
|
19
|
+
"final_marker": "FINAL_MARKER: TODO_SPLIT_REQUEST_END plus deliverable_delivered: no"
|
|
20
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# ZOB Adaptive Workflow Runtime Prompt
|
|
2
|
+
|
|
3
|
+
Use this prompt template for `/zmode orchestrator` planning when the root agent acts as **Chief Vision**.
|
|
4
|
+
|
|
5
|
+
## Root posture
|
|
6
|
+
|
|
7
|
+
- You are Chief Vision: coordinate, plan, route, verify, and arbitrate.
|
|
8
|
+
- You do **not** code directly: no direct edit/write/patch/commit/destructive shell.
|
|
9
|
+
- Implementation happens through bounded workers, sandbox/write gates, and parent-owned dispatch.
|
|
10
|
+
|
|
11
|
+
## Tool routing
|
|
12
|
+
|
|
13
|
+
Before building lanes or dispatching, apply `.pi/skills/zob-tool-router/SKILL.md` for non-trivial or tool-ambiguous work:
|
|
14
|
+
|
|
15
|
+
1. classify the request and selected mode;
|
|
16
|
+
2. identify relevant families: goal/TODO, delegation, orchestration, compute, context/ProjectDNA, factory, coms/goal-room, workspace/merge, autonomous-runtime, oracle;
|
|
17
|
+
3. use, delegate, or explicitly skip each applicable family with a reason;
|
|
18
|
+
4. load domain skills from the registry instead of inlining every tool's docs;
|
|
19
|
+
5. preserve the smallest sufficient tool set and all parent-owned gates.
|
|
20
|
+
|
|
21
|
+
## Required runtime inputs
|
|
22
|
+
|
|
23
|
+
Before dispatching or claiming readiness, establish:
|
|
24
|
+
|
|
25
|
+
1. active goal and TODO graph;
|
|
26
|
+
2. compute profile and caps;
|
|
27
|
+
3. prompt-policy and prompt-stack hashes;
|
|
28
|
+
4. model-policy by layer/agent;
|
|
29
|
+
5. scale-policy with waves, budget, stale/duplicate gates;
|
|
30
|
+
6. documentation-policy and guidance-index;
|
|
31
|
+
7. temp-agent policy if no existing agent fits;
|
|
32
|
+
8. oracle/sandbox/factory/Mission Control no-ship gates.
|
|
33
|
+
|
|
34
|
+
## Delegation policy
|
|
35
|
+
|
|
36
|
+
- Child-spawns-child is forbidden.
|
|
37
|
+
- Child-proposes-child is allowed only through governed requests.
|
|
38
|
+
- Parent/governor validates tools, paths, model class, output contract, fresh TODO id or visible `todo_path`, depth, fanout, budget, and evidence before dispatch.
|
|
39
|
+
- Before TODO-linked delegation, refresh the active TODO graph; use canonical active ids only when freshly verified, otherwise use `child_goal.todo_path` and let parent/runtime resolve it.
|
|
40
|
+
- Safe auto-open/delegation is limited to runtime-delegatable TODOs (`planned`, `ready`, `in_progress`, `needs_review`) with no active child/run; recover delegated/recovery leaves only when no active child/run owns them, and block active delegated leaf redelegation.
|
|
41
|
+
- Split-before-parallel: broad work or multiple agents require subtodos first; never place same-leaf parallel write workers on one TODO.
|
|
42
|
+
- XDEF/deeper decomposition remains parent-owned: children return split/governed proposals, and the parent applies subtodos and dispatches.
|
|
43
|
+
- Every message, delegation, blocker, claim, and evidence item should attach to a TODO node where goal TODOs are active.
|
|
44
|
+
|
|
45
|
+
## Documentation policy
|
|
46
|
+
|
|
47
|
+
- Do not load all docs into every agent.
|
|
48
|
+
- Route docs by role + layer + TODO + allowed paths + risk.
|
|
49
|
+
- Durable changes to AGENTS.md, rules, skills, prompts, agents, or factories are proposal-only until review/validation/approval.
|
|
50
|
+
|
|
51
|
+
## Stop-on-blocker policy
|
|
52
|
+
|
|
53
|
+
If runtime context already has a human-decision blocker recorded (score >=90, no `nextAgent`, goal paused, visible blocker), report it once and wait for `/goal resume` or `resume_goal`; do not repeat the ask, redispatch, auto-resume, or bypass oracle/no_ship/evidence gates.
|
|
54
|
+
|
|
55
|
+
## Completion policy
|
|
56
|
+
|
|
57
|
+
No completion unless:
|
|
58
|
+
|
|
59
|
+
- all required TODOs are done/skipped with evidence;
|
|
60
|
+
- no stale/offline/timeout success;
|
|
61
|
+
- validation commands passed;
|
|
62
|
+
- oracle PASS with no_ship=false;
|
|
63
|
+
- no sandbox/factory/promotion/approval gate remains open.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Route a supervised ZOB autonomous runtime dry-run, readonly smoke, or validation check
|
|
3
|
+
argument-hint: "<dry-run|readonly-smoke|validate-smoke|validate-run> <target/artifact>"
|
|
4
|
+
---
|
|
5
|
+
Switch to `/zmode factory` for dry-run/readonly smoke, or use an allowed validation mode for readonly validators.
|
|
6
|
+
|
|
7
|
+
Before calling tools, load `.pi/skills/zob-autonomous-runtime/SKILL.md` and check `.pi/capabilities/zob-public-runtime-capabilities.json` for modes, related skills, and no-ship notes.
|
|
8
|
+
|
|
9
|
+
Use the `zob_autonomous_*` family only for supervised evidence:
|
|
10
|
+
- `zob_autonomous_dry_run`: metadata/report generation only; no live/global routing or production writes.
|
|
11
|
+
- `zob_autonomous_readonly_smoke`: readonly reports smoke; no child dispatch, daemon, production writes, or global autonomy claim.
|
|
12
|
+
- `zob_autonomous_validate_smoke`: readonly smoke artifact validation.
|
|
13
|
+
- `zob_autonomous_validate_run`: readonly run artifact validation.
|
|
14
|
+
|
|
15
|
+
Do not claim global autonomy is complete without final E2E evidence and oracle PASS/no_ship=false.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Metadata template for a coding-agent benchmark contender
|
|
3
|
+
argument-hint: "<manifest> <contender-id>"
|
|
4
|
+
---
|
|
5
|
+
Use only after parent approval for a real benchmark run. For scaffold smoke, do not execute.
|
|
6
|
+
|
|
7
|
+
Required model for every contender: `model_profile: "gpt-5.5-xhigh"`, `model_display: "GPT 5.5 xhigh"`.
|
|
8
|
+
|
|
9
|
+
Contender IDs: `pi-baseline`, `zob-orchestration-full-auto`, `codex`.
|
|
10
|
+
|
|
11
|
+
Rules:
|
|
12
|
+
- Do not read secrets or forbidden paths.
|
|
13
|
+
- Do not mutate the source project.
|
|
14
|
+
- For the Dokploy pilot, preserve Docker Compose names marked `external: true` and suffix only internal resources/references in proposals.
|
|
15
|
+
- Record elapsed time, tokens, estimated cost, relevance, success, and safety compliance when real execution is approved.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Metadata template for the orchestrated coding-agent benchmark judge
|
|
3
|
+
argument-hint: "<manifest> <artifact-dir>"
|
|
4
|
+
---
|
|
5
|
+
Judge model: `model_profile: "gpt-5.5-xhigh"`, `model_display: "GPT 5.5 xhigh"`.
|
|
6
|
+
|
|
7
|
+
For smoke, judge scaffold metadata only; do not select a real winner. Keep `no_ship=true` for real benchmark claims until approved contender artifacts exist.
|
|
8
|
+
|
|
9
|
+
Evaluate approved artifacts on:
|
|
10
|
+
- elapsed time
|
|
11
|
+
- tokens
|
|
12
|
+
- estimated cost
|
|
13
|
+
- pertinence/relevance
|
|
14
|
+
- task success
|
|
15
|
+
- Docker Compose `external: true` preservation
|
|
16
|
+
- safety compliance
|
|
17
|
+
- evidence quality
|
|
18
|
+
|
|
19
|
+
Do not call external services, read secrets, mutate source projects, or auto-apply proposals.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ZOB /clarify-spec
|
|
2
|
+
|
|
3
|
+
Use this prompt after a draft spec when ambiguity, missing acceptance criteria, unclear scope, unsafe access, or contradictory goals could make planning unsafe.
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
1. TASK: Review the draft spec and decide whether planning is allowed.
|
|
7
|
+
2. EXPECTED OUTCOME: A clarification.v1 output with clarity_score, verdict, allow_plan, ambiguities, guided questions, assumptions, refined spec patch, and minimum_to_plan.
|
|
8
|
+
3. REQUIRED TOOLS: read, grep, find, ls
|
|
9
|
+
4. MUST DO:
|
|
10
|
+
- Stay read-only.
|
|
11
|
+
- Score clarity from 0 to 100.
|
|
12
|
+
- Return CLEAR, NEEDS_CLARIFICATION, or BLOCKED.
|
|
13
|
+
- Ask guided multiple-choice questions where useful.
|
|
14
|
+
- Set allow_plan=no if clarity_score < 70 or verdict BLOCKED.
|
|
15
|
+
5. MUST NOT DO:
|
|
16
|
+
- No edits, writes, commits, installs, browser/cloud actions, or secrets.
|
|
17
|
+
- Do not invent business rules.
|
|
18
|
+
- Do not authorize planning if acceptance criteria are not testable.
|
|
19
|
+
6. CONTEXT: Use the provided spec and relevant local docs/files only when needed. Output contract: clarification.v1.
|
|
20
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Turn a resolved ZOB compute profile into a bounded workflow shape and validation ladder.
|
|
3
|
+
argument-hint: "<compute-profile-resolution artifact>"
|
|
4
|
+
---
|
|
5
|
+
Load `.pi/skills/zob-compute-profile/SKILL.md` and read the compute profile resolution artifact.
|
|
6
|
+
|
|
7
|
+
For: $ARGUMENTS
|
|
8
|
+
|
|
9
|
+
Produce:
|
|
10
|
+
|
|
11
|
+
1. **Profile summary**
|
|
12
|
+
- requested profile;
|
|
13
|
+
- recommended profile;
|
|
14
|
+
- effective profile;
|
|
15
|
+
- caps and gates.
|
|
16
|
+
|
|
17
|
+
2. **Workflow shape**
|
|
18
|
+
- deterministic stages;
|
|
19
|
+
- optional parent-owned agent lanes;
|
|
20
|
+
- max depth and max parallel;
|
|
21
|
+
- validation level;
|
|
22
|
+
- oracle requirements.
|
|
23
|
+
|
|
24
|
+
3. **Escalation policy**
|
|
25
|
+
- when to ask for more compute;
|
|
26
|
+
- when to de-escalate;
|
|
27
|
+
- when to stop for budget/oracle/user approval.
|
|
28
|
+
|
|
29
|
+
4. **No-ship checks**
|
|
30
|
+
- cap violations;
|
|
31
|
+
- missing validation;
|
|
32
|
+
- missing oracle;
|
|
33
|
+
- raw body persistence;
|
|
34
|
+
- safety bypass.
|
|
35
|
+
|
|
36
|
+
Do not dispatch children directly from this prompt. Return a plan only unless the parent explicitly invokes tools.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Preview and resolve ZOB compute/effort profile for a task, factory, ProjectDNA run, or orchestration.
|
|
3
|
+
argument-hint: "<target path or task hash>"
|
|
4
|
+
---
|
|
5
|
+
Load `.pi/skills/zob-compute-profile/SKILL.md` and keep `docs/ZOB_COMPUTE_PROFILE_ROUTING_PLAN.md` in scope.
|
|
6
|
+
|
|
7
|
+
For: $ARGUMENTS
|
|
8
|
+
|
|
9
|
+
Output:
|
|
10
|
+
|
|
11
|
+
1. **Requested profile**
|
|
12
|
+
- `auto | low | medium | high | xhigh | max`
|
|
13
|
+
- optional max profile ceiling
|
|
14
|
+
- domain: `generic | project-dna | factory | orchestration`
|
|
15
|
+
|
|
16
|
+
2. **Preview inputs**
|
|
17
|
+
- target path metadata only, if any;
|
|
18
|
+
- task/spec hash, not raw prompt body;
|
|
19
|
+
- risk hints such as write/network/browser/cloud/durable/promotion;
|
|
20
|
+
- expected budget/oracle posture.
|
|
21
|
+
|
|
22
|
+
3. **Resolution**
|
|
23
|
+
- recommended profile;
|
|
24
|
+
- effective profile;
|
|
25
|
+
- hard caps for agents/depth/parallel/context/time/cost;
|
|
26
|
+
- oracle and strict-budget gates;
|
|
27
|
+
- blocked escalation if any.
|
|
28
|
+
|
|
29
|
+
4. **Safety constraints**
|
|
30
|
+
- no secrets;
|
|
31
|
+
- no child direct dispatch;
|
|
32
|
+
- no network by default;
|
|
33
|
+
- no source writes;
|
|
34
|
+
- no raw task/prompt/output body persistence;
|
|
35
|
+
- `max` requires explicit approval.
|
|
36
|
+
|
|
37
|
+
5. **Suggested command**
|
|
38
|
+
- For ProjectDNA smoke, prefer:
|
|
39
|
+
- `npm run preview:compute-profile:project-dna-smoke`
|
|
40
|
+
- `npm run validate:compute-profile:project-dna-smoke`
|
|
41
|
+
|
|
42
|
+
Final answer: effective profile, evidence refs, risks/blockers, compliance.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Six-part contract for a delegated agent task
|
|
3
|
+
argument-hint: "<task>"
|
|
4
|
+
---
|
|
5
|
+
1. TASK: $ARGUMENTS
|
|
6
|
+
2. EXPECTED OUTCOME: [observable artifact/verdict/change]
|
|
7
|
+
3. REQUIRED TOOLS: [allowed tools only]
|
|
8
|
+
4. MUST DO:
|
|
9
|
+
- Restate constraints before tool use.
|
|
10
|
+
- Inspect real current state before conclusions.
|
|
11
|
+
- Return concrete evidence.
|
|
12
|
+
5. MUST NOT DO:
|
|
13
|
+
- Do not read or write secrets.
|
|
14
|
+
- Do not run destructive commands.
|
|
15
|
+
- Do not commit unless explicitly requested.
|
|
16
|
+
6. CONTEXT:
|
|
17
|
+
- Paths:
|
|
18
|
+
- Prior evidence:
|
|
19
|
+
- Downstream use:
|
|
20
|
+
|
|
21
|
+
Structured `delegate_task` JSON uses canonical keys: `expected_outcome`, `required_tools`, `must_do`, `must_not_do`, `original_user_ask`, `allowed_paths`, `forbidden_paths`, `output_contract`, `run_in_background`, `child_goal`, `load_skills`. Safe aliases such as `expectedOutcome`, `mustDo`, `mustNotDo`/`must_not`/`mustNot`, `originalUserAsk`, `allowedPaths`, `forbiddenPaths`, `requiredTools`, `outputContract`, `runInBackground`, `childGoal`, and `loadSkills` are accepted only when they do not conflict with canonical values.
|
|
22
|
+
|
|
23
|
+
Omit delegation `model` overrides by default; use the parent/session default. An explicit `delegate_task.model` or `delegate_agent.model` is exceptional and requires current runtime availability/auth proof for the concrete provider/model. Desired, configured, or catalogued models are preferences only, not availability; if proof is missing, omit `model`.
|
|
24
|
+
|
|
25
|
+
`allowed_paths` must be repo-relative-only grants (no absolute paths, `~`, traversal, broad roots, or NUL). If a child needs external context, create or cite a repo-local snapshot/context_ref under `reports/...` and pass that repo-relative artifact. `forbidden_paths` are deny-only and may use specific repo-local, absolute, or home-relative patterns when safe.
|
|
26
|
+
|
|
27
|
+
TODO-linked `child_goal` rules: refresh active TODO refs before delegation; set `child_goal.todo_id` only to a freshly verified canonical active id such as `<canonical-active-todo-id>`; when not freshly verified, set `child_goal.todo_path` such as `<visible-todo-path>` instead of inventing shorthand ids. Safe auto-open/delegation is limited to `planned`, `ready`, `in_progress`, or `needs_review` TODOs with no active child/run. Children return claims or `TODO_SPLIT_REQUEST.v1`; they do not mutate parent TODOs, apply XDEF splits, or spawn child agents. Split broad/parallel work into subtodos before dispatch, and do not assign multiple same-leaf write workers.
|
|
28
|
+
|
|
29
|
+
Final answer must include: result, evidence, risks/blockers, compliance line, `deliverable_delivered: yes/no`.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Delegate read-only codebase exploration with a structured answer envelope
|
|
3
|
+
argument-hint: "<question or area>"
|
|
4
|
+
---
|
|
5
|
+
Use the `delegate_agent` tool with agent `explore` for this read-only reconnaissance.
|
|
6
|
+
|
|
7
|
+
Contract:
|
|
8
|
+
1. TASK: Explore $ARGUMENTS.
|
|
9
|
+
2. EXPECTED OUTCOME: `<files>`, `<answer>`, and `<next_steps>` with paths, key functions/signatures, and line refs where useful.
|
|
10
|
+
3. REQUIRED TOOLS: read, grep, find, ls, safe read-only bash.
|
|
11
|
+
4. MUST DO: Start with Literal Request / Actual Need / Success Looks Like. Mirror numbered questions. Trace orchestration/entry points if downstream intent requires it.
|
|
12
|
+
5. MUST NOT DO: No edits, no writes, no tests/builds unless explicitly allowed, no secrets.
|
|
13
|
+
6. CONTEXT: Use current repository and the user's downstream intent.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run a ZOB software factory with manifest/checkpoint/validation/sentinel artifacts
|
|
3
|
+
argument-hint: "<factory> <manifest>"
|
|
4
|
+
---
|
|
5
|
+
Switch to `/zmode factory` first.
|
|
6
|
+
|
|
7
|
+
Check `.pi/capabilities/zob-public-runtime-capabilities.json` for factory/autonomous tool routing. Use `factory_run` for manifest/checkpoint/sentinel factories; use `zob_autonomous_*` only with `.pi/skills/zob-autonomous-runtime/SKILL.md` for supervised dry-run, readonly smoke, or validation evidence.
|
|
8
|
+
|
|
9
|
+
Use the `factory_run` tool in smoke mode before any pilot/batch.
|
|
10
|
+
|
|
11
|
+
Recommended first run:
|
|
12
|
+
|
|
13
|
+
```json
|
|
14
|
+
{
|
|
15
|
+
"factory": "opencode-pattern-canonizer",
|
|
16
|
+
"input_manifest": ".pi/factories/opencode-pattern-canonizer/smoke-manifest.json",
|
|
17
|
+
"mode": "smoke",
|
|
18
|
+
"execution": "plan_only"
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Completion requires:
|
|
23
|
+
- `reports/factory-runs/<runId>/manifest.json`
|
|
24
|
+
- `ledger.jsonl`
|
|
25
|
+
- `checkpoints/`
|
|
26
|
+
- `outputs/`
|
|
27
|
+
- `validation.json` with passed status
|
|
28
|
+
- `final-report.md`
|
|
29
|
+
- `DONE.sentinel`
|
|
30
|
+
|
|
31
|
+
Execution modes:
|
|
32
|
+
- `plan_only`: inspect `agentic-plan.json` with no child-agent model calls and no sentinel.
|
|
33
|
+
- `deterministic`: local artifact generation with sentinel after validation.
|
|
34
|
+
- `agentic`: execute planned child-agent stages; currently smoke-only.
|
|
35
|
+
|
|
36
|
+
Do not scale beyond smoke until the sentinel and validation artifacts exist. Do not claim global autonomy from `zob_autonomous_dry_run` or `zob_autonomous_readonly_smoke`; final E2E evidence plus oracle PASS/no_ship=false is required.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design a software factory from a repeated manual workflow
|
|
3
|
+
argument-hint: "<workflow>"
|
|
4
|
+
---
|
|
5
|
+
Switch to `/zmode factory` if not already there.
|
|
6
|
+
|
|
7
|
+
Consult `.pi/capabilities/zob-public-runtime-capabilities.json` for factory, quarantine, and `zob_autonomous_*` routing. Apply `.pi/skills/zob-tool-router/SKILL.md` when the workflow touches autonomy, context, delegation, compute, oracle, workspace, or promotion gates. Load `.pi/skills/zob-autonomous-runtime/SKILL.md` for autonomous dry-run/readonly smoke/validation design, and keep those gates distinct from final E2E completion.
|
|
8
|
+
|
|
9
|
+
Design a reusable software factory for: $ARGUMENTS
|
|
10
|
+
|
|
11
|
+
Output:
|
|
12
|
+
1. Repeated workflow and target quality gate.
|
|
13
|
+
2. Tool routing summary: factory/autonomous/context/delegation/compute/oracle families selected or skipped with reasons.
|
|
14
|
+
3. Input contract and typed schema.
|
|
15
|
+
4. Pipeline stages: deterministic steps vs LLM enrichment.
|
|
16
|
+
5. Specialist agents and tool access.
|
|
17
|
+
6. Artifacts, manifests, sentinel files, and resume/checkpoint logic.
|
|
18
|
+
7. Pilot batch plan and scaling rules.
|
|
19
|
+
8. Pi resources to create: extension tools, prompt templates, skills, agent prompts, scripts.
|
|
20
|
+
9. Risks / anti-patterns from prior sessions that this factory prevents.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Implement one bounded slice with verify-before-change and final evidence
|
|
3
|
+
argument-hint: "<slice>"
|
|
4
|
+
---
|
|
5
|
+
Switch to `/zmode implement` if not already there.
|
|
6
|
+
|
|
7
|
+
Implement this bounded slice: $ARGUMENTS
|
|
8
|
+
|
|
9
|
+
Rules:
|
|
10
|
+
- Before editing, produce a sufficiency verdict: SUFFICIENT/no change or GAP/smallest file set.
|
|
11
|
+
- For non-trivial or tool-ambiguous slices, apply `.pi/skills/zob-tool-router/SKILL.md` briefly; use/delegate/skip applicable families and avoid heavy routing for small edits.
|
|
12
|
+
- Use surgical edits. No broad rewrites.
|
|
13
|
+
- In a parallel owner pool, edit only your owned/write paths; read-across sibling refs for context/evidence only. If you need another owner's path, send a typed owner request and wait for parent/owner decision.
|
|
14
|
+
- If running without harness tools/extensions, do not call Goal Room/ZPeer directly; emit a hash/body-free `OWNER_CHANGE_REQUEST.v1` final-output block (`requested_by`, `owner_worker`, `requested_paths`, `body_hash`, `change_hash`, `reason_hash`, optional `validation_plan_hash`, safe refs, `FINAL_MARKER: OWNER_CHANGE_REQUEST_END`) for the parent to extract with `zob_governed_request_extract`.
|
|
15
|
+
- Goal Room is canonical for owner requests, decisions, blockers, and evidence; ZPeer is transient clarification only and cannot replace parent-owned arbitration.
|
|
16
|
+
- No secrets. No destructive commands. No commits unless explicitly requested or governed autocommit is explicitly policy-authorized for this slice.
|
|
17
|
+
- If commit/push work is authorized, load `.pi/skills/zob-commit/SKILL.md` and `.pi/git-policy.json`, then use only governed `/zcommit` commands or the agent-executable `zob_zcommit_run` tool when the user explicitly asks the agent to commit/push; no aliases and no direct git commit/push/tag/force-push/bulk-stage commands.
|
|
18
|
+
- Verify with narrowest relevant checks first.
|
|
19
|
+
- Do not dispatch children, mutate parent TODOs, apply/merge to main workspace, or claim success from stale/offline coms.
|
|
20
|
+
- If a human-decision blocker is already recorded (score >=90, no `nextAgent`, paused goal, visible blocker), report it once and wait for `/goal resume`/`resume_goal`; do not repeat the ask, redispatch, auto-resume, or bypass oracle/no_ship/evidence gates.
|
|
21
|
+
|
|
22
|
+
Final answer:
|
|
23
|
+
- changed files
|
|
24
|
+
- verification commands/results
|
|
25
|
+
- unresolved risks
|
|
26
|
+
- compliance line
|
|
27
|
+
- deliverable_delivered: yes/no
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Update .pi/model-catalog.json from natural-language model preference instructions
|
|
3
|
+
argument-hint: "<natural language model preference/update>"
|
|
4
|
+
---
|
|
5
|
+
Switch to `/zmode implement` if not already there.
|
|
6
|
+
|
|
7
|
+
Update `.pi/model-catalog.json` from this natural-language request:
|
|
8
|
+
|
|
9
|
+
$ARGUMENTS
|
|
10
|
+
|
|
11
|
+
Purpose:
|
|
12
|
+
- Maintain the human preference catalog used before ZOB child-agent delegation.
|
|
13
|
+
- Translate natural language into safe structured model preferences.
|
|
14
|
+
- Keep `.pi/model-routing.json` as the source of model classes; do not enable live/global routing.
|
|
15
|
+
|
|
16
|
+
Required context to read first:
|
|
17
|
+
- `.pi/model-catalog.json`
|
|
18
|
+
- `.pi/model-routing.json`
|
|
19
|
+
- `.pi/skills/zob-delegation-routing/SKILL.md` if delegation behavior is relevant
|
|
20
|
+
|
|
21
|
+
Allowed edits:
|
|
22
|
+
- `.pi/model-catalog.json` only, unless the user explicitly asks to change the command/validator itself.
|
|
23
|
+
|
|
24
|
+
Interpretation rules:
|
|
25
|
+
- A model key is a Pi `--model` pattern, e.g. `anthropic/claude-sonnet-4-5`, `sonnet:high`, `openrouter/anthropic/claude-3.5-sonnet`, or another user-provided pattern.
|
|
26
|
+
- Do not invent credentials, provider setup, or exact model IDs. If the user gives only a vague family name, store it as an unverified candidate or ask one concise clarification if it would become a default.
|
|
27
|
+
- Map intent to existing classes only: `cheap_scout`, `balanced_worker`, `strong_reasoning`, `strong_oracle`, `high_context`.
|
|
28
|
+
- If the user says a model is preferred/default for a class, add it to the front of that `classDefaults[class]` array and remove duplicates.
|
|
29
|
+
- If the user says a model should not be used for a class/agent, add/update `avoidFor` or `agentPreferences.<agent>.avoid`; do not silently delete evidence notes.
|
|
30
|
+
- Oracle/security downgrade is forbidden: never make a weak/cheap/experimental model the only `strong_oracle` or high-risk security default unless the user explicitly states it is strong enough for oracle/security.
|
|
31
|
+
- Summarize long natural language into `whyWeLikeIt`, `bestFor`, `avoidFor`, and `notes`; do not paste raw prompt bodies.
|
|
32
|
+
- Preserve existing unknown fields when possible.
|
|
33
|
+
|
|
34
|
+
Model entry shape:
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"label": "Human label",
|
|
38
|
+
"status": "candidate|preferred|fallback|disabled",
|
|
39
|
+
"resolutionStatus": "verified|unverified|needs_user",
|
|
40
|
+
"classes": ["balanced_worker"],
|
|
41
|
+
"whyWeLikeIt": "Short human reason.",
|
|
42
|
+
"bestFor": ["implementation"],
|
|
43
|
+
"avoidFor": ["oracle_final_security"],
|
|
44
|
+
"costTier": "unknown|free|low|medium|high",
|
|
45
|
+
"qualityTier": "unknown|experimental|reliable|strong",
|
|
46
|
+
"contextWindow": 128000,
|
|
47
|
+
"notes": ["Optional short note."],
|
|
48
|
+
"lastUpdated": "YYYY-MM-DD"
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Safety rules:
|
|
53
|
+
- Never store API keys, auth headers, tokens, passwords, private keys, environment secret values, or provider secrets.
|
|
54
|
+
- Do not read or write secret files or home credential directories.
|
|
55
|
+
- Do not edit user-level Pi provider/model configuration; if provider/model installation is needed, tell the user to configure Pi models separately.
|
|
56
|
+
- Do not enable `liveRoutingEnabled`, `modelRouterUsed`, `routingApplied`, or `childDispatchAllowed`.
|
|
57
|
+
|
|
58
|
+
Validation:
|
|
59
|
+
- Run `npm run validate:model-catalog`.
|
|
60
|
+
- If TypeScript/package changes were made, also run `npm run check -- --pretty false`.
|
|
61
|
+
|
|
62
|
+
Final answer:
|
|
63
|
+
- changed files
|
|
64
|
+
- concise summary of catalog changes
|
|
65
|
+
- validation commands/results
|
|
66
|
+
- any model IDs still unverified or needing user confirmation
|
|
67
|
+
- compliance line
|
|
68
|
+
- deliverable_delivered: yes/no
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Update .pi/model-economy.json from natural-language cost/quality policy instructions
|
|
3
|
+
argument-hint: "<natural language compute/model economy update>"
|
|
4
|
+
---
|
|
5
|
+
Switch to `/zmode implement` if not already there.
|
|
6
|
+
|
|
7
|
+
Update `.pi/model-economy.json` from this natural-language request:
|
|
8
|
+
|
|
9
|
+
$ARGUMENTS
|
|
10
|
+
|
|
11
|
+
Purpose:
|
|
12
|
+
- Maintain the policy connecting `/compute` profiles (`low`, `medium`, `high`, `xhigh`, `max`) to model classes and cost/quality gates.
|
|
13
|
+
- Keep `.pi/model-routing.json` as the source of model classes.
|
|
14
|
+
- Keep `.pi/model-catalog.json` as the source of concrete model IDs and human preference notes.
|
|
15
|
+
- Do not enable live/global model routing.
|
|
16
|
+
|
|
17
|
+
Required context to read first:
|
|
18
|
+
- `.pi/model-economy.json`
|
|
19
|
+
- `.pi/model-catalog.json`
|
|
20
|
+
- `.pi/model-routing.json`
|
|
21
|
+
- `.pi/compute-profiles/defaults.json`
|
|
22
|
+
|
|
23
|
+
Allowed edits:
|
|
24
|
+
- `.pi/model-economy.json` only, unless the user explicitly asks to change the command/validator itself.
|
|
25
|
+
|
|
26
|
+
Interpretation rules:
|
|
27
|
+
- Translate natural language like "low = cheap everywhere" or "medium = strong orchestrator, cheap workers" into `profiles.<profile>.roleClasses`, `preferCostTier`, and quality gates.
|
|
28
|
+
- Allowed compute profiles only: `low`, `medium`, `high`, `xhigh`, `max`.
|
|
29
|
+
- Allowed model classes only: `cheap_scout`, `balanced_worker`, `strong_reasoning`, `strong_oracle`, `high_context`.
|
|
30
|
+
- Role class intent:
|
|
31
|
+
- `root`, `orchestrator`, `lead`, `planner`: coordination/planning model class.
|
|
32
|
+
- `scout`: read-only exploration/recon class.
|
|
33
|
+
- `worker`, `implementer`, `qa`: ordinary sub-agent work classes.
|
|
34
|
+
- `oracle`: final validation/no-ship class.
|
|
35
|
+
- `security`: security/high-risk reasoning class.
|
|
36
|
+
- `high_context`: large context/lots of files class.
|
|
37
|
+
- Cost tiers: `free`, `low`, `medium`, `high`.
|
|
38
|
+
- Quality tiers: `unknown`, `experimental`, `reliable`, `strong`.
|
|
39
|
+
- Status values: `preferred`, `fallback`, `candidate`, `disabled`.
|
|
40
|
+
- For `low`, cheap defaults are fine for scouts/simple workers, but oracle/security must not be downgraded.
|
|
41
|
+
- For `medium`, prefer strong coordination/oracle with cheaper scouts and balanced workers.
|
|
42
|
+
- For `high` and above, require verified/reliable defaults unless the user explicitly asks for candidate experimentation.
|
|
43
|
+
- For `max`, keep `requireVerified=true`, `requireStrongQuality=true`, and `allowUnverified=false`.
|
|
44
|
+
- Preserve existing unknown fields when possible.
|
|
45
|
+
|
|
46
|
+
Safety rules:
|
|
47
|
+
- Never store API keys, auth headers, tokens, passwords, private keys, environment secret values, or provider secrets.
|
|
48
|
+
- Do not read or write secret files or home credential directories.
|
|
49
|
+
- Do not edit user-level Pi provider/model configuration; if provider/model installation is needed, tell the user to configure Pi models separately.
|
|
50
|
+
- Do not enable `liveRoutingEnabled`, `modelRouterUsed`, `routingApplied`, `childDispatchAllowed`, `budgetEnforced`, or `strictEnabled`.
|
|
51
|
+
- Never downgrade `oracle` below `strong_oracle` or `security` below `strong_reasoning`.
|
|
52
|
+
|
|
53
|
+
Validation:
|
|
54
|
+
- Run `npm run validate:model-economy`.
|
|
55
|
+
- If `.pi/model-catalog.json` was also changed, run `npm run validate:model-catalog`.
|
|
56
|
+
- If TypeScript/package changes were made, also run `npm run check -- --pretty false`.
|
|
57
|
+
|
|
58
|
+
Final answer:
|
|
59
|
+
- changed files
|
|
60
|
+
- concise summary of economy policy changes
|
|
61
|
+
- validation commands/results
|
|
62
|
+
- any unresolved model/profile ambiguity
|
|
63
|
+
- compliance line
|
|
64
|
+
- deliverable_delivered: yes/no
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Merge multiple oracle/QA verdicts into global PASS/FAIL/WARN and no-ship decision
|
|
3
|
+
argument-hint: "<oracle outputs>"
|
|
4
|
+
---
|
|
5
|
+
Use `delegate_task` with agent `oracle-merge`.
|
|
6
|
+
|
|
7
|
+
1. TASK: Merge these oracle/QA verdicts: $ARGUMENTS
|
|
8
|
+
2. EXPECTED OUTCOME: global PASS/FAIL/WARN, confidence, no_ship, blockers, non-blocking notes, evidence, merged lanes, next steps, compliance, deliverable_delivered.
|
|
9
|
+
3. REQUIRED TOOLS: read, grep, find, ls, safe read-only bash.
|
|
10
|
+
4. MUST DO:
|
|
11
|
+
- Treat critical FAIL as global FAIL.
|
|
12
|
+
- Treat missing evidence as WARN.
|
|
13
|
+
- Cite lane evidence.
|
|
14
|
+
5. MUST NOT DO:
|
|
15
|
+
- No patches.
|
|
16
|
+
- No commits.
|
|
17
|
+
- No secret reads.
|
|
18
|
+
6. CONTEXT: Current ZOB flow uses oracle-merge as the final gate before claiming success.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run skeptical read-only PASS/FAIL/WARN review via oracle agent
|
|
3
|
+
argument-hint: "<thing to review>"
|
|
4
|
+
---
|
|
5
|
+
Use `delegate_agent` with agent `oracle` to review: $ARGUMENTS
|
|
6
|
+
|
|
7
|
+
Review contract:
|
|
8
|
+
1. TASK: Skeptically verify the claim/change/plan.
|
|
9
|
+
2. EXPECTED OUTCOME: PASS / FAIL / WARN with confidence, blockers, non-blocking notes, evidence, next steps.
|
|
10
|
+
3. REQUIRED TOOLS: read, grep, find, ls, safe read-only bash.
|
|
11
|
+
4. MUST DO: Cite concrete evidence and check prior failure modes.
|
|
12
|
+
5. MUST NOT DO: No patches, no commits, no secret access.
|
|
13
|
+
6. CONTEXT: Include current user-provided claim, changed files, and verification logs if available.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Chief Vision non-coding orchestration mode
|
|
3
|
+
argument-hint: "<goal>"
|
|
4
|
+
---
|
|
5
|
+
Switch to `/zmode orchestrator` if not already there.
|
|
6
|
+
|
|
7
|
+
Use the ZOB adaptive workflow / Chief Vision posture for: $ARGUMENTS
|
|
8
|
+
|
|
9
|
+
Root constraints:
|
|
10
|
+
- Govern goals, TODOs, routing, delegation, evidence, blockers, and completion gates.
|
|
11
|
+
- Do not edit, write, patch, commit, or perform worker implementation directly.
|
|
12
|
+
- For substantive exploration, implementation, QA, security review, documentation production, or oracle judgment, create/delegate a bounded subtask.
|
|
13
|
+
- Default orchestration execution is `plan_only`; escalate only through explicit parent/oracle gates.
|
|
14
|
+
|
|
15
|
+
Orchestrator loop:
|
|
16
|
+
1. Scope
|
|
17
|
+
- Restate the original user ask, success criteria, non-goals, constraints, and no-ship risks.
|
|
18
|
+
- Create or align a runtime goal/TODO graph only when the work is broad, delegated, or evidence-gated.
|
|
19
|
+
2. Tool routing
|
|
20
|
+
- Apply `.pi/skills/zob-tool-router/SKILL.md` for non-trivial or tool-ambiguous work.
|
|
21
|
+
- Identify applicable families: goal/TODO, delegation, orchestration, compute, context/ProjectDNA, factory, coms/goal-room, workspace/merge, autonomous-runtime, and oracle.
|
|
22
|
+
- For each applicable family, choose use, delegate, or skip with a reason; keep the smallest sufficient tool set.
|
|
23
|
+
3. Workgraph
|
|
24
|
+
- Split work into bounded lanes/TODOs and assign parent, subagent, oracle, factory, orchestration, or user ownership.
|
|
25
|
+
- For parallel or too-large work, split the parent TODO into subtodos before dispatch; do not run multiple write workers on the same leaf TODO.
|
|
26
|
+
- For parallel owner pools, define owned/write paths, read-across refs, validation expectations, owner request protocol, and oracle/merge gates per leaf.
|
|
27
|
+
- Use `zob_worker_pool_plan` to record body-free pool assignment metadata and `zob_worker_pool_status` to inspect conflicts/status; these tools only coordinate metadata and never dispatch children, mutate TODOs, apply changes, or store raw prompt/task/output/diff bodies.
|
|
28
|
+
- Enforce read-across/write-by-owner: sibling workers may inspect cited refs but cannot edit another owner's paths without a typed owner request and parent/owner decision.
|
|
29
|
+
- Treat XDEF/deeper decomposition as parent-owned: children may return `TODO_SPLIT_REQUEST.v1` or governed proposals, but only the parent applies subtodos/dispatches.
|
|
30
|
+
- Keep child dispatch parent-owned; child-proposes-child goes through governed requests only.
|
|
31
|
+
4. Dispatch
|
|
32
|
+
- Before TODO-linked delegation, refresh active TODO refs; pass a canonical active `child_goal.todo_id` only when freshly verified, otherwise pass visible `child_goal.todo_path` for parent/runtime resolution.
|
|
33
|
+
- Safe auto-open/delegation is allowed only for runtime-delegatable TODOs (`planned`, `ready`, `in_progress`, `needs_review`) with no active child/run; stale delegated/recovery leaves may be recovered only when no active child/run owns them, otherwise block/review instead of redelegating.
|
|
34
|
+
- Delegate substantive work with six-part contracts and explicit allowed/forbidden paths; include owned/write paths and read-across refs when dispatching a pool. Actual child dispatch remains parent-owned through `delegate_task`/`delegate_agent`; worker-pool plan/status records are not launches.
|
|
35
|
+
- Omit `delegate_task.model`/`delegate_agent.model` by default so children use the parent/session default. Set an explicit model override only with current runtime availability/auth proof for the concrete provider/model; desired, configured, or catalogued models are preferences, not availability. If proof is missing, omit `model`.
|
|
36
|
+
- Keep `allowed_paths` repo-relative only; never pass external absolute/home paths to children. Use repo-local `reports/...` snapshots or `context_ref` artifacts for external context. Keep `forbidden_paths` deny-only.
|
|
37
|
+
- Prefer `orchestrate_run` for multi-agent Lead/Worker decomposition and `delegate_task`/`delegate_agent` for bounded specialist work.
|
|
38
|
+
- Use Goal Room as canonical for pool owner requests/decisions, blockers, and evidence. Prefer `zob_worker_pool_owner_request`/`zob_worker_pool_owner_decision` for body-free owner arbitration metadata; approval means parent/owner handling eligibility only, not apply/merge or child launch. For `--no-extensions` children, accept a final-output `OWNER_CHANGE_REQUEST.v1` block and run `zob_governed_request_extract` from the parent to append canonical `OWNER_CHANGE_REQUEST` metadata only. ZPeer is optional transient local clarification only; do not treat ZPeer/free chat as delivery, decision, or merge evidence.
|
|
39
|
+
5. Evidence
|
|
40
|
+
- Require concrete file refs, command names/results, reports, sentinels, or oracle verdicts.
|
|
41
|
+
- Attach evidence to TODOs; planned orchestration is not completed implementation.
|
|
42
|
+
6. Blockers
|
|
43
|
+
- Block or ask the user when evidence, permissions, scope, or safety input is missing.
|
|
44
|
+
- If a human-decision blocker is already recorded (score >=90, no `nextAgent`, goal paused, visible blocker), report once and wait for `/goal resume`/`resume_goal`; do not repeat the ask or redispatch.
|
|
45
|
+
- Do not guess, self-approve risky escalation, or claim success from stale/offline/timeout signals.
|
|
46
|
+
7. Completion
|
|
47
|
+
- Close TODOs only with evidence.
|
|
48
|
+
- Propose completion only when required TODOs are done/skipped, validations passed, blockers are resolved, and oracle PASS/no_ship=false is available when required.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run parallel code/goal/security/QA reviews through specialist agents
|
|
3
|
+
argument-hint: "<artifact or change>"
|
|
4
|
+
---
|
|
5
|
+
Use `delegate_agent` in parallel mode for: $ARGUMENTS
|
|
6
|
+
|
|
7
|
+
Suggested tasks:
|
|
8
|
+
- oracle: goal-fit review with PASS/FAIL/WARN and blockers.
|
|
9
|
+
- oracle: security/safety review with trust-boundary and secret-handling checks.
|
|
10
|
+
- qa: executable verification plan or targeted smoke checks.
|
|
11
|
+
- explore: context map for any uncertain subsystem.
|
|
12
|
+
|
|
13
|
+
Each child must use the six-part contract and return concrete evidence. Parent must synthesize only after all results arrive.
|
|
14
|
+
|
|
15
|
+
Parallel owner-pool review rules:
|
|
16
|
+
- Split writable work by owner before dispatch; reviewers may read across all cited artifacts, but write-capable workers edit only owned paths.
|
|
17
|
+
- Use `zob_worker_pool_plan`/`zob_worker_pool_status` for metadata-only/body-free pool assignment and conflict records; these tools do not dispatch children, mutate TODOs, apply writes, or store raw prompt/task/output/diff bodies.
|
|
18
|
+
- Actual child dispatch remains parent-owned through `delegate_task`/`delegate_agent` with six-part contracts, explicit TODO linkage, repo-relative owned/write `allowed_paths`, safe `forbidden_paths`, and read-across refs.
|
|
19
|
+
- Use Goal Room and `zob_worker_pool_owner_request`/`zob_worker_pool_owner_decision` for typed owner requests, decisions, blockers, and evidence refs. ZPeer may clarify live questions but is transient and not canonical.
|
|
20
|
+
- Parent owns arbitration: accept/deny owner requests, resolve conflicts, decide merge queue entries, and request oracle review.
|
|
21
|
+
- No-ship on raw body persistence, hidden free chat, peer writes, stale/offline success, direct main-workspace apply, missing validation, or missing oracle for risky/conflicting changes.
|