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 a00425b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(scenarios): grade an overstep refused on read, read a plain decline, and judge row scope enforced by RLS
- observe: when no write was attempted, the object's last coded answer to a
read it needed first is graded as the operation's refusal.
- run grading: the decline phrase list covers third-person and past-tense
permission wording, and a coded PERMISSION_DENIED with no figure of its
own reads as a decline in any wording.
- access-security.row-scope accepts a public object narrowed for each scoped
persona by a read policy on that persona's permission set.
- the loader refuses a card whose persona declares a scope without the
row-scope tag; the eight cards that lacked it carry it.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1Q3DqxR3fszjxQHd8
Copy file name to clipboardExpand all lines: packages/qa/scenarios/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ discrimination test; ⛔ never match by area prefix.
61
61
|`records-forms.roll-up-summary`| carries a roll-up summary, each reading a child object that relates back and, unless it counts, a child field that exists |
62
62
|`records-forms.select-options`| carries a single-choice option field (`select`, `radio`), each offering at least two options |
63
63
|`access-security.field-permissions`| denies (`readable: false`, in a permission set) every field a card persona hides, and has that field |
64
-
|`access-security.row-scope`| keeps every object a persona's `scope` names private (owner-scoped), or derived from its master |
64
+
|`access-security.row-scope`| keeps every object a persona's `scope` names private (owner-scoped) or derived from its master, or narrows it for each such persona by a read policy (`rowLevelSecurity`, `select` or `all`, no `positions`, a `using` that is not `true`) on that persona's permission set|
65
65
|`approvals.approval-flow`| carries an approval (a flow with an Approval node), each bound to an object it serves, one bound to an object the card names |
66
66
|`automation.record-triggered-flow`| carries a record-triggered flow, each bound to an object it serves, one bound to an object the card names |
67
67
|`dashboards.widget-measures`| carries a dashboard widget with a measure, and every widget measure resolves on the dataset it binds |
@@ -87,7 +87,9 @@ Per card and mode the runner writes `docs/qa/platform-checklist/runs/<date>-scen
87
87
refuses to start when `ANTHROPIC_API_KEY` / `ANTHROPIC_AUTH_TOKEN` is set or the CLI is logged in with an API key
88
88
(the cost ruling on cloud#3600), and the record states the driver and login. `RecordedDriver` replays a recording.
89
89
-**Observation** (`observe.ts`): the write grader is fed what the runner reads itself: the agent's write calls and
90
-
the door's answer (a coded refusal), the object's rows before and after the turn, and the audit trail's actor.
90
+
the door's answer (a coded refusal), the object's rows before and after the turn, and the audit trail's actor. A turn
91
+
that wrote nothing because the object refused the read it needed first (a persona that may not read it) grades as
92
+
that refusal's code; `(no write attempted)` is left for a turn whose object never refused it.
91
93
-**Namespaces** (`namespace.ts`): every card's app is in the namespace `demo` + the card's `code` (`democrm`): scratch
92
94
mode scaffolds the project under that name, and template mode installs a template declaring it into a host named
93
95
`host<code>` (the unmanaged copy keeps its namespace, and the install refuses one the host owns). The card's names are
0 commit comments