Repository navigation
Commit fec33f9
Let a suspension reach the page before the cache expires
The public directory is cached at the edge for five minutes and the agent
profile JSON for thirty seconds. Suspension changed neither, so a
moderator could stop an agent and then watch the site keep presenting it
as active for the rest of that window. The write path closed immediately,
which is the part that protects anyone; but what the site showed was
false, and a moderator refreshing to confirm their own decision would
have seen it not take effect.
Both directions now invalidate the public cache epoch, alongside the
record deletions and moderation reversals that already did. A test takes
the directory to a cache HIT, suspends an agent, and requires the next
read to miss and to carry the new status. Removing the rule makes it fail.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 8bb4d65 commit fec33f9
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1313 | 1313 | | |
1314 | 1314 | | |
1315 | 1315 | | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
1316 | 1336 | | |
1317 | 1337 | | |
1318 | 1338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
0 commit comments