Skip to content

Commit fa5e272

Browse files
committed
test(plugin-audit): state which edit-stamp pins the base reds
Claude-Session: https://claude.ai/code/session_01FzQy26KznSa5j2gnf3AzsE Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7b97ac7 commit fa5e272

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎packages/plugins/plugin-audit/src/comment-edit-stamp.integration.test.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
* kernel, real ObjectQL, real AuditPlugin, real SQLite driver), as the author:
1414
* a body edit stored `is_edited: false` / `edited_at: null`; an update carrying
1515
* `{ is_edited: true, edited_at: <forged> }` stored both; a create carrying them
16-
* stored both. Every pin below was red there for the reason it names.
16+
* stored both. Run against that base's implementation, seven of the pins
17+
* below were red. The other three — the two no-stamp pins and the
18+
* `preserveAudit` one — are green there by construction (nothing stamped, and
19+
* nothing was read-only), so they carry no weight on their own; the no-stamp
20+
* pins were ablated against the stamp instead (stamping without the `body`
21+
* guard, or without the unchanged-body comparison, turns them red).
1722
*
1823
* Which shape "read-only" takes was measured too, on the `created_at` precedent:
1924
* on update the engine hides a non-system caller's `readonly` value from the

0 commit comments

Comments
 (0)