Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions addon-edge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 0.0.0-edge.37

- Retry a draft conflict review without losing the local edit or saving over a stale revision.

## 0.0.0-edge.36

- Keep the draft editor locked while opening a saved rule or checking for an interrupted save.

## 0.0.0-edge.35

- Show the latest saved condition when reviewing a conflicting draft revision.

## 0.0.0-edge.34

- Match the automation draft API contract to the exact supported revision range.

## 0.0.0-edge.33

- Save and reopen inactive manual automation drafts in Household settings.
- Preserve immutable revisions and recover a save after a lost response.
- Migrate existing data to SQLite schema 32. Keep the compatible backup for rollback.

## 0.0.0-edge.32

- Show the exact number of items still to buy and the first 25 shared-list items on Overview.
Expand Down
11 changes: 8 additions & 3 deletions addon-edge/DOCS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Installation and operation

Edge 0.0.0-edge.31 packages the immutable runtime declared in
Edge 0.0.0-edge.37 packages the immutable runtime declared in
[artifact.json](artifact.json). Overview shows the signed-in member's completed tasks and
posted earned points for the current Family week. Open Family for the full report.
In Household settings, authorized members can preview a manual task proposal and
see whether an optional stock condition matches. Preview leaves tasks and stock unchanged.
Save the rule as an inactive draft to reopen its exact definition or append a revision.
Use the original save receipt after an interrupted response. The editor
waits while Domus checks for a pending save or opens a draft.
Review the latest saved condition before keeping your edits after a conflict.
If the latest revision fails to load, retry the review from the same draft.
If the product list fails to load, the title-only preview remains available and
the draft is preserved while reloading the list.
People with task configuration permission can set optional base points when creating a task.
Expand All @@ -13,8 +18,8 @@ the due-today and overdue task counts shown on Overview through a dedicated inst
grant. Enable the [native deadline sensors](../docs/tasks/ha-deadline-sensors.md) using
the optional `ha_deadline_digest` setting. The calendar uses its own
`ha_calendar_digest` setting. Both share the private app port `8100` when enabled.
This preview retains SQLite schema 31. Edge.13 introduced that schema and is listed
in `breaking_versions`. Keep a compatible image and stopped-app backup before
Edge.33 introduces SQLite schema 32 and is listed in `breaking_versions`.
Keep a compatible image and stopped-app backup before
upgrading from an earlier schema. A binary that expects the earlier schema
requires its compatible data backup.
A separate Supervisor repository source creates an independent app and data
Expand Down
8 changes: 4 additions & 4 deletions addon-edge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# The Supervisor builds this folder. Fetch only the reviewed immutable runtime and UI.
FROM ghcr.io/astral-sh/uv:0.11.29@sha256:eb2843a1e56fd9e30c7276ce1a52cba86e64c7b385f5e3279a0e08e02dd058fc AS uv
FROM python:3.14.6-slim-trixie@sha256:7bec7ddcddeff7975d6ba9b4be7dd6f6b2f55e7491539145e2978f7f97ce9144 AS source
ARG DOMUS_SOURCE_COMMIT=43bace9576b9468f789fe9975a3dd5fe427d83ae
ARG DOMUS_SOURCE_SHA256=7ad1c19b3452f2be9f8385be113c7d5a1f7f1a74ee094c11ad99c2513732d0d4
ARG DOMUS_SOURCE_COMMIT=63890ace59d55ec76e0b9c3c7c832598eeeab7a1
ARG DOMUS_SOURCE_SHA256=683f22b93d1e26d6145f51d005d8cfca1324f7d27425786050d1f54fc4cb9b9b
ADD https://codeload.github.com/vypdev/domus/tar.gz/${DOMUS_SOURCE_COMMIT} /tmp/source.tar.gz
RUN printf '%s /tmp/source.tar.gz\n' "$DOMUS_SOURCE_SHA256" | sha256sum --check - \
&& mkdir /app \
Expand All @@ -24,9 +24,9 @@ RUN uv sync --frozen --no-dev --package domus-server --no-editable
RUN .venv/bin/python -c "from pathlib import Path; import domus; from domus.entrypoints.ui_bundle import load_bundle; assert load_bundle(Path(domus.__file__).parent / 'ui') is not None"

FROM python:3.14.6-slim-trixie@sha256:7bec7ddcddeff7975d6ba9b4be7dd6f6b2f55e7491539145e2978f7f97ce9144
ARG BUILD_VERSION=0.0.0-edge.32
ARG BUILD_VERSION=0.0.0-edge.37
ARG BUILD_ARCH
ARG DOMUS_SOURCE_COMMIT=43bace9576b9468f789fe9975a3dd5fe427d83ae
ARG DOMUS_SOURCE_COMMIT=63890ace59d55ec76e0b9c3c7c832598eeeab7a1
LABEL io.hass.type="app" \
io.hass.version="${BUILD_VERSION}" \
io.hass.arch="${BUILD_ARCH}" \
Expand Down
6 changes: 3 additions & 3 deletions addon-edge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Edge.32 shows the outstanding shopping count and the first 25 rows in Overview.
Select a row to open the matching item in the shared list in Inventory.

In Household settings, preview a manual task proposal and optionally check available
stock against a product's minimum. Edge.31 keeps the preview available when the
product list fails to load and preserves the draft while retrying the list.
stock against a product's minimum. Edge.33 saves that rule as an inactive draft,
retains immutable revisions and lets you check the original save after a lost response.

This candidate uses SQLite schema 31. Keep a
This candidate uses SQLite schema 32. Keep a
compatible image and cold data backup before upgrading a previous preview.
See [installation and operation](DOCS.md) for the source pin and rollback
instructions.
42 changes: 22 additions & 20 deletions addon-edge/artifact.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"schemaVersion": 1,
"version": "0.0.0-edge.32",
"sourceCommit": "43bace9576b9468f789fe9975a3dd5fe427d83ae",
"sourceArchiveSHA256": "7ad1c19b3452f2be9f8385be113c7d5a1f7f1a74ee094c11ad99c2513732d0d4",
"storageSchema": 31,
"wheelSHA256": "7075e3aa3f8c085615a256a1eea73bdc55831d08590eb7c7b6904a3109bfb903",
"version": "0.0.0-edge.37",
"sourceCommit": "63890ace59d55ec76e0b9c3c7c832598eeeab7a1",
"sourceArchiveSHA256": "683f22b93d1e26d6145f51d005d8cfca1324f7d27425786050d1f54fc4cb9b9b",
"storageSchema": 32,
"wheelSHA256": "6e4827b460380674a1b8cf72225ad7126679c5e61bfd8907e0f61873d548a4a2",
"pythonFiles": {
"domus/__init__.py": "7182c88b92234b4328f94497f4e70222d4390d8093e4b62893dfa78ac5530ac6",
"domus/application/__init__.py": "1e8c0c87bf2a8ca947112543070583c0cc55d9d40b56eab0d86ed59a4ec1e82c",
Expand All @@ -13,10 +13,11 @@
"domus/application/authentication.py": "3ab940f76455365c4d40d40645c5f9ba5a65754e382665a0266057baaae04bf8",
"domus/application/authentication_values.py": "e83491791e6d323e1fb12aaafb11fc39d2f89a12d10c9ae415c055a1e33aa314",
"domus/application/authorization.py": "bb301cc7c1e37f26f176f6bb132a8d04fa166b014a5f06f00bccaea1c463e2fe",
"domus/application/automation_preview.py": "f78e2a6bfa04df16380a5111094e93cf5979a20e8cf01dbf6f408bea3ab711df",
"domus/application/automation_drafts.py": "441230c946bba0c8e56545cd971af18c72003c32fbcafb1145d78b58f45da2b4",
"domus/application/automation_preview.py": "5f44b1c2ebd3d8ade4b1f2110c8babd98c5ca4b83928a0a4e71d0e74b170dab2",
"domus/application/calendar_commands.py": "bec257c2b7ba07166e69b1dd7ed0016541cd30ab6cb26f18f4fc4dce11017001",
"domus/application/calendar_queries.py": "37b9b8f1d43d9a21cc73c2533a908570783116ff7e5b6db47d6591dfbe2393d9",
"domus/application/commands.py": "6d1d735b4a725086b0d37f6895dd4201f3944e132763f6825142e038f7635354",
"domus/application/commands.py": "b41069d5db23e594f135bc742f2479e25fce537dc0966052546d95409dc7bc05",
"domus/application/fair_recurrence.py": "ce4a9bbe48ed4762e0456669c21e1b6d573b3b9b7b53912a960bab797f7ad610",
"domus/application/family_ports.py": "f2d089eb617b311b305f1ff696437bc5075b9092750b06a1189e4e51e93c5b16",
"domus/application/family_queries.py": "2945045adada3c7bacba211a565ef2c19de3227a3dc6c0ab934dbea9fc93568f",
Expand Down Expand Up @@ -47,7 +48,7 @@
"domus/application/points.py": "a2a660198151d5b65a62b57cb90b35a82a28f38a9a3b7b214b49d6cf6cf0294e",
"domus/application/points_ports.py": "8392b778007d4c55bc55498d38c959d6dc1d4eeaa1dc501cf4d4928ce09f4ac0",
"domus/application/policy_commands.py": "bc588b5b5feb72fd5cb57d7b4a10ef5a05ae48da5ec042fd569142ce50fedeb6",
"domus/application/ports.py": "9a7d2e39c07896faf6799789971174687a7290035ac6283af2f8b699a2ed45d0",
"domus/application/ports.py": "efe45af508d744d4d45e7a3a6c8ee5e0ae5a49272096fc74c5e5e1155f130693",
"domus/application/recovery_commands.py": "2b8c198cde97f0213ec1612ea32bce5e00637aab99862fe08b59418d3c64af49",
"domus/application/recurrence_commands.py": "4d91c498ced40c335b8a081719a33dde97ab081a050ab352c3f1fac83e6f1447",
"domus/application/recurrence_ports.py": "651d86417a20810c198aba0cd48129de6396db185278c01836366575027d6c24",
Expand Down Expand Up @@ -98,15 +99,15 @@
"domus/composition/recurrence.py": "62adda116cec8667e9142b03f422a138818575cf5814a79e219a65999dbed1e6",
"domus/composition/restore.py": "fe4f5040a99db1404938e402eefa54fc93139055a5bc92abdfb7bf35d0c87297",
"domus/composition/server.py": "f857338e254477cd7b1d452fc85434e75fd7a25781ed237bb0d5658ac13ad719",
"domus/composition/tasks.py": "8d15d3cb5c1ed53ddfb48d28efb440fa6698d86b1acc5a7e36bc0fc823dfe40b",
"domus/composition/tasks.py": "cc34f06ce5fa0c5da426b73b79f44d5d93cd25c0dc0c97edd7287a3e2e92da42",
"domus/domain/__init__.py": "0aac8a2ba41471d7a174ef7baca6073c95009a9db96df3e032392aa4f80bd079",
"domus/domain/activation.py": "fcb2e47e939127d5e254e2136fb7f1459b40fa8c8561100579fced49666ad0fe",
"domus/domain/automation.py": "17a7220c2d70f677c758623702f783df3869e4d664e948addae82e916ae257bd",
"domus/domain/automation.py": "b2a91bdde8c027f746e20ed7b4b2a5287dfc4e8de80a26151edd3a3a2d01ee10",
"domus/domain/calendar_values.py": "5a0f3821391f10fbab05c00f775133683203e7f4b7c5861718bef1f98dedc219",
"domus/domain/errors.py": "0af3fadacc89835a4778b07ec45a1cf45539825c3756f44e8f78cebb37f354b6",
"domus/domain/fold_policy.py": "fb938ee4cfae747b569a074d2be4e29ed3024012e09ef7645909a7f86122b2c4",
"domus/domain/generations.py": "bd8d665c7b6e832f881784c07475d2b8911c08d0894cf8e125681a9f27e1ba97",
"domus/domain/identity.py": "a35980712e1717f5f225165080916d8cfefa8c5d1b01f8b08a78089ff2a29b91",
"domus/domain/identity.py": "3f30a61e1de77a7457f131e8e8371b86ac2ccd3e589060429d091624ee1e75ed",
"domus/domain/inventory.py": "d2e559cfc75fbe2557b0112cd7e2b75b05ac8b8b54dff8bbea7131d7d0b98c0c",
"domus/domain/member_profiles.py": "2790ca55a7b37a390d006165a44520085e1ff513783b9cf1a7b681435b8ae4d2",
"domus/domain/member_sources.py": "b5e9d19d501d3d5dd5caf5b4ce945d4c3ff71b1967e92bd8933f26661a416c01",
Expand Down Expand Up @@ -142,7 +143,7 @@
"domus/entrypoints/__init__.py": "d46875cbfef7220c7244bf1b89112ece8122ecb0d66cd908f08f098f0f3c419f",
"domus/entrypoints/administration_dto.py": "aefac6648dd8fefae9d2366abed1c9d595c24a356f7caf945b742043b2c39777",
"domus/entrypoints/administration_http.py": "9ab62ee9759a4b31c5e994354562b48b947bd3428a5866dd9faeb0545ae37afe",
"domus/entrypoints/automation_http.py": "1537aa6954b7ac7881ab755d0d313b5c9ab22ad13f24e83e6d01c9f5c6a53056",
"domus/entrypoints/automation_http.py": "fbafe23af2ef0fa08b4a6b3fb52b22ce096749fb27dee9067a789cd11e50a927",
"domus/entrypoints/bounded_http.py": "d8047746eddb7193f1aa9f16007958c79cc6ae7ac1c30ab93909883e3aa97b54",
"domus/entrypoints/calendar_http.py": "5a7359ac2a876296a13bfe4bc63ac69bd36aec48e55c536a20470a789a6fef13",
"domus/entrypoints/console_recovery.py": "854a3f8d7a2e74f301ac5bd4b54682e409e2669a3bb7e05546e479c113c09026",
Expand All @@ -154,11 +155,11 @@
"domus/entrypoints/household_http.py": "37e948848115bfa8714c9cccc50058389114f2e665cad965a66964b0dcd098c8",
"domus/entrypoints/http.py": "5fe33029b7ca04aae3f41fde9e8e7c517f48cff65d3cc3ac5dcb08b25a26a42b",
"domus/entrypoints/http_contract.py": "613be310d4ff6a6c7e2a699c20f1c4a142d0b34073629884e58e973c4b040039",
"domus/entrypoints/http_errors.py": "20b1a88494154178e002a98a03549b9223ab2432d2ab7291c4cc70b9e18011d6",
"domus/entrypoints/http_errors.py": "ab0d521c5799abbcd554ada9f10e2b8fb7ea455bc2527711a7920c08e7ecc0ee",
"domus/entrypoints/ingress_boundary.py": "1aa1d684b8625464b5d36d272f71d94b4cd32b84819ff8765a821c9a722f8f28",
"domus/entrypoints/ingress_http.py": "f6557eb5481d132131f66ad7691e30c223c63a66a6f0ae5754c9fba3bc7f3626",
"domus/entrypoints/inventory_http.py": "a58e114de6ff684f6d7d1a93f7f4cb316b8ffa60b0c662733df2c1fd70c2ab6e",
"domus/entrypoints/native_http.py": "471e3485bbafb4ea6fb928f476169b3976cb2cf32f4f3c879564633619a06602",
"domus/entrypoints/native_http.py": "68aa8a19bc303345dec44cb67dfc3855cc4d4be9cbe8143b6c63859b8f9f2def",
"domus/entrypoints/openapi.py": "01a3fab9e5890ebcc1fb9c70bce9ced43d45b9190afd134db7dd45e0c5eb28f1",
"domus/entrypoints/point_allocation_http.py": "7339c88c083206c0778885b55793c80af219b15af7004c5a51d34dbc28f4da5c",
"domus/entrypoints/recurrence_dto.py": "094e6f64e1f963bfb053e830b214eed1189258e4f0eb8ff15ddba1f059649a1a",
Expand All @@ -167,7 +168,7 @@
"domus/entrypoints/schedule_creation_http.py": "2a3c3ea682f978eb2767dc8808a218c312861f31079cc2c76dbc3847ddec3197",
"domus/entrypoints/task_category_http.py": "e5443015f5e5cb2684eb6807e0a3bac5116703b5611508281afd7d1addee9672",
"domus/entrypoints/task_dto.py": "10657d1df0180bf05e71d1f38ac3214d2cea34c8822f50ea25ab331b9c014049",
"domus/entrypoints/task_http.py": "6fa79282c6b75ed1e15ef465e5c830364eb377117893fcc4c4aa7d86fa3e27df",
"domus/entrypoints/task_http.py": "a8fbdaf9f45610f53e90bb094262375ac4954276095732245b58ae6a6b53139d",
"domus/entrypoints/task_response.py": "d2f4c0795aee429fc318b32495601031c559fa38af1d7da63b4735f7e6eb5d13",
"domus/entrypoints/ui_bundle.py": "beae3d4a7a57375ee195cca81efccdbc899d9db4286029d53eabaf30de6e14f7",
"domus/entrypoints/ui_http.py": "b6c47baa742f3862173a93e4121dc9914fd972eb6287ffffb9ffccecbf2ebe4a",
Expand All @@ -189,8 +190,9 @@
"domus/infrastructure/recurrence_worker.py": "23f76be62ed3ce5ddd557338d7e553d818001f1b3083e6e2f17b1e53723297b0",
"domus/infrastructure/restore_source.py": "71917a2db52f5f6794504fd8caa7fd23b0732e8328760c728ea3f082acd2d203",
"domus/infrastructure/session_access.py": "1e8bc8d44b60d985da7b44d7bb75fd21bb05f3a45ec38dc7031eff1a2709197d",
"domus/infrastructure/sqlite.py": "63c9db9c4bd114503e8a410472e3f745ed63502c15836e081875f23f34874851",
"domus/infrastructure/sqlite.py": "c75a669b02c98b24006c623f8810198c464e9df2bfe7feda3797a02ae094525d",
"domus/infrastructure/sqlite_activation.py": "eabd490e86eab9dec76104d7d65c687133b8768a0ec8679e6cca97ba8616ded2",
"domus/infrastructure/sqlite_automation_drafts.py": "b1c2cc69c8be585668a261663a3519f7cfec790d752ee1c33d1329b113c6aac9",
"domus/infrastructure/sqlite_calendar.py": "ad71b0ee9398131664662531b262da00ec6be312e068a97ef9c3a92172c7c80e",
"domus/infrastructure/sqlite_calendar_preferences.py": "0e10804e9571a885518868b5bcbb69ad4eb1d006cafc33bf8b563e7067e69a4e",
"domus/infrastructure/sqlite_history.py": "e7f8d4f2b79aed851a4056364f67d1c7806c52d011b46c597968bea86dd1d144",
Expand All @@ -213,7 +215,7 @@
"domus/infrastructure/sqlite_restoration.py": "2f28207974082bdee48d72afdca08956e077b957377b1a2894b3eb6f4e6c224a",
"domus/infrastructure/sqlite_rewards.py": "91a9d549198d523d5cd12beefa31cc2d947dc9fe55af245c8cb12017ff1cad5d",
"domus/infrastructure/sqlite_shopping.py": "521e335ae6419f6cd1ee8286c3c6689932ae06330ef370a666581ec915b29688",
"domus/infrastructure/sqlite_snapshots.py": "70cf919b4e877f3c57bbd7152281a25762d8d6a0971fc090d5850e29c1ef4fe7",
"domus/infrastructure/sqlite_snapshots.py": "8cda49c61f19c95638e734fe8c8caee7912ecc6c5dd5aaf0b358b25709dd4f6b",
"domus/infrastructure/sqlite_task_categories.py": "88adfacc0cbb4408ae902f0dceb4db8cf138073e98314a92fb85d881184e2e3d",
"domus/infrastructure/sqlite_task_history.py": "d701c2ce24f8116976b524130dfd6406f0419144b9b68fed7341f18929f77aaf",
"domus/infrastructure/sqlite_task_integrity.py": "982435ff6b6742506c98204292893744aff7b1d64645762eba131e7951e4d09c",
Expand All @@ -229,9 +231,9 @@
"domus/infrastructure/task_materials.py": "d5d2934e36f290c7bf44b473392f014eab8749f1f3b3d26a3402079e65d2818f"
},
"uiFiles": {
".vite/manifest.json": "8157d0110594f50f64ef9eaf26ccde2b9762d2ec1d9a65788015cef05d51be1e",
"assets/index-CK0b1_ig.js": "62063f545d4cd9609d9cc807e8eea8cf89587e904803de7ec44ef6fcc7dc3543",
".vite/manifest.json": "fafa17b6976362a2a437ce99e0b87d6afb465acf1ae0ae634d29bb24b050297e",
"assets/index-CJX6CQDY.js": "ceb1aa767bf164682dababadfb0f60d3217988372995b365cf38f3b26546f02f",
"assets/index-CjJnHZzV.css": "0f2c8c2e31576c0b64fe60373150f09390dafb896df6c07777b2a220ad430e48",
"index.html": "005c1c8afae3913690ee9e83248d4d23cc5775b2f14d14718e544ba696037616"
"index.html": "9704bae64d589f1512faec3f59e963c8a6363804d57dece08f77832f96b95c87"
}
}
3 changes: 2 additions & 1 deletion addon-edge/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Domus Edge
version: "0.0.0-edge.32"
version: "0.0.0-edge.37"
slug: domus_edge
description: Development preview of the local Domus household application
url: https://github.com/vypdev/domus
Expand All @@ -16,6 +16,7 @@ breaking_versions:
- "0.0.0-edge.6"
- "0.0.0-edge.10"
- "0.0.0-edge.13"
- "0.0.0-edge.33"
init: true
timeout: 30
backup: cold
Expand Down
Loading