Skip to main content
The examples continue the repository from the quickstart. Later in that repository’s history docs/retry.md gains a section ## Timeouts with the sentence “Each attempt times out after 10 seconds.”, and the claim c1-xwck on its delay sentence is recorded as in the ranges page. Ids are the ones those runs printed.

Claim states

hibi evaluates a claim from the claim, its marks, its retirements, the current resolution of each side, and the current time. Nothing else. The first row that applies decides: Consequences:
  • Any matching mark counts, not only the newest. Reverting a file to content that an older mark covers makes the claim fresh again.
  • A claim with no mark is stale. claim writes the first mark itself, so this happens only if a write was interrupted.
  • Expired means unchanged but old. The content still equals a marked state; only the time ran out. At exactly the end of the period the claim is already expired.
  • A stale claim still covers its units for coverage.

Side states

status reports each side that is not same, with a state and a reason: A side is never resolved by similarity or by content. A stored anchor identifies its unit by name (#name) or by place (a quote in its container, with the text right around it unchanged); everything else is a candidate (see anchors). In practice:
  • Code under a #name is changed when the declaration was edited. Read the change, re-check, and hibi mark the claim if it still holds. When the line of a #name::<line> anchor was edited, next is a reanchor with the new line, and mark is refused.
  • A sentence edited at the quoted words, or right around a quoted phrase, is missing (not_exact). Read the candidates and the file, re-check, and hibi reanchor the side if the statement still holds. mark refuses the claim.
  • A sentence edited elsewhere, away from the quote, is changed, as for code. An edit in the first 120 characters of the first sentence of a paragraph or list item with several sentences is the exception: it renames the paragraph, and the claims there are missing.
  • An edit to another sentence usually changes nothing. Edits that rename or restructure its paragraph or section are the exception: the claims there are missing, usually with the right sentence listed first. A renamed heading, a sentence moved to another paragraph, and a renamed function around a quote do the same. The limits list every such edit.
  • A copy in the same scope can take a claim over. A copied sentence keeps the claim fresh on the copy, and hibi cover then lists the edited original as uncovered. A line of code copied into another declaration of the same name gives changed with next: hibi mark, and the mark is accepted. The limits say when this happens.
A candidate is a guess for you to read; the side stays missing until you re-anchor it. An unavailable side also carries detail, the message that says why, from the provider or from hibi, and remediation, what the limit or the cause is and what you can do. A side with reason profile_mismatch has neither. A missing side with reason not_exact, and a changed side whose stored line is gone from its declaration, carry a detail as well. A changed side is followed by the unit’s text as it is now. The text output prints both under the side, except the detail of a resource_unavailable side, which its remediation repeats, and the remediation of a provider_not_registered, provider_failed or repo_not_allowed side. For a scheme whose declaration was removed:
output
The reference mark, against which side states are reported, is the newest matching mark if any mark matches. If none matches, it is the mark that matches the most sides as they resolve now, and of those the newest. Marks with the same time, to the second, are ordered by id. The text output of status names it, with its time, under each listed claim, together with the recheck period and when it runs out. For a side that is missing or ambiguous it also prints the stored symbol, quote or key, so you can see what the anchor was looking for.

Recheck periods

--recheck takes an ISO 8601 duration with whole numbers: P90D, P6M, P1Y, P2W, PT12H. Years and months move the calendar date, using the last day of a shorter month; weeks, days, hours, minutes and seconds add fixed seconds. A period of zero is refused:
output
Run on 2026-11-20, more than ninety days after that mark, status reports the claim expired although nothing changed:
output

The current time

“Now” is the wall clock in UTC. --now <timestamp>, accepted by every command, replaces it for reproducible runs: RFC 3339 with any offset, a fraction of a second dropped. The example above used --now to record a mark in the past; hibi status --now 2026-10-01T00:00:00Z reports the same claim fresh.

Filtering status

The summary line always counts every claim in the store, before any filter.