agentic-orchestrator 0.1.2 → 0.1.4
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/.claude/settings.local.json +15 -0
- package/CLAUDE.md +126 -0
- package/README.md +166 -25
- package/agentic/orchestrator/adapters.yaml +3 -0
- package/agentic/orchestrator/gates.yaml +47 -0
- package/agentic/orchestrator/policy.yaml +89 -0
- package/agentic/orchestrator/schemas/adapters.schema.json +12 -0
- package/agentic/orchestrator/schemas/gates.schema.json +6 -1
- package/agentic/orchestrator/schemas/index.schema.json +14 -0
- package/agentic/orchestrator/schemas/multi-project.schema.json +41 -0
- package/agentic/orchestrator/schemas/policy.schema.json +449 -52
- package/agentic/orchestrator/schemas/state.schema.json +16 -0
- package/agentic/orchestrator/tools/catalog.json +68 -0
- package/agentic/orchestrator/tools/schemas/input/cost.get.input.schema.json +10 -0
- package/agentic/orchestrator/tools/schemas/input/cost.record.input.schema.json +13 -0
- package/agentic/orchestrator/tools/schemas/input/feature.send_message.input.schema.json +11 -0
- package/agentic/orchestrator/tools/schemas/input/performance.get_analytics.input.schema.json +10 -0
- package/agentic/orchestrator/tools/schemas/input/performance.record_outcome.input.schema.json +18 -0
- package/agentic/orchestrator/tools/schemas/output/cost.get.output.schema.json +13 -0
- package/agentic/orchestrator/tools/schemas/output/cost.record.output.schema.json +13 -0
- package/agentic/orchestrator/tools/schemas/output/feature.ready_to_merge.output.schema.json +7 -0
- package/agentic/orchestrator/tools/schemas/output/feature.send_message.output.schema.json +23 -0
- package/agentic/orchestrator/tools/schemas/output/performance.get_analytics.output.schema.json +46 -0
- package/agentic/orchestrator/tools/schemas/output/performance.record_outcome.output.schema.json +10 -0
- package/agentic/orchestrator/tools.md +5 -0
- package/apps/control-plane/scripts/validate-architecture-rules.mjs +28 -2
- package/apps/control-plane/scripts/validate-docker-mcp-contract.mjs +12 -0
- package/apps/control-plane/scripts/validate-mcp-contracts.ts +92 -0
- package/apps/control-plane/src/application/adapters/adapter-registry.ts +169 -0
- package/apps/control-plane/src/application/multi-project-loader.ts +119 -0
- package/apps/control-plane/src/application/services/activity-monitor-service.ts +199 -0
- package/apps/control-plane/src/application/services/cost-tracking-service.ts +82 -0
- package/apps/control-plane/src/application/services/dependency-scheduler-service.ts +86 -0
- package/apps/control-plane/src/application/services/feature-deletion-service.ts +8 -7
- package/apps/control-plane/src/application/services/gate-interpolation-service.ts +15 -0
- package/apps/control-plane/src/application/services/gate-service.ts +38 -2
- package/apps/control-plane/src/application/services/instance-isolation-service.ts +18 -0
- package/apps/control-plane/src/application/services/issue-tracker-service.ts +469 -0
- package/apps/control-plane/src/application/services/merge-service.ts +67 -3
- package/apps/control-plane/src/application/services/notifier-service.ts +295 -0
- package/apps/control-plane/src/application/services/performance-analytics-service.ts +122 -0
- package/apps/control-plane/src/application/services/plan-service.ts +51 -0
- package/apps/control-plane/src/application/services/pr-monitor-service.ts +262 -0
- package/apps/control-plane/src/application/services/reactions-service.ts +175 -0
- package/apps/control-plane/src/application/services/reporting-service.ts +17 -2
- package/apps/control-plane/src/application/services/run-lease-service.ts +16 -38
- package/apps/control-plane/src/application/tools/tool-metadata.ts +4 -1
- package/apps/control-plane/src/cli/aop.ts +1 -1
- package/apps/control-plane/src/cli/attach-command-handler.ts +120 -0
- package/apps/control-plane/src/cli/cleanup-command-handler.ts +190 -0
- package/apps/control-plane/src/cli/cli-argument-parser.ts +69 -3
- package/apps/control-plane/src/cli/dashboard-command-handler.ts +57 -0
- package/apps/control-plane/src/cli/help-command-handler.ts +163 -0
- package/apps/control-plane/src/cli/init-command-handler.ts +609 -0
- package/apps/control-plane/src/cli/resume-command-handler.ts +1 -0
- package/apps/control-plane/src/cli/retry-command-handler.ts +138 -0
- package/apps/control-plane/src/cli/run-command-handler.ts +115 -3
- package/apps/control-plane/src/cli/send-command-handler.ts +65 -0
- package/apps/control-plane/src/cli/status-command-handler.ts +102 -2
- package/apps/control-plane/src/cli/types.ts +26 -1
- package/apps/control-plane/src/core/constants.ts +8 -2
- package/apps/control-plane/src/core/error-codes.ts +3 -1
- package/apps/control-plane/src/core/gates.ts +170 -50
- package/apps/control-plane/src/core/kernel.ts +280 -5
- package/apps/control-plane/src/core/path-layout.ts +12 -0
- package/apps/control-plane/src/core/tool-caller.ts +36 -0
- package/apps/control-plane/src/core/workspace-hooks.ts +87 -0
- package/apps/control-plane/src/interfaces/cli/bootstrap.ts +258 -9
- package/apps/control-plane/src/providers/providers.ts +235 -14
- package/apps/control-plane/src/supervisor/build-wave-executor.ts +129 -8
- package/apps/control-plane/src/supervisor/qa-wave-executor.ts +123 -5
- package/apps/control-plane/src/supervisor/run-coordinator.ts +143 -6
- package/apps/control-plane/src/supervisor/runtime.ts +135 -6
- package/apps/control-plane/src/supervisor/types.ts +12 -21
- package/apps/control-plane/src/supervisor/worker-decision-loop.ts +8 -0
- package/apps/control-plane/test/activity-monitor.spec.ts +294 -0
- package/apps/control-plane/test/adapter-registry.spec.ts +132 -0
- package/apps/control-plane/test/batch-operations.spec.ts +112 -0
- package/apps/control-plane/test/bootstrap-attach.spec.ts +102 -0
- package/apps/control-plane/test/bootstrap-edge-cases.spec.ts +252 -0
- package/apps/control-plane/test/bootstrap.spec.ts +560 -0
- package/apps/control-plane/test/cleanup-command.spec.ts +301 -0
- package/apps/control-plane/test/cli-helpers.spec.ts +404 -1
- package/apps/control-plane/test/cli.unit.spec.ts +182 -1
- package/apps/control-plane/test/collision-queue.spec.ts +104 -1
- package/apps/control-plane/test/core-utils.spec.ts +175 -2
- package/apps/control-plane/test/cost-tracking.spec.ts +143 -0
- package/apps/control-plane/test/dashboard-api.integration.spec.ts +247 -0
- package/apps/control-plane/test/dashboard-client.spec.ts +116 -0
- package/apps/control-plane/test/dashboard-command.spec.ts +103 -0
- package/apps/control-plane/test/dependency-scheduler.spec.ts +189 -0
- package/apps/control-plane/test/epoch-tracking.spec.ts +4 -4
- package/apps/control-plane/test/feature-deletion-service.spec.ts +422 -0
- package/apps/control-plane/test/feature-lifecycle.spec.ts +202 -0
- package/apps/control-plane/test/git-spawn-error.spec.ts +24 -0
- package/apps/control-plane/test/incremental-gates.spec.ts +137 -0
- package/apps/control-plane/test/init-wizard.spec.ts +506 -0
- package/apps/control-plane/test/instance-isolation.spec.ts +83 -0
- package/apps/control-plane/test/issue-tracker.spec.ts +890 -0
- package/apps/control-plane/test/kernel.coverage.spec.ts +3 -5
- package/apps/control-plane/test/kernel.coverage2.spec.ts +871 -0
- package/apps/control-plane/test/kernel.spec.ts +13 -11
- package/apps/control-plane/test/lock-service.spec.ts +508 -0
- package/apps/control-plane/test/mcp-helpers.spec.ts +176 -0
- package/apps/control-plane/test/mcp.spec.ts +50 -15
- package/apps/control-plane/test/merge-service.spec.ts +67 -4
- package/apps/control-plane/test/multi-project.spec.ts +372 -0
- package/apps/control-plane/test/notifier-service.spec.ts +388 -0
- package/apps/control-plane/test/parallel-gates.spec.ts +312 -0
- package/apps/control-plane/test/patch-service.spec.ts +253 -0
- package/apps/control-plane/test/performance-analytics.spec.ts +338 -0
- package/apps/control-plane/test/planning-wave-executor.spec.ts +168 -0
- package/apps/control-plane/test/pr-monitor.spec.ts +385 -0
- package/apps/control-plane/test/providers.spec.ts +344 -1
- package/apps/control-plane/test/reactions.spec.ts +392 -0
- package/apps/control-plane/test/resume-command.spec.ts +390 -0
- package/apps/control-plane/test/run-coordinator.spec.ts +481 -2
- package/apps/control-plane/test/schema-date-time.spec.ts +46 -0
- package/apps/control-plane/test/service-retry-paths.spec.ts +30 -0
- package/apps/control-plane/test/services.spec.ts +95 -2
- package/apps/control-plane/test/session-management.spec.ts +450 -0
- package/apps/control-plane/test/spec-ingestion.spec.ts +190 -0
- package/apps/control-plane/test/supervisor-collaborators.spec.ts +699 -2
- package/apps/control-plane/test/supervisor.spec.ts +36 -30
- package/apps/control-plane/test/supervisor.unit.spec.ts +405 -0
- package/apps/control-plane/test/worker-decision-loop.spec.ts +57 -0
- package/apps/control-plane/test/workspace-hooks.spec.ts +177 -0
- package/apps/control-plane/vitest.config.ts +21 -5
- package/dist/apps/control-plane/application/adapters/adapter-registry.d.ts +44 -0
- package/dist/apps/control-plane/application/adapters/adapter-registry.js +76 -0
- package/dist/apps/control-plane/application/adapters/adapter-registry.js.map +1 -0
- package/dist/apps/control-plane/application/multi-project-loader.d.ts +31 -0
- package/dist/apps/control-plane/application/multi-project-loader.js +82 -0
- package/dist/apps/control-plane/application/multi-project-loader.js.map +1 -0
- package/dist/apps/control-plane/application/services/activity-monitor-service.d.ts +43 -0
- package/dist/apps/control-plane/application/services/activity-monitor-service.js +132 -0
- package/dist/apps/control-plane/application/services/activity-monitor-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/cost-tracking-service.d.ts +28 -0
- package/dist/apps/control-plane/application/services/cost-tracking-service.js +48 -0
- package/dist/apps/control-plane/application/services/cost-tracking-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/dependency-scheduler-service.d.ts +26 -0
- package/dist/apps/control-plane/application/services/dependency-scheduler-service.js +75 -0
- package/dist/apps/control-plane/application/services/dependency-scheduler-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/feature-deletion-service.d.ts +2 -0
- package/dist/apps/control-plane/application/services/feature-deletion-service.js +6 -7
- package/dist/apps/control-plane/application/services/feature-deletion-service.js.map +1 -1
- package/dist/apps/control-plane/application/services/gate-interpolation-service.d.ts +7 -0
- package/dist/apps/control-plane/application/services/gate-interpolation-service.js +7 -0
- package/dist/apps/control-plane/application/services/gate-interpolation-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/gate-service.js +32 -2
- package/dist/apps/control-plane/application/services/gate-service.js.map +1 -1
- package/dist/apps/control-plane/application/services/instance-isolation-service.d.ts +11 -0
- package/dist/apps/control-plane/application/services/instance-isolation-service.js +17 -0
- package/dist/apps/control-plane/application/services/instance-isolation-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/issue-tracker-service.d.ts +65 -0
- package/dist/apps/control-plane/application/services/issue-tracker-service.js +358 -0
- package/dist/apps/control-plane/application/services/issue-tracker-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/merge-service.d.ts +4 -0
- package/dist/apps/control-plane/application/services/merge-service.js +44 -2
- package/dist/apps/control-plane/application/services/merge-service.js.map +1 -1
- package/dist/apps/control-plane/application/services/notifier-service.d.ts +74 -0
- package/dist/apps/control-plane/application/services/notifier-service.js +212 -0
- package/dist/apps/control-plane/application/services/notifier-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/performance-analytics-service.d.ts +39 -0
- package/dist/apps/control-plane/application/services/performance-analytics-service.js +75 -0
- package/dist/apps/control-plane/application/services/performance-analytics-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/plan-service.d.ts +1 -0
- package/dist/apps/control-plane/application/services/plan-service.js +53 -0
- package/dist/apps/control-plane/application/services/plan-service.js.map +1 -1
- package/dist/apps/control-plane/application/services/pr-monitor-service.d.ts +44 -0
- package/dist/apps/control-plane/application/services/pr-monitor-service.js +192 -0
- package/dist/apps/control-plane/application/services/pr-monitor-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/reactions-service.d.ts +67 -0
- package/dist/apps/control-plane/application/services/reactions-service.js +114 -0
- package/dist/apps/control-plane/application/services/reactions-service.js.map +1 -0
- package/dist/apps/control-plane/application/services/reporting-service.d.ts +1 -0
- package/dist/apps/control-plane/application/services/reporting-service.js +13 -2
- package/dist/apps/control-plane/application/services/reporting-service.js.map +1 -1
- package/dist/apps/control-plane/application/services/run-lease-service.d.ts +2 -0
- package/dist/apps/control-plane/application/services/run-lease-service.js +14 -38
- package/dist/apps/control-plane/application/services/run-lease-service.js.map +1 -1
- package/dist/apps/control-plane/application/tools/tool-metadata.js +3 -1
- package/dist/apps/control-plane/application/tools/tool-metadata.js.map +1 -1
- package/dist/apps/control-plane/cli/aop.d.ts +1 -1
- package/dist/apps/control-plane/cli/aop.js +1 -1
- package/dist/apps/control-plane/cli/attach-command-handler.d.ts +12 -0
- package/dist/apps/control-plane/cli/attach-command-handler.js +98 -0
- package/dist/apps/control-plane/cli/attach-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/cleanup-command-handler.d.ts +12 -0
- package/dist/apps/control-plane/cli/cleanup-command-handler.js +162 -0
- package/dist/apps/control-plane/cli/cleanup-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/cli-argument-parser.js +73 -3
- package/dist/apps/control-plane/cli/cli-argument-parser.js.map +1 -1
- package/dist/apps/control-plane/cli/dashboard-command-handler.d.ts +7 -0
- package/dist/apps/control-plane/cli/dashboard-command-handler.js +45 -0
- package/dist/apps/control-plane/cli/dashboard-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/help-command-handler.d.ts +8 -0
- package/dist/apps/control-plane/cli/help-command-handler.js +146 -0
- package/dist/apps/control-plane/cli/help-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/init-command-handler.d.ts +26 -0
- package/dist/apps/control-plane/cli/init-command-handler.js +517 -0
- package/dist/apps/control-plane/cli/init-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/resume-command-handler.js +1 -1
- package/dist/apps/control-plane/cli/resume-command-handler.js.map +1 -1
- package/dist/apps/control-plane/cli/retry-command-handler.d.ts +8 -0
- package/dist/apps/control-plane/cli/retry-command-handler.js +111 -0
- package/dist/apps/control-plane/cli/retry-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/run-command-handler.d.ts +5 -0
- package/dist/apps/control-plane/cli/run-command-handler.js +82 -3
- package/dist/apps/control-plane/cli/run-command-handler.js.map +1 -1
- package/dist/apps/control-plane/cli/send-command-handler.d.ts +8 -0
- package/dist/apps/control-plane/cli/send-command-handler.js +55 -0
- package/dist/apps/control-plane/cli/send-command-handler.js.map +1 -0
- package/dist/apps/control-plane/cli/status-command-handler.d.ts +12 -1
- package/dist/apps/control-plane/cli/status-command-handler.js +55 -2
- package/dist/apps/control-plane/cli/status-command-handler.js.map +1 -1
- package/dist/apps/control-plane/cli/types.d.ts +26 -1
- package/dist/apps/control-plane/cli/types.js +15 -1
- package/dist/apps/control-plane/cli/types.js.map +1 -1
- package/dist/apps/control-plane/core/constants.d.ts +6 -0
- package/dist/apps/control-plane/core/constants.js +8 -2
- package/dist/apps/control-plane/core/constants.js.map +1 -1
- package/dist/apps/control-plane/core/error-codes.d.ts +2 -0
- package/dist/apps/control-plane/core/error-codes.js +3 -1
- package/dist/apps/control-plane/core/error-codes.js.map +1 -1
- package/dist/apps/control-plane/core/gates.d.ts +4 -0
- package/dist/apps/control-plane/core/gates.js +140 -43
- package/dist/apps/control-plane/core/gates.js.map +1 -1
- package/dist/apps/control-plane/core/kernel.d.ts +50 -1
- package/dist/apps/control-plane/core/kernel.js +220 -7
- package/dist/apps/control-plane/core/kernel.js.map +1 -1
- package/dist/apps/control-plane/core/path-layout.d.ts +3 -0
- package/dist/apps/control-plane/core/path-layout.js +9 -0
- package/dist/apps/control-plane/core/path-layout.js.map +1 -1
- package/dist/apps/control-plane/core/tool-caller.d.ts +32 -0
- package/dist/apps/control-plane/core/tool-caller.js +2 -0
- package/dist/apps/control-plane/core/tool-caller.js.map +1 -0
- package/dist/apps/control-plane/core/workspace-hooks.d.ts +20 -0
- package/dist/apps/control-plane/core/workspace-hooks.js +69 -0
- package/dist/apps/control-plane/core/workspace-hooks.js.map +1 -0
- package/dist/apps/control-plane/interfaces/cli/bootstrap.js +245 -9
- package/dist/apps/control-plane/interfaces/cli/bootstrap.js.map +1 -1
- package/dist/apps/control-plane/providers/providers.d.ts +42 -3
- package/dist/apps/control-plane/providers/providers.js +216 -5
- package/dist/apps/control-plane/providers/providers.js.map +1 -1
- package/dist/apps/control-plane/supervisor/build-wave-executor.d.ts +3 -0
- package/dist/apps/control-plane/supervisor/build-wave-executor.js +115 -6
- package/dist/apps/control-plane/supervisor/build-wave-executor.js.map +1 -1
- package/dist/apps/control-plane/supervisor/qa-wave-executor.d.ts +3 -0
- package/dist/apps/control-plane/supervisor/qa-wave-executor.js +109 -5
- package/dist/apps/control-plane/supervisor/qa-wave-executor.js.map +1 -1
- package/dist/apps/control-plane/supervisor/run-coordinator.d.ts +15 -0
- package/dist/apps/control-plane/supervisor/run-coordinator.js +132 -6
- package/dist/apps/control-plane/supervisor/run-coordinator.js.map +1 -1
- package/dist/apps/control-plane/supervisor/runtime.d.ts +3 -0
- package/dist/apps/control-plane/supervisor/runtime.js +110 -6
- package/dist/apps/control-plane/supervisor/runtime.js.map +1 -1
- package/dist/apps/control-plane/supervisor/types.d.ts +9 -16
- package/dist/apps/control-plane/supervisor/types.js.map +1 -1
- package/dist/apps/control-plane/supervisor/worker-decision-loop.d.ts +3 -0
- package/dist/apps/control-plane/supervisor/worker-decision-loop.js +5 -0
- package/dist/apps/control-plane/supervisor/worker-decision-loop.js.map +1 -1
- package/eslint.config.mjs +2 -1
- package/package.json +12 -2
- package/packages/web-dashboard/next-env.d.ts +5 -0
- package/packages/web-dashboard/next.config.js +7 -0
- package/packages/web-dashboard/package.json +26 -0
- package/packages/web-dashboard/src/app/api/actions/route.ts +64 -0
- package/packages/web-dashboard/src/app/api/events/route.ts +51 -0
- package/packages/web-dashboard/src/app/api/features/[id]/checkout/route.ts +256 -0
- package/packages/web-dashboard/src/app/api/features/[id]/diff/route.ts +10 -0
- package/packages/web-dashboard/src/app/api/features/[id]/evidence/[artifact]/route.ts +25 -0
- package/packages/web-dashboard/src/app/api/features/[id]/review/route.ts +63 -0
- package/packages/web-dashboard/src/app/api/features/[id]/route.ts +16 -0
- package/packages/web-dashboard/src/app/api/projects/route.ts +31 -0
- package/packages/web-dashboard/src/app/api/status/route.ts +15 -0
- package/packages/web-dashboard/src/app/globals.css +2 -0
- package/packages/web-dashboard/src/app/layout.tsx +15 -0
- package/packages/web-dashboard/src/app/page.tsx +393 -0
- package/packages/web-dashboard/src/lib/aop-client.ts +244 -0
- package/packages/web-dashboard/src/lib/multi-project-config.ts +116 -0
- package/packages/web-dashboard/src/lib/orchestrator-tools.ts +284 -0
- package/packages/web-dashboard/src/lib/types.ts +58 -0
- package/packages/web-dashboard/tsconfig.json +40 -0
- package/packages/web-dashboard/vitest.config.ts +6 -0
- package/spec-files/completed/agentic_orchestrator_feature_gaps_closure_spec.md +1764 -0
- package/spec-files/outstanding/agentic_orchestrator_enterprise_governance_dashboard_spec.md +348 -0
- package/spec-files/outstanding/agentic_orchestrator_knowledge_canary_spec.md +344 -0
- package/spec-files/outstanding/agentic_orchestrator_observability_integrity_diagnostics_spec.md +374 -0
- package/spec-files/outstanding/agentic_orchestrator_performance_improvements_spec.md +1059 -0
- package/spec-files/outstanding/agentic_orchestrator_planning_review_quality_spec.md +466 -0
- package/spec-files/outstanding/agentic_orchestrator_quality_adoption_execution_spec.md +198 -0
- package/spec-files/outstanding/agentic_orchestrator_validator_hardening_spec.md +365 -0
- package/spec-files/progress.md +481 -52
- /package/spec-files/{agentic_orchestrator_cli_delete_command_spec.md → completed/agentic_orchestrator_cli_delete_command_spec.md} +0 -0
- /package/spec-files/{agentic_orchestrator_dot_aop_generated_artifacts_spec.md → completed/agentic_orchestrator_dot_aop_generated_artifacts_spec.md} +0 -0
- /package/spec-files/{agentic_orchestrator_mcp_formalization_spec.md → completed/agentic_orchestrator_mcp_formalization_spec.md} +0 -0
- /package/spec-files/{agentic_orchestrator_oop_refactor_spec.md → completed/agentic_orchestrator_oop_refactor_spec.md} +0 -0
- /package/spec-files/{agentic_orchestrator_single_global_orchestrator_spec.md → completed/agentic_orchestrator_single_global_orchestrator_spec.md} +0 -0
- /package/spec-files/{agentic_orchestrator_spec.md → completed/agentic_orchestrator_spec.md} +0 -0
|
@@ -22,21 +22,37 @@
|
|
|
22
22
|
"rbac"
|
|
23
23
|
],
|
|
24
24
|
"properties": {
|
|
25
|
-
"version": {
|
|
25
|
+
"version": {
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
26
28
|
"commit_policy": {
|
|
27
29
|
"type": "object",
|
|
28
|
-
"required": [
|
|
30
|
+
"required": [
|
|
31
|
+
"allow_commit",
|
|
32
|
+
"allow_merge"
|
|
33
|
+
],
|
|
29
34
|
"properties": {
|
|
30
|
-
"allow_commit": {
|
|
31
|
-
|
|
35
|
+
"allow_commit": {
|
|
36
|
+
"type": "boolean"
|
|
37
|
+
},
|
|
38
|
+
"allow_merge": {
|
|
39
|
+
"type": "boolean"
|
|
40
|
+
}
|
|
32
41
|
}
|
|
33
42
|
},
|
|
34
43
|
"patch_policy": {
|
|
35
44
|
"type": "object",
|
|
36
|
-
"required": [
|
|
45
|
+
"required": [
|
|
46
|
+
"enforce_plan",
|
|
47
|
+
"enforce_allowed_areas"
|
|
48
|
+
],
|
|
37
49
|
"properties": {
|
|
38
|
-
"enforce_plan": {
|
|
39
|
-
|
|
50
|
+
"enforce_plan": {
|
|
51
|
+
"type": "boolean"
|
|
52
|
+
},
|
|
53
|
+
"enforce_allowed_areas": {
|
|
54
|
+
"type": "boolean"
|
|
55
|
+
}
|
|
40
56
|
}
|
|
41
57
|
},
|
|
42
58
|
"locks": {
|
|
@@ -52,43 +68,91 @@
|
|
|
52
68
|
"properties": {
|
|
53
69
|
"resources": {
|
|
54
70
|
"type": "array",
|
|
55
|
-
"items": {
|
|
71
|
+
"items": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"minLength": 1
|
|
74
|
+
}
|
|
56
75
|
},
|
|
57
76
|
"contract_to_resource": {
|
|
58
77
|
"type": "object",
|
|
59
|
-
"required": [
|
|
78
|
+
"required": [
|
|
79
|
+
"openapi",
|
|
80
|
+
"events",
|
|
81
|
+
"db"
|
|
82
|
+
],
|
|
60
83
|
"properties": {
|
|
61
|
-
"openapi": {
|
|
62
|
-
|
|
63
|
-
|
|
84
|
+
"openapi": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"events": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"db": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
}
|
|
64
93
|
}
|
|
65
94
|
},
|
|
66
|
-
"lease_ttl_seconds": {
|
|
67
|
-
|
|
68
|
-
|
|
95
|
+
"lease_ttl_seconds": {
|
|
96
|
+
"type": "number",
|
|
97
|
+
"minimum": 1
|
|
98
|
+
},
|
|
99
|
+
"acquire_behavior": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": [
|
|
102
|
+
"wait",
|
|
103
|
+
"fail"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"default_wait_timeout_seconds": {
|
|
107
|
+
"type": "number",
|
|
108
|
+
"minimum": 1
|
|
109
|
+
},
|
|
69
110
|
"acquire_backoff": {
|
|
70
111
|
"type": "object",
|
|
71
|
-
"required": [
|
|
112
|
+
"required": [
|
|
113
|
+
"initial_ms",
|
|
114
|
+
"max_ms",
|
|
115
|
+
"multiplier",
|
|
116
|
+
"jitter_ms"
|
|
117
|
+
],
|
|
72
118
|
"properties": {
|
|
73
|
-
"initial_ms": {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
119
|
+
"initial_ms": {
|
|
120
|
+
"type": "number",
|
|
121
|
+
"minimum": 1
|
|
122
|
+
},
|
|
123
|
+
"max_ms": {
|
|
124
|
+
"type": "number",
|
|
125
|
+
"minimum": 1
|
|
126
|
+
},
|
|
127
|
+
"multiplier": {
|
|
128
|
+
"type": "number",
|
|
129
|
+
"minimum": 1
|
|
130
|
+
},
|
|
131
|
+
"jitter_ms": {
|
|
132
|
+
"type": "number",
|
|
133
|
+
"minimum": 0
|
|
134
|
+
}
|
|
77
135
|
}
|
|
78
136
|
}
|
|
79
137
|
}
|
|
80
138
|
},
|
|
81
139
|
"protected_areas": {
|
|
82
140
|
"type": "array",
|
|
83
|
-
"items": {
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
}
|
|
84
144
|
},
|
|
85
145
|
"exclusive_areas": {
|
|
86
146
|
"type": "array",
|
|
87
|
-
"items": {
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
88
150
|
},
|
|
89
151
|
"required_modes": {
|
|
90
152
|
"type": "array",
|
|
91
|
-
"items": {
|
|
153
|
+
"items": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
92
156
|
"minItems": 1
|
|
93
157
|
},
|
|
94
158
|
"required_merge_mode": {
|
|
@@ -96,76 +160,150 @@
|
|
|
96
160
|
},
|
|
97
161
|
"collision_policy": {
|
|
98
162
|
"type": "string",
|
|
99
|
-
"enum": [
|
|
163
|
+
"enum": [
|
|
164
|
+
"reject",
|
|
165
|
+
"block"
|
|
166
|
+
]
|
|
100
167
|
},
|
|
101
168
|
"config_precedence": {
|
|
102
169
|
"type": "object"
|
|
103
170
|
},
|
|
104
171
|
"path_rules": {
|
|
105
172
|
"type": "object",
|
|
106
|
-
"required": [
|
|
173
|
+
"required": [
|
|
174
|
+
"matching",
|
|
175
|
+
"normalize_paths",
|
|
176
|
+
"allow_symlink_traversal"
|
|
177
|
+
],
|
|
107
178
|
"properties": {
|
|
108
|
-
"matching": {
|
|
109
|
-
|
|
110
|
-
|
|
179
|
+
"matching": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"enum": [
|
|
182
|
+
"repo_prefix",
|
|
183
|
+
"glob"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"normalize_paths": {
|
|
187
|
+
"type": "boolean",
|
|
188
|
+
"const": true
|
|
189
|
+
},
|
|
190
|
+
"allow_symlink_traversal": {
|
|
191
|
+
"type": "boolean"
|
|
192
|
+
}
|
|
111
193
|
}
|
|
112
194
|
},
|
|
113
195
|
"execution": {
|
|
114
196
|
"type": "object",
|
|
115
|
-
"required": [
|
|
197
|
+
"required": [
|
|
198
|
+
"default_step_timeout_seconds",
|
|
199
|
+
"retry_policy",
|
|
200
|
+
"env_allowlist"
|
|
201
|
+
],
|
|
116
202
|
"properties": {
|
|
117
|
-
"default_step_timeout_seconds": {
|
|
203
|
+
"default_step_timeout_seconds": {
|
|
204
|
+
"type": "number",
|
|
205
|
+
"minimum": 1
|
|
206
|
+
},
|
|
118
207
|
"retry_policy": {
|
|
119
208
|
"type": "object",
|
|
120
|
-
"required": [
|
|
209
|
+
"required": [
|
|
210
|
+
"transient_max_retries",
|
|
211
|
+
"transient_error_codes",
|
|
212
|
+
"non_retryable_error_codes"
|
|
213
|
+
],
|
|
121
214
|
"properties": {
|
|
122
|
-
"transient_max_retries": {
|
|
215
|
+
"transient_max_retries": {
|
|
216
|
+
"type": "number",
|
|
217
|
+
"minimum": 0
|
|
218
|
+
},
|
|
123
219
|
"transient_error_codes": {
|
|
124
220
|
"type": "array",
|
|
125
|
-
"items": {
|
|
221
|
+
"items": {
|
|
222
|
+
"type": "number"
|
|
223
|
+
}
|
|
126
224
|
},
|
|
127
225
|
"non_retryable_error_codes": {
|
|
128
226
|
"type": "array",
|
|
129
|
-
"items": {
|
|
227
|
+
"items": {
|
|
228
|
+
"type": "number"
|
|
229
|
+
}
|
|
130
230
|
}
|
|
131
231
|
}
|
|
132
232
|
},
|
|
133
233
|
"env_allowlist": {
|
|
134
234
|
"type": "array",
|
|
135
|
-
"items": {
|
|
235
|
+
"items": {
|
|
236
|
+
"type": "string"
|
|
237
|
+
}
|
|
136
238
|
}
|
|
137
239
|
}
|
|
138
240
|
},
|
|
139
241
|
"implementation": {
|
|
140
242
|
"type": "object",
|
|
141
|
-
"required": [
|
|
243
|
+
"required": [
|
|
244
|
+
"workspace"
|
|
245
|
+
],
|
|
142
246
|
"properties": {
|
|
143
|
-
"workspace": {
|
|
247
|
+
"workspace": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"const": "nx"
|
|
250
|
+
}
|
|
144
251
|
}
|
|
145
252
|
},
|
|
146
253
|
"testing": {
|
|
147
254
|
"type": "object",
|
|
148
|
-
"required": [
|
|
255
|
+
"required": [
|
|
256
|
+
"framework",
|
|
257
|
+
"coverage"
|
|
258
|
+
],
|
|
149
259
|
"properties": {
|
|
150
|
-
"framework": {
|
|
260
|
+
"framework": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"const": "vitest"
|
|
263
|
+
},
|
|
151
264
|
"coverage": {
|
|
152
265
|
"type": "object",
|
|
153
|
-
"required": [
|
|
266
|
+
"required": [
|
|
267
|
+
"minimums",
|
|
268
|
+
"targets"
|
|
269
|
+
],
|
|
154
270
|
"properties": {
|
|
155
271
|
"minimums": {
|
|
156
272
|
"type": "object",
|
|
157
|
-
"required": [
|
|
273
|
+
"required": [
|
|
274
|
+
"line",
|
|
275
|
+
"branch"
|
|
276
|
+
],
|
|
158
277
|
"properties": {
|
|
159
|
-
"line": {
|
|
160
|
-
|
|
278
|
+
"line": {
|
|
279
|
+
"type": "number",
|
|
280
|
+
"minimum": 0,
|
|
281
|
+
"maximum": 1
|
|
282
|
+
},
|
|
283
|
+
"branch": {
|
|
284
|
+
"type": "number",
|
|
285
|
+
"minimum": 0,
|
|
286
|
+
"maximum": 1
|
|
287
|
+
}
|
|
161
288
|
}
|
|
162
289
|
},
|
|
163
290
|
"targets": {
|
|
164
291
|
"type": "object",
|
|
165
|
-
"required": [
|
|
292
|
+
"required": [
|
|
293
|
+
"line",
|
|
294
|
+
"branch"
|
|
295
|
+
],
|
|
166
296
|
"properties": {
|
|
167
|
-
"line": {
|
|
168
|
-
|
|
297
|
+
"line": {
|
|
298
|
+
"type": "number",
|
|
299
|
+
"minimum": 0,
|
|
300
|
+
"maximum": 1
|
|
301
|
+
},
|
|
302
|
+
"branch": {
|
|
303
|
+
"type": "number",
|
|
304
|
+
"minimum": 0,
|
|
305
|
+
"maximum": 1
|
|
306
|
+
}
|
|
169
307
|
}
|
|
170
308
|
}
|
|
171
309
|
}
|
|
@@ -174,30 +312,58 @@
|
|
|
174
312
|
},
|
|
175
313
|
"merge_policy": {
|
|
176
314
|
"type": "object",
|
|
177
|
-
"required": [
|
|
315
|
+
"required": [
|
|
316
|
+
"require_user_approval",
|
|
317
|
+
"allowed_strategies"
|
|
318
|
+
],
|
|
178
319
|
"properties": {
|
|
179
|
-
"require_user_approval": {
|
|
320
|
+
"require_user_approval": {
|
|
321
|
+
"type": "boolean"
|
|
322
|
+
},
|
|
180
323
|
"allowed_strategies": {
|
|
181
324
|
"type": "array",
|
|
182
325
|
"items": {
|
|
183
326
|
"type": "string",
|
|
184
|
-
"enum": [
|
|
327
|
+
"enum": [
|
|
328
|
+
"merge_commit",
|
|
329
|
+
"squash",
|
|
330
|
+
"rebase"
|
|
331
|
+
]
|
|
185
332
|
}
|
|
186
333
|
}
|
|
187
334
|
}
|
|
188
335
|
},
|
|
189
336
|
"worktree": {
|
|
190
337
|
"type": "object",
|
|
191
|
-
"required": [
|
|
338
|
+
"required": [
|
|
339
|
+
"base_branch"
|
|
340
|
+
],
|
|
192
341
|
"properties": {
|
|
193
|
-
"base_branch": {
|
|
342
|
+
"base_branch": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"minLength": 1
|
|
345
|
+
},
|
|
346
|
+
"post_create": {
|
|
347
|
+
"type": "array",
|
|
348
|
+
"items": {
|
|
349
|
+
"type": "string"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"symlinks": {
|
|
353
|
+
"type": "array",
|
|
354
|
+
"items": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
194
358
|
}
|
|
195
359
|
},
|
|
196
360
|
"rbac": {
|
|
197
361
|
"type": "object",
|
|
198
362
|
"additionalProperties": {
|
|
199
363
|
"type": "array",
|
|
200
|
-
"items": {
|
|
364
|
+
"items": {
|
|
365
|
+
"type": "string"
|
|
366
|
+
}
|
|
201
367
|
}
|
|
202
368
|
},
|
|
203
369
|
"recovery": {
|
|
@@ -220,6 +386,237 @@
|
|
|
220
386
|
"type": "integer",
|
|
221
387
|
"minimum": 0,
|
|
222
388
|
"default": 6
|
|
389
|
+
},
|
|
390
|
+
"max_parallel_gate_runs": {
|
|
391
|
+
"type": "integer",
|
|
392
|
+
"minimum": 1,
|
|
393
|
+
"default": 2
|
|
394
|
+
},
|
|
395
|
+
"agent_idle_threshold_ms": {
|
|
396
|
+
"type": "integer",
|
|
397
|
+
"minimum": 0,
|
|
398
|
+
"default": 300000
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"cleanup": {
|
|
403
|
+
"type": "object",
|
|
404
|
+
"properties": {
|
|
405
|
+
"auto_after_merge": {
|
|
406
|
+
"type": "boolean"
|
|
407
|
+
},
|
|
408
|
+
"grace_period_seconds": {
|
|
409
|
+
"type": "number",
|
|
410
|
+
"minimum": 0
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"dashboard": {
|
|
415
|
+
"type": "object",
|
|
416
|
+
"properties": {
|
|
417
|
+
"enabled": {
|
|
418
|
+
"type": "boolean"
|
|
419
|
+
},
|
|
420
|
+
"port": {
|
|
421
|
+
"type": "number",
|
|
422
|
+
"minimum": 1,
|
|
423
|
+
"maximum": 65535
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"notifications": {
|
|
428
|
+
"type": "object",
|
|
429
|
+
"properties": {
|
|
430
|
+
"enabled": {
|
|
431
|
+
"type": "boolean"
|
|
432
|
+
},
|
|
433
|
+
"channels": {
|
|
434
|
+
"type": "object",
|
|
435
|
+
"properties": {
|
|
436
|
+
"desktop": {
|
|
437
|
+
"type": "object",
|
|
438
|
+
"properties": {
|
|
439
|
+
"enabled": {
|
|
440
|
+
"type": "boolean"
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"slack": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"enabled": {
|
|
448
|
+
"type": "boolean"
|
|
449
|
+
},
|
|
450
|
+
"webhook": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"channel": {
|
|
454
|
+
"type": "string"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"webhook": {
|
|
459
|
+
"type": "object",
|
|
460
|
+
"properties": {
|
|
461
|
+
"enabled": {
|
|
462
|
+
"type": "boolean"
|
|
463
|
+
},
|
|
464
|
+
"url": {
|
|
465
|
+
"type": "string"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"routing": {
|
|
472
|
+
"type": "object",
|
|
473
|
+
"properties": {
|
|
474
|
+
"critical": {
|
|
475
|
+
"type": "array",
|
|
476
|
+
"items": {
|
|
477
|
+
"type": "string"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"urgent": {
|
|
481
|
+
"type": "array",
|
|
482
|
+
"items": {
|
|
483
|
+
"type": "string"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"action": {
|
|
487
|
+
"type": "array",
|
|
488
|
+
"items": {
|
|
489
|
+
"type": "string"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"warning": {
|
|
493
|
+
"type": "array",
|
|
494
|
+
"items": {
|
|
495
|
+
"type": "string"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"info": {
|
|
499
|
+
"type": "array",
|
|
500
|
+
"items": {
|
|
501
|
+
"type": "string"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"reactions": {
|
|
509
|
+
"type": "object",
|
|
510
|
+
"properties": {
|
|
511
|
+
"gate_failed": {
|
|
512
|
+
"type": "object",
|
|
513
|
+
"properties": {
|
|
514
|
+
"enabled": {
|
|
515
|
+
"type": "boolean"
|
|
516
|
+
},
|
|
517
|
+
"max_retries": {
|
|
518
|
+
"type": "integer",
|
|
519
|
+
"minimum": 0
|
|
520
|
+
},
|
|
521
|
+
"action": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"enum": [
|
|
524
|
+
"retry_with_agent_repair",
|
|
525
|
+
"notify_only"
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
"escalate_after": {
|
|
529
|
+
"type": "integer",
|
|
530
|
+
"minimum": 0
|
|
531
|
+
},
|
|
532
|
+
"retry_delay_ms": {
|
|
533
|
+
"type": "integer",
|
|
534
|
+
"minimum": 0
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"agent_stuck": {
|
|
539
|
+
"type": "object",
|
|
540
|
+
"properties": {
|
|
541
|
+
"enabled": {
|
|
542
|
+
"type": "boolean"
|
|
543
|
+
},
|
|
544
|
+
"action": {
|
|
545
|
+
"type": "string"
|
|
546
|
+
},
|
|
547
|
+
"idle_threshold_ms": {
|
|
548
|
+
"type": "integer",
|
|
549
|
+
"minimum": 0
|
|
550
|
+
},
|
|
551
|
+
"escalate_after": {
|
|
552
|
+
"type": "integer",
|
|
553
|
+
"minimum": 0
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"collision_detected": {
|
|
558
|
+
"type": "object",
|
|
559
|
+
"properties": {
|
|
560
|
+
"enabled": {
|
|
561
|
+
"type": "boolean"
|
|
562
|
+
},
|
|
563
|
+
"action": {
|
|
564
|
+
"type": "string"
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"ready_to_merge": {
|
|
569
|
+
"type": "object",
|
|
570
|
+
"properties": {
|
|
571
|
+
"enabled": {
|
|
572
|
+
"type": "boolean"
|
|
573
|
+
},
|
|
574
|
+
"action": {
|
|
575
|
+
"type": "string"
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
"changes_requested": {
|
|
580
|
+
"type": "object",
|
|
581
|
+
"properties": {
|
|
582
|
+
"enabled": {
|
|
583
|
+
"type": "boolean"
|
|
584
|
+
},
|
|
585
|
+
"action": {
|
|
586
|
+
"type": "string"
|
|
587
|
+
},
|
|
588
|
+
"escalate_after": {
|
|
589
|
+
"type": "integer",
|
|
590
|
+
"minimum": 0
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"budget": {
|
|
597
|
+
"type": "object",
|
|
598
|
+
"additionalProperties": false,
|
|
599
|
+
"properties": {
|
|
600
|
+
"per_feature_limit_usd": {
|
|
601
|
+
"type": "number",
|
|
602
|
+
"minimum": 0
|
|
603
|
+
},
|
|
604
|
+
"alert_threshold": {
|
|
605
|
+
"type": "number",
|
|
606
|
+
"minimum": 0,
|
|
607
|
+
"maximum": 1
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"issue_tracker": {
|
|
612
|
+
"type": "object",
|
|
613
|
+
"additionalProperties": false,
|
|
614
|
+
"properties": {
|
|
615
|
+
"enabled": { "type": "boolean" },
|
|
616
|
+
"type": { "type": "string", "enum": ["github", "linear", "jira"] },
|
|
617
|
+
"config": {
|
|
618
|
+
"type": "object",
|
|
619
|
+
"additionalProperties": { "type": "string" }
|
|
223
620
|
}
|
|
224
621
|
}
|
|
225
622
|
}
|
|
@@ -82,6 +82,22 @@
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
+
"pr": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"number": { "type": "integer" },
|
|
89
|
+
"url": { "type": "string" },
|
|
90
|
+
"ci_status": { "type": "string", "enum": ["passing", "failing", "pending", "none"] },
|
|
91
|
+
"review_decision": { "type": "string", "enum": ["approved", "changes_requested", "pending", "none"] },
|
|
92
|
+
"merge_ready": { "type": "boolean" },
|
|
93
|
+
"pending_review_threads": { "type": "integer" },
|
|
94
|
+
"has_conflicts": { "type": "boolean" },
|
|
95
|
+
"merge_score": { "type": "number" }
|
|
96
|
+
},
|
|
97
|
+
"additionalProperties": false
|
|
98
|
+
},
|
|
99
|
+
"gate_retry_count": { "type": "integer", "minimum": 0, "default": 0 },
|
|
100
|
+
"last_retry_at": { "type": ["string", "null"], "format": "date-time" },
|
|
85
101
|
"last_updated": { "type": "string", "format": "date-time" },
|
|
86
102
|
"status_reason": { "type": "string" },
|
|
87
103
|
"evidence": {
|