Repository navigation
feat(computers): create bots and schedules on any linked computer - #176
Merged
Merged
Conversation
nixuuu
force-pushed
the
feat/linked-shared-config-7
branch
from
November 5, 2026 14:43
a07d1f6 to
72e8145
Compare
nixuuu
marked this pull request as ready for review
November 5, 2026 14:44
nixuuu
added a commit
that referenced
this pull request
Nov 5, 2026
Linked computers now show the real provider status of each other's workers, and no longer report equal shared settings as conflicts. **1. A remote worker's instance status was dropped** (introduced by #176) On each Mac, the other computer's worker showed only "Available", with no auth, version or connection details. So each Mac looked as if the other used the device login, though both used the proxy. - **Fix:** overview snapshots and updates carry the home worker's report: auth kind, CLI version, effective connection kind (with per-worker overrides) and check time. - **Older peer:** a peer that does not send the report gets an explicit "unavailable" status instead. **2. Conflicts were recorded for equal values** (introduced by #164) Conflict detection compared stored representations: - re-encrypted secrets, whose ciphertext differs on each computer; - proxy aliases; - defaults versus explicit values. So almost every field looked different. It now compares effective values: the secret plaintext inside the gateway, canonical proxy aliases and effective defaults. HLC ordering is unchanged, and a reused clock with a different value is still rejected. **3. Stale notices stayed open** (introduced by #157) Notices whose values have converged are now dismissed automatically, including stored legacy notices and after a restart. Real conflicts keep Restore and Dismiss. No migration is needed. **Tests:** 8 new regression tests across two linked gateways: - remote provider rows on both sides; - identical encrypted values give no notice; - a real divergent edit gives exactly one notice; - convergence clears notices, also after a restart; - version skew and clock ties. `check:tmp`: 1406 passed, 0 failed. **Checked** in a browser with two linked gateways: light and dark, desktop, narrow and phone width, with long names, real conflict notices and automatic clearing. **Copy audit (§8):** explicit unknown states, sentence case, no duplicated "Proxy" label, and no meaning carried by colour alone. **After updating both Macs:** both provider rows should show Proxy with auth, version and check time, and the equal stale notices should disappear. `native` stays the instance id; "Proxy" names its connection. Fixes: #176 Fixes: #164 Fixes: #157
This was referenced Nov 13, 2026
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.
Stage 7 of 7, the last stage of shared configuration across linked computers. The design is in
docs/linked-computers.md, which now marks the plan as done.proxy_idis translated through aliases. Worker-scoped proxies never leave their home.No migration. Additive RPCs:
GetInstanceWorker,GetWorkerEnvironment,SetWorkerEnvironmentOverride, plus fields for worker identity, inherited runtime, environment overrides, revision and library version hashes.Tests: 93 integration tests across 12 files, including:
Copy audit (
docs/copy.md§8): "Linked computers set their own overrides" is replaced by direct editing at the worker's home. Terms, actions and error recovery were checked, and long names wrap correctly.