Skip to content

feat: Assign and release household tasks from the Tasks workspace (#141) - #142

Merged
efraespada merged 7 commits into
developfrom
feature/141-assign-and-release-household-tasks-from-the-tasks-workspace
Nov 19, 2026
Merged

efraespada merged 7 commits into
developfrom
feature/141-assign-and-release-household-tasks-from-the-tasks-workspace

Conversation

@efraespada

@efraespada efraespada commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Household task managers can distribute planned work, replace assignees and release eligible tasks from Tasks. A competing update retains the selected people for explicit review, and an interrupted response can be recovered through its original request.

Closes #141

What changed

  • Add named, active household-member selection with published @vypdev/ha-ui@0.1.0-next.2 checkboxes, current server-derived assignment actions and the bounded task journal.
  • Bind assignment saves and receipts to canonical member identities and the selected revision. Distinguish unavailable choices from revoked authority and require deliberate conflict review.
  • Admit task.assign through the protected original-request query and both typed OpenAPI projections. Record the nine-case acceptance matrix. Qualification
  • Correct the valid review finding about unchanged assignments. Save requires a different canonical member set, with English and Spanish guidance. Selecting the same members in another order retains that guard, including after explicit conflict review.
  • Pin Edge.49 to runtime 0a95702a5f53911cc12c645bf7f6f2e8dcd626cd, archive SHA-256 0fcb5041bdb95712545b0deb6aec3ed2d8f545289cd034537f0d70ae78a71989 and measured Linux wheel SHA-256 b8141fd740b17282129a072802782182ff14971827514e427be87546c20ce469. All 231 Python and four UI file hashes are measured. The package uses storage schema 34.
  • Require 60 actual-image browser journeys per CPU. Budget the 115-journey source suite for 10 minutes and its shared-runner job for 25 minutes after the earlier 450-second campaign timed out.

Validation

  • Frontend 1,840 cases, strict TypeScript and independent source audit pass, with every supported coverage metric at 100% globally and per authored file. Seven regressions first reproduced the unchanged-selection defect.
  • Backend 5,513 cases pass with 100% statement and branch coverage across 231 modules, independently audited per file. The Edge.49 builder, wheel and Git source match every Python module. Current-authority and original-recovery regressions cover both HTTP compositions.
  • All four strengthened compiled assignment journeys pass against source and the exact ARM64 Edge.49 image, with English keyboard and Spanish 390 px native touch. They also cover competing revisions, lost responses, restart, actual performer attribution and historical restoration.
  • Nine pinned Edge.49 image cases pass in 104.58 seconds, including exact bytes, native authority and restart, private standalone delivery, Edge.5 upgrade and restore, repeated SIGTERM and all four real-Core compositions.
  • All ten CI suites pass on final package commit 960431df0b682be6d97292837f11f9daf08faf12. This includes 115 compiled source journeys, 45 catalog journeys, 50 container cases and 60 actual-image browser journeys for each CPU. Both real-Core reports cover all 581 statements and 136 branches at 100% across ten authored integration modules.
  • Home Assistant verified installed Edge.49 in the existing temporary app. Both original task identities and revisions survived the upgrade. English keyboard and Spanish native touch verify the unchanged-selection guard, cancellation, replacement and release. A two-tab conflict where the competing result equals the retained draft requires explicit review and keeps Save disabled. Light and dark views are legible. A controlled stop reached Detenido. Restart preserved the original task identities at desktop revision 8 and mobile revision 6. Saved-request recovery returned the original assignment operation. The final controlled stop reached Detenido. The temporary app, its synthetic household and two tasks, its issue source and the locally encrypted Edge.48 rollback backup created during upgrade were removed after fresh action-time confirmation. The earlier Edge.46 and Edge.47 QA apps, four synthetic tasks and their sources were also removed. The original four Domus sources remain.
  • All ten CI suites pass on package commit 960431df0b682be6d97292837f11f9daf08faf12, including both image architectures and their 60 actual-image journeys. Branch Sync, Commit, Verification and native Review pass for that commit. All 16 checks were successful with zero review threads before ordinary merge. PR feat: Assign and release household tasks from the Tasks workspace (#141) #142 merged as 50ddb2d60de4b4a53970ecdde70eb746ade38d30 with the exact reviewed tree. Issue ✨ - Assign and release household tasks from the Tasks workspace #141 is closed at 100%. Destination Branch Sync passes. Destination CI and Branch Sync both pass on that exact merge commit. Current CI

Review notes

The selected SDD was published at 2f08cc89d91749d8a07d9870c9133bd25aa21553. An older issue event later declared that exact commit absent from the linked branch and replaced its working labels. GitHub ref and compare reads and the published SDK verify the retained publication. The maintainer's authorized Copilot-defect exception applies to this recorded false absence. Upstream recurrence, consumer record

The first ready-for-review execution failed with an opaque agent.failed diagnostic. Its retry completed all four partitions and retained the valid unchanged-assignment finding, which is corrected in the Edge.49 runtime. Native review on the final package commit passes and marks the finding fixed. Execution report, retained finding

Shared-runner execution correction

An earlier local browser repetition omitted the shared domus-ci-entry-browser.lock and occupied a port while the old ARM64 CI campaign started. This caused that historical campaign to fail. The local command was corrected to acquire /usr/bin/lockf -k -t 600 /tmp/domus-ci-entry-browser.lock for subsequent campaigns. Both architecture suites pass on the final package commit.

@docs-page

docs-page Bot commented Nov 19, 2026

Copy link
Copy Markdown

To preview the documentation for this pull request, visit the following URL:

docs.page/vypdev/domus~142

Documentation is deployed and generated using docs.page

@vypbot vypbot added the state:ai-processing A Copilot agent is analyzing or working on the issue or change. label Nov 19, 2026
@vypbot vypbot changed the title Manage planned task assignees and recover original assignments feat: Assign and release household tasks from the Tasks workspace (#141) Nov 19, 2026
@vypbot
vypbot self-requested a review November 19, 2026 05:27
@vypbot vypbot added this to vypdev Nov 19, 2026
@vypbot vypbot moved this to In Progress in vypdev Nov 19, 2026
@vypbot
vypbot changed the base branch from develop to master November 19, 2026 05:28
@vypbot vypbot added the size: XXL Label to indicate a task of size XXL label Nov 19, 2026
@efraespada efraespada linked an issue Nov 19, 2026 that may be closed by this pull request
1 task done
@vypbot
vypbot changed the base branch from master to develop November 19, 2026 05:28
@vypbot vypbot added 85% Progress: 85% state:reviewing A pull request is being reviewed. 75% Progress: 75% and removed state:ai-processing A Copilot agent is analyzing or working on the issue or change. 85% Progress: 85% labels Nov 19, 2026
@efraespada

efraespada commented Nov 19, 2026 •

Copy link
Copy Markdown
Member Author

Edge.48 acceptance and CI follow-up

The installed 0.0.0-edge.48 candidate passed on Home Assistant in Chrome. English keyboard input covered assignment, first-choice focus, two competing updates, retained draft, focused current-assignment review and deliberate release. Spanish 390 px native touch covered assignment, cancellation, release and reassignment. Both original task identities persisted after a controlled stop and restart, with desktop revision 5 available and mobile revision 4 assigned. The saved assignment recovered operation domus_hC9rpIYMlAtSEPXi4uFOPLIZOZTCmu4k. Home Assistant showed Detenido after both controlled stops. Permanent removal of the temporary installation and its source awaits action-time confirmation.

The prior CI at 71cf53c480865279cb76dde281b043abae3a577a passed backend, frontend and their coverage audits. Its amd64 image campaign passed 59 journeys and exposed a race in the new standalone Spanish test. The trace shows locale selection during the authentication bootstrap, followed by English navigation and a wait for Tareas. Commit 9f2d2588e1ba829a7b4d1b9b1917cc5ed703e56b waits for authenticated navigation before selecting the locale. The four assignment journeys then passed three repetitions against the exact pinned Edge.48 image in 1.7 minutes, with the original per-case limit.

The prior ARM64 browser step also collided with an overlapping local browser fixture because that local invocation omitted the CI lock. That local campaign has finished and both fixture ports are free. Subsequent local browser campaigns use the same lockf lock as CI. The current exact-head CI reruns both CPU families.

The immutable Edge.48 runtime remains 95fff8ab5ff0a5a85872596447c314e365813d1b, with archive SHA-256 c1b43ec66442834ca7f2093660ab6700ddc18dd31496ef982c0df564305faa5f and wheel SHA-256 498b3840ca22370da8a77822027d3332240e9c0d4e5827dcad8b7e122b329bfb. All product Python and UI bytes remain equal to that qualified source. The new commit contains the browser-test readiness assertion, Edge README and acceptance evidence.

Current-head CI, review and destination verification are still pending. Qualification, prior CI, current CI

Copilot review execution

The ready-for-review attempt failed in generated-source candidate verification after three bounded attempts for partition 1. Partitions 2 through 4 completed. The final public diagnostic is agent.failed, reference 676b829d-e704-43f2-819c-82ec9572394f, with an admitted process exiting 1 and an unclassified terminal cause. Review threads and submitted reviews are empty. The automated review remains incomplete. Failed review run

The occurrence is recorded on the existing upstream report and one unchanged-head retry is running. The maintainer-authorized Copilot execution exception applies if this retry remains blocked, subject to all exact-head product checks passing and contributor review addressing every valid finding. Branch Sync, Commit and Verification already succeeded. Upstream report

Edge.49 correction and qualification

The retry completed all four review partitions and retained the valid unchanged-assignment finding. Seven component regressions reproduced the issue before correction. Runtime source 0a95702a5f53911cc12c645bf7f6f2e8dcd626cd compares canonical member sets, guards both the Save button and form submission, and explains unchanged selections in English and Spanish. Selecting the same members in another order and reviewing a competing update that already applied the draft both retain the guard.

The corrected source passes 1,840 frontend cases with every supported metric at 100% globally and per authored file. All four strengthened compiled journeys pass against source and the measured Edge.49 image. Nine pinned-image cases pass in 104.58 seconds and the four actual-image browser journeys pass in 43.4 seconds. Git, the Linux builder and the wheel agree on all 231 Python files and four compiled UI files.

Package commit 960431df0b682be6d97292837f11f9daf08faf12 pins Edge.49 to source archive SHA-256 0fcb5041bdb95712545b0deb6aec3ed2d8f545289cd034537f0d70ae78a71989, wheel SHA-256 b8141fd740b17282129a072802782182ff14971827514e427be87546c20ce469 and ARM64 image sha256:8d22fdce04f46fbd2567635e3f3d5a968f3788dc2d79efc8af1c0fd57aa78baf. Branch Sync and Verification already passed for that commit. The preceding 9f2d258 CI passed every suite in both CPU families. Final CI reruns on the package commit while the existing temporary Home Assistant installation is updated and checked with its original two synthetic tasks. The PR is draft during this acceptance. Current CI, qualification

@efraespada
efraespada marked this pull request as ready for review November 19, 2026 06:10
@vypbot vypbot added state:ai-processing A Copilot agent is analyzing or working on the issue or change. 85% Progress: 85% state:blocked The workflow is blocked and needs human input. state:awaiting-maintainer The next action requires a maintainer response or approval. and removed 75% Progress: 75% state:reviewing A pull request is being reviewed. state:ai-processing A Copilot agent is analyzing or working on the issue or change. labels Nov 19, 2026
@vypbot vypbot added state:changes-requested Review identified changes that are required. state:awaiting-issue-author The next action requires more information or changes from the issue author. and removed state:ai-processing A Copilot agent is analyzing or working on the issue or change. labels Nov 19, 2026
@efraespada
efraespada marked this pull request as draft November 19, 2026 06:38
@vypbot vypbot added state:ai-processing A Copilot agent is analyzing or working on the issue or change. state:reviewing A pull request is being reviewed. and removed state:changes-requested Review identified changes that are required. state:awaiting-issue-author The next action requires more information or changes from the issue author. state:ai-processing A Copilot agent is analyzing or working on the issue or change. labels Nov 19, 2026
@vypbot vypbot added state:ai-processing A Copilot agent is analyzing or working on the issue or change. 90% Progress: 90% and removed state:ai-processing A Copilot agent is analyzing or working on the issue or change. 85% Progress: 85% labels Nov 19, 2026
@efraespada
efraespada marked this pull request as ready for review November 19, 2026 07:45
@vypbot vypbot added state:ai-processing A Copilot agent is analyzing or working on the issue or change. state:ready The change is ready for human approval or merge. state:awaiting-maintainer The next action requires a maintainer response or approval. and removed state:reviewing A pull request is being reviewed. state:ai-processing A Copilot agent is analyzing or working on the issue or change. labels Nov 19, 2026
@efraespada
efraespada merged commit 50ddb2d into develop Nov 19, 2026
16 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in vypdev Nov 19, 2026
@vypbot vypbot added state:verified The change has passed Copilot verification. and removed state:ready The change is ready for human approval or merge. state:awaiting-maintainer The next action requires a maintainer response or approval. labels Nov 19, 2026
@efraespada

Copy link
Copy Markdown
Member Author

Destination verification and installed acceptance

PR #142 merged normally into develop as 50ddb2d60de4b4a53970ecdde70eb746ade38d30. Its tree 480913a93a3fd4818109c2134d5a4a9d49601751 exactly matches reviewed head 960431df0b682be6d97292837f11f9daf08faf12. All 16 applicable checks passed on that reviewed head with zero review threads. Native review marks the unchanged-assignment finding fixed.

Destination CI passes, including both CPU container and actual-image browser suites. Destination Branch Sync passes on the same merge commit. Issue #141 is closed at 100%. CI, Branch Sync

Installed Edge.49 passed English keyboard and Spanish 390 px touch assignment journeys, unchanged-selection guards, cancellation, replacement, release, two-tab conflict review and light/dark legibility. Upgrading the existing QA installation preserved both original task identities. After stop and restart, the desktop task retained assigned revision 8 and the mobile task assigned revision 6. Saved-request recovery returned its original assignment operation. The final controlled stop reached Home Assistant's Detenido state. Nine isolated pinned-image cases separately require explicit cleanup and zero process exit.

Fresh action-time confirmation authorized removal of the upgraded Edge.49 installation and the locally encrypted Edge.48 rollback backup created during update. Cleanup removed the three owned Edge.46, Edge.47 and Edge.49 QA apps, their three synthetic households, six test tasks and three issue sources. The owned 50.53 MB backup dcea32a3 was removed. Home Assistant shows its original four Domus sources, fourteen installed apps and six app-update backups.

The local current Edge.49 image and one-generation Edge.48 rollback remain pinned with their verified source archives and wheels. Completed test fixtures, downloaded browser profiles, old Edge.46/47 images, stopped wheel containers and unused builder tags were retired with protected source and evidence hashes rechecked.

An earlier local browser campaign omitted the shared browser lock and collided with the historical ARM64 CI campaign. Subsequent local browser commands acquire the shared lock. The final reviewed head and destination commit both pass the complete architecture suites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

90% Progress: 90% size: XXL Label to indicate a task of size XXL state:verified The change has passed Copilot verification.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

✨ - Assign and release household tasks from the Tasks workspace

2 participants