Zum Inhalt springen

Requirements and their verdicts in the web UI

Requirement verdicts show the latest verification result. History, branch context and anchored types help explain each result.

Requirements — Show in screenshot under Code — Show in screenshot shows which requirements hold on the branch being examined, where checks are missing and where verdicts have changed. The detail page connects a verdict to its verification run and anchored code. Results come from codecharter req check or req_verify; new checks start through the CLI or MCP.

The requirements list

Each row belongs to one requirement in one workspace. A workspace selection narrows the list; otherwise it shows all recorded workspaces.

The requirements list with each requirement's history as dots The requirements list with each requirement's history as dots
Column Meaning
Requirement — Show in screenshot ID and title, when recorded. The ID opens its detail page.
Workspace Associates the requirement with a workspace when the list covers multiple workspaces.
Criteria — Show in screenshot Number of criteria in the latest verification.
History — Show in screenshot Up to ten earlier verifications shown as verdict dots.
Current — Show in screenshot Overall verdict of the latest verification. It uses the least favourable criterion verdict.

More entries can be loaded in batches of 50.

No verdicts yet means no verification has been recorded through the host. Running codecharter req check or req_verify supplies initial results. An unavailable store and an outdated view are reported separately.

Investigate an unexpected requirement verdict:

  1. Check the workspace and the branch named in the list. Not verified on this branch requires a new check on that revision.
  2. Open the ID and locate the change to Violated or Stale in the verdict history. The run link opens the verification that supplied that state.
  3. Open the affected types under Anchored in — Show in screenshot and inspect their findings or coverage.
  4. After a change, run codecharter req check or req_verify again. The page then shows the recorded result.

Verdicts

The overall verdict is the least favourable value across all criteria in a verification. The table follows that order:

Verdict Meaning
Violated At least one criterion no longer holds.
Stale An earlier acceptance refers to code or tests that have changed and needs renewed review and confirmation.
Unknown Verification could not reach a conclusion, or the requirement has not been verified on this branch.
Open — Show in screenshot Something is not yet achieved without a violation. Criteria that all hold but have no known anchor also produce this state.
Fulfilled All criteria hold and the requirement is anchored in code.

The requirements documentation explains verification and acceptance. The UI names each verdict and supplements colour with text or a symbol.

Verdict history

The dots represent up to ten verifications, oldest on the left and newest on the right. Each dot summarizes an entire verification. With different criterion verdicts, the least favourable value applies.

Symbol Verdict
✓ Fulfilled.
✕ Violated.
! Stale.
– Open.
? Unknown.

Screen readers receive the history as text in the same order.

Not verified on this branch

The list uses the workspace's most recently analysed branch. If that branch has no verification of the requirement, it shows a message such as Not verified on main. Criteria and history display a dash; the verdict is Unknown.

A verification from another branch is not carried over. After a branch change, codecharter req check on the intended revision supplies the corresponding verdicts. The displayed branch name makes this context visible.

One requirement in detail

The ID opens the requirement in the row's workspace.

Situation Behaviour
Requirement verified in several workspaces, with no unambiguous selection in the address The page offers the relevant workspaces for selection.
ID unknown in the selected workspace but present elsewhere The page offers the other workspaces.
ID unknown in every workspace Requirement not found.

Verdict history — Show in screenshot lists the requirement’s latest 30 verifications across all recorded branches, newest first. The branch column identifies each verification; the requirements list uses only the most recently analysed branch.

Field Meaning
Time Time of the recorded verification.
Verdict Overall result according to the verdict ranking.
Criteria Distribution of criteria across verdicts. This reveals, for example, whether only one criterion is violated.
Branch Branch whose state was verified.
Run Link to the associated request when available.

When the requirement changes to Violated or Stale on the same branch, the page may name a recently changed anchored type. possibly after a change to marks a starting point for investigation. It does not establish a cause.

Requirement detail with verdict history, associated runs and anchored types with coverage and findings Requirement detail with verdict history, associated runs and anchored types with coverage and findings

Verdict history and anchored types appear side by side. The run link leads to the verification; a type name opens the affected area of code.

Anchored types

Anchored in — Show in screenshot shows types connecting the requirement with code, its anchors. Type names open detail pages; project names distinguish identical type names.

The card combines information from different points in time:

Field Data source
Anchored types Anchors from the latest recorded requirement verification.
Open findings Current findings on the most recently analysed branch.
Coverage Latest full coverage run on that branch. Without a measurement for the type, the page shows no coverage run.

Findings and coverage therefore describe the types’ latest recorded state; they do not necessarily belong to an older verification in the verdict history.

When the latest verification has no anchor, the card identifies that gap. Even if all criteria hold, the requirement then remains Open — Show in screenshot.