Repository navigation
Commit 0f8b970
committed
docs(skills): objectstack-automation teaches the record-anchored approval lock read, with an eval prompt
One short section, "Reading the lock", in
references/state-machines-and-approvals.md: when a record page reads the lock
(a reader not on the approval is served no request row), the route
GET /api/v1/approvals/records/:object/:recordId/lock answering
{ success: true, data: { locked } }, the SDK call
client.approvals.getRecordLock(object, recordId), `locked` alone with request
content behind `approvalsVisibleToReaders`, and an unreadable record answered
with the same 404 as a missing one. Two restatements of the Send-back section
are cut to pointers (the `maxRevisions` config row, the Branching bullet).
evals/flows-triggers-approvals.json gains prompt 10, which expects the lock
read rather than a request-row lookup for a non-participant.
scripts/check-skills-token-ratchet.mjs: the two touched rows follow their
measurement (5587 -> 5730, 2141 -> 2427) under the maintainer's ruling quoted
in each row comment.
Claude-Session: https://claude.ai/code/session_01JQwxbZpLcVkA9KV78eHZYr
Co-authored-by: Claude <noreply@anthropic.com>1 parent cc0d77b commit 0f8b970
3 files changed
Lines changed: 50 additions & 6 deletions
File tree
- scripts
- skills/objectstack-automation
- evals
- references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
794 | 805 | | |
795 | 806 | | |
796 | 807 | | |
| |||
871 | 882 | | |
872 | 883 | | |
873 | 884 | | |
874 | | - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
875 | 897 | | |
876 | 898 | | |
877 | 899 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
93 | 103 | | |
94 | 104 | | |
95 | 105 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
222 | 236 | | |
223 | 237 | | |
224 | 238 | | |
| |||
350 | 364 | | |
351 | 365 | | |
352 | 366 | | |
353 | | - | |
| 367 | + | |
354 | 368 | | |
355 | 369 | | |
356 | 370 | | |
| |||
362 | 376 | | |
363 | 377 | | |
364 | 378 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 379 | + | |
368 | 380 | | |
369 | 381 | | |
370 | 382 | | |
| |||
0 commit comments