@webex/internal-plugin-support 3.12.0 → 3.13.0-next.10
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/.repo-context.json +437 -0
- package/.sdd/manifest.json +430 -0
- package/AGENTS.md +197 -0
- package/dist/support.js +13 -3
- package/dist/support.js.map +1 -1
- package/docs/adr/0001-retain-product-readme.md +97 -0
- package/docs/adr/index.md +25 -0
- package/docs/architecture.md +260 -0
- package/docs/getting-started.md +122 -0
- package/docs/index.md +42 -0
- package/docs/specs/README.md +67 -0
- package/package.json +12 -12
- package/schemas/repo-context.schema.json +796 -0
- package/src/docs/README.md +436 -0
- package/src/support.js +20 -3
- package/test/unit/spec/support.js +147 -0
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./schemas/repo-context.schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"repository": {
|
|
5
|
+
"name": "@webex/internal-plugin-support",
|
|
6
|
+
"purpose": "Internal plugin registered as webex.internal.support for support and log-upload endpoints. getFeedbackUrl() POSTs users/deskFeedbackUrl and getSupportUrl() GETs users/deskSupportUrl on the conversation service, each resolving body.url. submitLogs() takes the SDK logger's full or incremental (diff) log text, or caller-supplied logs, and uploads it through webex.upload to the clientLogs service in three phases (logs/urls, PUT to the returned tempURL, logs/meta with a key-value metadata array), authorizing with the user token or, failing that, a client token; it advances the logger's last-submitted index on success and, for a failed diff upload with retryFailedLogUploadsAtNextInterval, rolls the logger back so the next diff resends the span. It stores nothing itself."
|
|
7
|
+
},
|
|
8
|
+
"commands": {
|
|
9
|
+
"install": "yarn",
|
|
10
|
+
"compile": "yarn workspace @webex/internal-plugin-support build",
|
|
11
|
+
"build": "yarn workspace @webex/internal-plugin-support build:src",
|
|
12
|
+
"unit-test": "yarn workspace @webex/internal-plugin-support test:unit",
|
|
13
|
+
"lint": "yarn workspace @webex/internal-plugin-support test:style",
|
|
14
|
+
"deploy": "yarn workspace @webex/internal-plugin-support deploy:npm"
|
|
15
|
+
},
|
|
16
|
+
"public_interfaces": [
|
|
17
|
+
{
|
|
18
|
+
"name": "@webex/internal-plugin-support package entry",
|
|
19
|
+
"kind": "package_export",
|
|
20
|
+
"source": "src/index.js",
|
|
21
|
+
"entrypoints": [
|
|
22
|
+
"import '@webex/internal-plugin-support'",
|
|
23
|
+
"import Support from '@webex/internal-plugin-support'"
|
|
24
|
+
],
|
|
25
|
+
"audience": "first-party Webex clients and the SDK packages that register it",
|
|
26
|
+
"notes": "Importing the package imports the device plugin, then registers Support as internal plugin 'support' with config.support defaults {appType: '', appVersion: '', languageCode: '', incrementalLogs: false} and config.device.preDiscoveryServices entries for atlas and clientLogs; the first registration of the name wins. The default export is the only export."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "webex.internal.support methods",
|
|
30
|
+
"kind": "plugin_api",
|
|
31
|
+
"source": "src/support.js",
|
|
32
|
+
"entrypoints": [
|
|
33
|
+
"webex.internal.support.submitLogs(metadata, logs, options)",
|
|
34
|
+
"webex.internal.support.getFeedbackUrl(options)",
|
|
35
|
+
"webex.internal.support.getSupportUrl()"
|
|
36
|
+
],
|
|
37
|
+
"audience": "first-party Webex clients, @webex/calling, @webex/contact-center, and @webex/plugin-meetings",
|
|
38
|
+
"notes": "submitLogs uploads the logger's full or diff log text (or the given logs) to the clientLogs service through webex.upload with a key-value metadata list, commits the logger index on success, rolls it back for a failed diff upload when config.support.retryFailedLogUploadsAtNextInterval is truthy, and always rejects with the upload error. getFeedbackUrl and getSupportUrl resolve body.url from the conversation service; getFeedbackUrl modifies the caller's options object."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "package scripts",
|
|
42
|
+
"kind": "npm_scripts",
|
|
43
|
+
"source": "package.json",
|
|
44
|
+
"entrypoints": [
|
|
45
|
+
"build",
|
|
46
|
+
"build:src",
|
|
47
|
+
"test:unit",
|
|
48
|
+
"test:style",
|
|
49
|
+
"test:browser",
|
|
50
|
+
"test",
|
|
51
|
+
"deploy:npm"
|
|
52
|
+
],
|
|
53
|
+
"audience": "contributors and CI",
|
|
54
|
+
"notes": "build runs build:src, which writes dist. test:unit runs the jest unit spec, which imports the package by name and so tests dist; run build:src first. There is no test:integration script (the mocha script is named test:integratio:broken), so the aggregate test stops there; test:browser currently bundles nothing (0 tests)."
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"source_of_truth": [
|
|
58
|
+
{
|
|
59
|
+
"surface": "Support plugin implementation",
|
|
60
|
+
"paths": [
|
|
61
|
+
"src/index.js",
|
|
62
|
+
"src/support.js",
|
|
63
|
+
"src/config.js"
|
|
64
|
+
],
|
|
65
|
+
"generated_artifacts": [
|
|
66
|
+
"dist"
|
|
67
|
+
],
|
|
68
|
+
"refresh_with": [
|
|
69
|
+
"yarn workspace @webex/internal-plugin-support build:src"
|
|
70
|
+
],
|
|
71
|
+
"validate_with": [
|
|
72
|
+
"yarn workspace @webex/internal-plugin-support test:unit",
|
|
73
|
+
"yarn workspace @webex/internal-plugin-support test:style"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"surface": "module specification",
|
|
78
|
+
"paths": [
|
|
79
|
+
"src/docs/README.md"
|
|
80
|
+
],
|
|
81
|
+
"generated_artifacts": [],
|
|
82
|
+
"refresh_with": [
|
|
83
|
+
"update alongside the behavior change in the same commit"
|
|
84
|
+
],
|
|
85
|
+
"validate_with": [
|
|
86
|
+
"spec-validator on an independent runtime"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"generated_artifacts": [
|
|
91
|
+
{
|
|
92
|
+
"path": "dist",
|
|
93
|
+
"generated_from": "src",
|
|
94
|
+
"refresh_with": "yarn workspace @webex/internal-plugin-support build:src"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"path": "../../../.sdd/templates/repo-standards/template-map.json",
|
|
98
|
+
"generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
99
|
+
"refresh_with": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json. Refresh the root snapshot, not this package."
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"validation_matrix": [
|
|
103
|
+
{
|
|
104
|
+
"paths": [
|
|
105
|
+
"src/**"
|
|
106
|
+
],
|
|
107
|
+
"minimum": [
|
|
108
|
+
"yarn workspace @webex/internal-plugin-support build:src",
|
|
109
|
+
"yarn workspace @webex/internal-plugin-support test:unit",
|
|
110
|
+
"yarn workspace @webex/internal-plugin-support test:style"
|
|
111
|
+
],
|
|
112
|
+
"recommended": [
|
|
113
|
+
"add or update cases in test/unit/spec/support.js for the changed behavior"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"paths": [
|
|
118
|
+
"src/support.js"
|
|
119
|
+
],
|
|
120
|
+
"minimum": [
|
|
121
|
+
"yarn workspace @webex/internal-plugin-support build:src",
|
|
122
|
+
"yarn workspace @webex/internal-plugin-support test:unit",
|
|
123
|
+
"yarn workspace @webex/internal-plugin-support test:style"
|
|
124
|
+
],
|
|
125
|
+
"recommended": [
|
|
126
|
+
"review @webex/calling, @webex/contact-center, and @webex/plugin-meetings, which call submitLogs and read url, userId, and trackingid, when an argument, metadata key, upload option, or resolved field changes"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"paths": [
|
|
131
|
+
"src/config.js",
|
|
132
|
+
"src/index.js"
|
|
133
|
+
],
|
|
134
|
+
"minimum": [
|
|
135
|
+
"yarn workspace @webex/internal-plugin-support build:src",
|
|
136
|
+
"yarn workspace @webex/internal-plugin-support test:unit",
|
|
137
|
+
"yarn workspace @webex/internal-plugin-support test:style"
|
|
138
|
+
],
|
|
139
|
+
"recommended": [
|
|
140
|
+
"check the packages that register the plugin (webex, webex-node, @webex/webex-server, @webex/recipe-private-web-client, @webex/contact-center) when a default or the registered name changes"
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"change_impact": [
|
|
145
|
+
{
|
|
146
|
+
"paths": [
|
|
147
|
+
"src/support.js"
|
|
148
|
+
],
|
|
149
|
+
"affects": [
|
|
150
|
+
"the log upload request bodies and metadata list",
|
|
151
|
+
"when the logger diff index is committed or rolled back",
|
|
152
|
+
"the token used for the upload",
|
|
153
|
+
"the desk feedback and support requests"
|
|
154
|
+
],
|
|
155
|
+
"refresh_with": [
|
|
156
|
+
"yarn workspace @webex/internal-plugin-support build:src"
|
|
157
|
+
],
|
|
158
|
+
"validate_with": [
|
|
159
|
+
"yarn workspace @webex/internal-plugin-support test:unit",
|
|
160
|
+
"yarn workspace @webex/internal-plugin-support test:style"
|
|
161
|
+
],
|
|
162
|
+
"avoid_direct_edits": [
|
|
163
|
+
"dist"
|
|
164
|
+
],
|
|
165
|
+
"notes": "Keep the commit after a resolved upload only and the rollback for a failed diff upload with the retry config only (INV-001, INV-002)."
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"paths": [
|
|
169
|
+
"src/config.js"
|
|
170
|
+
],
|
|
171
|
+
"affects": [
|
|
172
|
+
"config.support defaults read by every method",
|
|
173
|
+
"config.device.preDiscoveryServices entries, which no workspace code reads"
|
|
174
|
+
],
|
|
175
|
+
"refresh_with": [
|
|
176
|
+
"yarn workspace @webex/internal-plugin-support build:src"
|
|
177
|
+
],
|
|
178
|
+
"validate_with": [
|
|
179
|
+
"yarn workspace @webex/internal-plugin-support test:unit",
|
|
180
|
+
"yarn workspace @webex/internal-plugin-support test:style"
|
|
181
|
+
],
|
|
182
|
+
"avoid_direct_edits": [
|
|
183
|
+
"dist"
|
|
184
|
+
],
|
|
185
|
+
"notes": "No test asserts the defaults; add one before changing them."
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"evidence_rules": [
|
|
189
|
+
{
|
|
190
|
+
"claim_category": "command_name",
|
|
191
|
+
"sources": [
|
|
192
|
+
"package.json"
|
|
193
|
+
],
|
|
194
|
+
"requirement": "The script must exist in package.json scripts.",
|
|
195
|
+
"notes": "test:integration does not exist, so the aggregate test script fails; test:browser currently verifies nothing."
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"claim_category": "import_path",
|
|
199
|
+
"sources": [
|
|
200
|
+
"src/index.js"
|
|
201
|
+
],
|
|
202
|
+
"requirement": "A binding is public only if exported from src/index.js.",
|
|
203
|
+
"notes": "The only export is the default Support."
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"claim_category": "behavior_claim",
|
|
207
|
+
"sources": [
|
|
208
|
+
"src",
|
|
209
|
+
"test/unit/spec"
|
|
210
|
+
],
|
|
211
|
+
"requirement": "Ground every behavioral claim in source and unit-test evidence.",
|
|
212
|
+
"notes": "Commit history is not an evidence source for this package. README.md is context only (docs/adr/0001-retain-product-readme.md). The webex-core, plugin-logger, and internal-plugin-device specs were consulted; their code is the referee where a spec is silent."
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"negative_guidance": [
|
|
216
|
+
{
|
|
217
|
+
"rule": "Do not retry the upload inside submitLogs.",
|
|
218
|
+
"why": "webex.upload retries its upload phase, and the diff rollback defers failed spans to the next call."
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"rule": "Do not commit or roll back the logger index outside the upload result handlers.",
|
|
222
|
+
"why": "The index decides which logs the next diff upload sends."
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"rule": "Do not swallow an upload rejection.",
|
|
226
|
+
"why": "Callers in calling, contact-center, and plugin-meetings log and report the failure."
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"rule": "Do not log log text, metadata values, tokens, user ids, or org ids.",
|
|
230
|
+
"why": "They are user and identity data; the only existing log line carries an error object."
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"rule": "Do not treat README.md as a usage reference.",
|
|
234
|
+
"why": "Its Usage block names a placeholder member; see docs/adr/0001-retain-product-readme.md."
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"rule": "Do not infer a coverage threshold for this package.",
|
|
238
|
+
"why": "No coverage script or threshold exists."
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"confidence_policy": {
|
|
242
|
+
"high": {
|
|
243
|
+
"action": "update",
|
|
244
|
+
"expectation": "Source and a unit case in test/unit/spec/support.js agree."
|
|
245
|
+
},
|
|
246
|
+
"medium": {
|
|
247
|
+
"action": "narrow-scope",
|
|
248
|
+
"expectation": "Only source evidence exists, as for registration, the config defaults, and the desk URL methods. Pin current behavior with a unit case before modifying."
|
|
249
|
+
},
|
|
250
|
+
"low": {
|
|
251
|
+
"action": "noop",
|
|
252
|
+
"expectation": "Neither source, tests, nor a dependency's spec or code settles the question. Stop and report the gap."
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"repository_topology": {
|
|
256
|
+
"main_entrypoints": [
|
|
257
|
+
{
|
|
258
|
+
"name": "package entry",
|
|
259
|
+
"path": "src/index.js",
|
|
260
|
+
"purpose": "Registers the support plugin and default-exports the class",
|
|
261
|
+
"notes": "No subpath exports; package.json main is dist/index.js and devMain is src/index.js."
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"workspace_packages": [
|
|
265
|
+
{
|
|
266
|
+
"name": "@webex/internal-plugin-support",
|
|
267
|
+
"paths": [
|
|
268
|
+
"src",
|
|
269
|
+
"test"
|
|
270
|
+
],
|
|
271
|
+
"notes": "One module; this SDD root is the package directory inside the webex-js-sdk monorepo."
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"source_surfaces": [
|
|
275
|
+
{
|
|
276
|
+
"name": "Support plugin",
|
|
277
|
+
"paths": [
|
|
278
|
+
"src"
|
|
279
|
+
],
|
|
280
|
+
"notes": "index.js, support.js, config.js. Specified at src/docs/README.md."
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "tests",
|
|
284
|
+
"paths": [
|
|
285
|
+
"test/unit/spec",
|
|
286
|
+
"test/integration/spec"
|
|
287
|
+
],
|
|
288
|
+
"notes": "Unit spec run by test:unit; live-service spec run only by test:browser."
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"generated_surfaces": [
|
|
292
|
+
{
|
|
293
|
+
"name": "build output",
|
|
294
|
+
"paths": [
|
|
295
|
+
"dist"
|
|
296
|
+
],
|
|
297
|
+
"generated_from": "src",
|
|
298
|
+
"refresh_with": "yarn workspace @webex/internal-plugin-support build:src",
|
|
299
|
+
"notes": "JavaScript and source maps from webex-legacy-tools; no type declarations. Do not edit by hand."
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "repo-standards template map",
|
|
303
|
+
"paths": [
|
|
304
|
+
"../../../.sdd/templates/repo-standards"
|
|
305
|
+
],
|
|
306
|
+
"generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
307
|
+
"refresh_with": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json. Refresh the root snapshot, not this package.",
|
|
308
|
+
"notes": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json. Refresh the root snapshot, not this package."
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"validation_entrypoints": [
|
|
312
|
+
{
|
|
313
|
+
"name": "compile",
|
|
314
|
+
"command": "yarn workspace @webex/internal-plugin-support build",
|
|
315
|
+
"scope": "src",
|
|
316
|
+
"notes": "Runs build:src."
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "unit-test",
|
|
320
|
+
"command": "yarn workspace @webex/internal-plugin-support test:unit",
|
|
321
|
+
"scope": "test/unit/spec",
|
|
322
|
+
"notes": "Run build:src first; the spec tests dist."
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "lint",
|
|
326
|
+
"command": "yarn workspace @webex/internal-plugin-support test:style",
|
|
327
|
+
"scope": "src",
|
|
328
|
+
"notes": "eslint via the local .eslintrc.js; docs/** and *.md are ignored."
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"sync_paths": [
|
|
332
|
+
{
|
|
333
|
+
"source": "src/support.js",
|
|
334
|
+
"targets": [
|
|
335
|
+
"src/docs/README.md"
|
|
336
|
+
],
|
|
337
|
+
"mechanism": "Manual; update the module specification in the same change that alters observable behavior.",
|
|
338
|
+
"notes": "Keep the upload option, metadata key, and index commit and rollback rows of the specification aligned with the code."
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"source": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
342
|
+
"targets": [
|
|
343
|
+
"../../../.sdd/templates/repo-standards"
|
|
344
|
+
],
|
|
345
|
+
"mechanism": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json. Refresh the root snapshot, not this package.",
|
|
346
|
+
"notes": "The package holds no templates. It refers to the monorepo root snapshot at ../../../.sdd/templates/repo-standards through layout.monorepo_package.templates_root_path in .sdd/manifest.json. Refresh the root snapshot, not this package."
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
"folder_readme_contract": {
|
|
351
|
+
"required_sections": [
|
|
352
|
+
"purpose",
|
|
353
|
+
"boundaries",
|
|
354
|
+
"key-files",
|
|
355
|
+
"common-tasks"
|
|
356
|
+
],
|
|
357
|
+
"rules": [
|
|
358
|
+
"Orient the reader before describing detail.",
|
|
359
|
+
"Link to the module specification rather than duplicating it."
|
|
360
|
+
],
|
|
361
|
+
"example_policy": "Examples are allowed only when verified against src/ or test/.",
|
|
362
|
+
"fallback": "Omit a section rather than inventing content; report unresolved facts as gaps."
|
|
363
|
+
},
|
|
364
|
+
"regression_feedback_rules": [
|
|
365
|
+
{
|
|
366
|
+
"trigger": "The log choice, upload options, or index commit and rollback in submitLogs change.",
|
|
367
|
+
"required_followups": [
|
|
368
|
+
"Update the parametrized cases in test/unit/spec/support.js",
|
|
369
|
+
"Update MOD-005 to MOD-009 and INV-001 to INV-003 in src/docs/README.md"
|
|
370
|
+
],
|
|
371
|
+
"notes": "Consumers rely on diff uploads not resending committed logs."
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"trigger": "The metadata key list changes.",
|
|
375
|
+
"required_followups": [
|
|
376
|
+
"Add a case per key to the #_constructFileMetadata block",
|
|
377
|
+
"Update MOD-010 and INV-004 in src/docs/README.md"
|
|
378
|
+
],
|
|
379
|
+
"notes": "Keys outside the list are dropped."
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"trigger": "getFeedbackUrl, getSupportUrl, or the config defaults change.",
|
|
383
|
+
"required_followups": [
|
|
384
|
+
"Add unit cases; none exist today",
|
|
385
|
+
"Update MOD-002 to MOD-004 in src/docs/README.md"
|
|
386
|
+
],
|
|
387
|
+
"notes": "No case covers these today."
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"surface_owners": [
|
|
391
|
+
{
|
|
392
|
+
"surface": "module implementation and specifications",
|
|
393
|
+
"owner": "@webex/web-sdk",
|
|
394
|
+
"edit_boundary": "Owner per the default rule of the monorepo .github/CODEOWNERS; the file has no line for packages/@webex/internal-plugin-support."
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"do_not_edit": [
|
|
398
|
+
"dist",
|
|
399
|
+
"../../../.sdd/templates/repo-standards"
|
|
400
|
+
],
|
|
401
|
+
"marker_scopes": {
|
|
402
|
+
"sdd": [
|
|
403
|
+
".sdd/manifest.json",
|
|
404
|
+
"src/docs/README.md",
|
|
405
|
+
"docs"
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
"fallback_rules": [
|
|
409
|
+
"When source and tests disagree, code is the referee and the disagreement is recorded rather than silently resolved.",
|
|
410
|
+
"When neither source nor tests settle a question, report it as a gap instead of inferring.",
|
|
411
|
+
"Commit history is not a valid rationale source for this package.",
|
|
412
|
+
"When a dependency's specification disagrees with that dependency's code, use the code and record the disagreement; when a dependency has no specification, use its code."
|
|
413
|
+
],
|
|
414
|
+
"downstream_context_pack": {
|
|
415
|
+
"required_human_surfaces": [
|
|
416
|
+
"README.md",
|
|
417
|
+
"docs/index.md",
|
|
418
|
+
"docs/architecture.md",
|
|
419
|
+
"src/docs/README.md"
|
|
420
|
+
],
|
|
421
|
+
"required_agent_operational_surfaces": [
|
|
422
|
+
"AGENTS.md",
|
|
423
|
+
"docs/specs/README.md"
|
|
424
|
+
],
|
|
425
|
+
"required_machine_readable_surface": ".sdd/manifest.json",
|
|
426
|
+
"recommended_machine_readable_sections": [
|
|
427
|
+
"public_interfaces",
|
|
428
|
+
"change_impact",
|
|
429
|
+
"evidence_rules",
|
|
430
|
+
"negative_guidance",
|
|
431
|
+
"confidence_policy",
|
|
432
|
+
"repository_topology",
|
|
433
|
+
"folder_readme_contract",
|
|
434
|
+
"regression_feedback_rules"
|
|
435
|
+
]
|
|
436
|
+
}
|
|
437
|
+
}
|