Windows worker first-run onboarding: packaged setup dialog + working scarcity-worker.exe pair (v0.1.0 release blocker) #113
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
P1
P2
P3
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/scarcity-router#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem (observed on Windows 11, v0.1.0 candidate from
main @ a7ea86d)The Windows ZIP (
scarcity-worker-0.1.0-windows-x64.zip, GitHub candidate run35780744775) contains onlyscarcity-worker.exe. First launch prints:scarcity-router-workeris the Python console script and is NOT in the ZIP — the standalone product dead-ends (download → launch → told to pair → instructed command does not exist).docs/m10-acceptance.mdalready claims the Windows package "asks for pairing information in its first-run dialog"; that statement must become true.A second boundary: the worker-local adapter allowlist is intentionally worker-host authority (D-044); the server must never remotely grant itself access to local services, so enabling e.g. Ollama needs a small local configuration experience.
Product decision (owner)
Implement a compact first-run setup dialog — not a wizard, not a second application, no Electron/Qt/web stack. Smallest professional Windows UI compatible with the packaged tray app (stdlib/native preferred). Covers:
srws://SERVER:8790) + one-time code (from the server web UI Workers page; dialog offers an action to open that UI). Pairing code never persisted or logged. ReuseWorkerRuntime.pair()/WorkerLocalStore/WorkerOrigin— no second pairing implementation.build_local_adapter_registry/LoopbackOllamaAdaptersemantics — the GUI can never produce a non-loopback Ollama config. Windows-native Codex staysplatform_not_evidenced: not offered in the UI, docs state the Linux/WSL requirement.%LOCALAPPDATA%\scarcity-router) via the existing platform-state resolution; bounded, atomic, schema-validated, fail-closed on malformed config; extendingWorkerLocalStoreacceptable, no heavy migration.scarcity-worker.exe pair --server … --code …must work from PowerShell/cmd without Python, sharing the same pairing path;runflags stay compatible; one executable (no second console-script-named exe).Deliverables
docs/m10-acceptance.md, packaging comments; standalone instructions usescarcity-worker.exe, never the Python console script.main(entry routing, cancel semantics, real pairing path, code non-persistence, error mapping, CLI pair, instruction names, settings restart persistence, adapter registry reuse, pair-only validity, malformed-config fail-safe, CLI compatibility, tray regression, no secrets, no non-loopback exposure, no Windows-Codex advertisement).35780744775is not acceptable evidence after packaging changes).develop.Non-goals
No Electron/Qt/web UI, no new long-running process, no generic plugin configuration, no routing settings or provider credentials in the tray, no remote allowlist expansion, no MSIX/signing, no Windows-native Codex claim.