Work log 2026-10-24 → 2026-10-25 (master) — P3015 to P3030
Our own summary of the commits on master since 2026-10-24 00:00 (Paris). Every number below is copied from the commit message or from the generator named next to it. Links: Index · Method coverage · DP × endpoint coverage · Platform limits · Code reference · Doc coverage · Athom limits · Device truth · Journal.
Decoding: every DP, every endpoint
- P3016 / P3017 — unknown ZCL commands and DPs are interpreted in order exact ZCL / Z2M / ZHA → device family → heuristic, learned per device, with teach/forget Flow actions, TSN dedup, method chains and a coverage matrix of 20 methods × all families. Modules:
lib/zigbee/UnknownCommandInterpreter.js,UnknownCommandEngine.js,UnknownCommandSink.js,UnknownLearning.js,UnknownLifecycle.js,MethodChain.js,MethodCoverage.js,RawFrameDeduplicator.js. - P3018 — Z2M
tuyaDatapointsconverters + ZHA DP numbers feed catalogue v2 (exact decode);lib/zigbee/EndpointCoverage.js(passive); generatorscripts/kb/dp-endpoint-coverage.js→DP_ENDPOINT_COVERAGE.mdwith a CI gate. - P3018b — batch 2: exact ZHA per-quirk and deCONZ DDF DP sources merged fill-only (996 DPs added, 17 converters filled, Z2M never overridden, commit a7499ece02); batch 3: optional inferred DP family layer
lib/zigbee/InferredDpLayer.js(683 candidates: pid 524 / driver 13 / name 146; confirmed after 3 valid reports, rejected by 1 out-of-range report, store ≤ 32, never overrides an exact decoder; commit 85c4150bdf). One couple = one driver: 21 dual couples deduped, 9 soil couples moved tosoil_sensor(commit 5bebe5670f). - P3019 — button M3/M9 layers and per-cell "n/a" reasons in
METHOD_COVERAGE.md; P3019b publish-validate fix; P3019ctools/ci/branch-specific-paths.js(branch-specific KB docs never copied across branches, regenerated instead); P3019d three-way Bastien → master promote. - P3021c — forum #2092 power-vs-energy sanity (fail-open), #2134
HOBEIAN|ZG-102ZLDP1 default inverse (Z2M), #2093 soil DP guards; dedicated driverswitch_2gang_ts0002for_TZ3000_amal63is|TS0002.
Memory and smart helpers (P3023)
- Lazy sharded DP catalogue (
lib/memory/CatalogStore.js, shards inlib/zigbee/data/dp-shards/, rebuilt byscripts/data/build-dp-shards.js), hard caps (lib/memory/BoundedMap.js), prioritised pacer with backpressure (lib/zigbee/ZigbeeCommandPacer.js),lib/memory/MemoryBudget.jstiers 45 / 60 / 75 MB, release on delete/uninit (lib/memory/DeviceTrim.js,budget-hooks.js). Commit 17fde689ff. - Bounded smart helpers in
lib/smart/:ConfidenceModel.js,CoupleKnowledge.js(128×16×24, 48 KB),AdaptiveBackoff.js,ValueAnomaly.js; switched bylib/smart/SoakFlags.js(on for master soak only). Commit ecfcb80bc1.
Publish pipeline and CI
- P3024 — the 10 driver ids never published since Test #3655 (9.0.1574) are held in
config/publish-hold-drivers.json(07688d6118); #3679/#3680 then failed with "socket hang up", not AggregateError (8eab596787). - P3024b — every couple of Test 9.0.1574 + candidate pinned (
test/fixtures/athom-last-test-package-couples.json), unpinned case variants trimmed first,scripts/maintenance/publish-baseline-gate.cjs(prepare-publish step 5a2b fails if a shipped couple would disappear), baseline refreshscripts/maintenance/build-publish-baseline.cjs, combo cap 15500 (our heuristic, not Athom). Commit 95abdb3598. - P3025 — lossless app.json:
scripts/maintenance/sanitize-manifest.cjskeeps validtitleFormatted;scripts/ci/appjson-compose-drift-gate.js;scripts/ci/lint-ratchet.js(lint baseline 3836 → 1731, commit 0217ff0ef7);scripts/ci/push-with-retry.js+.github/scripts/git-push-retry.sh(rebase + retry, never force);.github/scripts/athom-classify-failure.js; Node 24 SHA pins, concurrency and timeouts checked byscripts/ci/workflow-hygiene-gate.jsandci-self-check.yml. - P3026 — platform limits:
config/platform-limits.json,scripts/ci/platform-budget-gate.js,platform-budget.yml(report mode); version-free npm cache key.github/npm-cache-key.sha256viascripts/ci/npm-cache-key.js; rate-limit reset backoff in the retry helper. - P3022 —
repo-autopilot.yml+scripts/ci/repo-autopilot.js: bot PR merge/close, silent issue triage, drafts in the report only. - P3027 (pending) — case forms never emitted by Tuya devices left out of the publish manifest with a no-loss guard; on branch
wip/p3027-case-variants(08586c3939, e893d21b3f), not merged at the time of writing.
Availability and Zigbee reliability
- P3028 —
lib/managers/availability-learning.js: learned per-device reporting gap (raise-only, capped), buttons/remotes not judged on silence, flap ring + mass-outage hint, one-step low-battery dip waits for a confirming reading (lib/battery/SmartBatteryLowAlarm.js). Ideas from Rick_D's SHS Device Watchdog (topic 157537), rewritten. Commit 5e05fedd0a. - P3029 —
lib/zigbee/ZclTsnContinuity.js: one ZCL TSN counter per device continued across app restarts (store checkpoint + 32, checkpoint every 32 frames, kill switchzcl_tsn_continuity). Root cause by makleso6 and Jan_Z, confirmed by TedTolboom (community topic 156, posts 791200 / 791317 / 791557; athombv/node-homey-zigbeedriver#194). +8 read-only Apps-category forum topics intools/ci/forum-silent-multi-scan.js. Commit be9f148e81.
Covers (P3030)
- Cover command queue that supersedes, dedups and retries; "is moving" condition; "movement finished" trigger; final position re-read; numeric-string DP fix. Ideas from Adrian Rockall's Somfy TaHoma app thread (community topic 35206, posts 244, 258, 511, 761, 774, 824, 826, 1087, 1585, 1626, 2157), our own code;
windowcoverings_stateis never written (P2393/P2399). Topic 35206 added to the forum-watch sources. Commit c0112d6148.
Documentation tooling (P3032)
scripts/kb/code-reference.js→ CODE_REFERENCE.md: one line per lib module, gate/CI script and workflow from its own header, plus every env flag and the files that read it.scripts/kb/doc-coverage.js→ DOC_COVERAGE.md: what exists in code but is not named in any hand-written doc; KB files missing from INDEX. Report mode indoc-coverage.yml.scripts/kb/build-homey-kb.jsnow lists every other KB file at the end of INDEX.md.