@agent-teams/engineering-foundation 0.19.0 → 0.20.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/dist/capabilities/repository-agent-workflow/application/policies/evaluate-repository-agent-workflow.d.ts.map +1 -1
- package/dist/capabilities/repository-agent-workflow/application/policies/evaluate-repository-agent-workflow.js +5 -2
- package/dist/capabilities/repository-agent-workflow/application/policies/evaluate-repository-agent-workflow.js.map +1 -1
- package/dist/capabilities/repository-agent-workflow/application/rules.js +1 -1
- package/dist/capabilities/repository-agent-workflow/application/rules.js.map +1 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts +29 -3
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js +38 -9
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js +5 -4
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js +9 -7
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js.map +1 -1
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts +4 -0
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts.map +1 -1
- package/dist/document-authoring/application/model/document-planning.d.ts +1 -1
- package/dist/document-authoring/application/model/document-planning.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js +2 -2
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js.map +1 -1
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts +2 -1
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js +8 -2
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js.map +1 -1
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts +1 -1
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js +3 -3
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js.map +1 -1
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts +8 -3
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js +4 -2
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js.map +1 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts +7 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts.map +1 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js +54 -17
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js.map +1 -1
- package/dist/document-authoring/composition/node-document-planning.d.ts.map +1 -1
- package/dist/document-authoring/composition/node-document-planning.js +4 -3
- package/dist/document-authoring/composition/node-document-planning.js.map +1 -1
- package/dist/document-authoring/index.d.ts +4 -3
- package/dist/document-authoring/index.d.ts.map +1 -1
- package/dist/document-authoring/index.js +2 -1
- package/dist/document-authoring/index.js.map +1 -1
- package/dist/schema-catalog.d.ts.map +1 -1
- package/dist/schema-catalog.js +1 -0
- package/dist/schema-catalog.js.map +1 -1
- package/dist/schema-ids.d.ts +1 -1
- package/dist/schema-ids.d.ts.map +1 -1
- package/dist/schema-ids.js +1 -0
- package/dist/schema-ids.js.map +1 -1
- package/package.json +2 -1
- package/schemas/document-authoring-profile/v3.schema.json +200 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agent-teams.ai/schemas/document-authoring-profile/v3",
|
|
4
|
+
"title": "Document Authoring Profile v3",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "projectId", "catalog", "authoring"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": 3 },
|
|
10
|
+
"projectId": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/lowerId" },
|
|
11
|
+
"catalog": { "$ref": "#/$defs/catalog" },
|
|
12
|
+
"authoring": { "$ref": "#/$defs/authoring" }
|
|
13
|
+
},
|
|
14
|
+
"$defs": {
|
|
15
|
+
"catalog": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"required": ["metadataSchemaPath", "ownerCatalog", "collections"],
|
|
19
|
+
"properties": {
|
|
20
|
+
"metadataSchemaPath": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/repositoryPath" },
|
|
21
|
+
"ownerCatalog": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": ["path", "contract"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"path": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/repositoryPath" },
|
|
27
|
+
"contract": { "const": "foundation.owner-map/v1" }
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"collections": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"minItems": 1,
|
|
33
|
+
"maxItems": 32,
|
|
34
|
+
"items": {
|
|
35
|
+
"oneOf": [
|
|
36
|
+
{ "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/markdownTreeCollection" },
|
|
37
|
+
{ "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/frontmatterReadmeCollection" }
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"excludedPrefixes": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"maxItems": 128,
|
|
44
|
+
"uniqueItems": true,
|
|
45
|
+
"items": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/repositoryPath" }
|
|
46
|
+
},
|
|
47
|
+
"metadataSidecar": { "$ref": "#/$defs/metadataSidecar" }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"metadataSidecar": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"required": ["kind", "path"],
|
|
54
|
+
"properties": {
|
|
55
|
+
"kind": { "const": "path-metadata-map" },
|
|
56
|
+
"path": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/repositoryPath" }
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"authoring": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"required": ["mode", "artifactTypes"],
|
|
63
|
+
"properties": {
|
|
64
|
+
"mode": { "const": "create-only" },
|
|
65
|
+
"ownerSets": { "$ref": "#/$defs/ownerSets" },
|
|
66
|
+
"artifactTypes": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"minItems": 1,
|
|
69
|
+
"maxItems": 32,
|
|
70
|
+
"items": { "$ref": "#/$defs/artifactType" }
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"artifactType": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"required": [
|
|
78
|
+
"type",
|
|
79
|
+
"initialStatus",
|
|
80
|
+
"identity",
|
|
81
|
+
"placement",
|
|
82
|
+
"template",
|
|
83
|
+
"heading",
|
|
84
|
+
"reachability"
|
|
85
|
+
],
|
|
86
|
+
"oneOf": [
|
|
87
|
+
{
|
|
88
|
+
"required": ["allowedOwnerIds"],
|
|
89
|
+
"properties": { "allowedOwnerIds": true }
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"required": ["ownerSetId"],
|
|
93
|
+
"properties": { "ownerSetId": true }
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"properties": {
|
|
97
|
+
"type": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/lowerId" },
|
|
98
|
+
"initialStatus": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/lowerId" },
|
|
99
|
+
"identity": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/identity" },
|
|
100
|
+
"placement": {
|
|
101
|
+
"oneOf": [
|
|
102
|
+
{ "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/collectionPlacement" },
|
|
103
|
+
{ "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/qualifiedLeafIndexPlacement" },
|
|
104
|
+
{ "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/explicitPlacement" }
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"template": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"additionalProperties": false,
|
|
110
|
+
"required": ["kind", "path"],
|
|
111
|
+
"properties": {
|
|
112
|
+
"kind": { "const": "fenced-markdown-body" },
|
|
113
|
+
"path": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/repositoryPath" }
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"heading": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"required": ["kind"],
|
|
120
|
+
"properties": {
|
|
121
|
+
"kind": { "enum": ["id-colon-title", "title"] }
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"reachability": { "$ref": "#/$defs/reachability" },
|
|
125
|
+
"allowedOwnerIds": { "$ref": "#/$defs/allowedOwnerIds" },
|
|
126
|
+
"ownerSetId": { "$ref": "#/$defs/ownerSetId" }
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"ownerSetId": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"minLength": 1,
|
|
132
|
+
"maxLength": 160,
|
|
133
|
+
"pattern": "^[a-z0-9][a-z0-9._/-]*$"
|
|
134
|
+
},
|
|
135
|
+
"ownerSets": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"additionalProperties": false,
|
|
138
|
+
"required": ["schemaVersion", "sets"],
|
|
139
|
+
"properties": {
|
|
140
|
+
"schemaVersion": { "const": 1 },
|
|
141
|
+
"sets": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"minProperties": 1,
|
|
144
|
+
"maxProperties": 128,
|
|
145
|
+
"propertyNames": { "$ref": "#/$defs/ownerSetId" },
|
|
146
|
+
"additionalProperties": { "$ref": "#/$defs/allowedOwnerIds" }
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"allowedOwnerIds": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"minItems": 1,
|
|
153
|
+
"maxItems": 4096,
|
|
154
|
+
"uniqueItems": true,
|
|
155
|
+
"items": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"minLength": 1,
|
|
158
|
+
"maxLength": 214,
|
|
159
|
+
"pattern": "^[A-Za-z0-9@][A-Za-z0-9@._/-]*$"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"reachability": {
|
|
163
|
+
"oneOf": [
|
|
164
|
+
{
|
|
165
|
+
"type": "object",
|
|
166
|
+
"additionalProperties": false,
|
|
167
|
+
"required": ["kind", "indexPath"],
|
|
168
|
+
"properties": {
|
|
169
|
+
"kind": { "const": "manual-fixed-index" },
|
|
170
|
+
"indexPath": { "$ref": "https://agent-teams.ai/schemas/document-authoring-profile/v1#/$defs/repositoryPath" }
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "object",
|
|
175
|
+
"additionalProperties": false,
|
|
176
|
+
"required": ["kind", "pathPrefix", "indexBasename"],
|
|
177
|
+
"properties": {
|
|
178
|
+
"kind": { "const": "manual-colocated-index" },
|
|
179
|
+
"pathPrefix": { "const": "before-required-segments" },
|
|
180
|
+
"indexBasename": { "const": "README.md" }
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "object",
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"required": ["kind", "reason"],
|
|
187
|
+
"properties": {
|
|
188
|
+
"kind": { "const": "not-required" },
|
|
189
|
+
"reason": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"minLength": 1,
|
|
192
|
+
"maxLength": 500,
|
|
193
|
+
"pattern": "^[^\\u0000-\\u001F\\u007F]+$"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|