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,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://zob.local/schemas/project-fingerprint.v1.json",
|
|
4
|
+
"title": "ProjectDNA Project Fingerprint",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["schema", "source_id", "files_scanned", "files_skipped", "languages", "generated_at", "secret_scan"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema": { "const": "zob.project-fingerprint.v1" },
|
|
10
|
+
"source_id": { "type": "string" },
|
|
11
|
+
"root_hash": { "type": "string" },
|
|
12
|
+
"files_scanned": { "type": "integer", "minimum": 0 },
|
|
13
|
+
"files_skipped": { "type": "integer", "minimum": 0 },
|
|
14
|
+
"languages": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } },
|
|
15
|
+
"package_managers": { "type": "array", "items": { "type": "string" } },
|
|
16
|
+
"frameworks_detected": { "type": "array", "items": { "type": "string" } },
|
|
17
|
+
"secret_scan": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["forbidden_paths_skipped", "secret_like_artifacts_included"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"forbidden_paths_skipped": { "type": "boolean" },
|
|
22
|
+
"secret_like_artifacts_included": { "const": false },
|
|
23
|
+
"skipped_patterns": { "type": "array", "items": { "type": "string" } }
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"generated_at": { "type": "string" }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://zob.local/project-dna/query-steward-report.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["schema", "scan_dir", "query_hash", "raw_query_persisted", "intent", "controlled_expansion", "loading_rules", "safety"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"schema": { "const": "zob.project-dna-query-steward-report.v1" },
|
|
8
|
+
"scan_dir": { "type": "string" },
|
|
9
|
+
"query_hash": { "type": "string" },
|
|
10
|
+
"raw_query_persisted": { "const": false },
|
|
11
|
+
"intent": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"required": ["id", "confidence"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"id": { "type": "string" },
|
|
16
|
+
"confidence": { "enum": ["low", "medium", "high"] },
|
|
17
|
+
"golden_case_id": { "type": ["string", "null"] }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"controlled_expansion": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"required": ["stored_raw_terms", "term_hashes", "term_count"],
|
|
23
|
+
"properties": {
|
|
24
|
+
"stored_raw_terms": { "const": false },
|
|
25
|
+
"term_hashes": { "type": "array", "items": { "type": "string" } },
|
|
26
|
+
"term_count": { "type": "integer", "minimum": 0 }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"expected_patterns": { "type": "array", "items": { "type": "string" } },
|
|
30
|
+
"expected_file_hints": { "type": "array", "items": { "type": "string" } },
|
|
31
|
+
"loading_rules": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"required": ["bounded_context_only", "citation_required", "agent_loads_entire_project", "writeback_policy"],
|
|
34
|
+
"properties": {
|
|
35
|
+
"bounded_context_only": { "const": true },
|
|
36
|
+
"citation_required": { "const": true },
|
|
37
|
+
"agent_loads_entire_project": { "const": false },
|
|
38
|
+
"writeback_policy": { "const": "proposal_only" }
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"safety": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"required": ["source_project_modified", "knowledge_backend_write_enabled", "durable_promotion_allowed"],
|
|
44
|
+
"properties": {
|
|
45
|
+
"source_project_modified": { "const": false },
|
|
46
|
+
"knowledge_backend_write_enabled": { "const": false },
|
|
47
|
+
"durable_promotion_allowed": { "const": false }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"additionalProperties": true
|
|
52
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"factory": "project-dna",
|
|
3
|
+
"description": "Smoke manifest for the P0 ProjectDNA scaffold. Uses the local plan document as the approved input artifact; does not scan an external project.",
|
|
4
|
+
"items": [
|
|
5
|
+
{
|
|
6
|
+
"id": "project-dna-plan-smoke",
|
|
7
|
+
"path": "docs/ZOB_PROJECT_DNA_CODE_KNOWLEDGE_GRAPH_PLAN.md",
|
|
8
|
+
"metadata": {
|
|
9
|
+
"source": "local-plan-doc",
|
|
10
|
+
"execution_posture": "scaffold_validation_only",
|
|
11
|
+
"expected_signals": [
|
|
12
|
+
"code-first project truth",
|
|
13
|
+
"neutral sample quarantine",
|
|
14
|
+
"code knowledge graph",
|
|
15
|
+
"capsules with citations",
|
|
16
|
+
"prior wiki/retrieval inspiration without direct wiki-only reuse"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"expectedArtifacts": [
|
|
22
|
+
"project-dna-summary.json",
|
|
23
|
+
"project-dna-context-pack.json",
|
|
24
|
+
"project-dna-readiness.json",
|
|
25
|
+
"project-dna-capsules.md"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"factory": "roadmap-smoke-lots",
|
|
3
|
+
"description": "Batch manifest for parent-owned roadmap lot planning across safe local documentation inputs. Batch remains gated by pilot proof, persisted oracle review, and explicit concurrency cap.",
|
|
4
|
+
"items": [
|
|
5
|
+
{
|
|
6
|
+
"id": "roadmap-main-batch",
|
|
7
|
+
"path": "docs/ROADMAP.md",
|
|
8
|
+
"metadata": { "source": "local-roadmap", "batch": true }
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "roadmap-lots-batch",
|
|
12
|
+
"path": "docs/ROADMAP_FACTORY_LOTS.md",
|
|
13
|
+
"metadata": { "source": "local-roadmap", "batch": true }
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "operating-model-batch",
|
|
17
|
+
"path": "docs/OPERATING_MODEL.md",
|
|
18
|
+
"metadata": { "source": "local-doc", "batch": true }
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "architecture-batch",
|
|
22
|
+
"path": "docs/ARCHITECTURE.md",
|
|
23
|
+
"metadata": { "source": "local-doc", "batch": true }
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "factory-plan-batch",
|
|
27
|
+
"path": "docs/AGENTIC_ENGINEERING_SOFTWARE_FACTORY_PLAN.md",
|
|
28
|
+
"metadata": { "source": "local-doc", "batch": true }
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "software-factory-mode-batch",
|
|
32
|
+
"path": "docs/ZOB_SOFTWARE_FACTORY_MODE.md",
|
|
33
|
+
"metadata": { "source": "local-doc", "batch": true }
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "rules-system-batch",
|
|
37
|
+
"path": "docs/ZOB_RULES_SYSTEM.md",
|
|
38
|
+
"metadata": { "source": "local-doc", "batch": true }
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"expectedArtifacts": [
|
|
42
|
+
"patterns.canonical.json",
|
|
43
|
+
"risks.canonical.json",
|
|
44
|
+
"workflow-rules.md",
|
|
45
|
+
"agent-instructions.md",
|
|
46
|
+
"quality-gates.json",
|
|
47
|
+
"dashboard-summary.md"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "roadmap-smoke-lots",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Turn docs/ROADMAP.md into parent-owned, smoke-first execution lots with explicit blockers and oracle gates.",
|
|
5
|
+
"defaultMode": "smoke",
|
|
6
|
+
"requiredStages": [
|
|
7
|
+
"manifest_loaded",
|
|
8
|
+
"agentic_plan_written",
|
|
9
|
+
"item_processed",
|
|
10
|
+
"patterns_canonicalized",
|
|
11
|
+
"risks_canonicalized",
|
|
12
|
+
"quality_gates_written",
|
|
13
|
+
"validation",
|
|
14
|
+
"sentinel"
|
|
15
|
+
],
|
|
16
|
+
"expectedArtifacts": [
|
|
17
|
+
"patterns.canonical.json",
|
|
18
|
+
"risks.canonical.json",
|
|
19
|
+
"workflow-rules.md",
|
|
20
|
+
"agent-instructions.md",
|
|
21
|
+
"quality-gates.json",
|
|
22
|
+
"dashboard-summary.md"
|
|
23
|
+
],
|
|
24
|
+
"stages": [
|
|
25
|
+
{
|
|
26
|
+
"name": "map-roadmap-items",
|
|
27
|
+
"type": "map",
|
|
28
|
+
"agent": "explore",
|
|
29
|
+
"outputContract": "explore.v1",
|
|
30
|
+
"requiredTools": ["read", "grep", "find", "ls"],
|
|
31
|
+
"expectedOutcome": "Extract unchecked roadmap items, prerequisites, blockers, and smoke-first lot candidates from one roadmap artifact.",
|
|
32
|
+
"promptTemplate": "Analyze roadmap item {item.id} at {item.path}. Map unchecked roadmap work into smoke-first lots. Separate safe-now slices from blocked batch/router/daemon/browser/write-adapter work. Return literal_request, actual_need, success_looks_like, files, answer, gaps, next_steps, evidence, risks/blockers, compliance, and deliverable_delivered.",
|
|
33
|
+
"mustDo": [
|
|
34
|
+
"Read the roadmap artifact before conclusions.",
|
|
35
|
+
"Cite roadmap sections and unchecked items as evidence.",
|
|
36
|
+
"Prefer smoke-first lots with deterministic validation artifacts."
|
|
37
|
+
],
|
|
38
|
+
"mustNotDo": [
|
|
39
|
+
"No edits.",
|
|
40
|
+
"No secrets.",
|
|
41
|
+
"No destructive commands.",
|
|
42
|
+
"No daemon, pilot, batch, model-router, or browser/write-adapter execution."
|
|
43
|
+
],
|
|
44
|
+
"context": "Factory {factory.name} run {run.id}; map stage for {item.id} at {item.path}. Outputs directory: {outputs.dir}."
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "reduce-prioritize-lots",
|
|
48
|
+
"type": "reduce",
|
|
49
|
+
"agent": "synthesis",
|
|
50
|
+
"outputContract": "synthesis.v1",
|
|
51
|
+
"requiredTools": ["read", "grep", "find", "ls"],
|
|
52
|
+
"expectedOutcome": "Prioritize roadmap lots into an execution queue with prerequisites, oracle gates, and blocked items.",
|
|
53
|
+
"promptTemplate": "Synthesize roadmap lot map outputs for factory {factory.name} run {run.id}. Read outputs from {outputs.dir}. Produce consensus, conflicts, missing_evidence, recommended_next_action, tasks_to_rerun, evidence, risks/blockers, compliance, and deliverable_delivered. Prioritize safe smoke-first lots before gated pilot/batch/router/daemon work.",
|
|
54
|
+
"mustDo": [
|
|
55
|
+
"Keep parent-owned preflight and oracle gates explicit.",
|
|
56
|
+
"Mark blocked prerequisites clearly.",
|
|
57
|
+
"Recommend the next single smoke slice only."
|
|
58
|
+
],
|
|
59
|
+
"mustNotDo": [
|
|
60
|
+
"No edits outside the run directory.",
|
|
61
|
+
"No invented evidence.",
|
|
62
|
+
"No secrets.",
|
|
63
|
+
"No autonomy, daemon, pilot, batch, or router activation."
|
|
64
|
+
],
|
|
65
|
+
"context": "Factory {factory.name} reduce stage for run {run.id}."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "validate-roadmap-lots",
|
|
69
|
+
"type": "validate",
|
|
70
|
+
"agent": "oracle-merge",
|
|
71
|
+
"outputContract": "oracle-merge.v1",
|
|
72
|
+
"requiredTools": ["read", "grep", "find", "ls"],
|
|
73
|
+
"expectedOutcome": "Validate roadmap factory outputs and produce PASS/FAIL/WARN with no_ship decision.",
|
|
74
|
+
"promptTemplate": "Validate factory {factory.name} run {run.id}. Check manifest, outputs, checkpoints, validation.json, final-report.md, telemetry.json, and DONE.sentinel under {run.dir}. Return verdict, confidence, no_ship, blockers, notes, evidence, merged_lanes, risks/blockers, compliance, and deliverable_delivered.",
|
|
75
|
+
"mustDo": [
|
|
76
|
+
"Fail if sentinel or validation evidence is missing.",
|
|
77
|
+
"Warn if blocked roadmap items are treated as ready-to-run.",
|
|
78
|
+
"Cite exact artifact paths."
|
|
79
|
+
],
|
|
80
|
+
"mustNotDo": [
|
|
81
|
+
"No patches.",
|
|
82
|
+
"No commits.",
|
|
83
|
+
"No secrets.",
|
|
84
|
+
"No daemon, pilot, batch, model-router, or browser/write-adapter execution."
|
|
85
|
+
],
|
|
86
|
+
"context": "Factory {factory.name} validation stage for run {run.id}."
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"factory": "roadmap-smoke-lots",
|
|
3
|
+
"description": "Pilot manifest for parent-owned roadmap lot planning across safe local documentation inputs. Pilot remains gated by registered smoke proof and persisted oracle review.",
|
|
4
|
+
"items": [
|
|
5
|
+
{
|
|
6
|
+
"id": "roadmap-main-pilot",
|
|
7
|
+
"path": "docs/ROADMAP.md",
|
|
8
|
+
"metadata": {
|
|
9
|
+
"source": "local-roadmap",
|
|
10
|
+
"pilot": true,
|
|
11
|
+
"focus": "active roadmap objectives and blocked autonomy themes"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "roadmap-lots-pilot",
|
|
16
|
+
"path": "docs/ROADMAP_FACTORY_LOTS.md",
|
|
17
|
+
"metadata": {
|
|
18
|
+
"source": "local-roadmap",
|
|
19
|
+
"pilot": true,
|
|
20
|
+
"focus": "factory lot sequencing and gate evidence"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "operating-model-pilot",
|
|
25
|
+
"path": "docs/OPERATING_MODEL.md",
|
|
26
|
+
"metadata": {
|
|
27
|
+
"source": "local-doc",
|
|
28
|
+
"pilot": true,
|
|
29
|
+
"focus": "operating model constraints and escalation gates"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "architecture-pilot",
|
|
34
|
+
"path": "docs/ARCHITECTURE.md",
|
|
35
|
+
"metadata": {
|
|
36
|
+
"source": "local-doc",
|
|
37
|
+
"pilot": true,
|
|
38
|
+
"focus": "architecture boundaries for multi-agent roadmap work"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"expectedArtifacts": [
|
|
43
|
+
"patterns.canonical.json",
|
|
44
|
+
"risks.canonical.json",
|
|
45
|
+
"workflow-rules.md",
|
|
46
|
+
"agent-instructions.md",
|
|
47
|
+
"quality-gates.json",
|
|
48
|
+
"dashboard-summary.md"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"factory": "roadmap-smoke-lots",
|
|
3
|
+
"description": "Smoke manifest that treats docs/ROADMAP.md as the single source for smoke-first ZOB execution lots.",
|
|
4
|
+
"items": [
|
|
5
|
+
{
|
|
6
|
+
"id": "roadmap-main",
|
|
7
|
+
"path": "docs/ROADMAP.md",
|
|
8
|
+
"metadata": {
|
|
9
|
+
"source": "local-roadmap",
|
|
10
|
+
"safe_now_themes": [
|
|
11
|
+
"v1.4 budget preflight dry-run",
|
|
12
|
+
"v1.1 delegation chronicle state smoke",
|
|
13
|
+
"v1.4 stop-condition advisory smoke",
|
|
14
|
+
"v1.2 factory state-event smoke",
|
|
15
|
+
"v1.8 read-only factory templates"
|
|
16
|
+
],
|
|
17
|
+
"blocked_themes": [
|
|
18
|
+
"batch without budget",
|
|
19
|
+
"always-on daemon",
|
|
20
|
+
"model-router activation",
|
|
21
|
+
"browser/write adapters without approval",
|
|
22
|
+
"networked coms or peer chatroom"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"expectedArtifacts": [
|
|
28
|
+
"patterns.canonical.json",
|
|
29
|
+
"risks.canonical.json",
|
|
30
|
+
"workflow-rules.md",
|
|
31
|
+
"agent-instructions.md",
|
|
32
|
+
"quality-gates.json",
|
|
33
|
+
"dashboard-summary.md"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "zob.git-policy.v1",
|
|
3
|
+
"defaults": {
|
|
4
|
+
"autocommit": "off",
|
|
5
|
+
"autopush": "off"
|
|
6
|
+
},
|
|
7
|
+
"commandSurface": {
|
|
8
|
+
"explicitOnly": true,
|
|
9
|
+
"allowedCommands": [
|
|
10
|
+
"/zcommit status [paths/globs...]",
|
|
11
|
+
"/zcommit plan [paths/globs...]",
|
|
12
|
+
"/zcommit adopt <paths...>",
|
|
13
|
+
"/zcommit commit [paths/globs...]",
|
|
14
|
+
"/zcommit push",
|
|
15
|
+
"/zcommit autocommit on",
|
|
16
|
+
"/zcommit autocommit off",
|
|
17
|
+
"/zcommit autopush on",
|
|
18
|
+
"/zcommit autopush off"
|
|
19
|
+
],
|
|
20
|
+
"aliasesAllowed": false,
|
|
21
|
+
"directGitCommitPushTagAllowed": false,
|
|
22
|
+
"agentExecutableTools": ["zob_zcommit_run"]
|
|
23
|
+
},
|
|
24
|
+
"authorization": {
|
|
25
|
+
"baseline": "no commit, tag, or push unless explicitly requested by the user or enabled through /zcommit autocommit/autopush for the current repo/session scope",
|
|
26
|
+
"autocommitRequires": [
|
|
27
|
+
"autocommit is on for the current repo/session scope",
|
|
28
|
+
"policy loads successfully",
|
|
29
|
+
"safe workspace dirty files exist after forbidden-path filtering",
|
|
30
|
+
"no forbidden paths are already staged",
|
|
31
|
+
"Conventional Commit message generation succeeds",
|
|
32
|
+
"no explicit no-ship blocker is present"
|
|
33
|
+
],
|
|
34
|
+
"autopushRequires": [
|
|
35
|
+
"autopush is on for the current repo/session scope or /zcommit push is explicitly requested",
|
|
36
|
+
"commit was created through /zcommit commit",
|
|
37
|
+
"target remote and branch are allowed",
|
|
38
|
+
"last /zcommit commit is still HEAD",
|
|
39
|
+
"no no-ship blocker is present"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"commitMessage": {
|
|
43
|
+
"format": "conventional-commits",
|
|
44
|
+
"required": true,
|
|
45
|
+
"allowedTypes": [
|
|
46
|
+
"feat",
|
|
47
|
+
"fix",
|
|
48
|
+
"docs",
|
|
49
|
+
"test",
|
|
50
|
+
"refactor",
|
|
51
|
+
"chore",
|
|
52
|
+
"ci",
|
|
53
|
+
"build",
|
|
54
|
+
"perf",
|
|
55
|
+
"revert"
|
|
56
|
+
],
|
|
57
|
+
"requireImperativeSummary": true,
|
|
58
|
+
"includeValidationEvidenceWhenUseful": true
|
|
59
|
+
},
|
|
60
|
+
"validation": {
|
|
61
|
+
"mode": "advisory",
|
|
62
|
+
"runBeforeCommit": true,
|
|
63
|
+
"requiredBeforeCommit": false,
|
|
64
|
+
"requiredBeforePush": false,
|
|
65
|
+
"recordCommandsAndResults": true,
|
|
66
|
+
"allowExplicitException": true
|
|
67
|
+
},
|
|
68
|
+
"fileSelection": {
|
|
69
|
+
"strategy": "workspace_filtered",
|
|
70
|
+
"onlyAgentOwnedFiles": false,
|
|
71
|
+
"excludeUnrelatedDirtyFiles": false,
|
|
72
|
+
"bulkStageAllAllowed": true,
|
|
73
|
+
"forbiddenPaths": [
|
|
74
|
+
".env",
|
|
75
|
+
".env.*",
|
|
76
|
+
"~/.ssh",
|
|
77
|
+
"~/.aws",
|
|
78
|
+
"~/.gnupg",
|
|
79
|
+
"*.pem",
|
|
80
|
+
"*.key",
|
|
81
|
+
"node_modules/",
|
|
82
|
+
"dist/",
|
|
83
|
+
"build/",
|
|
84
|
+
"reports/",
|
|
85
|
+
".pi/sessions/",
|
|
86
|
+
".pi/agent-sessions/",
|
|
87
|
+
".pi/tmp/",
|
|
88
|
+
".pi/logs/",
|
|
89
|
+
".pi/coms/",
|
|
90
|
+
".pi/context/",
|
|
91
|
+
".pi/goal-rooms/",
|
|
92
|
+
".pi/workspace-claims/",
|
|
93
|
+
".pi/worker-pools/",
|
|
94
|
+
".pi/merge-queue/"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"remotes": {
|
|
98
|
+
"allowed": ["origin"],
|
|
99
|
+
"default": "origin"
|
|
100
|
+
},
|
|
101
|
+
"branches": {
|
|
102
|
+
"allowedPatterns": [
|
|
103
|
+
"main",
|
|
104
|
+
"master",
|
|
105
|
+
"develop",
|
|
106
|
+
"feature/*",
|
|
107
|
+
"fix/*",
|
|
108
|
+
"docs/*",
|
|
109
|
+
"chore/*",
|
|
110
|
+
"zob/*"
|
|
111
|
+
],
|
|
112
|
+
"protectedDirectPushRequiresExplicitUserApproval": ["main", "master"]
|
|
113
|
+
},
|
|
114
|
+
"push": {
|
|
115
|
+
"forcePushAllowed": false,
|
|
116
|
+
"tagsAllowed": false,
|
|
117
|
+
"pushAllAllowed": false,
|
|
118
|
+
"setUpstreamAllowedOnlyWhenExplicit": true
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "zob.coms-transport-policy.v1",
|
|
3
|
+
"name": "zob_coms_transport",
|
|
4
|
+
"p0Status": "required_local_for_agentic_workflow",
|
|
5
|
+
"mode": "required_local",
|
|
6
|
+
"agenticWorkflowsRequireLive": true,
|
|
7
|
+
"breakGlassApprovalRequired": true,
|
|
8
|
+
"enabled": true,
|
|
9
|
+
"localDispatchEnabled": true,
|
|
10
|
+
"networkEnabled": false,
|
|
11
|
+
"globalActivation": false,
|
|
12
|
+
"dispatchAllowed": true,
|
|
13
|
+
"canonicalLedger": ".pi/coms/messages.jsonl",
|
|
14
|
+
"statusLedger": ".pi/coms/status.jsonl",
|
|
15
|
+
"bodyPolicy": "hash_only",
|
|
16
|
+
"heartbeat": {
|
|
17
|
+
"enabled": true,
|
|
18
|
+
"intervalMs": 10000,
|
|
19
|
+
"staleAfterMs": 30000,
|
|
20
|
+
"offlineAfterMs": 60000,
|
|
21
|
+
"stalePeerCountsAsCompletion": false,
|
|
22
|
+
"stalePeerStatus": "not_completion_evidence"
|
|
23
|
+
},
|
|
24
|
+
"responseCapture": {
|
|
25
|
+
"enabled": true,
|
|
26
|
+
"storeBodies": false,
|
|
27
|
+
"storeOutputHashOnly": true,
|
|
28
|
+
"artifactRefsAllowed": true
|
|
29
|
+
},
|
|
30
|
+
"transcriptCapture": {
|
|
31
|
+
"enabled": false,
|
|
32
|
+
"mode": "off",
|
|
33
|
+
"artifactRoot": "reports/coms-captures",
|
|
34
|
+
"artifactRefsOnlyInLedger": true,
|
|
35
|
+
"persistBodiesInComsLedger": false,
|
|
36
|
+
"redactionRequired": true,
|
|
37
|
+
"retentionClass": "short",
|
|
38
|
+
"maxArtifactBytes": 32768,
|
|
39
|
+
"redactionProfile": "zob-default-v1"
|
|
40
|
+
},
|
|
41
|
+
"commandPolicy": {
|
|
42
|
+
"proposalOnly": true,
|
|
43
|
+
"directWorkerWrites": false,
|
|
44
|
+
"requiresParentApproval": true
|
|
45
|
+
},
|
|
46
|
+
"legacy": {
|
|
47
|
+
"appendOnlySendEnabled": false,
|
|
48
|
+
"breakGlassLedgerOnlyRequiresApproval": true
|
|
49
|
+
},
|
|
50
|
+
"p1Candidates": [
|
|
51
|
+
"local socket or named pipe registry",
|
|
52
|
+
"heartbeat and stale/offline detection",
|
|
53
|
+
"response capture with outputHash/artifactRef only",
|
|
54
|
+
"bounded long await with stop-condition mapping"
|
|
55
|
+
],
|
|
56
|
+
"p2NetworkPolicyRequired": true,
|
|
57
|
+
"noShipConditions": [
|
|
58
|
+
"raw prompt/output bodies in ZOB ledgers",
|
|
59
|
+
"free worker-to-worker chat",
|
|
60
|
+
"network transport without auth/locality policy",
|
|
61
|
+
"stale/offline peer counted as successful completion",
|
|
62
|
+
"dashboard direct worker writes"
|
|
63
|
+
]
|
|
64
|
+
}
|