[Bug] Triage is never asked about facts with no candidate observation, so new-topic chatter and one-off execution records reach consolidation

Open
#7,219 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Start with triage_facts in triage.py and trace how its candidate list determines which facts enter triage. Read the existing tests for candidate-free facts and bank missions, then check how triage decisions affect consolidation. Done means candidate-free facts can be evaluated for promotion and the reported chatter and one-off execution cases are covered.

Written by the indexing model from the issue text.

Description

core

正文

Version

1.3.0-slim (also reproduced against main, triage.py unchanged as of 2026-12-03).

Problem

triage_facts filters the work list:

pending = [(m, c[:MAX_CANDIDATES]) for m, c in zip(memories, candidates_per_fact) if c]

The docstring states the intent: "A fact with no existing observation to compare against is not asked about: there is nothing it could restate, and whether it is worth keeping is the LLM's call."

The consequence is the opposite of the intent. A chatter fact on a new topic has no candidate observation, so it skips triage entirely and goes to consolidation, where the prompt asks for "short sentences, one facet each". A one-off execution record ("ran a 12-instance probe, 40 minutes") becomes a permanent observation that is never removed, because dedup only compares paraphrases.

Two related behaviours:

  • Under a bank mission, chatter is skipped even when it is detected: if mission and relation == "chatter": continue.
  • Batches within a scope are serial, so this cannot be fixed by parallelism.
Evidence

Long-lived self-hosted bank (~68k facts, ~47k observations), 1.3.0, consolidation on a large model:

  • Over 72 hours of consolidation logs, chatter=0 on every call, including batches that contained obvious chatter ("I just restarted the eval container, health check returned 200").
  • Controlled test, fresh bank, same model, four one-off execution records: 4/4 promoted to observations, 9 new observations total.
  • Same test with a custom observations_mission asking to keep execution records as facts: still 4/4 promoted (8 new observations). The mission only removed the chatter drop path.
  • The default bank has 1.79 new observations per consolidated fact (2,527 for 1,411 facts).
Proposed

Ask triage about facts without candidates, even with a shorter question ("worth keeping as a standing observation? yes/no"). At ~1k input tokens and ~50 ms per call on a small decision model, the cost is bounded by the number of new-topic facts, which is exactly the population that currently produces noise.

If this is a deliberate cost trade-off, a trigger/bank flag (e.g. triage_without_candidates: false default, true opt-in) would keep current behaviour while letting long-lived banks clean up the promotion path.

Scope note

Not asking for a new model or a prompt rewrite — just the gate. Observation granularity is tracked separately (#7021).

Dominant language
Python
Stars
45.2k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vectorize-io/hindsight

All issues in vectorize-io/hindsight

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.