Heuristic:AIScientists Dev WorldSeed Drop Invalid Builds On
| Knowledge Sources | |
|---|---|
| Domains | Agent_Systems, Error_Handling |
| Last Updated | 2026-10-26 19:00 GMT |
Overview
When an agent submits an invalid `builds_on` reference in a hypothesis, drop the linkage silently but keep the hypothesis — losing a cite is better than losing the entire hypothesis.
Description
Agents (LLM-driven) frequently put free-text descriptions in the `builds_on` field of `propose_hypothesis` even when instructed to use a `paper_id` like `paper_004`. Rejecting the entire hypothesis for this mistake would destroy the agent's planning work.
Instead, the handler validates `builds_on` against the store: if it's not a valid `paper_id`, the linkage is dropped (`builds_on = None`) and an admin-scoped warning is emitted so the agent learns over subsequent wakes. The hypothesis itself is preserved with its claim and rationale intact.
Usage
Apply this pattern when an LLM agent provides a reference field that should be an ID but may contain free text. Prefer degradation over rejection — the agent's primary output (the hypothesis) is more valuable than the metadata linkage.
The Insight (Rule of Thumb)
- Action: Validate `builds_on` against the store. If invalid, set `builds_on = None` and emit an admin warning. Do NOT reject the hypothesis.
- Value: Warning is `scope="admin"`, `push=False` (delivered in wake summary, not pushed immediately).
- Trade-off: The hypothesis loses its citation chain. The agent may not immediately realize the linkage was dropped, but the warning gives feedback for the next wake.
- Compatibility: Only affects the `builds_on` field. `claim` and `rationale` are still required and validated.
Reasoning
Claude and other LLMs often interpret "cite a paper" loosely, putting descriptions like "the RoPE paper" instead of `paper_003`. If the engine rejected the hypothesis, the agent would have to re-propose from scratch — wasting a full wake cycle and potentially losing a valuable research direction.
The degraded approach preserves the agent's reasoning while providing corrective feedback. Over multiple wakes, the agent sees the admin warning and learns to use `paper_NNN` format. This mirrors how human researchers handle similar issues — a reviewer notes "citation unclear" but doesn't reject the paper outright.