Markus

Editorial finding

editorial-finding marks one passage that an editorial review flagged, with its kind, rationale, and decision.

editorial-finding wraps a passage that an editorial review flagged. Diagnose tooling writes these blocks so a human or an agent can read the finding beside the text it is about, and a later pass can act on the decision.

Attributes

Attribute Values Default
id finding- plus 16 lowercase hex characters (required) none
kind any non-empty text, such as clarity or redundancy (required) none
rationale any text none
decision skip, rewrite, delete, keep, add none
group any text; findings with the same group belong together none

The id becomes the HTML id, and kind, decision, and group are exposed as data- attributes for tooling.

A finding with every attribute

Markus

:::editorial-finding{id="finding-0123456789abcdef" kind="clarity" rationale="Sentence is long" decision="rewrite" group="intro"}
The sentence under review, which goes on for rather longer than it needs to before reaching its point.
:::

Preview

Only the required attributes

Markus

:::editorial-finding{id="finding-00000000000000aa" kind="redundancy"}
This paragraph repeats the one above it.
:::

Preview

A finding with no passage

A finding can be empty, for example when the decision is to add something that is missing.

Markus

:::editorial-finding{id="finding-00000000000000bb" kind="missing-context" rationale="Define the acronym on first use" decision="add"}
:::

Preview

Invalid ids

The id format is checked, so a finding cannot silently collide with an ordinary heading or element id.

:::editorial-finding{id="intro" kind="clarity"}
Fails: id must match finding-[16 lowercase hex chars].
:::