Everyday add-ons

Decision: 2026-11-10 #62. This design extends the merged satellite safety fixes.

Trust and execution

Discovery defaults to the signed Starchaser list. The included catalog remains usable offline. An unavailable online list never becomes an unsigned official list. Removals use the independent official signed feed, including for link installs and managed accounts. Only the feed that imposed a block can lift it.

Use one code detector at every install, update, enable, and execution gate. Unknown entries fail closed. Before installation show the author, source, executable content, and requested access. Reviewed means that a person read the exact pinned version; it does not grant more access or prove the author's identity.

Split execution policy and list transport into standard-library modules beside the CLI. Code defaults to a Bubblewrap sandbox: private temporary files, no account files, no session bus, no network, read-only programs and add-on files, and only its own data and narrow runtime mailbox writable. Never fall back if the sandbox is missing or fails. Desktop QML needs the Wayland socket; that permits windows and is disclosed. Hardware and session information arrive through typed snapshots written by the trusted host. Explicit full access is an author choice shown in red before install; it cannot update automatically. Restricted HTTPS requests use a broker with exact declared hosts, no cross-host redirects or ambient credentials, and strict time and size limits. Code that needs other network protocols must request full access. Never describe its host list as enforced in that mode. System programs available inside the sandbox are disclosed as such; the run list is descriptive, not a program allowlist. Secrets are never broadcast into snapshots.

Lifecycle

Check weekly in the background, record update counts, and notify once per changed set. Automatic updates are optional and limited to signed, reviewed commits from the same repository, with no new access, kinds, or code. Keep the previous folder for undo. Revalidate removals at apply and undo. Remove records off first and puts its folder in a seven-day trash; Undo restores it off. Purge is permanent and explicitly says so. Three unexpected cockpit exits in five minutes enter safe mode. Normal refresh and sign-out do not count.

A managed policy is root-owned and read-only to the account. It supports reviewed-only, blocked ids, and desired first-party ids. Mission Control uses its existing authenticated device command channel to apply these policies; no add-on controls fleet credentials. Backup includes manifests, pinned sources, state and each add-on's data. Migration imports state with everything off, then rechecks code and removals before enabling anything.

Reviewed-only policy authenticates the official cached list with the system keyring and matches the repository, id and exact commit, checking the pinned files at execution as well as enable. Compare file bytes, link targets, and executable modes directly with the pinned Git tree, ignoring replacement refs. Enumerate all files outside the root Git metadata, including ignored files. Git status, index flags, stat caches and filters cannot establish that code is unchanged. Account-owned review/source labels are display text, not policy evidence. Included status comes from the actual included folder. Mission Control invokes the root-owned Python policy helper with the system interpreter because packaging installs Python modules without executable permission. For imported plain themes, regenerate Starchaser's additional files from the authenticated committed source and compare their exact contents too. Their Git ignore rules grant no exemption to new code or modified metadata.

Surfaces and SDK

Keep Satellites in titles and use add-on in sentences. Group discovery into Themes, Taskbar, Today, Menu, Other. Hide commits and repository plumbing under Technical details. Details leads with actions: settings, shortcut, software dependencies, activity, author help, unsafe report, undo, remove. Controls expose accessible names and support Tab, Return, Space and Escape without moving the pointer.

Taskbar messages may supply a short icon, a palette role and scroll/right-click events; the trusted taskbar keeps the safety/settings actions. Add further surfaces as declarative data rendered by Starchaser, never load third-party QML in the cockpit, menu, lock screen or Files. Search results, quick-setting tiles, desktop and lock widgets, and file actions all run through the same enabled-state execution gate. Lock widgets permit only declarative text, no commands, private data, or input while locked.

Typed Battery, Network, Media, Workspaces, Weather and Calendar data use a single host snapshot with capability filtering; SDK consumers watch files instead of spawning shell pollers. A scoped secrets request needs explicit consent and a broker, not a general keyring dump. Keep Data for compatibility but document providers first.

Restricted processes receive a read-only directory containing only public theme colors, dark/light mode, text scale, high contrast, clock format and reduced-motion settings. The host replaces these projected files atomically; mounting their parent directory lets existing SDK FileViews see live changes without exposing account config folders. All add-on commands receive their own runtime mailbox. The request host stays available for every enabled add-on, including menu-only add-ons with no background process of their own. Requests still recheck enabled state and access.

Ship 18 useful add-ons including the existing seconds clock: a resource meter, date and agenda, world clocks, focus timer, stopwatch, checklist, scratchpad, calculator, unit converter, password generator, disk meter, battery health, network addresses, and three complete color themes. Each has instructions and a preview. Keep all first- party content included so it is usable before the lead publishes the signed online list. Included entries update with the OS; external entries require exact commits and signed review metadata.

publish accepts only the repository root, with a committed root satellite.toml matching the install layout. It validates without running author code, writes a draft entry and opens a submission URL on request. starchaser://satellites/install?source=… opens a review sheet; it never installs directly. Software dependencies use Software's authenticated installer, never a shell command from an add-on. Submission requires screenshots for its visible surfaces, tests, license, declared access and author support. Signing tooling only writes local artifacts. Development uses isolated generated test keys. The lead alone uploads and signs production releases.

Verification

Regression tests must fail on the pre-change tree. Cover absent sandbox, denied account files and network, permission escalation, unsigned/rollback lists, remove and update undo, stale requests, managed policy, typed provider filtering, protocol parsing, and each first-party add-on's useful behavior. Run the full test runner once. Reserve a free VM, sync with smoke, install and use several add-ons by keyboard, save screenshots, and release it. Never run setup or QML on the development host.

Compatibility boundary

Restricted mode, typed providers, scoped sign-ins, search access, selected files, and new declarative surfaces require manifest API 2. API 1 hosts already refuse a manifest whose API is newer than they support; this is the dependable way to keep an older host from ignoring a sandbox declaration. API 1 add-ons remain compatible and are labeled Full access. New creator templates and the included everyday gallery use API 2. An explicit new capability in an API 1 manifest is a validation error, even on a new host, so authors cannot accidentally promise a boundary an older host would ignore. This does not change the QML import version (Starchaser.Satellite 1.0).