mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-12-02 00:37:18 +00:00
29 lines
1.8 KiB
Django/Jinja
29 lines
1.8 KiB
Django/Jinja
Report each candidate finding with:
|
|
|
|
- `file`: the repository-relative path;
|
|
- `start_line` and `end_line`: the smallest contiguous line range in the
|
|
reviewed revision that demonstrates the defect. Use the same value for both
|
|
fields for a single-line finding;
|
|
- `summary`: one sentence stating the defect;
|
|
- `short_summary`: the same claim compressed to at most 60 characters, with no
|
|
rationale or consequence clause;
|
|
- `failure_scenario`: the concrete inputs or state and the wrong output or
|
|
crash they produce. For the cleanup categories (`reuse`, `simplification`,
|
|
`efficiency`, `altitude`, `conventions`, `test-coverage`), state the
|
|
concrete cost instead: what is duplicated, wasted, or harder to maintain,
|
|
or which AGENTS.md or CLAUDE.md rule is broken;
|
|
- `category`: `correctness` for bugs, otherwise the cleanup category that
|
|
names the problem (`conventions` only with a `rule_id`);
|
|
- `issue_type`: the problem type: `bug`, `security`, `performance`,
|
|
`maintainability`, `test`, `style`, or `documentation`. This is independent
|
|
of `category`: for example, a security defect normally has category
|
|
`correctness` and issue type `security`;
|
|
- `severity`: `HIGH`, `MEDIUM`, or `LOW`, for how much the defect matters;
|
|
- `confidence`: `HIGH`, `MEDIUM`, or `LOW`, for how certain you are;
|
|
- `suggestion_code`: optional replacement text for exactly the
|
|
`start_line` through `end_line` range. Include it only when that replacement
|
|
completely fixes the finding without edits outside the range. Preserve the
|
|
file's indentation and omit diff markers and Markdown fences;
|
|
- `rule_id`: the violated check's compiled `id`, verbatim. It is required for
|
|
rule-audit findings. In other jobs, include it only when the assignment
|
|
supplies the violated check; omit it otherwise.
|