@aiwg/cli 2026.9.24 → 2026.10.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/agentic/code/providers/capability-matrix.yaml +2 -1
- package/dist/src/artifacts/discovery-shadow-evaluator.js +177 -0
- package/dist/src/artifacts/discovery-shadow.js +195 -0
- package/dist/src/artifacts/index-builder.js +47 -9
- package/dist/src/artifacts/query-engine.js +94 -1
- package/dist/src/artifacts/types.js +1 -0
- package/dist/src/cli/handlers/decision.js +88 -0
- package/dist/src/cli/handlers/gates.js +154 -0
- package/dist/src/cli/handlers/index.js +5 -1
- package/dist/src/cli/handlers/sessions.js +10 -7
- package/dist/src/cli/handlers/utilities.js +20 -0
- package/dist/src/config/aiwg-config.js +15 -2
- package/dist/src/decision/acceptance.js +25 -0
- package/dist/src/decision/adapters/jev.js +24 -2
- package/dist/src/decision/calibration/registry.js +9 -0
- package/dist/src/decision/compose.js +74 -15
- package/dist/src/decision/context-live-promotion.js +344 -0
- package/dist/src/decision/context-live-qualification.js +591 -0
- package/dist/src/decision/context-pruning.js +847 -0
- package/dist/src/decision/driver.js +430 -0
- package/dist/src/decision/egress-live-qualification.js +874 -0
- package/dist/src/decision/ensemble/contract.js +64 -1
- package/dist/src/decision/ensemble/index.js +1 -0
- package/dist/src/decision/ensemble/report.js +8 -42
- package/dist/src/decision/ensemble/runtime.js +571 -0
- package/dist/src/decision/ensemble-study/artifacts.js +85 -0
- package/dist/src/decision/ensemble-study/calibration.js +443 -0
- package/dist/src/decision/ensemble-study/corpus.js +229 -0
- package/dist/src/decision/ensemble-study/multifact-artifacts.js +23 -0
- package/dist/src/decision/ensemble-study/multifact-study.js +596 -0
- package/dist/src/decision/ensemble-study/multifact.js +241 -0
- package/dist/src/decision/ensemble-study/protocol.js +77 -0
- package/dist/src/decision/ensemble-study/score.js +462 -0
- package/dist/src/decision/ensemble-study/staged.js +87 -0
- package/dist/src/decision/ensemble-study/statistics.js +84 -0
- package/dist/src/decision/evaluate.js +227 -14
- package/dist/src/decision/export.js +4 -0
- package/dist/src/decision/feature-export.js +1074 -0
- package/dist/src/decision/graph-index.js +16 -0
- package/dist/src/decision/graph-live-qualification.js +1041 -0
- package/dist/src/decision/graph-live-workload.js +245 -0
- package/dist/src/decision/graph-skill-bridge.js +21 -3
- package/dist/src/decision/heldout/calibration.js +140 -0
- package/dist/src/decision/heldout/collector.js +430 -0
- package/dist/src/decision/heldout/contract.js +309 -0
- package/dist/src/decision/heldout/d29-generator-ids.js +12 -0
- package/dist/src/decision/heldout/d29-passage-baseline-v2.js +93 -0
- package/dist/src/decision/heldout/d29-passage-baseline-v3.js +100 -0
- package/dist/src/decision/heldout/d29-passage-baseline.js +66 -0
- package/dist/src/decision/heldout/d29-pools-v8.js +575 -0
- package/dist/src/decision/heldout/d29-pools.js +288 -0
- package/dist/src/decision/heldout/d29-v6.js +169 -0
- package/dist/src/decision/heldout/d29-v7.js +202 -0
- package/dist/src/decision/heldout/d29-v8.js +586 -0
- package/dist/src/decision/heldout/generator-registry.js +67 -0
- package/dist/src/decision/heldout/generators.js +696 -0
- package/dist/src/decision/heldout/index.js +8 -0
- package/dist/src/decision/heldout/journal.js +346 -0
- package/dist/src/decision/heldout/study-generators.js +64 -0
- package/dist/src/decision/heldout/types.js +2 -0
- package/dist/src/decision/host-policy.js +61 -0
- package/dist/src/decision/index.js +11 -0
- package/dist/src/decision/interop-profile.v1.json +112 -0
- package/dist/src/decision/interop.js +653 -0
- package/dist/src/decision/issue-triage/index.js +3 -0
- package/dist/src/decision/issue-triage/runtime.js +1069 -0
- package/dist/src/decision/issue-triage/types.js +2 -0
- package/dist/src/decision/patterns/catalog.js +28 -8
- package/dist/src/decision/patterns/playground.js +28 -11
- package/dist/src/decision/patterns/specs.js +19 -10
- package/dist/src/decision/preprocessed-evidence.js +724 -0
- package/dist/src/decision/qualification/capture.js +8 -2
- package/dist/src/decision/qualification/gate-evidence.js +19 -4
- package/dist/src/decision/qualification/quality.js +57 -49
- package/dist/src/decision/qualification/release.js +76 -3
- package/dist/src/decision/qualification/runner.js +5 -2
- package/dist/src/decision/routing/contract.js +175 -0
- package/dist/src/decision/routing/index.js +5 -0
- package/dist/src/decision/routing/report.js +216 -0
- package/dist/src/decision/routing/runtime.js +685 -0
- package/dist/src/decision/routing/types.js +2 -0
- package/dist/src/decision/sdlc-screening.js +1157 -0
- package/dist/src/decision/sensitivity/comparative.js +154 -0
- package/dist/src/decision/sensitivity/contract.js +218 -0
- package/dist/src/decision/sensitivity/index.js +5 -0
- package/dist/src/decision/sensitivity/runtime.js +912 -0
- package/dist/src/decision/sensitivity/types.js +2 -0
- package/dist/src/decision/validate.js +26 -0
- package/dist/src/extensions/commands/definitions.js +38 -0
- package/dist/src/extensions/manifest.js +44 -0
- package/dist/src/gates/discovery.js +315 -0
- package/dist/src/gates/driver.js +388 -0
- package/dist/src/gates/evaluate.js +719 -0
- package/dist/src/gates/floors.js +255 -0
- package/dist/src/gates/index.js +17 -0
- package/dist/src/gates/providers/evidence.js +38 -0
- package/dist/src/gates/providers/index.js +21 -0
- package/dist/src/gates/providers/isolated-child-source.js +446 -0
- package/dist/src/gates/providers/loader.js +1069 -0
- package/dist/src/gates/providers/paired.js +52 -0
- package/dist/src/gates/providers/proportion.js +60 -0
- package/dist/src/gates/providers/registry.js +40 -0
- package/dist/src/gates/providers/scalar.js +41 -0
- package/dist/src/gates/providers/screening.js +53 -0
- package/dist/src/gates/providers/types.js +25 -0
- package/dist/src/gates/registry.js +1003 -0
- package/dist/src/gates/report.js +102 -0
- package/dist/src/gates/schema.js +56 -0
- package/dist/src/gates/stats/binomial.js +26 -0
- package/dist/src/gates/stats/bootstrap.js +62 -0
- package/dist/src/gates/stats/clopper-pearson.js +95 -0
- package/dist/src/gates/stats/digest.js +26 -0
- package/dist/src/gates/stats/error.js +5 -0
- package/dist/src/gates/stats/index.js +9 -0
- package/dist/src/gates/stats/normal.js +35 -0
- package/dist/src/gates/stats/paired.js +120 -0
- package/dist/src/gates/stats/splits.js +30 -0
- package/dist/src/gates/types.js +8 -0
- package/dist/src/governance/redaction.js +14 -4
- package/dist/src/mcp/muse-native-config.mjs +123 -0
- package/dist/src/mcp/tools/decision.mjs +188 -0
- package/dist/src/mcp/tools/subsystems.mjs +2 -0
- package/dist/src/providers/capability-matrix.yaml +2 -1
- package/dist/src/providers/provider-definitions.js +2 -1
- package/dist/src/sessions/adapters/muse.js +336 -39
- package/dist/src/sessions/batch-import.js +7 -0
- package/dist/src/sessions/workspace-discovery.js +13 -2
- package/package.json +1 -1
- package/schemas/decision/ConformalFrozenOpenData.v2.schema.json +371 -0
- package/schemas/decision/ConformalOpenDataReport.v2.schema.json +421 -0
- package/schemas/decision/ConformalPreregistration.v2.schema.json +529 -0
- package/schemas/decision/ContextPruningCandidate.v1.schema.json +47 -0
- package/schemas/decision/ContextPruningEvaluationReport.v1.schema.json +758 -0
- package/schemas/decision/ContextPruningPreregistration.v1.schema.json +175 -0
- package/schemas/decision/ContextPruningReceipt.v1.schema.json +72 -0
- package/schemas/decision/D17Multifact.v1.schema.json +1851 -0
- package/schemas/decision/D17StudyAnalysis.v1.schema.json +42 -0
- package/schemas/decision/D17StudyAnalysis.v2.schema.json +51 -0
- package/schemas/decision/D17StudyCalibration.v1.schema.json +819 -0
- package/schemas/decision/D17StudyDryRun.v1.schema.json +169 -0
- package/schemas/decision/D17StudyDryRun.v2.schema.json +239 -0
- package/schemas/decision/D17StudyGold.v1.schema.json +108 -0
- package/schemas/decision/D17StudyGuide.v1.schema.json +63 -0
- package/schemas/decision/D17StudyNativeTemplates.v1.schema.json +619 -0
- package/schemas/decision/D17StudyProtocol.v1.schema.json +241 -0
- package/schemas/decision/D17StudyReport.v1.schema.json +902 -0
- package/schemas/decision/D17StudyReport.v2.schema.json +1319 -0
- package/schemas/decision/D17StudyReview.v1.schema.json +175 -0
- package/schemas/decision/D17StudySplits.v1.schema.json +217 -0
- package/schemas/decision/D29Study.v1.schema.json +1903 -0
- package/schemas/decision/D29Study.v2.schema.json +1344 -0
- package/schemas/decision/D29Study.v3.schema.json +609 -0
- package/schemas/decision/D29Study.v4.schema.json +1133 -0
- package/schemas/decision/D29Study.v6.schema.json +1205 -0
- package/schemas/decision/D29Study.v7.schema.json +1471 -0
- package/schemas/decision/D29Study.v8.schema.json +671 -0
- package/schemas/decision/D29Study.v9.schema.json +778 -0
- package/schemas/decision/DecisionComparativeReplayAuditSample.v1.schema.json +137 -0
- package/schemas/decision/DecisionComparativeReplayCorpus.v1.schema.json +258 -0
- package/schemas/decision/DecisionComparativeReplayFreeze.v1.schema.json +74 -0
- package/schemas/decision/DecisionComparativeReplayGold.v1.schema.json +50 -0
- package/schemas/decision/DecisionComparativeReplayGoldAsset.v1.schema.json +37 -0
- package/schemas/decision/DecisionComparativeReplayIntegrity.v1.schema.json +81 -0
- package/schemas/decision/DecisionComparativeReplayMembers.v1.schema.json +52 -0
- package/schemas/decision/DecisionComparativeReplayPreregistration.v1.schema.json +113 -0
- package/schemas/decision/DecisionComparativeReplayReport.v1.schema.json +407 -0
- package/schemas/decision/DecisionComparativeReplayReviewPackets.v1.schema.json +260 -0
- package/schemas/decision/DecisionComparativeReplaySplit.v1.schema.json +84 -0
- package/schemas/decision/DecisionFeatureObservation.v1.schema.json +564 -0
- package/schemas/decision/DecisionFeatureSet.v1.schema.json +155 -0
- package/schemas/decision/DecisionInteropMapping.v1.schema.json +85 -0
- package/schemas/decision/DecisionIssueTriageEvaluationManifest.v1.schema.json +174 -0
- package/schemas/decision/DecisionIssueTriageEvaluationReport.v1.schema.json +280 -0
- package/schemas/decision/DecisionIssueTriagePilotPack.v1.schema.json +114 -0
- package/schemas/decision/DecisionRouteReceipt.v1.schema.json +155 -0
- package/schemas/decision/DecisionRoutingPolicy.v1.schema.json +132 -0
- package/schemas/decision/DecisionRoutingShadowReport.v1.schema.json +170 -0
- package/schemas/decision/DecisionRoutingTask.v1.schema.json +49 -0
- package/schemas/decision/DecisionRuleset.schema.json +8 -2
- package/schemas/decision/DecisionRuleset.v1alpha2.schema.json +8 -2
- package/schemas/decision/DecisionSensitivityPlan.v1.schema.json +191 -0
- package/schemas/decision/DecisionSensitivityReport.v1.schema.json +163 -0
- package/schemas/decision/HeldoutApproval.v1.schema.json +312 -0
- package/schemas/decision/HeldoutAttempt.v1.schema.json +211 -0
- package/schemas/decision/HeldoutBaseline.v1.schema.json +90 -0
- package/schemas/decision/HeldoutCalibrationPhase.v1.schema.json +87 -0
- package/schemas/decision/HeldoutCorpus.v1.schema.json +167 -0
- package/schemas/decision/HeldoutEvent.v1.schema.json +41 -0
- package/schemas/decision/HeldoutFrozen.v1.schema.json +142 -0
- package/schemas/decision/HeldoutPreregistration.v1.schema.json +222 -0
- package/schemas/decision/HeldoutSpendEvent.v1.schema.json +122 -0
- package/schemas/decision/HeldoutSpendHead.v1.schema.json +25 -0
- package/schemas/decision/HeldoutSpendHead.v2.schema.json +46 -0
- package/schemas/decision/HeldoutSummary.v1.schema.json +101 -0
- package/schemas/decision/OpaDecisionLogExport.v1.schema.json +65 -0
- package/schemas/decision/PreprocessedEvidence.v1.schema.json +306 -0
- package/schemas/decision/RulesetResult.v1alpha2.schema.json +175 -0
- package/schemas/decision/SdlcEvidenceScreening.v1.schema.json +499 -0
- package/schemas/decision/SdlcScreeningPreregistration.v1.schema.json +132 -0
- package/schemas/decision/SdlcScreeningPreregistration.v2.schema.json +138 -0
- package/schemas/decision/SdlcScreeningRelease.v1.schema.json +654 -0
- package/schemas/decision/SdlcScreeningRelease.v2.schema.json +654 -0
- package/tools/agents/deploy-agents.mjs +1 -1
- package/tools/agents/providers/base.mjs +26 -7
- package/tools/agents/providers/factory.mjs +10 -2
- package/tools/agents/providers/muse-hooks.mjs +1 -29
- package/tools/agents/providers/muse.mjs +6 -3
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/HeldoutBaseline.v1.schema.json",
|
|
4
|
+
"title": "HeldoutBaseline",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"scope",
|
|
10
|
+
"usdMicros",
|
|
11
|
+
"approvalDigest",
|
|
12
|
+
"counterGenesisDigest",
|
|
13
|
+
"budget"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"schemaVersion": {
|
|
17
|
+
"const": "decision-heldout-baseline/v1"
|
|
18
|
+
},
|
|
19
|
+
"scope": {
|
|
20
|
+
"enum": [
|
|
21
|
+
"portfolio",
|
|
22
|
+
"D17",
|
|
23
|
+
"D29"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"usdMicros": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0,
|
|
29
|
+
"maximum": 48000000
|
|
30
|
+
},
|
|
31
|
+
"approvalDigest": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
34
|
+
},
|
|
35
|
+
"counterGenesisDigest": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
38
|
+
},
|
|
39
|
+
"budget": {
|
|
40
|
+
"type": [
|
|
41
|
+
"object",
|
|
42
|
+
"null"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"required": [
|
|
46
|
+
"calls",
|
|
47
|
+
"tokens",
|
|
48
|
+
"usd"
|
|
49
|
+
],
|
|
50
|
+
"properties": {
|
|
51
|
+
"calls": {
|
|
52
|
+
"type": "integer",
|
|
53
|
+
"minimum": 1,
|
|
54
|
+
"maximum": 9007199254740991
|
|
55
|
+
},
|
|
56
|
+
"tokens": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"minimum": 1,
|
|
59
|
+
"maximum": 9007199254740991
|
|
60
|
+
},
|
|
61
|
+
"usd": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"exclusiveMinimum": 0,
|
|
64
|
+
"maximum": 8
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"if": {
|
|
70
|
+
"properties": {
|
|
71
|
+
"scope": {
|
|
72
|
+
"const": "portfolio"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"then": {
|
|
77
|
+
"properties": {
|
|
78
|
+
"budget": {
|
|
79
|
+
"type": "null"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"else": {
|
|
84
|
+
"properties": {
|
|
85
|
+
"budget": {
|
|
86
|
+
"type": "object"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/HeldoutCalibrationPhase.v1.schema.json",
|
|
4
|
+
"title": "HeldoutCalibrationPhase",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"study",
|
|
10
|
+
"runId",
|
|
11
|
+
"corpusDigest",
|
|
12
|
+
"preregistrationDigest",
|
|
13
|
+
"approvalDigest",
|
|
14
|
+
"sealedAt",
|
|
15
|
+
"rowIds",
|
|
16
|
+
"lineage",
|
|
17
|
+
"lineageDigest"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schemaVersion": {
|
|
21
|
+
"const": "decision-heldout-calibration-phase/v1"
|
|
22
|
+
},
|
|
23
|
+
"study": {
|
|
24
|
+
"enum": [
|
|
25
|
+
"D17",
|
|
26
|
+
"D29"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"runId": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
32
|
+
},
|
|
33
|
+
"corpusDigest": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
36
|
+
},
|
|
37
|
+
"preregistrationDigest": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
40
|
+
},
|
|
41
|
+
"approvalDigest": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
44
|
+
},
|
|
45
|
+
"sealedAt": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": "date-time"
|
|
48
|
+
},
|
|
49
|
+
"rowIds": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"minItems": 1,
|
|
52
|
+
"maxItems": 20000,
|
|
53
|
+
"uniqueItems": true,
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"lineage": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"minItems": 1,
|
|
62
|
+
"maxItems": 20000,
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": [
|
|
67
|
+
"runId",
|
|
68
|
+
"evidenceDigest"
|
|
69
|
+
],
|
|
70
|
+
"properties": {
|
|
71
|
+
"runId": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
74
|
+
},
|
|
75
|
+
"evidenceDigest": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"lineageDigest": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/HeldoutCorpus.v1.schema.json",
|
|
4
|
+
"title": "HeldoutCorpus",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"study",
|
|
10
|
+
"syntheticOnly",
|
|
11
|
+
"provenance",
|
|
12
|
+
"definitions",
|
|
13
|
+
"rows"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"schemaVersion": {
|
|
17
|
+
"const": "decision-heldout-corpus/v1"
|
|
18
|
+
},
|
|
19
|
+
"study": {
|
|
20
|
+
"enum": [
|
|
21
|
+
"D17",
|
|
22
|
+
"D29"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"syntheticOnly": {
|
|
26
|
+
"const": true
|
|
27
|
+
},
|
|
28
|
+
"provenance": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"required": [
|
|
32
|
+
"kind",
|
|
33
|
+
"generatorDigest",
|
|
34
|
+
"seed",
|
|
35
|
+
"goldDigest"
|
|
36
|
+
],
|
|
37
|
+
"properties": {
|
|
38
|
+
"kind": {
|
|
39
|
+
"const": "authored-synthetic"
|
|
40
|
+
},
|
|
41
|
+
"generatorDigest": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
44
|
+
},
|
|
45
|
+
"seed": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"pattern": "^[a-z0-9][a-z0-9-]{0,31}$"
|
|
48
|
+
},
|
|
49
|
+
"goldDigest": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"definitions": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"minItems": 1,
|
|
58
|
+
"maxItems": 32,
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "object"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"rows": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"minItems": 1,
|
|
66
|
+
"maxItems": 20000,
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": [
|
|
71
|
+
"id",
|
|
72
|
+
"familyId",
|
|
73
|
+
"split",
|
|
74
|
+
"slice",
|
|
75
|
+
"input",
|
|
76
|
+
"requests",
|
|
77
|
+
"localOutcome",
|
|
78
|
+
"provenance"
|
|
79
|
+
],
|
|
80
|
+
"properties": {
|
|
81
|
+
"id": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
84
|
+
},
|
|
85
|
+
"familyId": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
88
|
+
},
|
|
89
|
+
"split": {
|
|
90
|
+
"enum": [
|
|
91
|
+
"tuning",
|
|
92
|
+
"calibration",
|
|
93
|
+
"test"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"slice": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
99
|
+
},
|
|
100
|
+
"input": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"required": [
|
|
104
|
+
"payload"
|
|
105
|
+
],
|
|
106
|
+
"properties": {
|
|
107
|
+
"payload": {}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"requests": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"minItems": 0,
|
|
113
|
+
"maxItems": 16,
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"required": [
|
|
118
|
+
"id",
|
|
119
|
+
"arm",
|
|
120
|
+
"definitionId"
|
|
121
|
+
],
|
|
122
|
+
"properties": {
|
|
123
|
+
"id": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
126
|
+
},
|
|
127
|
+
"arm": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
130
|
+
},
|
|
131
|
+
"definitionId": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"localOutcome": {},
|
|
139
|
+
"provenance": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"additionalProperties": false,
|
|
142
|
+
"required": [
|
|
143
|
+
"generatorId",
|
|
144
|
+
"seed",
|
|
145
|
+
"outputDigest"
|
|
146
|
+
],
|
|
147
|
+
"properties": {
|
|
148
|
+
"generatorId": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"minLength": 1,
|
|
151
|
+
"maxLength": 128
|
|
152
|
+
},
|
|
153
|
+
"seed": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"pattern": "^[a-z0-9][a-z0-9-]{0,31}:[0-9]{1,5}:(example|single|local)(:(tuning|calibration|test))?$"
|
|
156
|
+
},
|
|
157
|
+
"outputDigest": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/HeldoutEvent.v1.schema.json",
|
|
4
|
+
"title": "HeldoutEvent",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"sequence",
|
|
10
|
+
"previous",
|
|
11
|
+
"attempt",
|
|
12
|
+
"digest"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"schemaVersion": {
|
|
16
|
+
"const": "decision-heldout-event/v1"
|
|
17
|
+
},
|
|
18
|
+
"sequence": {
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"minimum": 1
|
|
21
|
+
},
|
|
22
|
+
"previous": {
|
|
23
|
+
"anyOf": [
|
|
24
|
+
{
|
|
25
|
+
"type": "string",
|
|
26
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "null"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"attempt": {
|
|
34
|
+
"$ref": "HeldoutAttempt.v1.schema.json"
|
|
35
|
+
},
|
|
36
|
+
"digest": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/HeldoutFrozen.v1.schema.json",
|
|
4
|
+
"title": "HeldoutFrozen",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"approval",
|
|
10
|
+
"bundle",
|
|
11
|
+
"digest",
|
|
12
|
+
"priorRuns",
|
|
13
|
+
"source",
|
|
14
|
+
"baselineDigests",
|
|
15
|
+
"testPhaseAccessAt"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"schemaVersion": {
|
|
19
|
+
"const": "decision-heldout-frozen/v1"
|
|
20
|
+
},
|
|
21
|
+
"approval": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": [
|
|
25
|
+
"study",
|
|
26
|
+
"runId"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"study": {
|
|
30
|
+
"enum": [
|
|
31
|
+
"D17",
|
|
32
|
+
"D29"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"runId": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"bundle": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"required": [
|
|
45
|
+
"corpus",
|
|
46
|
+
"preregistration",
|
|
47
|
+
"approval"
|
|
48
|
+
],
|
|
49
|
+
"properties": {
|
|
50
|
+
"corpus": {
|
|
51
|
+
"$ref": "HeldoutCorpus.v1.schema.json"
|
|
52
|
+
},
|
|
53
|
+
"preregistration": {
|
|
54
|
+
"$ref": "HeldoutPreregistration.v1.schema.json"
|
|
55
|
+
},
|
|
56
|
+
"approval": {
|
|
57
|
+
"$ref": "HeldoutApproval.v1.schema.json"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"digest": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
64
|
+
},
|
|
65
|
+
"priorRuns": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": [
|
|
71
|
+
"runId",
|
|
72
|
+
"evidenceDigest",
|
|
73
|
+
"corpusDigest",
|
|
74
|
+
"study",
|
|
75
|
+
"source"
|
|
76
|
+
],
|
|
77
|
+
"properties": {
|
|
78
|
+
"runId": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"minLength": 1
|
|
81
|
+
},
|
|
82
|
+
"evidenceDigest": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
85
|
+
},
|
|
86
|
+
"corpusDigest": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
89
|
+
},
|
|
90
|
+
"study": {
|
|
91
|
+
"enum": [
|
|
92
|
+
"D17",
|
|
93
|
+
"D29"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"source": {
|
|
97
|
+
"enum": [
|
|
98
|
+
"injected-transport",
|
|
99
|
+
"provider"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"source": {
|
|
106
|
+
"enum": [
|
|
107
|
+
"injected-transport",
|
|
108
|
+
"provider"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"baselineDigests": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"required": [
|
|
115
|
+
"study",
|
|
116
|
+
"portfolio"
|
|
117
|
+
],
|
|
118
|
+
"properties": {
|
|
119
|
+
"study": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
122
|
+
},
|
|
123
|
+
"portfolio": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"testPhaseAccessAt": {
|
|
130
|
+
"type": [
|
|
131
|
+
"string",
|
|
132
|
+
"null"
|
|
133
|
+
],
|
|
134
|
+
"format": "date-time"
|
|
135
|
+
},
|
|
136
|
+
"collectionStartedAt": {
|
|
137
|
+
"description": "Collector clock at session start (ISO 8601 UTC); digest-covered with frozen.json. Absent in runs recorded before #2850.",
|
|
138
|
+
"type": "string",
|
|
139
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|