You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
0.1.2 LF1: driver v1 says a host is full, and the host setting lists hosts in order #3029
Ticket LF1 of spec #3028 (0.1.2): the contract for the full refusal and the ordered host setting. Docs only. Size: S.
What to build
Contract first: the drivers (LF3, LF4) and host.py (LF5) build against this.
kernel/driver.v1.md: a new section, Full, after Effort. Its rules:
A driver that can't take one more run refuses start under D3 (exit 1) and starts nothing.
The refusal's next is exactly this host is full: start on the next host, or wait for a free place.
Its error names the host and the count, as in local is full: 2 of 2 agents are running.
Only start answers full. wake and stop are never refused as full (D5, D6).
There is no can entry and no schema change. A caller that predates the section reads the answer as an ordinary refusal.
A cap is the machine's own setting, read by the driver from its environment and never sent in an input (D1).
A driver's README documents its cap variable on one Cap: line under its Effort: line, or says Cap: none.
kernel/records.v1.md, section 6: the one setting line may list 1 to 8 hosts, comma-separated, in preference order (Host: local, boat). Each name keeps today's form, and no name may appear twice.
A start tries the hosts in order. A full answer moves on to the next host. Any other refusal ends the start, as today. When every host answers full, the start waits.
H2 and H4 are unchanged, and caps never appear in the file.
H3 now covers a malformed list too: it starts nothing.
Change no other v1 rule's meaning, and leave kernel/driver-kit/schema.json unchanged.
Owned paths
kernel/driver.v1.md (shared: the new Full section only)
kernel/records.v1.md (shared: section 6 only)
Relies on: nothing
Links
none
Acceptance criteria
The Full section gives the exact next text above, start-only, with no can entry and no schema change
Section 6 defines the comma list (1 to 8 names, no repeats), the try-in-order rule, the wait when all are full, and the H3 refusal of a malformed list
Activity