Keep the runtime dependency-free on Python 3.10+.
- Run
PYTHONPATH=src python -m unittest discover -s tests -vafter scanner or CLI changes. - Run
PYTHONPATH=src python -m agent_config_score.cli examples/demowhen changing scoring or output formatting.
- Put scanning and scoring logic in
src/agent_config_score/scanner.py. - Keep CLI argument parsing and terminal output in
src/agent_config_score/cli.py. - Add a regression test for every false positive or false negative that is fixed.
- Never print the full value of a detected credential.
- Keep contradiction detection conservative; do not claim semantic conflicts without strong evidence.