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 f127667
Browse filesBrowse the repository at this point in the historyBrowse files
fix(objectql, lint): synced objects are told to drop write verbs, not to open userActions
On a managedBy 'synced' object the parse refuses a userActions entry that
opens a write (ADR-0153 D4), yet the registry's stripped-apiMethods warning
and the object/managed-api-method-unaffordable finding both prescribed
exactly that. Both now branch on MANAGED_BY_WRITE_LOCKED_BUCKETS: on synced
they name the verbs to remove from enable.apiMethods and point writes at a
declared action (ADR-0153 D5). Every other bucket keeps today's sentence.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5p6qE7Nt8wpjSGLqiC
fix(objectql, lint): on a `managedBy: 'synced'` object, the stripped-`apiMethods` warning and the `object/managed-api-method-unaffordable` finding no longer tell the author to open a verb through `userActions`, which the parse refuses there (ADR-0153 D4, #32134)
7
+
8
+
Clause-②: no
9
+
Metadata-protocol: none
10
+
11
+
-`reconcileManagedApiMethods` (`@objectstack/objectql`): on a write-locked bucket (`MANAGED_BY_WRITE_LOCKED_BUCKETS`, today `synced` alone) the warning's remedy now reads "userActions cannot open a write on this bucket (ADR-0153 D4): remove [VERBS] from enable.apiMethods and send writes through a declared action (ADR-0153 D5)." Every other bucket keeps "Declare userActions to open a verb the object legitimately takes from a user context." The strip itself is unchanged.
12
+
-`object/managed-api-method-unaffordable` (`@objectstack/lint`): on `synced` the verdict says `userActions` cannot open a write there instead of "(needs userActions …)", and the fix line offers only the removal and a declared action. `os explain object/managed-api-method-unaffordable` gains a paragraph saying so. Every other bucket's verdict and fix line are unchanged, and the rule id, severity, `path` and what the rule refuses are unchanged.
0 commit comments