shell: app-side-shell — the operator app's Welcome, both homes, and logs #28
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#28
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?
Parent
Feature spec: #22 (shell).
What to build
The operator app's resting root — the seat on the operator's own machine that founds, break-glass-rescues, and (more lightly) helps run a community. It gates the app-hosted entries of founding and device-add, so it must exist before those journeys can begin. Four resting screens: Welcome (
shell-w-welcome.html), Operator home (shell-ho-operator-home.html), Device home (shell-hd-device-home.html), and the logs viewer (shell-a5-logs-viewer.html).On a seat with no community configured, the app rests at Welcome with exactly two entry actions — "Create a community" and "Join with a code" — and nothing else (ADR 0018: the entry choice lives on Welcome, not a home). Choosing "Create a community" begins founding's journey (edge W → P1-S1); "Join with a code" begins device-add's app-side join (edge W → P3-S2). On a seat that already administers a community (ADR 0019), the app rests at Operator home (HO): community name and portal URL, a healthy status pill, "Open dashboard" as the visually dominant action (edge HO → DN, ADR 0011 — everyday administration lives on the dashboard), the standing rescue material (config replica synced, operator key active) present but quiet while healthy, and any local VM's lifecycle. On a machine that merely helps, the app rests at the lighter Device home (HD): which community it helps run, its role and running services as read-only rows (name, plain state, last incident), and the local VM lifecycle as the one genuinely local act (manage: start/stop/resize/remove) — managing services stays in the dashboard.
The logs viewer (A5) is the escalation path reachable from every surface (ADR 0027): the operation log with filter/search and a "Download bundle" that produces one shareable bundle for a remote helper, with secrets never entering logs by construction — but never the primary diagnostic the operator must read (the plain-language surfaces are; the P1 persona promise stands). This slice also establishes the cross-cutting never-empty rule (DDR 0095): every resting list shell frames opens with founding's row so "empty" is always rendered as "here is what exists, here is the next move".
Acceptance criteria
Blocked by
Task manifest
Done in commit
47e019f.Built the operator app's resting root at
app/— the first Vue in the repo — against the four shell wireframes.Screens (each a
<script setup>SFC, on the data-field/data-action/data-status contract):LogEntryhas a closed, non-secret field set).Navigator(shell has no orchestrator, ADR 0097).Never-empty rule (DDR 0095): established as a cross-cutting primitive
frameRestingListin the shared UI kit, for the list-shell slices (Fleet/codes/Members) to consume — those specific list screens are out of this slice.Seam (component tests, Electron/Vue, against fakes):
FakeSeatSource+FakeNavigator; 35 app tests (app/tests/unit/*) + the UI-kit primitive test, all green.vue-tscbuild andeslint(with the newly-addedeslint-plugin-vue) both clean.Tooling wired: Vue 3,
@vue/test-utils, happy-dom, sass, thesrc/*alias,vue-tscbuild,eslint-plugin-vue(both lockfiles synced).Left to their own slices (out of scope): app-update strip (#30), HOx unreachable (#38), codes-ledger contents (#36), the VM-manage screen.
Evidence:
app/src/components/shell/*.vue,app/src/lib/{seat,navigation,logs}.ts,app/tests/unit/*,packages/ui-kit/src/neverEmpty.ts. STATUS.md,docs/slices/shell.yaml(status: done) andmap.htmlupdated in the same commit.idss-rental-expires-tag on a LIVE rental once the broker actually deploys (#741's broker half is merged but not installed) #745