@webex/internal-plugin-lyra 3.13.0-next.1 → 3.13.0-next.11
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 +476 -0
- package/.sdd/manifest.json +402 -0
- package/AGENTS.md +205 -0
- package/dist/device.js +1 -1
- package/dist/lyra.js +1 -1
- package/dist/space.js +1 -1
- package/docs/adr/0001-retain-product-readme.md +99 -0
- package/docs/adr/index.md +25 -0
- package/docs/architecture.md +257 -0
- package/docs/getting-started.md +119 -0
- package/docs/index.md +43 -0
- package/docs/specs/README.md +68 -0
- package/package.json +13 -13
- package/schemas/repo-context.schema.json +796 -0
- package/src/docs/README.md +447 -0
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./schemas/repo-context.schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"repository": {
|
|
5
|
+
"name": "@webex/internal-plugin-lyra",
|
|
6
|
+
"purpose": "Internal plugin registered as webex.internal.lyra for Lyra spaces (room devices). getAdvertisedEndpoint() resolves an ultrasound token to the advertising space through the proximity service. The space child lists and reads the user's spaces, joins (default pass type MANUAL, with the current device url) and leaves them, verifies occupants, reads bindings, and binds and unbinds conversations with KMS create and delete authorization messages for the space identity; join, leave, bindConversation, and unbindConversation take a space.url relative to the lyra service, while the other space methods take an absolute one. The device child reads and reports audio state and invokes mute, unmute, and volume actions under the audio resource of the space url. It stores nothing itself."
|
|
7
|
+
},
|
|
8
|
+
"commands": {
|
|
9
|
+
"install": "yarn",
|
|
10
|
+
"compile": "yarn workspace @webex/internal-plugin-lyra build",
|
|
11
|
+
"build": "yarn workspace @webex/internal-plugin-lyra build:src",
|
|
12
|
+
"unit-test": "yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
13
|
+
"lint": "yarn workspace @webex/internal-plugin-lyra test:style",
|
|
14
|
+
"deploy": "yarn workspace @webex/internal-plugin-lyra deploy:npm"
|
|
15
|
+
},
|
|
16
|
+
"public_interfaces": [
|
|
17
|
+
{
|
|
18
|
+
"name": "@webex/internal-plugin-lyra package entry",
|
|
19
|
+
"kind": "package_export",
|
|
20
|
+
"source": "src/index.js",
|
|
21
|
+
"entrypoints": [
|
|
22
|
+
"import '@webex/internal-plugin-lyra'",
|
|
23
|
+
"import Lyra, {config} from '@webex/internal-plugin-lyra'"
|
|
24
|
+
],
|
|
25
|
+
"audience": "first-party Webex clients and the SDK packages that register it",
|
|
26
|
+
"notes": "Importing the package imports the mercury, encryption, conversation, and feature plugins, then registers Lyra as internal plugin 'lyra' with config {lyra: {}}; the first registration of the name wins. The default export Lyra and the named export config are the only exports."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "webex.internal.lyra methods",
|
|
30
|
+
"kind": "plugin_api",
|
|
31
|
+
"source": "src/lyra.js",
|
|
32
|
+
"entrypoints": [
|
|
33
|
+
"webex.internal.lyra.getAdvertisedEndpoint(token)",
|
|
34
|
+
"webex.internal.lyra.space.list()",
|
|
35
|
+
"webex.internal.lyra.space.get(space)",
|
|
36
|
+
"webex.internal.lyra.space.join(space, options)",
|
|
37
|
+
"webex.internal.lyra.space.leave(space, options)",
|
|
38
|
+
"webex.internal.lyra.space.verifyOccupant(space, occupantId)",
|
|
39
|
+
"webex.internal.lyra.space.getCurrentBindings(space)",
|
|
40
|
+
"webex.internal.lyra.space.bindConversation(space, conversation, options)",
|
|
41
|
+
"webex.internal.lyra.space.unbindConversation(space, conversation, options)",
|
|
42
|
+
"webex.internal.lyra.space.deleteBinding(space, options)",
|
|
43
|
+
"webex.internal.lyra.device.getAudioState(space)",
|
|
44
|
+
"webex.internal.lyra.device.putAudioState(space, audioState)",
|
|
45
|
+
"webex.internal.lyra.device.mute(space)",
|
|
46
|
+
"webex.internal.lyra.device.unmute(space)",
|
|
47
|
+
"webex.internal.lyra.device.increaseVolume(space)",
|
|
48
|
+
"webex.internal.lyra.device.decreaseVolume(space)",
|
|
49
|
+
"webex.internal.lyra.device.setVolume(space, level)"
|
|
50
|
+
],
|
|
51
|
+
"audience": "@webex/plugin-device-manager and first-party Webex clients",
|
|
52
|
+
"notes": "The space and device children are defined in src/space.js and src/device.js. join, leave, bindConversation, and unbindConversation take a space.url relative to the lyra service (/spaces/ followed by the space id); verifyOccupant, getCurrentBindings, deleteBinding, and every device method take an absolute space.url. getAdvertisedEndpoint, list, get, getCurrentBindings, bindConversation, getAudioState, and putAudioState resolve the response body (items for list); the others resolve the whole response. Argument guards reject before any request; a missing space throws synchronously."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "package scripts",
|
|
56
|
+
"kind": "npm_scripts",
|
|
57
|
+
"source": "package.json",
|
|
58
|
+
"entrypoints": [
|
|
59
|
+
"build",
|
|
60
|
+
"build:src",
|
|
61
|
+
"test:unit",
|
|
62
|
+
"test:style",
|
|
63
|
+
"test:browser",
|
|
64
|
+
"test",
|
|
65
|
+
"deploy:npm"
|
|
66
|
+
],
|
|
67
|
+
"audience": "contributors and CI",
|
|
68
|
+
"notes": "build runs build:src, which writes dist. test:unit runs the jest unit specs, which import the package by name and so test dist; run build:src first. There is no test:integration script, so the aggregate test stops there; test:browser currently bundles nothing (0 tests)."
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"source_of_truth": [
|
|
72
|
+
{
|
|
73
|
+
"surface": "Lyra plugin implementation",
|
|
74
|
+
"paths": [
|
|
75
|
+
"src/index.js",
|
|
76
|
+
"src/lyra.js",
|
|
77
|
+
"src/space.js",
|
|
78
|
+
"src/device.js",
|
|
79
|
+
"src/config.js"
|
|
80
|
+
],
|
|
81
|
+
"generated_artifacts": [
|
|
82
|
+
"dist"
|
|
83
|
+
],
|
|
84
|
+
"refresh_with": [
|
|
85
|
+
"yarn workspace @webex/internal-plugin-lyra build:src"
|
|
86
|
+
],
|
|
87
|
+
"validate_with": [
|
|
88
|
+
"yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
89
|
+
"yarn workspace @webex/internal-plugin-lyra test:style"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"surface": "module specification",
|
|
94
|
+
"paths": [
|
|
95
|
+
"src/docs/README.md"
|
|
96
|
+
],
|
|
97
|
+
"generated_artifacts": [],
|
|
98
|
+
"refresh_with": [
|
|
99
|
+
"update alongside the behavior change in the same commit"
|
|
100
|
+
],
|
|
101
|
+
"validate_with": [
|
|
102
|
+
"spec-validator on an independent runtime"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"generated_artifacts": [
|
|
107
|
+
{
|
|
108
|
+
"path": "dist",
|
|
109
|
+
"generated_from": "src",
|
|
110
|
+
"refresh_with": "yarn workspace @webex/internal-plugin-lyra build:src"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"path": "../../../.sdd/templates/repo-standards/template-map.json",
|
|
114
|
+
"generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
115
|
+
"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."
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"validation_matrix": [
|
|
119
|
+
{
|
|
120
|
+
"paths": [
|
|
121
|
+
"src/**"
|
|
122
|
+
],
|
|
123
|
+
"minimum": [
|
|
124
|
+
"yarn workspace @webex/internal-plugin-lyra build:src",
|
|
125
|
+
"yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
126
|
+
"yarn workspace @webex/internal-plugin-lyra test:style"
|
|
127
|
+
],
|
|
128
|
+
"recommended": [
|
|
129
|
+
"add or update cases in test/unit/spec/lyra.js, test/unit/spec/space.js, or test/unit/spec/device.js for the changed behavior"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"paths": [
|
|
134
|
+
"src/space.js",
|
|
135
|
+
"src/device.js"
|
|
136
|
+
],
|
|
137
|
+
"minimum": [
|
|
138
|
+
"yarn workspace @webex/internal-plugin-lyra build:src",
|
|
139
|
+
"yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
140
|
+
"yarn workspace @webex/internal-plugin-lyra test:style"
|
|
141
|
+
],
|
|
142
|
+
"recommended": [
|
|
143
|
+
"check the calls in @webex/plugin-device-manager and the space.url form each method expects (INV-001) when a request path, body, query string, KMS message, or resolved value changes"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"paths": [
|
|
148
|
+
"src/index.js",
|
|
149
|
+
"src/lyra.js",
|
|
150
|
+
"src/config.js"
|
|
151
|
+
],
|
|
152
|
+
"minimum": [
|
|
153
|
+
"yarn workspace @webex/internal-plugin-lyra build:src",
|
|
154
|
+
"yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
155
|
+
"yarn workspace @webex/internal-plugin-lyra test:style"
|
|
156
|
+
],
|
|
157
|
+
"recommended": [
|
|
158
|
+
"check the packages that register the plugin (@webex/plugin-device-manager, @webex/recipe-private-web-client) when the registered name, a child name, or an import changes"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"change_impact": [
|
|
163
|
+
{
|
|
164
|
+
"paths": [
|
|
165
|
+
"src/space.js"
|
|
166
|
+
],
|
|
167
|
+
"affects": [
|
|
168
|
+
"the occupancy, verification, and binding requests",
|
|
169
|
+
"the KMS authorization messages and their wrapping",
|
|
170
|
+
"the space.url form each method expects"
|
|
171
|
+
],
|
|
172
|
+
"refresh_with": [
|
|
173
|
+
"yarn workspace @webex/internal-plugin-lyra build:src"
|
|
174
|
+
],
|
|
175
|
+
"validate_with": [
|
|
176
|
+
"yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
177
|
+
"yarn workspace @webex/internal-plugin-lyra test:style"
|
|
178
|
+
],
|
|
179
|
+
"avoid_direct_edits": [
|
|
180
|
+
"dist"
|
|
181
|
+
],
|
|
182
|
+
"notes": "Keep INV-001 (relative versus absolute space.url) and INV-003 (wrap query-string KMS messages) intact."
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"paths": [
|
|
186
|
+
"src/device.js"
|
|
187
|
+
],
|
|
188
|
+
"affects": [
|
|
189
|
+
"the audio state and action requests"
|
|
190
|
+
],
|
|
191
|
+
"refresh_with": [
|
|
192
|
+
"yarn workspace @webex/internal-plugin-lyra build:src"
|
|
193
|
+
],
|
|
194
|
+
"validate_with": [
|
|
195
|
+
"yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
196
|
+
"yarn workspace @webex/internal-plugin-lyra test:style"
|
|
197
|
+
],
|
|
198
|
+
"avoid_direct_edits": [
|
|
199
|
+
"dist"
|
|
200
|
+
],
|
|
201
|
+
"notes": "Only the setVolume default and the putAudioState guard are unit-tested today."
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"paths": [
|
|
205
|
+
"src/index.js",
|
|
206
|
+
"src/lyra.js",
|
|
207
|
+
"src/config.js"
|
|
208
|
+
],
|
|
209
|
+
"affects": [
|
|
210
|
+
"the registered plugin name, children, and config",
|
|
211
|
+
"the plugins imported for registration",
|
|
212
|
+
"the proximity lookup"
|
|
213
|
+
],
|
|
214
|
+
"refresh_with": [
|
|
215
|
+
"yarn workspace @webex/internal-plugin-lyra build:src"
|
|
216
|
+
],
|
|
217
|
+
"validate_with": [
|
|
218
|
+
"yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
219
|
+
"yarn workspace @webex/internal-plugin-lyra test:style"
|
|
220
|
+
],
|
|
221
|
+
"avoid_direct_edits": [
|
|
222
|
+
"dist"
|
|
223
|
+
],
|
|
224
|
+
"notes": "No unit case covers registration; add one before changing it."
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"evidence_rules": [
|
|
228
|
+
{
|
|
229
|
+
"claim_category": "command_name",
|
|
230
|
+
"sources": [
|
|
231
|
+
"package.json"
|
|
232
|
+
],
|
|
233
|
+
"requirement": "The script must exist in package.json scripts.",
|
|
234
|
+
"notes": "test:integration does not exist, so the aggregate test script fails; test:browser currently verifies nothing."
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"claim_category": "import_path",
|
|
238
|
+
"sources": [
|
|
239
|
+
"src/index.js"
|
|
240
|
+
],
|
|
241
|
+
"requirement": "A binding is public only if exported from src/index.js.",
|
|
242
|
+
"notes": "The exports are the default Lyra and the named config."
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"claim_category": "behavior_claim",
|
|
246
|
+
"sources": [
|
|
247
|
+
"src",
|
|
248
|
+
"test/unit/spec"
|
|
249
|
+
],
|
|
250
|
+
"requirement": "Ground every behavioral claim in source and unit-test evidence.",
|
|
251
|
+
"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, common, internal-plugin-device, internal-plugin-mercury, and internal-plugin-feature specs were consulted; internal-plugin-encryption, internal-plugin-conversation, and plugin-device-manager have no spec, so their code was used."
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"negative_guidance": [
|
|
255
|
+
{
|
|
256
|
+
"rule": "Do not pass an absolute space.url to join, leave, bindConversation, or unbindConversation, or a relative one to the other space and device methods.",
|
|
257
|
+
"why": "The first group sends it as a lyra catalog resource and the second as the request uri (INV-001)."
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"rule": "Do not put an unwrapped KMS message in a query string.",
|
|
261
|
+
"why": "The outbound KMS transform only reaches body.kmsMessage (INV-003)."
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"rule": "Do not change which methods resolve the body and which the whole response.",
|
|
265
|
+
"why": "@webex/plugin-device-manager and first-party clients read those values."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"rule": "Do not log ultrasound tokens, proofs, device URLs, or KMS messages.",
|
|
269
|
+
"why": "They identify users and devices; the package has no log line today."
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"rule": "Do not treat README.md as a usage reference.",
|
|
273
|
+
"why": "Its Usage block names a placeholder member; see docs/adr/0001-retain-product-readme.md."
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"rule": "Do not infer a coverage threshold for this package.",
|
|
277
|
+
"why": "No coverage script or threshold exists."
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
"confidence_policy": {
|
|
281
|
+
"high": {
|
|
282
|
+
"action": "update",
|
|
283
|
+
"expectation": "Source and a unit case in test/unit/spec agree."
|
|
284
|
+
},
|
|
285
|
+
"medium": {
|
|
286
|
+
"action": "narrow-scope",
|
|
287
|
+
"expectation": "Only source evidence exists, as for registration, list, leave, verifyOccupant, the bindings success paths, and most device requests. Pin current behavior with a unit case before modifying."
|
|
288
|
+
},
|
|
289
|
+
"low": {
|
|
290
|
+
"action": "noop",
|
|
291
|
+
"expectation": "Neither source, tests, nor a dependency's spec or code settles the question. Stop and report the gap."
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"repository_topology": {
|
|
295
|
+
"main_entrypoints": [
|
|
296
|
+
{
|
|
297
|
+
"name": "package entry",
|
|
298
|
+
"path": "src/index.js",
|
|
299
|
+
"purpose": "Registers the lyra plugin and exports the class and its config",
|
|
300
|
+
"notes": "No subpath exports; package.json main is dist/index.js and devMain is src/index.js."
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"workspace_packages": [
|
|
304
|
+
{
|
|
305
|
+
"name": "@webex/internal-plugin-lyra",
|
|
306
|
+
"paths": [
|
|
307
|
+
"src",
|
|
308
|
+
"test"
|
|
309
|
+
],
|
|
310
|
+
"notes": "One module; this SDD root is the package directory inside the webex-js-sdk monorepo."
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"source_surfaces": [
|
|
314
|
+
{
|
|
315
|
+
"name": "Lyra plugin",
|
|
316
|
+
"paths": [
|
|
317
|
+
"src"
|
|
318
|
+
],
|
|
319
|
+
"notes": "index.js, lyra.js, space.js, device.js, config.js. Specified at src/docs/README.md."
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "tests",
|
|
323
|
+
"paths": [
|
|
324
|
+
"test/unit/spec",
|
|
325
|
+
"test/integration/spec"
|
|
326
|
+
],
|
|
327
|
+
"notes": "Three unit specs run by test:unit; two live-service specs run only by test:browser."
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"generated_surfaces": [
|
|
331
|
+
{
|
|
332
|
+
"name": "build output",
|
|
333
|
+
"paths": [
|
|
334
|
+
"dist"
|
|
335
|
+
],
|
|
336
|
+
"generated_from": "src",
|
|
337
|
+
"refresh_with": "yarn workspace @webex/internal-plugin-lyra build:src",
|
|
338
|
+
"notes": "JavaScript and source maps from webex-legacy-tools; no type declarations. Do not edit by hand."
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "repo-standards template map",
|
|
342
|
+
"paths": [
|
|
343
|
+
"../../../.sdd/templates/repo-standards"
|
|
344
|
+
],
|
|
345
|
+
"generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
346
|
+
"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.",
|
|
347
|
+
"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."
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"validation_entrypoints": [
|
|
351
|
+
{
|
|
352
|
+
"name": "compile",
|
|
353
|
+
"command": "yarn workspace @webex/internal-plugin-lyra build",
|
|
354
|
+
"scope": "src",
|
|
355
|
+
"notes": "Runs build:src."
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "unit-test",
|
|
359
|
+
"command": "yarn workspace @webex/internal-plugin-lyra test:unit",
|
|
360
|
+
"scope": "test/unit/spec",
|
|
361
|
+
"notes": "Run build:src first; the specs test dist."
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "lint",
|
|
365
|
+
"command": "yarn workspace @webex/internal-plugin-lyra test:style",
|
|
366
|
+
"scope": "src",
|
|
367
|
+
"notes": "eslint via the local .eslintrc.js; docs/** and *.md are ignored."
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"sync_paths": [
|
|
371
|
+
{
|
|
372
|
+
"source": "src/space.js",
|
|
373
|
+
"targets": [
|
|
374
|
+
"src/docs/README.md"
|
|
375
|
+
],
|
|
376
|
+
"mechanism": "Manual; update the module specification in the same change that alters observable behavior.",
|
|
377
|
+
"notes": "Keep the request, guard, KMS message, and space.url rows of the specification aligned with src/space.js, src/device.js, and src/lyra.js."
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"source": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
381
|
+
"targets": [
|
|
382
|
+
"../../../.sdd/templates/repo-standards"
|
|
383
|
+
],
|
|
384
|
+
"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.",
|
|
385
|
+
"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."
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
"folder_readme_contract": {
|
|
390
|
+
"required_sections": [
|
|
391
|
+
"purpose",
|
|
392
|
+
"boundaries",
|
|
393
|
+
"key-files",
|
|
394
|
+
"common-tasks"
|
|
395
|
+
],
|
|
396
|
+
"rules": [
|
|
397
|
+
"Orient the reader before describing detail.",
|
|
398
|
+
"Link to the module specification rather than duplicating it."
|
|
399
|
+
],
|
|
400
|
+
"example_policy": "Examples are allowed only when verified against src/ or test/.",
|
|
401
|
+
"fallback": "Omit a section rather than inventing content; report unresolved facts as gaps."
|
|
402
|
+
},
|
|
403
|
+
"regression_feedback_rules": [
|
|
404
|
+
{
|
|
405
|
+
"trigger": "A request path, body, or query string built in src/space.js or src/device.js changes.",
|
|
406
|
+
"required_followups": [
|
|
407
|
+
"Add or update a unit case in test/unit/spec asserting the request",
|
|
408
|
+
"Update MOD-004 to MOD-015 and INV-001 in src/docs/README.md"
|
|
409
|
+
],
|
|
410
|
+
"notes": "Only the join bodies, the proximity request, and the setVolume default are asserted today."
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"trigger": "A KMS message or its wrapping in src/space.js changes.",
|
|
414
|
+
"required_followups": [
|
|
415
|
+
"Add unit cases stubbing webex.internal.encryption.kms.prepareRequest; none exist today",
|
|
416
|
+
"Update MOD-010, MOD-012, MOD-013, and INV-003 in src/docs/README.md"
|
|
417
|
+
],
|
|
418
|
+
"notes": "The bindings integration blocks are skipped."
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"trigger": "Registration, children, or imports in src/index.js or src/lyra.js change.",
|
|
422
|
+
"required_followups": [
|
|
423
|
+
"Add a unit case for registration; none exists today",
|
|
424
|
+
"Update MOD-001 and MOD-002 in src/docs/README.md"
|
|
425
|
+
],
|
|
426
|
+
"notes": "@webex/plugin-device-manager reaches the children as webex.internal.lyra.space and webex.internal.lyra.device."
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"surface_owners": [
|
|
430
|
+
{
|
|
431
|
+
"surface": "module implementation and specifications",
|
|
432
|
+
"owner": "@webex/web-sdk",
|
|
433
|
+
"edit_boundary": "Owner per the default rule of the monorepo .github/CODEOWNERS; the file has no line for packages/@webex/internal-plugin-lyra."
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"do_not_edit": [
|
|
437
|
+
"dist",
|
|
438
|
+
"../../../.sdd/templates/repo-standards"
|
|
439
|
+
],
|
|
440
|
+
"marker_scopes": {
|
|
441
|
+
"sdd": [
|
|
442
|
+
".sdd/manifest.json",
|
|
443
|
+
"src/docs/README.md",
|
|
444
|
+
"docs"
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
"fallback_rules": [
|
|
448
|
+
"When source and tests disagree, code is the referee and the disagreement is recorded rather than silently resolved.",
|
|
449
|
+
"When neither source nor tests settle a question, report it as a gap instead of inferring.",
|
|
450
|
+
"Commit history is not a valid rationale source for this package.",
|
|
451
|
+
"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."
|
|
452
|
+
],
|
|
453
|
+
"downstream_context_pack": {
|
|
454
|
+
"required_human_surfaces": [
|
|
455
|
+
"README.md",
|
|
456
|
+
"docs/index.md",
|
|
457
|
+
"docs/architecture.md",
|
|
458
|
+
"src/docs/README.md"
|
|
459
|
+
],
|
|
460
|
+
"required_agent_operational_surfaces": [
|
|
461
|
+
"AGENTS.md",
|
|
462
|
+
"docs/specs/README.md"
|
|
463
|
+
],
|
|
464
|
+
"required_machine_readable_surface": ".sdd/manifest.json",
|
|
465
|
+
"recommended_machine_readable_sections": [
|
|
466
|
+
"public_interfaces",
|
|
467
|
+
"change_impact",
|
|
468
|
+
"evidence_rules",
|
|
469
|
+
"negative_guidance",
|
|
470
|
+
"confidence_policy",
|
|
471
|
+
"repository_topology",
|
|
472
|
+
"folder_readme_contract",
|
|
473
|
+
"regression_feedback_rules"
|
|
474
|
+
]
|
|
475
|
+
}
|
|
476
|
+
}
|