Skip to content

I3022 — An empty knowledge queue is one sentence that says how a record arrives, not two empty tables

When knowledge_base.candidates answers a total of zero and no candidate, /ui/knowledge draws one Awaiting review panel holding one sentence: nothing awaits review, and a record arrives when a session closes and the deriver writes it, or when majordomus knowledge observe records what was noticed.

DONE wave 0 · p1 · implementation profile · parallel safe

Part of truthful-plan-surfaces — The plan's surfaces are inferred from delivery, and nothing they show is typed beside the repository.

Objective

When knowledge_base.candidates answers a total of zero and no candidate, /ui/knowledge draws one Awaiting review panel holding one sentence: nothing awaits review, and a record arrives when a session closes and the deriver writes it, or when majordomus knowledge observe records what was noticed.

Why

The published /ui/knowledge (majordomus.dev, v0.29.0) drew two wide panels, By subject and Awaiting review, each an empty table with its own empty line; together they said the same thing twice and neither said how the queue fills.

Current state

screen() always draws By subject and Awaiting review; an empty queue renders two empty tables.

Desired state

An answered, empty queue renders a single panel with one sentence and its source; a queue that holds records or did not answer keeps both panels; a crate test pins it.

Scope

  • apps/majordomus-cli/src/ui/knowledge.rs

Dependencies

None. This issue is a root of the graph.

Acceptance criteria

  • An empty queue renders one panel, no table and no By subject panel
  • The sentence names majordomus knowledge observe as code and still cites knowledge_base.candidates
  • A queue holding a record, and an unanswered queue, keep both panels

Validation

  • cargo test --lib ui::knowledge
  • scripts/ui audit --only /ui/knowledge

Evidence required

  • empty_knowledge_queue_is_one_sentence

Evidence

coverstypecommandresultat commit
empty_knowledge_queue_is_one_sentencecivalidate run 39438896504 at master 9a5a9b77520: rust (1-3) jobs 118683336143 118683336062 118683336401 run cargo test, incl. ui::knowledge::an_empty_queue_is_one_sentence_not_two_empty_tables (82060296732)success (the run's only red job is pages, which runs no test)a81b1e3

Timeline

started
2026-10-20T16:14:59Z
verified
—
completed
2026-10-20T16:26:20Z

Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.

Canonical record: .ai/repo/project/issues/I3022.yaml. Read it back with majordomus plan show I3022.

Searches the titles and descriptions of every page this site publishes.