You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 577984f
Browse filesBrowse the repository at this point in the historyBrowse files
wip(spec): the entry's closed nested shapes stay private and share the open shapes' field instances
Exporting the closed retryConfig and action twins added public names and
published defs; neither is needed. Each twin is now built from the same
field instances as its open counterpart, so the authorable-surface gate
reaches integration/RetryConfig and integration/ConnectorAction through
its derived-clone bridge and a bare deletion from the shared declaration
is still refused. The twins keep their guidance tables. The generated
artifacts return to the merge base's bytes; the #17356 fixture moves to
integration/DeclarativeConnectorEntry, the connector root's own def, so
its eager reading stays a root-graph hit.
Claude-Session: https://claude.ai/code/session_01Q4EjjP1K353tLKWRMajLsE
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/connector-entry-nested-undeclared-key-refused.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ Metadata-protocol: narrowed
13
13
14
14
-**Before.** The entry refused an undeclared top-level key, but its two nested shapes were plain objects: an undeclared key inside `retryConfig` or inside an `actions` element parsed green and meant nothing to the runtime.
15
15
-**Now.** Each is refused by name, in one `unrecognized_keys` issue located at the container (`retryConfig`, `actions.N`) that lists every undeclared key; at the save door `422 INVALID_METADATA`, and nothing is stored. A credential-shaped key (`secret`, `token`, `apiKey`, `password`, `credentialRef`, …) meets the entry's own prescription (`auth.credentialRef`); an execution binding on an action (`method`, `path`, `url`) is refused with ADR-0097 §5's: an action carries none.
16
-
-**New exports.** The closed shapes are published as `DeclarativeConnectorEntryRetryConfigSchema` and `DeclarativeConnectorEntryActionSchema`, the shapes a metadata document's `retryConfig` and `actions` elements are parsed against.
17
16
-**Unchanged.** The published open shapes — `ConnectorSchema`, `RetryConfigSchema`, `ConnectorActionSchema` — keep their posture: the def a plugin hands to `registerConnector`, the actions a provider derives, and the retry policy the runtime parses at materialization. A row stored before this refusal keeps working: the runtime parses its policy with the open `RetryConfigSchema`, the read withholds the undeclared key, and a save of the served form keeps it at rest; a save that leaves `retryConfig` out removes it, the withheld keys with it.
Copy file name to clipboardExpand all lines: content/docs/references/index.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Protocol reference — every schema by module
3
3
navTitle: Protocol Reference
4
-
description: Every schema published by @objectstack/spec — 1598 schemas across 14 protocol modules
4
+
description: Every schema published by @objectstack/spec — 1596 schemas across 14 protocol modules
5
5
---
6
6
7
7
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
@@ -25,7 +25,7 @@ counts are sums of the rows they head. Regenerate with
25
25
|[Automation Protocol](/docs/references/automation)| 15 | 78 | Flows and their nodes, approvals, ETL pipelines, webhooks, state machines, execution records. |
26
26
|[Data Protocol](/docs/references/data)| 31 | 174 | Objects, fields, queries, filters, datasources and drivers — the ObjectQL layer. |
|**effect**|`Enum<'read' \| 'write'>`| optional | What the action does upstream: 'read' never mutates (reports acted:0); 'write' does (a successful dispatch reports acted:1). Omit when the effect is not knowable — the step is then reported as unmeasured, not as zero |
0 commit comments