STR-020
Heuristic
layer: document
Apply progressive disclosure
IF novice and expert readers share a document, THEN put the essential path first and route detail to optional layers ELSE match one depth to the known audience.
Why the rule exists
Layering lets readers choose depth without forcing one group through another group’s material.
Condition
The rule fires when this evaluates true. Paths marked below must be present in the fact base; the engine reports the rest rather than guessing them.
- ALL
- document.audience_role_count gt 1
- document.audience_roles contains "novice"
- document.audience_roles contains "expert"
Facts this rule reads
| Path | Source |
|---|---|
document.audience_role_count |
You supply it |
document.audience_roles |
You supply it |
Then
- layer — target
document - link — target
layers
Else
- retain — target
current_text, No triggering condition is present.
LAKA
- Smallest sufficient intervention
- Yes
- Primary axes
Sources
-
Principles of plain language — Digital.gov / U.S. General Services Administration
link
Design content so the intended audience can find, understand, and use it. -
DITA 1.3 Technical Content Specification — OASIS
link
Topic-based concept, task, reference, troubleshooting, and reuse architecture. -
Developing Quality Technical Information — Michelle Carey; Moira Lanyi; Deirdre Longo; et al.
Quality dimensions for usable technical information.
The raw rule record
Verbatim from 10-paragraph-document-rules.json. Also available at /v1/rules/STR-020.
{
"id": "STR-020",
"name": "Apply progressive disclosure",
"domain": "structure",
"layer": "document",
"strength": "heuristic",
"human_logic": "IF novice and expert readers share a document, THEN put the essential path first and route detail to optional layers ELSE match one depth to the known audience.",
"when": {
"all": [
{
"path": "document.audience_role_count",
"operator": "gt",
"value": 1
},
{
"path": "document.audience_roles",
"operator": "contains",
"value": "novice"
},
{
"path": "document.audience_roles",
"operator": "contains",
"value": "expert"
}
]
},
"then": [
{
"action": "layer",
"target": "document",
"levels": [
"essential",
"explanation",
"reference_detail"
]
},
{
"action": "link",
"target": "layers"
}
],
"else": [
{
"action": "retain",
"target": "current_text",
"reason": "No triggering condition is present."
}
],
"unless": [],
"because": "Layering lets readers choose depth without forcing one group through another group’s material.",
"diagnostics": [],
"examples": {},
"source_ids": [
"WEB-002",
"WEB-008",
"BK-024"
],
"laka": {
"smallest_sufficient_intervention": true,
"primary_axes": [
"scope",
"depth",
"magnitude",
"reversibility"
]
}
}
Other structure rules
- STR-001 One controlling move per paragraph IF a paragraph performs more than one unrelated rhetorical move, THEN split it at the move boundary ELSE retain. Context default
- STR-002 Expose the paragraph point IF the paragraph’s controlling point is absent or recoverable only after rereading, THEN state or move it to a strategic position ELSE retain an intentional delayed reveal. Heuristic
- STR-003 Support consequential claims IF a paragraph makes a consequential factual claim, THEN provide evidence, cite it, qualify it, or remove the claim ELSE retain. Hard constraint
- STR-004 Keep evidence beside the claim IF evidence is separated from the claim it supports by unrelated material, THEN move it closer or label the relation ELSE retain. Context default
- STR-005 Use transitions that name the relation IF adjacent paragraphs have a meaningful but unstated relation, THEN add a transition that expresses that relation ELSE retain. Context default
- STR-006 Delete orphan paragraphs IF a paragraph neither advances the purpose nor supports another necessary move, THEN delete or relocate it ELSE retain. Heuristic
- STR-007 Section answers one reader question IF a section answers multiple unrelated reader questions, THEN split and label them ELSE retain. Context default
- STR-008 Heading predicts content IF a heading does not accurately predict its section, THEN rename the heading or repair the section ELSE retain. Hard constraint