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
4 changes: 2 additions & 2 deletions .github/workflows/ci_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,11 @@ jobs:
run: >-
lockf -k -t 600 /tmp/domus-ci-entry-browser.lock pnpm --filter @domus/frontend exec playwright test
-c playwright.entry.config.ts tests/e2e/administration.spec.ts tests/e2e/tasks.spec.ts tests/e2e/workspace-navigation.spec.ts
- name: Require all sixty actual-image household journeys
- name: Require all sixty-four actual-image household journeys
run: >-
uv run python -c "import json; from pathlib import Path;
result=json.loads(Path('frontend/test-results/entry-results.json').read_text());
assert result['stats']['expected']==60 and result['stats']['unexpected']==0
assert result['stats']['expected']==64 and result['stats']['unexpected']==0
and result['stats']['skipped']==0 and result['stats']['flaky']==0"

- name: Retain actual-image browser evidence
Expand Down
12 changes: 12 additions & 0 deletions addon-edge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 0.0.0-edge.51

- Refresh the task list and selected detail together after a competing progress update.
- Preserve the proposed blocking reason while reviewing current facts.
- Keep the mobile task layout within the available width across system fonts.

## 0.0.0-edge.50

- Start, block and unblock eligible work from Tasks with an explicit confirmation.
- Preserve blocking reasons through conflicts and interrupted responses, with original-request recovery.
- Keep task primary actions readable in light and dark themes.

## 0.0.0-edge.49

- Enable assignment saving after the selected household members change.
Expand Down
9 changes: 8 additions & 1 deletion addon-edge/DOCS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Installation and operation

Edge 0.0.0-edge.49 packages the immutable runtime declared in
Edge 0.0.0-edge.51 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
Expand Down Expand Up @@ -31,6 +31,13 @@ explains when the chosen members already match the current assignment. Clearing
prepares a state-permitted release. A competing update retains the draft for
explicit review. **Check saved request** recovers an interrupted assignment.

In Tasks, **Start task**, **Block task** and **Unblock task** confirm the currently
permitted progress change before **Save progress**. Blocking requires a reason
within 1000 characters and shows that saved reason beside the blocked task.
A competing update retains your proposal for **Review current task** and a
separate save. The list and selected detail refresh together after a competing
progress update. **Check saved request** recovers an interrupted progress change.

Edge.47 completes explicit runtime cleanup when Home Assistant requests Stop.
Workers finish before identity disposal and installation-lease release. Standalone
shutdown reports its bounded delegated-grant cleanup result in the server log.
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=0a95702a5f53911cc12c645bf7f6f2e8dcd626cd
ARG DOMUS_SOURCE_SHA256=0fcb5041bdb95712545b0deb6aec3ed2d8f545289cd034537f0d70ae78a71989
ARG DOMUS_SOURCE_COMMIT=4f79b75d65835037a51b51e3742cd372bc45edfe
ARG DOMUS_SOURCE_SHA256=b57247ac5e62686f8ff42b1ac71cbcde5e47ea54ff873b543077db0102e865dc
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.49
ARG BUILD_VERSION=0.0.0-edge.51
ARG BUILD_ARCH
ARG DOMUS_SOURCE_COMMIT=0a95702a5f53911cc12c645bf7f6f2e8dcd626cd
ARG DOMUS_SOURCE_COMMIT=4f79b75d65835037a51b51e3742cd372bc45edfe
LABEL io.hass.type="app" \
io.hass.version="${BUILD_VERSION}" \
io.hass.arch="${BUILD_ARCH}" \
Expand Down
7 changes: 6 additions & 1 deletion addon-edge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ for explicit review. Saved requests recover an interrupted assignment response.
Edge.49 enables assignment saving after the selected members change and explains
when the current selection already matches the task.

Edge.50 adds Start, Block and Unblock to Tasks, with a required blocking reason,
explicit conflict review and recovery of the original progress request.
Edge.51 refreshes both the list and detail after a competing progress update and
keeps the mobile task layout within the available width.

This candidate uses SQLite schema 34. 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
See [installation and operation](https://github.com/vypdev/domus/blob/ac843a9a5c23d411ff11dcbd83d32256af2f5daa/addon-edge/DOCS.md) for the source pin and rollback
instructions.
18 changes: 9 additions & 9 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.49",
"sourceCommit": "0a95702a5f53911cc12c645bf7f6f2e8dcd626cd",
"sourceArchiveSHA256": "0fcb5041bdb95712545b0deb6aec3ed2d8f545289cd034537f0d70ae78a71989",
"version": "0.0.0-edge.51",
"sourceCommit": "4f79b75d65835037a51b51e3742cd372bc45edfe",
"sourceArchiveSHA256": "b57247ac5e62686f8ff42b1ac71cbcde5e47ea54ff873b543077db0102e865dc",
"storageSchema": 34,
"wheelSHA256": "b8141fd740b17282129a072802782182ff14971827514e427be87546c20ce469",
"wheelSHA256": "3fe64c5c5d4d21d6c65538f276bf18805c44d04d084db57d964599b36d48ff0f",
"pythonFiles": {
"domus/__init__.py": "7182c88b92234b4328f94497f4e70222d4390d8093e4b62893dfa78ac5530ac6",
"domus/application/__init__.py": "1e8c0c87bf2a8ca947112543070583c0cc55d9d40b56eab0d86ed59a4ec1e82c",
Expand Down Expand Up @@ -88,7 +88,7 @@
"domus/application/task_material_views.py": "1f4e1b52c17064b73e3c6502b38fc578a7589d68044279312c783b656e5aa5bf",
"domus/application/task_materials.py": "caa132a7b16fca293770deba3da149cf9bda2e24d4719abe9de39470d686698e",
"domus/application/task_ports.py": "165f04fc639310da0b742c8c2d58b2eadd459142720fdc138df384f34e53e35a",
"domus/application/task_queries.py": "f5cf1da6bbb86386b05844d24a021ff8935fa92882c1261c650da2e3b3ee7347",
"domus/application/task_queries.py": "a9606243d425085600f278a118cb9a1315a9c3bc878f3e88531f6b208c15baf6",
"domus/application/task_requests.py": "2e9ead8f5458d45335ec55bad50f5f7e12b42ee9b00ff54634f3ff681b320897",
"domus/application/task_reviews.py": "dcc288cda6cdcf5073bad4f24133b9d3496c0b0cf1272e8328e6df38129f3328",
"domus/composition/__init__.py": "a902d8faf7dd19da6829fb730d81e32d34ec38ee6cfafd676966a95d0ad31366",
Expand Down Expand Up @@ -175,7 +175,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": "fffefb1542eb545b45efe0e14467015e61babed51a6bc09a5978fc9c2673ab51",
"domus/entrypoints/task_http.py": "cb0171a9fd70efef48b9ecc53a7b3762870c6896325354787d84782681397a8e",
"domus/entrypoints/task_response.py": "d2f4c0795aee429fc318b32495601031c559fa38af1d7da63b4735f7e6eb5d13",
"domus/entrypoints/ui_bundle.py": "beae3d4a7a57375ee195cca81efccdbc899d9db4286029d53eabaf30de6e14f7",
"domus/entrypoints/ui_http.py": "b6c47baa742f3862173a93e4121dc9914fd972eb6287ffffb9ffccecbf2ebe4a",
Expand Down Expand Up @@ -239,9 +239,9 @@
"domus/infrastructure/task_materials.py": "d5d2934e36f290c7bf44b473392f014eab8749f1f3b3d26a3402079e65d2818f"
},
"uiFiles": {
".vite/manifest.json": "f4fdf822c622f2e96f1b01bf5c1cdbec895eb99b7fc118f8d4df54e4fd7d87b0",
"assets/index-BYTTreHd.js": "2eb864558eeff849ff8abb5aaab2409a1c6589ba3dc4d7cb09385ab9175fc001",
".vite/manifest.json": "5cc6cb5d72390640c8e281eba20c9ff8c782c7f5c6e103ff39a6257fde28b74b",
"assets/index-CjJnHZzV.css": "0f2c8c2e31576c0b64fe60373150f09390dafb896df6c07777b2a220ad430e48",
"index.html": "eb9cf14a75ac42e824649a406b7d388978547a14d2d712251b92663b6954532b"
"assets/index-lAPOs-kN.js": "1696cc56f023da1760f9147d175e64caa65baa08be89024a85761776b88b38ff",
"index.html": "c9110bf2ef5b3294a64e67513f27b7f5baee3a999344590d479c5b15ff95ac33"
}
}
2 changes: 1 addition & 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.49"
version: "0.0.0-edge.51"
slug: domus_edge
description: Development preview of the local Domus household application
url: https://github.com/vypdev/domus
Expand Down
1 change: 1 addition & 0 deletions backend/src/domus/application/task_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ def original(self, action: str, key: str) -> OperationView:
"task.create",
"task.claim",
"task.assign",
"task.transition",
"task.complete",
"task.verify",
"task.reopen",
Expand Down
8 changes: 7 additions & 1 deletion backend/src/domus/entrypoints/task_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,13 @@
)

TaskWorkspaceAction = Literal[
"task.create", "task.claim", "task.assign", "task.complete", "task.verify", "task.reopen"
"task.create",
"task.claim",
"task.assign",
"task.transition",
"task.complete",
"task.verify",
"task.reopen",
]


Expand Down
2 changes: 2 additions & 0 deletions docs/contracts/household-api.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9571,6 +9571,7 @@
"task.create",
"task.claim",
"task.assign",
"task.transition",
"task.complete",
"task.verify",
"task.reopen"
Expand Down Expand Up @@ -31830,6 +31831,7 @@
"task.create",
"task.claim",
"task.assign",
"task.transition",
"task.complete",
"task.verify",
"task.reopen"
Expand Down
2 changes: 2 additions & 0 deletions docs/contracts/native-household-api.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9533,6 +9533,7 @@
"task.create",
"task.claim",
"task.assign",
"task.transition",
"task.complete",
"task.verify",
"task.reopen"
Expand Down Expand Up @@ -31471,6 +31472,7 @@
"task.create",
"task.claim",
"task.assign",
"task.transition",
"task.complete",
"task.verify",
"task.reopen"
Expand Down
2 changes: 1 addition & 1 deletion docs/evidence/task-assignment-qualification.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The measured Linux wheel SHA-256 is
`b8141fd740b17282129a072802782182ff14971827514e427be87546c20ce469`.
All 231 Python modules match Git and the installed Linux builder. Its four
compiled UI files also match the independently built local bundle.
The [artifact declaration](../../addon-edge/artifact.json) records those exact bytes.
The [artifact declaration](https://github.com/vypdev/domus/blob/960431df0b682be6d97292837f11f9daf08faf12/addon-edge/artifact.json) records those exact bytes.

The ARM64 image is
`sha256:8d22fdce04f46fbd2567635e3f3d5a968f3788dc2d79efc8af1c0fd57aa78baf`.
Expand Down
8 changes: 4 additions & 4 deletions docs/evidence/task-navigation-integration.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"historicalTaskHead": "8c0a36c0b9804bdaf33a301a4dc85ae3dc12ee21",
"developParent": "5b7bdcdee3a9e98d6669bfd34ce750ae30a8c775",
"command": "pnpm build:frontend",
"scope": "Compiled household workspace with protected manual automation preview, saved revisions, explicit runs and scoped run history, daily schedule previews and inactive daily drafts, upcoming maintenance, due today, overdue, assigned and unclaimed task summaries, products below their replenishment minimum, outstanding shopping items, weekly Family participation, optional task base points, native deadline sensor integration, protected Pantry, shared Shopping, purchase sessions with an optional store, receipt corrections, physical returns, stock locations, transfers and original operation recovery in English and Spanish. Points-allocation cards inherit the shared raised surface in both color schemes. The Tasks workspace supports planned task assignment, state-permitted release, retained conflict selections and original assignment-request recovery.",
"scope": "Compiled household workspace with protected manual automation preview, saved revisions, explicit runs and scoped run history, daily schedule previews and inactive daily drafts, upcoming maintenance, due today, overdue, assigned and unclaimed task summaries, products below their replenishment minimum, outstanding shopping items, weekly Family participation, optional task base points, native deadline sensor integration, protected Pantry, shared Shopping, purchase sessions with an optional store, receipt corrections, physical returns, stock locations, transfers and original operation recovery in English and Spanish. Points-allocation cards inherit the shared raised surface in both color schemes. The Tasks workspace supports planned task assignment, state-permitted release, retained conflict selections and original assignment-request recovery. The Tasks workspace also confirms Start, Block and Unblock, retains a bounded blocking reason through explicit current-task review and recovers the original progress request.",
"actualProductFiles": {
".vite/manifest.json": "f4fdf822c622f2e96f1b01bf5c1cdbec895eb99b7fc118f8d4df54e4fd7d87b0",
"assets/index-BYTTreHd.js": "2eb864558eeff849ff8abb5aaab2409a1c6589ba3dc4d7cb09385ab9175fc001",
".vite/manifest.json": "5cc6cb5d72390640c8e281eba20c9ff8c782c7f5c6e103ff39a6257fde28b74b",
"assets/index-CjJnHZzV.css": "0f2c8c2e31576c0b64fe60373150f09390dafb896df6c07777b2a220ad430e48",
"index.html": "eb9cf14a75ac42e824649a406b7d388978547a14d2d712251b92663b6954532b"
"assets/index-lAPOs-kN.js": "1696cc56f023da1760f9147d175e64caa65baa08be89024a85761776b88b38ff",
"index.html": "c9110bf2ef5b3294a64e67513f27b7f5baee3a999344590d479c5b15ff95ac33"
},
"localValidation": {
"commit": "9a10d8114869be754962953903e773fe8e12c723",
Expand Down
Loading
Loading