Documentation
¶
Overview ¶
Package markdown renders a Diagnostic as Balanced-Coupling-aligned Markdown: lint-message advisory format, BC vocabulary throughout, clearly-labeled "Supporting structural metrics (beyond Balanced Coupling)" and "Distance confidence" sections. Reads well both as raw text and rendered Markdown; parseable by AI agents without NLP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct{}
Renderer formats a Diagnostic as BC-aligned Markdown. Satisfies engine.Renderer.
func (*Renderer) Render ¶
func (r *Renderer) Render(d diagnostic.Diagnostic, w io.Writer) error
Render writes the BC-aligned Markdown report for d to w. Sections follow design §8:
- Verdict + config_hash + tool/coverage
- Gate violations (rules)
- Balanced Coupling advisories — lint-message format
- Supporting structural metrics (beyond Balanced Coupling)
- Distance confidence
- Agent tasks
Click to show internal directories.
Click to hide internal directories.