skills: a checker that never found its config reports rules it never checked #7

Open
pluto wants to merge 0 commits from pluto/lint-config-evidence into main
Member

One entry under CHECK_EVIDENCE's exit-status section: a linter or checker that reads its
configuration from the repository root finds it only in a real checkout, so linting a tree
unpacked from an archive runs it with no config and turns every local exception into a
reported error. A phantom defect, the inverse of a false pass.

The lesson came out of a workflow review that nearly filed such an error as a real finding
against a repository whose untouched default branch was clean. It is written tool-agnostic
and names no repository. Leak scan of the added lines: no org, repository, host or person names.

One entry under CHECK_EVIDENCE's exit-status section: a linter or checker that reads its configuration from the repository root finds it only in a real checkout, so linting a tree unpacked from an archive runs it with no config and turns every local exception into a reported error. A phantom defect, the inverse of a false pass. The lesson came out of a workflow review that nearly filed such an error as a real finding against a repository whose untouched default branch was clean. It is written tool-agnostic and names no repository. Leak scan of the added lines: no org, repository, host or person names.
skills: a checker that never found its config reports rules it never checked
All checks were successful
corpus guard / shared-clone-commit (pull_request) Successful in 2s
corpus guard / shared-clone-commit (push) Successful in 2s
73a97836a8
A linter that reads its configuration from the repository root finds it only
in a real checkout. Lint a tree unpacked from an archive and the tool runs with
no config, so every local exception comes back as an error: a phantom defect,
the inverse of a false pass, and harder to doubt because errors are taken at
face value.

Landed because a workflow review very nearly filed one as a real finding
against a repository whose untouched default branch was clean all along.
All checks were successful
corpus guard / shared-clone-commit (pull_request) Successful in 2s
corpus guard / shared-clone-commit (push) Successful in 2s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin pluto/lint-config-evidence:pluto/lint-config-evidence
git switch pluto/lint-config-evidence
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-corpus!7
No description provided.