Expand description
Person ≠ machine ≠ OS-account identity plane.
§Model
| Principal | Meaning | Portable? |
|---|---|---|
| Person | Natural-person principal who controls Webizen | Yes — import/export across machines |
| Device (apparatus) | One install of Qualia on one machine | No — unique per install |
| OS account | Windows/macOS/Linux login | Not used as identity |
A person may run Qualia on several devices. Jobs may name a target
device_id; work runs locally only when the target is this apparatus
(or unspecified). Remote dispatch is fail-closed until a live transport
is wired — fleet registration still records peer devices for placement.
Secrets stay in app meta (person_identity.json, node_identity.json,
device_fleet.json). Public snapshots never include private keys.
Re-exports§
pub use fleet_jobs::accept_fleet_job_envelope;pub use fleet_jobs::deliver_or_queue_remote_job;pub use fleet_jobs::list_remote_outbox;pub use fleet_jobs::FleetJobEnvelope;pub use fleet_jobs::RemoteOutboxEntry;
Modules§
- fleet_
jobs - Multi-apparatus job delivery: sign, POST, accept, outbox.
Structs§
- Device
Capabilities - What this apparatus can accept for placement (honest flags, not marketing).
- Device
Record - Full device record (no private keys — node secrets stay in
node_identity.json). - Identity
Plane Snapshot - UI/API snapshot: person public half + devices (no secrets).
- Person
Principal - On-disk person principal (secret material).
- Person
Public - Public half of a person principal (safe to show in UI / share with peers).
- Person
Transfer Bundle - Portable bundle for installing the same person on another machine.
Enums§
- JobPlacement
- Where a job should run relative to this process.
Functions§
- ensure_
local_ apparatus - Ensure person + local apparatus + fleet entry exist.
- export_
person_ public - export_
person_ transfer_ bundle - Full person secret for multi-machine install. Caller must treat as recovery material.
- get_
identity_ plane - import_
person_ transfer_ bundle - Import person principal onto this machine, then re-bind local apparatus under them.
- list_
devices - register_
remote_ device - Register another apparatus (peer / second PC) for fleet awareness and job targeting.
- resolve_
job_ placement - set_
local_ control_ base_ url - Update this apparatus’ advertised control URL (LAN/VPN base for fleet jobs).
- sync_
local_ device_ context
Type Aliases§
- Device
Record Public - Public view (identical fields today; kept separate for API stability).