Skip to content

NC: negative-results store — preserve failed trajectories as first-class artifacts #404

Description

@mercurialsolo

Problem

Failed attempts are not preserved as first-class, queryable artifacts. Verifier failure output lives only inside build_retry_prompt (src/coord/verify.rs) — ephemeral, scoped to one task, gone once the task resolves. decisions.rs has is_negative() / log_observation, but that's decision-level, not trajectory-level.

Weng's post is emphatic on this (bottleneck #3): models trained predominantly on successes bias toward over-optimism and re-trying dead hypotheses. "Make failed attempts easy to preserve." The niche draft has quarantine, but quarantine is a blocklist — "don't do that again" — not "here is why it failed."

Proposal

A persisted, queryable negative-results store:

Why it matters

Directly enables the rollback ledger the NC loop already wants, and closes the post's sharpest single gap. Small blast radius, additive to existing interfaces (decisions.rs, verify.rs).

Part of epic #358. Relates to #359, #360.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium prioritybrainLocal LLM brain subsystemenhancementNew feature or requestepic:niche-constructionAuto-improving local harness via niche construction

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions