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,695 @@
|
|
|
1
|
+
import { StringEnum } from "@earendil-works/pi-ai";
|
|
2
|
+
import { Type } from "typebox";
|
|
3
|
+
|
|
4
|
+
import { ProjectDnaReadinessParams, ProjectDnaPlanWorkflowParams, ProjectDnaQueryParams, ProjectDnaFederatedQueryParams, ProjectDnaWritebackProposalParams } from "./schemas-project-dna.js";
|
|
5
|
+
|
|
6
|
+
const AgentScopeSchema = StringEnum(["project", "user", "both"] as const, {
|
|
7
|
+
description: "Which agent catalog to use. Default: project.",
|
|
8
|
+
default: "project",
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
const ThinkingLevelSchema = StringEnum(["low", "medium", "high", "xhigh"] as const, {
|
|
12
|
+
description: "Optional explicit child reasoning effort override. Defaults remain agent/session-configured when omitted.",
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
const AgenticClaimValidationParams = Type.Object({
|
|
16
|
+
mode: Type.Optional(StringEnum(["off", "oracle_then_auto_accept"] as const, { description: "Agentic validation mode for TODO-linked child claims. Default off for compatibility." })),
|
|
17
|
+
oracle_agent: Type.Optional(Type.String({ description: "Oracle agent to validate returned claim. Default oracle." })),
|
|
18
|
+
auto_accept_on_pass: Type.Optional(Type.Boolean({ description: "Auto-accept the returned TODO claim after oracle PASS/no_ship=false and strict claim gates. Default true when mode=oracle_then_auto_accept." })),
|
|
19
|
+
output_contract: Type.Optional(Type.String({ description: "Oracle validation output contract. Default todo-claim-validation.v1." })),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const ChildGoalParams = Type.Object({
|
|
23
|
+
enabled: Type.Optional(Type.Boolean({ description: "Enable parent-owned child goal guidance for long delegated tasks. Default true when child_goal is provided." })),
|
|
24
|
+
objective: Type.String({ description: "Child goal objective to pursue inside the delegated task." }),
|
|
25
|
+
todo_id: Type.Optional(Type.String({ description: "Parent-owned /goal TODO id this child should work on. Prefer the canonical id from get_goal_todos; unique visible paths and legacy todo_<path> shorthands are resolved to the active canonical id when possible." })),
|
|
26
|
+
parent_todo_id: Type.Optional(Type.String({ description: "Parent TODO id for the delegated TODO, if any." })),
|
|
27
|
+
todo_path: Type.Optional(Type.String({ description: "Human-readable TODO tree path, e.g. 1.2. If todo_id is omitted, a unique active todo_path can be resolved to the canonical TODO id." })),
|
|
28
|
+
delegation_depth: Type.Optional(Type.Integer({ description: "Parent-owned delegation depth for TODO-linked child work.", minimum: 0 })),
|
|
29
|
+
request_id: Type.Optional(Type.String({ description: "Adaptive delegation request id when this child is dispatched from a governor decision." })),
|
|
30
|
+
oracle_required: Type.Optional(Type.Boolean({ description: "Whether parent/oracle review is required before accepting the child goal. Default true." })),
|
|
31
|
+
max_turns: Type.Optional(Type.Integer({ description: "Advisory maximum child continuation turns for future parent-managed loops.", minimum: 1 })),
|
|
32
|
+
max_tokens: Type.Optional(Type.Integer({ description: "Advisory maximum child tokens for future parent-managed loops.", minimum: 1 })),
|
|
33
|
+
completion_policy: Type.Optional(StringEnum(["return_claim", "oracle_before_complete"] as const, { description: "How the child should exit. P0 supports return_claim only; parent/oracle decides completion." })),
|
|
34
|
+
agentic_validation: Type.Optional(AgenticClaimValidationParams),
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
const TaskItem = Type.Object({
|
|
38
|
+
agent: Type.String({ description: "Specialist agent name" }),
|
|
39
|
+
task: Type.String({ description: "Six-part task contract or focused prompt" }),
|
|
40
|
+
cwd: Type.Optional(Type.String({ description: "Override cwd for this child Pi process" })),
|
|
41
|
+
thinking: Type.Optional(ThinkingLevelSchema),
|
|
42
|
+
child_goal: Type.Optional(ChildGoalParams),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
const DelegateParams = Type.Object({
|
|
46
|
+
agent: Type.Optional(Type.String({ description: "Agent name for single-agent mode" })),
|
|
47
|
+
task: Type.Optional(Type.String({ description: "Task for single-agent mode" })),
|
|
48
|
+
tasks: Type.Optional(Type.Array(TaskItem, { description: "Parallel tasks. Max 8, 4 concurrent." })),
|
|
49
|
+
chain: Type.Optional(Type.Array(TaskItem, { description: "Sequential chain. {previous} is replaced by prior output." })),
|
|
50
|
+
scope: Type.Optional(AgentScopeSchema),
|
|
51
|
+
model: Type.Optional(Type.String({ description: "Exceptional explicit model override for all delegated children. Normally omit to use the parent/session default. Use only with current runtime availability/auth proof for the concrete provider/model; desired/configured/catalogued models are not availability proof." })),
|
|
52
|
+
thinking: Type.Optional(ThinkingLevelSchema),
|
|
53
|
+
tools: Type.Optional(Type.String({ description: "Override comma-separated tool allowlist for all children. Must be a subset of the selected agent tools." })),
|
|
54
|
+
child_goal: Type.Optional(ChildGoalParams),
|
|
55
|
+
allowed_paths: Type.Optional(Type.Array(Type.String(), { description: "Repo-relative-only paths delegated children may inspect/change. Absolute, home, traversal, broad-root, and NUL paths are rejected; use repo-local reports/... snapshot/context_ref artifacts for external context. Required when effective tools include edit/write." })),
|
|
56
|
+
forbidden_paths: Type.Optional(Type.Array(Type.String(), { description: "Deny-only path patterns delegated children must not touch. May be repo-local, absolute, or home-relative; broad roots are rejected." })),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
const DelegationCatalogParams = Type.Object({
|
|
60
|
+
scope: Type.Optional(AgentScopeSchema),
|
|
61
|
+
include_contract_requirements: Type.Optional(Type.Boolean({ description: "Include required marker names for each valid output contract. Default false for compact routing." })),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
const DelegateTaskParams = Type.Object({
|
|
65
|
+
agent: Type.String({ description: "Specialist agent name" }),
|
|
66
|
+
task: Type.String({ description: "Atomic task statement" }),
|
|
67
|
+
expected_outcome: Type.Optional(Type.String({ description: "Canonical observable artifact, verdict, or change. Required after safe alias normalization." })),
|
|
68
|
+
expectedOutcome: Type.Optional(Type.String({ description: "Safe alias for expected_outcome. Conflicts with canonical values are blocked before child launch." })),
|
|
69
|
+
required_tools: Type.Optional(Type.Array(Type.String(), { description: "Optional tool subset for this task. Normally omit; the harness infers the selected agent's declared tools. Only set to narrow tools, never to add tools not listed by zob_delegation_catalog." })),
|
|
70
|
+
requiredTools: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for required_tools. Conflicts with canonical values are blocked before child launch." })),
|
|
71
|
+
must_do: Type.Optional(Type.Array(Type.String(), { description: "Canonical positive constraints. Required after safe alias normalization." })),
|
|
72
|
+
mustDo: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for must_do. Conflicts with canonical values are blocked before child launch." })),
|
|
73
|
+
must_not_do: Type.Optional(Type.Array(Type.String(), { description: "Canonical hard stops. Required after safe alias normalization." })),
|
|
74
|
+
mustNotDo: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for must_not_do. Conflicts with canonical values are blocked before child launch." })),
|
|
75
|
+
must_not: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for must_not_do. Conflicts with canonical values are blocked before child launch." })),
|
|
76
|
+
mustNot: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for must_not_do. Conflicts with canonical values are blocked before child launch." })),
|
|
77
|
+
context: Type.String({ description: "Paths, prior evidence, downstream use" }),
|
|
78
|
+
original_user_ask: Type.Optional(Type.String({ description: "Original human request for scope anchoring. Required for write-enabled delegate_task calls when effective tools include edit/write; context text does not satisfy the strict write preflight gate." })),
|
|
79
|
+
originalUserAsk: Type.Optional(Type.String({ description: "Safe alias for original_user_ask. Conflicts with canonical values are blocked before child launch." })),
|
|
80
|
+
allowed_paths: Type.Optional(Type.Array(Type.String(), { description: "Repo-relative-only paths this task is allowed to inspect/change; external context must be represented by repo-local reports/... snapshot/context_ref refs" })),
|
|
81
|
+
allowedPaths: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for allowed_paths. Conflicts with canonical values are blocked before child launch; values must remain repo-relative only." })),
|
|
82
|
+
forbidden_paths: Type.Optional(Type.Array(Type.String(), { description: "Deny-only path patterns this task must not touch. May be repo-local, absolute, or home-relative; broad roots are rejected." })),
|
|
83
|
+
forbiddenPaths: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for forbidden_paths. Conflicts with canonical values are blocked before child launch." })),
|
|
84
|
+
output_contract: Type.Optional(Type.String({ description: "Optional exact output contract id. Normally omit; the harness infers it from agent. If uncertain, call zob_delegation_catalog first. Do not invent ids." })),
|
|
85
|
+
outputContract: Type.Optional(Type.String({ description: "Safe alias for output_contract. Conflicts with canonical values are blocked before child launch." })),
|
|
86
|
+
child_goal: Type.Optional(ChildGoalParams),
|
|
87
|
+
childGoal: Type.Optional(ChildGoalParams),
|
|
88
|
+
run_in_background: Type.Optional(Type.Boolean({ description: "Run this delegate_task in active-session background when enabled by parent. Returns runId immediately; no daemon/auto-start.", default: false })),
|
|
89
|
+
runInBackground: Type.Optional(Type.Boolean({ description: "Safe alias for run_in_background. Conflicts with canonical values are blocked before child launch." })),
|
|
90
|
+
load_skills: Type.Optional(Type.Array(Type.String(), { description: "Reserved skill list. Default empty." })),
|
|
91
|
+
loadSkills: Type.Optional(Type.Array(Type.String(), { description: "Safe alias for load_skills; still reserved by the P0 gate when non-empty." })),
|
|
92
|
+
cwd: Type.Optional(Type.String({ description: "Override cwd for this child Pi process. Must stay inside repo." })),
|
|
93
|
+
scope: Type.Optional(AgentScopeSchema),
|
|
94
|
+
model: Type.Optional(Type.String({ description: "Exceptional explicit model override for this child. Normally omit to use the parent/session default. Use only with current runtime availability/auth proof for the concrete provider/model; desired/configured/catalogued models are not availability proof." })),
|
|
95
|
+
thinking: Type.Optional(ThinkingLevelSchema),
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
const DelegationRunParams = Type.Object({
|
|
99
|
+
run_id: Type.String({ description: "Delegation run id returned by delegate_task/delegate_agent." }),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
const AwaitDelegationRunParams = Type.Object({
|
|
103
|
+
run_id: Type.String({ description: "Delegation run id returned by a background delegate_task." }),
|
|
104
|
+
timeout_ms: Type.Optional(Type.Number({ description: "Bounded await timeout in milliseconds. Capped by runtime; brief caps at 30s, long_idle caps at 300s." })),
|
|
105
|
+
wait_mode: Type.Optional(StringEnum(["brief", "long_idle"] as const, { description: "Wait behavior. brief preserves the short bounded wait for quick checks; long_idle is a passive bounded wait for parents that want to idle longer without polling. No daemon or wakeup is started.", default: "brief" })),
|
|
106
|
+
include_result: Type.Optional(Type.Boolean({ description: "Include the full child result on completion. Set false for compact status/hash metadata only. Default true for compatibility." })),
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
const BudgetCapsParams = Type.Object({
|
|
110
|
+
maxCostUsd: Type.Optional(Type.Number({ description: "Maximum allowed cost in USD for strict budget gate evaluation." })),
|
|
111
|
+
maxRuns: Type.Optional(Type.Number({ description: "Maximum allowed child/run count for strict budget gate evaluation." })),
|
|
112
|
+
maxDurationMs: Type.Optional(Type.Number({ description: "Maximum allowed duration in milliseconds for strict budget gate evaluation." })),
|
|
113
|
+
maxParallelChildren: Type.Optional(Type.Number({ description: "Maximum allowed parallel child count for strict budget gate evaluation." })),
|
|
114
|
+
strictEnabled: Type.Optional(Type.Boolean({ description: "Explicitly enable strict budget dispatch blocking for this run. Default false." })),
|
|
115
|
+
strictRequested: Type.Optional(Type.Boolean({ description: "Record that strict budget behavior was requested. Does not block unless strictEnabled=true." })),
|
|
116
|
+
estimatedCostUsd: Type.Optional(Type.Number({ description: "Estimated cost in USD used by strict budget dispatch gate." })),
|
|
117
|
+
estimatedRuns: Type.Optional(Type.Number({ description: "Estimated child/run count used by strict budget dispatch gate." })),
|
|
118
|
+
estimatedDurationMs: Type.Optional(Type.Number({ description: "Estimated duration in milliseconds used by strict budget dispatch gate." })),
|
|
119
|
+
estimatedParallelChildren: Type.Optional(Type.Number({ description: "Estimated parallel children used by strict budget dispatch gate." })),
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
const ModelRoutingParams = Type.Object({
|
|
123
|
+
enabled: Type.Optional(Type.Boolean({ description: "Explicitly enable per-run model-class routing for agentic factory child dispatch. Default false." })),
|
|
124
|
+
modelByClass: Type.Optional(Type.Record(Type.String(), Type.String(), { description: "Optional model override by model class. Values are passed to child dispatch only when routing is enabled." })),
|
|
125
|
+
risk: Type.Optional(StringEnum(["low", "medium", "high"] as const, { description: "Optional risk hint for routing." })),
|
|
126
|
+
contextTokens: Type.Optional(Type.Number({ description: "Optional context-token estimate for high-context routing." })),
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
const ComputeProfileEnum = StringEnum(["auto", "low", "medium", "high", "xhigh", "max"] as const, {
|
|
130
|
+
description: "Requested compute/effort profile. auto resolves to low/medium/high/xhigh/max from preview scores.",
|
|
131
|
+
default: "auto",
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
const ComputeEffectiveProfileEnum = StringEnum(["low", "medium", "high", "xhigh", "max"] as const, {
|
|
135
|
+
description: "Maximum or effective compute/effort profile.",
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
const ComputeCapsParams = Type.Object({
|
|
139
|
+
maxAgents: Type.Optional(Type.Number({ description: "Maximum planned/allowed agent count for this compute scope." })),
|
|
140
|
+
maxDelegationDepth: Type.Optional(Type.Number({ description: "Maximum parent-owned delegation depth for this compute scope." })),
|
|
141
|
+
maxParallel: Type.Optional(Type.Number({ description: "Maximum concurrent children/lanes for this compute scope." })),
|
|
142
|
+
maxIterations: Type.Optional(Type.Number({ description: "Maximum planning/execution validation iterations for this compute scope." })),
|
|
143
|
+
maxDurationMs: Type.Optional(Type.Number({ description: "Maximum wall-clock duration budget in milliseconds." })),
|
|
144
|
+
maxCostUsd: Type.Optional(Type.Number({ description: "Maximum cost budget in USD for strict/advisory budget gates." })),
|
|
145
|
+
maxContextTokens: Type.Optional(Type.Number({ description: "Maximum context-token budget for context packs or previewed workflow shape." })),
|
|
146
|
+
strictBudgetRequired: Type.Optional(Type.Boolean({ description: "Whether strict budget gates are required before live dispatch at this profile." })),
|
|
147
|
+
oracleRequired: Type.Optional(Type.Boolean({ description: "Whether oracle review is required for completion at this profile." })),
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
const ComputeProfileBaseParams = Type.Object({
|
|
151
|
+
run_id: Type.Optional(Type.String({ description: "Optional deterministic compute profile run id. Must be path-safe when reports are written." })),
|
|
152
|
+
domain: Type.Optional(StringEnum(["generic", "project-dna", "factory", "orchestration"] as const, { description: "Domain hint for compute scoring. Default generic." })),
|
|
153
|
+
requested_profile: Type.Optional(ComputeProfileEnum),
|
|
154
|
+
target_path: Type.Optional(Type.String({ description: "Repo-relative target path for metadata-only preview. Runtime tools keep this inside the repo root." })),
|
|
155
|
+
task_hash: Type.Optional(Type.String({ description: "sha256 hash of the task/spec body. Raw task text is not accepted or persisted." })),
|
|
156
|
+
max_profile: Type.Optional(ComputeEffectiveProfileEnum),
|
|
157
|
+
compute_caps: Type.Optional(ComputeCapsParams),
|
|
158
|
+
risk_hints: Type.Optional(Type.Array(Type.String(), { description: "Bounded risk hints such as write, network, browser, cloud, durable, or promotion." })),
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
const ComputePreviewParams = ComputeProfileBaseParams;
|
|
162
|
+
const ComputeResolveProfileParams = ComputeProfileBaseParams;
|
|
163
|
+
const ComputeWriteProfileReportsParams = ComputeProfileBaseParams;
|
|
164
|
+
|
|
165
|
+
const ComputeValidateProfileParams = Type.Object({
|
|
166
|
+
preview_path: Type.String({ description: "Repo-relative compute-preview.json artifact to validate." }),
|
|
167
|
+
resolution_path: Type.Optional(Type.String({ description: "Optional repo-relative compute-profile-resolution.json artifact to validate." })),
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
const ComputePlanWorkflowParams = Type.Object({
|
|
171
|
+
...ComputeProfileBaseParams.properties,
|
|
172
|
+
resolution_path: Type.Optional(Type.String({ description: "Optional repo-relative compute-profile-resolution.json artifact to shape into workflow lanes." })),
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
const AdaptiveDelegationParams = Type.Object({
|
|
176
|
+
enabled: Type.Optional(Type.Boolean({ description: "Explicitly enable adaptive hierarchical delegation proposals. Default false." })),
|
|
177
|
+
mode: Type.Optional(StringEnum(["off", "advisory_only", "when_pertinent"] as const, { description: "off disables; advisory_only scores/records without dispatch; when_pertinent may dispatch only through parent-owned gates." })),
|
|
178
|
+
dispatch: Type.Optional(Type.Boolean({ description: "Allow parent-owned live dispatch after gates. Default false." })),
|
|
179
|
+
recordDecisionsOnly: Type.Optional(Type.Boolean({ description: "Record governor decisions without live dispatch. Default true unless dispatch=true." })),
|
|
180
|
+
configuredMaxDepth: Type.Optional(Type.Number({ description: "Hard configured depth cap. Must be <= 4." })),
|
|
181
|
+
runtimeMaxDepth: Type.Optional(Type.Number({ description: "Rollout depth cap for this run. Starts at 1 and must be <= configuredMaxDepth." })),
|
|
182
|
+
rootFanoutMax: Type.Optional(Type.Number({ description: "Maximum adaptive requests directly below root." })),
|
|
183
|
+
nodeFanoutMax: Type.Optional(Type.Number({ description: "Maximum adaptive requests per non-root requester." })),
|
|
184
|
+
globalParallelMax: Type.Optional(Type.Number({ description: "Maximum live adaptive child dispatches in one wave." })),
|
|
185
|
+
maxTotalAgents: Type.Optional(Type.Number({ description: "Default total adaptive agent cap before oracle/human gates." })),
|
|
186
|
+
maxTotalAgentsWithOracle: Type.Optional(Type.Number({ description: "Hard adaptive total agent cap with oracle/human gates. Must be <= 30." })),
|
|
187
|
+
ttlPerRequest: Type.Optional(Type.Number({ description: "Default TTL for adaptive delegation requests." })),
|
|
188
|
+
minApprovalScore: Type.Optional(Type.Number({ description: "Minimum governor-computed approval score between 0 and 1." })),
|
|
189
|
+
oracle: Type.Optional(StringEnum(["off", "conditional", "always"] as const, { description: "Oracle policy for high-risk/deep/ambiguous adaptive delegation." })),
|
|
190
|
+
strictBudgetRequired: Type.Optional(Type.Boolean({ description: "Require strict budget gates before live adaptive dispatch. Default true." })),
|
|
191
|
+
sandboxGate: Type.Optional(Type.Object({
|
|
192
|
+
enabled: Type.Optional(Type.Boolean({ description: "Enable P9 sandbox/write proposal metadata. Live write dispatch remains disabled." })),
|
|
193
|
+
mode: Type.Optional(StringEnum(["off", "proposal_only"] as const, { description: "P9 supports proposal_only metadata only; no live write dispatch." })),
|
|
194
|
+
sandboxRunId: Type.Optional(Type.String({ description: "Sandbox run id. Stored only as sandboxRunIdHash in artifacts." })),
|
|
195
|
+
diffReviewGateHash: Type.Optional(Type.String({ description: "sha256 of an approved sandbox diff review gate artifact." })),
|
|
196
|
+
applyReadinessHash: Type.Optional(Type.String({ description: "sha256 of a sandbox apply-readiness artifact." })),
|
|
197
|
+
approvalHash: Type.Optional(Type.String({ description: "sha256 of human approval metadata for sandbox/write path." })),
|
|
198
|
+
}, { description: "P9 sandbox/write gate metadata. Does not enable live adaptive writes or auto-apply." })),
|
|
199
|
+
scaleApproval: Type.Optional(Type.Object({
|
|
200
|
+
approvedBy: Type.Optional(Type.String({ description: "Human/operator approver identifier. Stored only as approvedByHash in artifacts." })),
|
|
201
|
+
approvedAt: Type.Optional(Type.String({ description: "Human/operator approval timestamp or date for 20/30-agent adaptive scale." })),
|
|
202
|
+
approvalId: Type.Optional(Type.String({ description: "Approval ticket/id. Stored only as approvalIdHash in artifacts." })),
|
|
203
|
+
scope: Type.Optional(Type.String({ description: "Approval scope. Stored only as scopeHash in artifacts." })),
|
|
204
|
+
}, { description: "Required for live adaptive 20/30-agent scale above 20. Raw identifiers are accepted only as input and persisted as hashes." })),
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
const FactoryRunParams = Type.Object({
|
|
208
|
+
factory: Type.String({ description: "Factory name under .pi/factories/<name>/factory.json" }),
|
|
209
|
+
input_manifest: Type.String({ description: "Repo-relative JSON manifest with factory and items[]" }),
|
|
210
|
+
run_id: Type.Optional(Type.String({ description: "Optional deterministic run id. Must be path-safe." })),
|
|
211
|
+
mode: Type.Optional(StringEnum(["smoke", "pilot", "batch"] as const, { description: "Run scale. smoke=1, pilot=10, batch=all." })),
|
|
212
|
+
max_items: Type.Optional(Type.Number({ description: "Optional cap on processed items" })),
|
|
213
|
+
resume: Type.Optional(Type.Boolean({ description: "Allow writing into an existing run directory", default: false })),
|
|
214
|
+
execution: Type.Optional(StringEnum(["deterministic", "plan_only", "agentic"] as const, { description: "Execution strategy. deterministic writes local artifacts; plan_only writes only agentic-plan/validation/report; agentic executes planned child-agent stages after planning." })),
|
|
215
|
+
model: Type.Optional(Type.String({ description: "Optional model override for agentic execution stages" })),
|
|
216
|
+
prerequisite_smoke_run_id: Type.Optional(Type.String({ description: "Required for non-plan pilot runs: completed smoke run id with SMOKE_PASSED.sentinel and DONE.sentinel." })),
|
|
217
|
+
prerequisite_pilot_run_id: Type.Optional(Type.String({ description: "Required for non-plan batch runs: completed pilot run id with PILOT_PASSED.sentinel and DONE.sentinel." })),
|
|
218
|
+
oracle_review_path: Type.Optional(Type.String({ description: "Required for non-plan pilot/batch runs: repo-local JSON oracle review artifact with PASS/no_ship=false evidence for the prerequisite smoke/pilot run." })),
|
|
219
|
+
batch_concurrency: Type.Optional(Type.Number({ description: "Required for non-plan batch runs: positive concurrency cap for batch processing." })),
|
|
220
|
+
budget: Type.Optional(BudgetCapsParams),
|
|
221
|
+
compute_profile: Type.Optional(ComputeProfileEnum),
|
|
222
|
+
compute_caps: Type.Optional(ComputeCapsParams),
|
|
223
|
+
model_routing: Type.Optional(ModelRoutingParams),
|
|
224
|
+
adaptive_factory_dispatch_gate: Type.Optional(Type.Object({
|
|
225
|
+
enabled: Type.Optional(Type.Boolean({ description: "Enable hash-only proof/activation metadata for future live factory adaptive dispatch." })),
|
|
226
|
+
liveReadOnlyProofEnabled: Type.Optional(Type.Boolean({ description: "Enable the smoke-only registered live read-only factory adaptive proof path. Does not enable writes, pilot, or batch." })),
|
|
227
|
+
proofRunId: Type.Optional(Type.String({ description: "Registered factory adaptive proof run id. Stored only as proofRunIdHash." })),
|
|
228
|
+
proofReviewHash: Type.Optional(Type.String({ description: "sha256 of registered proof/oracle review artifact." })),
|
|
229
|
+
approvedBy: Type.Optional(Type.String({ description: "Human approver identifier. Stored only as approvedByHash." })),
|
|
230
|
+
approvedAt: Type.Optional(Type.String({ description: "Human approval timestamp or date." })),
|
|
231
|
+
approvalId: Type.Optional(Type.String({ description: "Approval ticket/id. Stored only as approvalIdHash." })),
|
|
232
|
+
scope: Type.Optional(Type.String({ description: "Approval/proof scope. Stored only as scopeHash." })),
|
|
233
|
+
}, { description: "Factory adaptive live dispatch proof gate metadata. Only smoke read-only proof may use live dispatch; writes remain disabled." })),
|
|
234
|
+
adaptive_delegation: Type.Optional(AdaptiveDelegationParams),
|
|
235
|
+
oracle_gate: Type.Optional(Type.Object({
|
|
236
|
+
verdict: Type.Optional(StringEnum(["PASS", "FAIL", "WARN"] as const, { description: "Oracle verdict for promoting smoke to pilot. Must be PASS for pilot execution." })),
|
|
237
|
+
no_ship: Type.Optional(Type.Boolean({ description: "Oracle no-ship flag. Must be false/absent for pilot execution." })),
|
|
238
|
+
evidence: Type.Optional(Type.String({ description: "Evidence summary proving the smoke run was reviewed." })),
|
|
239
|
+
reviewer: Type.Optional(Type.String({ description: "Optional reviewer/oracle identifier." })),
|
|
240
|
+
})),
|
|
241
|
+
});
|
|
242
|
+
|
|
243
|
+
const FactoryQuarantineReviewParams = Type.Object({
|
|
244
|
+
run_id: Type.String({ description: "Factory-forge run id under reports/factory-runs/<runId>" }),
|
|
245
|
+
generated_factory: Type.String({ description: "Generated factory name under the run quarantine directory" }),
|
|
246
|
+
review_id: Type.Optional(Type.String({ description: "Optional deterministic review id. Must be path-safe." })),
|
|
247
|
+
oracle_verdict: Type.Optional(StringEnum(["PASS", "FAIL", "WARN"] as const, { description: "Independent oracle verdict. Must be PASS for activationReady=true." })),
|
|
248
|
+
approval: Type.Optional(Type.Object({
|
|
249
|
+
approvedBy: Type.Optional(Type.String({ description: "Human approver identifier" })),
|
|
250
|
+
approvedAt: Type.Optional(Type.String({ description: "Human approval timestamp or date" })),
|
|
251
|
+
approvalId: Type.Optional(Type.String({ description: "Approval ticket/id" })),
|
|
252
|
+
})),
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
const FactoryQuarantineActivateParams = Type.Object({
|
|
256
|
+
run_id: Type.String({ description: "Factory-forge run id under reports/factory-runs/<runId>. Must be path-safe." }),
|
|
257
|
+
generated_factory: Type.String({ description: "Generated factory name under the run quarantine directory. Must be path-safe." }),
|
|
258
|
+
review_id: Type.String({ description: "Review id containing activation-readiness.json. Must be path-safe." }),
|
|
259
|
+
confirmation_phrase: Type.String({ description: "Exact phrase: ACTIVATE QUARANTINED FACTORY <generated_factory> FROM RUN <run_id> REVIEW <review_id>" }),
|
|
260
|
+
activation_id: Type.Optional(Type.String({ description: "Optional deterministic activation id. Must be path-safe." })),
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
const FactoryQuarantineVerifyActivationParams = Type.Object({
|
|
264
|
+
run_id: Type.String({ description: "Factory-forge run id under reports/factory-runs/<runId>. Must be path-safe." }),
|
|
265
|
+
generated_factory: Type.String({ description: "Activated generated factory name under .pi/factories/<generated>. Must be path-safe." }),
|
|
266
|
+
activation_id: Type.String({ description: "Activation id that must have a successful activation-journal entry. Must be path-safe." }),
|
|
267
|
+
verification_id: Type.Optional(Type.String({ description: "Optional deterministic verification id. Must be path-safe." })),
|
|
268
|
+
});
|
|
269
|
+
|
|
270
|
+
const OrchestrateRunParams = Type.Object({
|
|
271
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
272
|
+
profile: Type.Optional(Type.String({ description: "Orchestration profile under .pi/orchestrations/<profile>.json. Mutually exclusive with team." })),
|
|
273
|
+
goal: Type.String({ description: "Human goal to expand into lead/worker delegate_task contracts" }),
|
|
274
|
+
original_user_ask: Type.Optional(Type.String({ description: "Original user request for scope anchoring" })),
|
|
275
|
+
goal_id: Type.Optional(Type.String({ description: "Optional parent runtime goal id to attach metadata-only orchestration artifacts to a TODO graph." })),
|
|
276
|
+
todo_id: Type.Optional(Type.String({ description: "Optional parent /goal TODO id to attach messages, delegations, blockers, claims, and evidence refs to." })),
|
|
277
|
+
run_id: Type.Optional(Type.String({ description: "Optional deterministic run id. Must be path-safe." })),
|
|
278
|
+
execution: Type.Optional(StringEnum(["plan_only", "supervised_smoke", "supervised_readonly"] as const, { description: "plan_only writes contracts only; supervised_smoke adds parent-owned read-only dispatch/final-gate metadata without live child execution in smoke tests; supervised_readonly explicitly dispatches worker children through parent-owned read-only tools." })),
|
|
279
|
+
resume: Type.Optional(Type.Boolean({ description: "Allow writing into an existing orchestration run directory", default: false })),
|
|
280
|
+
max_workers: Type.Optional(Type.Number({ description: "Optional cap on planned worker contracts" })),
|
|
281
|
+
compute_profile: Type.Optional(ComputeProfileEnum),
|
|
282
|
+
compute_caps: Type.Optional(ComputeCapsParams),
|
|
283
|
+
adaptive_delegation: Type.Optional(AdaptiveDelegationParams),
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
const ChainRunParams = Type.Object({
|
|
287
|
+
chain: Type.String({ description: "Chain registry name under .pi/chains/<chain>.json" }),
|
|
288
|
+
goal: Type.String({ description: "Human goal rendered into chain step contracts" }),
|
|
289
|
+
original_user_ask: Type.Optional(Type.String({ description: "Original user request for scope anchoring" })),
|
|
290
|
+
run_id: Type.Optional(Type.String({ description: "Optional deterministic run id. Must be path-safe." })),
|
|
291
|
+
execution: Type.Optional(StringEnum(["plan_only"] as const, { description: "Only plan_only is supported; no live child execution." })),
|
|
292
|
+
resume: Type.Optional(Type.Boolean({ description: "Allow writing into an existing chain run directory", default: false })),
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
const ZobComsSendParams = Type.Object({
|
|
296
|
+
runId: Type.String({ description: "Run id for the local mailbox message" }),
|
|
297
|
+
sender: Type.String({ description: "Topology role id sending the message" }),
|
|
298
|
+
receiver: Type.String({ description: "Topology role id receiving the message" }),
|
|
299
|
+
kind: Type.Optional(Type.String({ description: "Message kind. Default: handoff" })),
|
|
300
|
+
taskId: Type.Optional(Type.String({ description: "Optional task/message correlation id" })),
|
|
301
|
+
taskHash: Type.Optional(Type.String({ description: "Hash of the task/contract body; bodies are not stored by default" })),
|
|
302
|
+
transientBody: Type.Optional(Type.String({ description: "Transient live delivery body used only when zob_coms v2 live transport is required; never stored in .pi/coms" })),
|
|
303
|
+
outputHash: Type.Optional(Type.String({ description: "Optional output hash; output bodies are not stored by default" })),
|
|
304
|
+
status: Type.Optional(Type.String({ description: "Message status. Default: queued" })),
|
|
305
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
306
|
+
});
|
|
307
|
+
|
|
308
|
+
const ZobComsListParams = Type.Object({
|
|
309
|
+
runId: Type.Optional(Type.String({ description: "Filter by run id" })),
|
|
310
|
+
receiver: Type.Optional(Type.String({ description: "Filter by receiver role id" })),
|
|
311
|
+
sender: Type.Optional(Type.String({ description: "Filter by sender role id" })),
|
|
312
|
+
status: Type.Optional(Type.String({ description: "Filter by status" })),
|
|
313
|
+
limit: Type.Optional(Type.Number({ description: "Max messages to return. Capped at 100; default 20" })),
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
const ZobComsGetParams = Type.Object({
|
|
317
|
+
msgId: Type.String({ description: "Message id to fetch" }),
|
|
318
|
+
});
|
|
319
|
+
|
|
320
|
+
const ZobComsAckParams = Type.Object({
|
|
321
|
+
msgId: Type.String({ description: "Message id to ACK" }),
|
|
322
|
+
actor: Type.String({ description: "Role id acknowledging receipt. Must be the message receiver" }),
|
|
323
|
+
});
|
|
324
|
+
|
|
325
|
+
const ZobComsStatusParams = Type.Object({
|
|
326
|
+
msgId: Type.String({ description: "Message id to transition" }),
|
|
327
|
+
actor: Type.String({ description: "Role id recording the transition. Must be sender or receiver" }),
|
|
328
|
+
status: Type.String({ description: "New derived message status" }),
|
|
329
|
+
});
|
|
330
|
+
|
|
331
|
+
const ZobComsReplyParams = Type.Object({
|
|
332
|
+
msgId: Type.String({ description: "Parent message id being replied to" }),
|
|
333
|
+
sender: Type.String({ description: "Topology role id sending the reply" }),
|
|
334
|
+
receiver: Type.String({ description: "Topology role id receiving the reply" }),
|
|
335
|
+
kind: Type.Optional(Type.String({ description: "Reply kind. Default: reply" })),
|
|
336
|
+
taskId: Type.Optional(Type.String({ description: "Optional reply correlation id" })),
|
|
337
|
+
taskHash: Type.Optional(Type.String({ description: "Hash of the reply task/body; bodies are not stored" })),
|
|
338
|
+
outputHash: Type.Optional(Type.String({ description: "Optional reply output hash; output bodies are not stored" })),
|
|
339
|
+
status: Type.Optional(Type.String({ description: "Reply message status. Default: queued" })),
|
|
340
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
341
|
+
});
|
|
342
|
+
|
|
343
|
+
const ZobComsAwaitParams = Type.Object({
|
|
344
|
+
msgId: Type.Optional(Type.String({ description: "Optional live message id to await in zob_coms v2 required_local mode" })),
|
|
345
|
+
runId: Type.Optional(Type.String({ description: "Filter by run id" })),
|
|
346
|
+
receiver: Type.Optional(Type.String({ description: "Filter by receiver role id" })),
|
|
347
|
+
status: Type.Optional(Type.String({ description: "Filter by derived status" })),
|
|
348
|
+
timeoutMs: Type.Optional(Type.Number({ description: "Bounded wait timeout. Capped at 5000ms; default 1000ms" })),
|
|
349
|
+
pollMs: Type.Optional(Type.Number({ description: "Poll interval. Default 100ms" })),
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
const ZpeerAskParams = Type.Object({
|
|
353
|
+
targetAlias: Type.String({ description: "ZPeer target alias in the current local room. May include or omit the leading @." }),
|
|
354
|
+
message: Type.String({ description: "Transient peer request body. Used only for local live delivery; never persisted in durable ledgers or reports." }),
|
|
355
|
+
roomId: Type.Optional(Type.String({ description: "Optional ZPeer room id. Defaults to the current active local room." })),
|
|
356
|
+
mode: Type.Optional(StringEnum(["async", "await", "long"] as const, { description: "Send mode. Default async for agent-initiated coordination.", default: "async" })),
|
|
357
|
+
reason: Type.Optional(Type.String({ description: "Optional transient coordination reason. Hashed only in visible metadata; raw value is not persisted." })),
|
|
358
|
+
timeoutMs: Type.Optional(Type.Number({ description: "Bounded reply wait timeout for await/long modes. Ignored by async mode; capped by runtime." })),
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
const ZobComsReadinessParams = Type.Object({
|
|
362
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
363
|
+
});
|
|
364
|
+
|
|
365
|
+
const ZcommitRunParams = Type.Object({
|
|
366
|
+
action: Type.Optional(StringEnum(["plan", "commit", "push", "commit_and_push"] as const, { description: "Governed zcommit action. Default plan." })),
|
|
367
|
+
scope: Type.Optional(StringEnum(["session_modified", "pathspecs", "all_safe_dirty"] as const, { description: "File selection scope. session_modified uses current runtime touched/owned paths; pathspecs uses paths; all_safe_dirty uses the easy filtered workspace." })),
|
|
368
|
+
paths: Type.Optional(Type.Array(Type.String(), { description: "Repo-relative files, directories, or globs to include when scope=pathspecs, or to narrow session_modified." })),
|
|
369
|
+
message: Type.Optional(Type.String({ description: "Optional Conventional Commit subject, e.g. feat(worker-pool): add supervised owner micro-worker pools." })),
|
|
370
|
+
body: Type.Optional(Type.Array(Type.String(), { description: "Optional commit body lines. Stored only in git commit when commit runs; ledger stores hashes only." })),
|
|
371
|
+
push: Type.Optional(Type.Boolean({ description: "When true with action=commit, also request push behavior. action=commit_and_push is preferred." })),
|
|
372
|
+
user_requested: Type.Optional(Type.Boolean({ description: "Set true only when the user explicitly asked the agent to commit/push. Required for commit/push unless autocommit is on." })),
|
|
373
|
+
});
|
|
374
|
+
|
|
375
|
+
const GoalRoomKindEnum = StringEnum(["QUESTION", "ANSWER", "FINDING", "ACTION_TAKEN", "ARTIFACT_READY", "TODO_CLAIM", "BLOCKER", "RISK", "NO_SHIP_ALERT", "CONTEXT_REQUEST", "SPLIT_REQUEST", "DELEGATION_REQUEST", "ORACLE_REQUEST", "OWNER_CHANGE_REQUEST", "OWNER_CHANGE_DECISION", "HANDOFF", "DECISION", "STATUS_UPDATE"] as const, { description: "Typed goal-room message kind." });
|
|
376
|
+
const GoalRoomAudienceEnum = StringEnum(["all", "parent", "lead", "oracle", "worker"] as const, { description: "Visible goal-room audience bucket. This is not hidden peer chat." });
|
|
377
|
+
const GoalRoomPriorityEnum = StringEnum(["low", "normal", "high", "critical"] as const, { description: "Goal-room message priority." });
|
|
378
|
+
|
|
379
|
+
const ZobGoalRoomSendParams = Type.Object({
|
|
380
|
+
goal_id: Type.String({ description: "Parent goal id / room id. Must be path-safe." }),
|
|
381
|
+
run_id: Type.Optional(Type.String({ description: "Optional run id correlation. Must be path-safe." })),
|
|
382
|
+
todo_id: Type.Optional(Type.String({ description: "Optional /goal TODO id correlation. Must be path-safe." })),
|
|
383
|
+
sender: Type.String({ description: "Sender role id. Must be a known team role or parent/mission-control." }),
|
|
384
|
+
audience: Type.Optional(GoalRoomAudienceEnum),
|
|
385
|
+
kind: GoalRoomKindEnum,
|
|
386
|
+
priority: Type.Optional(GoalRoomPriorityEnum),
|
|
387
|
+
body_hash: Type.String({ description: "sha256 hash of transient message body; raw body is not accepted or persisted." }),
|
|
388
|
+
task_id: Type.Optional(Type.String({ description: "Optional safe task/message correlation id." })),
|
|
389
|
+
output_hash: Type.Optional(Type.String({ description: "Optional output hash. Output bodies are not stored." })),
|
|
390
|
+
evidence_refs: Type.Optional(Type.Array(Type.String(), { description: "Safe repo-relative evidence refs. No bodies, no secrets." })),
|
|
391
|
+
artifact_refs: Type.Optional(Type.Array(Type.String(), { description: "Safe repo-relative artifact refs. No bodies, no secrets." })),
|
|
392
|
+
ttl_ms: Type.Optional(Type.Number({ description: "Optional positive TTL in milliseconds, capped by runtime validator." })),
|
|
393
|
+
requires_parent_action: Type.Optional(Type.Boolean({ description: "Whether parent/governor action is requested. Message itself executes no action." })),
|
|
394
|
+
metadata: Type.Optional(Type.Record(Type.String(), Type.Unknown(), { description: "Hash-only metadata; raw body-like keys are rejected." })),
|
|
395
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
396
|
+
});
|
|
397
|
+
|
|
398
|
+
const ZobGoalRoomListParams = Type.Object({
|
|
399
|
+
goal_id: Type.String({ description: "Parent goal id / room id. Must be path-safe." }),
|
|
400
|
+
sender: Type.Optional(Type.String({ description: "Filter by sender role id" })),
|
|
401
|
+
kind: Type.Optional(GoalRoomKindEnum),
|
|
402
|
+
todo_id: Type.Optional(Type.String({ description: "Filter by TODO id" })),
|
|
403
|
+
limit: Type.Optional(Type.Number({ description: "Max messages to return. Capped at 100; default 20" })),
|
|
404
|
+
});
|
|
405
|
+
|
|
406
|
+
const GovernedRequestExtractParams = Type.Object({
|
|
407
|
+
goal_id: Type.String({ description: "Parent goal id / Goal Room id where extracted requests should be made visible. Must be path-safe." }),
|
|
408
|
+
transient_text: Type.String({ description: "Transient child output/request text to parse. Supports DELEGATION_REQUEST.v1, ORACLE_REQUEST.v1, CONTEXT_REQUEST.v1, and OWNER_CHANGE_REQUEST.v1 blocks. Raw text is never persisted by this tool." }),
|
|
409
|
+
append_to_goal_room: Type.Optional(Type.Boolean({ description: "Append parsed requests to the parent-visible Goal Room. Default true." })),
|
|
410
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
411
|
+
});
|
|
412
|
+
|
|
413
|
+
const WorkerPoolCommunicationPolicyParams = Type.Object({
|
|
414
|
+
mode: Type.Optional(StringEnum(["goal_room_only", "goal_room_with_optional_live"] as const, { description: "Goal Room remains canonical; live/ZPeer is optional transient delivery only." })),
|
|
415
|
+
parent_visible: Type.Optional(Type.Boolean({ description: "Must not be false; persisted records are parentVisible=true." })),
|
|
416
|
+
hidden_peer_chat: Type.Optional(Type.Boolean({ description: "Must not be true; hidden worker chat is blocked." })),
|
|
417
|
+
worker_to_worker_direct: Type.Optional(Type.Boolean({ description: "Must not be true; owner protocol is parent-visible Goal Room metadata." })),
|
|
418
|
+
required_local_live: Type.Optional(Type.Boolean({ description: "Optional live delivery hint; never canonical for owner requests." })),
|
|
419
|
+
goal_room_canonical: Type.Optional(Type.Boolean({ description: "Must not be false; Goal Room is canonical." })),
|
|
420
|
+
});
|
|
421
|
+
const WorkerPoolAssignmentParams = Type.Object({
|
|
422
|
+
worker_id: Type.String({ description: "Known team role id assigned to this pool lane." }),
|
|
423
|
+
agent_name: Type.String({ description: "Agent profile/name assigned to this worker lane." }),
|
|
424
|
+
owned_paths: Type.Array(Type.String(), { description: "Repo-relative paths owned by this worker lane." }),
|
|
425
|
+
write_paths: Type.Array(Type.String(), { description: "Repo-relative writable intent paths for this worker; each path must be within owned_paths. Overlaps are reported as parent-owned conflicts." }),
|
|
426
|
+
read_across_paths: Type.Optional(Type.Array(Type.String(), { description: "Repo-relative peer paths this worker may inspect read-only; never grants write access." })),
|
|
427
|
+
read_across_write_overlap_justification_hash: Type.Optional(Type.String({ description: "Required sha256 justification when read_across_paths overlap this worker's write_paths; raw rationale is not accepted." })),
|
|
428
|
+
forbidden_paths: Type.Optional(Type.Array(Type.String(), { description: "Deny-only patterns/paths for this worker lane." })),
|
|
429
|
+
todo_id: Type.Optional(Type.String({ description: "Parent /goal TODO id correlation." })),
|
|
430
|
+
child_goal_id: Type.Optional(Type.String({ description: "Parent-managed child goal id correlation." })),
|
|
431
|
+
run_id: Type.Optional(Type.String({ description: "Worker/run id correlation." })),
|
|
432
|
+
workspace_claim_ids: Type.Optional(Type.Array(Type.String(), { description: "Path-safe workspace claim ids covering this worker's write intent, when already claimed. The worker's own active write claim may satisfy coverage; other overlapping active claims remain conflicts." })),
|
|
433
|
+
communication_policy: Type.Optional(WorkerPoolCommunicationPolicyParams),
|
|
434
|
+
});
|
|
435
|
+
const WorkerPoolPlanParams = Type.Object({
|
|
436
|
+
goal_id: Type.String({ description: "Parent goal id for this worker pool." }),
|
|
437
|
+
pool_id: Type.Optional(Type.String({ description: "Optional deterministic pool id. Must be path-safe." })),
|
|
438
|
+
run_id: Type.Optional(Type.String({ description: "Optional parent orchestration/delegation run id." })),
|
|
439
|
+
todo_id: Type.Optional(Type.String({ description: "Optional parent TODO id this pool serves." })),
|
|
440
|
+
owner: Type.String({ description: "Parent/lead role recording the pool plan." }),
|
|
441
|
+
assignments: Type.Array(WorkerPoolAssignmentParams, { description: "Worker assignments with owned/write/read-across path metadata." }),
|
|
442
|
+
forbidden_paths: Type.Optional(Type.Array(Type.String(), { description: "Pool-level deny-only paths/patterns." })),
|
|
443
|
+
communication_policy: Type.Optional(WorkerPoolCommunicationPolicyParams),
|
|
444
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
445
|
+
});
|
|
446
|
+
const WorkerPoolStatusParams = Type.Object({
|
|
447
|
+
goal_id: Type.Optional(Type.String({ description: "Filter by parent goal id." })),
|
|
448
|
+
pool_id: Type.Optional(Type.String({ description: "Filter by worker pool id." })),
|
|
449
|
+
run_id: Type.Optional(Type.String({ description: "Filter by parent run id." })),
|
|
450
|
+
limit: Type.Optional(Type.Number({ description: "Max pool records to return. Capped at 100; default 20." })),
|
|
451
|
+
});
|
|
452
|
+
const WorkerPoolOwnerRequestParams = Type.Object({
|
|
453
|
+
goal_id: Type.String({ description: "Parent goal / Goal Room id." }),
|
|
454
|
+
pool_id: Type.String({ description: "Worker pool id." }),
|
|
455
|
+
request_id: Type.Optional(Type.String({ description: "Optional deterministic owner request id." })),
|
|
456
|
+
run_id: Type.Optional(Type.String({ description: "Optional run id correlation." })),
|
|
457
|
+
todo_id: Type.Optional(Type.String({ description: "Optional TODO id correlation." })),
|
|
458
|
+
requester: Type.String({ description: "Worker role requesting a peer-owned change." }),
|
|
459
|
+
owner_worker: Type.String({ description: "Worker role that owns the requested paths." }),
|
|
460
|
+
requested_paths: Type.Array(Type.String(), { description: "Repo-relative owner paths requested for change. When a pool plan exists, these must be covered by owner_worker owned/write paths or the request is blocked." }),
|
|
461
|
+
change_hash: Type.String({ description: "sha256 hash of the proposed change intent; raw diff/patch is not accepted." }),
|
|
462
|
+
reason_hash: Type.String({ description: "sha256 hash of the request reason; raw reason text is not accepted." }),
|
|
463
|
+
evidence_refs: Type.Optional(Type.Array(Type.String(), { description: "Safe repo-relative evidence refs." })),
|
|
464
|
+
artifact_refs: Type.Optional(Type.Array(Type.String(), { description: "Safe repo-relative artifact refs." })),
|
|
465
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
466
|
+
});
|
|
467
|
+
const WorkerPoolOwnerDecisionParams = Type.Object({
|
|
468
|
+
goal_id: Type.String({ description: "Parent goal / Goal Room id." }),
|
|
469
|
+
pool_id: Type.String({ description: "Worker pool id." }),
|
|
470
|
+
request_id: Type.String({ description: "Owner request id being decided." }),
|
|
471
|
+
run_id: Type.Optional(Type.String({ description: "Optional run id correlation." })),
|
|
472
|
+
todo_id: Type.Optional(Type.String({ description: "Optional TODO id correlation." })),
|
|
473
|
+
decided_by: Type.String({ description: "Owner/parent role recording the decision." }),
|
|
474
|
+
owner_worker: Type.String({ description: "Worker role that owns the paths." }),
|
|
475
|
+
requester: Type.Optional(Type.String({ description: "Original requester role, when known." })),
|
|
476
|
+
decision: StringEnum(["approved", "rejected", "needs_parent", "owner_will_handle"] as const, { description: "Typed owner decision. No decision applies diffs automatically." }),
|
|
477
|
+
decision_hash: Type.String({ description: "sha256 hash of the decision basis; raw rationale text is not accepted." }),
|
|
478
|
+
evidence_refs: Type.Optional(Type.Array(Type.String(), { description: "Safe repo-relative evidence refs." })),
|
|
479
|
+
artifact_refs: Type.Optional(Type.Array(Type.String(), { description: "Safe repo-relative artifact refs." })),
|
|
480
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
const WorkspaceClaimModeEnum = StringEnum(["read", "write"] as const, { description: "Workspace claim mode. write conflicts with overlapping active claims." });
|
|
484
|
+
const WorkspaceClaimParams = Type.Object({
|
|
485
|
+
run_id: Type.String({ description: "Run id requiring the workspace lease. Must be path-safe." }),
|
|
486
|
+
claimant: Type.String({ description: "Claimant role id. Must be a known team role or parent/mission-control." }),
|
|
487
|
+
paths: Type.Array(Type.String(), { description: "Repo-relative paths to lease for parallel work intent." }),
|
|
488
|
+
mode: Type.Optional(WorkspaceClaimModeEnum),
|
|
489
|
+
purpose_hash: Type.String({ description: "sha256 hash of transient claim purpose; raw purpose is not accepted or stored." }),
|
|
490
|
+
todo_id: Type.Optional(Type.String({ description: "Optional /goal TODO id correlation. Must be path-safe." })),
|
|
491
|
+
sandbox_run_id: Type.Optional(Type.String({ description: "Optional sandbox run id correlation. Must be path-safe." })),
|
|
492
|
+
lease_ms: Type.Optional(Type.Number({ description: "Positive lease duration in milliseconds. Capped at 24h." })),
|
|
493
|
+
allow_conflicts: Type.Optional(Type.Boolean({ description: "Allow conflicting metadata claim to be recorded. Default false blocks conflicts." })),
|
|
494
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
495
|
+
});
|
|
496
|
+
const WorkspaceReleaseParams = Type.Object({
|
|
497
|
+
claim_id: Type.String({ description: "Workspace claim id to release. Must be path-safe." }),
|
|
498
|
+
released_by: Type.String({ description: "Actor role id releasing the claim." }),
|
|
499
|
+
reason_hash: Type.Optional(Type.String({ description: "Optional sha256 release reason hash. Raw reason is not accepted or stored." })),
|
|
500
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
501
|
+
});
|
|
502
|
+
const WorkspaceClaimsListParams = Type.Object({
|
|
503
|
+
run_id: Type.Optional(Type.String({ description: "Filter by run id." })),
|
|
504
|
+
claimant: Type.Optional(Type.String({ description: "Filter by claimant role id." })),
|
|
505
|
+
include_expired: Type.Optional(Type.Boolean({ description: "Include expired leases. Default false." })),
|
|
506
|
+
include_released: Type.Optional(Type.Boolean({ description: "Include released claims. Default false." })),
|
|
507
|
+
limit: Type.Optional(Type.Number({ description: "Max claims to return. Capped at 100; default 20." })),
|
|
508
|
+
});
|
|
509
|
+
|
|
510
|
+
const MergePriorityEnum = StringEnum(["low", "normal", "high", "critical"] as const, { description: "Merge queue priority." });
|
|
511
|
+
const MergeRiskEnum = StringEnum(["low", "medium", "high"] as const, { description: "Merge candidate risk level." });
|
|
512
|
+
const MergeDecisionEnum = StringEnum(["approve_for_manual_apply", "reject", "needs_oracle"] as const, { description: "Parent-owned merge decision; never auto-applies." });
|
|
513
|
+
const MergeCandidateSubmitParams = Type.Object({
|
|
514
|
+
run_id: Type.String({ description: "Run id for the merge candidate. Must be path-safe." }),
|
|
515
|
+
submitted_by: Type.String({ description: "Submitter role id. Must be known team role or parent/mission-control." }),
|
|
516
|
+
sandbox_run_id: Type.String({ description: "Sandbox run id that produced the diff. Must be path-safe." }),
|
|
517
|
+
workspace_claim_ids: Type.Array(Type.String(), { description: "Workspace claim ids covering changed paths." }),
|
|
518
|
+
changed_paths: Type.Array(Type.String(), { description: "Repo-relative changed paths from sandbox diff metadata." }),
|
|
519
|
+
diff_hash: Type.String({ description: "sha256 hash of sandbox diff; raw diff is not accepted or stored." }),
|
|
520
|
+
validation_refs: Type.Array(Type.String(), { description: "Safe repo-relative validation artifacts/commands refs." }),
|
|
521
|
+
summary_hash: Type.Optional(Type.String({ description: "Optional sha256 summary hash. Raw summary is not accepted or stored." })),
|
|
522
|
+
todo_id: Type.Optional(Type.String({ description: "Optional /goal TODO id correlation. Must be path-safe." })),
|
|
523
|
+
oracle_review_ref: Type.Optional(Type.String({ description: "Optional safe repo-relative oracle review artifact." })),
|
|
524
|
+
rollback_ref: Type.Optional(Type.String({ description: "Optional safe repo-relative rollback metadata artifact." })),
|
|
525
|
+
priority: Type.Optional(MergePriorityEnum),
|
|
526
|
+
risk_level: Type.Optional(MergeRiskEnum),
|
|
527
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
528
|
+
});
|
|
529
|
+
const MergeQueueDecideParams = Type.Object({
|
|
530
|
+
candidate_id: Type.String({ description: "Merge candidate id. Must be path-safe." }),
|
|
531
|
+
decided_by: Type.String({ description: "Parent/oracle/lead role id recording the decision." }),
|
|
532
|
+
decision: MergeDecisionEnum,
|
|
533
|
+
reason_hash: Type.String({ description: "sha256 hash of decision reason. Raw reason is not accepted or stored." }),
|
|
534
|
+
oracle_review_ref: Type.Optional(Type.String({ description: "Safe repo-relative oracle review artifact; required for approve_for_manual_apply when candidate lacks one." })),
|
|
535
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
536
|
+
});
|
|
537
|
+
const MergeQueueListParams = Type.Object({
|
|
538
|
+
run_id: Type.Optional(Type.String({ description: "Filter by run id." })),
|
|
539
|
+
submitted_by: Type.Optional(Type.String({ description: "Filter by submitter role id." })),
|
|
540
|
+
status: Type.Optional(Type.String({ description: "Filter by queued/latest decision status." })),
|
|
541
|
+
limit: Type.Optional(Type.Number({ description: "Max candidates to return. Capped at 100; default 20." })),
|
|
542
|
+
});
|
|
543
|
+
|
|
544
|
+
const MissionControlSnapshotParams = Type.Object({
|
|
545
|
+
runId: Type.Optional(Type.String({ description: "Optional run id filter for latest coms messages" })),
|
|
546
|
+
limit: Type.Optional(Type.Number({ description: "Bounded latest record count. Capped at 50; default 5" })),
|
|
547
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
548
|
+
});
|
|
549
|
+
|
|
550
|
+
const MissionControlProposeCommandParams = Type.Object({
|
|
551
|
+
runId: Type.String({ description: "Target run id for this parent-owned command proposal" }),
|
|
552
|
+
command: StringEnum(["pause", "resume", "reprioritize", "request_context", "request_oracle", "stop", "approve", "replan"] as const, { description: "Typed Mission Control command proposal. Proposal only; not directly dispatched." }),
|
|
553
|
+
proposalId: Type.Optional(Type.String({ description: "Optional deterministic proposal id. Must be path-safe." })),
|
|
554
|
+
requestedBy: Type.Optional(Type.String({ description: "Operator/dashboard identifier. Metadata only." })),
|
|
555
|
+
targetRole: Type.Optional(Type.String({ description: "Optional orchestrator/lead target role. Worker targets are blocked." })),
|
|
556
|
+
priority: Type.Optional(StringEnum(["low", "normal", "high", "critical"] as const, { description: "Proposal priority. Default normal." })),
|
|
557
|
+
rationaleHash: Type.Optional(Type.String({ description: "sha256 hash of rationale; raw rationale text is not accepted or stored." })),
|
|
558
|
+
artifactRefs: Type.Optional(Type.Array(Type.String(), { description: "Safe repo-relative evidence refs. No bodies, no secrets." })),
|
|
559
|
+
todoId: Type.Optional(Type.String({ description: "Optional /goal TODO id this proposal concerns. Metadata only." })),
|
|
560
|
+
subtreeRootTodoId: Type.Optional(Type.String({ description: "Optional /goal TODO subtree root id for pause/resume/replan/reprioritize proposals. Metadata only." })),
|
|
561
|
+
team: Type.Optional(Type.String({ description: "Team topology under .pi/teams/<team>.json. Default: zob-core" })),
|
|
562
|
+
});
|
|
563
|
+
|
|
564
|
+
const ContextReadinessParams = Type.Object({
|
|
565
|
+
runId: Type.Optional(Type.String({ description: "Optional run id for the metadata-only Context/GBrain P0 readiness audit." })),
|
|
566
|
+
});
|
|
567
|
+
|
|
568
|
+
const ContextScopeValidateParams = Type.Object({
|
|
569
|
+
runId: Type.String({ description: "Run id requiring a context_scope before lookup/context-pack injection." }),
|
|
570
|
+
scopeId: Type.Optional(Type.String({ description: "Optional deterministic context scope id." })),
|
|
571
|
+
todoId: Type.Optional(Type.String({ description: "Optional /goal TODO id this context_scope applies to. Metadata only." })),
|
|
572
|
+
allowedBrains: Type.Optional(Type.Array(Type.String(), { description: "Allowed logical brains for this run/agent." })),
|
|
573
|
+
allowedSources: Type.Optional(Type.Array(Type.String(), { description: "Allowed source ids for this run/agent." })),
|
|
574
|
+
forbiddenSources: Type.Optional(Type.Array(Type.String(), { description: "Forbidden source ids/patterns, including secrets and raw conversation history." })),
|
|
575
|
+
agentProfile: Type.Optional(Type.String({ description: "Agent profile this context_scope applies to." })),
|
|
576
|
+
maxContextTokens: Type.Optional(Type.Number({ description: "Bounded context limit. P0 cap is 8000." })),
|
|
577
|
+
});
|
|
578
|
+
|
|
579
|
+
const ContextWritebackProposalParams = Type.Object({
|
|
580
|
+
runId: Type.String({ description: "Run id that produced the writeback candidate." }),
|
|
581
|
+
proposalId: Type.Optional(Type.String({ description: "Optional deterministic proposal id. Must be path-safe." })),
|
|
582
|
+
observedProblemHash: Type.String({ description: "sha256 hash of observed problem. Raw problem text is not stored." }),
|
|
583
|
+
newPatternHash: Type.String({ description: "sha256 hash of proposed new pattern. Raw pattern text is not stored." }),
|
|
584
|
+
evidenceRefs: Type.Array(Type.String(), { description: "Safe repo-relative evidence refs supporting this proposal." }),
|
|
585
|
+
recommendedArtifact: Type.String({ description: "Safe repo-relative support artifact recommendation." }),
|
|
586
|
+
});
|
|
587
|
+
|
|
588
|
+
const AutonomousDryRunParams = Type.Object({
|
|
589
|
+
user_need: Type.String({ description: "Original user need/spec to dry-run through spec gate. Raw text is hashed in persisted reports." }),
|
|
590
|
+
refined_spec: Type.Optional(Type.String({ description: "Optional refined spec after clarification. Raw text is hashed in persisted reports." })),
|
|
591
|
+
run_id: Type.Optional(Type.String({ description: "Optional deterministic run id. Must be path-safe." })),
|
|
592
|
+
constraints: Type.Optional(Type.Array(Type.String(), { description: "Optional constraints; persisted as hashes only." })),
|
|
593
|
+
acceptance_criteria: Type.Optional(Type.Array(Type.String(), { description: "Spec-lock acceptance criteria; persisted as hashes only." })),
|
|
594
|
+
expected_artifacts: Type.Optional(Type.Array(Type.String(), { description: "Expected artifact descriptions; persisted as hashes only." })),
|
|
595
|
+
allowed_paths: Type.Optional(Type.Array(Type.String(), { description: "Repo-relative-only allowed paths for future gated work; use reports/... snapshot/context_ref refs for external context." })),
|
|
596
|
+
forbidden_paths: Type.Optional(Type.Array(Type.String(), { description: "Forbidden source/path patterns for future gated work." })),
|
|
597
|
+
allowed_sources: Type.Optional(Type.Array(Type.String(), { description: "Allowed context source ids for context_scope." })),
|
|
598
|
+
max_context_tokens: Type.Optional(Type.Number({ description: "Bounded context limit. P0 cap is enforced by context_scope." })),
|
|
599
|
+
apply_policy: Type.Optional(StringEnum(["no_apply", "sandbox_simulation", "manual_apply_only", "auto_apply_in_scope"] as const, { description: "P0 apply posture. Required for spec lock; auto_apply_in_scope only creates a launch-authorization envelope and still performs no production apply." })),
|
|
600
|
+
budget_profile: Type.Optional(StringEnum(["advisory", "strict_requested"] as const, { description: "Budget posture. Required for spec lock; strict_requested is required for autonomous dry-run readiness but does not enable global strict budget." })),
|
|
601
|
+
risk: Type.Optional(StringEnum(["low", "medium", "high"] as const, { description: "Risk hint for proof planning metadata." })),
|
|
602
|
+
authorized_autonomy_level: Type.Optional(StringEnum(["L4", "L5", "L6"] as const, { description: "Launch authorization autonomy level metadata. Does not enable execution by itself." })),
|
|
603
|
+
user_launch_confirmed: Type.Optional(Type.Boolean({ description: "Explicit user launch confirmation for in-scope actions. Stored only as launch authorization metadata." })),
|
|
604
|
+
launch_confirmed_at: Type.Optional(Type.String({ description: "Optional launch confirmation timestamp/date metadata." })),
|
|
605
|
+
allowed_actions: Type.Optional(Type.Array(Type.String(), { description: "Launch-scoped action names. Metadata only; runtime gates still enforce safety." })),
|
|
606
|
+
});
|
|
607
|
+
|
|
608
|
+
const AutonomousReadOnlySmokeParams = Type.Object({
|
|
609
|
+
user_need: Type.String({ description: "Original user need/spec to run through a Phase 4A deterministic read-only smoke. Raw text is hashed in persisted reports." }),
|
|
610
|
+
refined_spec: Type.Optional(Type.String({ description: "Optional refined spec after clarification. Raw text is hashed in persisted reports." })),
|
|
611
|
+
run_id: Type.Optional(Type.String({ description: "Optional deterministic autonomous smoke run id. Must be path-safe." })),
|
|
612
|
+
factory_run_id: Type.Optional(Type.String({ description: "Optional deterministic underlying factory_run smoke id. Must be path-safe." })),
|
|
613
|
+
constraints: Type.Optional(Type.Array(Type.String(), { description: "Optional constraints; persisted as hashes only." })),
|
|
614
|
+
acceptance_criteria: Type.Optional(Type.Array(Type.String(), { description: "Spec-lock acceptance criteria; persisted as hashes only." })),
|
|
615
|
+
expected_artifacts: Type.Optional(Type.Array(Type.String(), { description: "Expected artifact descriptions; persisted as hashes only." })),
|
|
616
|
+
allowed_paths: Type.Optional(Type.Array(Type.String(), { description: "Repo-relative-only allowed paths for future gated work; use reports/... snapshot/context_ref refs for external context." })),
|
|
617
|
+
forbidden_paths: Type.Optional(Type.Array(Type.String(), { description: "Forbidden source/path patterns for future gated work." })),
|
|
618
|
+
allowed_sources: Type.Optional(Type.Array(Type.String(), { description: "Allowed context source ids for context_scope." })),
|
|
619
|
+
max_context_tokens: Type.Optional(Type.Number({ description: "Bounded context limit. P0 cap is enforced by context_scope." })),
|
|
620
|
+
apply_policy: Type.Optional(StringEnum(["no_apply", "sandbox_simulation", "manual_apply_only"] as const, { description: "Must be no_apply for Phase 4A read-only smoke; omitted defaults to no_apply." })),
|
|
621
|
+
budget_profile: Type.Optional(StringEnum(["advisory", "strict_requested"] as const, { description: "Must be strict_requested for Phase 4A read-only smoke; omitted defaults to strict_requested." })),
|
|
622
|
+
risk: Type.Optional(StringEnum(["low", "medium", "high"] as const, { description: "Risk hint for proof planning metadata." })),
|
|
623
|
+
authorized_autonomy_level: Type.Optional(StringEnum(["L4", "L5", "L6"] as const, { description: "Launch authorization autonomy level metadata. Does not enable execution by itself." })),
|
|
624
|
+
user_launch_confirmed: Type.Optional(Type.Boolean({ description: "Explicit user launch confirmation for in-scope actions. Stored only as launch authorization metadata." })),
|
|
625
|
+
launch_confirmed_at: Type.Optional(Type.String({ description: "Optional launch confirmation timestamp/date metadata." })),
|
|
626
|
+
allowed_actions: Type.Optional(Type.Array(Type.String(), { description: "Launch-scoped action names. Metadata only; read-only smoke still requires no_apply." })),
|
|
627
|
+
});
|
|
628
|
+
|
|
629
|
+
const AutonomousValidateRunParams = Type.Object({
|
|
630
|
+
run_id: Type.String({ description: "Autonomous dry-run id under reports/autonomous-runs/<run_id> to validate. Read-only; no artifacts are generated." }),
|
|
631
|
+
});
|
|
632
|
+
|
|
633
|
+
const AutonomousValidateSmokeParams = Type.Object({
|
|
634
|
+
run_id: Type.String({ description: "Autonomous read-only smoke run id under reports/autonomous-runs/<run_id> to validate. Read-only; no artifacts are generated." }),
|
|
635
|
+
});
|
|
636
|
+
|
|
637
|
+
export {
|
|
638
|
+
AgentScopeSchema,
|
|
639
|
+
ThinkingLevelSchema,
|
|
640
|
+
AutonomousDryRunParams,
|
|
641
|
+
AutonomousReadOnlySmokeParams,
|
|
642
|
+
AutonomousValidateRunParams,
|
|
643
|
+
AutonomousValidateSmokeParams,
|
|
644
|
+
ChainRunParams,
|
|
645
|
+
ComputeCapsParams,
|
|
646
|
+
ComputePreviewParams,
|
|
647
|
+
ComputeResolveProfileParams,
|
|
648
|
+
ComputeValidateProfileParams,
|
|
649
|
+
ComputeWriteProfileReportsParams,
|
|
650
|
+
ComputePlanWorkflowParams,
|
|
651
|
+
AwaitDelegationRunParams,
|
|
652
|
+
DelegationCatalogParams,
|
|
653
|
+
DelegationRunParams,
|
|
654
|
+
DelegateParams,
|
|
655
|
+
DelegateTaskParams,
|
|
656
|
+
FactoryQuarantineActivateParams,
|
|
657
|
+
FactoryQuarantineReviewParams,
|
|
658
|
+
FactoryQuarantineVerifyActivationParams,
|
|
659
|
+
FactoryRunParams,
|
|
660
|
+
OrchestrateRunParams,
|
|
661
|
+
TaskItem,
|
|
662
|
+
ZobComsAckParams,
|
|
663
|
+
ZobComsAwaitParams,
|
|
664
|
+
ZobComsGetParams,
|
|
665
|
+
ZobComsListParams,
|
|
666
|
+
ZobComsReadinessParams,
|
|
667
|
+
ZobComsReplyParams,
|
|
668
|
+
ZobComsSendParams,
|
|
669
|
+
ZobComsStatusParams,
|
|
670
|
+
ZpeerAskParams,
|
|
671
|
+
ZcommitRunParams,
|
|
672
|
+
ZobGoalRoomSendParams,
|
|
673
|
+
ZobGoalRoomListParams,
|
|
674
|
+
GovernedRequestExtractParams,
|
|
675
|
+
WorkerPoolPlanParams,
|
|
676
|
+
WorkerPoolStatusParams,
|
|
677
|
+
WorkerPoolOwnerRequestParams,
|
|
678
|
+
WorkerPoolOwnerDecisionParams,
|
|
679
|
+
WorkspaceClaimParams,
|
|
680
|
+
WorkspaceReleaseParams,
|
|
681
|
+
WorkspaceClaimsListParams,
|
|
682
|
+
MergeCandidateSubmitParams,
|
|
683
|
+
MergeQueueDecideParams,
|
|
684
|
+
MergeQueueListParams,
|
|
685
|
+
MissionControlProposeCommandParams,
|
|
686
|
+
MissionControlSnapshotParams,
|
|
687
|
+
ContextReadinessParams,
|
|
688
|
+
ContextScopeValidateParams,
|
|
689
|
+
ContextWritebackProposalParams,
|
|
690
|
+
ProjectDnaReadinessParams,
|
|
691
|
+
ProjectDnaPlanWorkflowParams,
|
|
692
|
+
ProjectDnaQueryParams,
|
|
693
|
+
ProjectDnaFederatedQueryParams,
|
|
694
|
+
ProjectDnaWritebackProposalParams,
|
|
695
|
+
};
|