@x12i/memorix-metadata 3.2.0 → 3.2.3

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.
Files changed (38) hide show
  1. package/README.md +86 -86
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/platform-interfaces.d.ts +29 -0
  7. package/dist/platform-interfaces.d.ts.map +1 -0
  8. package/dist/platform-interfaces.js +53 -0
  9. package/dist/platform-interfaces.js.map +1 -0
  10. package/dist/resolve.d.ts.map +1 -1
  11. package/dist/resolve.js +111 -0
  12. package/dist/resolve.js.map +1 -1
  13. package/dist/types.d.ts +47 -0
  14. package/dist/types.d.ts.map +1 -1
  15. package/dist/validate.d.ts.map +1 -1
  16. package/dist/validate.js +19 -0
  17. package/dist/validate.js.map +1 -1
  18. package/examples/custom-kinds/acme-ui-tabs.pack.json +62 -62
  19. package/examples/invalid/agent-classification.json +709 -709
  20. package/examples/invalid/broken-binding.json +688 -688
  21. package/examples/invalid/completion-mapping-with-exec-policy.json +659 -659
  22. package/examples/invalid/missing-parent.json +708 -708
  23. package/examples/invalid/operational-kind-root.json +720 -720
  24. package/examples/invalid/pipeline-unknown-service.json +611 -611
  25. package/examples/invalid/relationship-missing-rules.json +624 -624
  26. package/examples/invalid/relationship-with-storage.json +631 -631
  27. package/examples/invalid/service-with-secrets.json +679 -679
  28. package/examples/knowx/normalized/pack.json +338 -11
  29. package/examples/opx/normalized/pack.json +265 -7
  30. package/examples/opx/raw/abstract-types.json +244 -244
  31. package/examples/opx/raw/agents.json +33 -33
  32. package/examples/opx/raw/object-types.json +101 -101
  33. package/examples/opx/raw/pipelines-and-sources.json +264 -233
  34. package/examples/opx/raw/relationship-definitions.json +80 -80
  35. package/examples/opx/raw/view-definitions.json +32 -32
  36. package/examples/opx/raw/write-and-source-mappings.json +223 -223
  37. package/examples/project-opx/normalized/pack.json +1036 -1036
  38. package/package.json +48 -48
@@ -1,244 +1,244 @@
1
- {
2
- "abstractTypes": [
3
- {
4
- "id": "People",
5
- "name": "People",
6
- "meaning": "People who perform operational work \u2014 inside the org (employeeId) or outside (externalPersonId), distinguished by identity kind",
7
- "category": "entity",
8
- "properties": [
9
- {
10
- "id": "title",
11
- "valueType": "string",
12
- "required": true
13
- },
14
- {
15
- "id": "role",
16
- "valueType": "string",
17
- "required": true
18
- },
19
- {
20
- "id": "lens",
21
- "valueType": "string",
22
- "required": false
23
- },
24
- {
25
- "id": "email",
26
- "valueType": "string",
27
- "required": false
28
- },
29
- {
30
- "id": "organization",
31
- "valueType": "string",
32
- "required": false
33
- }
34
- ],
35
- "members": [
36
- {
37
- "objectType": "people",
38
- "contentType": "snapshots",
39
- "properties": [
40
- {
41
- "abstractProperty": "title",
42
- "contentType": "snapshots",
43
- "mappingId": "opx-people-abstract"
44
- },
45
- {
46
- "abstractProperty": "role",
47
- "contentType": "snapshots",
48
- "mappingId": "opx-people-abstract"
49
- },
50
- {
51
- "abstractProperty": "lens",
52
- "contentType": "snapshots",
53
- "mappingId": "opx-people-abstract"
54
- },
55
- {
56
- "abstractProperty": "email",
57
- "contentType": "snapshots",
58
- "mappingId": "opx-people-abstract"
59
- },
60
- {
61
- "abstractProperty": "organization",
62
- "contentType": "snapshots",
63
- "mappingId": "opx-people-abstract"
64
- }
65
- ]
66
- }
67
- ],
68
- "union": false,
69
- "notes": "People abstract \u2194 people OT 1:1. Inside/outside org is concept.identifiers.primary.kind (employeeId | externalPersonId), not a second OT."
70
- },
71
- {
72
- "id": "WorkItems",
73
- "name": "Work Items",
74
- "meaning": "Units of operational work",
75
- "category": "entity",
76
- "properties": [
77
- {
78
- "id": "title",
79
- "valueType": "string",
80
- "required": true
81
- },
82
- {
83
- "id": "status",
84
- "valueType": "string",
85
- "required": true
86
- },
87
- {
88
- "id": "priority",
89
- "valueType": "string",
90
- "required": false
91
- }
92
- ],
93
- "members": [
94
- {
95
- "objectType": "work-items",
96
- "contentType": "snapshots",
97
- "properties": [
98
- {
99
- "abstractProperty": "title",
100
- "contentType": "snapshots",
101
- "propertyPath": "data.title",
102
- "concreteValueType": "string"
103
- },
104
- {
105
- "abstractProperty": "status",
106
- "contentType": "snapshots",
107
- "propertyPath": "data.status",
108
- "concreteValueType": "string"
109
- },
110
- {
111
- "abstractProperty": "priority",
112
- "contentType": "snapshots",
113
- "propertyPath": "data.priority",
114
- "concreteValueType": "string"
115
- }
116
- ]
117
- }
118
- ],
119
- "union": false
120
- },
121
- {
122
- "id": "Playbooks",
123
- "name": "Playbooks",
124
- "meaning": "Reusable operational knowledge / playbooks",
125
- "category": "knowledge",
126
- "properties": [
127
- {
128
- "id": "title",
129
- "valueType": "string",
130
- "required": true
131
- },
132
- {
133
- "id": "body",
134
- "valueType": "string",
135
- "required": true
136
- },
137
- {
138
- "id": "contentHash",
139
- "valueType": "string",
140
- "required": false
141
- }
142
- ],
143
- "members": [
144
- {
145
- "objectType": "playbooks",
146
- "contentType": "snapshots",
147
- "properties": [
148
- {
149
- "abstractProperty": "title",
150
- "contentType": "snapshots",
151
- "propertyPath": "data.name",
152
- "concreteValueType": "string"
153
- },
154
- {
155
- "abstractProperty": "body",
156
- "contentType": "snapshots",
157
- "propertyPath": "data.body",
158
- "concreteValueType": "string"
159
- },
160
- {
161
- "abstractProperty": "contentHash",
162
- "contentType": "snapshots",
163
- "propertyPath": "data.contentHash",
164
- "concreteValueType": "string"
165
- }
166
- ]
167
- }
168
- ],
169
- "union": false
170
- },
171
- {
172
- "id": "ActivityEvents",
173
- "name": "Activity Events",
174
- "meaning": "Progress and activity reports about work items",
175
- "category": "event",
176
- "properties": [
177
- {
178
- "id": "type",
179
- "valueType": "string",
180
- "required": true
181
- },
182
- {
183
- "id": "message",
184
- "valueType": "string",
185
- "required": true
186
- },
187
- {
188
- "id": "workItemId",
189
- "valueType": "recordId",
190
- "required": true
191
- },
192
- {
193
- "id": "actorId",
194
- "valueType": "recordId",
195
- "required": false
196
- },
197
- {
198
- "id": "occurredAt",
199
- "valueType": "datetime",
200
- "required": false
201
- }
202
- ],
203
- "members": [
204
- {
205
- "objectType": "activity-events",
206
- "contentType": "snapshots",
207
- "properties": [
208
- {
209
- "abstractProperty": "type",
210
- "contentType": "snapshots",
211
- "propertyPath": "data.type",
212
- "concreteValueType": "string"
213
- },
214
- {
215
- "abstractProperty": "message",
216
- "contentType": "snapshots",
217
- "propertyPath": "data.message",
218
- "concreteValueType": "string"
219
- },
220
- {
221
- "abstractProperty": "workItemId",
222
- "contentType": "snapshots",
223
- "propertyPath": "data.workItemId",
224
- "concreteValueType": "recordId"
225
- },
226
- {
227
- "abstractProperty": "actorId",
228
- "contentType": "snapshots",
229
- "propertyPath": "data.actorId",
230
- "concreteValueType": "recordId"
231
- },
232
- {
233
- "abstractProperty": "occurredAt",
234
- "contentType": "snapshots",
235
- "propertyPath": "data.occurredAt",
236
- "concreteValueType": "datetime"
237
- }
238
- ]
239
- }
240
- ],
241
- "union": false
242
- }
243
- ]
244
- }
1
+ {
2
+ "abstractTypes": [
3
+ {
4
+ "id": "People",
5
+ "name": "People",
6
+ "meaning": "People who perform operational work \u2014 inside the org (employeeId) or outside (externalPersonId), distinguished by identity kind",
7
+ "category": "entity",
8
+ "properties": [
9
+ {
10
+ "id": "title",
11
+ "valueType": "string",
12
+ "required": true
13
+ },
14
+ {
15
+ "id": "role",
16
+ "valueType": "string",
17
+ "required": true
18
+ },
19
+ {
20
+ "id": "lens",
21
+ "valueType": "string",
22
+ "required": false
23
+ },
24
+ {
25
+ "id": "email",
26
+ "valueType": "string",
27
+ "required": false
28
+ },
29
+ {
30
+ "id": "organization",
31
+ "valueType": "string",
32
+ "required": false
33
+ }
34
+ ],
35
+ "members": [
36
+ {
37
+ "objectType": "people",
38
+ "contentType": "snapshots",
39
+ "properties": [
40
+ {
41
+ "abstractProperty": "title",
42
+ "contentType": "snapshots",
43
+ "mappingId": "opx-people-abstract"
44
+ },
45
+ {
46
+ "abstractProperty": "role",
47
+ "contentType": "snapshots",
48
+ "mappingId": "opx-people-abstract"
49
+ },
50
+ {
51
+ "abstractProperty": "lens",
52
+ "contentType": "snapshots",
53
+ "mappingId": "opx-people-abstract"
54
+ },
55
+ {
56
+ "abstractProperty": "email",
57
+ "contentType": "snapshots",
58
+ "mappingId": "opx-people-abstract"
59
+ },
60
+ {
61
+ "abstractProperty": "organization",
62
+ "contentType": "snapshots",
63
+ "mappingId": "opx-people-abstract"
64
+ }
65
+ ]
66
+ }
67
+ ],
68
+ "union": false,
69
+ "notes": "People abstract \u2194 people OT 1:1. Inside/outside org is concept.identifiers.primary.kind (employeeId | externalPersonId), not a second OT."
70
+ },
71
+ {
72
+ "id": "WorkItems",
73
+ "name": "Work Items",
74
+ "meaning": "Units of operational work",
75
+ "category": "entity",
76
+ "properties": [
77
+ {
78
+ "id": "title",
79
+ "valueType": "string",
80
+ "required": true
81
+ },
82
+ {
83
+ "id": "status",
84
+ "valueType": "string",
85
+ "required": true
86
+ },
87
+ {
88
+ "id": "priority",
89
+ "valueType": "string",
90
+ "required": false
91
+ }
92
+ ],
93
+ "members": [
94
+ {
95
+ "objectType": "work-items",
96
+ "contentType": "snapshots",
97
+ "properties": [
98
+ {
99
+ "abstractProperty": "title",
100
+ "contentType": "snapshots",
101
+ "propertyPath": "data.title",
102
+ "concreteValueType": "string"
103
+ },
104
+ {
105
+ "abstractProperty": "status",
106
+ "contentType": "snapshots",
107
+ "propertyPath": "data.status",
108
+ "concreteValueType": "string"
109
+ },
110
+ {
111
+ "abstractProperty": "priority",
112
+ "contentType": "snapshots",
113
+ "propertyPath": "data.priority",
114
+ "concreteValueType": "string"
115
+ }
116
+ ]
117
+ }
118
+ ],
119
+ "union": false
120
+ },
121
+ {
122
+ "id": "Playbooks",
123
+ "name": "Playbooks",
124
+ "meaning": "Reusable operational knowledge / playbooks",
125
+ "category": "knowledge",
126
+ "properties": [
127
+ {
128
+ "id": "title",
129
+ "valueType": "string",
130
+ "required": true
131
+ },
132
+ {
133
+ "id": "body",
134
+ "valueType": "string",
135
+ "required": true
136
+ },
137
+ {
138
+ "id": "contentHash",
139
+ "valueType": "string",
140
+ "required": false
141
+ }
142
+ ],
143
+ "members": [
144
+ {
145
+ "objectType": "playbooks",
146
+ "contentType": "snapshots",
147
+ "properties": [
148
+ {
149
+ "abstractProperty": "title",
150
+ "contentType": "snapshots",
151
+ "propertyPath": "data.name",
152
+ "concreteValueType": "string"
153
+ },
154
+ {
155
+ "abstractProperty": "body",
156
+ "contentType": "snapshots",
157
+ "propertyPath": "data.body",
158
+ "concreteValueType": "string"
159
+ },
160
+ {
161
+ "abstractProperty": "contentHash",
162
+ "contentType": "snapshots",
163
+ "propertyPath": "data.contentHash",
164
+ "concreteValueType": "string"
165
+ }
166
+ ]
167
+ }
168
+ ],
169
+ "union": false
170
+ },
171
+ {
172
+ "id": "ActivityEvents",
173
+ "name": "Activity Events",
174
+ "meaning": "Progress and activity reports about work items",
175
+ "category": "event",
176
+ "properties": [
177
+ {
178
+ "id": "type",
179
+ "valueType": "string",
180
+ "required": true
181
+ },
182
+ {
183
+ "id": "message",
184
+ "valueType": "string",
185
+ "required": true
186
+ },
187
+ {
188
+ "id": "workItemId",
189
+ "valueType": "recordId",
190
+ "required": true
191
+ },
192
+ {
193
+ "id": "actorId",
194
+ "valueType": "recordId",
195
+ "required": false
196
+ },
197
+ {
198
+ "id": "occurredAt",
199
+ "valueType": "datetime",
200
+ "required": false
201
+ }
202
+ ],
203
+ "members": [
204
+ {
205
+ "objectType": "activity-events",
206
+ "contentType": "snapshots",
207
+ "properties": [
208
+ {
209
+ "abstractProperty": "type",
210
+ "contentType": "snapshots",
211
+ "propertyPath": "data.type",
212
+ "concreteValueType": "string"
213
+ },
214
+ {
215
+ "abstractProperty": "message",
216
+ "contentType": "snapshots",
217
+ "propertyPath": "data.message",
218
+ "concreteValueType": "string"
219
+ },
220
+ {
221
+ "abstractProperty": "workItemId",
222
+ "contentType": "snapshots",
223
+ "propertyPath": "data.workItemId",
224
+ "concreteValueType": "recordId"
225
+ },
226
+ {
227
+ "abstractProperty": "actorId",
228
+ "contentType": "snapshots",
229
+ "propertyPath": "data.actorId",
230
+ "concreteValueType": "recordId"
231
+ },
232
+ {
233
+ "abstractProperty": "occurredAt",
234
+ "contentType": "snapshots",
235
+ "propertyPath": "data.occurredAt",
236
+ "concreteValueType": "datetime"
237
+ }
238
+ ]
239
+ }
240
+ ],
241
+ "union": false
242
+ }
243
+ ]
244
+ }
@@ -1,33 +1,33 @@
1
- {
2
- "agents": [
3
- {
4
- "id": "opx",
5
- "name": "Operations (generic parent)",
6
- "description": "Complete generic parent agent for ordinary operational work. Permanent Memorix acceptance pack.",
7
- "parentAgentId": null,
8
- "orgScopeExample": {
9
- "orgId": "fieldstone",
10
- "agentIds": [
11
- "opx"
12
- ]
13
- }
14
- },
15
- {
16
- "id": "project-opx",
17
- "name": "Project Operations (child of opx)",
18
- "description": "Inheritance smoke agent. Extends opx without replacing core definitions.",
19
- "parentAgentId": "opx",
20
- "overrides": {
21
- "viewDefinitions": [
22
- {
23
- "id": "project-opx-work-items-list",
24
- "kind": "list",
25
- "objectType": "work-items",
26
- "title": "Project work items",
27
- "extends": "opx-work-items-list"
28
- }
29
- ]
30
- }
31
- }
32
- ]
33
- }
1
+ {
2
+ "agents": [
3
+ {
4
+ "id": "opx",
5
+ "name": "Operations (generic parent)",
6
+ "description": "Complete generic parent agent for ordinary operational work. Permanent Memorix acceptance pack.",
7
+ "parentAgentId": null,
8
+ "orgScopeExample": {
9
+ "orgId": "fieldstone",
10
+ "agentIds": [
11
+ "opx"
12
+ ]
13
+ }
14
+ },
15
+ {
16
+ "id": "project-opx",
17
+ "name": "Project Operations (child of opx)",
18
+ "description": "Inheritance smoke agent. Extends opx without replacing core definitions.",
19
+ "parentAgentId": "opx",
20
+ "overrides": {
21
+ "viewDefinitions": [
22
+ {
23
+ "id": "project-opx-work-items-list",
24
+ "kind": "list",
25
+ "objectType": "work-items",
26
+ "title": "Project work items",
27
+ "extends": "opx-work-items-list"
28
+ }
29
+ ]
30
+ }
31
+ }
32
+ ]
33
+ }