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,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/team-checkpoint.schema.json",
|
|
4
|
+
"title": "Read-only OMS executor-group checkpoint",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "goal_id", "test_sha256", "delivery_wave"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "const": 1 },
|
|
10
|
+
"goal_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
11
|
+
"test_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
12
|
+
"delivery_wave": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["wave_id", "kind", "completed_at", "workers"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"wave_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
18
|
+
"kind": { "const": "delivery" },
|
|
19
|
+
"completed_at": { "type": "string", "minLength": 20, "maxLength": 24 },
|
|
20
|
+
"workers": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"minItems": 1,
|
|
23
|
+
"maxItems": 20,
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": ["worker_id", "role", "status", "terminal", "worktree_id", "test_sha256", "evidence_sha256"],
|
|
28
|
+
"properties": {
|
|
29
|
+
"worker_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
30
|
+
"role": { "const": "delivery" },
|
|
31
|
+
"status": { "const": "completed" },
|
|
32
|
+
"terminal": { "const": true },
|
|
33
|
+
"worktree_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
34
|
+
"test_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
35
|
+
"evidence_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/team-plan.schema.json",
|
|
4
|
+
"title": "OMS executor group manifest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"manifest_id",
|
|
10
|
+
"manifest_kind",
|
|
11
|
+
"goal_id",
|
|
12
|
+
"goal_version",
|
|
13
|
+
"dispatch_ids",
|
|
14
|
+
"manifest_path"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schema_version": { "const": 1 },
|
|
18
|
+
"manifest_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
19
|
+
"manifest_kind": { "const": "executor-group" },
|
|
20
|
+
"goal_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
21
|
+
"goal_version": { "type": "integer", "minimum": 0 },
|
|
22
|
+
"dispatch_ids": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"minItems": 1,
|
|
25
|
+
"maxItems": 20,
|
|
26
|
+
"items": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" }
|
|
27
|
+
},
|
|
28
|
+
"manifest_path": { "type": "string", "pattern": "^/", "maxLength": 4096 }
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": [
|
|
5
|
+
"schema_version",
|
|
6
|
+
"ticket_id",
|
|
7
|
+
"source",
|
|
8
|
+
"repository",
|
|
9
|
+
"issue_node_id",
|
|
10
|
+
"title",
|
|
11
|
+
"body",
|
|
12
|
+
"labels",
|
|
13
|
+
"url",
|
|
14
|
+
"updated_at"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schema_version": { "const": 1 },
|
|
18
|
+
"ticket_id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
21
|
+
},
|
|
22
|
+
"source": { "type": "string", "enum": ["github", "local"] },
|
|
23
|
+
"repository": { "type": ["string", "null"], "minLength": 3, "maxLength": 201 },
|
|
24
|
+
"issue_node_id": { "type": ["string", "null"], "minLength": 1, "maxLength": 512 },
|
|
25
|
+
"title": { "type": "string", "minLength": 1, "maxLength": 1024 },
|
|
26
|
+
"body": { "type": ["string", "null"], "maxLength": 1048576 },
|
|
27
|
+
"labels": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"maxItems": 100,
|
|
30
|
+
"items": { "type": "string", "minLength": 1, "maxLength": 100 }
|
|
31
|
+
},
|
|
32
|
+
"url": { "type": ["string", "null"], "minLength": 1, "maxLength": 4096 },
|
|
33
|
+
"updated_at": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:\\.[0-9]{1,3})?Z$"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": [
|
|
5
|
+
"ticket_id",
|
|
6
|
+
"source",
|
|
7
|
+
"source_ref_sha256",
|
|
8
|
+
"content_sha256",
|
|
9
|
+
"content_file",
|
|
10
|
+
"source_updated_at",
|
|
11
|
+
"ready_intent",
|
|
12
|
+
"policy_version",
|
|
13
|
+
"policy_digest",
|
|
14
|
+
"gate_digest",
|
|
15
|
+
"lifecycle_updated_at",
|
|
16
|
+
"lease_expires_at",
|
|
17
|
+
"resume_at",
|
|
18
|
+
"resume_state",
|
|
19
|
+
"park_reason",
|
|
20
|
+
"resume_gate",
|
|
21
|
+
"session_id",
|
|
22
|
+
"last_error",
|
|
23
|
+
"verification_plan_ref",
|
|
24
|
+
"worktree",
|
|
25
|
+
"executor_evidence",
|
|
26
|
+
"verification_evidence",
|
|
27
|
+
"grade_evidence",
|
|
28
|
+
"prior_failure_evidence",
|
|
29
|
+
"prior_reflection_evidence",
|
|
30
|
+
"merge_disposition",
|
|
31
|
+
"sync_outcomes"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"ticket_id": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
37
|
+
},
|
|
38
|
+
"source": { "type": "string", "enum": ["github", "local"] },
|
|
39
|
+
"source_ref_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
40
|
+
"content_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
41
|
+
"content_file": { "type": "string", "minLength": 70, "maxLength": 134 },
|
|
42
|
+
"source_updated_at": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:\\.[0-9]{1,3})?Z$"
|
|
45
|
+
},
|
|
46
|
+
"ready_intent": { "const": true },
|
|
47
|
+
"policy_version": { "type": "integer", "minimum": 1 },
|
|
48
|
+
"policy_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
49
|
+
"gate_digest": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" },
|
|
50
|
+
"lifecycle_updated_at": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"
|
|
53
|
+
},
|
|
54
|
+
"lease_expires_at": {
|
|
55
|
+
"type": ["string", "null"],
|
|
56
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"
|
|
57
|
+
},
|
|
58
|
+
"resume_at": {
|
|
59
|
+
"type": ["string", "null"],
|
|
60
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"
|
|
61
|
+
},
|
|
62
|
+
"resume_state": { "type": ["string", "null"], "enum": ["pending", "retryable", null] },
|
|
63
|
+
"park_reason": { "type": ["string", "null"], "minLength": 1, "maxLength": 512 },
|
|
64
|
+
"resume_gate": {
|
|
65
|
+
"type": ["object", "null"],
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"required": ["kind", "role_id", "engine", "session_id", "limited_session_version", "limited_observation_id", "limited_observed_at"],
|
|
68
|
+
"properties": {
|
|
69
|
+
"kind": { "type": "string", "enum": ["time", "quota"] },
|
|
70
|
+
"role_id": { "type": ["string", "null"], "minLength": 3, "maxLength": 63 },
|
|
71
|
+
"engine": { "type": ["string", "null"], "enum": ["claude", "codex", null] },
|
|
72
|
+
"session_id": {
|
|
73
|
+
"type": ["string", "null"],
|
|
74
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
75
|
+
},
|
|
76
|
+
"limited_session_version": { "type": ["integer", "null"], "minimum": 0 },
|
|
77
|
+
"limited_observation_id": {
|
|
78
|
+
"type": ["string", "null"],
|
|
79
|
+
"pattern": "^quota-[a-f0-9]{48}$"
|
|
80
|
+
},
|
|
81
|
+
"limited_observed_at": {
|
|
82
|
+
"type": ["string", "null"],
|
|
83
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"session_id": {
|
|
88
|
+
"type": ["string", "null"],
|
|
89
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
90
|
+
},
|
|
91
|
+
"last_error": { "type": ["string", "null"], "minLength": 1, "maxLength": 2048 },
|
|
92
|
+
"verification_plan_ref": {
|
|
93
|
+
"type": ["object", "null"],
|
|
94
|
+
"additionalProperties": false,
|
|
95
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
96
|
+
"properties": {
|
|
97
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
98
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
99
|
+
"file_name": { "type": "string", "minLength": 6, "maxLength": 69 }
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"worktree": {
|
|
103
|
+
"type": ["object", "null"],
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"required": ["branch", "base_commit"],
|
|
106
|
+
"properties": {
|
|
107
|
+
"branch": { "type": "string", "minLength": 1, "maxLength": 255 },
|
|
108
|
+
"base_commit": { "type": "string", "pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$" }
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"executor_evidence": {
|
|
112
|
+
"type": ["object", "null"],
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
115
|
+
"properties": {
|
|
116
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
117
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
118
|
+
"file_name": { "type": "string", "minLength": 6, "maxLength": 69 }
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"verification_evidence": {
|
|
122
|
+
"type": ["object", "null"],
|
|
123
|
+
"additionalProperties": false,
|
|
124
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
125
|
+
"properties": {
|
|
126
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
127
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
128
|
+
"file_name": { "type": "string", "minLength": 6, "maxLength": 69 }
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"grade_evidence": {
|
|
132
|
+
"type": ["object", "null"],
|
|
133
|
+
"additionalProperties": false,
|
|
134
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
135
|
+
"properties": {
|
|
136
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
137
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
138
|
+
"file_name": { "type": "string", "minLength": 6, "maxLength": 69 }
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"prior_failure_evidence": {
|
|
142
|
+
"type": ["object", "null"],
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
145
|
+
"properties": {
|
|
146
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
147
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
148
|
+
"file_name": { "type": "string", "minLength": 6, "maxLength": 69 }
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"prior_reflection_evidence": {
|
|
152
|
+
"type": ["object", "null"],
|
|
153
|
+
"additionalProperties": false,
|
|
154
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
155
|
+
"properties": {
|
|
156
|
+
"evidence_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
157
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
158
|
+
"file_name": { "type": "string", "minLength": 6, "maxLength": 69 }
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"merge_disposition": { "const": "human_hold" },
|
|
162
|
+
"sync_outcomes": {
|
|
163
|
+
"type": "array",
|
|
164
|
+
"minItems": 1,
|
|
165
|
+
"maxItems": 64,
|
|
166
|
+
"items": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"additionalProperties": false,
|
|
169
|
+
"required": [
|
|
170
|
+
"nonce",
|
|
171
|
+
"operation_sha256",
|
|
172
|
+
"status",
|
|
173
|
+
"content_sha256",
|
|
174
|
+
"content_file",
|
|
175
|
+
"record_version"
|
|
176
|
+
],
|
|
177
|
+
"properties": {
|
|
178
|
+
"nonce": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
181
|
+
},
|
|
182
|
+
"operation_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
183
|
+
"status": { "type": "string", "enum": ["created", "refreshed", "unchanged"] },
|
|
184
|
+
"content_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
185
|
+
"content_file": { "type": "string", "minLength": 70, "maxLength": 134 },
|
|
186
|
+
"record_version": { "type": "integer", "minimum": 0 }
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/trust-report.schema.json",
|
|
4
|
+
"title": "OMS closed UTC daily trust report",
|
|
5
|
+
"description": "Complete sorted trust-run evidence for [utc_date 00:00:00Z, next day 00:00:00Z); eligibility is review-only.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"schema_version",
|
|
10
|
+
"utc_date",
|
|
11
|
+
"closed_at",
|
|
12
|
+
"policy_version",
|
|
13
|
+
"policy_digest",
|
|
14
|
+
"gate_digest",
|
|
15
|
+
"trust_run_evidence",
|
|
16
|
+
"assessment",
|
|
17
|
+
"review_only"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schema_version": { "const": 1 },
|
|
21
|
+
"utc_date": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
|
|
22
|
+
"closed_at": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T00:00:00\\.000Z$"
|
|
25
|
+
},
|
|
26
|
+
"policy_version": { "type": "integer", "minimum": 1 },
|
|
27
|
+
"policy_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
28
|
+
"gate_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
29
|
+
"trust_run_evidence": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"maxItems": 10000,
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
36
|
+
"properties": {
|
|
37
|
+
"evidence_id": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
40
|
+
},
|
|
41
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
42
|
+
"file_name": { "type": "string", "maxLength": 69 }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"assessment": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"required": [
|
|
50
|
+
"status",
|
|
51
|
+
"matching_runs",
|
|
52
|
+
"passed_runs",
|
|
53
|
+
"pass_rate_basis_points",
|
|
54
|
+
"minimum_matching_runs",
|
|
55
|
+
"required_pass_rate_basis_points"
|
|
56
|
+
],
|
|
57
|
+
"properties": {
|
|
58
|
+
"status": { "enum": ["manual", "eligible_for_review"] },
|
|
59
|
+
"matching_runs": { "type": "integer", "minimum": 0 },
|
|
60
|
+
"passed_runs": { "type": "integer", "minimum": 0 },
|
|
61
|
+
"pass_rate_basis_points": { "type": "integer", "minimum": 0, "maximum": 10000 },
|
|
62
|
+
"minimum_matching_runs": { "const": 20 },
|
|
63
|
+
"required_pass_rate_basis_points": { "const": 9500 }
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"review_only": { "const": true }
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/trust-run.schema.json",
|
|
4
|
+
"title": "OMS deterministic trust run evidence",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"run_id",
|
|
10
|
+
"ticket_id",
|
|
11
|
+
"deterministic_evidence",
|
|
12
|
+
"attempt",
|
|
13
|
+
"deterministic_passed",
|
|
14
|
+
"policy_version",
|
|
15
|
+
"policy_digest",
|
|
16
|
+
"gate_digest"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"schema_version": { "const": 1 },
|
|
20
|
+
"run_id": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
23
|
+
},
|
|
24
|
+
"ticket_id": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
27
|
+
},
|
|
28
|
+
"deterministic_evidence": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"required": ["evidence_id", "sha256", "file_name"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"evidence_id": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
|
|
36
|
+
},
|
|
37
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
38
|
+
"file_name": { "type": "string", "maxLength": 69 }
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
42
|
+
"deterministic_passed": { "type": "boolean" },
|
|
43
|
+
"policy_version": { "type": "integer", "minimum": 1 },
|
|
44
|
+
"policy_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
45
|
+
"gate_digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/ultragoal-checkpoint.schema.json",
|
|
4
|
+
"title": "OMS leader-only Ultragoal checkpoint",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"goal_id",
|
|
10
|
+
"leader_id",
|
|
11
|
+
"checkpointed_at",
|
|
12
|
+
"native_snapshot",
|
|
13
|
+
"team_checkpoint",
|
|
14
|
+
"objective_sha256",
|
|
15
|
+
"stopping_condition_sha256",
|
|
16
|
+
"terminal"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"schema_version": { "const": 1 },
|
|
20
|
+
"goal_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
21
|
+
"leader_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
22
|
+
"checkpointed_at": { "type": "string", "minLength": 20, "maxLength": 24 },
|
|
23
|
+
"native_snapshot": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"additionalProperties": false,
|
|
26
|
+
"required": ["kind", "artifact_id", "sha256", "file_name"],
|
|
27
|
+
"properties": {
|
|
28
|
+
"kind": { "const": "native-goal-snapshot" },
|
|
29
|
+
"artifact_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
30
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
31
|
+
"file_name": { "type": "string", "maxLength": 96 }
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"team_checkpoint": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"required": ["kind", "artifact_id", "sha256", "file_name"],
|
|
38
|
+
"properties": {
|
|
39
|
+
"kind": { "const": "team-checkpoint" },
|
|
40
|
+
"artifact_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", "maxLength": 96 }
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"objective_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
46
|
+
"stopping_condition_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
47
|
+
"terminal": { "const": true }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "user-schedule-installation.v1",
|
|
4
|
+
"title": "OMS legacy exact user schedule installation",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "manager", "plan_sha256", "manager_executable_path", "home_directory", "user_id", "installed_at", "artifacts"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "const": 1 },
|
|
10
|
+
"manager": { "type": "string", "enum": ["cron", "systemd", "launchd"] },
|
|
11
|
+
"plan_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
12
|
+
"manager_executable_path": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
13
|
+
"home_directory": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
14
|
+
"user_id": { "type": ["integer", "null"], "minimum": 0 },
|
|
15
|
+
"installed_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$" },
|
|
16
|
+
"artifacts": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"minItems": 1,
|
|
19
|
+
"maxItems": 6,
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": ["relative_path", "installed_path", "sha256"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"relative_path": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
26
|
+
"installed_path": { "type": ["string", "null"], "minLength": 2, "maxLength": 4096 },
|
|
27
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "user-schedule-installation.v2",
|
|
4
|
+
"title": "OMS exact user schedule installation",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "manager", "plan_sha256", "executable_path", "environment_path", "state_root", "workspace_root", "repository", "github_poll_seconds", "manager_executable_path", "home_directory", "user_id", "installed_at", "artifacts"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "const": 2 },
|
|
10
|
+
"manager": { "type": "string", "enum": ["cron", "systemd", "launchd"] },
|
|
11
|
+
"plan_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
12
|
+
"executable_path": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
13
|
+
"environment_path": { "type": "string", "minLength": 1, "maxLength": 16384 },
|
|
14
|
+
"state_root": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
15
|
+
"workspace_root": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
16
|
+
"repository": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]{0,38}/[a-z0-9._-]{1,100}$" },
|
|
17
|
+
"github_poll_seconds": { "type": "integer", "minimum": 60, "maximum": 3600 },
|
|
18
|
+
"manager_executable_path": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
19
|
+
"home_directory": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
20
|
+
"user_id": { "type": ["integer", "null"], "minimum": 0 },
|
|
21
|
+
"installed_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$" },
|
|
22
|
+
"artifacts": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"minItems": 1,
|
|
25
|
+
"maxItems": 6,
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": ["relative_path", "installed_path", "sha256"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"relative_path": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
32
|
+
"installed_path": { "type": ["string", "null"], "minLength": 2, "maxLength": 4096 },
|
|
33
|
+
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "user-schedule-plan.v2",
|
|
4
|
+
"title": "OMS exact user schedule plan",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema_version", "manager", "executable_path", "environment_path", "state_root", "workspace_root", "repository", "github_poll_seconds", "jobs"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema_version": { "const": 2 },
|
|
10
|
+
"manager": { "type": "string", "enum": ["cron", "systemd", "launchd"] },
|
|
11
|
+
"executable_path": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
12
|
+
"environment_path": { "type": "string", "minLength": 1, "maxLength": 16384 },
|
|
13
|
+
"state_root": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
14
|
+
"workspace_root": { "type": "string", "minLength": 2, "maxLength": 4096 },
|
|
15
|
+
"repository": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]{0,38}/[a-z0-9._-]{1,100}$" },
|
|
16
|
+
"github_poll_seconds": { "type": "integer", "minimum": 60, "maximum": 3600 },
|
|
17
|
+
"jobs": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"minItems": 2,
|
|
20
|
+
"maxItems": 2,
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": ["id", "mode", "interval_seconds", "argv"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"id": { "type": "string", "enum": ["github", "watchdog"] },
|
|
27
|
+
"mode": { "type": "string", "enum": ["poll", "recovery"] },
|
|
28
|
+
"interval_seconds": { "type": "integer", "minimum": 60, "maximum": 3600 },
|
|
29
|
+
"argv": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"minItems": 8,
|
|
32
|
+
"maxItems": 10,
|
|
33
|
+
"items": { "type": "string", "minLength": 1, "maxLength": 4096 }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"required": ["plan", "digest"],
|
|
5
|
+
"properties": {
|
|
6
|
+
"plan": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": ["schema_version", "steps"],
|
|
10
|
+
"properties": {
|
|
11
|
+
"schema_version": { "const": 1 },
|
|
12
|
+
"steps": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"minItems": 1,
|
|
15
|
+
"maxItems": 16,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"required": ["id", "command", "args", "timeout_ms", "max_output_bytes"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
22
|
+
"command": { "type": "string", "enum": ["typescript", "vitest", "oms"] },
|
|
23
|
+
"args": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"maxItems": 16,
|
|
26
|
+
"items": { "type": "string", "minLength": 1, "maxLength": 4096 }
|
|
27
|
+
},
|
|
28
|
+
"timeout_ms": { "type": "integer", "minimum": 1, "maximum": 3600000 },
|
|
29
|
+
"max_output_bytes": { "type": "integer", "minimum": 1, "maximum": 4194304 }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"digest": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://oms.local/schemas/worker-acknowledge-dispatch.schema.json",
|
|
4
|
+
"title": "OMS worker dispatch acknowledgement request",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["dispatch_id", "operation_nonce"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"dispatch_id": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" },
|
|
10
|
+
"operation_nonce": { "type": "string", "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" }
|
|
11
|
+
}
|
|
12
|
+
}
|