Skip to content

Commit 3203b03

Browse files
committed
chore(changeset): include metadata-protocol; note cleared and dot-spelled key withholding
Claude-Session: https://claude.ai/code/session_01AavokzJ5DndAwitDXvKy4U Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9fe4e5f commit 3203b03

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
'@objectstack/spec': patch
3+
'@objectstack/metadata-protocol': patch
34
---
45

56
fix(spec): the connector read withholds root keys the entry shape does not declare
67

78
Clause-②: no
89
Metadata-protocol: none
910

10-
Read-side hardening of the built-in `connector` redactor. A stored connector body is served without any top-level key the authored connector entry (`DeclarativeConnectorEntrySchema`) does not declare; the declared set is read from that schema's own shape, and the read decorations (`_diagnostics`, `_draft`) are left alone. Under `providerConfig`, an array holding a URL with credential parts is withheld whole rather than served. Each withheld position is named in `redactedKeys`, so a save of the served form keeps the stored value, and the runtime's execution read is unchanged. Nothing an author can write changes.
11+
Read-side hardening of the built-in `connector` redactor. A stored connector body is served without any top-level key the authored connector entry (`DeclarativeConnectorEntrySchema`) does not declare — including a cleared one (`null`, `''`, `{}`) and one whose own name carries a dot; the declared set is read from that schema's own shape, and the read decorations (`_diagnostics`, `_draft`) are left alone. Under `providerConfig`, an array, or a key whose own name carries a dot, that holds a URL with credential parts is withheld whole rather than served. Each withheld position is named in `redactedKeys`, and the metadata protocol's carry-forward keeps the stored value at rest when the served form is saved — resolving a dotted key by the whole-string fallback when the dotted split resolves nowhere. The runtime's execution read is unchanged, and nothing an author can write changes.

0 commit comments

Comments
 (0)