Repository navigation
Commit b849d9e
#7529 flipped `validateWidgetBindings` from `CLI_ONLY` to `CLI_AND_RUNTIME` with
`runtimeTypes: ['dashboard']`, so a dangling widget dataset binding is now
refused at the runtime publish door (Studio, `PUT /api/v1/meta/*`, MCP), not
only by `os validate` / `os build` / `os lint`. The page still described it as a
CLI-only concern, which is the belief #7529 existed to end.
Three corrections, all sourced from `packages/lint/src/authoring-rules.ts`:
- §2 gains the publish-door paragraph — the located `422 invalid_metadata`
envelope, all six error-tier findings gating as one class, and the ruled
draft-may-hold-a-forward-reference carve-out.
- The "one gate, four doors" table's widget-binding row was `—` in the runtime
publish column, which is now flatly false: it becomes `✓ᵈ`.
- The footnote asserting "the two metadata types rules declare there today" and
"an object, page or dashboard save is checked by the schema parse and by
nothing else" is falsified by that row. It loses the hard count rather than
gaining a wrong one — measured against the registry, "three" would also be
false, since `validatePresetComparands` and `validateSecurityPosture` already
declare object/page/seed/permission/book there.
Claude-Session: https://claude.ai/code/session_011RB4waLuNbdruCo6X9oobm
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 192213f commit b849d9e
1 file changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
| |||
371 | 383 | | |
372 | 384 | | |
373 | 385 | | |
374 | | - | |
| 386 | + | |
375 | 387 | | |
376 | 388 | | |
377 | 389 | | |
| |||
399 | 411 | | |
400 | 412 | | |
401 | 413 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
407 | 421 | | |
408 | 422 | | |
409 | 423 | | |
| |||
0 commit comments