Move the file_soundness check to tools, a question and policy

Open
#616 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
tooling

Research direction

Read checks/file_soundness.py and the grandfathered list, then inspect the existing Tool components, answered_check or unit_check patterns, and question and policy entries. Update the check so tools are claimed by argv and its judgement uses a question plus a policy entry; remove it from the grandfathered list. It is done when the module uses one of those check forms and any snapshot changes are explained in the PR.

Written by the indexing model from the issue text.

Description

Part (a) of #537: checks/file_soundness.py is one of the old-shape checks with its own logic, and detects tools by regex over command text.

Expected

Its tools become Tool components claimed by argv, its judgement a question plus a policy entry, and the module leaves the grandfathered list.

Done when

The module is an answered_check or unit_check, any snapshot changes are explained in the PR, and the grandfathered list shrinks by one.

Split from #537.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Dominant language
Python
Stars
4
Forks
1
Avg merge
6h 31m
Merged PRs (30d)
238

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cpp-best-practices/project_validator

All issues in cpp-best-practices/project_validator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.