diff --git a/.github/workflows/validate-specific.yaml b/.github/workflows/validate-specific.yaml index 5e0bc5f..fe75ef4 100644 --- a/.github/workflows/validate-specific.yaml +++ b/.github/workflows/validate-specific.yaml @@ -113,7 +113,7 @@ jobs: python-version: "3.14" - name: Install Ruff - run: pip install ruff==0.17.4 + run: pip install ruff==0.17.5 - name: Run Ruff Check run: ruff check . diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3b0446d..d98d324 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -158,10 +158,10 @@ "type": "shell" }, { - "command": "if (Test-Path scripts/check_queue_format.py) { mkdir -Force .reports | Out-Null; $out = uv run python scripts/check_queue_format.py 2>&1; $ec = $LASTEXITCODE; if ($out) { $out | Set-Content .reports/queue_format.txt } else { Set-Content .reports/queue_format.txt 'Queue Format: PASSED' }; $passed = Select-String -Quiet 'Queue Format: PASSED' .reports/queue_format.txt -ErrorAction SilentlyContinue; if ($out) { if ($passed) { $out | Where-Object { $_ -match '^\\(Advisory:' } | ForEach-Object { Write-Host $_ -ForegroundColor Yellow } } else { $errs = @($out | Out-String -Stream | Where-Object { $_.Trim() }); if ($errs) { $errs | Select-Object -First 20 | ForEach-Object { Write-Host (' ' + $_) }; if ($errs.Count -gt 20) { Write-Host (' ... and ' + ($errs.Count - 20) + ' more lines (see .reports/queue_format.txt)') } } } }; Write-Host; if ($passed) { Write-Host '✔ Queue Format: PASSED' -ForegroundColor Green } else { Write-Host '✖ Queue Format: FINDINGS (report-only)' -ForegroundColor Yellow } } else { Set-Content .reports/queue_format.txt '– Skipped: no scripts/check_queue_format.py'; Write-Host '– Skipped: no scripts/check_queue_format.py' -ForegroundColor Cyan }; exit 0", + "command": "$qf = @(@('workbench/check_queue_format.py', 'dev-workbench/workbench/check_queue_format.py', '../dev-workbench/workbench/check_queue_format.py') | Where-Object { Test-Path $_ })[0]; if ($qf) { mkdir -Force .reports | Out-Null; $out = uv run python $qf 2>&1; $ec = $LASTEXITCODE; if ($out) { $out | Set-Content .reports/queue_format.txt } else { Set-Content .reports/queue_format.txt 'Queue Format: PASSED' }; $passed = Select-String -Quiet 'Queue Format: PASSED' .reports/queue_format.txt -ErrorAction SilentlyContinue; if ($out -and -not $passed) { $errs = @($out | Out-String -Stream | Where-Object { $_.Trim() }); if ($errs) { $errs | Select-Object -First 20 | ForEach-Object { Write-Host (' ' + $_) }; if ($errs.Count -gt 20) { Write-Host (' ... and ' + ($errs.Count - 20) + ' more lines (see .reports/queue_format.txt)') } } }; Write-Host; if ($passed) { Write-Host '✔ Queue Format: PASSED' -ForegroundColor Green } else { Write-Host '✖ Queue Format: FAILED' -ForegroundColor Red } } else { Set-Content .reports/queue_format.txt '– Skipped: no check_queue_format.py'; Write-Host '– Skipped: no check_queue_format.py' -ForegroundColor Cyan }; exit 0", "group": "build", "detail": "Validates the cross-project x_project/ queue and, with --project, one project's .notes/tasks/. Checks the status vocabulary, the Verified date, the Start here line, evidence on settled cells and stamps on archived ones. Report-only: prints a yellow banner on findings and always exits 0, so it never aborts Validate All.", - "label": "Env: Check Queue Format", + "label": "Validate: Queue Format", "presentation": { "clear": true, "panel": "dedicated", @@ -240,7 +240,7 @@ "type": "shell" }, { - "command": "if (Test-Path workbench/check_sensor_manifest.py) { mkdir -Force .reports | Out-Null; Remove-Item -Force -ErrorAction SilentlyContinue .reports/sensor_manifest.txt; $failed = $false; foreach ($proj in @('huawei', 'zte', 'unifi', 'wifi')) { $out = uv run python workbench/check_sensor_manifest.py $proj --check 2>&1; if ($out) { $out | Add-Content .reports/sensor_manifest.txt; Write-Host $out }; if ($LASTEXITCODE -ne 0) { $failed = $true } }; Write-Host; if (-not $failed) { Write-Host '✔ Sensor Manifest: PASSED' -ForegroundColor Green } else { Write-Host '✖ Sensor Manifest: FAILED' -ForegroundColor Red } } else { Set-Content .reports/sensor_manifest.txt '– Skipped: no workbench/check_sensor_manifest.py'; Write-Host '– Skipped: no workbench/check_sensor_manifest.py' -ForegroundColor Cyan }; exit 0", + "command": "if (Test-Path workbench/check_sensor_manifest.py) { mkdir -Force .reports | Out-Null; Remove-Item -Force -ErrorAction SilentlyContinue .reports/sensor_manifest.txt; $failed = $false; foreach ($proj in @('huawei', 'zte', 'unifi', 'wifi')) { $out = uv run python workbench/check_sensor_manifest.py $proj --check 2>&1; if ($out) { $out | Add-Content .reports/sensor_manifest.txt; Write-Host $out }; if ($LASTEXITCODE -ne 0) { $failed = $true } }; Write-Host; if (-not $failed) { Add-Content .reports/sensor_manifest.txt '✔ Sensor Manifest: PASSED'; Write-Host '✔ Sensor Manifest: PASSED' -ForegroundColor Green } else { Add-Content .reports/sensor_manifest.txt '✖ Sensor Manifest: FAILED'; Write-Host '✖ Sensor Manifest: FAILED' -ForegroundColor Red } } else { Set-Content .reports/sensor_manifest.txt '– Skipped: no workbench/check_sensor_manifest.py'; Write-Host '– Skipped: no workbench/check_sensor_manifest.py' -ForegroundColor Cyan }; exit 0", "group": "build", "label": "Env: Check Sensor Manifest", "presentation": { @@ -344,7 +344,7 @@ "Env: Check Tasks Conformance", "Env: Check Shared Prompts", "Env: Check Prompt Cadence", - "Env: Check Queue Format", + "Validate: Queue Format", "Env: Check Release Plans", "Env: Check Changelog Headers", "Env: Check AGENTS.md", @@ -457,7 +457,7 @@ "Validate: YAML Style", "Env: Check Tasks Conformance", "Env: Check Shared Prompts", - "Env: Check Queue Format", + "Validate: Queue Format", "Env: Check Release Plans", "Env: Check Changelog Headers", "Env: Check AGENTS.md", @@ -564,7 +564,7 @@ "Validate: YAML Style", "Env: Check Tasks Conformance", "Env: Check Shared Prompts", - "Env: Check Queue Format", + "Validate: Queue Format", "Env: Check Release Plans", "Env: Check Changelog Headers", "Env: Check AGENTS.md", @@ -600,7 +600,7 @@ "Env: Check Tasks Conformance", "Env: Check Shared Prompts", "Env: Check Prompt Cadence", - "Env: Check Queue Format", + "Validate: Queue Format", "Env: Check Release Plans", "Env: Check Changelog Headers", "Env: Check AGENTS.md", diff --git a/CHANGELOG.md b/CHANGELOG.md index db0b4d9..dcea02e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file. --- +## [2.0.21] - 2026-11-22 - Tooling & CI: Ruff and Prettier Bumps, Queue Format Task, and Profile Copy + +### Summary + +Synced host validation task updates from `dev-workbench` v324, bumped `ruff` and `prettier` validation pins, and updated the PlayFaster organization profile copy. + +### Bumps + +- **CI Bump**: Update `ruff` from `0.17.4` to `0.17.5` +- **Validate Bump**: Update `prettier` from `3.9.10` to `3.10.1` + +### Changed + +- **Profile README (`profile/README.md`)**: Reordered the availability text from `HACS / Home Assistant Marketplace` to `Home Assistant Marketplace / HACS`. + ## [2.0.20] - 2026-11-19 - Profile README plus tasks.json ### Added @@ -373,6 +388,7 @@ Four inline CI pins in `validate-specific.yaml` move to the dev-workbench versio The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - [Changelog .github Repo](#changelog-github-repo) + - [\[2.0.21\] - 2026-11-22 - Tooling \& CI: Ruff and Prettier Bumps, Queue Format Task, and Profile Copy](#2021---2026-11-22---tooling--ci-ruff-and-prettier-bumps-queue-format-task-and-profile-copy) - [\[2.0.20\] - 2026-11-19 - Profile README plus tasks.json](#2020---2026-11-19---profile-readme-plus-tasksjson) - [\[2.0.19\] - 2026-11-16 - Maintenance: Shared CI Tool Bumps and Ruff HA Core Alignment](#2019---2026-11-16---maintenance-shared-ci-tool-bumps-and-ruff-ha-core-alignment) - [\[2.0.18\] - Release - 2026-11-09 - CI Bumps; Dependabot CI Bumps; Host-Tooling Sync With a 7-Day Release Wait; CI Test Harness Now pytest-homeassistant](#2018---release---2026-11-09---ci-bumps-dependabot-ci-bumps-host-tooling-sync-with-a-7-day-release-wait-ci-test-harness-now-pytest-homeassistant) diff --git a/docs/changelog_local.md b/docs/changelog_local.md index 48932ec..edcb1dc 100644 --- a/docs/changelog_local.md +++ b/docs/changelog_local.md @@ -5,6 +5,7 @@ All changes to this project will be documented in this file. This is the detaile --- - [Internal Detailed Changelog: .github Repo](#internal-detailed-changelog-github-repo) + - [\[2.0.21\] - 2026-11-22 - Tooling \& CI: Ruff and Prettier Bumps, Queue Format Task, and Profile Copy](#2021---2026-11-22---tooling--ci-ruff-and-prettier-bumps-queue-format-task-and-profile-copy) - [\[2.0.20\] - 2026-11-19 - Profile README plus tasks.json](#2020---2026-11-19---profile-readme-plus-tasksjson) - [\[2.0.19\] - 2026-11-16 - Maintenance: Shared CI Tool Bumps and Ruff HA Core Alignment](#2019---2026-11-16---maintenance-shared-ci-tool-bumps-and-ruff-ha-core-alignment) - [\[2.0.19-dev4\] - 2026-11-16 - Dependabot Bump CodeQL](#2019-dev4---2026-11-16---dependabot-bump-codeql) @@ -90,6 +91,22 @@ All changes to this project will be documented in this file. This is the detaile --- +## [2.0.21] - 2026-11-22 - Tooling & CI: Ruff and Prettier Bumps, Queue Format Task, and Profile Copy + +### Summary + +Synced host validation task updates from `dev-workbench` v324, bumped `ruff` and `prettier` validation pins, and updated the PlayFaster organization profile copy. + +### Bumps + +- **CI Bump**: Update `ruff` from `0.17.4` to `0.17.5` in `.github/workflows/validate-specific.yaml`. +- **Validate Bump**: Update `prettier` from `3.9.10` to `3.10.1` in `package-lock.json`. + +### Changed + +- **Validation Tasks (`.vscode/tasks.json`)**: Renamed `Env: Check Queue Format` to `Validate: Queue Format` resolving `workbench/check_queue_format.py` and failing on findings (`Queue Format: FAILED`), and updated `Env: Check Sensor Manifest` to append `Sensor Manifest: PASSED`/`FAILED` to `.reports/sensor_manifest.txt` (`dev-workbench` v324 sync). +- **Profile README (`profile/README.md`)**: Reordered the availability text from `HACS / Home Assistant Marketplace` to `Home Assistant Marketplace / HACS`. + ## [2.0.20] - 2026-11-19 - Profile README plus tasks.json ### Added diff --git a/package-lock.json b/package-lock.json index d4ed4c8..625f1e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,9 @@ } }, "node_modules/prettier": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz", - "integrity": "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==", + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.10.1.tgz", + "integrity": "sha512-70vp3ZUYoPlFbF9uiTdXHUUCGEIp7d4+6p+8DYbkm2jP7x/3i/paXVF6dopSI3zd/CEitrZN1rc4i85xWmmXlg==", "dev": true, "license": "MIT", "bin": { diff --git a/profile/README.md b/profile/README.md index a92b99b..2f2a748 100644 --- a/profile/README.md +++ b/profile/README.md @@ -12,4 +12,4 @@ I build open-source **Home Assistant** integrations and themes focused on networ | [WiFi SSID Monitor](https://github.com/PlayFaster/ha-wifi-ssid-monitor) | Scan nearby WiFi SSIDs via HAOS/Supervised, detect rogue APs, and spot smart devices in setup mode | [![Release](https://img.shields.io/github/v/release/PlayFaster/ha-wifi-ssid-monitor?label=Release)](https://github.com/PlayFaster/ha-wifi-ssid-monitor/releases) | | [Very Dark Black HA Theme](https://github.com/PlayFaster/very-dark-black-ha-theme) | Pure-black / AMOLED dark mode theme for Home Assistant with bold accent color variants | [![Release](https://img.shields.io/github/v/release/PlayFaster/very-dark-black-ha-theme?label=Release)](https://github.com/PlayFaster/very-dark-black-ha-theme/releases) | -All projects are available via **HACS / Home Assistant Marketplace** (see each repository's README for one-click install badges and setup guides). +All projects are available via **Home Assistant Marketplace / HACS** (see each repository's README for one-click install badges and setup guides).