Repository navigation
feat: v3.14.15-beta.8 - Add modem with custom config, derived credential scrubbing, SB8200 AC01 headers - #233
Merged
Merged
Conversation
The debug line after a successful form_cbn login printed the SID. Log <set, len=N> instead, and state the rule in LOGGING_SPEC § Secret values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The card refetches its layout on every editor change, so the INFO line flooded the log while editing. Rename it for the Generate Dashboard Card wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| Package | Old | New | Action | Reason | |---------|-----|-----|--------|--------| | black | 26.1.0 | 26.10.1 | bumped | dev tooling | | ruff | 0.15.12 | 0.17.5 | bumped | dev tooling | | mypy | 2.1.0 | (2.4.1) | held | 2.4.1 flags no-any-return in catalog_tools json_login.py | | har-capture | ~=0.16.1 | ~=0.19.0 | bumped | catalog scripts | | commitlint hook | v9.25.0 | v9.27.0 | bumped | pre-commit | | pre-commit-hooks | v5.0.0 | v6.0.0 | bumped | pre-commit | | shfmt hook | v3.13.1-1 | v3.14.1-1 | bumped | pre-commit | | prettier mirror | v3.1.0 | (v4.0.0-alpha.8) | held | archived repo, alpha only | | requests, pyyaml, pydantic, cryptography | floors | - | held | HA-constrained | The ha-safe-deps-bump skill now covers dev container feature pins, replacing a Dependabot devcontainers entry. Both features are on their latest major. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mypy 2.4's typeshed types reversed() on a list whose items contain Any as Any, which failed no-any-return in json_login._login_page. Iterate a reversed slice instead; it keeps the list's item type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
check_owned_deps compared the local venv to PyPI, so it listed floors that needed nothing and missed pins the venv had moved past. It now reads declared Python specs, pre-commit revs, Actions refs and dev container features, drops latest releases HA cannot install, and checks our == pins against OSV. Dependabot stays off. The CVE check queries OSV directly instead of running pip-audit, the 2026-04 replacement for safety: pip-audit would need installing into the HA venv with its own dependencies, and auditing requirement files takes minutes per push. Also remove dead local security tooling from the 2025-11 setup: semgrep (its .semgrep.yml is gone), flake8 and plugins (.flake8 included; ruff replaced them), a mypy duplicate, pip-audit, and types-requests==2.33, which needs urllib3>=2 and would break HA 2025.1's urllib3<2. Bandit stays (make lint-all). CodeQL is unaffected: the security-extended CI job and the local CLI with the custom queries in cable-modem-monitor-ql/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
checkout, setup-python, setup-node and codecov-action v6 -> v7. The v7 breaking changes do not touch our inputs: setup-python drops the pip-install input (unused) and EOL Pythons (we run 3.12); setup-node drops a dummy NODE_AUTH_TOKEN export (unused). pre-commit/mirrors-prettier is archived and v3.1.0 is its last stable tag; a comment says so, so the rev is not chased. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The path filters omitted .github/workflows/devcontainer.yml, so the Actions v7 bump (ec5f1da) changed this workflow without running it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on the SB8200 AC01 Every getter/setter POST in the three AC01 captures (#109, both #231) carries these three headers; Core sent none. The AC01 runs lighttpd over HTTPS with CSP/HSTS, unlike the CH7465MT's NET-DK, so the CBN login has never run against this server. Referer is the login page's, as on the login calls; whether the firmware checks the path is unobserved. Related to #231 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adding the integration offers "Add modem with custom config": the normal setup, then a loop that tests the user's edited modem.yaml against the modem and saves the entry only when a test passes. Each failed test logs one scrubbed report holding every step; diagnostics carry the diff from the catalog text. A custom entry returns to the catalog file when the catalog catches up, or offers a tested switch through a repair. Core scrubs each value a login strategy derives from the password (base64, PBKDF2 key, HMAC, ciphertext) as [DERIVED, len=N] wherever the password is scrubbed, and every strategy logs its login request target. Specs: CONFIG_FLOW_SPEC § Custom Config Setup, HA_ADAPTER_SPEC, ORCHESTRATION_SPEC, ARCHITECTURE_DECISIONS. Guide: docs/CUSTOM_CONFIG.md. Related to #231 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The eighth beta of the v3.14.15 line: a second way to add a modem, where you adjust its
modem.yamland test it yourself, plus wider scrubbing of login secrets and the SB8200 AC01 header change.What is in it
modem.yaml: each submit tests it against the modem, and the modem is saved only when a test passes. Each failed test writes one scrubbed report to the Home Assistant log. A saved modem's diagnostics show the change from the catalog text. Guide:docs/CUSTOM_CONFIG.md. Related to [Bug]: SB8200v3 AC01: Form Login CBN disconnects during setup on v3.14.1 #231.[DERIVED, len=N]wherever the password already showed as[REDACTED].Origin,RefererandX-Requested-Withheaders its browser login sends. Related to [Bug]: SB8200v3 AC01: Form Login CBN disconnects during setup on v3.14.1 #231.Behaviour changes to know about
Verification
make validate-ciexited 0 on58489987, run by Claude and again byrelease.py. The only commit after it is the version bump.58489987: five workflows green.🤖 Generated with Claude Code