Skip to content

Commit cd09d3b

Browse files
committed
chore: record the new pinned doubles and drop the tracker id from a runtime string
`check:engine-double-contract --write` records the three newly-pinned seams in the #16608 conformance file's engine double — new pinned coverage the ledger had not learned about yet. The fail-closed developer message no longer carries the tracker id: a runtime string reaches authors and operators, none of whom can resolve `#NNNN` (check:doc-authoring). The id stays in the adjacent comment, where the reader who can resolve it is already looking. Refs #16608. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012zTkyNHJ7TkuN2oXtP5x37
1 parent 787e278 commit cd09d3b

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

packages/plugins/plugin-security/src/security-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3308,7 +3308,7 @@ export class SecurityPlugin implements Plugin {
33083308
if (insertCheckSeam && insertCheckSeam.honoured !== true) {
33093309
const developerMessage =
33103310
`[Security] Access denied: the insert on '${opCtx.object}' was executed without the row-level CHECK ` +
3311-
`being evaluated — the engine did not run OperationContext.postHookWriteImageCheck (#16608). ` +
3311+
`being evaluated — the engine did not run OperationContext.postHookWriteImageCheck. ` +
33123312
`The write is NOT vouched for by this gate.`;
33133313
// Contract arg order (#5637): `error(message, error?: Error, meta?)` —
33143314
// the structured fields ride in the THIRD position. There is no `Error`

scripts/engine-double-contract.pinned.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,6 +2681,21 @@
26812681
"verb": "findOne",
26822682
"pinned": 2
26832683
},
2684+
{
2685+
"file": "packages/plugins/plugin-security/src/insert-check-post-image.test.ts",
2686+
"verb": "delete",
2687+
"pinned": 1
2688+
},
2689+
{
2690+
"file": "packages/plugins/plugin-security/src/insert-check-post-image.test.ts",
2691+
"verb": "findOne",
2692+
"pinned": 1
2693+
},
2694+
{
2695+
"file": "packages/plugins/plugin-security/src/insert-check-post-image.test.ts",
2696+
"verb": "update",
2697+
"pinned": 1
2698+
},
26842699
{
26852700
"file": "packages/plugins/plugin-security/src/invitation-placement.test.ts",
26862701
"verb": "findOne",

0 commit comments

Comments
 (0)