@ai-atomic-framework/cli 0.1.2 → 0.1.5
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/dist/npm-runtime/atm.mjs +0 -0
- package/dist/npm-runtime/layout/_vendor/integrations-core/templates/skills/atm-bug-backlog.skill.md +4 -3
- package/dist/npm-runtime/layout/schemas/evidence/wave-exit-observer-receipt.schema.json +56 -0
- package/dist/npm-runtime/layout/schemas/governance/decomposition-plan.schema.json +148 -0
- package/dist/npm-runtime/layout/schemas/governance/map-equivalence-report.schema.json +305 -0
- package/dist/npm-runtime/layout/schemas/governance/patch-proposal.schema.json +244 -0
- package/dist/npm-runtime/layout/schemas/governance/polymorph-impact-report.schema.json +267 -0
- package/dist/npm-runtime/layout/schemas/governance/propagation-report.schema.json +169 -0
- package/dist/npm-runtime/layout/schemas/governance/retirement-proof.schema.json +127 -0
- package/dist/npm-runtime/layout/schemas/registry/atomic-map.schema.json +300 -0
- package/dist/npm-runtime/layout/schemas/team-wave-envelope.schema.json +70 -0
- package/dist/npm-runtime/layout/schemas/team-worker-report.schema.json +68 -0
- package/dist/npm-runtime/layout/templates/root-drop/AGENTS.md +10 -10
- package/dist/npm-runtime/manifest.json +68 -8
- package/dist/npm-runtime/runtime.mjs +265 -263
- package/package.json +4 -2
package/dist/npm-runtime/atm.mjs
CHANGED
|
File without changes
|
package/dist/npm-runtime/layout/_vendor/integrations-core/templates/skills/atm-bug-backlog.skill.md
CHANGED
|
@@ -35,14 +35,15 @@ Choose the owning backlog before writing anything:
|
|
|
35
35
|
|
|
36
36
|
- ATM product, framework, CLI, governance lifecycle, Team Agents, integration
|
|
37
37
|
packs, release runner, or ATM docs: write one
|
|
38
|
-
`atm.governanceBacklogItem.v1` item shard
|
|
39
|
-
|
|
38
|
+
`atm.governanceBacklogItem.v1` item shard at
|
|
39
|
+
`docs/governance/atm-bug-and-optimization-backlog.items/<ATM-BUG-YYYY-MM-DD-NNN>.json`,
|
|
40
|
+
then regenerate the Markdown projection.
|
|
40
41
|
- Current adopter or app behavior: write only that repository's project backlog.
|
|
41
42
|
- Cross-repo unclear: record the adopter symptom first; add an ATM item only
|
|
42
43
|
when evidence points to ATM itself.
|
|
43
44
|
|
|
44
45
|
The item shard is the record authority. The Markdown backlog is a generated
|
|
45
|
-
projection for humans. Do not directly author new ATM rows in the projection.
|
|
46
|
+
projection for humans. Do not directly author new ATM backlog rows in the Markdown projection.
|
|
46
47
|
|
|
47
48
|
## Incident Learning Intake
|
|
48
49
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.ai-atomic-framework.dev/evidence/wave-exit-observer-receipt.schema.json",
|
|
4
|
+
"title": "ATM Wave-exit Observer Receipt",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaId",
|
|
9
|
+
"schemaVersion",
|
|
10
|
+
"exitItemId",
|
|
11
|
+
"wave",
|
|
12
|
+
"observerActor",
|
|
13
|
+
"observerRole",
|
|
14
|
+
"declaredBasisActor",
|
|
15
|
+
"independenceVerdict",
|
|
16
|
+
"command",
|
|
17
|
+
"exitCode",
|
|
18
|
+
"stdoutDigest",
|
|
19
|
+
"stderrDigest",
|
|
20
|
+
"observedAt",
|
|
21
|
+
"observedHead",
|
|
22
|
+
"policyDigest",
|
|
23
|
+
"inputDigests",
|
|
24
|
+
"artifactPath"
|
|
25
|
+
],
|
|
26
|
+
"properties": {
|
|
27
|
+
"schemaId": { "const": "atm.waveExitObserverReceipt.v1" },
|
|
28
|
+
"schemaVersion": { "type": "string", "minLength": 1 },
|
|
29
|
+
"exitItemId": { "type": "string", "pattern": "^EXIT-[0-9]{2}$" },
|
|
30
|
+
"wave": { "type": "string", "minLength": 1 },
|
|
31
|
+
"observerActor": { "type": "string", "minLength": 1 },
|
|
32
|
+
"observerRole": { "type": "string", "minLength": 1 },
|
|
33
|
+
"declaredBasisActor": { "type": "string", "minLength": 1 },
|
|
34
|
+
"independenceVerdict": { "const": "independent" },
|
|
35
|
+
"command": { "type": "string", "minLength": 1 },
|
|
36
|
+
"exitCode": { "type": "integer", "minimum": 0 },
|
|
37
|
+
"stdoutDigest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
38
|
+
"stderrDigest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
39
|
+
"observedAt": { "type": "string", "minLength": 1 },
|
|
40
|
+
"observedHead": { "type": "string", "pattern": "^[0-9a-f]{40}$" },
|
|
41
|
+
"policyDigest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
42
|
+
"inputDigests": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"required": ["path", "digest"],
|
|
48
|
+
"properties": {
|
|
49
|
+
"path": { "type": "string", "minLength": 1 },
|
|
50
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"artifactPath": { "type": "string", "minLength": 1 }
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.ai-atomic-framework.dev/governance/decomposition-plan.schema.json",
|
|
4
|
+
"title": "ATM Decomposition Plan v0.1",
|
|
5
|
+
"description": "Deterministic plan that decomposes a large feature into a canonical replacement-capable atomic map.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["schemaId", "specVersion", "migration", "legacyUris", "proposedMapId", "proposedMembers", "proposedEdges", "entrypoints", "notes"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"schemaId": {
|
|
11
|
+
"const": "atm.decompositionPlan"
|
|
12
|
+
},
|
|
13
|
+
"specVersion": {
|
|
14
|
+
"const": "0.1.0"
|
|
15
|
+
},
|
|
16
|
+
"migration": {
|
|
17
|
+
"$ref": "#/$defs/migration"
|
|
18
|
+
},
|
|
19
|
+
"planId": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"pattern": "^decomposition-plan\\.[a-z0-9]+(?:[.-][a-z0-9]+)*$"
|
|
22
|
+
},
|
|
23
|
+
"generatedAt": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "date-time"
|
|
26
|
+
},
|
|
27
|
+
"mapVersion": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
30
|
+
},
|
|
31
|
+
"legacyUris": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"minItems": 1,
|
|
34
|
+
"uniqueItems": true,
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"proposedMapId": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"pattern": "^ATM-MAP-\\d{4}$"
|
|
43
|
+
},
|
|
44
|
+
"proposedMembers": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"minItems": 1,
|
|
47
|
+
"items": {
|
|
48
|
+
"$ref": "#/$defs/memberRecord"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"proposedEdges": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": {
|
|
54
|
+
"$ref": "#/$defs/edgeRecord"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"entrypoints": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"minItems": 1,
|
|
60
|
+
"uniqueItems": true,
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"pattern": "^ATM-[A-Z][A-Z0-9]*-\\d{4}$"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"qualityTargets": {
|
|
67
|
+
"$ref": "#/$defs/qualityTargets"
|
|
68
|
+
},
|
|
69
|
+
"notes": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"minItems": 1,
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 1
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"$defs": {
|
|
79
|
+
"migration": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"additionalProperties": false,
|
|
82
|
+
"required": ["strategy", "fromVersion", "notes"],
|
|
83
|
+
"properties": {
|
|
84
|
+
"strategy": {
|
|
85
|
+
"enum": ["none", "additive", "breaking"]
|
|
86
|
+
},
|
|
87
|
+
"fromVersion": {
|
|
88
|
+
"type": ["string", "null"],
|
|
89
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
90
|
+
},
|
|
91
|
+
"notes": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"memberRecord": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["atomId", "version"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"atomId": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"pattern": "^ATM-[A-Z][A-Z0-9]*-\\d{4}$"
|
|
104
|
+
},
|
|
105
|
+
"version": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
108
|
+
},
|
|
109
|
+
"role": {
|
|
110
|
+
"enum": ["entry-adapter", "domain-step", "validator", "side-effect", "rollback-adapter"]
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"edgeRecord": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"required": ["from", "to", "binding"],
|
|
118
|
+
"properties": {
|
|
119
|
+
"from": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"pattern": "^ATM-[A-Z][A-Z0-9]*-\\d{4}$"
|
|
122
|
+
},
|
|
123
|
+
"to": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"pattern": "^ATM-[A-Z][A-Z0-9]*-\\d{4}$"
|
|
126
|
+
},
|
|
127
|
+
"binding": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"minLength": 1
|
|
130
|
+
},
|
|
131
|
+
"edgeKind": {
|
|
132
|
+
"enum": ["data-flow", "control-flow", "event-flow", "validation", "fallback", "side-effect", "rollback"]
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"qualityTargets": {
|
|
137
|
+
"type": "object",
|
|
138
|
+
"minProperties": 1,
|
|
139
|
+
"propertyNames": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"minLength": 1
|
|
142
|
+
},
|
|
143
|
+
"additionalProperties": {
|
|
144
|
+
"type": ["string", "number", "boolean"]
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.ai-atomic-framework.dev/governance/map-equivalence-report.schema.json",
|
|
4
|
+
"title": "ATM Map Equivalence Report v0.1",
|
|
5
|
+
"description": "Deterministic evidence that an atomic map and its legacy surface behave equivalently for a declared fixture set.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["schemaId", "specVersion", "migration", "mapId", "legacyUris", "fixtures", "cases", "summary", "metrics", "artifacts", "evidence", "passed"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"schemaId": {
|
|
11
|
+
"const": "atm.mapEquivalenceReport"
|
|
12
|
+
},
|
|
13
|
+
"specVersion": {
|
|
14
|
+
"const": "0.1.0"
|
|
15
|
+
},
|
|
16
|
+
"migration": {
|
|
17
|
+
"$ref": "#/$defs/migration"
|
|
18
|
+
},
|
|
19
|
+
"reportId": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"pattern": "^map-equivalence\\.[a-z0-9]+(?:[.-][a-z0-9]+)*$"
|
|
22
|
+
},
|
|
23
|
+
"generatedAt": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "date-time"
|
|
26
|
+
},
|
|
27
|
+
"mapId": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"pattern": "^ATM-MAP-\\d{4}$"
|
|
30
|
+
},
|
|
31
|
+
"legacyUris": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"minItems": 1,
|
|
34
|
+
"uniqueItems": true,
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"fixtures": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"minItems": 1,
|
|
43
|
+
"items": {
|
|
44
|
+
"$ref": "#/$defs/fixtureRecord"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"cases": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"minItems": 1,
|
|
50
|
+
"items": {
|
|
51
|
+
"$ref": "#/$defs/equivalenceCase"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"knownDivergences": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"$ref": "#/$defs/knownDivergence"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"summary": {
|
|
61
|
+
"$ref": "#/$defs/summary"
|
|
62
|
+
},
|
|
63
|
+
"metrics": {
|
|
64
|
+
"$ref": "https://schemas.ai-atomic-framework.dev/test-report/metrics.schema.json"
|
|
65
|
+
},
|
|
66
|
+
"artifacts": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"$ref": "#/$defs/artifactRecord"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"evidence": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"$ref": "#/$defs/evidenceRecord"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"passed": {
|
|
79
|
+
"type": "boolean"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"$defs": {
|
|
83
|
+
"migration": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"additionalProperties": false,
|
|
86
|
+
"required": ["strategy", "fromVersion", "notes"],
|
|
87
|
+
"properties": {
|
|
88
|
+
"strategy": {
|
|
89
|
+
"enum": ["none", "additive", "breaking"]
|
|
90
|
+
},
|
|
91
|
+
"fromVersion": {
|
|
92
|
+
"type": ["string", "null"],
|
|
93
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
94
|
+
},
|
|
95
|
+
"notes": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"fixtureRecord": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"required": ["fixtureId", "path"],
|
|
104
|
+
"properties": {
|
|
105
|
+
"fixtureId": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"pattern": "^fixture\\.[a-z0-9]+(?:[.-][a-z0-9]+)*$"
|
|
108
|
+
},
|
|
109
|
+
"path": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"minLength": 1
|
|
112
|
+
},
|
|
113
|
+
"description": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"equivalenceCase": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"additionalProperties": false,
|
|
121
|
+
"required": ["caseId", "input", "expected", "actual", "metric", "evidenceRefs", "passed", "knownDivergence"],
|
|
122
|
+
"properties": {
|
|
123
|
+
"caseId": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"pattern": "^case\\.[a-z0-9]+(?:[.-][a-z0-9]+)*$"
|
|
126
|
+
},
|
|
127
|
+
"input": {
|
|
128
|
+
"$ref": "#/$defs/jsonValue"
|
|
129
|
+
},
|
|
130
|
+
"expected": {
|
|
131
|
+
"$ref": "#/$defs/jsonValue"
|
|
132
|
+
},
|
|
133
|
+
"actual": {
|
|
134
|
+
"$ref": "#/$defs/jsonValue"
|
|
135
|
+
},
|
|
136
|
+
"metric": {
|
|
137
|
+
"$ref": "#/$defs/metricDelta"
|
|
138
|
+
},
|
|
139
|
+
"evidenceRefs": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"minItems": 1,
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"minLength": 1
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"passed": {
|
|
148
|
+
"type": "boolean"
|
|
149
|
+
},
|
|
150
|
+
"knownDivergence": {
|
|
151
|
+
"type": "boolean"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"metricDelta": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": ["name", "baseline", "current", "delta", "direction", "passed"],
|
|
159
|
+
"properties": {
|
|
160
|
+
"name": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"minLength": 1
|
|
163
|
+
},
|
|
164
|
+
"baseline": {
|
|
165
|
+
"type": "number"
|
|
166
|
+
},
|
|
167
|
+
"current": {
|
|
168
|
+
"type": "number"
|
|
169
|
+
},
|
|
170
|
+
"delta": {
|
|
171
|
+
"type": "number"
|
|
172
|
+
},
|
|
173
|
+
"direction": {
|
|
174
|
+
"enum": ["higher-is-better", "lower-is-better", "informational"]
|
|
175
|
+
},
|
|
176
|
+
"tolerance": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0
|
|
179
|
+
},
|
|
180
|
+
"passed": {
|
|
181
|
+
"type": "boolean"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"knownDivergence": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"required": ["caseId", "reason", "justification", "reviewer", "reviewRef"],
|
|
189
|
+
"properties": {
|
|
190
|
+
"caseId": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"pattern": "^case\\.[a-z0-9]+(?:[.-][a-z0-9]+)*$"
|
|
193
|
+
},
|
|
194
|
+
"reason": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"minLength": 1
|
|
197
|
+
},
|
|
198
|
+
"justification": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"minLength": 1
|
|
201
|
+
},
|
|
202
|
+
"reviewer": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"minLength": 1
|
|
205
|
+
},
|
|
206
|
+
"reviewRef": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"minLength": 1
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"summary": {
|
|
213
|
+
"type": "object",
|
|
214
|
+
"additionalProperties": false,
|
|
215
|
+
"required": ["totalCases", "passedCases", "failedCases", "knownDivergenceCount"],
|
|
216
|
+
"properties": {
|
|
217
|
+
"totalCases": {
|
|
218
|
+
"type": "integer",
|
|
219
|
+
"minimum": 0
|
|
220
|
+
},
|
|
221
|
+
"passedCases": {
|
|
222
|
+
"type": "integer",
|
|
223
|
+
"minimum": 0
|
|
224
|
+
},
|
|
225
|
+
"failedCases": {
|
|
226
|
+
"type": "integer",
|
|
227
|
+
"minimum": 0
|
|
228
|
+
},
|
|
229
|
+
"knownDivergenceCount": {
|
|
230
|
+
"type": "integer",
|
|
231
|
+
"minimum": 0
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"artifactRecord": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"additionalProperties": false,
|
|
238
|
+
"required": ["artifactPath", "artifactKind", "producedBy"],
|
|
239
|
+
"properties": {
|
|
240
|
+
"artifactPath": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"minLength": 1
|
|
243
|
+
},
|
|
244
|
+
"artifactKind": {
|
|
245
|
+
"enum": ["file", "log", "report", "snapshot"]
|
|
246
|
+
},
|
|
247
|
+
"producedBy": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"minLength": 1
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"evidenceRecord": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"additionalProperties": false,
|
|
256
|
+
"required": ["evidenceKind", "summary", "artifactPaths"],
|
|
257
|
+
"properties": {
|
|
258
|
+
"evidenceKind": {
|
|
259
|
+
"enum": ["validation", "review", "metric", "handoff"]
|
|
260
|
+
},
|
|
261
|
+
"signalKind": {
|
|
262
|
+
"enum": ["user-correction", "recurring-failure", "loaded-but-wrong", "novel-technique", "workflow-success", "metric-regression", "rollback-success"]
|
|
263
|
+
},
|
|
264
|
+
"signalScope": {
|
|
265
|
+
"enum": ["host-local", "repo", "atom", "atom-map", "global"]
|
|
266
|
+
},
|
|
267
|
+
"atomMapId": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"pattern": "^ATM-MAP-\\d{4}$"
|
|
270
|
+
},
|
|
271
|
+
"summary": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"minLength": 1
|
|
274
|
+
},
|
|
275
|
+
"artifactPaths": {
|
|
276
|
+
"type": "array",
|
|
277
|
+
"items": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"minLength": 1
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"jsonValue": {
|
|
285
|
+
"anyOf": [
|
|
286
|
+
{ "type": "null" },
|
|
287
|
+
{ "type": "boolean" },
|
|
288
|
+
{ "type": "number" },
|
|
289
|
+
{ "type": "string" },
|
|
290
|
+
{
|
|
291
|
+
"type": "array",
|
|
292
|
+
"items": {
|
|
293
|
+
"$ref": "#/$defs/jsonValue"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"type": "object",
|
|
298
|
+
"additionalProperties": {
|
|
299
|
+
"$ref": "#/$defs/jsonValue"
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|