Filtered to Version 0.19.0
Read at · spec at f2a44b1
Every repository's revision read
- brand@d3b33a6
- integration-home-assistant@038b2a8
- integration-mcp@0575fee
- lemonfiber@e6d31ac
- lemonfiber-companion@872e3bd
- lemonfiber-decline@7a7b105
- lemonfiber-media-stack@1699ac3
- lemonfiber-plugins@3bbca71
- lemonfiber-request-gate@bcdce44
- lemonfiber-web@651f4f8
- plugin-jellyfin@6f2173b
- sdk-php@f2041e5
- sdk-python@958bc0e
- sdk-ts@114534e
- spec@f2a44b1
- tool-lfdev@8363670
0.19.037 goals
lemonfiber
- ARCH-R279▲ unmarkedClaim it
The artefact MUST publish the notification kinds as a closed union, problem, completion, update, backup, request and member, and every alert event MUST carry exactly one as notification beside its event kind: problem for every condition at warning or worse, at onset and resolution; completion for work the operator asked for finishing; update for an update to the stack or lemonfiber being available; backup for a backup that succeeded; request for a household member's request newly waiting on the operator; and member for an invitation accepted, declined or lapsed. request and member alerts MUST ride the operator's stream and wake only endpoints an operator session registered, and MUST NOT reach a member's stream; the core MUST NOT raise an alert addressed to a household member (B5-R1).
lemonfiber-companion
- G2-R14▲ unmarkedArea GClaim it
The names lemonfiber gives its own things — the words that also name a file, a command or an argument — MUST be declared, and every locale MUST render a declared name as declared and translate only the text around it.
- N27-R26○ openArea NClaim it
Each stack's section of the notification page MUST offer the lowest severity of problem that may reach the phone from that stack, and a problem below it MUST NOT be notified; the floor MUST be kept on the phone and MUST NOT be sent to the stack, which still raises every alert (N4-R11, ARCH-R279). Until the operator sets one, every problem the stack raises MUST reach the phone.
- N4-R25▲ unmarkedArea NClaim it
The app MUST NOT use Apple's or Google's push service, or any service able to read a notification; it MUST raise each notification locally, from its own pinned connection to the stack, while it runs and when the platform wakes it for background refresh, and on waking MUST notify what the stack raised since it last listened (ARCH-R281).
- N4-R26○ openArea NClaim it
On Android, where a UnifiedPush distributor is installed, the app MUST offer waking through it, MUST register the endpoint the distributor gives with each stack the operator turns it on for and remove it when turned off or the stack is removed (ARCH-R282), and MUST treat a push as a wake only, reading what to notify over its own connection.
- N4-R27▲ unmarkedArea NClaim it
Where the operator turns notifications on, the app MUST say that while it is closed it hears a stack only when the platform wakes it, and so may notify late or not at all, on iOS and on Android without a UnifiedPush distributor.
- N4-R29○ openArea NClaim it
Waking through UnifiedPush MUST be turned on stack by stack, on that stack's settings, and MUST be registered under the name this phone's key carries on that stack (N29), with a WebPush key pair made on the phone for that stack alone and deleted with the stack or when waking is turned off; where more than one distributor is installed, the operator MUST choose which, once, and MUST be able to change it (ARCH-R282).
- N4-R30○ openArea NClaim it
Waking turned off while the stack cannot be reached MUST stop at once, the removal MUST be sent the next time the phone reaches that stack, and the app MUST say that the stack holds the endpoint until then. A stack removed from the phone while it cannot be reached MUST NOT have its removal kept (N27-R11), and the app MUST say, as it removes the stack, that the stack holds the endpoint until it is removed there.
- N30-R4○ openArea NClaim it
Storage MUST show the stack's offer of what costs nothing to remove, by category with each one's size, MUST make each category its own agreement with none selected, and MUST NOT offer media, anything seeding or anything left alone (N12-R4, N12-R5, D5-R5).
- N30-R5○ openArea NClaim it
Agreeing to a category MUST send space with the offer's name and that category alone (ARCH-R289), and MUST say what came back; an offer that moved MUST be read and shown again with nothing removed (ARCH-R142).
- N30-R9▲ unmarkedArea NClaim it
A refusal of any of the three MUST be drawn as a refusal with the stack's remedy, never as an empty or unchanged screen (G4-R16).
- N30-R12○ openArea NClaim it
A category MUST be agreed to through one confirmation naming the category, its size, how many files it holds and that it cannot be undone; what came back MUST be said as the room returned and how many items went, with each item left behind and the stack's reason for it, and MUST NOT name a path (N12-R6).
lemonfiber-web
- G10-R4▲ unmarkedArea GClaim it
A member MUST be able to see their own requests, ask for something, see what the household holds, and play it.
- G10-R7▲ unmarkedArea GClaim it
Where the media server cannot be reached, playback MUST be declined with the reason, and MUST NOT be queued or shown as buffering.
- G10-R8▲ unmarkedArea GClaim it
The player MUST NOT implement request, approval or allowance logic of its own.
- G10-R12▲ unmarkedArea GClaim it
Where the household reaches a service that faces them, the surface MUST be able to hand them its address, whether or not that service is the front door.
- G10-R13▲ unmarkedArea GClaim it
Where a service a member is handed to cannot be reached from where they are, the surface MUST say so, and MUST NOT present an address it knows will not answer.
Not in any tracker yet
- K2-R3○ openArea KClaim it
Every critical service MUST have a live monitor, and every household-facing entry point MUST have one.
- K2-R4○ openArea KClaim it
Jobs expected to run on a schedule MUST be watched by heartbeat checks, and a missed check-in MUST itself raise an alarm.
- K2-R5○ openArea KClaim it
The tool MUST assert that each critical service and entry point has a monitor that is actively checking, not merely defined.
- K2-R7○ openArea KClaim it
Where the monitor lacks a stable configuration API, the tool MUST provision it through a supported mechanism and MUST state the limitation rather than implying an API exists.
- K2-R8○ openArea KClaim it
An unreachable monitor MUST be reported as blind coverage and MUST NOT be rendered as all-clear.
- K2-R10○ openArea KClaim it
An intentionally stopped service MUST be treated as expected-down and MUST NOT raise an outage alarm.
- K2-R12○ openArea KClaim it
An entry point MUST be monitored over the path the household actually uses, and internal reachability MUST NOT be reported as household reachability.
- K2-R15○ openArea KClaim it
Where a plugin fills status.watch, lemonfiber MUST provision a monitor for every critical service, for every household-facing entry point over the household's own path, and for every job the stack runs on a schedule as a heartbeat, each under the tag lemonfiber:service:<id>, lemonfiber:entry:<id> or lemonfiber:job:<id>, MUST keep the id each provision answered and pair a monitor with what it covers by that record alone, never by its name or target, MUST retire every tagged monitor whose service, entry point or job is gone, and MUST NOT provision over or retire a monitor holding no tag (ADR-0061).
- K2-R16○ openArea KClaim it
lemonfiber watcher --json, served at GET /api/watcher, MUST answer which plugin fills status.watch, whether its monitor answers and why not, when it was asked, every monitor with its name, kind, state and since when, its last reading, a heartbeat's interval, grace and last check-in, whether it is active, the household or internal path an entry point's monitor watches, what it was asked to watch and what it watches instead where provisioning could not make it watch what it should, and what it covers where lemonfiber made it; its state MUST be expected-down where what it covers is stopped on purpose and not-reporting where it holds no reading newer than its interval and grace; every critical service and entry point with no active monitor MUST be listed as uncovered; and a monitor that cannot be reached MUST be answered as blind, never as nothing wrong.
- ARCH-R390○ openClaim it
status.watch@1 MUST declare reachable, monitors, provision and retire as the section on the outside watcher says; provision MUST be idempotent by its tag, leaving one monitor for a tag provisioned twice, and provision and retire MUST NOT touch a monitor holding no tag or a tag outside lemonfiber:; an adapter whose monitor cannot be configured MUST answer provision and retire unsupported rather than claim a monitor it did not make (ADR-0061).
- F12-R14○ openArea FClaim it
Setup MUST accept a key link (C10-R18) in place of the address, key and pin: it MUST collect the key once over the TLS the link's fingerprint verifies (C10-R20), keep only what the reply carries, and name the reason when the claim is refused.
- F13-R15○ openArea FClaim it
Setup MUST accept a key link (C10-R18) in place of the address, key and pin: it MUST collect the key once over the TLS the link's fingerprint verifies (C10-R20), keep only what the reply carries, and name the reason when the claim is refused.
- D6-R19○ openArea DClaim it
The core MUST answer a member's session with the member's display name as the media server holds it.
- G2-R15▲ unmarkedArea GClaim it
On every surface, the label of a control, a tab, a menu item or a section heading MUST name what it opens or does in at most three words and MUST NOT be a sentence; a sentence MAY explain beside it, and a name declared under G2-R14 counts as one word.
- ARCH-R281○ openClaim it
A stream opened with Last-Event-ID MUST be sent, before any other event, every alert event raised after that id, oldest first, from the last 24 hours and at most the last 200; where the id is older than the oldest kept or unknown, it MUST send those kept and mark the replay partial. A stream opened without one MUST be sent no past alert (ARCH-R162).
- D11-R11○ openArea DClaim it
A member's paired client MUST be able to watch a live TV channel only through the core, which MUST open the channel's live stream on the member's behalf only where the media server answers the channel's live TV read with the member's own session and the programme on it is within the member's limits (D8-R9). The guard's item question MUST NOT stand in for either answer.
- D11-R12○ openArea DClaim it
The core MUST answer the client the location of the live stream's bytes at the guarded front door with a pass the core issued for that live stream and that member alone, which lapses within a bounded time, and MUST close the live stream when its pass lapses or the member is removed (D6-R8).
- D11-R13○ openArea DClaim it
The guard MUST serve a live stream's bytes, its playlists and segments included, only to a request whose pass the core confirms, asked of the core on every such request, for exactly the live stream the request names, and MUST refuse one whose pass is absent, lapsed or not confirmed, or where the core does not answer. A live stream's bytes MUST NOT be served on an item's byte route (D11-R2).
- ARCH-R292○ openClaim it
A live-stream pass MUST travel in one fixed place in one spelling, held to an exact shape, and the guard MUST refuse a request carrying it anywhere else, under another spelling or in another shape. Before it asks the core, the guard MUST hold the request to the normal form it holds an item's byte route to (one canonical path, no byte the forward would re-escape, one spelling of each parameter it reads), and MUST ask about exactly the bytes it forwards.
- F14-R31○ openArea FClaim it
Every capability F14-R14 does not name MUST be proved by a substitute other than its first-party filler, as F14-R14 proves the capabilities it names.