@open-mercato/cli 0.6.7-develop.6863.1.61001cf9a8 → 0.6.7
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/.turbo/turbo-build.log +4 -4
- package/build.mjs +7 -24
- package/dist/agentic/claude-code/hooks/entity-migration-check.ts +88 -32
- package/dist/agentic/codex/enforcement-rules.md +16 -2
- package/dist/agentic/cursor/hooks/entity-migration-check.mjs +50 -19
- package/dist/agentic/cursor/rules/entity-guard.mdc +21 -9
- package/dist/agentic/cursor/rules/generated-guard.mdc +5 -3
- package/dist/agentic/cursor/rules/open-mercato.mdc +29 -3
- package/dist/agentic/guides/cache.md +45 -0
- package/dist/agentic/guides/core.md +453 -0
- package/dist/agentic/guides/events.md +117 -0
- package/dist/agentic/guides/module-facts.json +3833 -115419
- package/dist/agentic/guides/module-system.md +127 -12
- package/dist/agentic/guides/modules/ai_assistant.md +28 -227
- package/dist/agentic/guides/modules/api_docs.md +2 -58
- package/dist/agentic/guides/modules/api_keys.md +7 -92
- package/dist/agentic/guides/modules/attachments.md +14 -119
- package/dist/agentic/guides/modules/audit_logs.md +10 -131
- package/dist/agentic/guides/modules/auth.md +33 -276
- package/dist/agentic/guides/modules/business_rules.md +14 -149
- package/dist/agentic/guides/modules/catalog.md +43 -475
- package/dist/agentic/guides/modules/channel_gmail.md +3 -82
- package/dist/agentic/guides/modules/channel_imap.md +3 -82
- package/dist/agentic/guides/modules/checkout.md +27 -299
- package/dist/agentic/guides/modules/communication_channels.md +33 -315
- package/dist/agentic/guides/modules/configs.md +8 -104
- package/dist/agentic/guides/modules/content.md +2 -57
- package/dist/agentic/guides/modules/currencies.md +17 -152
- package/dist/agentic/guides/modules/customer_accounts.md +45 -387
- package/dist/agentic/guides/modules/customers.md +85 -746
- package/dist/agentic/guides/modules/dashboards.md +10 -155
- package/dist/agentic/guides/modules/data_sync.md +16 -149
- package/dist/agentic/guides/modules/dictionaries.md +12 -107
- package/dist/agentic/guides/modules/directory.md +15 -148
- package/dist/agentic/guides/modules/entities.md +13 -145
- package/dist/agentic/guides/modules/events.md +2 -59
- package/dist/agentic/guides/modules/feature_toggles.md +9 -119
- package/dist/agentic/guides/modules/gateway_stripe.md +4 -92
- package/dist/agentic/guides/modules/generators.md +2 -45
- package/dist/agentic/guides/modules/inbox_ops.md +27 -207
- package/dist/agentic/guides/modules/integrations.md +16 -146
- package/dist/agentic/guides/modules/messages.md +24 -223
- package/dist/agentic/guides/modules/notifications.md +8 -96
- package/dist/agentic/guides/modules/onboarding.md +6 -77
- package/dist/agentic/guides/modules/payment_gateways.md +21 -164
- package/dist/agentic/guides/modules/perspectives.md +7 -77
- package/dist/agentic/guides/modules/planner.md +18 -136
- package/dist/agentic/guides/modules/portal.md +2 -93
- package/dist/agentic/guides/modules/progress.md +14 -104
- package/dist/agentic/guides/modules/query_index.md +15 -154
- package/dist/agentic/guides/modules/record_locks.md +21 -206
- package/dist/agentic/guides/modules/resources.md +30 -197
- package/dist/agentic/guides/modules/sales.md +84 -678
- package/dist/agentic/guides/modules/scheduler.md +14 -133
- package/dist/agentic/guides/modules/search.md +6 -170
- package/dist/agentic/guides/modules/security.md +35 -294
- package/dist/agentic/guides/modules/shipping_carriers.md +18 -134
- package/dist/agentic/guides/modules/sso.md +26 -151
- package/dist/agentic/guides/modules/staff.md +57 -369
- package/dist/agentic/guides/modules/storage_s3.md +5 -95
- package/dist/agentic/guides/modules/sync_akeneo.md +3 -85
- package/dist/agentic/guides/modules/sync_excel.md +6 -75
- package/dist/agentic/guides/modules/system_status_overlays.md +2 -60
- package/dist/agentic/guides/modules/translations.md +10 -104
- package/dist/agentic/guides/modules/webhooks.md +24 -203
- package/dist/agentic/guides/modules/wms.md +46 -441
- package/dist/agentic/guides/modules/workflows.md +43 -302
- package/dist/agentic/guides/queue.md +53 -0
- package/dist/agentic/guides/search.md +115 -0
- package/dist/agentic/guides/shared.md +108 -0
- package/dist/agentic/guides/ui.md +347 -0
- package/dist/agentic/shared/AGENTS.md.template +311 -124
- package/dist/agentic/shared/ai/agentic.config.json +0 -2
- package/dist/agentic/shared/ai/lessons.md +3 -26
- package/dist/agentic/shared/ai/skills/om-auto-continue-pr-loop/SKILL.md +27 -0
- package/dist/agentic/shared/ai/skills/om-auto-create-pr-loop/SKILL.md +27 -0
- package/dist/agentic/shared/ai/skills/om-auto-review-pr/SKILL.md +0 -4
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/SKILL.md +241 -20
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/ui-components.md +260 -0
- package/dist/agentic/shared/ai/skills/om-data-model-design/SKILL.md +601 -16
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/mikro-orm-cheatsheet.md +146 -0
- package/dist/agentic/shared/ai/skills/om-eject-and-customize/SKILL.md +310 -14
- package/dist/agentic/shared/ai/skills/om-help/SKILL.md +97 -15
- package/dist/agentic/shared/ai/skills/om-help/references/skills-catalog.md +84 -0
- package/dist/agentic/shared/ai/skills/om-help/references/workflow-sequences.md +193 -0
- package/dist/agentic/shared/ai/skills/om-implement-spec/SKILL.md +152 -33
- package/dist/agentic/shared/ai/skills/om-integration-builder/SKILL.md +708 -24
- package/dist/agentic/shared/ai/skills/om-integration-builder/STANDALONE.md +34 -0
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/adapter-contracts.md +762 -0
- package/dist/agentic/shared/ai/skills/om-module-scaffold/SKILL.md +820 -20
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/naming-conventions.md +50 -0
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/navigation-patterns.md +97 -0
- package/dist/agentic/shared/ai/skills/om-system-extension/SKILL.md +843 -19
- package/dist/agentic/shared/ai/skills/om-system-extension/references/extension-contracts.md +271 -0
- package/dist/agentic/shared/ai/skills/om-trim-unused-modules/SKILL.md +63 -15
- package/dist/agentic/shared/ai/skills/om-troubleshooter/SKILL.md +467 -16
- package/dist/agentic/shared/ai/skills/om-troubleshooter/references/diagnostic-commands.md +101 -0
- package/dist/agentic/shared/ai/skills/tiers.json +21 -143
- package/dist/agentic/shared/ai/skills/tiers.schema.json +40 -52
- package/dist/agentic/shared/ai/specs/README.md +3 -4
- package/dist/agentic/shared/ai/specs/SPEC-000-template.md +10 -226
- package/dist/agentic/shared/ai/trackers/github.md +4 -108
- package/dist/agentic/shared/scripts/install-skills.sh +694 -4
- package/dist/bin.js +1 -13
- package/dist/bin.js.map +2 -2
- package/dist/lib/__integration__/TC-INT-008.spec.js +8 -88
- package/dist/lib/__integration__/TC-INT-008.spec.js.map +2 -2
- package/dist/lib/agentic-init.js +3 -13
- package/dist/lib/agentic-init.js.map +2 -2
- package/dist/lib/agentic-setup.js +186 -418
- package/dist/lib/agentic-setup.js.map +2 -2
- package/dist/lib/generators/extensions/injection-widgets.js +0 -20
- package/dist/lib/generators/extensions/injection-widgets.js.map +2 -2
- package/dist/lib/generators/module-facts-discovery.js +7 -41
- package/dist/lib/generators/module-facts-discovery.js.map +2 -2
- package/dist/lib/generators/module-facts.js +45 -1387
- package/dist/lib/generators/module-facts.js.map +3 -3
- package/dist/lib/generators/module-registry.js +5 -11
- package/dist/lib/generators/module-registry.js.map +2 -2
- package/dist/lib/resolver.js +0 -2
- package/dist/lib/resolver.js.map +2 -2
- package/dist/lib/testing/integration.js +0 -5
- package/dist/lib/testing/integration.js.map +2 -2
- package/dist/mercato.js +1 -23
- package/dist/mercato.js.map +2 -2
- package/package.json +11 -13
- package/src/bin.ts +1 -33
- package/src/lib/__integration__/TC-INT-008.spec.ts +9 -107
- package/src/lib/__tests__/agentic-init.test.ts +5 -41
- package/src/lib/agentic-init.ts +3 -15
- package/src/lib/agentic-setup.ts +224 -530
- package/src/lib/generators/__tests__/module-facts.bc-guard.test.ts +2 -88
- package/src/lib/generators/__tests__/module-facts.customers.fixture.test.ts +0 -1
- package/src/lib/generators/__tests__/module-facts.discovery.test.ts +10 -54
- package/src/lib/generators/__tests__/module-subset.test.ts +0 -18
- package/src/lib/generators/extensions/injection-widgets.ts +0 -51
- package/src/lib/generators/module-facts-discovery.ts +7 -58
- package/src/lib/generators/module-facts.ts +46 -1851
- package/src/lib/generators/module-registry.ts +6 -16
- package/src/lib/resolver.ts +0 -3
- package/src/lib/testing/__tests__/integration.test.ts +0 -4
- package/src/lib/testing/integration.ts +0 -5
- package/src/mercato.ts +1 -26
- package/dist/agentic/guides/ai-workflows.md +0 -76
- package/dist/agentic/guides/architecture.md +0 -107
- package/dist/agentic/guides/backend-ui.md +0 -80
- package/dist/agentic/guides/contracts.md +0 -92
- package/dist/agentic/guides/extensions.md +0 -121
- package/dist/agentic/guides/framework-extension-points.md +0 -36
- package/dist/agentic/guides/integrations.md +0 -81
- package/dist/agentic/guides/modules/design_system.md +0 -102
- package/dist/agentic/guides/spec-delivery.md +0 -22
- package/dist/agentic/guides/testing-debugging.md +0 -80
- package/dist/agentic/guides/upstream/AGENTS.md +0 -298
- package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +0 -316
- package/dist/agentic/guides/upstream/manifest.json +0 -8
- package/dist/agentic/shared/ai/harness/README.md +0 -50
- package/dist/agentic/shared/ai/harness/RELEASE.md +0 -57
- package/dist/agentic/shared/ai/harness/cases.json +0 -13680
- package/dist/agentic/shared/ai/harness/cases.schema.json +0 -133
- package/dist/agentic/shared/ai/harness/fixtures/index.json +0 -49
- package/dist/agentic/shared/ai/harness/fixtures/seeds.json +0 -162
- package/dist/agentic/shared/ai/harness/generated-code-review-policy.md +0 -21
- package/dist/agentic/shared/ai/harness/generated-code-review-response.schema.json +0 -96
- package/dist/agentic/shared/ai/harness/generated-code-review-result.schema.json +0 -172
- package/dist/agentic/shared/ai/harness/release-matrix.json +0 -158
- package/dist/agentic/shared/ai/harness/release-result.schema.json +0 -219
- package/dist/agentic/shared/ai/harness/result.schema.json +0 -76
- package/dist/agentic/shared/ai/harness/routing-response.schema.json +0 -12
- package/dist/agentic/shared/ai/harness/target-validation-result.schema.json +0 -73
- package/dist/agentic/shared/ai/harness/validators.json +0 -78
- package/dist/agentic/shared/ai/harness/writable-ast-oracles.mjs +0 -2121
- package/dist/agentic/shared/ai/harness/writable-behavior-oracles.mjs +0 -1096
- package/dist/agentic/shared/ai/lessons/_template.md +0 -16
- package/dist/agentic/shared/ai/review-checklist.md +0 -36
- package/dist/agentic/shared/ai/skills/om-auto-implement-spec/SKILL.md +0 -21
- package/dist/agentic/shared/ai/skills/om-auto-upgrade-0.6.6-to-0.6.7/SKILL.md +0 -98
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/crud-surfaces.md +0 -16
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/frontend-and-design-system.md +0 -53
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/page-and-navigation.md +0 -13
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/quality-states.md +0 -11
- package/dist/agentic/shared/ai/skills/om-build-workflow/SKILL.md +0 -30
- package/dist/agentic/shared/ai/skills/om-build-workflow/references/activity-contracts.md +0 -12
- package/dist/agentic/shared/ai/skills/om-build-workflow/references/durability-and-progress.md +0 -13
- package/dist/agentic/shared/ai/skills/om-build-workflow/references/workflow-design.md +0 -14
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/SKILL.md +0 -28
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/attachments-and-overrides.md +0 -12
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/module-agents-and-tools.md +0 -22
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/orchestrator-agents.md +0 -12
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/surface-selector.md +0 -19
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/integrity-and-concurrency.md +0 -19
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/migration-workflow.md +0 -13
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/schema-design.md +0 -14
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/sensitive-data.md +0 -10
- package/dist/agentic/shared/ai/skills/om-eject-and-customize/references/decision-and-procedure.md +0 -17
- package/dist/agentic/shared/ai/skills/om-evolve-harness/SKILL.md +0 -29
- package/dist/agentic/shared/ai/skills/om-evolve-harness/references/case-template.md +0 -100
- package/dist/agentic/shared/ai/skills/om-evolve-harness/references/case-workflow.md +0 -16
- package/dist/agentic/shared/ai/skills/om-evolve-harness/references/owner-selection.md +0 -17
- package/dist/agentic/shared/ai/skills/om-framework-context/SKILL.md +0 -25
- package/dist/agentic/shared/ai/skills/om-framework-context/references/resolver-procedure.md +0 -11
- package/dist/agentic/shared/ai/skills/om-framework-context/references/skew-and-escalation.md +0 -13
- package/dist/agentic/shared/ai/skills/om-help/references/delivery-workflows.md +0 -18
- package/dist/agentic/shared/ai/skills/om-help/references/task-families.md +0 -20
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/phases-and-gates.md +0 -33
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/planning-and-progress.md +0 -40
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/report-templates.md +0 -27
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/spec-resolution.md +0 -24
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/package-and-activation.md +0 -16
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/provider-families.md +0 -14
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/security-and-reliability.md +0 -15
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/sync-and-files.md +0 -12
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/SKILL.md +0 -34
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/agents/openai.yaml +0 -4
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/agentic-setup.md +0 -11
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/input-normalization.md +0 -31
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/judge-workflow.md +0 -39
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/report-template.md +0 -43
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/rules.md +0 -11
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/api-and-domain.md +0 -19
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/business-one-shot-blueprints.md +0 -172
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/data-and-migrations.md +0 -12
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/discovery-surface-catalog.md +0 -83
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/module-surfaces.md +0 -21
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/planning.md +0 -11
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/runtime-cache-and-queues.md +0 -22
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/verification.md +0 -13
- package/dist/agentic/shared/ai/skills/om-share-this-session/SKILL.md +0 -41
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/agentic-setup.md +0 -19
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/bundle-preparation.md +0 -44
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/consent-and-review.md +0 -39
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/publication.md +0 -20
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/report-templates.md +0 -57
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/rules.md +0 -11
- package/dist/agentic/shared/ai/skills/om-share-this-session/scripts/prepare-share-bundle.mjs +0 -486
- package/dist/agentic/shared/ai/skills/om-system-extension/references/extension-branches.md +0 -18
- package/dist/agentic/shared/ai/skills/om-system-extension/references/mechanism-selector.md +0 -27
- package/dist/agentic/shared/ai/skills/om-system-extension/references/read-write-roundtrip.md +0 -13
- package/dist/agentic/shared/ai/skills/om-system-extension/references/unified-overrides.md +0 -41
- package/dist/agentic/shared/ai/skills/om-system-extension/references/verification.md +0 -11
- package/dist/agentic/shared/ai/skills/om-trim-unused-modules/references/dependency-and-redirect.md +0 -15
- package/dist/agentic/shared/ai/skills/om-troubleshooter/references/diagnosis-map.md +0 -16
- package/dist/agentic/shared/ai/skills/om-troubleshooter/references/regression-oracles.md +0 -14
- package/dist/agentic/shared/scripts/agent-harness-tool-server.mjs +0 -187
- package/dist/agentic/shared/scripts/check-lessons.mjs +0 -178
- package/dist/agentic/shared/scripts/evaluate-agent-harness.mjs +0 -2958
- package/dist/agentic/shared/scripts/execution-sandbox.mjs +0 -329
- package/dist/agentic/shared/scripts/framework-context.mjs +0 -888
- package/dist/agentic/shared/scripts/install-skills.mjs +0 -1029
- package/dist/agentic/shared/scripts/prepare-agent-harness-fixture.mjs +0 -222
- package/dist/agentic/shared/scripts/run-agent-harness-release.mjs +0 -1774
- package/dist/lib/generators/module-extension-facts.js +0 -1840
- package/dist/lib/generators/module-extension-facts.js.map +0 -7
- package/dist/lib/generators/module-fact-sources.js +0 -70
- package/dist/lib/generators/module-fact-sources.js.map +0 -7
- package/dist/lib/generators/module-override-targets.js +0 -688
- package/dist/lib/generators/module-override-targets.js.map +0 -7
- package/dist/lib/load-env.js +0 -24
- package/dist/lib/load-env.js.map +0 -7
- package/dist/lib/telemetry-init.js +0 -358
- package/dist/lib/telemetry-init.js.map +0 -7
- package/src/lib/__tests__/agentic-setup.ownership.test.ts +0 -386
- package/src/lib/__tests__/injection-widget-id-validation.test.ts +0 -184
- package/src/lib/__tests__/load-env.test.ts +0 -65
- package/src/lib/__tests__/telemetry-init.test.ts +0 -298
- package/src/lib/generators/__tests__/activation-adapter-coverage.test.ts +0 -92
- package/src/lib/generators/__tests__/module-extension-activations.test.ts +0 -762
- package/src/lib/generators/__tests__/module-extension-facts.test.ts +0 -404
- package/src/lib/generators/__tests__/module-facts.extension-hosts.test.ts +0 -108
- package/src/lib/generators/__tests__/module-facts.owned-contracts.test.ts +0 -561
- package/src/lib/generators/__tests__/module-facts.source-links.test.ts +0 -119
- package/src/lib/generators/__tests__/module-override-targets.roundtrip.test.ts +0 -149
- package/src/lib/generators/__tests__/module-override-targets.test.ts +0 -304
- package/src/lib/generators/module-extension-facts.ts +0 -2365
- package/src/lib/generators/module-fact-sources.ts +0 -108
- package/src/lib/generators/module-override-targets.ts +0 -863
- package/src/lib/load-env.ts +0 -30
- package/src/lib/telemetry-init.ts +0 -461
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://open-mercato.dev/schemas/standalone-generated-code-review-result.schema.json",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"additionalProperties": false,
|
|
6
|
-
"required": ["schemaVersion", "caseId", "sourceResult", "targetFingerprint", "runner", "runnerVersion", "model", "skill", "policyHash", "reviewedPaths", "reviewedBytes", "validationEvidence", "verdict", "report", "findings", "violations", "durationMs", "exitStatus", "status", "actualContext"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"schemaVersion": { "const": 1 },
|
|
9
|
-
"caseId": { "type": "string", "pattern": "^OMH-[0-9]{3}$" },
|
|
10
|
-
"sourceResult": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"additionalProperties": false,
|
|
13
|
-
"required": ["path", "sha256"],
|
|
14
|
-
"properties": {
|
|
15
|
-
"path": { "type": "string", "minLength": 1, "maxLength": 300 },
|
|
16
|
-
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"targetFingerprint": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
20
|
-
"runner": { "enum": ["codex", "claude"] },
|
|
21
|
-
"runnerVersion": { "type": "string", "maxLength": 200 },
|
|
22
|
-
"model": { "type": "string", "maxLength": 200 },
|
|
23
|
-
"reasoningEffort": { "enum": ["minimal", "low", "medium", "high", "xhigh"] },
|
|
24
|
-
"skill": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"additionalProperties": false,
|
|
27
|
-
"required": ["name", "source", "ref", "declaredHash", "installedHash", "ownershipLedgerHash", "bundleHash"],
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": { "const": "om-code-review" },
|
|
30
|
-
"source": { "const": "open-mercato/skills" },
|
|
31
|
-
"ref": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
|
|
32
|
-
"declaredHash": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
33
|
-
"installedHash": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
34
|
-
"ownershipLedgerHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
35
|
-
"bundleHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"judgeSkill": {
|
|
39
|
-
"type": "object",
|
|
40
|
-
"additionalProperties": false,
|
|
41
|
-
"required": ["name", "bundleHash"],
|
|
42
|
-
"properties": {
|
|
43
|
-
"name": { "const": "om-judge-agent-session" },
|
|
44
|
-
"bundleHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"policyHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
48
|
-
"reviewedPaths": { "type": "array", "minItems": 1, "maxItems": 32, "uniqueItems": true, "items": { "type": "string", "maxLength": 300 } },
|
|
49
|
-
"reviewedBytes": { "type": "integer", "minimum": 1 },
|
|
50
|
-
"reviewReferences": { "type": "array", "maxItems": 6, "uniqueItems": true, "items": { "type": "string", "maxLength": 300 } },
|
|
51
|
-
"validationResult": {
|
|
52
|
-
"type": "object",
|
|
53
|
-
"additionalProperties": false,
|
|
54
|
-
"required": ["path", "sha256"],
|
|
55
|
-
"properties": {
|
|
56
|
-
"path": { "type": "string", "minLength": 1, "maxLength": 300 },
|
|
57
|
-
"sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"validationEvidence": {
|
|
61
|
-
"type": "array",
|
|
62
|
-
"minItems": 1,
|
|
63
|
-
"maxItems": 12,
|
|
64
|
-
"uniqueItems": true,
|
|
65
|
-
"items": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"additionalProperties": false,
|
|
68
|
-
"required": ["id", "status"],
|
|
69
|
-
"properties": {
|
|
70
|
-
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9:._-]+$", "maxLength": 100 },
|
|
71
|
-
"status": { "const": "pass" }
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"verdict": { "enum": ["approve", "request changes", "error"] },
|
|
76
|
-
"judgeVerdict": { "enum": ["pass", "fail", "inconclusive"] },
|
|
77
|
-
"report": { "type": "string", "maxLength": 16384 },
|
|
78
|
-
"judgeReport": { "type": "string", "maxLength": 16384 },
|
|
79
|
-
"fixedEvidenceStatus": { "const": "pass" },
|
|
80
|
-
"findings": {
|
|
81
|
-
"type": "array",
|
|
82
|
-
"maxItems": 32,
|
|
83
|
-
"items": {
|
|
84
|
-
"type": "object",
|
|
85
|
-
"additionalProperties": false,
|
|
86
|
-
"required": ["severity", "path", "line", "rationale", "fix"],
|
|
87
|
-
"properties": {
|
|
88
|
-
"severity": { "enum": ["blocker", "major", "minor", "nit"] },
|
|
89
|
-
"path": { "type": "string", "minLength": 1, "maxLength": 300 },
|
|
90
|
-
"line": { "type": ["integer", "null"], "minimum": 1 },
|
|
91
|
-
"rationale": { "type": "string", "minLength": 8, "maxLength": 1200 },
|
|
92
|
-
"fix": { "type": "string", "minLength": 8, "maxLength": 1200 }
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"artifactFindings": {
|
|
97
|
-
"type": "array",
|
|
98
|
-
"maxItems": 32,
|
|
99
|
-
"items": { "$ref": "#/$defs/artifactFinding" }
|
|
100
|
-
},
|
|
101
|
-
"harnessOwnerFindings": {
|
|
102
|
-
"type": "array",
|
|
103
|
-
"maxItems": 32,
|
|
104
|
-
"items": { "$ref": "#/$defs/harnessOwnerFinding" }
|
|
105
|
-
},
|
|
106
|
-
"designSystemReview": {
|
|
107
|
-
"$ref": "#/$defs/designSystemReview"
|
|
108
|
-
},
|
|
109
|
-
"violations": { "type": "array", "items": { "type": "string", "maxLength": 300 } },
|
|
110
|
-
"attempts": { "const": 1 },
|
|
111
|
-
"corrections": { "const": 0 },
|
|
112
|
-
"durationMs": { "type": "integer", "minimum": 0 },
|
|
113
|
-
"exitStatus": { "type": ["integer", "null"] },
|
|
114
|
-
"status": { "enum": ["pass", "fail"] },
|
|
115
|
-
"sanitizedError": { "type": "string", "maxLength": 4096 },
|
|
116
|
-
"actualContext": {
|
|
117
|
-
"type": "object",
|
|
118
|
-
"additionalProperties": false,
|
|
119
|
-
"required": ["paths", "files", "bytes", "estimatedTokens", "initialPaths", "initialFiles", "initialBytes", "estimatedInitialTokens", "metadataPaths", "metadataEntries", "metadataBytes"],
|
|
120
|
-
"properties": {
|
|
121
|
-
"paths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
122
|
-
"files": { "type": "integer", "minimum": 0 },
|
|
123
|
-
"bytes": { "type": "integer", "minimum": 0 },
|
|
124
|
-
"estimatedTokens": { "type": "integer", "minimum": 0 },
|
|
125
|
-
"initialPaths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
126
|
-
"initialFiles": { "type": "integer", "minimum": 0 },
|
|
127
|
-
"initialBytes": { "type": "integer", "minimum": 0 },
|
|
128
|
-
"estimatedInitialTokens": { "type": "integer", "minimum": 0 },
|
|
129
|
-
"metadataPaths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
130
|
-
"metadataEntries": { "type": "integer", "minimum": 0 },
|
|
131
|
-
"metadataBytes": { "type": "integer", "minimum": 0 }
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"$defs": {
|
|
136
|
-
"artifactFinding": {
|
|
137
|
-
"type": "object",
|
|
138
|
-
"additionalProperties": false,
|
|
139
|
-
"required": ["severity", "path", "line", "rationale", "fix"],
|
|
140
|
-
"properties": {
|
|
141
|
-
"severity": { "enum": ["blocker", "major", "minor", "nit"] },
|
|
142
|
-
"path": { "type": "string", "minLength": 1, "maxLength": 300 },
|
|
143
|
-
"line": { "type": ["integer", "null"], "minimum": 1 },
|
|
144
|
-
"rationale": { "type": "string", "minLength": 8, "maxLength": 1200 },
|
|
145
|
-
"fix": { "type": "string", "minLength": 8, "maxLength": 1200 }
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"harnessOwnerFinding": {
|
|
149
|
-
"type": "object",
|
|
150
|
-
"additionalProperties": false,
|
|
151
|
-
"required": ["artifactFinding", "ownerKind", "owner", "rationale", "fix", "rerunCaseIds"],
|
|
152
|
-
"properties": {
|
|
153
|
-
"artifactFinding": { "type": ["integer", "null"], "minimum": 0 },
|
|
154
|
-
"ownerKind": { "enum": ["root", "guide", "skill", "facts", "hook", "case", "oracle"] },
|
|
155
|
-
"owner": { "type": "string", "minLength": 1, "maxLength": 300 },
|
|
156
|
-
"rationale": { "type": "string", "minLength": 8, "maxLength": 1200 },
|
|
157
|
-
"fix": { "type": "string", "minLength": 8, "maxLength": 1200 },
|
|
158
|
-
"rerunCaseIds": { "type": "array", "minItems": 1, "maxItems": 64, "uniqueItems": true, "items": { "type": "string", "pattern": "^OMH-[0-9]{3}$" } }
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"designSystemReview": {
|
|
162
|
-
"type": "object",
|
|
163
|
-
"additionalProperties": false,
|
|
164
|
-
"required": ["reviewer", "status", "findings"],
|
|
165
|
-
"properties": {
|
|
166
|
-
"reviewer": { "enum": ["om-backend-ui-design", "not-applicable"] },
|
|
167
|
-
"status": { "enum": ["pass", "fail", "not-applicable"] },
|
|
168
|
-
"findings": { "type": "array", "maxItems": 32, "items": { "type": "string", "minLength": 8, "maxLength": 1200 } }
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"policy": {
|
|
4
|
-
"invalidStructuredOutputRetries": 1,
|
|
5
|
-
"rawTranscriptsCommitted": false,
|
|
6
|
-
"mandatoryFailuresWaivable": false
|
|
7
|
-
},
|
|
8
|
-
"releaseSuite": {
|
|
9
|
-
"supportedRunners": ["codex", "claude"],
|
|
10
|
-
"requireGenerativeJudge": true,
|
|
11
|
-
"requireGeneratedCodeReview": true,
|
|
12
|
-
"validationCommands": ["yarn generate", "yarn typecheck", "yarn lint", "yarn build"]
|
|
13
|
-
},
|
|
14
|
-
"deterministic": {
|
|
15
|
-
"caseIds": "all"
|
|
16
|
-
},
|
|
17
|
-
"routing": {
|
|
18
|
-
"required": {
|
|
19
|
-
"caseIds": "all"
|
|
20
|
-
},
|
|
21
|
-
"portability": {
|
|
22
|
-
"caseIds": [
|
|
23
|
-
"OMH-009", "OMH-011", "OMH-012", "OMH-014", "OMH-026", "OMH-027", "OMH-029", "OMH-031",
|
|
24
|
-
"OMH-042", "OMH-045", "OMH-049", "OMH-054", "OMH-057", "OMH-060", "OMH-061", "OMH-070",
|
|
25
|
-
"OMH-093", "OMH-105", "OMH-107", "OMH-115", "OMH-122", "OMH-128", "OMH-130", "OMH-133",
|
|
26
|
-
"OMH-137", "OMH-140", "OMH-144", "OMH-146", "OMH-149", "OMH-150", "OMH-151", "OMH-153",
|
|
27
|
-
"OMH-156", "OMH-163", "OMH-164", "OMH-165", "OMH-171", "OMH-172", "OMH-181", "OMH-185",
|
|
28
|
-
"OMH-188", "OMH-189", "OMH-190", "OMH-191", "OMH-192", "OMH-193"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"runners": {
|
|
32
|
-
"codex": { "modelSelector": "default" },
|
|
33
|
-
"claude": { "modelSelector": "sonnet" }
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"writable": [
|
|
37
|
-
{ "caseId": "OMH-009" },
|
|
38
|
-
{ "caseId": "OMH-011" },
|
|
39
|
-
{ "caseId": "OMH-012" },
|
|
40
|
-
{ "caseId": "OMH-014" },
|
|
41
|
-
{ "caseId": "OMH-026" },
|
|
42
|
-
{ "caseId": "OMH-027" },
|
|
43
|
-
{ "caseId": "OMH-029" },
|
|
44
|
-
{ "caseId": "OMH-031" },
|
|
45
|
-
{ "caseId": "OMH-042" },
|
|
46
|
-
{ "caseId": "OMH-045" },
|
|
47
|
-
{ "caseId": "OMH-049" },
|
|
48
|
-
{ "caseId": "OMH-054" },
|
|
49
|
-
{ "caseId": "OMH-057" },
|
|
50
|
-
{ "caseId": "OMH-060" },
|
|
51
|
-
{ "caseId": "OMH-061" },
|
|
52
|
-
{ "caseId": "OMH-070" },
|
|
53
|
-
{ "caseId": "OMH-093" },
|
|
54
|
-
{ "caseId": "OMH-105" },
|
|
55
|
-
{ "caseId": "OMH-107" },
|
|
56
|
-
{ "caseId": "OMH-115" },
|
|
57
|
-
{ "caseId": "OMH-122" },
|
|
58
|
-
{ "caseId": "OMH-128" },
|
|
59
|
-
{ "caseId": "OMH-130" },
|
|
60
|
-
{ "caseId": "OMH-133" },
|
|
61
|
-
{ "caseId": "OMH-137" },
|
|
62
|
-
{ "caseId": "OMH-140" },
|
|
63
|
-
{ "caseId": "OMH-144" },
|
|
64
|
-
{ "caseId": "OMH-146" },
|
|
65
|
-
{ "caseId": "OMH-149" },
|
|
66
|
-
{ "caseId": "OMH-150" },
|
|
67
|
-
{ "caseId": "OMH-151" },
|
|
68
|
-
{ "caseId": "OMH-153" },
|
|
69
|
-
{ "caseId": "OMH-156" },
|
|
70
|
-
{ "caseId": "OMH-163" },
|
|
71
|
-
{ "caseId": "OMH-164" },
|
|
72
|
-
{ "caseId": "OMH-165" },
|
|
73
|
-
{ "caseId": "OMH-171" },
|
|
74
|
-
{ "caseId": "OMH-172" },
|
|
75
|
-
{ "caseId": "OMH-181" },
|
|
76
|
-
{ "caseId": "OMH-185" },
|
|
77
|
-
{ "caseId": "OMH-188" },
|
|
78
|
-
{ "caseId": "OMH-189" },
|
|
79
|
-
{ "caseId": "OMH-190" },
|
|
80
|
-
{ "caseId": "OMH-191" },
|
|
81
|
-
{ "caseId": "OMH-192" },
|
|
82
|
-
{ "caseId": "OMH-193" }
|
|
83
|
-
],
|
|
84
|
-
"generatedCodeReview": {
|
|
85
|
-
"required": true,
|
|
86
|
-
"skill": "om-code-review",
|
|
87
|
-
"caseIds": [
|
|
88
|
-
"OMH-009", "OMH-011", "OMH-012", "OMH-014", "OMH-026", "OMH-027",
|
|
89
|
-
"OMH-029", "OMH-031", "OMH-042", "OMH-045", "OMH-049", "OMH-054",
|
|
90
|
-
"OMH-057", "OMH-060", "OMH-061", "OMH-070",
|
|
91
|
-
"OMH-093", "OMH-105", "OMH-107", "OMH-115", "OMH-122", "OMH-128",
|
|
92
|
-
"OMH-130", "OMH-133", "OMH-137", "OMH-140", "OMH-144", "OMH-146",
|
|
93
|
-
"OMH-149", "OMH-150", "OMH-151", "OMH-153", "OMH-156", "OMH-163",
|
|
94
|
-
"OMH-164", "OMH-165", "OMH-171", "OMH-172", "OMH-181", "OMH-185",
|
|
95
|
-
"OMH-188", "OMH-189", "OMH-190", "OMH-191", "OMH-192", "OMH-193"
|
|
96
|
-
],
|
|
97
|
-
"runners": {
|
|
98
|
-
"codex": { "modelSelector": "default" },
|
|
99
|
-
"claude": { "modelSelector": "sonnet" }
|
|
100
|
-
},
|
|
101
|
-
"maxChangedFiles": 24,
|
|
102
|
-
"maxChangedBytes": 262144,
|
|
103
|
-
"maxContextFiles": 32,
|
|
104
|
-
"maxContextBytes": 524288
|
|
105
|
-
},
|
|
106
|
-
"generativeJudge": {
|
|
107
|
-
"required": true,
|
|
108
|
-
"skill": "om-judge-agent-session",
|
|
109
|
-
"reviewSkill": "om-code-review",
|
|
110
|
-
"caseIds": [
|
|
111
|
-
"OMH-009", "OMH-011", "OMH-012", "OMH-014", "OMH-026", "OMH-027",
|
|
112
|
-
"OMH-029", "OMH-031", "OMH-042", "OMH-045", "OMH-049", "OMH-054",
|
|
113
|
-
"OMH-057", "OMH-060", "OMH-061", "OMH-070",
|
|
114
|
-
"OMH-093", "OMH-105", "OMH-107", "OMH-115", "OMH-122", "OMH-128",
|
|
115
|
-
"OMH-130", "OMH-133", "OMH-137", "OMH-140", "OMH-144", "OMH-146",
|
|
116
|
-
"OMH-149", "OMH-150", "OMH-151", "OMH-153", "OMH-156", "OMH-163",
|
|
117
|
-
"OMH-164", "OMH-165", "OMH-171", "OMH-172", "OMH-181", "OMH-185",
|
|
118
|
-
"OMH-188", "OMH-189", "OMH-190", "OMH-191", "OMH-192", "OMH-193"
|
|
119
|
-
],
|
|
120
|
-
"runners": {
|
|
121
|
-
"codex": { "modelSelector": "default" },
|
|
122
|
-
"claude": { "modelSelector": "sonnet" }
|
|
123
|
-
},
|
|
124
|
-
"maxChangedFiles": 24,
|
|
125
|
-
"maxChangedBytes": 262144,
|
|
126
|
-
"maxContextFiles": 40,
|
|
127
|
-
"maxContextBytes": 524288
|
|
128
|
-
},
|
|
129
|
-
"generatedTests": {
|
|
130
|
-
"required": true,
|
|
131
|
-
"entries": [
|
|
132
|
-
{
|
|
133
|
-
"caseId": "OMH-163",
|
|
134
|
-
"runner": "jest",
|
|
135
|
-
"artifact": "src/modules/quote_approval/commands/__tests__/approve-quote.test.ts",
|
|
136
|
-
"network": "none"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"caseId": "OMH-164",
|
|
140
|
-
"runner": "playwright-api",
|
|
141
|
-
"artifact": "src/modules/customer_api/__integration__/TC-API-CUSTOMERS-001.spec.ts",
|
|
142
|
-
"network": "loopback"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"caseId": "OMH-165",
|
|
146
|
-
"runner": "playwright-browser",
|
|
147
|
-
"artifact": "src/modules/portal_quote_approval/__integration__/TC-PORTAL-QUOTE-001.spec.ts",
|
|
148
|
-
"network": "loopback"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"caseId": "OMH-192",
|
|
152
|
-
"runner": "jest",
|
|
153
|
-
"artifact": "src/modules/library/commands/__tests__/crm-loans.test.ts",
|
|
154
|
-
"network": "none"
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://open-mercato.dev/schemas/standalone-harness-release-result.schema.json",
|
|
4
|
-
"$defs": {
|
|
5
|
-
"caseIds": {
|
|
6
|
-
"type": "array",
|
|
7
|
-
"maxItems": 1000,
|
|
8
|
-
"items": { "type": "string", "maxLength": 100 }
|
|
9
|
-
},
|
|
10
|
-
"commands": {
|
|
11
|
-
"type": "array",
|
|
12
|
-
"maxItems": 16,
|
|
13
|
-
"items": { "type": "string", "maxLength": 100 }
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"type": "object",
|
|
17
|
-
"additionalProperties": false,
|
|
18
|
-
"required": ["schemaVersion", "status", "startedAt", "finishedAt", "durationMs", "runnerPolicy", "catalog", "coverage", "steps", "metrics", "violations"],
|
|
19
|
-
"properties": {
|
|
20
|
-
"schemaVersion": { "const": 1 },
|
|
21
|
-
"status": { "enum": ["pass", "fail"] },
|
|
22
|
-
"startedAt": { "type": "string", "format": "date-time" },
|
|
23
|
-
"finishedAt": { "type": "string", "format": "date-time" },
|
|
24
|
-
"durationMs": { "type": "integer", "minimum": 0 },
|
|
25
|
-
"runnerPolicy": {
|
|
26
|
-
"type": "object",
|
|
27
|
-
"additionalProperties": false,
|
|
28
|
-
"required": ["primaryRunner", "portabilityRunner"],
|
|
29
|
-
"properties": {
|
|
30
|
-
"primaryRunner": { "enum": ["codex", "claude"] },
|
|
31
|
-
"portabilityRunner": { "type": ["string", "null"], "enum": ["codex", "claude", null] }
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"catalog": {
|
|
35
|
-
"type": "object",
|
|
36
|
-
"additionalProperties": false,
|
|
37
|
-
"required": ["caseCount", "writableCaseCount", "reviewEligibleCaseCount"],
|
|
38
|
-
"properties": {
|
|
39
|
-
"caseCount": { "type": "integer", "minimum": 1 },
|
|
40
|
-
"writableCaseCount": { "type": "integer", "minimum": 0 },
|
|
41
|
-
"reviewEligibleCaseCount": { "type": "integer", "minimum": 0 }
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"coverage": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"additionalProperties": false,
|
|
47
|
-
"required": ["deterministic", "routing", "writable", "review", "registry", "validation", "targetValidation", "generatedTests"],
|
|
48
|
-
"properties": {
|
|
49
|
-
"deterministic": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"additionalProperties": false,
|
|
52
|
-
"required": ["expectedCaseIds", "configuredCaseIds", "missingMatrixCaseIds", "unexpectedMatrixCaseIds", "executedCaseIds", "missingCaseIds"],
|
|
53
|
-
"properties": {
|
|
54
|
-
"expectedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
55
|
-
"configuredCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
56
|
-
"missingMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
57
|
-
"unexpectedMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
58
|
-
"executedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
59
|
-
"missingCaseIds": { "$ref": "#/$defs/caseIds" }
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"routing": {
|
|
63
|
-
"type": "array",
|
|
64
|
-
"maxItems": 8,
|
|
65
|
-
"items": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"additionalProperties": false,
|
|
68
|
-
"required": ["runner", "expectedCaseIds", "executedCaseIds", "missingCaseIds"],
|
|
69
|
-
"properties": {
|
|
70
|
-
"runner": { "enum": ["codex", "claude"] },
|
|
71
|
-
"expectedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
72
|
-
"executedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
73
|
-
"missingCaseIds": { "$ref": "#/$defs/caseIds" }
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"writable": {
|
|
78
|
-
"type": "object",
|
|
79
|
-
"additionalProperties": false,
|
|
80
|
-
"required": ["expectedCaseIds", "configuredCaseIds", "missingMatrixCaseIds", "unexpectedMatrixCaseIds", "duplicateMatrixCaseIds", "missingTargetCaseIds", "unexpectedTargetCaseIds", "duplicateTargetCaseIds", "invalidTargetCaseIds", "missingFixtureCaseIds", "missingOracleCaseIds", "executedCaseIds", "missingCaseIds"],
|
|
81
|
-
"properties": {
|
|
82
|
-
"expectedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
83
|
-
"configuredCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
84
|
-
"missingMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
85
|
-
"unexpectedMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
86
|
-
"duplicateMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
87
|
-
"missingTargetCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
88
|
-
"unexpectedTargetCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
89
|
-
"duplicateTargetCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
90
|
-
"invalidTargetCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
91
|
-
"missingFixtureCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
92
|
-
"missingOracleCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
93
|
-
"executedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
94
|
-
"missingCaseIds": { "$ref": "#/$defs/caseIds" }
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"review": {
|
|
98
|
-
"type": "object",
|
|
99
|
-
"additionalProperties": false,
|
|
100
|
-
"required": ["expectedCaseIds", "configuredCaseIds", "missingMatrixCaseIds", "unexpectedMatrixCaseIds", "skillReady", "executedCaseIds", "missingCaseIds"],
|
|
101
|
-
"properties": {
|
|
102
|
-
"expectedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
103
|
-
"configuredCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
104
|
-
"missingMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
105
|
-
"unexpectedMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
106
|
-
"skillReady": { "type": "boolean" },
|
|
107
|
-
"executedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
108
|
-
"missingCaseIds": { "$ref": "#/$defs/caseIds" }
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"registry": {
|
|
112
|
-
"type": "object",
|
|
113
|
-
"additionalProperties": false,
|
|
114
|
-
"required": ["caseCountMatches", "missingWritableCaseIds", "unexpectedWritableCaseIds"],
|
|
115
|
-
"properties": {
|
|
116
|
-
"caseCountMatches": { "type": "boolean" },
|
|
117
|
-
"missingWritableCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
118
|
-
"unexpectedWritableCaseIds": { "$ref": "#/$defs/caseIds" }
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"validation": {
|
|
122
|
-
"type": "object",
|
|
123
|
-
"additionalProperties": false,
|
|
124
|
-
"required": ["expectedCommands", "configuredCommands", "missingCommands", "executedCommands", "missingExecutedCommands"],
|
|
125
|
-
"properties": {
|
|
126
|
-
"expectedCommands": { "$ref": "#/$defs/commands" },
|
|
127
|
-
"configuredCommands": { "$ref": "#/$defs/commands" },
|
|
128
|
-
"missingCommands": { "$ref": "#/$defs/commands" },
|
|
129
|
-
"executedCommands": { "$ref": "#/$defs/commands" },
|
|
130
|
-
"missingExecutedCommands": { "$ref": "#/$defs/commands" }
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"targetValidation": {
|
|
134
|
-
"type": "object",
|
|
135
|
-
"additionalProperties": false,
|
|
136
|
-
"required": ["expectedCaseIds", "commands", "executedCaseIds", "passedCaseIds", "failedCaseIds", "missingCaseIds"],
|
|
137
|
-
"properties": {
|
|
138
|
-
"expectedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
139
|
-
"commands": { "$ref": "#/$defs/commands" },
|
|
140
|
-
"executedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
141
|
-
"passedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
142
|
-
"failedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
143
|
-
"missingCaseIds": { "$ref": "#/$defs/caseIds" }
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"generatedTests": {
|
|
147
|
-
"type": "object",
|
|
148
|
-
"additionalProperties": false,
|
|
149
|
-
"required": ["expectedCaseIds", "configuredCaseIds", "missingMatrixCaseIds", "unexpectedMatrixCaseIds", "duplicateMatrixCaseIds", "executedCaseIds", "passedCaseIds", "failedCaseIds", "missingCaseIds"],
|
|
150
|
-
"properties": {
|
|
151
|
-
"expectedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
152
|
-
"configuredCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
153
|
-
"missingMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
154
|
-
"unexpectedMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
155
|
-
"duplicateMatrixCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
156
|
-
"executedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
157
|
-
"passedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
158
|
-
"failedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
159
|
-
"missingCaseIds": { "$ref": "#/$defs/caseIds" }
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"steps": {
|
|
165
|
-
"type": "array",
|
|
166
|
-
"maxItems": 2000,
|
|
167
|
-
"items": {
|
|
168
|
-
"type": "object",
|
|
169
|
-
"additionalProperties": false,
|
|
170
|
-
"required": ["id", "kind", "status", "exitStatus", "durationMs", "resultPaths"],
|
|
171
|
-
"properties": {
|
|
172
|
-
"id": { "type": "string", "maxLength": 160 },
|
|
173
|
-
"kind": { "enum": ["deterministic", "validation", "routing", "fixture", "writable", "target-validation", "generated-test", "review", "dependency-guard"] },
|
|
174
|
-
"caseId": { "type": "string", "pattern": "^OMH-[0-9]{3}$" },
|
|
175
|
-
"runner": { "enum": ["codex", "claude"] },
|
|
176
|
-
"testRunner": { "enum": ["jest", "playwright-api", "playwright-browser"] },
|
|
177
|
-
"artifact": { "type": "string", "maxLength": 300 },
|
|
178
|
-
"network": { "enum": ["none", "loopback"] },
|
|
179
|
-
"executor": { "const": "node" },
|
|
180
|
-
"cliPackage": { "enum": ["jest", "@playwright/test"] },
|
|
181
|
-
"cliSha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
182
|
-
"argv": { "type": "array", "maxItems": 20, "items": { "type": "string", "minLength": 1, "maxLength": 300 } },
|
|
183
|
-
"command": { "type": "string", "maxLength": 1000 },
|
|
184
|
-
"testCounts": {
|
|
185
|
-
"type": "object",
|
|
186
|
-
"additionalProperties": false,
|
|
187
|
-
"required": ["passedTests", "skippedTests", "todoTests", "expectedFailureTests"],
|
|
188
|
-
"properties": {
|
|
189
|
-
"passedTests": { "type": "integer", "minimum": 1 },
|
|
190
|
-
"skippedTests": { "const": 0 },
|
|
191
|
-
"todoTests": { "const": 0 },
|
|
192
|
-
"expectedFailureTests": { "const": 0 }
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"status": { "enum": ["pass", "fail", "skipped"] },
|
|
196
|
-
"exitStatus": { "type": ["integer", "null"] },
|
|
197
|
-
"durationMs": { "type": "integer", "minimum": 0 },
|
|
198
|
-
"resultPaths": { "type": "array", "maxItems": 1000, "uniqueItems": true, "items": { "type": "string", "maxLength": 300 } },
|
|
199
|
-
"observedCaseIds": { "$ref": "#/$defs/caseIds" },
|
|
200
|
-
"sanitizedError": { "type": "string", "maxLength": 2000 }
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
"metrics": {
|
|
205
|
-
"type": "object",
|
|
206
|
-
"additionalProperties": false,
|
|
207
|
-
"required": ["outcomes", "firstPass", "corrections", "context", "misuse", "reviewVerdicts"],
|
|
208
|
-
"properties": {
|
|
209
|
-
"outcomes": { "type": "object", "additionalProperties": false, "required": ["results", "passed", "failed"], "properties": { "results": { "type": "integer", "minimum": 0 }, "passed": { "type": "integer", "minimum": 0 }, "failed": { "type": "integer", "minimum": 0 } } },
|
|
210
|
-
"firstPass": { "type": "object", "additionalProperties": false, "required": ["eligibleResults", "passedFirstPass", "ratePct"], "properties": { "eligibleResults": { "type": "integer", "minimum": 0 }, "passedFirstPass": { "type": "integer", "minimum": 0 }, "ratePct": { "type": "number", "minimum": 0, "maximum": 100 } } },
|
|
211
|
-
"corrections": { "type": "object", "additionalProperties": false, "required": ["total", "resultsWithCorrections", "ratePct"], "properties": { "total": { "type": "integer", "minimum": 0 }, "resultsWithCorrections": { "type": "integer", "minimum": 0 }, "ratePct": { "type": "number", "minimum": 0, "maximum": 100 } } },
|
|
212
|
-
"context": { "type": "object", "additionalProperties": false, "required": ["measuredResults", "totalEstimatedTokens", "averageEstimatedTokens", "p95EstimatedTokens", "maxEstimatedTokens", "totalEstimatedInitialTokens", "averageEstimatedInitialTokens"], "properties": { "measuredResults": { "type": "integer", "minimum": 0 }, "totalEstimatedTokens": { "type": "integer", "minimum": 0 }, "averageEstimatedTokens": { "type": "integer", "minimum": 0 }, "p95EstimatedTokens": { "type": "integer", "minimum": 0 }, "maxEstimatedTokens": { "type": "integer", "minimum": 0 }, "totalEstimatedInitialTokens": { "type": "integer", "minimum": 0 }, "averageEstimatedInitialTokens": { "type": "integer", "minimum": 0 } } },
|
|
213
|
-
"misuse": { "type": "object", "additionalProperties": false, "required": ["totalViolations", "resultsWithViolations", "ratePct", "byCategory"], "properties": { "totalViolations": { "type": "integer", "minimum": 0 }, "resultsWithViolations": { "type": "integer", "minimum": 0 }, "ratePct": { "type": "number", "minimum": 0, "maximum": 100 }, "byCategory": { "type": "object", "additionalProperties": false, "required": ["safety", "contract", "execution", "quality"], "properties": { "safety": { "type": "integer", "minimum": 0 }, "contract": { "type": "integer", "minimum": 0 }, "execution": { "type": "integer", "minimum": 0 }, "quality": { "type": "integer", "minimum": 0 } } } } },
|
|
214
|
-
"reviewVerdicts": { "type": "object", "additionalProperties": false, "required": ["approve", "requestChanges", "error"], "properties": { "approve": { "type": "integer", "minimum": 0 }, "requestChanges": { "type": "integer", "minimum": 0 }, "error": { "type": "integer", "minimum": 0 } } }
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"violations": { "type": "array", "maxItems": 256, "items": { "type": "string", "maxLength": 300 } }
|
|
218
|
-
}
|
|
219
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://open-mercato.dev/schemas/standalone-harness-result.schema.json",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"additionalProperties": false,
|
|
6
|
-
"required": ["schemaVersion", "caseId", "promptHash", "runner", "runnerVersion", "model", "evaluationKind", "selectedRouter", "selectedSkills", "selectedContext", "decisions", "violations", "durationMs", "exitStatus", "status", "actualContext", "declaredContext"],
|
|
7
|
-
"properties": {
|
|
8
|
-
"schemaVersion": { "const": 1 },
|
|
9
|
-
"caseId": { "type": "string", "pattern": "^OMH-[0-9]{3}$" },
|
|
10
|
-
"promptHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
11
|
-
"runner": { "enum": ["deterministic", "codex", "claude"] },
|
|
12
|
-
"runnerVersion": { "type": "string", "maxLength": 200 },
|
|
13
|
-
"model": { "type": "string", "maxLength": 200 },
|
|
14
|
-
"reasoningEffort": { "enum": ["minimal", "low", "medium", "high", "xhigh"] },
|
|
15
|
-
"evaluationKind": { "enum": ["static", "routing", "implementation", "regression"] },
|
|
16
|
-
"selectedRouter": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
17
|
-
"selectedSkills": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
18
|
-
"selectedContext": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
19
|
-
"decisions": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
20
|
-
"violations": { "type": "array", "items": { "type": "string", "maxLength": 300 } },
|
|
21
|
-
"attempts": { "type": "integer", "minimum": 1, "maximum": 3 },
|
|
22
|
-
"corrections": { "type": "integer", "minimum": 0, "maximum": 2 },
|
|
23
|
-
"durationMs": { "type": "integer", "minimum": 0 },
|
|
24
|
-
"exitStatus": { "type": ["integer", "null"] },
|
|
25
|
-
"status": { "enum": ["pass", "fail", "error"] },
|
|
26
|
-
"sanitizedError": { "type": "string", "maxLength": 4096 },
|
|
27
|
-
"refusedContextReads": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
28
|
-
"actualContext": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"additionalProperties": false,
|
|
31
|
-
"required": ["paths", "files", "bytes", "estimatedTokens", "initialPaths", "initialFiles", "initialBytes", "estimatedInitialTokens", "metadataPaths", "metadataEntries", "metadataBytes"],
|
|
32
|
-
"properties": {
|
|
33
|
-
"paths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
34
|
-
"files": { "type": "integer", "minimum": 0 },
|
|
35
|
-
"bytes": { "type": "integer", "minimum": 0 },
|
|
36
|
-
"estimatedTokens": { "type": "integer", "minimum": 0 },
|
|
37
|
-
"initialPaths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
38
|
-
"initialFiles": { "type": "integer", "minimum": 0 },
|
|
39
|
-
"initialBytes": { "type": "integer", "minimum": 0 },
|
|
40
|
-
"estimatedInitialTokens": { "type": "integer", "minimum": 0 },
|
|
41
|
-
"metadataPaths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
42
|
-
"metadataEntries": { "type": "integer", "minimum": 0 },
|
|
43
|
-
"metadataBytes": { "type": "integer", "minimum": 0 }
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"declaredContext": {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"additionalProperties": false,
|
|
49
|
-
"required": ["paths", "files", "bytes", "estimatedTokens", "initialPaths", "initialFiles", "initialBytes", "estimatedInitialTokens", "metadataPaths", "metadataEntries", "metadataBytes"],
|
|
50
|
-
"properties": {
|
|
51
|
-
"paths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
52
|
-
"files": { "type": "integer", "minimum": 0 },
|
|
53
|
-
"bytes": { "type": "integer", "minimum": 0 },
|
|
54
|
-
"estimatedTokens": { "type": "integer", "minimum": 0 },
|
|
55
|
-
"initialPaths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
56
|
-
"initialFiles": { "type": "integer", "minimum": 0 },
|
|
57
|
-
"initialBytes": { "type": "integer", "minimum": 0 },
|
|
58
|
-
"estimatedInitialTokens": { "type": "integer", "minimum": 0 },
|
|
59
|
-
"metadataPaths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
60
|
-
"metadataEntries": { "type": "integer", "minimum": 0 },
|
|
61
|
-
"metadataBytes": { "type": "integer", "minimum": 0 }
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"writable": {
|
|
65
|
-
"type": "object",
|
|
66
|
-
"additionalProperties": false,
|
|
67
|
-
"required": ["changedPaths", "beforeOraclePassed", "afterOraclePassed", "targetFingerprint"],
|
|
68
|
-
"properties": {
|
|
69
|
-
"changedPaths": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
70
|
-
"beforeOraclePassed": { "type": "boolean" },
|
|
71
|
-
"afterOraclePassed": { "type": "boolean" },
|
|
72
|
-
"targetFingerprint": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|