@webex/internal-plugin-calendar 3.13.0-next.1 → 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 +479 -0
- package/.sdd/manifest.json +423 -0
- package/AGENTS.md +209 -0
- package/dist/calendar.js +1 -1
- package/docs/adr/0001-retain-product-readme.md +92 -0
- package/docs/adr/index.md +25 -0
- package/docs/architecture.md +290 -0
- package/docs/getting-started.md +102 -0
- package/docs/index.md +43 -0
- package/docs/specs/README.md +66 -0
- package/package.json +10 -10
- package/schemas/repo-context.schema.json +796 -0
- package/src/docs/README.md +525 -0
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./schemas/repo-context.schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"repository": {
|
|
5
|
+
"name": "@webex/internal-plugin-calendar",
|
|
6
|
+
"purpose": "Internal calendar plugin registered as webex.internal.calendar. It registers the device and Mercury and keeps an in-memory meeting collection current from Mercury calendar create, update, and delete events; lists and syncs meetings for a date window (fetching participants a listing omits); reads notes, participants, and scheduler data; creates, updates, and deletes calendar events with payloads encrypted under a KMS key it creates on first use; and runs free-busy lookups that are sent over HTTPS and answered over Mercury. Its inbound payload transformer decrypts meeting reads through the conversation plugin's decryptTextProp transform."
|
|
7
|
+
},
|
|
8
|
+
"commands": {
|
|
9
|
+
"install": "yarn",
|
|
10
|
+
"compile": "yarn workspace @webex/internal-plugin-calendar build:src",
|
|
11
|
+
"build": "yarn workspace @webex/internal-plugin-calendar build",
|
|
12
|
+
"unit-test": "yarn workspace @webex/internal-plugin-calendar test:unit",
|
|
13
|
+
"integration-test": "yarn workspace @webex/internal-plugin-calendar test:browser",
|
|
14
|
+
"lint": "yarn workspace @webex/internal-plugin-calendar test:style",
|
|
15
|
+
"deploy": "yarn workspace @webex/internal-plugin-calendar deploy:npm"
|
|
16
|
+
},
|
|
17
|
+
"public_interfaces": [
|
|
18
|
+
{
|
|
19
|
+
"name": "@webex/internal-plugin-calendar package entry",
|
|
20
|
+
"kind": "package_export",
|
|
21
|
+
"source": "src/index.js",
|
|
22
|
+
"entrypoints": [
|
|
23
|
+
"import Calendar from '@webex/internal-plugin-calendar'",
|
|
24
|
+
"import '@webex/internal-plugin-calendar'"
|
|
25
|
+
],
|
|
26
|
+
"audience": "webex, webex-node, @webex/webex-server, @webex/recipe-private-web-client, and first-party clients",
|
|
27
|
+
"notes": "Importing the package imports the device, encryption, and conversation plugins and registers Calendar as internal plugin 'calendar' with the calendar config and the inbound transformMeetingNotes, transformMeetingParticipants, transformMeetingArray, and transformMeeting payload transformers. The default export is the only export."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "webex.internal.calendar runtime methods",
|
|
31
|
+
"kind": "plugin_api",
|
|
32
|
+
"source": "src/calendar.js",
|
|
33
|
+
"entrypoints": [
|
|
34
|
+
"webex.internal.calendar.register()",
|
|
35
|
+
"webex.internal.calendar.unregister()",
|
|
36
|
+
"webex.internal.calendar.syncCalendar()",
|
|
37
|
+
"webex.internal.calendar.getAll()",
|
|
38
|
+
"webex.internal.calendar.getByType()",
|
|
39
|
+
"webex.internal.calendar.list()",
|
|
40
|
+
"webex.internal.calendar.getNotes()",
|
|
41
|
+
"webex.internal.calendar.getSchedulerData()",
|
|
42
|
+
"webex.internal.calendar.createCalendarEvent()",
|
|
43
|
+
"webex.internal.calendar.updateCalendarEvent()",
|
|
44
|
+
"webex.internal.calendar.deleteCalendarEvent()",
|
|
45
|
+
"webex.internal.calendar.getFreeBusy()"
|
|
46
|
+
],
|
|
47
|
+
"audience": "first-party clients",
|
|
48
|
+
"notes": "Representative entry points; the full list is the Public surface section of src/docs/README.md. getFreeBusy resolves from a later Mercury event matched by data.requestId and has no timeout. getByType throws for keys other than spaceURI, spaceMeetURL, and conversationId."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "calendar plugin events",
|
|
52
|
+
"kind": "event",
|
|
53
|
+
"source": "src/constants.js",
|
|
54
|
+
"entrypoints": [
|
|
55
|
+
"calendar:registered",
|
|
56
|
+
"calendar:unregistered",
|
|
57
|
+
"calendar:create",
|
|
58
|
+
"calendar:update",
|
|
59
|
+
"calendar:delete"
|
|
60
|
+
],
|
|
61
|
+
"audience": "first-party clients through webex.internal.calendar.on",
|
|
62
|
+
"notes": "Create, update, and delete fire after the meeting collection changes, with the stored or removed item. The JSDoc in src/calendar.js names calendar:meeting:* instead; src/constants.js is authoritative."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "calendar configuration",
|
|
66
|
+
"kind": "configuration",
|
|
67
|
+
"source": "src/config.js",
|
|
68
|
+
"entrypoints": [
|
|
69
|
+
"webex.config.calendar.fromDate",
|
|
70
|
+
"webex.config.calendar.toDate"
|
|
71
|
+
],
|
|
72
|
+
"audience": "integrators configuring Webex.init",
|
|
73
|
+
"notes": "Defaults are now minus one day and now plus seven days, computed once when the module loads. syncCalendar() without arguments uses them."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "package scripts",
|
|
77
|
+
"kind": "npm_scripts",
|
|
78
|
+
"source": "package.json",
|
|
79
|
+
"entrypoints": [
|
|
80
|
+
"build",
|
|
81
|
+
"build:src",
|
|
82
|
+
"test:style",
|
|
83
|
+
"test:unit",
|
|
84
|
+
"test:browser",
|
|
85
|
+
"deploy:npm"
|
|
86
|
+
],
|
|
87
|
+
"audience": "contributors and CI",
|
|
88
|
+
"notes": "Run build:src before test:unit because test/unit/spec/calendar.js imports the package by name and loads dist. test:browser runs the specs under karma against live services. The aggregate test script calls test:integration, which is not defined, so it fails at that step."
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"source_of_truth": [
|
|
92
|
+
{
|
|
93
|
+
"surface": "calendar plugin implementation",
|
|
94
|
+
"paths": [
|
|
95
|
+
"src/index.js",
|
|
96
|
+
"src/calendar.js",
|
|
97
|
+
"src/collection.js",
|
|
98
|
+
"src/util.js",
|
|
99
|
+
"src/calendar.encrypt.helper.js",
|
|
100
|
+
"src/calendar.decrypt.helper.js",
|
|
101
|
+
"src/config.js",
|
|
102
|
+
"src/constants.js"
|
|
103
|
+
],
|
|
104
|
+
"generated_artifacts": [
|
|
105
|
+
"dist"
|
|
106
|
+
],
|
|
107
|
+
"refresh_with": [
|
|
108
|
+
"yarn workspace @webex/internal-plugin-calendar build:src"
|
|
109
|
+
],
|
|
110
|
+
"validate_with": [
|
|
111
|
+
"yarn workspace @webex/internal-plugin-calendar test:unit",
|
|
112
|
+
"yarn workspace @webex/internal-plugin-calendar test:style"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"surface": "module specification",
|
|
117
|
+
"paths": [
|
|
118
|
+
"src/docs/README.md"
|
|
119
|
+
],
|
|
120
|
+
"generated_artifacts": [],
|
|
121
|
+
"refresh_with": [
|
|
122
|
+
"update alongside the behavior change in the same commit"
|
|
123
|
+
],
|
|
124
|
+
"validate_with": [
|
|
125
|
+
"spec-validator on an independent runtime"
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"generated_artifacts": [
|
|
130
|
+
{
|
|
131
|
+
"path": "dist",
|
|
132
|
+
"generated_from": "src",
|
|
133
|
+
"refresh_with": "yarn workspace @webex/internal-plugin-calendar build:src"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"path": "../../../.sdd/templates/repo-standards/template-map.json",
|
|
137
|
+
"generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
138
|
+
"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."
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"validation_matrix": [
|
|
142
|
+
{
|
|
143
|
+
"paths": [
|
|
144
|
+
"src/**"
|
|
145
|
+
],
|
|
146
|
+
"minimum": [
|
|
147
|
+
"yarn workspace @webex/internal-plugin-calendar build:src",
|
|
148
|
+
"yarn workspace @webex/internal-plugin-calendar test:unit"
|
|
149
|
+
],
|
|
150
|
+
"recommended": [
|
|
151
|
+
"yarn workspace @webex/internal-plugin-calendar test:style"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"paths": [
|
|
156
|
+
"src/index.js",
|
|
157
|
+
"src/calendar.encrypt.helper.js",
|
|
158
|
+
"src/calendar.decrypt.helper.js"
|
|
159
|
+
],
|
|
160
|
+
"minimum": [
|
|
161
|
+
"yarn workspace @webex/internal-plugin-calendar build:src",
|
|
162
|
+
"yarn workspace @webex/internal-plugin-calendar test:unit"
|
|
163
|
+
],
|
|
164
|
+
"recommended": [
|
|
165
|
+
"review the sibling package specifications packages/@webex/webex-core/src/docs/README.md and packages/@webex/webex-core/src/interceptors/docs/README.md, and the conversation plugin's src/decryption-transforms.js, when the transformer or the encrypted field set changes",
|
|
166
|
+
"add unit cases for the payload transformer and attendee encryption, which have none today"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"change_impact": [
|
|
171
|
+
{
|
|
172
|
+
"paths": [
|
|
173
|
+
"src/calendar.js"
|
|
174
|
+
],
|
|
175
|
+
"affects": [
|
|
176
|
+
"device and Mercury registration and teardown",
|
|
177
|
+
"Mercury calendar event handling and the plugin events",
|
|
178
|
+
"meeting list, sync, notes, participants, and scheduler data reads",
|
|
179
|
+
"calendar event create, update, and delete",
|
|
180
|
+
"free-busy requests and their Mercury answers"
|
|
181
|
+
],
|
|
182
|
+
"refresh_with": [
|
|
183
|
+
"yarn workspace @webex/internal-plugin-calendar build:src"
|
|
184
|
+
],
|
|
185
|
+
"validate_with": [
|
|
186
|
+
"yarn workspace @webex/internal-plugin-calendar test:unit"
|
|
187
|
+
],
|
|
188
|
+
"avoid_direct_edits": [
|
|
189
|
+
"dist"
|
|
190
|
+
],
|
|
191
|
+
"notes": "unregister() disconnects Mercury and unregisters the device for the whole SDK instance, so changes there affect every plugin that shares them."
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"paths": [
|
|
195
|
+
"src/calendar.encrypt.helper.js",
|
|
196
|
+
"src/calendar.decrypt.helper.js"
|
|
197
|
+
],
|
|
198
|
+
"affects": [
|
|
199
|
+
"which write fields are encrypted and with which key",
|
|
200
|
+
"the free-busy encryptionKeyUrl rule",
|
|
201
|
+
"scheduler-data and free-busy decryption"
|
|
202
|
+
],
|
|
203
|
+
"refresh_with": [
|
|
204
|
+
"yarn workspace @webex/internal-plugin-calendar build:src"
|
|
205
|
+
],
|
|
206
|
+
"validate_with": [
|
|
207
|
+
"yarn workspace @webex/internal-plugin-calendar test:unit"
|
|
208
|
+
],
|
|
209
|
+
"avoid_direct_edits": [
|
|
210
|
+
"dist"
|
|
211
|
+
],
|
|
212
|
+
"notes": "Other clients read the same encrypted meetings, so the encrypted field set is a cross-client contract. Attendee encryption is currently not awaited."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"paths": [
|
|
216
|
+
"src/index.js",
|
|
217
|
+
"src/config.js",
|
|
218
|
+
"src/collection.js",
|
|
219
|
+
"src/util.js",
|
|
220
|
+
"src/constants.js"
|
|
221
|
+
],
|
|
222
|
+
"affects": [
|
|
223
|
+
"registration as webex.internal.calendar and the sibling plugin imports",
|
|
224
|
+
"the inbound meeting payload transformers",
|
|
225
|
+
"the default sync window",
|
|
226
|
+
"the shared meeting collection and the derived endTime",
|
|
227
|
+
"the plugin event names"
|
|
228
|
+
],
|
|
229
|
+
"refresh_with": [
|
|
230
|
+
"yarn workspace @webex/internal-plugin-calendar build:src"
|
|
231
|
+
],
|
|
232
|
+
"validate_with": [
|
|
233
|
+
"yarn workspace @webex/internal-plugin-calendar test:unit"
|
|
234
|
+
],
|
|
235
|
+
"avoid_direct_edits": [
|
|
236
|
+
"dist"
|
|
237
|
+
],
|
|
238
|
+
"notes": "The transformers have no unit case; changes need a new test or a live check."
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"evidence_rules": [
|
|
242
|
+
{
|
|
243
|
+
"claim_category": "command_name",
|
|
244
|
+
"sources": [
|
|
245
|
+
"package.json"
|
|
246
|
+
],
|
|
247
|
+
"requirement": "The script must exist in package.json scripts.",
|
|
248
|
+
"notes": "test:integration does not exist; the integration spec runs only through test:browser, which needs live services."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"claim_category": "import_path",
|
|
252
|
+
"sources": [
|
|
253
|
+
"src/index.js"
|
|
254
|
+
],
|
|
255
|
+
"requirement": "A binding is public only if exported from src/index.js.",
|
|
256
|
+
"notes": "Exports: default Calendar only."
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"claim_category": "behavior_claim",
|
|
260
|
+
"sources": [
|
|
261
|
+
"src",
|
|
262
|
+
"test/unit/spec"
|
|
263
|
+
],
|
|
264
|
+
"requirement": "Ground every behavioral claim in source or test evidence.",
|
|
265
|
+
"notes": "Commit history is not an evidence source for this package. README.md is context only (docs/adr/0001-retain-product-readme.md). Socket lifecycle, device registration, KMS, and the decryptTextProp transform are owned by sibling packages; consult their specifications when present, else their code."
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"negative_guidance": [
|
|
269
|
+
{
|
|
270
|
+
"rule": "Do not send meeting subjects, notes, webexOptions, attendee fields, or free-busy emails without encrypting them with the plugin's encryptionKeyUrl.",
|
|
271
|
+
"why": "The calendar service stores ciphertext and other clients decrypt with that key."
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"rule": "Do not send encryptionKeyUrl in a free-busy request that has no emails array.",
|
|
275
|
+
"why": "The encryptFreeBusyRequest JSDoc: the calendar service answers 400 unless the key URL and the sensitive data are both present."
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"rule": "Do not remove the schedulerData exclusion from the meeting predicates while getSchedulerData decrypts explicitly.",
|
|
279
|
+
"why": "The response would be decrypted twice."
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"rule": "Do not treat README.md as the method, event, or error reference.",
|
|
283
|
+
"why": "Its usage block is a placeholder; see docs/adr/0001-retain-product-readme.md."
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"rule": "Do not trust the calendar:meeting:* event names in the src/calendar.js JSDoc.",
|
|
287
|
+
"why": "The emitted names are calendar:create, calendar:update, and calendar:delete in src/constants.js."
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"rule": "Do not run test:unit against a stale dist.",
|
|
291
|
+
"why": "test/unit/spec/calendar.js imports the package by name, which resolves main (dist/index.js)."
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"rule": "Do not infer a coverage threshold for this package.",
|
|
295
|
+
"why": "The developer confirmed no coverage gate applies; the legacy Jest config sets none."
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"confidence_policy": {
|
|
299
|
+
"high": {
|
|
300
|
+
"action": "update",
|
|
301
|
+
"expectation": "Source and unit test evidence both support the change, and the behavior has a case in test/unit/spec."
|
|
302
|
+
},
|
|
303
|
+
"medium": {
|
|
304
|
+
"action": "narrow-scope",
|
|
305
|
+
"expectation": "Only source evidence exists, for example the payload transformer, getFreeBusy, getByType, processMeetingEvent, or attendee encryption. Pin current behavior with a characterization test before modifying."
|
|
306
|
+
},
|
|
307
|
+
"low": {
|
|
308
|
+
"action": "noop",
|
|
309
|
+
"expectation": "Neither source nor tests settle the question, for example the calendar service's free-busy timing. Stop and report the gap."
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"repository_topology": {
|
|
313
|
+
"main_entrypoints": [
|
|
314
|
+
{
|
|
315
|
+
"name": "package entry",
|
|
316
|
+
"path": "src/index.js",
|
|
317
|
+
"purpose": "Imports the sibling plugins, registers the calendar plugin with its config and payload transformer, and re-exports Calendar",
|
|
318
|
+
"notes": "No subpath exports."
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"workspace_packages": [
|
|
322
|
+
{
|
|
323
|
+
"name": "@webex/internal-plugin-calendar",
|
|
324
|
+
"paths": [
|
|
325
|
+
"src",
|
|
326
|
+
"test"
|
|
327
|
+
],
|
|
328
|
+
"notes": "One module; this SDD root is the package directory inside the webex-js-sdk monorepo."
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"source_surfaces": [
|
|
332
|
+
{
|
|
333
|
+
"name": "calendar plugin",
|
|
334
|
+
"paths": [
|
|
335
|
+
"src"
|
|
336
|
+
],
|
|
337
|
+
"notes": "index.js, calendar.js, collection.js, util.js, calendar.encrypt.helper.js, calendar.decrypt.helper.js, config.js, constants.js. Specified at src/docs/README.md."
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "tests",
|
|
341
|
+
"paths": [
|
|
342
|
+
"test/unit/spec",
|
|
343
|
+
"test/integration/spec"
|
|
344
|
+
],
|
|
345
|
+
"notes": "Four unit specs run by Jest through webex-legacy-tools (28 cases). One integration spec, run only by test:browser, which is describe.skip."
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"generated_surfaces": [
|
|
349
|
+
{
|
|
350
|
+
"name": "build output",
|
|
351
|
+
"paths": [
|
|
352
|
+
"dist"
|
|
353
|
+
],
|
|
354
|
+
"generated_from": "src",
|
|
355
|
+
"refresh_with": "yarn workspace @webex/internal-plugin-calendar build:src",
|
|
356
|
+
"notes": "Produced by webex-legacy-tools. Do not edit by hand. The unit specs load it."
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "repo-standards template map",
|
|
360
|
+
"paths": [
|
|
361
|
+
"../../../.sdd/templates/repo-standards"
|
|
362
|
+
],
|
|
363
|
+
"generated_from": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
364
|
+
"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.",
|
|
365
|
+
"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."
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
"validation_entrypoints": [
|
|
369
|
+
{
|
|
370
|
+
"name": "unit tests",
|
|
371
|
+
"command": "yarn workspace @webex/internal-plugin-calendar test:unit",
|
|
372
|
+
"scope": "test/unit/spec",
|
|
373
|
+
"notes": "jest via webex-legacy-tools --runner jest; run build:src first."
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "lint",
|
|
377
|
+
"command": "yarn workspace @webex/internal-plugin-calendar test:style",
|
|
378
|
+
"scope": "src",
|
|
379
|
+
"notes": "eslint via the local .eslintrc.js; exits 0 with 15 require-jsdoc warnings; the shared ignore patterns skip src/docs/README.md."
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"sync_paths": [
|
|
383
|
+
{
|
|
384
|
+
"source": "src/calendar.js",
|
|
385
|
+
"targets": [
|
|
386
|
+
"src/docs/README.md"
|
|
387
|
+
],
|
|
388
|
+
"mechanism": "Manual; update the module specification in the same change that alters observable behavior.",
|
|
389
|
+
"notes": "The same applies to src/index.js, the two helpers, src/collection.js, src/config.js, and src/constants.js."
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"source": "WebexTools/repo-standards@d89a7fe59126ae3ad9bac9ca352aa7f12b4c85dc",
|
|
393
|
+
"targets": [
|
|
394
|
+
"../../../.sdd/templates/repo-standards"
|
|
395
|
+
],
|
|
396
|
+
"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.",
|
|
397
|
+
"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."
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"folder_readme_contract": {
|
|
402
|
+
"required_sections": [
|
|
403
|
+
"purpose",
|
|
404
|
+
"boundaries",
|
|
405
|
+
"key-files",
|
|
406
|
+
"common-tasks"
|
|
407
|
+
],
|
|
408
|
+
"rules": [
|
|
409
|
+
"Orient the reader before describing detail.",
|
|
410
|
+
"Link to the module specification rather than duplicating it."
|
|
411
|
+
],
|
|
412
|
+
"example_policy": "Examples are allowed only when verified against src/ or test/.",
|
|
413
|
+
"fallback": "Omit a section rather than inventing content; report unresolved facts as gaps."
|
|
414
|
+
},
|
|
415
|
+
"regression_feedback_rules": [
|
|
416
|
+
{
|
|
417
|
+
"trigger": "The encrypted field set, the free-busy payload, or the event names change.",
|
|
418
|
+
"required_followups": [
|
|
419
|
+
"Add or update cases in test/unit/spec/calendar.js or the helper specs",
|
|
420
|
+
"Update MOD-005, MOD-013, MOD-015, INV-001, and INV-002 in src/docs/README.md"
|
|
421
|
+
],
|
|
422
|
+
"notes": "Other clients read the same encrypted meetings."
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"trigger": "The payload transformer predicates or transforms change.",
|
|
426
|
+
"required_followups": [
|
|
427
|
+
"Add a unit case for the changed predicate or transform",
|
|
428
|
+
"Update MOD-010, MOD-011, and INV-003 in src/docs/README.md"
|
|
429
|
+
],
|
|
430
|
+
"notes": "Scheduler data is excluded from the meeting predicates because getSchedulerData decrypts it explicitly."
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"surface_owners": [
|
|
434
|
+
{
|
|
435
|
+
"surface": "module implementation and specifications",
|
|
436
|
+
"owner": "@webex/web-sdk",
|
|
437
|
+
"edit_boundary": "Owner per the monorepo .github/CODEOWNERS default rule; the package has no explicit entry."
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"do_not_edit": [
|
|
441
|
+
"dist",
|
|
442
|
+
"../../../.sdd/templates/repo-standards"
|
|
443
|
+
],
|
|
444
|
+
"marker_scopes": {
|
|
445
|
+
"sdd": [
|
|
446
|
+
".sdd/manifest.json",
|
|
447
|
+
"src/docs/README.md",
|
|
448
|
+
"docs"
|
|
449
|
+
]
|
|
450
|
+
},
|
|
451
|
+
"fallback_rules": [
|
|
452
|
+
"When source and tests disagree, code is the referee and the disagreement is recorded rather than silently resolved.",
|
|
453
|
+
"When neither source nor tests settle a question, report it as a gap instead of inferring.",
|
|
454
|
+
"Commit history is not a valid rationale source for this package."
|
|
455
|
+
],
|
|
456
|
+
"downstream_context_pack": {
|
|
457
|
+
"required_human_surfaces": [
|
|
458
|
+
"README.md",
|
|
459
|
+
"docs/index.md",
|
|
460
|
+
"docs/architecture.md",
|
|
461
|
+
"src/docs/README.md"
|
|
462
|
+
],
|
|
463
|
+
"required_agent_operational_surfaces": [
|
|
464
|
+
"AGENTS.md",
|
|
465
|
+
"docs/specs/README.md"
|
|
466
|
+
],
|
|
467
|
+
"required_machine_readable_surface": ".sdd/manifest.json",
|
|
468
|
+
"recommended_machine_readable_sections": [
|
|
469
|
+
"public_interfaces",
|
|
470
|
+
"change_impact",
|
|
471
|
+
"evidence_rules",
|
|
472
|
+
"negative_guidance",
|
|
473
|
+
"confidence_policy",
|
|
474
|
+
"repository_topology",
|
|
475
|
+
"folder_readme_contract",
|
|
476
|
+
"regression_feedback_rules"
|
|
477
|
+
]
|
|
478
|
+
}
|
|
479
|
+
}
|