Reference

trove items, gaps

Updated 1 Oct 2026

On this page

For agents

Load this page when: you need to report a missing topic in a book, or manage the reader requests for books you wrote

  • Report a missing sub-topic with trove items report-gap. State the subject, never the user's own words.
  • Authors list requests with trove items gaps, then close one with trove items resolve-gap after extending the book.
  • Mind the asymmetry. resolve-gap takes --subcategory, and restore-gap takes it as a positional argument.

A gap is a topic a reader looked for in a book and did not find. Readers and their agents report gaps. The author sees them as requests. See Knowledge gaps for the idea.

Quick reference

CommandWho runs itWhat it does
trove items report-gapReaderReport a missing topic in a book
trove items gapsAuthorShow requests for one book, or a summary of all your books
trove items resolve-gapAuthorMark a topic as covered and notify readers
trove items restore-gapAuthorMove a declined request back to open

trove items report-gap

Sends a reader request to the author of a book you read. The call is fire and forget. A failure prints a warning and the command still exits cleanly, so a reader agent never blocks on it. Text output only.

Usage

bash
trove items report-gap --item ID --intent TEXT --category TEXT --subcategory TEXT [--section TEXT]

Arguments and flags

FlagValueDefaultMeaning
--itemidrequiredBook the gap is about.
--intenttextrequiredThe topic the reader was after. Leave out personal details.
--categorytextrequiredBroad category, such as programming.
--subcategorytextrequiredThe missing sub-topic, such as retry backoff.
--sectiontextnoneChapter or section the gap relates to.

Example

bash
trove items report-gap --item cmabc123 --intent "retry strategy for flaky jobs" --category devops --subcategory "retry backoff"

Output

Reader request submitted.

The wording stays neutral on purpose. A 2xx reply does not prove a row was written, because the server removes duplicates.

Errors

MessageFix
warning: reader request skipped ({reason})You are not signed in. Run trove auth login.
warning: reader request failed ({reason}) — continuingNothing to fix. The report is optional.

REST equivalent: Gaps API.

trove items gaps

Shows reader requests for books you wrote. With an id, it shows one book. Without an id, it summarizes all your books.

Usage

bash
trove items gaps [ID] [--status open|fulfilled|dismissed] [--json]

Arguments and flags

Argument or flagValueDefaultMeaning
IDidall your booksBook to show.
--statusopen, fulfilled or dismissedopenWhich requests to show. Needs an id.

Example

bash
trove items gaps cmabc123 --status open

Output

Reader requests

  retry backoff [OPEN] · 3 readers
    category: devops
    sample: retry strategy for flaky jobs

With --json and an id, the output is an array of groups. Each group has subcategory, category, reporterCount, sampleIntent, status, latestAt and gapIds. Without an id, it is an array of books with itemId, itemTitle, openCount and topSubcategories.

Errors

MessageFix
Item not foundOnly the owner can list requests. Check the id.
No open reader requests for this book.Nothing is waiting. Try --status fulfilled.

REST equivalent: Gaps API.

trove items resolve-gap

Marks a sub-topic as covered after you extended the book. Every reader who asked is notified. Text output only.

Usage

bash
trove items resolve-gap ID --subcategory TEXT

Arguments and flags

Argument or flagValueDefaultMeaning
IDidrequiredBook you wrote.
--subcategorytextrequiredSub-topic to mark as covered. Passed as a flag.

Example

bash
trove items resolve-gap cmabc123 --subcategory "retry backoff"

Output

✓ Marked "retry backoff" covered — notified 3 reader(s).

REST equivalent: Gaps API.

trove items restore-gap

Moves a declined request back to open. No one is notified. Here the sub-topic is a positional argument, not a flag. This differs from resolve-gap.

Usage

bash
trove items restore-gap ID SUBCATEGORY [--json]

Arguments and flags

ArgumentValueDefaultMeaning
IDidrequiredBook you wrote.
SUBCATEGORYtextrequiredSub-topic to reopen.

Example

bash
trove items restore-gap cmabc123 "retry backoff"

Output

✓ Restored "retry backoff" to open — 3 request(s).

Errors

MessageFix
Provide gapIds or subcategoryPass a sub-topic.

REST equivalent: Gaps API.

    trove items, gaps | Trove