Commit Graph
39 Commits
Author SHA1 Message Date
HomerandClaude Fable 5.2 aba74cacb1 An editor that reads but does not write: a saved file is edited on disk, an unsaved one refused
ci / check (push) Canceled after 0s
A client offering fs.readTextFile without fs.writeTextFile left the agent
unable to change any file it had read through the editor: with no write
to ask, every edit was answered "refused the write".

Spec (3.11.0, acp.md Unsaved text; conformance editor.json kind buffer,
2 cases more: 51): with such a client the device writes the disk. For a
file the session read through the client it asks for the text once more:
equal to the disk's, nothing is unsaved and the disk is written; different,
the call is refused with a sentence asking for the file to be saved in the
editor first.

Tests: both branches against a client that only reads, and a client that
writes (buffer and disk before it answers) taking two edits and a new file.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 12:15:05 +00:00
HomerandClaude Fable 5.2 e8a6cbeb06 spec 3.11.0, after review: judged again after every wait, files that run code, unsaved text never replaced from the disk
Device files:
- Changes run one at a time on a device, and a method that waits for
  anything between judging a path and acting on it judges the path again:
  it goes on only when the path is still allowed and still the same place
  (conformance device_files.json, kind again). What is read is read through
  the file that was judged, held open.
- Files that run code - git's own directory, a project's agent
  configuration, the user's start-up files (loop.json files.runs_code) -
  are read, and changed only where the device's new setting
  remote.files_that_run_code is on. Off by default, global config only,
  said as limits.files_that_run_code in the hello and initialize; refused
  with the reason runs_code and a sentence naming the setting.
- An upload is capped in all; part files are never listed or found and are
  swept by the next process; nothing of what a link that leads out points
  to is said; large work does not stop the device answering.

An editor as the client:
- ACP's fs capabilities are honoured on serve --stdio only.
- Text the session read from the editor is never replaced from the disk: a
  client that does not give it again, or refuses the write, refuses the
  call; a write nobody confirmed is not repeated on the disk. Only the
  read tool and a write that ran count as reading (kind buffer).
- Rewrites: at most editor.rewrite.concurrent_max at once, all stopped with
  their client, a cancel taken at any time.
- The editor block: a closing tag inside a selection or a diagnostic cannot
  end it; a typed message that begins like the block is shown as typed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 12:06:03 +00:00
HomerandClaude Fable 5.2 5be00889d1 spec 3.11.0, amended while implementing: the server's error shape, whole folders
- The HTTP API: /v1/lembas/* answers errors in OpenAI's shape
  ({ error: { message, type, code } }); the device passes message on
  unchanged. 404 with a sentence is a model that is not the account's, a
  bare 404 a server before 3.11.0; 429 and 400 said. _lembas/complete's
  reasons gain unknown_model, busy and invalid; /v1/models carries no
  autocomplete flag, what a model may be picked for is read from allowed.
- Device files: a folder that holds the CLI's own files or a protected path
  is not deleted, moved or copied whole (conformance device_files.json,
  4 cases more: 35).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 11:42:03 +00:00
HomerandClaude Fable 5.2 e427fa8ac2 spec 3.11.0: an editor as the client, device files, files that are not text shown in the chat
ci / check (push) Canceled after 0s
The harness spec for the editor round, written before the implementation.
Three capabilities, one prompt text, one tool's description; no new tool,
and nothing about permissions or the hardline changes.

acp.md, "An editor as the client" (capability editor; a client says
clientCapabilities._meta.lembas.editor: true):

- _lembas/complete: prefix and suffix in, the insertion out, through the
  server's POST /v1/lembas/complete. No session, nothing read per request;
  a newer request cancels the older, which is answered
  { text: "", cancelled: true }; _lembas/complete/cancel by the client's
  own id in the params.
- _lembas/edit: a selection and an instruction in, the replacement out. One
  model request with no tools (prompts/tasks/rewrite.md), streamed as
  _lembas/edit/delta, _lembas/edit/cancel. Nothing is written.
- _meta.lembas.editor on session/prompt: the file in front, the cursor, the
  selection, diagnostics and open files, said to the model as one <editor>
  block after the person's text.
- ACP fs/read_text_file and fs/write_text_file, where the client offers
  them: the file tools read its buffers and write through them; any failure
  falls back to the disk; permissions are judged exactly as before.
- Edits as ACP diff items on session/request_permission and on a finished
  edit's tool_call_update, for a client that said editor: true.
- _lembas/models and _lembas/editor/settings (GET/PUT /v1/lembas/editor).

acp.md, "Device files" (capability fs, on the link only): _lembas/fs/list,
stat, read, write, mkdir, move, copy, delete, search inside remote.roots.
Symlinks followed before a path is judged; never the CLI's own files or a
protected path; read-only where the device allows plan mode only; a write
checked against the hash the client last saw; a delete goes to the trash
or is refused until the client says permanent.

acp.md, _lembas/show (capability media): to a client that said media: true
the show tool hands over a file that is not text by a handle the client
fetches with _lembas/show/read while the request is open. The kind sent is
a hint from the name; the client decides from the bytes.

The HTTP API gains POST /v1/lembas/complete and GET/PUT /v1/lembas/editor.
loop.json: editor, files. Conformance: editor.json (39), device_files.json
(31), show.json (18) - skipped here until their runners exist.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 11:10:44 +00:00
HomerandClaude Fable 5.2 0ea110c1d3 A steered message is given to the model once; a prompt's turn carries its late steers too
ci / check (push) Canceled after 0s
Spec (3.10.0, unreleased; part of capability harness_turns), acp.md
_lembas/steer:

- A session/prompt whose turnId is the messageId of a steered message the
  device still knows does not run. It is answered at once, stopReason
  "end_turn", with _meta.lembas.steered: "taken" (the model has been given
  it), "carried" (it waits for the next turn's first step) or "waiting" (it
  is in the running turn's queue). A client that lost the link and cannot
  tell what became of a message can send it again safely. An id handed back
  as unsent is the client's again and runs. The ids of the last 200 messages
  taken in are kept with the session, across a restart.
- A prompt's turn that ends with no link up carries its too-late steers to
  the next turn's first step, as a turn the harness started does: unsent in
  an answer nobody reads was a message lost. With a client there, unsent as
  before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 17:43:12 +00:00
HomerandClaude Fable 5.2 9f26316a49 session/cancel may name its turn: a queued prompt is taken back, the running turn left alone
ci / check (push) Canceled after 0s
A prompt can wait behind a turn its client did not start, and ACP's cancel
names no turn: a client stopping a reply whose prompt still waited stopped
whatever ran instead, and its own prompt ran later with nobody following.

Spec (3.10.0, unreleased; part of capability harness_turns): an optional
_meta.lembas.turnId on session/cancel. Running: stopped. Queued: taken out
of the queue, its session/prompt answered stopReason "cancelled" at once (a
scheduled one with scheduled.status "cancelled"), the running turn not
touched, the id still known. Neither: nothing. Without the id: the running
turn, as before. Sent as a request, the cancel is answered
{ cancelled: "running" | "queued" | "none" }. conformance/cancel.json, 7
cases (acp/turns.ts cancelOf).

Device: acp/agent.ts (a prompt that waits can be withdrawn), and for a
session a terminal runs acp/share.ts (hub/cancel as a request with the
turn; a web prompt not yet started there is withdrawn, and nothing is sent
when its place comes). A terminal of a build without that request is not
told to stop whatever runs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:09:21 +00:00
HomerandClaude Fable 5.2 1f3eb92666 spec 3.10.0, amended: a run waits for its subagents; a session with work out; Stop and steer said whole
Amended before any release carried 3.10.0, after a review of the implementation.
No capability, field or method is added.

- acp.md, Scheduled work: a scheduled turn does not end while a subagent it
  started is still out. The turn stays open (waiting_for_subagents), each
  report comes into the same turn, the answer's text and report are from the
  last reply. Background commands are not waited for. Stop on a scheduled
  turn, and any other end with subagents still out, stops them.
- acp.md, A session that still has work out: with no turn running, a working
  or waiting subagent, a report about to wake the main agent, or a background
  command makes the session not idle for the device: the link is not closed
  for a change of limits, a service does not start again for an update, and
  a terminal that opens the session is refused in words.
- acp.md, session/cancel and A turn the harness starts: Stop stops the turn
  and no subagent; a turn stopped while it waited for a slot is in the
  history like any stopped turn; undelivered notes are kept with the session.
  A steer nobody could be handed is kept with the session and taken in at the
  next turn's first step, never also handed back; the task end that carries
  unsent comes before the inbox event that empties the queue. A wake that may
  not start a turn leaves the session idle and the note kept.
- reports.md §2: the run is the schedule's turn, whole.
- conformance/outstanding.json (8 cases) and its runner,
  src/session/outstanding.ts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:26:31 +00:00
HomerandClaude Fable 5.2 2469709dc0 spec 3.10.0: a turn the harness starts is a turn like any other over the link
A note that wakes an idle session (a finished job, a subagent's or a team's
report) already had an id of its own on its task and prompt events. The spec
did not say what a client may ask about such a turn. acp.md now does, in a
section of its own and on each method:

- capability `harness_turns`;
- status: busy, the turn named, then lastTurnId;
- steer: accepted; what the turn ended before taking in comes back as
  `unsent` on its `task` end event;
- cancel stops it; a prompt waits behind it; compact and rewind are refused;
- history: its user turn carries `machine`, its turnId and the whole note;
- the order of its events, that turns never overlap, and what two notes in a
  row are;
- the client never sends such a row to the device as a prompt.

conformance/reattach.json (9 cases) is the client's decision for a row after a
restart, for a person's turn and for the harness's; the CLI keeps that rule in
acp/turns.ts for the cases, as it keeps the client's model rule.

blocks/team_lead.md, one bullet more: a report starts the main agent's next
turn by itself; it answers the person then, unasked, and never tells the
person to ask again.

Clarified, not changed: on a machine turn's prompt event, `text` is the line a
transcript shows, not the whole note.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 12:52:17 +00:00
HomerandClaude Fable 5.2 55706542a4 Review of spec 3.9.0: a schedule's run is never a person's turn
ci / check (push) Canceled after 0s
From an independent review of the round. Spec and CLI together.

- A scheduled prompt for a session open in a terminal is judged, then
  refused (data.reason terminal) instead of being passed to the terminal as
  a person's turn on the terminal's model.
- A schedule's session keeps its model with it: opened from the store again
  — or in a terminal — it is on the model it had, and stays a schedule's
  session there (nothing in it becomes the directory's model).
- On a refused scheduled turn nothing about the session is changed; a
  command's interactive-only model in one is the same -32602 with its
  reason. In a schedule's session a turn a job wakes, and a subagent started
  with no person's turn running, are still scheduled work.
- A rerouted title or summary is counted under the model that was asked and
  that model is named; a model that cannot take a summary (window too
  small, no tools) is nowhere to go.
- A borrowed model is given back with returnModel, so a command whose model
  is the session's own leaves nothing borrowed. What is remembered goes
  through records(), the rule the conformance cases test; a change of model
  inside a turn the harness started is not remembered.
- models.json: a directory's time is refreshed as it is used; a write stats
  nothing, and gone directories are dropped apart from any turn.
- lembas run with no terminal says the way forward, in the refusal and in
  --help.
- Permission rules: a rule written again (the same permission and pattern,
  later) sets the earlier one aside, as a narrower one does. Cases pin it.
- Conformance and the examples use made-up model names.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 00:45:03 +00:00
HomerandClaude Fable 5.2 90cccac8bc spec 3.9.0: interactive-only models
ci / check (push) Canceled after 0s
Still 3.9.0, unreleased. A model served through a connection its provider
sells for a person's own turns only says interactive_only: true.

- interactive.md: what is interactive and what is not; scheduled work never
  runs on such a model (a schedule may not name one, a run fails with the
  sentence, a device refuses the scheduled turn itself and its subagents, a
  one-shot run with no terminal ends at once); a session's background calls
  — its title, its compaction — go to the model's twin, else to a default
  that is not interactive-only, else are skipped or refused in words.
- models/schema.json: interactive_only. loop.json: interactive (the field,
  the reason, the two sentences, what each background call does).
- acp.md: the field on /v1/models, data.reason interactive_only, the run's
  model.
- conformance: interactive.json (twin, background, scheduled); three cases
  in last_model.json.

The rules as functions, for the cases; the CLI's wiring follows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 00:14:12 +00:00
HomerandClaude Fable 5.2 2add5695a6 spec 3.9.0: the model last used in a directory; Chat and Agentic schedules
ci / check (push) Canceled after 0s
The harness spec, written ahead of both implementations.

- acp.md: a new section, "The model last used in a directory" — what the
  device remembers and when, how a session of its own starts, what
  _lembas/directories says (model on a Dir, list: false, capability
  directory_model) and the client's rule. Scheduled work: the two types of
  schedule, the run's model, and that a run never becomes the directory's.
- permission/rules.md §2: a narrower rule that a later one narrows again is
  set aside, so .env.example is read after a broad allow as before it.
- conformance: last_model.json (start, record, client), six cases in
  rules.json.

The CLI's side so far: the rule lookup, and the three rules of the new area
as functions; the memory itself and the link follow.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 22:45:26 +00:00
HomerandClaude Fable 5.2 89e9e47ecc spec 3.8.1: a page for what is to be seen, a shown file for what has to run
ci / check (push) Canceled after 0s
The pages block now says that something the person asks to see in the answer
is written as a page, not as an HTML file opened with `show`, and that a page
is static: what has to run is said to be beyond a page and, where the model has
`write` and `show`, written as a file and shown. A text; nothing else moves.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:25:25 +00:00
HomerandClaude Fable 5.2 ca849facb2 spec 3.8.0: pages are static
ci / check (push) Canceled after 0s
A scripted page in a sealed frame can still send data out (a WebRTC
datagram), and a document without script can make the browser resolve a
chosen name (link rel=dns-prefetch, preconnect, prefetch). So a page is
static everywhere: HTML, CSS and inline SVG. pages.md §6, the prompt block
and loop.json pages.static say what it may hold — the listed elements and
attributes, no script or event handler, no link, meta, base, frames,
media, canvas or forms, no address but #fragment and an inline data:image,
no @import or url() that fetches — and what a client that shows pages
does: rebuild the document from the allow-list, a frame with scripts off,
fixed height with its own scrolling, Open larger in place; a client that
cannot guarantee it shows the note. Charts are inline SVG the model writes
out. conformance/pages.json gains the static cases (src/pages/static.ts
answers them); the fence, title, note and projection are as they were.

reports.md: the creator of a schedule that runs once may store always
(scheduled.notify.one_shot_default); a device without the reports
capability is never sent an instruction naming report_write — it gets the
3.5.0 prompt (the [SILENT] hint for `when`, none otherwise).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 10:47:07 +00:00
HomerandClaude Fable 5.2 97fb03210a Harness spec 3.8.0: reports, HTML pages in answers, which permission rule decides
ci / check (push) Canceled after 0s
reports.md, tools/report_write.json (requires: scheduled), loop.json
scheduled.notify: a schedule's run files a report or leaves a history
line; notify when always | when | never with the instruction for each, in
the run's prompt; one report per run; the answer filed under always;
[SILENT] retired. A run on a linked computer carries its report in the
turn's answer (acp.md, capability reports). conformance/reports.json.

pages.md, prompts/blocks/html-pages.md, loop.json pages, models/schema.json
html_pages: a reply may carry a complete page in an html-view fence, when
the instance, the model and the chat all say so; never to a subagent, the
phone assistant or an agent chat. The note, the text projection, the
session note. blocks/prototypes.md, the prototypes context field and
capability, and conformance/prototype.json are gone; conformance/pages.json.

permission/rules.md, conformance/rules.json: the candidate and the floors
a later-made rule gives way to, and what making a rule does — for a rule
typed into a file as for one a menu wrote.

The CLI carries it: report_write in a scheduled turn, the pages fence read
and noted in the transcript (/pages; prototypes: true dropped with a
line), the model's html_pages kept and unused, lookupRule the strictest of
the floors, judgeNewRule.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 09:17:49 +00:00
HomerandClaude Fable 5.2 8ad31deaa8 Review of the round: placeholders over a selection, the kitty read, titles, the stored end
ci / check (push) Canceled after 0s
Paste placeholders: the extmark is placed from the cursor after the insert
(a paste over a selection put it at the wrong range and sent the bare
label); a placeholder is atomic (cutting into its label removes all of
it); the same paste opens a placeholder only with the cursor where the
first paste left it; a paste of white space is not a clipboard read; a
data URL that is no image is pasted as text. The label is shown in this
transcript only: the prompt event and the session's title get the words.

kitty OSC 5522: the box's input is held during a read, input that arrives
meanwhile means a packet was lost (OpenTUI flushes an unfinished OSC after
about 20 ms), what arrives is believed by its bytes and must be a whole
image — else one line and nothing saved. It can still fail on a stalling
connection, so it is off unless kitty_clipboard: true.

The approval card over the link keeps the whole command (or the tool's
name) as its title and carries _meta.lembas.tool; spec text says so. The
stored end of a turn is tied to the conversation's length, so /undo, a
rewind or a compaction takes it away. A refused call is titled from
schema-parsed arguments. A stored call with no result is failed; the
person's own !command is not failed by the turn's end; 59.96 s is 1m 00s
(conformance case).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:32:04 +00:00
HomerandClaude Fable 5.2 14a35d04b6 Harness spec 3.7.0: python says why it could not run
ci / check (push) Canceled after 0s
tools/python.json: unavailable is now only "no page of this chat is open"
and says where to open it; texts.no_answer (a page is open but did not
answer) and texts.timeout (the run passed its seconds) are their own
texts. conformance/python.json; the server's tool alone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:42:10 +00:00
HomerandClaude Fable 5.2 bf44371841 Harness spec 3.7.0: one display in every client
ci / check (push) Canceled after 0s
harness/display.md, loop.json display, conformance/display.json.
A tool call has one short title made from its arguments (questions and
patch by what they name, else the first non-blank string among the listed
keys; first line, 80 characters): the same in the transcript, as
running_tool's what and as the link's tool_call title. Pattern and query
now come before path, so a grep is titled by its pattern. Four states
(running, done, failed, denied), a finished call's duration, an edit's
+added −removed counted by the diff's hunks, a command's non-zero exit, a
search's hits; the kinds of block. stopped and failed stay on the finished
reply as the progress text alone. The approval, question and plan cards'
actions. Numbers in the client's locale format; conformance texts plain.

The pure functions (src/session/display.ts) answer the new area; the
clients' drawing follows. progress gains the budget stop; the README's
lost 3.5.0 heading is back.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:39:32 +00:00
HomerandClaude Opus 5.5 6da9c7fcd0 Harness spec 3.6.0: phone_action, done on the person's phone and confirmed there
ci / check (push) Canceled after 0s
harness/phone.md, tools/phone_action.json, loop.json phone, conformance/phone.json.
The LLeMbas server's tool alone (scope llembas, sessions chat), offered once a
message came from the LLeMbas app with the capability phone_actions (new
requirement phone). Actions: alarm, timer, calendar_event, sms_draft,
email_draft, dial, navigate, add_stop, search_nearby, stop_navigation,
open_app, open_url, media, torch, settings_panel, automation_intent. Each
reads its own fields; required fields and value checks give the call's
refusal in the spec's words. The person confirms on the phone every time;
the result is done, declined or failed with what the phone said, or no
answer in time. add_stop carries the route's destination: no map app adds
to a running route, so the phone plans again via the stop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:32:15 +00:00
HomerandClaude Opus 5.5 788db0ff4d Harness spec 3.5.0: the watch command's hash puts the exit status after the bytes, so the output is hashed as it streams
ci / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:13:38 +00:00
HomerandClaude Opus 5.5 e349d829a1 Harness spec 3.5.0: scheduled work on a linked computer
ci / check (push) Canceled after 0s
Accept scheduled work (remote.scheduled, off by default) said as limits.scheduled; a scheduled
turn is an agent session marked `scheduled` in the schedule's mode (Edit when none chosen, Plan
refused, lowered to remote.max_mode) with its Min/Max; the answer reports status ok, silent,
failed or cancelled and the final reply. Approvals wait the schedule's wait and go to the person
through the server, then count as denied. _lembas/monitor runs a watch command under the mode's
rules (one that would ask is refused) and answers a hash and an excerpt. Schedule routes of
/api/v2 accept the device's token. team_add under a sub-manager names it (added_under).
Conformance areas scheduled, silent, monitor; team cases changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:11:56 +00:00
HomerandClaude Opus 5.5 b66891e186 Harness spec 3.4.0: an agent chat's subagents are the device's; the tree's cases
ci / check (push) Canceled after 0s
acp.md *Subagents in an agent chat*: capability agents carries the chat's {min, max} (and
subagents: false) down on every turn and _lembas/configure, said (the person's earlier words)
on session/new; the tree, progress, approvals, findings and transcripts come up; what the server
keeps. subagents.md §14. team.json: ten 3.4.0 cases (only the main agent, sub-managers and parent,
slots, modes and request options, whoami, finish, findings, running out of context and replacing,
requests and decisions, assign); a member's own task is refused only_main. subagents.md: the
subagents under a sub-manager that ended by itself move under its parent until it is replaced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:19:17 +00:00
HomerandClaude Opus 5.5 4b8786b7f6 Harness spec 3.4.0: progress phases, and subagents v2 — the main agent and its tree
ci / check (push) Canceled after 0s
progress.md: thirteen fixed phases (queued … failed), each { phase, since, data },
their texts as shared i18n keys (loop.json progress), one line every client draws,
sent beside the old status text in /api/v2 and over the link (capability progress).

subagents.md §5–§13 (supersedes team.md where they differ): only the main agent
adds, assigns, replaces, stops and decides; sub-managers direct those placed under
them; ids, positions, parents; Min above 1 opens slots; permissions inherited and
never widened, request options decided by the main agent, what nobody in the tree
can allow goes to the person; team_finish, findings, running out of context;
transcripts read-only; the tree over the link (capability tree). New tools
team_whoami, team_finish, team_findings, team_request, team_decide, team_assign,
team_replace. Conformance: progress, delegation; team updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:10:36 +00:00
HomerandClaude Opus 5.5 3a206959b6 Harness spec 3.3.0: the Subagents setting is Min and Max, one range with two handles, counting the agent itself
ci / check (push) Canceled after 0s
loop.json subagents.setting: min/max are "Min" and "Max" (not fewest/most), with a hint and a short
form saying the numbers include the session's own agent - 1 is the agent alone, Max 4 the agent and
up to three subagents. team.md §2 and subagents.md §4 state that, and the UI rule: one range from 1
to the cap with two handles (a slider; two numbers on one line in a terminal). team_add says the
size includes the caller. Conformance team: max 2 is the lead and one task subagent.

Still 3.3.0, unreleased: edited in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:04:24 +00:00
HomerandClaude Opus 5.5 a26dd8a5e0 Harness spec 3.3.0: name its spec commit (02c7282) in the README and CHANGELOG
ci / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:56:45 +00:00
HomerandClaude Opus 5.5 02c7282e74 Harness spec 3.3.0: subagents — the word, the model, capacity, the offer
ci / check (push) Canceled after 0s
- "Subagent" in every text a person or a model reads; "helper" retired
  (the team area's step helper_done is now task_done).
- A subagent runs on the session's model unless the person named another
  in this session's own messages; task's and team_add's `model` is refused
  otherwise. No setting chooses a subagent's model.
- Capacity: another model on the session's model's one-model server is
  refused; the session's model as its own subagent needs parallel >= 2 or
  no limit; no fallback.
- The agents {min, max} setting is shown as Subagents, offered when a model
  could serve; context.note.team_own when the session's model cannot.
- subagents.md, loop.json subagents, conformance/subagents.json (26 cases).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:56:31 +00:00
HomerandClaude Opus 5.5 5c23087cef Harness spec 3.2.0: version, README, changelog
ci / check (push) Canceled after 0s
VERSION 3.2.0; README's file table, the `team` requirement and a 3.2.0
section; CHANGELOG Unreleased. Two tests that pinned the AGENTS.md
block's absolute root now pin the relative text (context.md §11).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 08:18:21 +00:00
HomerandClaude Opus 5.5 aa83bb9783 Harness spec 3.1.0: carried by both implementations
ci / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 13:37:08 +00:00
HomerandClaude Opus 5.5 ecae6247fd Harness spec 3.1.0-draft: the prefix stays still
ci / check (push) Canceled after 0s
Measured on 2026-11-05 against a local model's prompt cache: a harness
that rebuilds its system prompt for every request re-reads the whole
session whenever any part changes (a date at midnight: 16,912 tokens,
99 % -> 0 % cached, 139 s). context.md §10: the system prompt is made
once per session and resent; no clock in it; mid-session changes go as
a <session-note> on the next user message (loop.json context.note); the
tool list is fixed for the session, a requires that comes and goes
answers unavailable instead (plan_submit gains requires: plan); §7: the
compaction summary is the next turn of the same conversation, not a
separate request with a pasted transcript; cached tokens are recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 12:37:25 +00:00
HomerandClaude Opus 5.5 0d04c5300f LLeMbas CLI 2.0.0-beta.1; harness spec 3.0.0
ci / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:50:56 +00:00
HomerandClaude Opus 5.5 559b521ca9 Harness spec: /v1/usage is money per currency; the device asks for memory
acp.md: GET /v1/usage in the server's 2.0 shape -- month.cost_by_currency,
never summed across currencies, cost_money only with one currency; the
credit fields null and windows empty for a 1.x client and not read by a
3.0.0 one. The device's login asks for models memory link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 03:41:10 +00:00
HomerandClaude Opus 5.5 b1dcaded72 Harness spec: one path form, the file tools' texts, the list tree, skills
filesystem.md, spec 3.0.0-draft, and the CLI made to match:

- Paths: absolute in every answer except a result's bracket (context.md),
  which keeps the call's path. glob and grep now give full paths.
- A missing file is `No such file or directory: {path}` for every tool
  that needs it, with no hint after it: in a chat a hidden file must read
  as a missing one. The CLI's "does not exist. Use write to create it." and
  "Write it first." are gone; an edit of a directory is `Is a directory`,
  glob over a file `Not a directory`.
- write/edit refusals, exactly: "{path} exists and has not been read in
  this session. Read it first." and "{path} changed since you last read
  it. Read it again before changing it." (no "on disk"), absolute path.
- A listing sorts names in code-point order; `list` with a depth is a
  tree indented two spaces a level, marks as in a single listing, cut at
  400 lines with a line saying so.
- Skills: where they are found and in what order on each side (the
  session's own place first, the person's next, what is shared last), and
  the name rule ^[a-z0-9][a-z0-9-]{0,63}$ that skill_manage checks. The
  CLI no longer makes names with _ or .; such skills still load.

README's 3.0.0 notes say so; CHANGELOG [Unreleased].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:20:42 +00:00
HomerandClaude Opus 5.5 d5043ab0db Harness spec 3.0.0-draft: link protocol 3; one server names the models
acp.md *Versions*: LLeMbas 2.0 and LLeMbas CLI 2.0 speak link protocol 3 and
nothing else, so a 1.x peer and a 2.0 one refuse each other and each says what
to update. A 2.0 server's discovery says `protocol: 3, protocols: [3]` —
`protocol` was frozen at 1 so 1.x clients comparing it could log in; raising
it now is the point. A 2.0 CLI logs in and links only where 3 is listed and
otherwise names the server's version and protocols; a 2.0 server closes a
hello of 1 or 2 with 4400 and "update LLeMbas CLI to 2.0".

Model naming: the served id is the device's ref (one server, no connection
prefix, no second login); the older forms still resolve. A configure naming a
model the device cannot run is -32602 too, and the session keeps its model.
initialize's example says 3; `show` in the client's capabilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 21:18:37 +00:00
HomerandClaude Opus 5.5 8cfbfbbca4 Harness spec: name the Harness-parity wiki page without a host
The README linked the page on the forge's own host. It names the page in
LLeMbas CLI's wiki instead, so the spec (vendored by the server) carries no
host name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 20:13:23 +00:00
HomerandClaude Opus 5.5 9f536d8345 Harness spec 3.0.0-draft: prompts, the link, and the changelog
ci / check (push) Canceled after 0s
blocks/context.md tells the model about stubs and recall; blocks/workspace.md
tells a chat's model its view. blocks/library.md and blocks/prototypes.md are
the CLI's alone. acp.md: `instance` on session/new, a client-opened session
runs on the chat's model and no other (the own-model notice is gone),
capability `show` with `_lembas/show`, memory through the instance. README:
the new fields and the 3.0.0 section. VERSION 3.0.0-draft.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:52:24 +00:00
HomerandClaude Fable 5.1 2183040db8 Harness spec 2.0.0: background work is a job — commands and subagents alike, seen and steered
One registry per process, every job owned by a session: bash's background commands (and a command
still running at its timeout, which now goes to the background instead of being killed) and
subagents started with task background: true. job_list, job_output, job_stop (the former
bash_list, bash_output, bash_kill) and the new job_send and report; a finished job wakes the owning
session in every front end with its marked note. The TUI counts jobs, lists them (/jobs), opens a
command's output, enters a subagent and messages it, moves a command to the background (ctrl+b)
and asks before quitting with jobs running. The link gains the jobs capability. Subagents get a
session row of their own, the spec's preamble and agent texts, and their errors reach the report.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-20 16:17:00 +00:00
HomerandClaude Opus 5.5 539896494f Harness spec 1.2.0: the library's tools fit both projects; the CLI implements it
The CLI's facts in memory, notes_search, note_manage, skills_list,
skill_view and skill_manage are `variables` now, filled with the CLI's own
values (src/tool/spec-vars.ts): every description and parameter list the CLI
sends is word for word what 1.1.0 said, except note and document ids, which
are strings on both sides (a number is still taken). Descriptions are
filled by the prompt texts' rules, parameter descriptions too. `narrow`
says what a project offers of a shared tool's parameters. Memory's changes
are one pure function (applyOps). Conformance: fill, narrow, memory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 11:45:14 +00:00
HomerandClaude Fable 5.1 837f38c744 Harness spec 1.1.0: one plan, prototypes and the library shared; the CLI implements it
The spec: plan_write and plan_update (new, shared, offered in every mode) and
plan_submit (now shared) keep one structured plan — findings, objectives,
phases of tasks — in place of the todo list, which lives on as a former name
of plan_write. The shared system text is one text for both projects, with
variables for what differs; the mode texts, a prototypes block and a library
block are shared. acp.md: the client hands the device what only it knows
(context, library, prototypes), the plan travels as a structure (plan_state),
library calls carry the chat's scope, and a client may rewind a session.
loop.json says its numbers as numbers. Four conformance areas: plan,
prototype, library_scope, toolcall_index.

The CLI: the plan is kept per session in the store and drawn above the prompt
and on the approval card; the prompt is assembled from the spec's texts with
their variables filled; the link reads the instance's instructions,
personalization, knowledge scope and prototype offer, sends the plan as a
structure and answers rewind; library calls to the instance carry the session
as scope; a prototype written in the terminal is saved as a file and named in
the transcript; a tool-call fragment without an index continues the last call;
the default theme is Moria; dead exports and Hermes leftovers removed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 04:02:12 +02:00
HomerandClaude Opus 5.5 479f647cc9 lembas remote: manage remote: without YAML; a running service follows it
`lembas remote list | add | remove | enable | disable | mode | terminal`, with
`--json` printing {enabled, roots, max_mode, terminal}, for LLeMbas Desktop.
Writes go through the global config writer and keep comments.

The device's limits are now live getters over the remote: block, re-read when
config.yaml's stat changes. `lembas service` links even with remote work off
or no roots: it says roots: [] and refuses every session, directory and
terminal, so the instance can tell "no folder allowed yet" from "not running".
When what the instance was told changes, the link re-dials once nothing is
working, so `lembas remote add` or `enable` takes effect without a restart.
Harness spec 1.0.1 documents both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 18:15:59 +00:00
HomerandClaude Opus 5.5 f9bad01ed7 LLeMbas CLI 1.0.0
ci / check (push) Canceled after 0s
The first public release of LLeMbas CLI: a terminal coding agent and project manager for any LLM
API, with permission modes, git snapshots, memory and skills, knowledge bases, MCP, voice, and a
link to a LLeMbas instance whose web UI can work its sessions too. Signed Linux binaries for x64
and arm64.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 21:59:03 +00:00