Repository navigation
Declare Python on HomeAutomation-Config's Registry Entry - #3532
Conversation
The repository's CI validates eight Python directories through the hub validator, and the registry declared no python type, so the audit reported the type, both workflows' python-directories inputs, and the CODECOV_TOKEN secret in both stores as drift. Declaring python with those eight directories and requiring CODECOV_TOKEN matches the entry to what the repository runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HomeAutomation-Config now declares python, so its row owes the pre-commit framework half beside the doc gates, rather than reading as a doc-gate-only repo a resync would tick as complete. The hub's own row also omitted the python type it declares. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hub audit in reports/homeautomation-config/audit.md graded parity.hooks passing, Python gates included, so under the tracker's maintenance rule the box is owed rather than pending. The hub's own row ran one sentence past the sentence-length limit once its types grew. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
A recorded local strict-review pass covers head |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
🔵 Needs a closer look
Remove PR-specific checklist wording and refresh or correct the referenced HomeAutomation-Config audit report.
No open issues 🎉
What changed in this PR
Updates the registry and rollout documentation to classify HomeAutomation-Config as a Python repository with its required validation coverage and Codecov secret.
Changes:
- Adds the
pythontype, eight Python directories, andCODECOV_TOKENtoregistry/repos.json. - Updates the pre-commit rollout checklist for HomeAutomation-Config and ProjectTemplate.
- Registry validation passes.
| File | Summary |
|---|---|
registry/repos.json |
Declares HomeAutomation-Config's Python coverage directories and required Codecov secret. |
docs/pre-commit-hooks-rollout.md |
Updates the rollout checklist and Python hook coverage; retains PR-specific wording and references a stale audit report that should be refreshed before marking the row complete. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3532 +/- ##
========================================
Coverage 81.58% 81.58%
========================================
Files 26 26
Lines 8972 8972
========================================
Hits 7320 7320
Misses 1652 1652
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The hub's row said the half was added in "this PR's own commits", which read true only inside the pull request that wrote it. It names #962. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The committed hub audit records the maintainer's earlier decision, on HomeAutomation-Config #438, to keep python undeclared. A driftNote now says the maintainer reversed it under #2255, so the registry and that report no longer disagree silently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
A recorded local strict-review pass covers head |
|
Answer to the Copilot round on
|
…n-Config Python (#3535) ## Summary Promotes `develop` to `main`: - #3530: `GOVERNANCE.md` "Editor and Tasks" names the forbidden VS Code files by basename under `.vscode/`. A carrier that once deleted `.vscode/settings.json` can then re-vendor the section without the prose gate's `dead-path` rule refusing it. This fixes the defect #1612 describes (that issue is closed and is referenced here, not closed by this PR). - #3532: HomeAutomation-Config's registry entry declares `python`, its eight `pythonDirectories`, and `CODECOV_TOKEN`, with a driftNote recording the maintainer's decision. The pre-commit hooks rollout tracker rows are updated to match. Closes #2255 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
Applies the maintainer's decision on #2255: HomeAutomation-Config declares
python. The issue closes on the promotion pull request.The registry entry now carries:
types:source-onlyandpythonpythonDirectories: the eight directories both of the repository's workflows pass to the hub validator'spython-directoriesinput (CloudInit, Cloudflare, MutationSweep, Notify, Trackers, USBDev, VPS, scripts)requiredSecrets:CODECOV_TOKEN, which the repository already stores in both the actions and dependabot storesA new driftNote on the entry records the decision. The committed hub audit
reports/homeautomation-config/audit.mdrecords the earlier decision on HomeAutomation-Config #438 to keeppythonundeclared, and the maintainer reversed it under #2255.docs/pre-commit-hooks-rollout.mdnow gives HomeAutomation-Config's row thepre-commitframework half. Before, it read as a doc-gate-only repository, which a resync would tick as complete. Its box is now checked, because the hub audit inreports/homeautomation-config/audit.mdgradedparity.hookspassing with the Python gates included, and the tracker's maintenance rule owes the box once that audit exists. A sweep of every row against the registry found that the hub's own row also omitted itspythontype, and that row is corrected too. It also now names #962, rather than "this PR", as where its ruff/mypy half was added.Verification
spec/validate.pypasses.uv run --no-project --script spec/audit.py HomeAutomation-Config, run against this registry, no longer reports the five findings Registry: HomeAutomation-Config Tracks Python but Its types Omit python #2255 tracks: the type, the twopython-directoriesfindings and the twoCODECOV_TOKENsecret findings. It raises no new python, profile or secrets finding.Pre-existing findings, not filed
spec/divergences.json:24, a stale rationale: theacceptedreason for.github/actions/validate/action.ymlsays HomeAutomation-Config's override runs its CloudInit Python project. The downstream file now says it runs no Python step of its own, because all Python goes through the hub validator'spython-directoriesinput. The disposition itself still holds, since the override remains for Pester and the shell harnesses.🤖 Generated with Claude Code