Closed
Description
The finding
spec/audit.py HomeAutomation-Config (audit run 2026-10-01T17:25:38Z | hub 0378c78) reports:
DRIFT registry: tracked .py file(s) present on the tree but types omits 'python'. Declare the type, or record a driftNote naming (python.directories.declared) with the reason Python is not tracked.The registry entry declares types: ["source-only"] with python: null. The repository's main tracks Python in three projects and two loose scripts:
CloudInit/,Notify/andMutationSweep/, each with its ownpyproject.toml. CI'stest-pull-request.ymlalready runs all three suites through the local validate hook, and the pre-commit hooks run ruff on each, plus pyright forCloudInitand mypy for the other two.hub-fetch-run.pyat the root, andVPS/test_pangolin_upgrade.py.
The decision
Which remedy applies is a hub registry call, and it decides which Python gates the fleet expects of this repository:
- Declare
python, withpython.directoriesnaming the three projects, so the fleet's Python gate covers what this repository already runs locally. - Or record a driftNote naming
python.directories.declared, saying the Python is gated by the repository's own hook rather than the fleet's.
Found during the ptr727/HomeAutomation-Config resync (ptr727/HomeAutomation-Config#677), which left this finding for the hub.
Metadata
Metadata
Assignees
Labels
No labels
Activity
ptr727 commentedon Oct 27, 2026
Re-measured during today's resync of
ptr727/HomeAutomation-Config(audit run 2026-10-27T21:04:33Z | hub f60f57d). The finding stands, and its scope has grown since the issue was filed:Two changes since the body was written:
pythondeclaration would name those eight.CODECOV_TOKENfindings look downstream of this one. The token is unclaimed only because the entry declares no type whose mechanism iscodecov. If the entry declarespython, the token is claimed. If the decision is a driftNote instead, the token is stale and should be deleted from both stores. So this decision settles those findings as well, and the resync left the secret alone until it is made.Record the Reversed Python Decision on HomeAutomation-Config's Entry
Declare Python on HomeAutomation-Config's Registry Entry (#3532)
Promote Develop: Editor and Tasks Dead-Path Wording and HomeAutomatio…