oh-my-super-agent 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/.agents/agents/advisor.md +15 -0
- package/.agents/agents/conductor.md +32 -0
- package/.agents/agents/dreamer.md +13 -0
- package/.agents/agents/executor.md +17 -0
- package/.agents/agents/grader.md +15 -0
- package/.agents/config/endurance-policy.json +8 -0
- package/.agents/config/oms-config.json +119 -0
- package/.agents/config/release-policy.json +12 -0
- package/.agents/config/secret-scan-policy.json +7 -0
- package/.agents/config/verification-plan.json +33 -0
- package/.agents/registry.json +11 -0
- package/.agents/rules/constitution.md +7 -0
- package/.agents/skills/conductor/SKILL.md +23 -0
- package/.agents/skills/dream/SKILL.md +14 -0
- package/.agents/skills/executor/SKILL.md +13 -0
- package/.agents/skills/oms/SKILL.md +52 -0
- package/.agents/skills/quota-aware/SKILL.md +12 -0
- package/.agents/skills/schedule/SKILL.md +13 -0
- package/.agents/skills/team-protocol/SKILL.md +20 -0
- package/LICENSE +21 -0
- package/README.md +146 -0
- package/dist/src/audit/run-ledger.d.ts +183 -0
- package/dist/src/audit/run-ledger.js +1655 -0
- package/dist/src/audit/run-ledger.js.map +1 -0
- package/dist/src/cli.d.ts +61 -0
- package/dist/src/cli.js +2096 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/commands/github-queue-probe.d.ts +26 -0
- package/dist/src/commands/github-queue-probe.js +51 -0
- package/dist/src/commands/github-queue-probe.js.map +1 -0
- package/dist/src/commands/trace-fixture.d.ts +20 -0
- package/dist/src/commands/trace-fixture.js +72 -0
- package/dist/src/commands/trace-fixture.js.map +1 -0
- package/dist/src/conductor/activity.d.ts +46 -0
- package/dist/src/conductor/activity.js +224 -0
- package/dist/src/conductor/activity.js.map +1 -0
- package/dist/src/conductor/bridge.d.ts +53 -0
- package/dist/src/conductor/bridge.js +652 -0
- package/dist/src/conductor/bridge.js.map +1 -0
- package/dist/src/conductor/notifications.d.ts +59 -0
- package/dist/src/conductor/notifications.js +381 -0
- package/dist/src/conductor/notifications.js.map +1 -0
- package/dist/src/conductor/recovery.d.ts +29 -0
- package/dist/src/conductor/recovery.js +198 -0
- package/dist/src/conductor/recovery.js.map +1 -0
- package/dist/src/conductor/start.d.ts +73 -0
- package/dist/src/conductor/start.js +519 -0
- package/dist/src/conductor/start.js.map +1 -0
- package/dist/src/conductor/waiter.d.ts +88 -0
- package/dist/src/conductor/waiter.js +427 -0
- package/dist/src/conductor/waiter.js.map +1 -0
- package/dist/src/config.d.ts +9 -0
- package/dist/src/config.js +40 -0
- package/dist/src/config.js.map +1 -0
- package/dist/src/dispatch/advice-source.d.ts +61 -0
- package/dist/src/dispatch/advice-source.js +198 -0
- package/dist/src/dispatch/advice-source.js.map +1 -0
- package/dist/src/dispatch/advice-store.d.ts +41 -0
- package/dist/src/dispatch/advice-store.js +201 -0
- package/dist/src/dispatch/advice-store.js.map +1 -0
- package/dist/src/dispatch/advice.d.ts +34 -0
- package/dist/src/dispatch/advice.js +371 -0
- package/dist/src/dispatch/advice.js.map +1 -0
- package/dist/src/dispatch/authority.d.ts +124 -0
- package/dist/src/dispatch/authority.js +1202 -0
- package/dist/src/dispatch/authority.js.map +1 -0
- package/dist/src/dispatch/intent.d.ts +66 -0
- package/dist/src/dispatch/intent.js +71 -0
- package/dist/src/dispatch/intent.js.map +1 -0
- package/dist/src/dispatch/runtime-authority.d.ts +42 -0
- package/dist/src/dispatch/runtime-authority.js +52 -0
- package/dist/src/dispatch/runtime-authority.js.map +1 -0
- package/dist/src/doctor.d.ts +20 -0
- package/dist/src/doctor.js +85 -0
- package/dist/src/doctor.js.map +1 -0
- package/dist/src/domain/records.d.ts +44 -0
- package/dist/src/domain/records.js +138 -0
- package/dist/src/domain/records.js.map +1 -0
- package/dist/src/domain/role-policy.d.ts +67 -0
- package/dist/src/domain/role-policy.js +547 -0
- package/dist/src/domain/role-policy.js.map +1 -0
- package/dist/src/events/bus.d.ts +32 -0
- package/dist/src/events/bus.js +115 -0
- package/dist/src/events/bus.js.map +1 -0
- package/dist/src/events/kinds.d.ts +126 -0
- package/dist/src/events/kinds.js +14 -0
- package/dist/src/events/kinds.js.map +1 -0
- package/dist/src/evidence/immutable-file.d.ts +12 -0
- package/dist/src/evidence/immutable-file.js +141 -0
- package/dist/src/evidence/immutable-file.js.map +1 -0
- package/dist/src/evidence/store.d.ts +125 -0
- package/dist/src/evidence/store.js +1189 -0
- package/dist/src/evidence/store.js.map +1 -0
- package/dist/src/evidence/verdict.d.ts +17 -0
- package/dist/src/evidence/verdict.js +23 -0
- package/dist/src/evidence/verdict.js.map +1 -0
- package/dist/src/generation/agent.d.ts +5 -0
- package/dist/src/generation/agent.js +34 -0
- package/dist/src/generation/agent.js.map +1 -0
- package/dist/src/generation/frontmatter.d.ts +7 -0
- package/dist/src/generation/frontmatter.js +33 -0
- package/dist/src/generation/frontmatter.js.map +1 -0
- package/dist/src/github/adapter.d.ts +44 -0
- package/dist/src/github/adapter.js +592 -0
- package/dist/src/github/adapter.js.map +1 -0
- package/dist/src/github/dispatch-eligibility.d.ts +9 -0
- package/dist/src/github/dispatch-eligibility.js +94 -0
- package/dist/src/github/dispatch-eligibility.js.map +1 -0
- package/dist/src/github/projector.d.ts +23 -0
- package/dist/src/github/projector.js +181 -0
- package/dist/src/github/projector.js.map +1 -0
- package/dist/src/github/review.d.ts +39 -0
- package/dist/src/github/review.js +1450 -0
- package/dist/src/github/review.js.map +1 -0
- package/dist/src/github/sync.d.ts +21 -0
- package/dist/src/github/sync.js +518 -0
- package/dist/src/github/sync.js.map +1 -0
- package/dist/src/github/types.d.ts +134 -0
- package/dist/src/github/types.js +11 -0
- package/dist/src/github/types.js.map +1 -0
- package/dist/src/goals/artifact-store.d.ts +31 -0
- package/dist/src/goals/artifact-store.js +241 -0
- package/dist/src/goals/artifact-store.js.map +1 -0
- package/dist/src/goals/authority.d.ts +112 -0
- package/dist/src/goals/authority.js +621 -0
- package/dist/src/goals/authority.js.map +1 -0
- package/dist/src/goals/native-snapshot.d.ts +12 -0
- package/dist/src/goals/native-snapshot.js +53 -0
- package/dist/src/goals/native-snapshot.js.map +1 -0
- package/dist/src/goals/runtime-authority.d.ts +7 -0
- package/dist/src/goals/runtime-authority.js +20 -0
- package/dist/src/goals/runtime-authority.js.map +1 -0
- package/dist/src/health/release-assessment.d.ts +11 -0
- package/dist/src/health/release-assessment.js +83 -0
- package/dist/src/health/release-assessment.js.map +1 -0
- package/dist/src/health/release-policy.d.ts +16 -0
- package/dist/src/health/release-policy.js +40 -0
- package/dist/src/health/release-policy.js.map +1 -0
- package/dist/src/hooks/native.d.ts +30 -0
- package/dist/src/hooks/native.js +495 -0
- package/dist/src/hooks/native.js.map +1 -0
- package/dist/src/hooks/provider-runtime.d.ts +55 -0
- package/dist/src/hooks/provider-runtime.js +479 -0
- package/dist/src/hooks/provider-runtime.js.map +1 -0
- package/dist/src/hooks/provider.d.ts +102 -0
- package/dist/src/hooks/provider.js +358 -0
- package/dist/src/hooks/provider.js.map +1 -0
- package/dist/src/live/contact-journal.d.ts +73 -0
- package/dist/src/live/contact-journal.js +439 -0
- package/dist/src/live/contact-journal.js.map +1 -0
- package/dist/src/live-probes/gh-adapter.d.ts +28 -0
- package/dist/src/live-probes/gh-adapter.js +188 -0
- package/dist/src/live-probes/gh-adapter.js.map +1 -0
- package/dist/src/live-probes/github-queue.d.ts +1 -0
- package/dist/src/live-probes/github-queue.js +2 -0
- package/dist/src/live-probes/github-queue.js.map +1 -0
- package/dist/src/notifications/slack-request.d.ts +13 -0
- package/dist/src/notifications/slack-request.js +40 -0
- package/dist/src/notifications/slack-request.js.map +1 -0
- package/dist/src/outbox/processor.d.ts +27 -0
- package/dist/src/outbox/processor.js +63 -0
- package/dist/src/outbox/processor.js.map +1 -0
- package/dist/src/outbox/store.d.ts +158 -0
- package/dist/src/outbox/store.js +834 -0
- package/dist/src/outbox/store.js.map +1 -0
- package/dist/src/package-root.d.ts +1 -0
- package/dist/src/package-root.js +26 -0
- package/dist/src/package-root.js.map +1 -0
- package/dist/src/project.d.ts +12 -0
- package/dist/src/project.js +60 -0
- package/dist/src/project.js.map +1 -0
- package/dist/src/projection/generated-file.d.ts +15 -0
- package/dist/src/projection/generated-file.js +72 -0
- package/dist/src/projection/generated-file.js.map +1 -0
- package/dist/src/projection/project-workspace.d.ts +11 -0
- package/dist/src/projection/project-workspace.js +94 -0
- package/dist/src/projection/project-workspace.js.map +1 -0
- package/dist/src/projection/registry.d.ts +15 -0
- package/dist/src/projection/registry.js +59 -0
- package/dist/src/projection/registry.js.map +1 -0
- package/dist/src/projection/safe-path.d.ts +4 -0
- package/dist/src/projection/safe-path.js +106 -0
- package/dist/src/projection/safe-path.js.map +1 -0
- package/dist/src/providers/claude-interactive.d.ts +38 -0
- package/dist/src/providers/claude-interactive.js +287 -0
- package/dist/src/providers/claude-interactive.js.map +1 -0
- package/dist/src/providers/claude-structured-bridge.d.ts +32 -0
- package/dist/src/providers/claude-structured-bridge.js +215 -0
- package/dist/src/providers/claude-structured-bridge.js.map +1 -0
- package/dist/src/providers/claude-structured-completion.d.ts +23 -0
- package/dist/src/providers/claude-structured-completion.js +229 -0
- package/dist/src/providers/claude-structured-completion.js.map +1 -0
- package/dist/src/providers/claude-structured-pane.d.ts +23 -0
- package/dist/src/providers/claude-structured-pane.js +156 -0
- package/dist/src/providers/claude-structured-pane.js.map +1 -0
- package/dist/src/providers/claude-structured-store.d.ts +48 -0
- package/dist/src/providers/claude-structured-store.js +212 -0
- package/dist/src/providers/claude-structured-store.js.map +1 -0
- package/dist/src/providers/claude-structured.d.ts +56 -0
- package/dist/src/providers/claude-structured.js +250 -0
- package/dist/src/providers/claude-structured.js.map +1 -0
- package/dist/src/providers/codex-exec.d.ts +29 -0
- package/dist/src/providers/codex-exec.js +127 -0
- package/dist/src/providers/codex-exec.js.map +1 -0
- package/dist/src/providers/grading.d.ts +2 -0
- package/dist/src/providers/grading.js +20 -0
- package/dist/src/providers/grading.js.map +1 -0
- package/dist/src/providers/native-dispatch.d.ts +24 -0
- package/dist/src/providers/native-dispatch.js +34 -0
- package/dist/src/providers/native-dispatch.js.map +1 -0
- package/dist/src/providers/preflight.d.ts +65 -0
- package/dist/src/providers/preflight.js +256 -0
- package/dist/src/providers/preflight.js.map +1 -0
- package/dist/src/providers/process.d.ts +18 -0
- package/dist/src/providers/process.js +21 -0
- package/dist/src/providers/process.js.map +1 -0
- package/dist/src/queue/model.d.ts +37 -0
- package/dist/src/queue/model.js +51 -0
- package/dist/src/queue/model.js.map +1 -0
- package/dist/src/queue/service.d.ts +1 -0
- package/dist/src/queue/service.js +2 -0
- package/dist/src/queue/service.js.map +1 -0
- package/dist/src/reflections/store.d.ts +21 -0
- package/dist/src/reflections/store.js +60 -0
- package/dist/src/reflections/store.js.map +1 -0
- package/dist/src/reports/daily-trust.d.ts +11 -0
- package/dist/src/reports/daily-trust.js +98 -0
- package/dist/src/reports/daily-trust.js.map +1 -0
- package/dist/src/runs/controller.d.ts +187 -0
- package/dist/src/runs/controller.js +1182 -0
- package/dist/src/runs/controller.js.map +1 -0
- package/dist/src/runtime/composition.d.ts +9 -0
- package/dist/src/runtime/composition.js +35 -0
- package/dist/src/runtime/composition.js.map +1 -0
- package/dist/src/runtime/endurance-authorities.d.ts +44 -0
- package/dist/src/runtime/endurance-authorities.js +101 -0
- package/dist/src/runtime/endurance-authorities.js.map +1 -0
- package/dist/src/runtime/endurance-policy.d.ts +12 -0
- package/dist/src/runtime/endurance-policy.js +13 -0
- package/dist/src/runtime/endurance-policy.js.map +1 -0
- package/dist/src/runtime/lock.d.ts +63 -0
- package/dist/src/runtime/lock.js +577 -0
- package/dist/src/runtime/lock.js.map +1 -0
- package/dist/src/runtime/process-identity.d.ts +10 -0
- package/dist/src/runtime/process-identity.js +43 -0
- package/dist/src/runtime/process-identity.js.map +1 -0
- package/dist/src/runtime/quota.d.ts +130 -0
- package/dist/src/runtime/quota.js +590 -0
- package/dist/src/runtime/quota.js.map +1 -0
- package/dist/src/runtime/record-store.d.ts +45 -0
- package/dist/src/runtime/record-store.js +272 -0
- package/dist/src/runtime/record-store.js.map +1 -0
- package/dist/src/runtime/schema.d.ts +28 -0
- package/dist/src/runtime/schema.js +194 -0
- package/dist/src/runtime/schema.js.map +1 -0
- package/dist/src/runtime/stable-id.d.ts +3 -0
- package/dist/src/runtime/stable-id.js +27 -0
- package/dist/src/runtime/stable-id.js.map +1 -0
- package/dist/src/runtime/system-clock.d.ts +8 -0
- package/dist/src/runtime/system-clock.js +35 -0
- package/dist/src/runtime/system-clock.js.map +1 -0
- package/dist/src/schedule/service-plan.d.ts +58 -0
- package/dist/src/schedule/service-plan.js +327 -0
- package/dist/src/schedule/service-plan.js.map +1 -0
- package/dist/src/schedule/user-installation.d.ts +62 -0
- package/dist/src/schedule/user-installation.js +701 -0
- package/dist/src/schedule/user-installation.js.map +1 -0
- package/dist/src/schedule/user-plan.d.ts +47 -0
- package/dist/src/schedule/user-plan.js +286 -0
- package/dist/src/schedule/user-plan.js.map +1 -0
- package/dist/src/scheduler/minute.d.ts +31 -0
- package/dist/src/scheduler/minute.js +441 -0
- package/dist/src/scheduler/minute.js.map +1 -0
- package/dist/src/schemas/registry.d.ts +10 -0
- package/dist/src/schemas/registry.js +36 -0
- package/dist/src/schemas/registry.js.map +1 -0
- package/dist/src/security/secret-scan.d.ts +50 -0
- package/dist/src/security/secret-scan.js +384 -0
- package/dist/src/security/secret-scan.js.map +1 -0
- package/dist/src/sessions/registry.d.ts +89 -0
- package/dist/src/sessions/registry.js +443 -0
- package/dist/src/sessions/registry.js.map +1 -0
- package/dist/src/state.d.ts +27 -0
- package/dist/src/state.js +235 -0
- package/dist/src/state.js.map +1 -0
- package/dist/src/status/hud.d.ts +37 -0
- package/dist/src/status/hud.js +88 -0
- package/dist/src/status/hud.js.map +1 -0
- package/dist/src/team/plan.d.ts +31 -0
- package/dist/src/team/plan.js +184 -0
- package/dist/src/team/plan.js.map +1 -0
- package/dist/src/team/projection.d.ts +24 -0
- package/dist/src/team/projection.js +79 -0
- package/dist/src/team/projection.js.map +1 -0
- package/dist/src/tickets/admission.d.ts +34 -0
- package/dist/src/tickets/admission.js +169 -0
- package/dist/src/tickets/admission.js.map +1 -0
- package/dist/src/tickets/materializer.d.ts +1 -0
- package/dist/src/tickets/materializer.js +2 -0
- package/dist/src/tickets/materializer.js.map +1 -0
- package/dist/src/tickets/runtime-authority.d.ts +32 -0
- package/dist/src/tickets/runtime-authority.js +46 -0
- package/dist/src/tickets/runtime-authority.js.map +1 -0
- package/dist/src/tickets/store.d.ts +221 -0
- package/dist/src/tickets/store.js +2025 -0
- package/dist/src/tickets/store.js.map +1 -0
- package/dist/src/tracer/one-ticket.d.ts +58 -0
- package/dist/src/tracer/one-ticket.js +578 -0
- package/dist/src/tracer/one-ticket.js.map +1 -0
- package/dist/src/trust/assessment.d.ts +24 -0
- package/dist/src/trust/assessment.js +124 -0
- package/dist/src/trust/assessment.js.map +1 -0
- package/dist/src/trust/runs.d.ts +13 -0
- package/dist/src/trust/runs.js +46 -0
- package/dist/src/trust/runs.js.map +1 -0
- package/dist/src/types.d.ts +6 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/utils/fs.d.ts +13 -0
- package/dist/src/utils/fs.js +188 -0
- package/dist/src/utils/fs.js.map +1 -0
- package/dist/src/verification/authority.d.ts +28 -0
- package/dist/src/verification/authority.js +153 -0
- package/dist/src/verification/authority.js.map +1 -0
- package/dist/src/verification/grade-source.d.ts +17 -0
- package/dist/src/verification/grade-source.js +30 -0
- package/dist/src/verification/grade-source.js.map +1 -0
- package/dist/src/verification/plan.d.ts +20 -0
- package/dist/src/verification/plan.js +128 -0
- package/dist/src/verification/plan.js.map +1 -0
- package/dist/src/verification/protected-runner.d.ts +50 -0
- package/dist/src/verification/protected-runner.js +171 -0
- package/dist/src/verification/protected-runner.js.map +1 -0
- package/dist/src/verification/result-gate-store.d.ts +72 -0
- package/dist/src/verification/result-gate-store.js +193 -0
- package/dist/src/verification/result-gate-store.js.map +1 -0
- package/dist/src/verification/result-gate.d.ts +41 -0
- package/dist/src/verification/result-gate.js +731 -0
- package/dist/src/verification/result-gate.js.map +1 -0
- package/dist/src/verification/runner.d.ts +38 -0
- package/dist/src/verification/runner.js +143 -0
- package/dist/src/verification/runner.js.map +1 -0
- package/dist/src/verification/sandbox.d.ts +16 -0
- package/dist/src/verification/sandbox.js +199 -0
- package/dist/src/verification/sandbox.js.map +1 -0
- package/dist/src/verify.d.ts +8 -0
- package/dist/src/verify.js +35 -0
- package/dist/src/verify.js.map +1 -0
- package/dist/src/watchdog/reconcile.d.ts +42 -0
- package/dist/src/watchdog/reconcile.js +440 -0
- package/dist/src/watchdog/reconcile.js.map +1 -0
- package/dist/src/workers/bridge.d.ts +35 -0
- package/dist/src/workers/bridge.js +426 -0
- package/dist/src/workers/bridge.js.map +1 -0
- package/dist/src/workers/delivery.d.ts +31 -0
- package/dist/src/workers/delivery.js +876 -0
- package/dist/src/workers/delivery.js.map +1 -0
- package/dist/src/workers/panes.d.ts +32 -0
- package/dist/src/workers/panes.js +212 -0
- package/dist/src/workers/panes.js.map +1 -0
- package/dist/src/workers/registry.d.ts +80 -0
- package/dist/src/workers/registry.js +351 -0
- package/dist/src/workers/registry.js.map +1 -0
- package/dist/src/workers/runtime.d.ts +44 -0
- package/dist/src/workers/runtime.js +21 -0
- package/dist/src/workers/runtime.js.map +1 -0
- package/dist/src/worktrees/manager.d.ts +35 -0
- package/dist/src/worktrees/manager.js +315 -0
- package/dist/src/worktrees/manager.js.map +1 -0
- package/docs/ARCHITECTURE.md +323 -0
- package/docs/PLAN.md +216 -0
- package/docs/REFERENCES.md +42 -0
- package/docs/ROADMAP.md +327 -0
- package/docs/SECURITY.md +242 -0
- package/docs/adr/0001-tracer-first-file-backed-certification.md +41 -0
- package/docs/adr/0002-conductor-first-typed-dispatch.md +102 -0
- package/docs/adr/0003-mandatory-pre-dispatch-advice.md +59 -0
- package/docs/compatibility/claude-code-2.1.207.md +25 -0
- package/loop/contract.md +102 -0
- package/package.json +54 -0
- package/schemas/advisor-evidence.schema.json +54 -0
- package/schemas/advisor-output.schema.json +31 -0
- package/schemas/conductor-activity-payload.schema.json +38 -0
- package/schemas/conductor-decision.schema.json +29 -0
- package/schemas/conductor-dispatch-intent.schema.json +71 -0
- package/schemas/conductor-dispatch-preparation.schema.json +46 -0
- package/schemas/conductor-dispatch-proposal.schema.json +82 -0
- package/schemas/conductor-goal-proposal.schema.json +30 -0
- package/schemas/conductor-manage-worker.schema.json +17 -0
- package/schemas/conductor-notification-payload.schema.json +39 -0
- package/schemas/conductor-process-result.schema.json +14 -0
- package/schemas/conductor-route.schema.json +51 -0
- package/schemas/conductor-start-team.schema.json +16 -0
- package/schemas/conductor-waiter-payload.schema.json +68 -0
- package/schemas/deterministic-check.schema.json +107 -0
- package/schemas/dispatch-acknowledgement.schema.json +15 -0
- package/schemas/dispatch-advice-payload.schema.json +64 -0
- package/schemas/dispatch-payload.schema.json +131 -0
- package/schemas/dispatch-result.schema.json +28 -0
- package/schemas/endurance-policy.schema.json +16 -0
- package/schemas/events/dispatch-delivery-requested.schema.json +17 -0
- package/schemas/events/github-observed.schema.json +28 -0
- package/schemas/events/native-hook-observed.schema.json +35 -0
- package/schemas/events/provider-observed.schema.json +64 -0
- package/schemas/events/run-heartbeat-due.schema.json +10 -0
- package/schemas/events/slack-notification-requested.schema.json +14 -0
- package/schemas/events/structured-role-completed.schema.json +54 -0
- package/schemas/events/ticket-resume-due.schema.json +28 -0
- package/schemas/events/watchdog-lease-expired.schema.json +14 -0
- package/schemas/events/watchdog-outbox-stalled.schema.json +12 -0
- package/schemas/events/watchdog-session-stalled.schema.json +11 -0
- package/schemas/evidence-record.schema.json +37 -0
- package/schemas/executor-result.schema.json +17 -0
- package/schemas/github-observation.schema.json +33 -0
- package/schemas/github-watermark.schema.json +66 -0
- package/schemas/goal-artifact.schema.json +19 -0
- package/schemas/goal-create-input.schema.json +14 -0
- package/schemas/goal-executor-result.schema.json +18 -0
- package/schemas/goal-payload.schema.json +95 -0
- package/schemas/grader-output.schema.json +33 -0
- package/schemas/lease-expiry.schema.json +19 -0
- package/schemas/live-disclosure.schema.json +16 -0
- package/schemas/live-outcome.schema.json +52 -0
- package/schemas/native-goal-snapshot.schema.json +27 -0
- package/schemas/provider-observed.schema.json +64 -0
- package/schemas/quota-observation.schema.json +72 -0
- package/schemas/reflection-evidence.schema.json +61 -0
- package/schemas/reflection.schema.json +13 -0
- package/schemas/regression-request.schema.json +54 -0
- package/schemas/release-assessment.schema.json +34 -0
- package/schemas/release-policy.schema.json +30 -0
- package/schemas/result-gate-payload.schema.json +244 -0
- package/schemas/review-delivery-payload.schema.json +42 -0
- package/schemas/role-policy.schema.json +111 -0
- package/schemas/run-abort-input.schema.json +11 -0
- package/schemas/run-completion-proof.schema.json +62 -0
- package/schemas/run-ledger-entry.schema.json +78 -0
- package/schemas/run-manifest.schema.json +74 -0
- package/schemas/run-start-intent.schema.json +74 -0
- package/schemas/runtime-record.schema.json +111 -0
- package/schemas/service-plan.schema.json +35 -0
- package/schemas/session-payload.schema.json +80 -0
- package/schemas/structured-role-read-request.schema.json +14 -0
- package/schemas/structured-role-request.schema.json +44 -0
- package/schemas/structured-role-result.schema.json +38 -0
- package/schemas/structured-role-submit-result.schema.json +15 -0
- package/schemas/team-checkpoint.schema.json +42 -0
- package/schemas/team-plan.schema.json +30 -0
- package/schemas/ticket-content.schema.json +38 -0
- package/schemas/ticket-queue-payload.schema.json +191 -0
- package/schemas/trust-report.schema.json +68 -0
- package/schemas/trust-run.schema.json +47 -0
- package/schemas/ultragoal-checkpoint.schema.json +49 -0
- package/schemas/user-schedule-installation-v1.schema.json +32 -0
- package/schemas/user-schedule-installation.schema.json +38 -0
- package/schemas/user-schedule-plan.schema.json +39 -0
- package/schemas/verification-plan-evidence.schema.json +37 -0
- package/schemas/worker-acknowledge-dispatch.schema.json +12 -0
- package/schemas/worker-payload.schema.json +47 -0
- package/schemas/worker-read-dispatch.schema.json +11 -0
- package/schemas/worker-record-dispatch-result.schema.json +14 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": [
|
|
5
|
+
"schema_version",
|
|
6
|
+
"certification",
|
|
7
|
+
"policy_version",
|
|
8
|
+
"policy_digest",
|
|
9
|
+
"plan_digest",
|
|
10
|
+
"attempt",
|
|
11
|
+
"lease_token",
|
|
12
|
+
"passed",
|
|
13
|
+
"failed_step",
|
|
14
|
+
"steps"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schema_version": { "const": 1 },
|
|
18
|
+
"certification": { "type": "string", "enum": ["live", "non-certifying"] },
|
|
19
|
+
"policy_version": { "type": "integer", "minimum": 1 },
|
|
20
|
+
"policy_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
21
|
+
"plan_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
22
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
23
|
+
"lease_token": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
24
|
+
"binding": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": [
|
|
28
|
+
"goal_id", "goal_version", "dispatch_id", "dispatch_version", "ticket_id", "attempt",
|
|
29
|
+
"lease_token", "session_id", "worker_record_id", "worker_id", "worktree_id",
|
|
30
|
+
"worktree_root", "worktree_branch", "worktree_base_commit", "expected_commit",
|
|
31
|
+
"executor_role", "executor_engine", "executor_evidence"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"goal_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
35
|
+
"goal_version": { "type": "integer", "minimum": 0 },
|
|
36
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
37
|
+
"dispatch_version": { "type": "integer", "minimum": 0 },
|
|
38
|
+
"ticket_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
39
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
40
|
+
"lease_token": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
41
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
42
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
43
|
+
"worker_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
44
|
+
"worktree_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
45
|
+
"worktree_root": { "type": "string", "pattern": "^/", "maxLength": 4096 },
|
|
46
|
+
"worktree_branch": { "type": "string", "minLength": 1, "maxLength": 255 },
|
|
47
|
+
"worktree_base_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
48
|
+
"expected_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
49
|
+
"executor_role": { "enum": ["oms.ticket-executor", "oms.goal-long-executor"] },
|
|
50
|
+
"executor_engine": { "enum": ["claude", "codex"] },
|
|
51
|
+
"executor_evidence": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
57
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
58
|
+
"file_name": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9.-]{0,132}[a-z0-9])?\\.json$" }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"preflight": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": ["worktree_root", "worktree_branch", "head_commit", "clean"],
|
|
67
|
+
"properties": {
|
|
68
|
+
"worktree_root": { "type": "string", "pattern": "^/", "maxLength": 4096 },
|
|
69
|
+
"worktree_branch": { "type": "string", "minLength": 1, "maxLength": 255 },
|
|
70
|
+
"head_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
71
|
+
"clean": { "const": true }
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"postflight": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"required": ["worktree_root", "worktree_branch", "head_commit", "clean"],
|
|
78
|
+
"properties": {
|
|
79
|
+
"worktree_root": { "type": "string", "pattern": "^/", "maxLength": 4096 },
|
|
80
|
+
"worktree_branch": { "type": "string", "minLength": 1, "maxLength": 255 },
|
|
81
|
+
"head_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
82
|
+
"clean": { "const": true }
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"passed": { "type": "boolean" },
|
|
86
|
+
"failed_step": { "type": ["string", "null"], "maxLength": 64 },
|
|
87
|
+
"steps": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"minItems": 1,
|
|
90
|
+
"maxItems": 16,
|
|
91
|
+
"items": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"required": ["id", "status", "signal", "passed", "stdout", "stderr", "error"],
|
|
95
|
+
"properties": {
|
|
96
|
+
"id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
97
|
+
"status": { "type": ["integer", "null"] },
|
|
98
|
+
"signal": { "type": ["string", "null"], "maxLength": 32 },
|
|
99
|
+
"passed": { "type": "boolean" },
|
|
100
|
+
"stdout": { "type": "string", "maxLength": 1048576 },
|
|
101
|
+
"stderr": { "type": "string", "maxLength": 1048576 },
|
|
102
|
+
"error": { "type": ["string", "null"], "maxLength": 1048576 }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/dispatch-acknowledgement.schema.json",
|
|
4
|
+
"title": "OMS dispatch acknowledgement",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["dispatch_id", "worker_record_id", "session_id", "operation_nonce", "acknowledged_at"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
10
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
11
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
12
|
+
"operation_nonce": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
13
|
+
"acknowledged_at": { "type": "string", "minLength": 20, "maxLength": 24 }
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/dispatch-advice-payload.schema.json",
|
|
4
|
+
"title": "OMS durable pre-dispatch advice payload",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"advice_id",
|
|
9
|
+
"request_id",
|
|
10
|
+
"expected_evidence_id",
|
|
11
|
+
"dispatch_intent_sha256",
|
|
12
|
+
"canonical_intent",
|
|
13
|
+
"created_at",
|
|
14
|
+
"updated_at",
|
|
15
|
+
"contact_reference",
|
|
16
|
+
"contact_owner_process",
|
|
17
|
+
"provider_started_at",
|
|
18
|
+
"advisor_evidence",
|
|
19
|
+
"verdict",
|
|
20
|
+
"blocked_reason"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"advice_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
24
|
+
"request_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
25
|
+
"expected_evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
26
|
+
"dispatch_intent_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
27
|
+
"canonical_intent": { "type": "object" },
|
|
28
|
+
"created_at": { "type": "string", "minLength": 20, "maxLength": 24 },
|
|
29
|
+
"updated_at": { "type": "string", "minLength": 20, "maxLength": 24 },
|
|
30
|
+
"contact_reference": {
|
|
31
|
+
"type": ["object", "null"],
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"required": ["contact_id", "sha256", "file_name"],
|
|
34
|
+
"properties": {
|
|
35
|
+
"contact_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
36
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
37
|
+
"file_name": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9.-]{0,132}[a-z0-9])?\\.json$" }
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"contact_owner_process": {
|
|
41
|
+
"type": ["object", "null"],
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"required": ["process_id", "boot_id", "start_ticks"],
|
|
44
|
+
"properties": {
|
|
45
|
+
"process_id": { "type": "integer", "minimum": 1 },
|
|
46
|
+
"boot_id": { "type": "string", "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" },
|
|
47
|
+
"start_ticks": { "type": "string", "pattern": "^[1-9][0-9]*$" }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"provider_started_at": { "type": ["string", "null"], "minLength": 20, "maxLength": 24 },
|
|
51
|
+
"advisor_evidence": {
|
|
52
|
+
"type": ["object", "null"],
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
57
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
58
|
+
"file_name": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9.-]{0,132}[a-z0-9])?\\.json$" }
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"verdict": { "enum": [null, "approve", "revise", "veto"] },
|
|
62
|
+
"blocked_reason": { "type": ["string", "null"], "minLength": 1, "maxLength": 4096 }
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/dispatch-payload.schema.json",
|
|
4
|
+
"title": "OMS canonical dispatch payload",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"dispatch_id", "goal_id", "goal_version", "ticket_id", "ticket_version", "lease_token", "attempt",
|
|
9
|
+
"worker_record_id", "worker_id", "session_id", "role_id", "model_id", "engine", "provider_mode",
|
|
10
|
+
"worktree_id", "worktree_path", "worktree_branch", "worktree_base_commit",
|
|
11
|
+
"prior_failure_evidence", "prior_reflection_evidence", "capabilities",
|
|
12
|
+
"budget_snapshot", "acceptance_criteria", "evidence_requirements", "task_body", "operation_nonce",
|
|
13
|
+
"policy_version", "policy_digest", "created_at", "updated_at", "delivery_event_id", "accepted_at",
|
|
14
|
+
"acknowledgement", "result", "executor_evidence", "resolution", "resolved_at"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
18
|
+
"goal_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
19
|
+
"goal_version": { "type": "integer", "minimum": 0 },
|
|
20
|
+
"ticket_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
21
|
+
"ticket_version": { "type": "integer", "minimum": 0 },
|
|
22
|
+
"lease_token": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
23
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
24
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
25
|
+
"worker_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
26
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
27
|
+
"role_id": { "enum": ["oms.ticket-executor", "oms.goal-long-executor"] },
|
|
28
|
+
"model_id": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$" },
|
|
29
|
+
"engine": { "enum": ["claude", "codex"] },
|
|
30
|
+
"provider_mode": { "enum": ["claude_interactive", "codex_goal"] },
|
|
31
|
+
"worktree_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
32
|
+
"worktree_path": { "type": "string", "pattern": "^/", "maxLength": 4096 },
|
|
33
|
+
"worktree_branch": { "type": "string", "minLength": 1, "maxLength": 255 },
|
|
34
|
+
"worktree_base_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
35
|
+
"worktree_start_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
36
|
+
"prior_failure_evidence": {
|
|
37
|
+
"type": ["object", "null"], "additionalProperties": false,
|
|
38
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
39
|
+
"properties": {
|
|
40
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
41
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
42
|
+
"file_name": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9.-]{0,132}[a-z0-9])?\\.json$" }
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"prior_reflection_evidence": {
|
|
46
|
+
"type": ["object", "null"], "additionalProperties": false,
|
|
47
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
48
|
+
"properties": {
|
|
49
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
50
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
51
|
+
"file_name": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9.-]{0,132}[a-z0-9])?\\.json$" }
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"capabilities": {
|
|
55
|
+
"type": "array", "minItems": 2, "maxItems": 2,
|
|
56
|
+
"items": { "enum": ["repository-read", "ticket-worktree-write"] }
|
|
57
|
+
},
|
|
58
|
+
"budget_snapshot": {
|
|
59
|
+
"type": "object", "additionalProperties": false,
|
|
60
|
+
"required": ["profile", "remaining_attempts", "policy_digest"],
|
|
61
|
+
"properties": {
|
|
62
|
+
"profile": { "const": "subscription-only" },
|
|
63
|
+
"remaining_attempts": { "type": "integer", "minimum": 1 },
|
|
64
|
+
"policy_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"acceptance_criteria": { "type": "array", "minItems": 1, "maxItems": 32, "items": { "type": "string", "minLength": 1, "maxLength": 4096 } },
|
|
68
|
+
"evidence_requirements": { "type": "array", "minItems": 1, "maxItems": 32, "items": { "type": "string", "minLength": 1, "maxLength": 4096 } },
|
|
69
|
+
"task_body": { "type": "string", "minLength": 1, "maxLength": 32768 },
|
|
70
|
+
"operation_nonce": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
71
|
+
"dispatch_intent_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
72
|
+
"advisor_evidence": {
|
|
73
|
+
"type": "object", "additionalProperties": false,
|
|
74
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
75
|
+
"properties": {
|
|
76
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
77
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
78
|
+
"file_name": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9.-]{0,132}[a-z0-9])?\\.json$" }
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"policy_version": { "const": 2 },
|
|
82
|
+
"policy_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
83
|
+
"created_at": { "type": "string", "minLength": 20, "maxLength": 24 },
|
|
84
|
+
"updated_at": { "type": "string", "minLength": 20, "maxLength": 24 },
|
|
85
|
+
"delivery_event_id": { "type": ["string", "null"], "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
86
|
+
"accepted_at": { "type": ["string", "null"], "minLength": 20, "maxLength": 24 },
|
|
87
|
+
"acknowledgement": {
|
|
88
|
+
"type": ["object", "null"], "additionalProperties": false,
|
|
89
|
+
"required": ["dispatch_id", "worker_record_id", "session_id", "operation_nonce", "acknowledged_at"],
|
|
90
|
+
"properties": {
|
|
91
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
92
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
93
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
94
|
+
"operation_nonce": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
95
|
+
"acknowledged_at": { "type": "string", "minLength": 20, "maxLength": 24 }
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"result": {
|
|
99
|
+
"type": ["object", "null"], "additionalProperties": false,
|
|
100
|
+
"required": ["dispatch_id", "goal_id", "goal_version", "worker_record_id", "session_id", "ticket_id", "attempt", "lease_token", "worktree_id", "worktree_path", "worktree_commit", "status", "summary", "operation_nonce", "reported_at"],
|
|
101
|
+
"properties": {
|
|
102
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
103
|
+
"goal_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
104
|
+
"goal_version": { "type": "integer", "minimum": 0 },
|
|
105
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
106
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
107
|
+
"ticket_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
108
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
109
|
+
"lease_token": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
110
|
+
"worktree_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
111
|
+
"worktree_path": { "type": "string", "pattern": "^/", "maxLength": 4096 },
|
|
112
|
+
"worktree_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
113
|
+
"status": { "enum": ["done", "blocked"] },
|
|
114
|
+
"summary": { "type": "string", "minLength": 1, "maxLength": 8192 },
|
|
115
|
+
"operation_nonce": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
116
|
+
"reported_at": { "type": "string", "minLength": 20, "maxLength": 24 }
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"executor_evidence": {
|
|
120
|
+
"type": ["object", "null"], "additionalProperties": false,
|
|
121
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
122
|
+
"properties": {
|
|
123
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
124
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
125
|
+
"file_name": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9.-]{0,132}[a-z0-9])?\\.json$" }
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"resolution": { "enum": [null, "done", "blocked"] },
|
|
129
|
+
"resolved_at": { "type": ["string", "null"], "minLength": 20, "maxLength": 24 }
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/dispatch-result.schema.json",
|
|
4
|
+
"title": "OMS dispatch result receipt",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"dispatch_id", "goal_id", "goal_version", "worker_record_id", "session_id", "ticket_id", "attempt", "lease_token",
|
|
9
|
+
"worktree_id", "worktree_path", "worktree_commit", "status", "summary", "operation_nonce", "reported_at"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
13
|
+
"goal_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
14
|
+
"goal_version": { "type": "integer", "minimum": 0 },
|
|
15
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
16
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
17
|
+
"ticket_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
18
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
19
|
+
"lease_token": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
20
|
+
"worktree_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
21
|
+
"worktree_path": { "type": "string", "pattern": "^/", "maxLength": 4096 },
|
|
22
|
+
"worktree_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" },
|
|
23
|
+
"status": { "enum": ["done", "blocked"] },
|
|
24
|
+
"summary": { "type": "string", "minLength": 1, "maxLength": 8192 },
|
|
25
|
+
"operation_nonce": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
26
|
+
"reported_at": { "type": "string", "minLength": 20, "maxLength": 24 }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/endurance-policy.schema.json",
|
|
4
|
+
"title": "OMS endurance reconciliation policy",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["version", "quota_fresh_seconds", "session_stall_seconds", "outbox_stall_seconds", "minute_reconcile_seconds", "watchdog_seconds"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"version": { "const": 1 },
|
|
10
|
+
"quota_fresh_seconds": { "const": 300 },
|
|
11
|
+
"session_stall_seconds": { "const": 900 },
|
|
12
|
+
"outbox_stall_seconds": { "const": 900 },
|
|
13
|
+
"minute_reconcile_seconds": { "const": 60 },
|
|
14
|
+
"watchdog_seconds": { "const": 900 }
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/events/dispatch-delivery-requested.schema.json",
|
|
4
|
+
"title": "OMS dispatch delivery requested event",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["dispatch_id", "dispatch_version", "worker_record_id", "ticket_id", "attempt", "lease_token", "requested_at"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
10
|
+
"dispatch_version": { "const": 1 },
|
|
11
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
12
|
+
"ticket_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
13
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
14
|
+
"lease_token": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
15
|
+
"requested_at": { "type": "string", "minLength": 20, "maxLength": 24 }
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": [
|
|
5
|
+
"observation_key",
|
|
6
|
+
"observation_kind",
|
|
7
|
+
"repository",
|
|
8
|
+
"source_id_sha256",
|
|
9
|
+
"source_version_sha256",
|
|
10
|
+
"change",
|
|
11
|
+
"presence_generation",
|
|
12
|
+
"observed_at",
|
|
13
|
+
"payload_sha256",
|
|
14
|
+
"snapshot_file"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"observation_key": { "type": "string", "pattern": "^github-obs-[a-f0-9]{48}$" },
|
|
18
|
+
"observation_kind": { "enum": ["issue", "comment", "label", "branch", "pull_request", "review", "check"] },
|
|
19
|
+
"repository": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]{0,38}/[a-z0-9._-]{1,100}$" },
|
|
20
|
+
"source_id_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
21
|
+
"source_version_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
22
|
+
"change": { "type": "string", "enum": ["present", "removed"] },
|
|
23
|
+
"presence_generation": { "type": "integer", "minimum": 0 },
|
|
24
|
+
"observed_at": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$" },
|
|
25
|
+
"payload_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
26
|
+
"snapshot_file": { "type": "string", "pattern": "^[a-f0-9]{64}\\.json$" }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": ["delivery_id", "hook_kind", "session_id", "session_version", "role_id", "engine", "mode", "run_id", "ticket_id", "native_session_ref", "tmux_pane_id", "observed_at", "heartbeat_deadline_at", "quota_valid_until", "quota_resume_at", "source_sha256", "ticket_authority"],
|
|
5
|
+
"properties": {
|
|
6
|
+
"delivery_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
7
|
+
"hook_kind": { "type": "string", "enum": ["session-started", "session-heartbeat", "session-stopped", "quota-exhausted", "quota-available"] },
|
|
8
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
9
|
+
"session_version": { "type": "integer", "minimum": 0 },
|
|
10
|
+
"role_id": { "type": "string", "minLength": 3, "maxLength": 63 },
|
|
11
|
+
"engine": { "type": "string", "enum": ["claude", "codex"] },
|
|
12
|
+
"mode": { "type": "string", "enum": ["pane", "goal", "exec"] },
|
|
13
|
+
"run_id": { "type": ["string", "null"], "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
14
|
+
"ticket_id": { "type": ["string", "null"], "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
15
|
+
"native_session_ref": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
16
|
+
"tmux_pane_id": { "type": ["string", "null"], "pattern": "^%[0-9]{1,10}$" },
|
|
17
|
+
"observed_at": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$" },
|
|
18
|
+
"heartbeat_deadline_at": { "type": ["string", "null"], "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$" },
|
|
19
|
+
"quota_valid_until": { "type": ["string", "null"], "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$" },
|
|
20
|
+
"quota_resume_at": { "type": ["string", "null"], "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$" },
|
|
21
|
+
"source_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
22
|
+
"ticket_authority": {
|
|
23
|
+
"type": ["object", "null"],
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": ["ticket_id", "ticket_version", "ticket_attempt", "ticket_actor", "lease_token"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"ticket_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
28
|
+
"ticket_version": { "type": "integer", "minimum": 0 },
|
|
29
|
+
"ticket_attempt": { "type": "integer", "minimum": 1 },
|
|
30
|
+
"ticket_actor": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
31
|
+
"lease_token": { "type": "string", "pattern": "^lease-[a-f0-9]{48}$" }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/events/provider-observed.schema.json",
|
|
4
|
+
"title": "OMS bounded provider observation event",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"observation_id",
|
|
10
|
+
"delivery_id",
|
|
11
|
+
"occurrence_id",
|
|
12
|
+
"provider",
|
|
13
|
+
"provider_version",
|
|
14
|
+
"hook_event",
|
|
15
|
+
"observation_kind",
|
|
16
|
+
"observation_state",
|
|
17
|
+
"dispatch_id",
|
|
18
|
+
"dispatch_version",
|
|
19
|
+
"session_id",
|
|
20
|
+
"session_version",
|
|
21
|
+
"worker_record_id",
|
|
22
|
+
"worker_version",
|
|
23
|
+
"ticket_id",
|
|
24
|
+
"ticket_version",
|
|
25
|
+
"ticket_attempt",
|
|
26
|
+
"observed_at",
|
|
27
|
+
"native_session_sha256",
|
|
28
|
+
"source_sha256",
|
|
29
|
+
"terminal_authority"
|
|
30
|
+
],
|
|
31
|
+
"properties": {
|
|
32
|
+
"schema_version": { "const": 1 },
|
|
33
|
+
"observation_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
34
|
+
"delivery_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
35
|
+
"occurrence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
36
|
+
"provider": { "type": "string", "enum": ["claude", "codex"] },
|
|
37
|
+
"provider_version": { "type": "string", "enum": ["2.1.207", "0.145.0-alpha.2"] },
|
|
38
|
+
"hook_event": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": ["SessionStart", "UserPromptSubmit", "Stop", "StopFailure", "Notification", "SessionEnd"]
|
|
41
|
+
},
|
|
42
|
+
"observation_kind": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": ["session", "activity", "health", "completion-observed", "quota"]
|
|
45
|
+
},
|
|
46
|
+
"observation_state": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"enum": ["started", "stopped", "idle", "working", "healthy", "parked", "stalled", "observed", "limited", "available"]
|
|
49
|
+
},
|
|
50
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
51
|
+
"dispatch_version": { "type": "integer", "minimum": 0 },
|
|
52
|
+
"session_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
53
|
+
"session_version": { "type": "integer", "minimum": 0 },
|
|
54
|
+
"worker_record_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
55
|
+
"worker_version": { "type": "integer", "minimum": 0 },
|
|
56
|
+
"ticket_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
57
|
+
"ticket_version": { "type": "integer", "minimum": 0 },
|
|
58
|
+
"ticket_attempt": { "type": "integer", "minimum": 1 },
|
|
59
|
+
"observed_at": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$" },
|
|
60
|
+
"native_session_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
61
|
+
"source_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
62
|
+
"terminal_authority": { "const": false }
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": ["run_id", "expected_head_sha256", "emitted_at"],
|
|
5
|
+
"properties": {
|
|
6
|
+
"run_id": { "type": "string", "pattern": "^run-[a-f0-9]{48}$" },
|
|
7
|
+
"expected_head_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
8
|
+
"emitted_at": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$" }
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": ["subject_kind", "subject_id", "source_version", "template_id", "severity", "artifact_ref", "channel_ref"],
|
|
5
|
+
"properties": {
|
|
6
|
+
"subject_kind": { "type": "string", "enum": ["run", "ticket", "session", "report"] },
|
|
7
|
+
"subject_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
8
|
+
"source_version": { "type": "integer", "minimum": 0 },
|
|
9
|
+
"template_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
10
|
+
"severity": { "type": "string", "enum": ["info", "warning", "error"] },
|
|
11
|
+
"artifact_ref": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
12
|
+
"channel_ref": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/events/structured-role-completed.schema.json",
|
|
4
|
+
"title": "OMS structured Claude role completion event",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"request_id",
|
|
10
|
+
"role_id",
|
|
11
|
+
"result_gate_id",
|
|
12
|
+
"dispatch_id",
|
|
13
|
+
"ticket_id",
|
|
14
|
+
"claude_session_id",
|
|
15
|
+
"submitted_at",
|
|
16
|
+
"result_sha256",
|
|
17
|
+
"terminal_authority"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schema_version": { "const": 1 },
|
|
21
|
+
"request_id": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
24
|
+
},
|
|
25
|
+
"role_id": {
|
|
26
|
+
"enum": ["oms.grader.claude", "oms.bounded-dreamer"]
|
|
27
|
+
},
|
|
28
|
+
"result_gate_id": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
31
|
+
},
|
|
32
|
+
"dispatch_id": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
35
|
+
},
|
|
36
|
+
"ticket_id": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
39
|
+
},
|
|
40
|
+
"claude_session_id": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-8][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
|
|
43
|
+
},
|
|
44
|
+
"submitted_at": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"
|
|
47
|
+
},
|
|
48
|
+
"result_sha256": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
51
|
+
},
|
|
52
|
+
"terminal_authority": { "const": false }
|
|
53
|
+
}
|
|
54
|
+
}
|