@coordiation/agent 0.1.0 → 1.0.0-rc.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/README.md +200 -0
- package/approvals.schema.json +40 -0
- package/artifact.schema.json +28 -0
- package/capability-template.schema.json +49 -0
- package/development-contract.schema.json +72 -0
- package/evidence.schema.json +36 -0
- package/interview.schema.json +45 -0
- package/lifecycle-adapter.schema.json +18 -0
- package/lifecycle.schema.json +46 -0
- package/package.json +35 -3
- package/product-project.schema.json +31 -0
- package/production-record.schema.json +127 -0
- package/prototype-contract.schema.json +115 -0
- package/qa-report.schema.json +87 -0
- package/release-record.schema.json +141 -0
- package/schema-registry.json +29 -0
- package/src/hardening.js +69 -0
- package/src/index.js +46 -1
- package/src/lifecycle.js +1751 -0
- package/traceability.schema.json +42 -0
- package/ux-contract.schema.json +84 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://coordiation.com/schemas/traceability.schema.json",
|
|
4
|
+
"title": "Coordiation traceability graph",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schemaVersion", "kind", "nodes", "edges", "updatedAt"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schemaVersion": { "const": "1.0" },
|
|
9
|
+
"kind": { "const": "coordiation-traceability" },
|
|
10
|
+
"nodes": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"required": ["id", "kind", "stage", "status", "revision", "path"],
|
|
15
|
+
"properties": {
|
|
16
|
+
"id": { "type": "string" },
|
|
17
|
+
"kind": { "type": "string" },
|
|
18
|
+
"stage": { "type": "string" },
|
|
19
|
+
"status": { "type": "string" },
|
|
20
|
+
"revision": { "type": "integer", "minimum": 1 },
|
|
21
|
+
"path": { "type": "string" }
|
|
22
|
+
},
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"edges": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"required": ["from", "to", "relation"],
|
|
31
|
+
"properties": {
|
|
32
|
+
"from": { "type": "string" },
|
|
33
|
+
"to": { "type": "string" },
|
|
34
|
+
"relation": { "enum": ["derives_from", "satisfies", "verifies", "releases", "deploys", "includes", "operationalizes"] }
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"updatedAt": { "type": "string", "format": "date-time" }
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://coordiation.com/schemas/ux-contract.schema.json",
|
|
4
|
+
"title": "Coordiation UX contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schemaVersion", "id", "kind", "stage", "status", "revision", "derivedFrom", "acceptanceCriteria", "body"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schemaVersion": { "const": "1.0" },
|
|
9
|
+
"id": { "type": "string", "pattern": "^UX-[0-9]{3}$" },
|
|
10
|
+
"kind": { "const": "ux-contract" },
|
|
11
|
+
"stage": { "const": "ux" },
|
|
12
|
+
"status": { "enum": ["draft", "approved", "superseded"] },
|
|
13
|
+
"revision": { "type": "integer", "minimum": 1 },
|
|
14
|
+
"derivedFrom": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^PRD-[0-9]{3}$" } },
|
|
15
|
+
"acceptanceCriteria": { "type": "array", "minItems": 4, "items": { "type": "string", "pattern": "^AC-[0-9]{3}$" }, "uniqueItems": true },
|
|
16
|
+
"body": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": ["capability", "primaryFlow", "screenStates", "informationArchitecture", "interactionContract", "responsiveContract", "accessibilityContract", "contentContract", "verificationPlan", "openDecisions"],
|
|
19
|
+
"properties": {
|
|
20
|
+
"capability": { "type": "string", "minLength": 1 },
|
|
21
|
+
"primaryFlow": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"minItems": 4,
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"required": ["step", "actor", "action", "outcome"],
|
|
27
|
+
"properties": {
|
|
28
|
+
"step": { "type": "integer", "minimum": 1 },
|
|
29
|
+
"actor": { "enum": ["user", "system"] },
|
|
30
|
+
"action": { "type": "string", "minLength": 1 },
|
|
31
|
+
"outcome": { "type": "string", "minLength": 1 }
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"screenStates": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"minItems": 5,
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"required": ["id", "purpose", "content", "actions"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"id": { "type": "string" },
|
|
44
|
+
"purpose": { "type": "string", "minLength": 1 },
|
|
45
|
+
"content": { "type": "array", "minItems": 1, "items": { "type": "string" } },
|
|
46
|
+
"actions": { "type": "array", "minItems": 1, "items": { "type": "string" } }
|
|
47
|
+
},
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"informationArchitecture": { "type": "object" },
|
|
52
|
+
"interactionContract": { "type": "array", "minItems": 1, "items": { "type": "string" } },
|
|
53
|
+
"responsiveContract": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"required": ["minimumViewport", "requirements"],
|
|
56
|
+
"properties": {
|
|
57
|
+
"minimumViewport": { "type": "string" },
|
|
58
|
+
"requirements": { "type": "array", "minItems": 1, "items": { "type": "string" } }
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"accessibilityContract": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"required": ["keyboard", "focus", "semantics", "motion", "errors"]
|
|
64
|
+
},
|
|
65
|
+
"contentContract": { "type": "array", "minItems": 1, "items": { "type": "string" } },
|
|
66
|
+
"verificationPlan": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"minItems": 4,
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"required": ["criterionId", "evidence"],
|
|
72
|
+
"properties": {
|
|
73
|
+
"criterionId": { "type": "string" },
|
|
74
|
+
"evidence": { "type": "string" }
|
|
75
|
+
},
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"openDecisions": { "type": "array" }
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|