review-homecore-migration

Review the process or configuration for migrating Home Assistant to operate with versioned, untrusted inputs and non-overwriting outputs.

Last repository push
GitHub Stars
105,709
Forks
13,790
Issues / PRs
81

Screenshots

A demonstration from skillπ Lab

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "review-homecore-migration" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-24b8135271be60ab40d845660ea6618348fe2ca3afb5bbf28c09a4a8d0496a38. Verify the upstream source and version against https://github.com/ruvnet/RuView before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Review the process or configuration for migrating Home Assistant to operate with versioned, untrusted inputs and non-overwriting outputs.

0 Downloads

Introduction source: third_party · ruvnet · 0.0.1 Reference

SkillPi interpretation

Tasks
Review Home Assistant migration as untrusted versioned input and no-clobber output.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: review-homecore-migration
description: Review Home Assistant migration as untrusted versioned input and no-clobber output.

Review a Home Assistant migration

  1. Inspect before writing.
  2. Reject unsupported storage schema versions.
  3. Preserve compatible unknown config-entry fields.
  4. Use explicit destinations and atomic no-clobber writes.
  5. Never expose secret values in errors, logs, issues, or transcripts.
  6. Label incomplete automation, secret-reference, and integration behavior.

Version history

  1. v3815 GitHub ↗
    Original release notes

    Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** feat(unified): add bounded spatial research controls (#2601) * feat(unified): add bounded spatial research controls * fix(security): update Wasmtime to 36.0.21 without regressing cache patch **Source commit:** `8139c7e6258a19da9c9861fa035705dd3f031b56` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.

  2. v3809 GitHub ↗
    Original release notes

    Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** [SECURITY-SENSITIVE] fix(ruview-auth): one refresh across processes; no proceed after lock timeout; a sent token is never kept (#2599) * fix(ruview-auth): one refresh across processes, no proceed after a lock timeout, a sent token is never kept Identity (cognitum-one/console#857) revokes the whole session family when a used refresh token is presented again. ensure_fresh could do that in ordinary use: - after 3 s waiting on another process's lock it went ahead anyway; - it presented the token it loaded earlier instead of re-reading the file under the lock; - it kept the old token after a failed or timed-out request; - it reused the old token when an answer carried no new one; - on non-Unix it had no lock at all. Now: - login/lock.rs: flock on Unix. Elsewhere, an atomic `credentials.lock.d` directory (stale after 120 s), and if the lock state can't be read it fails closed. A waiter polls for up to LOCK_WAIT (30 s, longer than the request timeout). If it still has no lock it returns the new StoreError::RefreshBusy, having sent nothing and changed nothing. - Under the lock the file is re-read, and a record another process already refreshed is used. - Before sending, the stored record loses its refresh token (a token-less marker). A process that dies mid-request leaves a record that answers NoRefreshToken, never a reusable spent token. - Any failure once the request may have reached Identity clears the stored credentials, and the in-memory session goes token-less too. That covers a timeout, a reset, an error answer, a bad body, and a failed save of the new pair. Only a connection that was never made restores the old token. - An answer with no new refresh token stores none; the spent one is not kept. - client::refresh is bounded by REFRESH_TIMEOUT (20 s). Tests (store_refresh_tests.rs). Each scenario runs in a child process, which is this test binary re-invoked. Identity is a 127.0.0.1 fixture and all tokens are fixtures. - Two processes with one expired file: 1 refresh, and both get the new pair. - A timeout after sending clears the file, and the next run sends nothing. - A leftover token-less record is never sent. - A held lock gives RefreshBusy and sends nothing. - A refused connection keeps the token. - An answer without a refresh token keeps none. Mutation checks: dropping the re-read under the lock gives 2 refreshes; keeping the token after an error fails the timeout test. `cargo test -p ruview-auth --all-features`: 70 + 25 + 2 pass. * fix(ruview-auth): File::lock on a never-deleted lock file everywhere; durable writes (review-393) Fixes from review-393 on #2599: - Lock. A takeover-by-removal lock (like the non-Unix lock directory in the previous commit) can let two takers both hold it; review-393 reproduced this 1 in 100 on the console CLI's equivalent. The lock is now `File::lock` (stable since 1.89, the repo's pinned toolchain) on every platform: - it locks `credentials.lock`, which is never deleted; - it uses flock on Unix and LockFileEx on Windows; - the OS releases it when the holder exits or dies, so there is no staleness heuristic; - a lock that can't be taken at all fails closed; - the 30 s wait followed by RefreshBusy is unchanged. The crate no longer calls libc. The optional `libc` dependency is left in Cargo.toml so Cargo.lock doesn't change in this PR. - Durability. On Unix the parent directory is fsynced after the rename. On other platforms write_private now sync_all's the tmp file before the rename. - Child processes in the refresh tests have the test-only hooks removed from their environment. New tests: - a lock held by a live child process blocks; once the child is killed (never releasing), the lock frees; - 8 threads x 25 rounds never have more than one holder; - the lock file is never unlinked. Stress: the full lib test binary ran 90 times, 6 in parallel, with 90 passes. * fix(ruview-auth): make the credentials directory fsync best effort (L8) The parent-directory fsync ran after the rename had already put the new pair in place, and its error was fatal. On FUSE or network mounts that reject a directory fsync (EINVAL/ENOTSUP), every refresh would clear the new pair and sign the user out. It is now logged with tracing::warn and ignored; the tmp file's sync_all before the rename stays fatal. Corrects the marker-save comment, adds tests that inject a directory-fsync failure through RUVIEW_TEST_FAIL_DIR_FSYNC (save succeeds; refresh rotates and keeps the new pair), and drops the now-unused optional libc dependency. * fix(ruview-auth): never launch a browser from tests open_browser's unit test called the real launcher, so every `cargo test -p ruview-auth` opened a tab at http://127.0.0.1:1/nope in the developer's browser. Under cfg(test), open_browser now records the command it would run instead of spawning it, and the test asserts that command. **Source commit:** `f7de049ebd637aae7f5d20d51cc23162938cbad9` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.

  3. v3750 GitHub ↗
    Original release notes

    Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** Merge pull request #2574 from ruvnet/fix/issues-2557-2559 Fix checkout-local memory bootstrap and legacy cache isolation (#2559), derive live labels and observatory captions from the actual source (#2558), and use a short dB-domain window for single-link RSSI motion (#2557). Resolve the release audit findings with libz-sys 1.1.33 and registry ZIP 9.0.5 behind a private Candle filename API adapter. The existing advisory ignore list is unchanged. Archive guards and real Candle tensor IO regressions cover the dependency boundary. Validation and CI receipts: https://github.com/ruvnet/RuView/pull/2574 RSSI regression evidence is SYNTHETIC; real macOS/device accuracy remains unverified. Fixes #2559 Fixes #2558 Fixes #2557 **Source commit:** `13b47883a73d5070f35a3f04aec2ffa778b47e29` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.

  4. v3727 GitHub ↗
    Original release notes

    Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** Merge pull request #2552 from ruvnet/fix/quinn-lockfile-rustsec-2026-0523 security: bump quinn-proto/quinn-udp in v2/Cargo.lock (RUSTSEC-2026-0523/0524/0538) **Source commit:** `3bae24a1231e0d9809e84eb35edba7231b8d1913` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.

  5. v3702 GitHub ↗
    Original release notes

    Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** fix: crates.io publish-blocking gaps in homecore-automation, homecore-hap (#1496) homecore-automation's and homecore-hap's path dependency on homecore had no version requirement -- crates.io rejects "all dependencies must have a version requirement specified when publishing". Pinned both to homecore = "0.1.0-alpha.0", the version just published. Also fixed homecore-hap's repository field, which pointed at github.com/ruvnet/wifi-densepose (a 404) instead of the actual github.com/ruvnet/RuView -- inconsistent with every other homecore-* crate's Cargo.toml. Found while publishing the full homecore-* batch to crates.io (homecore, -api, -automation, -assist, -hap, -migrate, -plugins, -recorder, -server -- all 9, v0.1.0-alpha.0). Both crates verified via cargo publish --dry-run before and after. **Source commit:** `094e1400719ded1283c67d23b9c737f6738a3244` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 针对 Home Assistant 迁移场景提供实用审查能力
  • 解决配置安全、版本兼容性和数据完整性等核心痛点
Trigger Precision95/100

Highlights

  • 触发描述精准完整,边界清晰
Structure and Standards90/100

Highlights

  • 结构清晰,步骤明确,frontmatter 完整
Execution Reliability92/100

Highlights

  • 覆盖输入检查、版本拒绝、敏感信息保护等关键可靠性措施
Evidence Verifiability (mean of the first four)87/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.