agentic-orchestrator 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/.dockerignore +24 -0
- package/.github/workflows/mcp-contract-validation.yml +38 -0
- package/Agentic-Orchestrator.iml +9 -0
- package/LICENSE +21 -0
- package/README.md +679 -0
- package/agentic/orchestrator/agents.yaml +14 -0
- package/agentic/orchestrator/gates.yaml +31 -0
- package/agentic/orchestrator/policy.yaml +145 -0
- package/agentic/orchestrator/prompts/builder.system.md +1 -0
- package/agentic/orchestrator/prompts/planner.system.md +15 -0
- package/agentic/orchestrator/prompts/qa.system.md +1 -0
- package/agentic/orchestrator/schemas/agents.schema.json +49 -0
- package/agentic/orchestrator/schemas/gates.schema.json +65 -0
- package/agentic/orchestrator/schemas/index.schema.json +108 -0
- package/agentic/orchestrator/schemas/plan.schema.json +127 -0
- package/agentic/orchestrator/schemas/policy.schema.json +227 -0
- package/agentic/orchestrator/schemas/qa_test_index.schema.json +53 -0
- package/agentic/orchestrator/schemas/state.schema.json +92 -0
- package/agentic/orchestrator/tools/catalog.json +399 -0
- package/agentic/orchestrator/tools/errors.schema.json +21 -0
- package/agentic/orchestrator/tools/protocol.json +8 -0
- package/agentic/orchestrator/tools/schemas/input/collisions.scan.input.schema.json +7 -0
- package/agentic/orchestrator/tools/schemas/input/evidence.latest.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/input/feature.delete.input.schema.json +42 -0
- package/agentic/orchestrator/tools/schemas/input/feature.discover_specs.input.schema.json +7 -0
- package/agentic/orchestrator/tools/schemas/input/feature.get_context.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/input/feature.init.input.schema.json +21 -0
- package/agentic/orchestrator/tools/schemas/input/feature.log_append.input.schema.json +26 -0
- package/agentic/orchestrator/tools/schemas/input/feature.ready_to_merge.input.schema.json +34 -0
- package/agentic/orchestrator/tools/schemas/input/feature.state_get.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/input/feature.state_patch.input.schema.json +28 -0
- package/agentic/orchestrator/tools/schemas/input/gates.list.input.schema.json +11 -0
- package/agentic/orchestrator/tools/schemas/input/gates.run.input.schema.json +29 -0
- package/agentic/orchestrator/tools/schemas/input/locks.acquire.input.schema.json +29 -0
- package/agentic/orchestrator/tools/schemas/input/locks.release.input.schema.json +26 -0
- package/agentic/orchestrator/tools/schemas/input/mutating.schema.json +14 -0
- package/agentic/orchestrator/tools/schemas/input/plan.get.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/input/plan.submit.input.schema.json +28 -0
- package/agentic/orchestrator/tools/schemas/input/plan.update.input.schema.json +29 -0
- package/agentic/orchestrator/tools/schemas/input/qa.test_index_get.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/input/qa.test_index_update.input.schema.json +38 -0
- package/agentic/orchestrator/tools/schemas/input/read.schema.json +6 -0
- package/agentic/orchestrator/tools/schemas/input/repo.apply_patch.input.schema.json +25 -0
- package/agentic/orchestrator/tools/schemas/input/repo.diff.input.schema.json +21 -0
- package/agentic/orchestrator/tools/schemas/input/repo.diff_bundle.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/input/repo.ensure_worktree.input.schema.json +21 -0
- package/agentic/orchestrator/tools/schemas/input/repo.read_file.input.schema.json +20 -0
- package/agentic/orchestrator/tools/schemas/input/repo.search.input.schema.json +20 -0
- package/agentic/orchestrator/tools/schemas/input/repo.status.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/input/report.dashboard.input.schema.json +7 -0
- package/agentic/orchestrator/tools/schemas/input/report.feature_summary.input.schema.json +15 -0
- package/agentic/orchestrator/tools/schemas/output/collisions.scan.output.schema.json +17 -0
- package/agentic/orchestrator/tools/schemas/output/evidence.latest.output.schema.json +20 -0
- package/agentic/orchestrator/tools/schemas/output/feature.delete.output.schema.json +224 -0
- package/agentic/orchestrator/tools/schemas/output/feature.discover_specs.output.schema.json +32 -0
- package/agentic/orchestrator/tools/schemas/output/feature.get_context.output.schema.json +40 -0
- package/agentic/orchestrator/tools/schemas/output/feature.init.output.schema.json +24 -0
- package/agentic/orchestrator/tools/schemas/output/feature.log_append.output.schema.json +24 -0
- package/agentic/orchestrator/tools/schemas/output/feature.ready_to_merge.output.schema.json +30 -0
- package/agentic/orchestrator/tools/schemas/output/feature.state_get.output.schema.json +18 -0
- package/agentic/orchestrator/tools/schemas/output/feature.state_patch.output.schema.json +24 -0
- package/agentic/orchestrator/tools/schemas/output/gates.list.output.schema.json +42 -0
- package/agentic/orchestrator/tools/schemas/output/gates.run.output.schema.json +37 -0
- package/agentic/orchestrator/tools/schemas/output/locks.acquire.output.schema.json +34 -0
- package/agentic/orchestrator/tools/schemas/output/locks.release.output.schema.json +24 -0
- package/agentic/orchestrator/tools/schemas/output/plan.get.output.schema.json +26 -0
- package/agentic/orchestrator/tools/schemas/output/plan.submit.output.schema.json +23 -0
- package/agentic/orchestrator/tools/schemas/output/plan.update.output.schema.json +23 -0
- package/agentic/orchestrator/tools/schemas/output/qa.test_index_get.output.schema.json +22 -0
- package/agentic/orchestrator/tools/schemas/output/qa.test_index_update.output.schema.json +19 -0
- package/agentic/orchestrator/tools/schemas/output/repo.apply_patch.output.schema.json +33 -0
- package/agentic/orchestrator/tools/schemas/output/repo.diff.output.schema.json +19 -0
- package/agentic/orchestrator/tools/schemas/output/repo.diff_bundle.output.schema.json +32 -0
- package/agentic/orchestrator/tools/schemas/output/repo.ensure_worktree.output.schema.json +29 -0
- package/agentic/orchestrator/tools/schemas/output/repo.read_file.output.schema.json +24 -0
- package/agentic/orchestrator/tools/schemas/output/repo.search.output.schema.json +26 -0
- package/agentic/orchestrator/tools/schemas/output/repo.status.output.schema.json +27 -0
- package/agentic/orchestrator/tools/schemas/output/report.dashboard.output.schema.json +21 -0
- package/agentic/orchestrator/tools/schemas/output/report.feature_summary.output.schema.json +36 -0
- package/agentic/orchestrator/tools/schemas/output/standard_success.schema.json +6 -0
- package/agentic/orchestrator/tools.md +32 -0
- package/apps/control-plane/project.json +39 -0
- package/apps/control-plane/scripts/validate-architecture-rules.mjs +170 -0
- package/apps/control-plane/scripts/validate-docker-mcp-contract.mjs +84 -0
- package/apps/control-plane/scripts/validate-mcp-contracts.ts +61 -0
- package/apps/control-plane/src/application/services/collision-queue-service.ts +227 -0
- package/apps/control-plane/src/application/services/feature-deletion-service.ts +459 -0
- package/apps/control-plane/src/application/services/feature-lifecycle-service.ts +177 -0
- package/apps/control-plane/src/application/services/feature-state-service.ts +125 -0
- package/apps/control-plane/src/application/services/gate-service.ts +232 -0
- package/apps/control-plane/src/application/services/lock-service.ts +298 -0
- package/apps/control-plane/src/application/services/merge-service.ts +246 -0
- package/apps/control-plane/src/application/services/patch-service.ts +259 -0
- package/apps/control-plane/src/application/services/plan-service.ts +302 -0
- package/apps/control-plane/src/application/services/qa-index-service.ts +98 -0
- package/apps/control-plane/src/application/services/reporting-service.ts +120 -0
- package/apps/control-plane/src/application/services/run-lease-service.ts +340 -0
- package/apps/control-plane/src/application/tools/tool-metadata.ts +56 -0
- package/apps/control-plane/src/application/tools/tool-router.ts +43 -0
- package/apps/control-plane/src/cli/aop.ts +31 -0
- package/apps/control-plane/src/cli/cli-argument-parser.ts +116 -0
- package/apps/control-plane/src/cli/delete-command-handler.ts +90 -0
- package/apps/control-plane/src/cli/io.ts +14 -0
- package/apps/control-plane/src/cli/resume-command-handler.ts +228 -0
- package/apps/control-plane/src/cli/run-command-handler.ts +57 -0
- package/apps/control-plane/src/cli/spec-ingestion-service.ts +88 -0
- package/apps/control-plane/src/cli/spec-input-resolver.ts +95 -0
- package/apps/control-plane/src/cli/spec-utils.ts +40 -0
- package/apps/control-plane/src/cli/status-command-handler.ts +17 -0
- package/apps/control-plane/src/cli/stop-command-handler.ts +5 -0
- package/apps/control-plane/src/cli/tooling.ts +36 -0
- package/apps/control-plane/src/cli/types.ts +34 -0
- package/apps/control-plane/src/core/collisions.ts +121 -0
- package/apps/control-plane/src/core/constants.ts +72 -0
- package/apps/control-plane/src/core/error-codes.ts +54 -0
- package/apps/control-plane/src/core/frontmatter.ts +42 -0
- package/apps/control-plane/src/core/fs.ts +173 -0
- package/apps/control-plane/src/core/gates.ts +361 -0
- package/apps/control-plane/src/core/git.ts +115 -0
- package/apps/control-plane/src/core/kernel.ts +1077 -0
- package/apps/control-plane/src/core/patch.ts +152 -0
- package/apps/control-plane/src/core/path-layout.ts +113 -0
- package/apps/control-plane/src/core/path-rules.ts +71 -0
- package/apps/control-plane/src/core/qa-index.ts +179 -0
- package/apps/control-plane/src/core/response.ts +62 -0
- package/apps/control-plane/src/core/runtime-sessions.ts +20 -0
- package/apps/control-plane/src/core/schemas.ts +125 -0
- package/apps/control-plane/src/index.ts +21 -0
- package/apps/control-plane/src/interfaces/cli/bootstrap.ts +100 -0
- package/apps/control-plane/src/mcp/kernel-tool-executor.ts +39 -0
- package/apps/control-plane/src/mcp/mcp-server-adapter.ts +74 -0
- package/apps/control-plane/src/mcp/operation-ledger.ts +108 -0
- package/apps/control-plane/src/mcp/protocol-contract.ts +9 -0
- package/apps/control-plane/src/mcp/runtime-factory.ts +105 -0
- package/apps/control-plane/src/mcp/runtime-types.ts +44 -0
- package/apps/control-plane/src/mcp/token-auth-verifier.ts +63 -0
- package/apps/control-plane/src/mcp/token-claims-validator.ts +72 -0
- package/apps/control-plane/src/mcp/token-codec.ts +62 -0
- package/apps/control-plane/src/mcp/tool-authorizer.ts +43 -0
- package/apps/control-plane/src/mcp/tool-client.ts +78 -0
- package/apps/control-plane/src/mcp/tool-contract-validator.ts +83 -0
- package/apps/control-plane/src/mcp/tool-registry-loader.ts +135 -0
- package/apps/control-plane/src/mcp/tool-runtime.ts +336 -0
- package/apps/control-plane/src/mcp/tools-markdown-generator.ts +26 -0
- package/apps/control-plane/src/mcp/transport-types.ts +16 -0
- package/apps/control-plane/src/mcp/types.ts +2 -0
- package/apps/control-plane/src/providers/providers.ts +177 -0
- package/apps/control-plane/src/supervisor/build-wave-executor.ts +55 -0
- package/apps/control-plane/src/supervisor/lease-heartbeat-service.ts +22 -0
- package/apps/control-plane/src/supervisor/planning-wave-executor.ts +316 -0
- package/apps/control-plane/src/supervisor/prompt-bundle-loader.ts +62 -0
- package/apps/control-plane/src/supervisor/qa-wave-executor.ts +99 -0
- package/apps/control-plane/src/supervisor/run-coordinator.ts +224 -0
- package/apps/control-plane/src/supervisor/runtime.ts +347 -0
- package/apps/control-plane/src/supervisor/session-orchestrator.ts +268 -0
- package/apps/control-plane/src/supervisor/types.ts +149 -0
- package/apps/control-plane/src/supervisor/worker-decision-loop.ts +299 -0
- package/apps/control-plane/test/aop.spec.ts +101 -0
- package/apps/control-plane/test/cli-helpers.spec.ts +102 -0
- package/apps/control-plane/test/cli.spec.ts +12 -0
- package/apps/control-plane/test/cli.unit.spec.ts +609 -0
- package/apps/control-plane/test/collision-queue.spec.ts +158 -0
- package/apps/control-plane/test/collisions.spec.ts +138 -0
- package/apps/control-plane/test/core-utils.spec.ts +102 -0
- package/apps/control-plane/test/delete-command-handler.spec.ts +202 -0
- package/apps/control-plane/test/epoch-tracking.spec.ts +121 -0
- package/apps/control-plane/test/gates.spec.ts +452 -0
- package/apps/control-plane/test/helpers.ts +68 -0
- package/apps/control-plane/test/index.spec.ts +18 -0
- package/apps/control-plane/test/kernel-collision-replay.spec.ts +222 -0
- package/apps/control-plane/test/kernel.branches.spec.ts +321 -0
- package/apps/control-plane/test/kernel.coverage.spec.ts +408 -0
- package/apps/control-plane/test/kernel.spec.ts +369 -0
- package/apps/control-plane/test/mcp-helpers.spec.ts +195 -0
- package/apps/control-plane/test/mcp.spec.ts +776 -0
- package/apps/control-plane/test/merge-service.spec.ts +357 -0
- package/apps/control-plane/test/plan-service.spec.ts +195 -0
- package/apps/control-plane/test/planning-wave-executor.spec.ts +229 -0
- package/apps/control-plane/test/providers.spec.ts +168 -0
- package/apps/control-plane/test/qa-index-service.spec.ts +187 -0
- package/apps/control-plane/test/qa-index.spec.ts +317 -0
- package/apps/control-plane/test/response.spec.ts +55 -0
- package/apps/control-plane/test/run-coordinator.spec.ts +334 -0
- package/apps/control-plane/test/schema-date-time.spec.ts +170 -0
- package/apps/control-plane/test/service-retry-paths.spec.ts +305 -0
- package/apps/control-plane/test/services.spec.ts +693 -0
- package/apps/control-plane/test/spec-input-resolver.spec.ts +76 -0
- package/apps/control-plane/test/supervisor-collaborators.spec.ts +201 -0
- package/apps/control-plane/test/supervisor.calltool.spec.ts +120 -0
- package/apps/control-plane/test/supervisor.spec.ts +415 -0
- package/apps/control-plane/test/supervisor.unit.spec.ts +522 -0
- package/apps/control-plane/test/token-auth-verifier.spec.ts +111 -0
- package/apps/control-plane/test/tool-registry-loader.spec.ts +268 -0
- package/apps/control-plane/test/tool-runtime.spec.ts +294 -0
- package/apps/control-plane/test/worker-decision-loop.spec.ts +587 -0
- package/apps/control-plane/tsconfig.build.json +17 -0
- package/apps/control-plane/tsconfig.json +11 -0
- package/apps/control-plane/vitest.config.ts +28 -0
- package/dist/apps/control-plane/application/services/collision-queue-service.d.ts +69 -0
- package/dist/apps/control-plane/application/services/collision-queue-service.js +158 -0
- package/dist/apps/control-plane/application/services/collision-queue-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/feature-deletion-service.d.ts +79 -0
- package/dist/apps/control-plane/application/services/feature-deletion-service.js +336 -0
- package/dist/apps/control-plane/application/services/feature-deletion-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/feature-lifecycle-service.d.ts +81 -0
- package/dist/apps/control-plane/application/services/feature-lifecycle-service.js +117 -0
- package/dist/apps/control-plane/application/services/feature-lifecycle-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/feature-state-service.d.ts +34 -0
- package/dist/apps/control-plane/application/services/feature-state-service.js +90 -0
- package/dist/apps/control-plane/application/services/feature-state-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/gate-service.d.ts +46 -0
- package/dist/apps/control-plane/application/services/gate-service.js +160 -0
- package/dist/apps/control-plane/application/services/gate-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/lock-service.d.ts +56 -0
- package/dist/apps/control-plane/application/services/lock-service.js +242 -0
- package/dist/apps/control-plane/application/services/lock-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/merge-service.d.ts +33 -0
- package/dist/apps/control-plane/application/services/merge-service.js +194 -0
- package/dist/apps/control-plane/application/services/merge-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/patch-service.d.ts +39 -0
- package/dist/apps/control-plane/application/services/patch-service.js +189 -0
- package/dist/apps/control-plane/application/services/patch-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/plan-service.d.ts +60 -0
- package/dist/apps/control-plane/application/services/plan-service.js +234 -0
- package/dist/apps/control-plane/application/services/plan-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/qa-index-service.d.ts +26 -0
- package/dist/apps/control-plane/application/services/qa-index-service.js +66 -0
- package/dist/apps/control-plane/application/services/qa-index-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/reporting-service.d.ts +47 -0
- package/dist/apps/control-plane/application/services/reporting-service.js +90 -0
- package/dist/apps/control-plane/application/services/reporting-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/run-lease-service.d.ts +74 -0
- package/dist/apps/control-plane/application/services/run-lease-service.js +263 -0
- package/dist/apps/control-plane/application/services/run-lease-service.js.map +1 -0
- package/dist/apps/control-plane/application/tools/tool-metadata.d.ts +8 -0
- package/dist/apps/control-plane/application/tools/tool-metadata.js +37 -0
- package/dist/apps/control-plane/application/tools/tool-metadata.js.map +1 -0
- package/dist/apps/control-plane/application/tools/tool-router.d.ts +16 -0
- package/dist/apps/control-plane/application/tools/tool-router.js +25 -0
- package/dist/apps/control-plane/application/tools/tool-router.js.map +1 -0
- package/dist/apps/control-plane/cli/aop.d.ts +5 -0
- package/dist/apps/control-plane/cli/aop.js +19 -0
- package/dist/apps/control-plane/cli/aop.js.map +1 -0
- package/dist/apps/control-plane/cli/cli-argument-parser.d.ts +5 -0
- package/dist/apps/control-plane/cli/cli-argument-parser.js +109 -0
- package/dist/apps/control-plane/cli/cli-argument-parser.js.map +1 -0
- package/dist/apps/control-plane/cli/delete-command-handler.d.ts +8 -0
- package/dist/apps/control-plane/cli/delete-command-handler.js +77 -0
- package/dist/apps/control-plane/cli/delete-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/io.d.ts +2 -0
- package/dist/apps/control-plane/cli/io.js +14 -0
- package/dist/apps/control-plane/cli/io.js.map +1 -0
- package/dist/apps/control-plane/cli/resume-command-handler.d.ts +17 -0
- package/dist/apps/control-plane/cli/resume-command-handler.js +178 -0
- package/dist/apps/control-plane/cli/resume-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/run-command-handler.d.ts +15 -0
- package/dist/apps/control-plane/cli/run-command-handler.js +39 -0
- package/dist/apps/control-plane/cli/run-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/spec-ingestion-service.d.ts +8 -0
- package/dist/apps/control-plane/cli/spec-ingestion-service.js +77 -0
- package/dist/apps/control-plane/cli/spec-ingestion-service.js.map +1 -0
- package/dist/apps/control-plane/cli/spec-input-resolver.d.ts +9 -0
- package/dist/apps/control-plane/cli/spec-input-resolver.js +81 -0
- package/dist/apps/control-plane/cli/spec-input-resolver.js.map +1 -0
- package/dist/apps/control-plane/cli/spec-utils.d.ts +3 -0
- package/dist/apps/control-plane/cli/spec-utils.js +36 -0
- package/dist/apps/control-plane/cli/spec-utils.js.map +1 -0
- package/dist/apps/control-plane/cli/status-command-handler.d.ts +7 -0
- package/dist/apps/control-plane/cli/status-command-handler.js +14 -0
- package/dist/apps/control-plane/cli/status-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/stop-command-handler.d.ts +3 -0
- package/dist/apps/control-plane/cli/stop-command-handler.js +6 -0
- package/dist/apps/control-plane/cli/stop-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/tooling.d.ts +4 -0
- package/dist/apps/control-plane/cli/tooling.js +24 -0
- package/dist/apps/control-plane/cli/tooling.js.map +1 -0
- package/dist/apps/control-plane/cli/types.d.ts +31 -0
- package/dist/apps/control-plane/cli/types.js +2 -0
- package/dist/apps/control-plane/cli/types.js.map +1 -0
- package/dist/apps/control-plane/core/collisions.d.ts +39 -0
- package/dist/apps/control-plane/core/collisions.js +78 -0
- package/dist/apps/control-plane/core/collisions.js.map +1 -0
- package/dist/apps/control-plane/core/constants.d.ts +64 -0
- package/dist/apps/control-plane/core/constants.js +64 -0
- package/dist/apps/control-plane/core/constants.js.map +1 -0
- package/dist/apps/control-plane/core/error-codes.d.ts +50 -0
- package/dist/apps/control-plane/core/error-codes.js +52 -0
- package/dist/apps/control-plane/core/error-codes.js.map +1 -0
- package/dist/apps/control-plane/core/frontmatter.d.ts +11 -0
- package/dist/apps/control-plane/core/frontmatter.js +30 -0
- package/dist/apps/control-plane/core/frontmatter.js.map +1 -0
- package/dist/apps/control-plane/core/fs.d.ts +33 -0
- package/dist/apps/control-plane/core/fs.js +134 -0
- package/dist/apps/control-plane/core/fs.js.map +1 -0
- package/dist/apps/control-plane/core/gates.d.ts +88 -0
- package/dist/apps/control-plane/core/gates.js +229 -0
- package/dist/apps/control-plane/core/gates.js.map +1 -0
- package/dist/apps/control-plane/core/git.d.ts +31 -0
- package/dist/apps/control-plane/core/git.js +79 -0
- package/dist/apps/control-plane/core/git.js.map +1 -0
- package/dist/apps/control-plane/core/kernel.d.ts +445 -0
- package/dist/apps/control-plane/core/kernel.js +805 -0
- package/dist/apps/control-plane/core/kernel.js.map +1 -0
- package/dist/apps/control-plane/core/patch.d.ts +23 -0
- package/dist/apps/control-plane/core/patch.js +118 -0
- package/dist/apps/control-plane/core/patch.js.map +1 -0
- package/dist/apps/control-plane/core/path-layout.d.ts +23 -0
- package/dist/apps/control-plane/core/path-layout.js +90 -0
- package/dist/apps/control-plane/core/path-layout.js.map +1 -0
- package/dist/apps/control-plane/core/path-rules.d.ts +13 -0
- package/dist/apps/control-plane/core/path-rules.js +52 -0
- package/dist/apps/control-plane/core/path-rules.js.map +1 -0
- package/dist/apps/control-plane/core/qa-index.d.ts +53 -0
- package/dist/apps/control-plane/core/qa-index.js +112 -0
- package/dist/apps/control-plane/core/qa-index.js.map +1 -0
- package/dist/apps/control-plane/core/response.d.ts +19 -0
- package/dist/apps/control-plane/core/response.js +34 -0
- package/dist/apps/control-plane/core/response.js.map +1 -0
- package/dist/apps/control-plane/core/runtime-sessions.d.ts +19 -0
- package/dist/apps/control-plane/core/runtime-sessions.js +2 -0
- package/dist/apps/control-plane/core/runtime-sessions.js.map +1 -0
- package/dist/apps/control-plane/core/schemas.d.ts +23 -0
- package/dist/apps/control-plane/core/schemas.js +80 -0
- package/dist/apps/control-plane/core/schemas.js.map +1 -0
- package/dist/apps/control-plane/index.d.ts +11 -0
- package/dist/apps/control-plane/index.js +9 -0
- package/dist/apps/control-plane/index.js.map +1 -0
- package/dist/apps/control-plane/interfaces/cli/bootstrap.d.ts +2 -0
- package/dist/apps/control-plane/interfaces/cli/bootstrap.js +86 -0
- package/dist/apps/control-plane/interfaces/cli/bootstrap.js.map +1 -0
- package/dist/apps/control-plane/mcp/kernel-tool-executor.d.ts +14 -0
- package/dist/apps/control-plane/mcp/kernel-tool-executor.js +26 -0
- package/dist/apps/control-plane/mcp/kernel-tool-executor.js.map +1 -0
- package/dist/apps/control-plane/mcp/mcp-server-adapter.d.ts +19 -0
- package/dist/apps/control-plane/mcp/mcp-server-adapter.js +55 -0
- package/dist/apps/control-plane/mcp/mcp-server-adapter.js.map +1 -0
- package/dist/apps/control-plane/mcp/operation-ledger.d.ts +21 -0
- package/dist/apps/control-plane/mcp/operation-ledger.js +75 -0
- package/dist/apps/control-plane/mcp/operation-ledger.js.map +1 -0
- package/dist/apps/control-plane/mcp/protocol-contract.d.ts +8 -0
- package/dist/apps/control-plane/mcp/protocol-contract.js +9 -0
- package/dist/apps/control-plane/mcp/protocol-contract.js.map +1 -0
- package/dist/apps/control-plane/mcp/runtime-factory.d.ts +38 -0
- package/dist/apps/control-plane/mcp/runtime-factory.js +71 -0
- package/dist/apps/control-plane/mcp/runtime-factory.js.map +1 -0
- package/dist/apps/control-plane/mcp/runtime-types.d.ts +40 -0
- package/dist/apps/control-plane/mcp/runtime-types.js +2 -0
- package/dist/apps/control-plane/mcp/runtime-types.js.map +1 -0
- package/dist/apps/control-plane/mcp/token-auth-verifier.d.ts +24 -0
- package/dist/apps/control-plane/mcp/token-auth-verifier.js +45 -0
- package/dist/apps/control-plane/mcp/token-auth-verifier.js.map +1 -0
- package/dist/apps/control-plane/mcp/token-claims-validator.d.ts +9 -0
- package/dist/apps/control-plane/mcp/token-claims-validator.js +62 -0
- package/dist/apps/control-plane/mcp/token-claims-validator.js.map +1 -0
- package/dist/apps/control-plane/mcp/token-codec.d.ts +11 -0
- package/dist/apps/control-plane/mcp/token-codec.js +46 -0
- package/dist/apps/control-plane/mcp/token-codec.js.map +1 -0
- package/dist/apps/control-plane/mcp/tool-authorizer.d.ts +8 -0
- package/dist/apps/control-plane/mcp/tool-authorizer.js +36 -0
- package/dist/apps/control-plane/mcp/tool-authorizer.js.map +1 -0
- package/dist/apps/control-plane/mcp/tool-client.d.ts +30 -0
- package/dist/apps/control-plane/mcp/tool-client.js +50 -0
- package/dist/apps/control-plane/mcp/tool-client.js.map +1 -0
- package/dist/apps/control-plane/mcp/tool-contract-validator.d.ts +29 -0
- package/dist/apps/control-plane/mcp/tool-contract-validator.js +61 -0
- package/dist/apps/control-plane/mcp/tool-contract-validator.js.map +1 -0
- package/dist/apps/control-plane/mcp/tool-registry-loader.d.ts +15 -0
- package/dist/apps/control-plane/mcp/tool-registry-loader.js +109 -0
- package/dist/apps/control-plane/mcp/tool-registry-loader.js.map +1 -0
- package/dist/apps/control-plane/mcp/tool-runtime.d.ts +34 -0
- package/dist/apps/control-plane/mcp/tool-runtime.js +252 -0
- package/dist/apps/control-plane/mcp/tool-runtime.js.map +1 -0
- package/dist/apps/control-plane/mcp/tools-markdown-generator.d.ts +7 -0
- package/dist/apps/control-plane/mcp/tools-markdown-generator.js +22 -0
- package/dist/apps/control-plane/mcp/tools-markdown-generator.js.map +1 -0
- package/dist/apps/control-plane/mcp/transport-types.d.ts +14 -0
- package/dist/apps/control-plane/mcp/transport-types.js +2 -0
- package/dist/apps/control-plane/mcp/transport-types.js.map +1 -0
- package/dist/apps/control-plane/mcp/types.d.ts +2 -0
- package/dist/apps/control-plane/mcp/types.js +3 -0
- package/dist/apps/control-plane/mcp/types.js.map +1 -0
- package/dist/apps/control-plane/providers/providers.d.ts +72 -0
- package/dist/apps/control-plane/providers/providers.js +94 -0
- package/dist/apps/control-plane/providers/providers.js.map +1 -0
- package/dist/apps/control-plane/supervisor/build-wave-executor.d.ts +13 -0
- package/dist/apps/control-plane/supervisor/build-wave-executor.js +40 -0
- package/dist/apps/control-plane/supervisor/build-wave-executor.js.map +1 -0
- package/dist/apps/control-plane/supervisor/lease-heartbeat-service.d.ts +12 -0
- package/dist/apps/control-plane/supervisor/lease-heartbeat-service.js +14 -0
- package/dist/apps/control-plane/supervisor/lease-heartbeat-service.js.map +1 -0
- package/dist/apps/control-plane/supervisor/planning-wave-executor.d.ts +19 -0
- package/dist/apps/control-plane/supervisor/planning-wave-executor.js +249 -0
- package/dist/apps/control-plane/supervisor/planning-wave-executor.js.map +1 -0
- package/dist/apps/control-plane/supervisor/prompt-bundle-loader.d.ts +9 -0
- package/dist/apps/control-plane/supervisor/prompt-bundle-loader.js +53 -0
- package/dist/apps/control-plane/supervisor/prompt-bundle-loader.js.map +1 -0
- package/dist/apps/control-plane/supervisor/qa-wave-executor.d.ts +24 -0
- package/dist/apps/control-plane/supervisor/qa-wave-executor.js +70 -0
- package/dist/apps/control-plane/supervisor/qa-wave-executor.js.map +1 -0
- package/dist/apps/control-plane/supervisor/run-coordinator.d.ts +49 -0
- package/dist/apps/control-plane/supervisor/run-coordinator.js +162 -0
- package/dist/apps/control-plane/supervisor/run-coordinator.js.map +1 -0
- package/dist/apps/control-plane/supervisor/runtime.d.ts +58 -0
- package/dist/apps/control-plane/supervisor/runtime.js +270 -0
- package/dist/apps/control-plane/supervisor/runtime.js.map +1 -0
- package/dist/apps/control-plane/supervisor/session-orchestrator.d.ts +29 -0
- package/dist/apps/control-plane/supervisor/session-orchestrator.js +211 -0
- package/dist/apps/control-plane/supervisor/session-orchestrator.js.map +1 -0
- package/dist/apps/control-plane/supervisor/types.d.ts +148 -0
- package/dist/apps/control-plane/supervisor/types.js +2 -0
- package/dist/apps/control-plane/supervisor/types.js.map +1 -0
- package/dist/apps/control-plane/supervisor/worker-decision-loop.d.ts +37 -0
- package/dist/apps/control-plane/supervisor/worker-decision-loop.js +236 -0
- package/dist/apps/control-plane/supervisor/worker-decision-loop.js.map +1 -0
- package/docker/mcp.Dockerfile +14 -0
- package/docker/mcp.compose.yaml +15 -0
- package/docker/mcp.entrypoint.sh +17 -0
- package/eslint.config.mjs +93 -0
- package/example-configurations/README.md +26 -0
- package/example-configurations/java/agents.yaml +14 -0
- package/example-configurations/java/gates.yaml +29 -0
- package/example-configurations/java/policy.yaml +148 -0
- package/example-configurations/node/agents.yaml +14 -0
- package/example-configurations/node/gates.yaml +32 -0
- package/example-configurations/node/policy.yaml +143 -0
- package/nx.json +16 -0
- package/package.json +39 -0
- package/prompts/vitest-testing-standards.instructions.md +204 -0
- package/scripts/dev-shell-env.sh +7 -0
- package/scripts/nx-safe.mjs +33 -0
- package/spec-files/agentic_orchestrator_cli_delete_command_spec.md +310 -0
- package/spec-files/agentic_orchestrator_dot_aop_generated_artifacts_spec.md +211 -0
- package/spec-files/agentic_orchestrator_mcp_formalization_spec.md +379 -0
- package/spec-files/agentic_orchestrator_oop_refactor_spec.md +415 -0
- package/spec-files/agentic_orchestrator_single_global_orchestrator_spec.md +265 -0
- package/spec-files/agentic_orchestrator_spec.md +1334 -0
- package/spec-files/progress.md +452 -0
- package/tsconfig.base.json +15 -0
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"tools": [
|
|
5
|
+
{
|
|
6
|
+
"name": "feature.discover_specs",
|
|
7
|
+
"description": "Discover feature specification files.",
|
|
8
|
+
"input_schema_ref": "schemas/input/feature.discover_specs.input.schema.json",
|
|
9
|
+
"output_schema_ref": "schemas/output/feature.discover_specs.output.schema.json",
|
|
10
|
+
"supported_roles": [
|
|
11
|
+
"orchestrator",
|
|
12
|
+
"planner",
|
|
13
|
+
"builder",
|
|
14
|
+
"qa",
|
|
15
|
+
"system"
|
|
16
|
+
],
|
|
17
|
+
"handler_id": "feature.discover_specs",
|
|
18
|
+
"mutating": false,
|
|
19
|
+
"requires_operation_id": false
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "feature.init",
|
|
23
|
+
"description": "Initialize feature state and worktree.",
|
|
24
|
+
"input_schema_ref": "schemas/input/feature.init.input.schema.json",
|
|
25
|
+
"output_schema_ref": "schemas/output/feature.init.output.schema.json",
|
|
26
|
+
"supported_roles": [
|
|
27
|
+
"orchestrator",
|
|
28
|
+
"system"
|
|
29
|
+
],
|
|
30
|
+
"handler_id": "feature.init",
|
|
31
|
+
"mutating": true,
|
|
32
|
+
"requires_operation_id": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "feature.get_context",
|
|
36
|
+
"description": "Get feature context bundle including state and plan.",
|
|
37
|
+
"input_schema_ref": "schemas/input/feature.get_context.input.schema.json",
|
|
38
|
+
"output_schema_ref": "schemas/output/feature.get_context.output.schema.json",
|
|
39
|
+
"supported_roles": [
|
|
40
|
+
"orchestrator",
|
|
41
|
+
"planner",
|
|
42
|
+
"builder",
|
|
43
|
+
"qa",
|
|
44
|
+
"system"
|
|
45
|
+
],
|
|
46
|
+
"handler_id": "feature.get_context",
|
|
47
|
+
"mutating": false,
|
|
48
|
+
"requires_operation_id": false
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "feature.state_get",
|
|
52
|
+
"description": "Read feature state.",
|
|
53
|
+
"input_schema_ref": "schemas/input/feature.state_get.input.schema.json",
|
|
54
|
+
"output_schema_ref": "schemas/output/feature.state_get.output.schema.json",
|
|
55
|
+
"supported_roles": [
|
|
56
|
+
"orchestrator",
|
|
57
|
+
"planner",
|
|
58
|
+
"builder",
|
|
59
|
+
"qa",
|
|
60
|
+
"system"
|
|
61
|
+
],
|
|
62
|
+
"handler_id": "feature.state_get",
|
|
63
|
+
"mutating": false,
|
|
64
|
+
"requires_operation_id": false
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "feature.state_patch",
|
|
68
|
+
"description": "Patch feature state with optimistic concurrency.",
|
|
69
|
+
"input_schema_ref": "schemas/input/feature.state_patch.input.schema.json",
|
|
70
|
+
"output_schema_ref": "schemas/output/feature.state_patch.output.schema.json",
|
|
71
|
+
"supported_roles": [
|
|
72
|
+
"orchestrator",
|
|
73
|
+
"system"
|
|
74
|
+
],
|
|
75
|
+
"handler_id": "feature.state_patch",
|
|
76
|
+
"mutating": true,
|
|
77
|
+
"requires_operation_id": true
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "feature.log_append",
|
|
81
|
+
"description": "Append structured feature decision log notes.",
|
|
82
|
+
"input_schema_ref": "schemas/input/feature.log_append.input.schema.json",
|
|
83
|
+
"output_schema_ref": "schemas/output/feature.log_append.output.schema.json",
|
|
84
|
+
"supported_roles": [
|
|
85
|
+
"orchestrator",
|
|
86
|
+
"system"
|
|
87
|
+
],
|
|
88
|
+
"handler_id": "feature.log_append",
|
|
89
|
+
"mutating": true,
|
|
90
|
+
"requires_operation_id": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "plan.submit",
|
|
94
|
+
"description": "Submit initial feature plan.",
|
|
95
|
+
"input_schema_ref": "schemas/input/plan.submit.input.schema.json",
|
|
96
|
+
"output_schema_ref": "schemas/output/plan.submit.output.schema.json",
|
|
97
|
+
"supported_roles": [
|
|
98
|
+
"orchestrator",
|
|
99
|
+
"planner",
|
|
100
|
+
"system"
|
|
101
|
+
],
|
|
102
|
+
"handler_id": "plan.submit",
|
|
103
|
+
"mutating": true,
|
|
104
|
+
"requires_operation_id": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "plan.get",
|
|
108
|
+
"description": "Read current feature plan.",
|
|
109
|
+
"input_schema_ref": "schemas/input/plan.get.input.schema.json",
|
|
110
|
+
"output_schema_ref": "schemas/output/plan.get.output.schema.json",
|
|
111
|
+
"supported_roles": [
|
|
112
|
+
"orchestrator",
|
|
113
|
+
"planner",
|
|
114
|
+
"system"
|
|
115
|
+
],
|
|
116
|
+
"handler_id": "plan.get",
|
|
117
|
+
"mutating": false,
|
|
118
|
+
"requires_operation_id": false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "plan.update",
|
|
122
|
+
"description": "Submit a revised plan version.",
|
|
123
|
+
"input_schema_ref": "schemas/input/plan.update.input.schema.json",
|
|
124
|
+
"output_schema_ref": "schemas/output/plan.update.output.schema.json",
|
|
125
|
+
"supported_roles": [
|
|
126
|
+
"orchestrator",
|
|
127
|
+
"planner",
|
|
128
|
+
"system"
|
|
129
|
+
],
|
|
130
|
+
"handler_id": "plan.update",
|
|
131
|
+
"mutating": true,
|
|
132
|
+
"requires_operation_id": true
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "repo.ensure_worktree",
|
|
136
|
+
"description": "Ensure feature worktree exists.",
|
|
137
|
+
"input_schema_ref": "schemas/input/repo.ensure_worktree.input.schema.json",
|
|
138
|
+
"output_schema_ref": "schemas/output/repo.ensure_worktree.output.schema.json",
|
|
139
|
+
"supported_roles": [
|
|
140
|
+
"orchestrator",
|
|
141
|
+
"system"
|
|
142
|
+
],
|
|
143
|
+
"handler_id": "repo.ensure_worktree",
|
|
144
|
+
"mutating": true,
|
|
145
|
+
"requires_operation_id": true
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "repo.apply_patch",
|
|
149
|
+
"description": "Apply diff patch to feature worktree.",
|
|
150
|
+
"input_schema_ref": "schemas/input/repo.apply_patch.input.schema.json",
|
|
151
|
+
"output_schema_ref": "schemas/output/repo.apply_patch.output.schema.json",
|
|
152
|
+
"supported_roles": [
|
|
153
|
+
"orchestrator",
|
|
154
|
+
"builder",
|
|
155
|
+
"qa",
|
|
156
|
+
"system"
|
|
157
|
+
],
|
|
158
|
+
"handler_id": "repo.apply_patch",
|
|
159
|
+
"mutating": true,
|
|
160
|
+
"requires_operation_id": true
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "repo.status",
|
|
164
|
+
"description": "Read git status for feature worktree.",
|
|
165
|
+
"input_schema_ref": "schemas/input/repo.status.input.schema.json",
|
|
166
|
+
"output_schema_ref": "schemas/output/repo.status.output.schema.json",
|
|
167
|
+
"supported_roles": [
|
|
168
|
+
"orchestrator",
|
|
169
|
+
"builder",
|
|
170
|
+
"system"
|
|
171
|
+
],
|
|
172
|
+
"handler_id": "repo.status",
|
|
173
|
+
"mutating": false,
|
|
174
|
+
"requires_operation_id": false
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "repo.diff",
|
|
178
|
+
"description": "Read git diff for feature worktree.",
|
|
179
|
+
"input_schema_ref": "schemas/input/repo.diff.input.schema.json",
|
|
180
|
+
"output_schema_ref": "schemas/output/repo.diff.output.schema.json",
|
|
181
|
+
"supported_roles": [
|
|
182
|
+
"orchestrator",
|
|
183
|
+
"builder",
|
|
184
|
+
"qa",
|
|
185
|
+
"system"
|
|
186
|
+
],
|
|
187
|
+
"handler_id": "repo.diff",
|
|
188
|
+
"mutating": false,
|
|
189
|
+
"requires_operation_id": false
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "repo.read_file",
|
|
193
|
+
"description": "Read file from feature worktree.",
|
|
194
|
+
"input_schema_ref": "schemas/input/repo.read_file.input.schema.json",
|
|
195
|
+
"output_schema_ref": "schemas/output/repo.read_file.output.schema.json",
|
|
196
|
+
"supported_roles": [
|
|
197
|
+
"orchestrator",
|
|
198
|
+
"planner",
|
|
199
|
+
"builder",
|
|
200
|
+
"qa",
|
|
201
|
+
"system"
|
|
202
|
+
],
|
|
203
|
+
"handler_id": "repo.read_file",
|
|
204
|
+
"mutating": false,
|
|
205
|
+
"requires_operation_id": false
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "repo.search",
|
|
209
|
+
"description": "Search feature worktree content.",
|
|
210
|
+
"input_schema_ref": "schemas/input/repo.search.input.schema.json",
|
|
211
|
+
"output_schema_ref": "schemas/output/repo.search.output.schema.json",
|
|
212
|
+
"supported_roles": [
|
|
213
|
+
"orchestrator",
|
|
214
|
+
"planner",
|
|
215
|
+
"builder",
|
|
216
|
+
"qa",
|
|
217
|
+
"system"
|
|
218
|
+
],
|
|
219
|
+
"handler_id": "repo.search",
|
|
220
|
+
"mutating": false,
|
|
221
|
+
"requires_operation_id": false
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "repo.diff_bundle",
|
|
225
|
+
"description": "Read complete diff bundle and latest evidence.",
|
|
226
|
+
"input_schema_ref": "schemas/input/repo.diff_bundle.input.schema.json",
|
|
227
|
+
"output_schema_ref": "schemas/output/repo.diff_bundle.output.schema.json",
|
|
228
|
+
"supported_roles": [
|
|
229
|
+
"orchestrator",
|
|
230
|
+
"system"
|
|
231
|
+
],
|
|
232
|
+
"handler_id": "repo.diff_bundle",
|
|
233
|
+
"mutating": false,
|
|
234
|
+
"requires_operation_id": false
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "feature.ready_to_merge",
|
|
238
|
+
"description": "Validate and merge a feature branch.",
|
|
239
|
+
"input_schema_ref": "schemas/input/feature.ready_to_merge.input.schema.json",
|
|
240
|
+
"output_schema_ref": "schemas/output/feature.ready_to_merge.output.schema.json",
|
|
241
|
+
"supported_roles": [
|
|
242
|
+
"orchestrator",
|
|
243
|
+
"system"
|
|
244
|
+
],
|
|
245
|
+
"handler_id": "feature.ready_to_merge",
|
|
246
|
+
"mutating": true,
|
|
247
|
+
"requires_operation_id": true
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "feature.delete",
|
|
251
|
+
"description": "Delete feature runtime artifacts and optional git state.",
|
|
252
|
+
"input_schema_ref": "schemas/input/feature.delete.input.schema.json",
|
|
253
|
+
"output_schema_ref": "schemas/output/feature.delete.output.schema.json",
|
|
254
|
+
"supported_roles": [
|
|
255
|
+
"orchestrator",
|
|
256
|
+
"system"
|
|
257
|
+
],
|
|
258
|
+
"handler_id": "feature.delete",
|
|
259
|
+
"mutating": true,
|
|
260
|
+
"requires_operation_id": true
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "gates.list",
|
|
264
|
+
"description": "List available gate profiles.",
|
|
265
|
+
"input_schema_ref": "schemas/input/gates.list.input.schema.json",
|
|
266
|
+
"output_schema_ref": "schemas/output/gates.list.output.schema.json",
|
|
267
|
+
"supported_roles": [
|
|
268
|
+
"orchestrator",
|
|
269
|
+
"system"
|
|
270
|
+
],
|
|
271
|
+
"handler_id": "gates.list",
|
|
272
|
+
"mutating": false,
|
|
273
|
+
"requires_operation_id": false
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "gates.run",
|
|
277
|
+
"description": "Run configured feature gates.",
|
|
278
|
+
"input_schema_ref": "schemas/input/gates.run.input.schema.json",
|
|
279
|
+
"output_schema_ref": "schemas/output/gates.run.output.schema.json",
|
|
280
|
+
"supported_roles": [
|
|
281
|
+
"orchestrator",
|
|
282
|
+
"builder",
|
|
283
|
+
"qa",
|
|
284
|
+
"system"
|
|
285
|
+
],
|
|
286
|
+
"handler_id": "gates.run",
|
|
287
|
+
"mutating": true,
|
|
288
|
+
"requires_operation_id": true
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "evidence.latest",
|
|
292
|
+
"description": "Read latest gate evidence.",
|
|
293
|
+
"input_schema_ref": "schemas/input/evidence.latest.input.schema.json",
|
|
294
|
+
"output_schema_ref": "schemas/output/evidence.latest.output.schema.json",
|
|
295
|
+
"supported_roles": [
|
|
296
|
+
"orchestrator",
|
|
297
|
+
"qa",
|
|
298
|
+
"system"
|
|
299
|
+
],
|
|
300
|
+
"handler_id": "evidence.latest",
|
|
301
|
+
"mutating": false,
|
|
302
|
+
"requires_operation_id": false
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "qa.test_index_get",
|
|
306
|
+
"description": "Read QA test index.",
|
|
307
|
+
"input_schema_ref": "schemas/input/qa.test_index_get.input.schema.json",
|
|
308
|
+
"output_schema_ref": "schemas/output/qa.test_index_get.output.schema.json",
|
|
309
|
+
"supported_roles": [
|
|
310
|
+
"orchestrator",
|
|
311
|
+
"qa",
|
|
312
|
+
"system"
|
|
313
|
+
],
|
|
314
|
+
"handler_id": "qa.test_index_get",
|
|
315
|
+
"mutating": false,
|
|
316
|
+
"requires_operation_id": false
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "qa.test_index_update",
|
|
320
|
+
"description": "Update QA test index.",
|
|
321
|
+
"input_schema_ref": "schemas/input/qa.test_index_update.input.schema.json",
|
|
322
|
+
"output_schema_ref": "schemas/output/qa.test_index_update.output.schema.json",
|
|
323
|
+
"supported_roles": [
|
|
324
|
+
"orchestrator",
|
|
325
|
+
"qa",
|
|
326
|
+
"system"
|
|
327
|
+
],
|
|
328
|
+
"handler_id": "qa.test_index_update",
|
|
329
|
+
"mutating": true,
|
|
330
|
+
"requires_operation_id": true
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "locks.acquire",
|
|
334
|
+
"description": "Acquire lock lease for resource.",
|
|
335
|
+
"input_schema_ref": "schemas/input/locks.acquire.input.schema.json",
|
|
336
|
+
"output_schema_ref": "schemas/output/locks.acquire.output.schema.json",
|
|
337
|
+
"supported_roles": [
|
|
338
|
+
"orchestrator",
|
|
339
|
+
"system"
|
|
340
|
+
],
|
|
341
|
+
"handler_id": "locks.acquire",
|
|
342
|
+
"mutating": true,
|
|
343
|
+
"requires_operation_id": true
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "locks.release",
|
|
347
|
+
"description": "Release lock lease for resource.",
|
|
348
|
+
"input_schema_ref": "schemas/input/locks.release.input.schema.json",
|
|
349
|
+
"output_schema_ref": "schemas/output/locks.release.output.schema.json",
|
|
350
|
+
"supported_roles": [
|
|
351
|
+
"orchestrator",
|
|
352
|
+
"system"
|
|
353
|
+
],
|
|
354
|
+
"handler_id": "locks.release",
|
|
355
|
+
"mutating": true,
|
|
356
|
+
"requires_operation_id": true
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "collisions.scan",
|
|
360
|
+
"description": "Compute collision matrix across accepted plans.",
|
|
361
|
+
"input_schema_ref": "schemas/input/collisions.scan.input.schema.json",
|
|
362
|
+
"output_schema_ref": "schemas/output/collisions.scan.output.schema.json",
|
|
363
|
+
"supported_roles": [
|
|
364
|
+
"orchestrator",
|
|
365
|
+
"planner",
|
|
366
|
+
"system"
|
|
367
|
+
],
|
|
368
|
+
"handler_id": "collisions.scan",
|
|
369
|
+
"mutating": false,
|
|
370
|
+
"requires_operation_id": false
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "report.dashboard",
|
|
374
|
+
"description": "Read orchestrator dashboard summary.",
|
|
375
|
+
"input_schema_ref": "schemas/input/report.dashboard.input.schema.json",
|
|
376
|
+
"output_schema_ref": "schemas/output/report.dashboard.output.schema.json",
|
|
377
|
+
"supported_roles": [
|
|
378
|
+
"orchestrator",
|
|
379
|
+
"system"
|
|
380
|
+
],
|
|
381
|
+
"handler_id": "report.dashboard",
|
|
382
|
+
"mutating": false,
|
|
383
|
+
"requires_operation_id": false
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "report.feature_summary",
|
|
387
|
+
"description": "Read summarized feature report.",
|
|
388
|
+
"input_schema_ref": "schemas/input/report.feature_summary.input.schema.json",
|
|
389
|
+
"output_schema_ref": "schemas/output/report.feature_summary.output.schema.json",
|
|
390
|
+
"supported_roles": [
|
|
391
|
+
"orchestrator",
|
|
392
|
+
"system"
|
|
393
|
+
],
|
|
394
|
+
"handler_id": "report.feature_summary",
|
|
395
|
+
"mutating": false,
|
|
396
|
+
"requires_operation_id": false
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/errors.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["ok", "error"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": { "type": "boolean", "const": false },
|
|
8
|
+
"error": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"required": ["code", "message", "details"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"code": { "type": "string", "minLength": 1 },
|
|
13
|
+
"message": { "type": "string", "minLength": 1 },
|
|
14
|
+
"details": {}
|
|
15
|
+
},
|
|
16
|
+
"additionalProperties": true
|
|
17
|
+
},
|
|
18
|
+
"evidence": {}
|
|
19
|
+
},
|
|
20
|
+
"additionalProperties": true
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/evidence.latest.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"feature_id"
|
|
7
|
+
],
|
|
8
|
+
"properties": {
|
|
9
|
+
"feature_id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/feature.delete.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"operation_id",
|
|
7
|
+
"feature_id",
|
|
8
|
+
"dry_run",
|
|
9
|
+
"confirm",
|
|
10
|
+
"remove_worktree",
|
|
11
|
+
"remove_branch"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"operation_id": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 8,
|
|
17
|
+
"maxLength": 256
|
|
18
|
+
},
|
|
19
|
+
"feature_id": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"pattern": "^[a-z0-9_][a-z0-9_-]*$"
|
|
22
|
+
},
|
|
23
|
+
"dry_run": {
|
|
24
|
+
"type": "boolean"
|
|
25
|
+
},
|
|
26
|
+
"confirm": {
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
},
|
|
29
|
+
"remove_worktree": {
|
|
30
|
+
"type": "boolean"
|
|
31
|
+
},
|
|
32
|
+
"remove_branch": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": [
|
|
35
|
+
"none",
|
|
36
|
+
"safe",
|
|
37
|
+
"force"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/feature.get_context.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"feature_id"
|
|
7
|
+
],
|
|
8
|
+
"properties": {
|
|
9
|
+
"feature_id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/feature.init.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"operation_id",
|
|
7
|
+
"feature_id"
|
|
8
|
+
],
|
|
9
|
+
"properties": {
|
|
10
|
+
"operation_id": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"minLength": 8,
|
|
13
|
+
"maxLength": 256
|
|
14
|
+
},
|
|
15
|
+
"feature_id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/feature.log_append.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"operation_id",
|
|
7
|
+
"feature_id",
|
|
8
|
+
"note"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"operation_id": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 8,
|
|
14
|
+
"maxLength": 256
|
|
15
|
+
},
|
|
16
|
+
"feature_id": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1
|
|
19
|
+
},
|
|
20
|
+
"note": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/feature.ready_to_merge.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"operation_id",
|
|
7
|
+
"feature_id",
|
|
8
|
+
"commit_message",
|
|
9
|
+
"merge_strategy"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"operation_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 8,
|
|
15
|
+
"maxLength": 256
|
|
16
|
+
},
|
|
17
|
+
"feature_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
"commit_message": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1
|
|
24
|
+
},
|
|
25
|
+
"merge_strategy": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1
|
|
28
|
+
},
|
|
29
|
+
"user_approval_token": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/feature.state_get.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"feature_id"
|
|
7
|
+
],
|
|
8
|
+
"properties": {
|
|
9
|
+
"feature_id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/feature.state_patch.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"operation_id",
|
|
7
|
+
"feature_id",
|
|
8
|
+
"patch"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"operation_id": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 8,
|
|
14
|
+
"maxLength": 256
|
|
15
|
+
},
|
|
16
|
+
"feature_id": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1
|
|
19
|
+
},
|
|
20
|
+
"expected_version": {
|
|
21
|
+
"type": "number"
|
|
22
|
+
},
|
|
23
|
+
"patch": {
|
|
24
|
+
"type": "object"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://example.local/agentic/tools/schemas/input/gates.list.input.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"profile": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"additionalProperties": false
|
|
11
|
+
}
|