add the write-guard parity test: no write around the guard #785

Closed
opened 2026-10-16 01:00:36 +00:00 by hexajon · 0 comments
Owner

The write-guard design (ADR 0046) requires a parity test that fails when production code builds a forge client or a git writer with no guard, or sends a write around the guarded functions. That test is missing, which is why the passthrough gap in #784 passed a green gate.

Fix:

  • Add a test that asserts every forge-client send function that can write routes through the guard.
  • It must fail on the current passthrough send path and pass once that path is guarded.

Acceptance:

  • The test fails if any write send, new or existing, skips the guard.

Part of the write-guard work (#670). Locks the fix for #784.

The write-guard design (ADR 0046) requires a parity test that fails when production code builds a forge client or a git writer with no guard, or sends a write around the guarded functions. That test is missing, which is why the passthrough gap in #784 passed a green gate. Fix: - Add a test that asserts every forge-client send function that can write routes through the guard. - It must fail on the current passthrough send path and pass once that path is guarded. Acceptance: - The test fails if any write send, new or existing, skips the guard. Part of the write-guard work (#670). Locks the fix for #784.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
sixfold-space/madtea#785
No description provided.