You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2026/05/26 04:26:08 UTC

[PR] feat(drafting): add audit-finding-fix skill and eval suite [airflow-steward]

justinmclean opened a new pull request, #296:
URL: https://github.com/apache/airflow-steward/pull/296

     Add a new Drafting-mode skill that drafts the smallest fix for each finding
     in a batch of non-security audit-tool output (ruff / flake8 / mypy / pylint /
     CodeQL / Apache Verum / Apache Caer / equivalent), re-runs the tool after
     each batch to confirm the findings cleared, and produces a commit plus a
     hand-back artefact. The skill never opens a PR or merges.
   
     ## Scope
   
     - **In scope.** Non-security audit findings with a single mechanical fix
       (style, import order, type narrowing, unused-name elimination, narrow
       CodeQL flags).
     - **Out of scope.** Security-class findings — those go through
       `security-issue-fix`. Findings too ambiguous to fix without design
       discussion — those go through an RFC first.
   
     ## Eval suite (12 cases across 4 steps)
   
     | Step | Cases | What it covers |
     |---|---|---|                 
     | `step-2-parse-findings` | 3 | ruff-style violations; mypy errors;
     security-flagged finding (refuses to draft, hands off) |
     | `step-5-scope-check` | 3 | clean scope; drive-by reformat caught; unrelated
     file caught |
     | `step-6-compose-commit` | 3 | clean commit; security-language scrubbed;
     missing `Generated-by:` trailer flagged |
     | `step-7-handback` | 3 | complete artefact; suppressed-findings flagged;
     missing fields flagged |
   
     ## Verification
                                                                 
     - `skill-validate --strict` clean for `audit-finding-fix`.
     - `markdownlint-cli2` clean across all 22 changed `.md` files.
     - Pairing self-review: 0 blocking, 0 advisory.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(drafting): add audit-finding-fix skill and eval suite [airflow-steward]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #296:
URL: https://github.com/apache/airflow-steward/pull/296


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org