FA-99935 / Agent workflow termination / Member archive
Workflow: duplicate result decrements pending count twice · case 05
A repeated result event makes the pending tool count negative.
Case contract
Given aggregate pending and result-event counts, return max(0, pending - result_events); event identity is outside this count-only model.
Why this case matters
This toy decision rule isolates one bounded agent-loop completion contract.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| duplicate saturates | -6 | 0 | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗