Repository navigation
Commit 3afe1db
test(runtime): make the isPausedRun pin able to fail — separate the verdict from the companion field
The reverse verification caught this: replacing `isPausedRun`'s body with
`!!result.screen` — the tolerant-consumer sniff PD #12 forbids — left the whole
runtime suite green. Every assertion in the pin was satisfied by it, because a
screen happened to accompany the paused fixture and to be absent from all the
negatives, so the test could not fail against the one shape it exists to forbid.
Adds the two cases that separate the readings: an `approval`/`wait` pause with
NO screen is still a pause, and a screen on a result that is not parked does not
make it one. Both go red under that substitution.
Also states plainly, at the route-level case, that this door answers a pause and
a terminal success identically on the wire by design, so no route assertion can
tell which arm produced the response — the discrimination lives on the predicate.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y26DJEHSBhhAQ6wwfsHNza1 parent c79fdf0 commit 3afe1db
1 file changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
130 | 148 | | |
131 | 149 | | |
132 | 150 | | |
| |||
0 commit comments