Repository navigation
feat(computer-use): add native desktop pet and confirmed privacy states - #5
Draft
EvilWeasel wants to merge 14 commits into
Draft
EvilWeasel wants to merge 14 commits into
EvilWeasel wants to merge 14 commits into
Conversation
Transplant the unchanged executable CI routing from 62a3ad1 / d0060e6 onto main 5fc96cf. Preserve the existing triggers, job names, checks, Action pins and bounded shared queue. Keep managed Copilot limitations explicit. The signed CD production proposal remains on its existing d835116 branch and is not included here. Source transfer and read-only API inventory only: no tests, builds, Boat resume, workflow run, push or policy/credential mutation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional native companion for Desktop Computer Use and parallel Crew agents. The pet follows the focused output, surfaces safe questions and completed answers, and distinguishes confirmed reading from voluntary looking away. This is the native half of Crew PR #106. Both remain drafts for coordinated delivery.
Behavior
weaselis the accepted slender character sudo. An optional fixed species ID follows Crew's existing avatar preference; a validated custom import wins and reset returns to that preference. The decoded startup catalog currently advertises only weasel/sudo. An explicit unavailable animal clears character artwork and reports a recoverable selection error without substituting a weasel or ending Computer Use. The other eleven animal packs remain undelivered.crew-pet.kdl; bootstrap creates an empty 0600 file only when absent. Existing files, symlinks and manual contents are preserved. Crew owns binding updates and its early single-instance toggle route.Validation
All builds, tests and desktop acceptance ran on Boat. No laptop test, installation or activation is included.
Current merge head
9d4f16d4e0bae4289a96b864e70ee3ccfe575b79integrates mainbd5c99326c5707a737ecb1b2df272ba375b5bbfc. The only conflict was parallel append-only learning-log entries; both are retained. Main's package/lockfile updates are inherited unchanged. Native/CU/Niri and executable workflow files remain byte-identical to the green8417f22head.For this update, both host drvPath evaluations passed on the existing Boat with
--no-write-lock-file --option eval-cache false, and the inherited lockfile stayed unchanged. The actual selected Actor and Indicator derivations and outputs exactly match the qualified8417f22packages listed below, so their existing package, test and runtime evidence is reused. No separate manual package build, function-test matrix or GUI run was repeated. All 68 relevant source hashes were independently verified before evaluation. All five normal CI jobs on9d4f16dhave now passed: push package, PR package, laptop evaluation, desktop evaluation and Copilot setup. Every job reports the exact head SHA, an actualci-weasel-os-*runner with labelboat, and a successful source/runner assertion. Both package jobs passed their build/test and tested-closure export steps. Both host jobs passed evaluation and lockfile preservation; their full-host build steps were skipped.The exported closure for
9d4f16dis available: 319,164,331 bytes, metadata digestsha256:ba95326af8bbb13307a651744735823ca0f8335528ffd8a53ea67a4cd201659c, expiry 2026-11-20. Artifact metadata and successful export/upload steps were verified; the archive was not downloaded or installed.Previous product-changing merge head
8417f22b7690e7649ec05076023886182adf9bb0integrates main43b18e771d6cf22f2fb828d8f5a06345e49165c4, including PR #6's observation-privacy fix. Five overlapping files were resolved by retaining upstream acquisition-phase serialization, restoration from the current read/release state, and failed-paint recovery, together with the feature's four-action/one-pointer batch limits and PetBridge/FocusProbe integration. Both the existing RPC comparison and the new acquisition regressions remain. The pet renderer, companion, catalog, artwork, Niri integration and workflow files are unchanged from6e57f44.On the existing Boat, both affected host drvPath evaluations and the two actual selected package builds passed. The Actor package passed 194 Core and four Pointer tests. The indicator package passed its strict C builds, motion/montage checks, 15 presentation cases, 26 Python cases and three focused reconnect/focus cases. Two additional targeted regressions passed under an isolated GTK/Xvfb display: phase acknowledgement waits for both phase and privacy drawing, and missing/late/wrong acknowledgements recover to confirmed idle. This is package and isolated draw evidence; no new desktop/E2E acceptance is inferred. The lockfile stayed unchanged. The packaged pet renderer and sudo PNG retain their previously qualified hashes.
Validation commands for the product-changing
8417f22integration, using Nix 2.34.9 on Boat (the two host-evaluation commands were also rerun for9d4f16d; the package build was reused):The GTK invocation used
WEASEL_FRAME_TEST=1 GDK_BACKEND=x11and a privately extracted Xvfb, runningtest_indicator.StatusDeadline.test_renderer_ack_follows_real_gtk_draw_and_invalidates_old_transitionsandtest_indicator.IndicatorLifecycle.test_missing_late_and_wrong_renderer_ack_are_rejected. No existing VM packages were upgraded for that fixture. Full commands, exit files and all 57 new original receipts were exported and individually hash-verified.All five normal checks passed on
8417f22. Both package jobs, Copilot setup and both host jobs usedci-weasel-os-*runners with labelboat, and their source/runner assertions passed. The previous6e57f44attempts failed before checkout because Boat's 200-start allowance was exhausted; those infrastructure failures remain historical, with no rerun or extra dispatch.The qualified
8417f22push package job and PR package job passed build/tests and tested-closure export. The complete push log confirms 194 Core tests, four Pointer tests, 26 Python cases and 15 presentation cases. Both host evaluations and Copilot setup passed. The host jobs evaluated the locked flake; their full-host build steps were skipped.The tested closure for
8417f22was uploaded successfully: 319,164,331 bytes, metadata digestsha256:0bedf9adf9d9cb296887ad4486620f8269befb52effadb319f5d15bd590722fe, expiry 2026-11-20. Artifact metadata and the export/upload steps were verified; the 319 MB archive was not downloaded or installed.The exact packaged atlas is byte-identical to the viewed 144px light/dark static composition. Questions and answers are visually distinct and no distracting alpha noise was observed. This is static asset evidence; the new sudo player's temporal behavior and real user-thread question/answer/continuation recording are still open.
Existing runtime evidence is retained with its original pins:
Original commands, full logs/exits, source/package hashes and the static matte are retained in the signed private handoff. All five normal checks on the current
9d4f16dhead passed on Boat. The separate player/real-user-work gates remain open. No extra dispatch was made.Integration and remaining delivery
The branch includes the reviewed signed Boat-only CI prerequisite d99f307. Its executable workflow blobs are unchanged. All jobs route to Boat; there is no new workflow/CD implementation or system activation.
configure.preferredSpecies,ready.capabilities.builtinPetsandstate.characterrequire the paired updated Crew decoder; old strict Crew peers are not claimed compatible. Only sudo is available so far. The eleven other species, actual finite-player/real-thread answer-and-continuation acceptance, multi-monitor runtime qualification and an in-Crew provider generation/import flow remain open. The creation button opens a real agent draft; that alone is not a generated/imported-pet success.No main push, merge, release, credential transfer or installation is included.