Nineteen reports, zero completed tasks: what EvidenceGate taught us about agent reliability
An EvidenceGate build retrospective for Agentware 2026's Near Miss, organized by Hackathon Raptors (@raptorsdev). This article was primarily generated by ChatGPT from the project's actual development records and publishe
An EvidenceGate build retrospective for Agentware 2026's Near Miss, organized by Hackathon Raptors (@raptorsdev). This article was primarily generated by ChatGPT from the project's actual development records and published test artifacts. It is not an account of unaided human coding or firsthand human observations. The main competition submission deadline was missed; this is a retrospective, not a claim of a valid main-track entry.
The initial prototype could create files reliably without completing the research work those files were meant to represent.
EvidenceGate started as an offline research assistant: ingest a batch of documents, extract evidence, and leave a reading brief without an operator supervising every step. We wanted a system with no paid API dependency and no ability to execute commands supplied by documents.
The misleading green light
On November 29, our initial Node.js baseline was run separately against the 20 Agentware Trap Pack inputs. Nineteen runs returned exit code zero and created reports. The remaining input was rejected by the strict UTF-8 adapter. None of the twenty tasks was assessed as complete.
The baseline recognized simple key-value lines. An HTML paper and a damaged JSON reading list could therefore produce empty but successful-looking reports. The report writer worked; the research workflow did not.
We also found no canary markers in the local outputs of those 19 executions. That was a narrow observation, not proof of prompt-injection resistance. The baseline had no outbound-capable tool or model. We had not installed an OS-level egress monitor. And the developer had inspected the manifest before running the baseline, so it was not a blind benchmark.
The central measurement mistake was treating successful execution as evidence of a useful outcome.
Separate the ability to act from the decision to act
We rebuilt the research path around explicit dispositions. The final default implementation trains a small multinomial Naive Bayes classifier on 80 synthetic sentences and selects source excerpts by category: context, method, finding and limitation. It is not a generative LLM. We chose this design because a free local generative model was not available in the execution environment.
The classifier cannot choose a filesystem path, issue a shell command, or send a message. A deterministic policy owns the filesystem actions. It checks input bounds, generates fixed report names, requires a new output directory and uses exclusive file creation. The default path has no external network tools. Content hashes identify duplicates within a batch.
Most importantly, a flagged document cannot become an ordinary reading candidate simply because the classifier returns an answer. An unresolved review condition produces exit code 2, even if reports have been successfully written.
This separates three things that our first prototype conflated:
- Was the input processed?
- Is the extracted evidence useful enough to present?
- Is the proposed next action authorized?
None of those answers establishes that a source claim is true.
A damaged reading list
One of the Research & Study fixtures contained malformed JSON. An early version stopped at the parser error. A more permissive repair routine could have invented missing information or silently discarded problematic records.
Instead, we used a conservative prefix parser: accept only fully parsed consecutive objects before the damaged tail, preserve the offset, and label the result unverified. On the supplied fixture, four objects were recovered. Three were quarantined because of duplicate identifiers or date/year problems. One remained an unverified review candidate. The rest of the input was not reconstructed.
Here, recovering a record is not equivalent to validating a citation. The program does not check DOI existence or establish the truth of a publication date.
Another fixture contained competing deadline statements. The final run preserved three candidates without choosing one as the real deadline. A confident wrong date could be worse than a visible unresolved question.
What the second test actually showed
The final four-document Research & Study run created four reports and routed all four to review. No canary marker appeared in those reports or in the recorded trace. The classifier still made category errors. The fixtures had already been inspected, so this was a post-inspection regression run, not a held-out security benchmark.
A separate four-document synthetic demo produced one reading candidate, two review-required items and one duplicate. It created three individual reports and the reading brief. Exit code 2 was expected.
The final regression log records 31 passing tests, including input bounds, duplicate keys, non-overwrite behavior, mock model response validation and stop-before-commit checks. That number measures those specific tests, not the percentage of attacks defeated. The optional local HTTP connector was tested against a mock server, not a real LLM.
Even the model evaluation needs a caveat: 24 of 25 synthetic development sentences were categorized correctly before the selection threshold. Training and evaluation sentences came from the same developer, and the threshold was adjusted after inspection. That is useful development feedback, not an independent accuracy estimate.
The part we still cannot call safe
The stop mechanism checks a STOP file or process signal. There is a small interval between the last stop check and publication of a report. Already created files remain. The optional HTTP client can terminate its client process, but we did not establish that the server stops inference. Windows behavior and hostile concurrent filesystem changes are also unverified.
The published demo does not demonstrate a kill switch. Heuristic markup and instruction detection can miss attacks. An excerpt copied accurately from a malicious document remains untrusted.
A useful next improvement would be to evaluate unseen, independently authored fixtures and distinguish evidence coverage from correct categorization, review routing, and action authorization. Each should have its own failure metric.
The lesson
A zero exit code is a statement about a process, not a guarantee about a task. A report that honestly says βreview requiredβ can be a better outcome than a polished answer to the wrong question.
EvidenceGate was published after the main competition deadline; we are not claiming a main-track submission or an official Trap Pack pass. The code and recorded outcomes are available for inspection:
- Public source and setup
- Four-fixture evaluation
- Synthetic demo output
- Regression test log
- Safety limitations
Trap Pack attribution: Agentware 2026 Trap Pack by Hackathon Raptors, licensed under CC BY 4.0. Thank you to FileClerk for sponsoring the additional Near Miss write-up prizes.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.