|
13 | 13 | " generated-reference-only — the type is documented solely under content/docs/references/,", |
14 | 14 | " which build-docs.ts generates FROM these schemas. Generated docs cannot drift.", |
15 | 15 | " not-authorable — wire protocol, engine RPC, or a runtime-derived discriminator. Nobody", |
16 | | - " hand-writes the variant, so no hand-written doc owes it a mention." |
| 16 | + " hand-writes the variant, so no hand-written doc owes it a mention.", |
| 17 | + "", |
| 18 | + "AUDIT NOTE (#4001 follow-up). `generated-reference-only` is the weaker of the two: it", |
| 19 | + "does not say the variant is un-authorable, only that nobody has written a guide for it.", |
| 20 | + "Every such entry was re-checked against the docs tree, which moved four of the original", |
| 21 | + "seven:", |
| 22 | + " - widget implementation became GOVERNED. protocol/objectui/widget-contract.mdx has", |
| 23 | + " documented all three variants in a `Widget Source` section the whole time; the gate", |
| 24 | + " could not see them because its matcher was blind to YAML. Fixed in the matcher.", |
| 25 | + " - tenant isolation and settings-manifest handler became NOT-AUTHORABLE. Both reasons", |
| 26 | + " already said the words (`operator-set`, `consumed by Setup/Studio`); the label just", |
| 27 | + " disagreed with them.", |
| 28 | + " - the remaining exemptions now state the gap plainly instead of pointing at the", |
| 29 | + " generated page as if it settled the question. Connector authentication is the one", |
| 30 | + " worth acting on: it is tenant-authored (ADR-0097 declarative `connectors:`) and the", |
| 31 | + " repo has no hand-written connector guide at all." |
17 | 32 | ], |
18 | 33 | "entries": [ |
19 | 34 | { |
|
53 | 68 | { |
54 | 69 | "key": "type:inline|npm|remote", |
55 | 70 | "label": "widget implementation", |
56 | | - "exempt": "generated-reference-only", |
57 | | - "reason": "Documented at content/docs/references/ui/widget.mdx, generated from WidgetManifestSchema." |
| 71 | + "docs": ["content/docs/protocol/objectui/widget-contract.mdx"], |
| 72 | + "note": "Was exempt as generated-reference-only until the #4001 audit: the page's `Widget Source` section documents all three variants, but in YAML examples, which the coverage matcher could not see. The exemption was recording a gate blind-spot as a doc gap." |
58 | 73 | }, |
59 | 74 | { |
60 | 75 | "key": "type:cron|interval|once", |
61 | 76 | "label": "job schedule", |
62 | 77 | "exempt": "generated-reference-only", |
63 | | - "reason": "Documented at content/docs/references/system/job.mdx." |
| 78 | + "reason": "No hand-written guide covers the Job type; content/docs/references/system/job.mdx is generated from JobSchema. Note that automation/flows.mdx's `schedule: { type: 'cron' }` is a DIFFERENT surface — a flow start node's own config (flow.zod.ts tombstones a top-level `schedule`) — so it neither documents nor governs this union." |
64 | 79 | }, |
65 | 80 | { |
66 | 81 | "key": "type:api-key|basic|bearer|none|oauth2", |
67 | 82 | "label": "connector authentication", |
68 | 83 | "exempt": "generated-reference-only", |
69 | | - "reason": "Documented at content/docs/references/integration/connector-auth.mdx." |
| 84 | + "reason": "DOCUMENTATION GAP, not a non-authorable surface — the strongest candidate among the exemptions for a real guide. Connector auth IS tenant-authored (ADR-0097 materializes a declarative `connectors:` entry naming a `provider` into a live connector at boot), but the repo has no hand-written connector page at all: the only prose is one paragraph inside automation/flows.mdx about the `connector_action` node. Until a guide exists there is nothing for this entry to bind to; when one is written, bind it and delete this exemption." |
70 | 85 | }, |
71 | 86 | { |
72 | 87 | "key": "type:api-key|basic|bearer|none", |
73 | 88 | "label": "connector auth (environment-artifact projection)", |
74 | 89 | "exempt": "generated-reference-only", |
75 | | - "reason": "Narrower projection of the connector-auth union carried in the deploy artifact; same generated reference." |
| 90 | + "reason": "The declarative connector-instance auth shape (ADR-0097), reached via EnvironmentArtifactSchema.metadata.connectors[].auth. It carries a `credentialRef` rather than an inline secret, and omits `oauth2` because the authorization-code/refresh lifecycle is the enterprise tier (ADR-0015) — not because the artifact narrows it. Inherits the gap above; a connector guide would govern both." |
76 | 91 | }, |
77 | 92 | { |
78 | 93 | "key": "strategy:isolated_db|isolated_schema|shared_schema", |
79 | 94 | "label": "tenant isolation strategy", |
80 | | - "exempt": "generated-reference-only", |
81 | | - "reason": "Documented at content/docs/references/system/tenant.mdx. Operator-set, not tenant-authored." |
| 95 | + "exempt": "not-authorable", |
| 96 | + "reason": "Chosen by the operator when a tenant is provisioned, not written into any tenant's metadata — so no hand-written authoring page owes it a mention. (Was labelled generated-reference-only, though its own reason already said `operator-set`; the generated page at content/docs/references/system/tenant.mdx remains the reference.)" |
82 | 97 | }, |
83 | 98 | { |
84 | 99 | "key": "type:cast|constant|javascript|lookup|map", |
85 | 100 | "label": "sync mapping transform", |
86 | 101 | "exempt": "generated-reference-only", |
87 | | - "reason": "Generated reference only; no hand-written page covers the sync transform set yet." |
| 102 | + "reason": "DOCUMENTATION GAP. `mappings:` is authored on a stack (releases/v12.mdx records `defineMapping`), but no hand-written page covers the transform set — the only prose that names a mapping at all is protocol/kernel/config-resolution.mdx, on a different subject. Lower priority than the connector gap: the transforms are a closed, self-describing set. Bind a page here when one is written." |
88 | 103 | }, |
89 | 104 | { |
90 | 105 | "key": "kind:action|http|navigate", |
91 | 106 | "label": "settings-manifest handler", |
92 | | - "exempt": "generated-reference-only", |
93 | | - "reason": "Generated reference only; consumed by Setup/Studio, not tenant-authored metadata." |
| 107 | + "exempt": "not-authorable", |
| 108 | + "reason": "Declared by a settings manifest that Setup/Studio ships and consumes; it is not part of the metadata a tenant authors. (Was labelled generated-reference-only, though its own reason already said so.)" |
94 | 109 | }, |
95 | 110 | { |
96 | 111 | "key": "viewKind:form|list", |
|
0 commit comments