@aiwg/cli 2026.9.24 → 2026.10.1
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 +177 -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 +29 -3
- package/dist/src/decision/ask.js +352 -0
- 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 +432 -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 +13 -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/jev-credentials.js +121 -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 +228 -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 +40 -18
- 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,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/DecisionComparativeReplayAuditSample.v1.schema.json",
|
|
4
|
+
"title": "DecisionComparativeReplayAuditSample.v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"generatorDigest",
|
|
10
|
+
"splitDigest",
|
|
11
|
+
"goldDigest",
|
|
12
|
+
"status",
|
|
13
|
+
"reviewer",
|
|
14
|
+
"completedAt",
|
|
15
|
+
"itemAssessments",
|
|
16
|
+
"uniqueDevelopmentRoots",
|
|
17
|
+
"uniqueHoldoutRoots",
|
|
18
|
+
"delayedRepeats",
|
|
19
|
+
"artifactReviews",
|
|
20
|
+
"blinding",
|
|
21
|
+
"assessments"
|
|
22
|
+
],
|
|
23
|
+
"properties": {
|
|
24
|
+
"schemaVersion": {
|
|
25
|
+
"const": "decision-comparative-replay-audit-sample/v1"
|
|
26
|
+
},
|
|
27
|
+
"generatorDigest": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
30
|
+
},
|
|
31
|
+
"splitDigest": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
34
|
+
},
|
|
35
|
+
"goldDigest": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
38
|
+
},
|
|
39
|
+
"status": {
|
|
40
|
+
"const": "pending"
|
|
41
|
+
},
|
|
42
|
+
"reviewer": {
|
|
43
|
+
"type": "null"
|
|
44
|
+
},
|
|
45
|
+
"completedAt": {
|
|
46
|
+
"type": "null"
|
|
47
|
+
},
|
|
48
|
+
"itemAssessments": {
|
|
49
|
+
"const": 44
|
|
50
|
+
},
|
|
51
|
+
"uniqueDevelopmentRoots": {
|
|
52
|
+
"const": 20
|
|
53
|
+
},
|
|
54
|
+
"uniqueHoldoutRoots": {
|
|
55
|
+
"const": 20
|
|
56
|
+
},
|
|
57
|
+
"delayedRepeats": {
|
|
58
|
+
"const": 4
|
|
59
|
+
},
|
|
60
|
+
"artifactReviews": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"additionalProperties": false,
|
|
65
|
+
"required": [
|
|
66
|
+
"artifact",
|
|
67
|
+
"status"
|
|
68
|
+
],
|
|
69
|
+
"properties": {
|
|
70
|
+
"artifact": {
|
|
71
|
+
"enum": [
|
|
72
|
+
"protocol-preregistration",
|
|
73
|
+
"final-comparative-report"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"status": {
|
|
77
|
+
"const": "pending"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"minItems": 2,
|
|
82
|
+
"maxItems": 2
|
|
83
|
+
},
|
|
84
|
+
"blinding": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"minLength": 1,
|
|
87
|
+
"maxLength": 1024
|
|
88
|
+
},
|
|
89
|
+
"assessments": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"required": [
|
|
95
|
+
"assessmentId",
|
|
96
|
+
"phase",
|
|
97
|
+
"rootId",
|
|
98
|
+
"repeatOf",
|
|
99
|
+
"pairOrder"
|
|
100
|
+
],
|
|
101
|
+
"properties": {
|
|
102
|
+
"assessmentId": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"pattern": "^audit-[0-9]{2}$"
|
|
105
|
+
},
|
|
106
|
+
"phase": {
|
|
107
|
+
"enum": [
|
|
108
|
+
"development",
|
|
109
|
+
"holdout",
|
|
110
|
+
"delayed-repeat"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"rootId": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"minLength": 1,
|
|
116
|
+
"maxLength": 256
|
|
117
|
+
},
|
|
118
|
+
"repeatOf": {
|
|
119
|
+
"type": [
|
|
120
|
+
"string",
|
|
121
|
+
"null"
|
|
122
|
+
],
|
|
123
|
+
"pattern": "^audit-[0-9]{2}$"
|
|
124
|
+
},
|
|
125
|
+
"pairOrder": {
|
|
126
|
+
"enum": [
|
|
127
|
+
"gold-report",
|
|
128
|
+
"report-gold"
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"minItems": 44,
|
|
134
|
+
"maxItems": 44
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/DecisionComparativeReplayCorpus.v1.schema.json",
|
|
4
|
+
"title": "DecisionComparativeReplayCorpus.v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"seed",
|
|
10
|
+
"generatorDigest",
|
|
11
|
+
"origin",
|
|
12
|
+
"fixtureClock",
|
|
13
|
+
"proceduralFreeze",
|
|
14
|
+
"hostIdentity",
|
|
15
|
+
"hostProbeQuota",
|
|
16
|
+
"deduplication",
|
|
17
|
+
"roots"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schemaVersion": {
|
|
21
|
+
"const": "decision-comparative-replay-corpus/v1"
|
|
22
|
+
},
|
|
23
|
+
"seed": {
|
|
24
|
+
"const": "aiwg-holdout-2497b51d-v1"
|
|
25
|
+
},
|
|
26
|
+
"generatorDigest": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
29
|
+
},
|
|
30
|
+
"origin": {
|
|
31
|
+
"const": "locally-authored-synthetic"
|
|
32
|
+
},
|
|
33
|
+
"fixtureClock": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "date-time"
|
|
36
|
+
},
|
|
37
|
+
"proceduralFreeze": {
|
|
38
|
+
"const": "pending-operator-record"
|
|
39
|
+
},
|
|
40
|
+
"hostIdentity": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"required": [
|
|
44
|
+
"tenantId",
|
|
45
|
+
"workspaceId",
|
|
46
|
+
"projectId",
|
|
47
|
+
"principalId"
|
|
48
|
+
],
|
|
49
|
+
"properties": {
|
|
50
|
+
"tenantId": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 1,
|
|
53
|
+
"maxLength": 256
|
|
54
|
+
},
|
|
55
|
+
"workspaceId": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"minLength": 1,
|
|
58
|
+
"maxLength": 256
|
|
59
|
+
},
|
|
60
|
+
"projectId": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1,
|
|
63
|
+
"maxLength": 256
|
|
64
|
+
},
|
|
65
|
+
"principalId": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"maxLength": 256
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"hostProbeQuota": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"required": [
|
|
76
|
+
"maxEntriesPerPrincipal",
|
|
77
|
+
"maxReportsPerWindow",
|
|
78
|
+
"maxPerPrincipalSubjectPath"
|
|
79
|
+
],
|
|
80
|
+
"properties": {
|
|
81
|
+
"maxEntriesPerPrincipal": {
|
|
82
|
+
"const": 600
|
|
83
|
+
},
|
|
84
|
+
"maxReportsPerWindow": {
|
|
85
|
+
"const": 2
|
|
86
|
+
},
|
|
87
|
+
"maxPerPrincipalSubjectPath": {
|
|
88
|
+
"const": 2
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"deduplication": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"additionalProperties": false,
|
|
95
|
+
"required": [
|
|
96
|
+
"roots",
|
|
97
|
+
"payloads",
|
|
98
|
+
"duplicatePayloads",
|
|
99
|
+
"sourceInputs",
|
|
100
|
+
"duplicateSourceInputs",
|
|
101
|
+
"crossSplitFamilies"
|
|
102
|
+
],
|
|
103
|
+
"properties": {
|
|
104
|
+
"roots": {
|
|
105
|
+
"const": 600
|
|
106
|
+
},
|
|
107
|
+
"payloads": {
|
|
108
|
+
"const": 600
|
|
109
|
+
},
|
|
110
|
+
"duplicatePayloads": {
|
|
111
|
+
"const": 0
|
|
112
|
+
},
|
|
113
|
+
"sourceInputs": {
|
|
114
|
+
"const": 600
|
|
115
|
+
},
|
|
116
|
+
"duplicateSourceInputs": {
|
|
117
|
+
"const": 0
|
|
118
|
+
},
|
|
119
|
+
"crossSplitFamilies": {
|
|
120
|
+
"const": 0
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"roots": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"additionalProperties": false,
|
|
129
|
+
"required": [
|
|
130
|
+
"id",
|
|
131
|
+
"slice",
|
|
132
|
+
"split",
|
|
133
|
+
"payloadDigest",
|
|
134
|
+
"request"
|
|
135
|
+
],
|
|
136
|
+
"properties": {
|
|
137
|
+
"id": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"minLength": 1,
|
|
140
|
+
"maxLength": 256
|
|
141
|
+
},
|
|
142
|
+
"slice": {
|
|
143
|
+
"enum": [
|
|
144
|
+
"threshold-boundary",
|
|
145
|
+
"priority-loss",
|
|
146
|
+
"unchanged-control",
|
|
147
|
+
"unreplayable"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"split": {
|
|
151
|
+
"enum": [
|
|
152
|
+
"tuning",
|
|
153
|
+
"calibration",
|
|
154
|
+
"test"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"payloadDigest": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
160
|
+
},
|
|
161
|
+
"request": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"required": [
|
|
165
|
+
"plan",
|
|
166
|
+
"sourceRuleset",
|
|
167
|
+
"sourceBinding",
|
|
168
|
+
"sourceDefinitions",
|
|
169
|
+
"sourceInput",
|
|
170
|
+
"sourceResult",
|
|
171
|
+
"generatedAt",
|
|
172
|
+
"probeIdentity"
|
|
173
|
+
],
|
|
174
|
+
"properties": {
|
|
175
|
+
"plan": {
|
|
176
|
+
"$ref": "https://aiwg.io/schemas/decision/DecisionSensitivityPlan.v1.schema.json"
|
|
177
|
+
},
|
|
178
|
+
"sourceRuleset": {
|
|
179
|
+
"$ref": "https://aiwg.io/schemas/decision/DecisionRuleset.v1alpha1.schema.json"
|
|
180
|
+
},
|
|
181
|
+
"sourceBinding": {
|
|
182
|
+
"$ref": "https://aiwg.io/schemas/decision/DecisionBinding.v1alpha1.schema.json"
|
|
183
|
+
},
|
|
184
|
+
"sourceDefinitions": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"minProperties": 1,
|
|
187
|
+
"maxProperties": 1,
|
|
188
|
+
"additionalProperties": {
|
|
189
|
+
"$ref": "https://aiwg.io/schemas/decision/DecisionDefinition.v1alpha1.schema.json"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"sourceInput": {
|
|
193
|
+
"type": "object",
|
|
194
|
+
"additionalProperties": false,
|
|
195
|
+
"required": [
|
|
196
|
+
"subject",
|
|
197
|
+
"quantity"
|
|
198
|
+
],
|
|
199
|
+
"properties": {
|
|
200
|
+
"subject": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"pattern": "^Fable-[0-9]{6}$"
|
|
203
|
+
},
|
|
204
|
+
"quantity": {
|
|
205
|
+
"type": "integer",
|
|
206
|
+
"minimum": 1,
|
|
207
|
+
"maximum": 10000
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"sourceResult": {
|
|
212
|
+
"$ref": "https://aiwg.io/schemas/decision/RulesetResult.v1alpha1.schema.json"
|
|
213
|
+
},
|
|
214
|
+
"generatedAt": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"format": "date-time"
|
|
217
|
+
},
|
|
218
|
+
"probeIdentity": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"additionalProperties": false,
|
|
221
|
+
"required": [
|
|
222
|
+
"tenantId",
|
|
223
|
+
"workspaceId",
|
|
224
|
+
"projectId",
|
|
225
|
+
"principalId"
|
|
226
|
+
],
|
|
227
|
+
"properties": {
|
|
228
|
+
"tenantId": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"minLength": 1,
|
|
231
|
+
"maxLength": 256
|
|
232
|
+
},
|
|
233
|
+
"workspaceId": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"minLength": 1,
|
|
236
|
+
"maxLength": 256
|
|
237
|
+
},
|
|
238
|
+
"projectId": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"minLength": 1,
|
|
241
|
+
"maxLength": 256
|
|
242
|
+
},
|
|
243
|
+
"principalId": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"minLength": 1,
|
|
246
|
+
"maxLength": 256
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"minItems": 600,
|
|
255
|
+
"maxItems": 600
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/DecisionComparativeReplayFreeze.v1.schema.json",
|
|
4
|
+
"title": "DecisionComparativeReplayFreeze.v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"status",
|
|
10
|
+
"sourceArtifacts",
|
|
11
|
+
"generatorDigest",
|
|
12
|
+
"preregistrationDigest",
|
|
13
|
+
"operatorRecord",
|
|
14
|
+
"priorTestAccess",
|
|
15
|
+
"contingencyUsd",
|
|
16
|
+
"contingencySpentUsd"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"schemaVersion": {
|
|
20
|
+
"const": "decision-comparative-replay-freeze/v1"
|
|
21
|
+
},
|
|
22
|
+
"status": {
|
|
23
|
+
"const": "local-unverified"
|
|
24
|
+
},
|
|
25
|
+
"sourceArtifacts": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"required": [
|
|
29
|
+
"corpus",
|
|
30
|
+
"gold",
|
|
31
|
+
"split",
|
|
32
|
+
"auditSample"
|
|
33
|
+
],
|
|
34
|
+
"properties": {
|
|
35
|
+
"corpus": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
38
|
+
},
|
|
39
|
+
"gold": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
42
|
+
},
|
|
43
|
+
"split": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
46
|
+
},
|
|
47
|
+
"auditSample": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"generatorDigest": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
56
|
+
},
|
|
57
|
+
"preregistrationDigest": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
60
|
+
},
|
|
61
|
+
"operatorRecord": {
|
|
62
|
+
"type": "null"
|
|
63
|
+
},
|
|
64
|
+
"priorTestAccess": {
|
|
65
|
+
"const": "development implementation inspected this synthetic regression corpus"
|
|
66
|
+
},
|
|
67
|
+
"contingencyUsd": {
|
|
68
|
+
"const": 3
|
|
69
|
+
},
|
|
70
|
+
"contingencySpentUsd": {
|
|
71
|
+
"const": 0
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/DecisionComparativeReplayGold.v1.schema.json",
|
|
4
|
+
"title": "DecisionComparativeReplayGold",
|
|
5
|
+
"type": "array",
|
|
6
|
+
"maxItems": 6000,
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"required": [
|
|
11
|
+
"id",
|
|
12
|
+
"gold"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
},
|
|
19
|
+
"gold": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": [
|
|
23
|
+
"status",
|
|
24
|
+
"outcomeChanged",
|
|
25
|
+
"acceptanceChanged",
|
|
26
|
+
"ruleChanged",
|
|
27
|
+
"unreplayable"
|
|
28
|
+
],
|
|
29
|
+
"properties": {
|
|
30
|
+
"status": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"minLength": 1
|
|
33
|
+
},
|
|
34
|
+
"outcomeChanged": {
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
37
|
+
"acceptanceChanged": {
|
|
38
|
+
"type": "boolean"
|
|
39
|
+
},
|
|
40
|
+
"ruleChanged": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"unreplayable": {
|
|
44
|
+
"type": "boolean"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/DecisionComparativeReplayGoldAsset.v1.schema.json",
|
|
4
|
+
"title": "DecisionComparativeReplayGoldAsset.v1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"comparatorVersion",
|
|
10
|
+
"generatorDigest",
|
|
11
|
+
"roots"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": {
|
|
15
|
+
"const": "decision-comparative-replay-gold/v1"
|
|
16
|
+
},
|
|
17
|
+
"comparatorVersion": {
|
|
18
|
+
"const": "policy-replay-reference-v1"
|
|
19
|
+
},
|
|
20
|
+
"generatorDigest": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
23
|
+
},
|
|
24
|
+
"roots": {
|
|
25
|
+
"allOf": [
|
|
26
|
+
{
|
|
27
|
+
"$ref": "https://aiwg.io/schemas/decision/DecisionComparativeReplayGold.v1.schema.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "array",
|
|
31
|
+
"minItems": 600,
|
|
32
|
+
"maxItems": 600
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/DecisionComparativeReplayIntegrity.v1.schema.json",
|
|
4
|
+
"title": "DecisionComparativeReplayIntegrity",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"sample_n",
|
|
9
|
+
"uncertainty",
|
|
10
|
+
"paired_baseline",
|
|
11
|
+
"integrity_mode",
|
|
12
|
+
"fresh_workspace_required",
|
|
13
|
+
"fresh_workspace_verified",
|
|
14
|
+
"integrity_state",
|
|
15
|
+
"trusted_score_source",
|
|
16
|
+
"compromise_labels",
|
|
17
|
+
"weak_signal_reason",
|
|
18
|
+
"release_gate"
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"sample_n": {
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"minimum": 0
|
|
24
|
+
},
|
|
25
|
+
"uncertainty": {},
|
|
26
|
+
"paired_baseline": {},
|
|
27
|
+
"integrity_mode": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
31
|
+
"fresh_workspace_required": {
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
34
|
+
"fresh_workspace_verified": {
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
37
|
+
"integrity_state": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1
|
|
40
|
+
},
|
|
41
|
+
"trusted_score_source": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 1
|
|
44
|
+
},
|
|
45
|
+
"compromise_labels": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"weak_signal_reason": {
|
|
52
|
+
"type": [
|
|
53
|
+
"string",
|
|
54
|
+
"null"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"release_gate": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"additionalProperties": false,
|
|
60
|
+
"required": [
|
|
61
|
+
"decision",
|
|
62
|
+
"reasons"
|
|
63
|
+
],
|
|
64
|
+
"properties": {
|
|
65
|
+
"decision": {
|
|
66
|
+
"enum": [
|
|
67
|
+
"PROMOTE",
|
|
68
|
+
"HOLD",
|
|
69
|
+
"ROLLBACK"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"reasons": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://aiwg.io/schemas/decision/DecisionComparativeReplayMembers.v1.schema.json",
|
|
4
|
+
"title": "DecisionComparativeReplayMembers",
|
|
5
|
+
"type": "array",
|
|
6
|
+
"maxItems": 6000,
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"required": [
|
|
11
|
+
"id",
|
|
12
|
+
"slice",
|
|
13
|
+
"split",
|
|
14
|
+
"sourceResultDigest",
|
|
15
|
+
"payloadDigest",
|
|
16
|
+
"planDigest"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"id": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 1
|
|
22
|
+
},
|
|
23
|
+
"slice": {
|
|
24
|
+
"enum": [
|
|
25
|
+
"threshold-boundary",
|
|
26
|
+
"priority-loss",
|
|
27
|
+
"unchanged-control",
|
|
28
|
+
"unreplayable"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"split": {
|
|
32
|
+
"enum": [
|
|
33
|
+
"tuning",
|
|
34
|
+
"calibration",
|
|
35
|
+
"test"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"sourceResultDigest": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
41
|
+
},
|
|
42
|
+
"payloadDigest": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
45
|
+
},
|
|
46
|
+
"planDigest": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|