Skip to content

Prompts name another person and quote turns by reference - #477

Merged
lydakis merged 15 commits into
mainfrom
claude/project-thread-brslp5
Oct 31, 2026
Merged

lydakis merged 15 commits into
mainfrom
claude/project-thread-brslp5

Conversation

@lydakis

@lydakis lydakis commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

What

This is the first slice of the multi-user design (https://claude.ai/artifact/Unk97SabUwxrodCpagzQ3G): one daemon change, plus Sonny's approver, lookout and lead using it. Closes #317.

Daemon (schema 67, protocol 27)

  • submit takes person, a person other than the daemon's own. Like origin, it is the client's word. It is exclusive with from and origin (invalid_person). The model reads [Written by PERSON.], and the approver never takes it as consent. A command from a bot's sandboxed tool cannot send it.
  • submit takes quotes, a list of {bot, turn, reply?}. The daemon copies that turn's prompt, or with reply the final reply of a finished turn, into the new prompt as separate parts. Each part sits behind [Quoted from turn:BOT/TURN, written by …:]. A quoted prompt's own quotes come along with their first writers, marked nested, so a retry compares only the references the request named. At most 64 quotes per prompt, nested ones included. hide_senders hides these lines too. Errors: invalid_quote, quote_not_found, quote_unfinished, quote_too_large (more than 64 quotes, or words plus quotes past 256 KiB, each quote counting 256 bytes for its line).
  • Quoted words count wherever a prompt's bytes do: --max-pending-bytes while a turn waits, and the 256 KiB a steer absorption takes in.
  • agent run --quote BOT/TURN sends them (repeatable; BOT/TURN:reply for a reply).
  • prompts and history_items list a prompt's quotes with who wrote each. prompts also returns their text within its bytes, charging each quote's record; quotes past the budget are left out and the prompt is marked quotes_more and truncated. Quoted words are read in SQL from the parts they're in, as bytes, so a picture beside them is never parsed and a NUL never cuts them short.
  • Every history node keeps written_ms, the time it joined the history, listed on history_nodes and history_items. The consolidation thread asked for this so said.rs can date messages by their own time. Old nodes have none.

Prior art: Matrix dropped reply fallbacks (MSC2781) because retyped quotes were an injection path, and the OpenAI Model Spec gives quoted text no authority. Copying by reference gives the model authentic, attributed words where it used to get an agent's retelling.

Sonny

  • Lookout: the task-updates note now goes with origin: lookout.tasks. The person's words in a task are quoted from their turns instead of being retyped, so a task's reply can no longer reach the lead's approver as the person's words (Lookout notes carry task replies with no origin, so the approver reads them as the person's #317). A note carries at most 64 quotes. If the daemon refuses a quote (the task was deleted meanwhile, or the quote is too long), the note is resent naming those turns by handle.
  • Approver: a quote of the person's words counts as consent only inside a prompt the person sent themselves, since then the person chose it, and only for quotes the person named (not the nested ones a quoted turn brings along). Quotes picked by an agent or a client, the lookout included, are read as asking for nothing, so an old "yes" can't be replayed for a new ask. A steer's quotes count as the steer's own words. A prompt with person is no consent.
  • Lead role: when passing on the person's decision or approval, quote their turn with run --quote BOT/TURN (this turn: $AGENT_BOT/$AGENT_TURN). The role stays under its 16 KiB budget.
  • Messages with person are shown as that person's (transcript, task-update lines, /sky), never as yours.

Design

Checked against the visual system and the interface system:

  • A person's name takes no hue. Blue is for agents only, so ↳ From ana stays muted like other relayed rows. On /sky a person comes in from the rim like any outside sender, with no new hue.
  • Quotes read as the reply they were, quietly. A message's quotes are drawn through the one Markdown renderer behind a muted ▌ bar, under "tally.lead replied:" or "you wrote:". They keep their shape (heading, bold, code, lists) but drop their colours, so a quote never outweighs the words quoting it. A message from someone else opens (click or Ctrl+O) into its full quotes. The person's own message shows them under its words on the same band, cut like a long paste. The first pass drew raw Markdown in italics, with syntax colours louder than the message itself, and was redone.

A person's message, shut

A person's message, opened, with the reply it quotes

Your own message quoting a reply

Real Sonny against a real daemon and a scripted model. A second client sent "ana"'s message, and your own message, each quoting the lead's reply. Flexoki Dark, JetBrains Mono, rendered with xterm.js.

How the daemon stays fast

There are no new store jobs. Quotes resolve inside the admission job that already writes the turn, with one indexed read per quote by turn id, and are stored as small JSON on the turn row. Their text lives in the prompt node, so reads fetch it from there. written_ms is one integer set by the existing node insert, and the migration is an ALTER TABLE ADD COLUMN with no default, so there is no rewrite or backfill. The Perf screen is recorded in docs/DAEMON_MEASUREMENTS.md ("A person's words and quoted turns (#477)"): store jobs per turn unchanged; the runner's two timing warnings were rerun alternately on a separate box and came out within noise.

Tests

  • cargo test --workspace (1251 pass), cargo clippy --workspace --all-targets -D warnings, cargo fmt --check.
  • Store contract: quotes with their writers, nested quotes and their retry and bound, the quotes_more read budget, quotes beside a picture and with a NUL, the error cases, hide_senders, written_ms, the 66→67 migration, pending bytes and steer batches counting quoted words.
  • Sonny: a person's row without the agents' blue; quotes drawn by the renderer without colour, behind the bar; the person's own message showing its quotes.
  • Runtime (AGENT_TEST_RUNTIME=1): approvals (person, quotes, errors), lookout end to end (origin and quoted words), CLI.

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T05:16:11.514843Z aba26ca New commits
🔒 Security Review ✅ Completed 2026-10-31T05:21:01.031106Z aba26ca New commits

Security findings

Advisory findings (2)

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b3bea9f552

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/store/db.rs Resolved
Comment thread src/store/db.rs Resolved
Comment thread src/store/db.rs Resolved
Comment thread src/store/db.rs Resolved
Comment thread sonny/src/lookout/mod.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Codex Security Review · Automatically triggered

Here are some automated security review suggestions for this pull request.

Reviewed commit: b3bea9f552

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Comment thread sonny/src/approver.rs Resolved
@lydakis
lydakis force-pushed the claude/project-thread-brslp5 branch from b3bea9f to f0ea1fb Compare October 31, 2026 01:28

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f0ea1fbb35

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread sonny/src/approver.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1e592e16cb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/store/db.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 09a30ef83f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/store/db.rs Resolved
@lydakis
lydakis force-pushed the claude/project-thread-brslp5 branch from 09a30ef to ed615e5 Compare October 31, 2026 03:20

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6df2b93cad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/store/db.rs Resolved
Comment thread sonny/src/lookout/updates.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Codex Security Review · Automatically triggered

Here are some automated security review suggestions for this pull request.

Reviewed commit: 6df2b93cad

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Comment thread sonny/src/approver.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35e5728ad1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/store/db.rs Resolved
@lydakis
lydakis force-pushed the claude/project-thread-brslp5 branch from 00e3923 to 59723ee Compare October 31, 2026 04:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 59723eeb71

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread sonny/src/main.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3c3c138ecb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/store/db.rs Resolved
@lydakis
lydakis force-pushed the claude/project-thread-brslp5 branch from fef5bdf to 259796e Compare October 31, 2026 04:58
claude added 13 commits October 31, 2026 05:10
The daemon takes two new submit fields. `person` names a person other
than the daemon's own, the client's word like `origin`: the model reads
it in the sender line, and the approver never takes it as consent.
`quotes` lists turns whose prompt, or with `reply` whose final reply, the
daemon copies into the new prompt as parts of their own, each behind a
line naming the turn and who first wrote it. Copied by the daemon, a
quote of the person's words stays theirs, which a retyped one never was.
`agent run --quote BOT/TURN[:reply]` sends them. Every history item also
keeps when it was written (`written_ms`), for clients that date messages.
Schema 65, protocol 26.

Sonny uses them: the lookout's task updates go as `lookout.tasks` and
quote the person's words in tasks instead of retyping them, so a task's
words can no longer read as the person's to the approver (#317); the
approver reads quoted words by who wrote them; the lead quotes the
person's turn when passing on their decision.

Closes #317

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGGqPk8vuUqmtqdiY6W
The approver takes a quote of the person's words as consent only in a
prompt the person sent: an agent or client could otherwise pick an old
"yes" for a new ask. A retry of a prompt whose quotes brought quotes of
their own is the same request again, and those count against the 64
quotes and, with a line's worth each, the 256 KiB a prompt may copy. A
turn another person asked for in a task is reported as theirs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGGqPk8vuUqmtqdiY6W
…rote them

The opened message renders each quote through the one Markdown renderer
behind a muted bar, keeping its shape but not its colors, so a quote never
outweighs the words that quote it. The header names who wrote or replied,
without the turn handle.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGGqPk8vuUqmtqdiY6W
A message the person sent with quotes drew only its own words, so the
model read quoted words the conversation never showed. They now draw under
the person's words on the same band, quieter, as short as a long paste.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGGqPk8vuUqmtqdiY6W
@lydakis
lydakis force-pushed the claude/project-thread-brslp5 branch from 259796e to aba26ca Compare October 31, 2026 05:14
@lydakis
lydakis merged commit 051e135 into main Oct 31, 2026
5 checks passed
lydakis pushed a commit that referenced this pull request Oct 31, 2026
Every event now carries `written_ms`, the Unix ms it joined the store, as
history nodes do since #477; events from before schema 68 have none.
`follow` takes `since_ms` instead of `after` and starts from the first
event written at or after it, found by halving the cursor range (cursors
and times rise together), a few point reads however many events are kept.
It is the `usage` op's word for a start time. `agent follow --since 1h`
sends it; `--since` conflicts with `--after`.

This is what a client needs to replay a stretch of the past without
knowing its cursors: step 5 of the sky design, approved by George.

Schema 68, protocol 28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa
lydakis added a commit that referenced this pull request Oct 31, 2026
* Sonny: composer on the message band, models named as people say them, profile in the footer, reply ↩

The composer sits on the tinted band the person's messages use, from the
row above it down, with a rule in its place without colour. Commons posts
name their model as people say it (Opus 5.5, GPT 6.1 Sol), with provider,
region and vendor prefixes left off. The footer names the profile when it
isn't the seat's own. A message under the mouse shows ↩ in place of its
bullet, and a click quotes it into the composer; margin notes have their
own ↩, and /reply picks an older reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a reply's first row is marked, and a task's note quotes what it shows

A reply that opens with a heading has no bullet, so its first row is now
marked when it is written and the reply mark finds it; a note brought in
from a task quotes what it showed when last read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the band sits evenly round your words, and a hue on a muted row reads

The composer's band now has a row above and below the words, and so do your
sent messages, so what you write looks as it will once sent and the words sit
in the middle of the band, not on its bottom edge. The footer keeps to the
conversation's column, its right edge where the band's is.

Dim over a hue (the footer's branch and agent name, a task's name in a quiet
row) fell under 3:1 in many themes. The muted look now draws a hue on a dim
row at full strength and keeps the words round it muted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky back on the visual system

Magenta means you and blue means agents everywhere else in Sonny, but the
sky drew agent-to-agent sparks magenta, your own sparks in plain bold, and
the commons ripple green (worked). Now:

- what goes to or from you is magenta, "you" in the middle too;
- what goes between agents is blue;
- a commons post ripples in the text's own colour: the ring says it;
- who made whom and who talked are muted, in the measured gray that still
  reads in every theme, so the stars and what happens now stand out;
- names stay in the text's colour: every label on the sky is a name, so
  blue would say nothing more;
- `sonny sky` on its own asks the terminal for its theme and draws through
  the same look, so its muted gray and NO_COLOR match the conversation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky's animation drawn again in the system's colours

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky as a calm window, step 1 of the agreed design

Hues on the sky come down to yellow for what needs you and red for what
failed, plus the cyan tool twinkle; magenta and blue leave it. Structure
takes a new faint weight, measured at about 2.2:1 against the theme's
background, so lines read without competing with marks and names.

A pair that talked in the last minute shows a faint trail that fades. A
chat log sits beside the sky when the pane is wide, newest at the bottom,
fading as it rises, with asks, approvals waiting and failures in their
colour; `?` swaps it for the legend and a few numbers (projects, leads,
agents, messages and tool calls a minute and this hour, the busiest
pair). Working stars breathe slowly, each on its own phase; idle ones
rest muted. `z` is zen: the sky alone, with only what needs you or
failed named. The commons ripple is smaller and the glow halo is gone.
Names keep a blank cell from each other and from other agents' stars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a small pane's chat log keeps to the row kept for it

The list sized itself for one log line under its blank, but up to five
were drawn, so a full list pushed the newest (an approval waiting, a
failure) off the bottom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: format the small-pane log test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's lenses and centring on any agent (sky design, step 2)

Tab swaps lenses on the same agents and events: live, the default; talk,
an hour of trails, denser the more a pair talked, the busiest reaching
muted, where loops and storms show; models, each model in a lead's
place with its agents round its muted name. The footer names the lens
when it isn't live.

The arrows pick a star (its name reversed, as a picker's selection is)
and Enter puts it in the middle: its maker, what it made and whoever it
talked to in the last hour on the first ring, the person included, two
hops on the next. The chat log keeps only its agent's lines and the
footer says whose sky it is. Stars glide to their new places over 0.8s
so the eye keeps its bearings. Esc lets go of the pick, then the centre,
then closes. `sonny sky --center NAME` starts centred, by name, label
or project.

The layout is one radial function now, used by the tree, the models and
the rings by hops. The keys live in `View::press`, shared by the pane
and `sonny sky`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky fits the pane and keeps its places (sky design, step 3)

The sky is an ellipse that fills its canvas, two dots in from the edges,
at most twice as wide as high, so a wide pane has no empty sides; rings
stay round. Projects keep their arms in the order they started (the
daemon's ids), a lead first, so a new project takes the next place
rather than reshuffling the rest, and agents within an arm likewise.
Each arm is as wide as the square root of what is under it, so one big
project can't squeeze the others to nothing. Layout changes glide over
a third of a second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the receive flash, sized by heat; the commons ripple, by reach

A message landing flashes round its star again, shrinking as it fades.
Each landing adds to the agent's heat, which halves as a glow does, and
the flash's radius follows the log of it, bounded, so an agent being
messaged a lot flashes bigger. A commons ripple spreads as far as its
thread reaches: how many other agents have read it or posted in it,
from the commons' own record. A post to an empty board stays small.
Both stay faint and unhued.

Labels keep a blank cell from their own star too, whichever cells it
covers, and the frame-time benchmark is an ignored test for step 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the flash as a halo by proportion; review fixes

The landing flash is sized in braille dots, as the star it rings is,
whatever the pane: one message's ring stands six dots off its star, and
its area grows with the heat, √2 wider each doubling (6, 8.5, 12, 17
dots). Cooling, it fades where it is instead of closing on the star.

A centred sky lays out again when a pair starts or stops talking, so
its rings stay hops through the last hour. An agent made while the sky
is open keeps its model. Too small for the sky, the arrows walk the
list, which shows the pick reversed and keeps it in view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky folds at scale (sky design, step 4)

With thousands of agents only the interesting are stars: who needs the
person, failed, works, glows or leads, scored by interest (Furnas's
degree of interest), as many as the pane has room for. The rest are a
faint dot each, so a cloud's density says its size; a crowd of leaves
under one agent spreads inward into a cloud. Only the biggest clouds
carry a count, at most half as many as the names.

Names keep a blank row from each other, sit beside, over or under their
star, and fill the budget in turn when one has no room; the leads of
the biggest projects are named first. The newest dozen sparks fly.

Frame times (release): 300 agents 0.9 ms, 3,000 1.6 ms, 10,000 3.2 ms
a frame (was 6.6 ms at 10,000).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the models lens follows a model changed while the sky is open

A `configured` event says only which settings changed, so when the
model is among them the sky reads the agent again and moves it to its
model's group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's burst moves as in 0.7.0; a shorter chat log

A message landing bursts round its star and shrinks into it as it
fades, halving every 0.9 s, as it did in 0.7.0, in today's muted then
faint ink. Its size is in braille dots, whatever the pane: one message
bursts as far as 0.7.0's did (5 dots), each doubling of messages at
once √2 wider (its area grows as the heat does), up to 0.7.0's commons
ripple at its widest (24 dots, about two dozen at once).

The chat log beside the sky stops at 12 lines at its foot, three plain,
six muted and three faint, ending where its fade does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's feature row tells of the 0.7.0 burst and the shorter log

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Events keep when they were written; follow can start from a time

Every event now carries `written_ms`, the Unix ms it joined the store, as
history nodes do since #477; events from before schema 68 have none.
`follow` takes `since_ms` instead of `after` and starts from the first
event written at or after it, found by halving the cursor range (cursors
and times rise together), a few point reads however many events are kept.
It is the `usage` op's word for a start time. `agent follow --since 1h`
sends it; `--since` conflicts with `--after`.

This is what a client needs to replay a stretch of the past without
knowing its cursors: step 5 of the sky design, approved by George.

Schema 68, protocol 28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Event times never go back; cursor bounds read from the key's ends

An event is written now or, should the clock have gone back, when the
event before it was, so times rise with cursors and a follow from a time
skips nothing (as a log's time index keeps them). The binary search reads
its bounds with one subquery each, which SQLite answers from the key's
ends instead of scanning. `agent follow --since` takes its time before the
snapshot of the running turn, so a turn ending in between is replayed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Measurements: event times and follow from a time (#498)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

---------

Co-authored-by: Claude <[email protected]>
lydakis added a commit that referenced this pull request Oct 31, 2026
…ursts at both ends, a circle, m for models (#507)

* Sonny: composer on the message band, models named as people say them, profile in the footer, reply ↩

The composer sits on the tinted band the person's messages use, from the
row above it down, with a rule in its place without colour. Commons posts
name their model as people say it (Opus 5.5, GPT 6.1 Sol), with provider,
region and vendor prefixes left off. The footer names the profile when it
isn't the seat's own. A message under the mouse shows ↩ in place of its
bullet, and a click quotes it into the composer; margin notes have their
own ↩, and /reply picks an older reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a reply's first row is marked, and a task's note quotes what it shows

A reply that opens with a heading has no bullet, so its first row is now
marked when it is written and the reply mark finds it; a note brought in
from a task quotes what it showed when last read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the band sits evenly round your words, and a hue on a muted row reads

The composer's band now has a row above and below the words, and so do your
sent messages, so what you write looks as it will once sent and the words sit
in the middle of the band, not on its bottom edge. The footer keeps to the
conversation's column, its right edge where the band's is.

Dim over a hue (the footer's branch and agent name, a task's name in a quiet
row) fell under 3:1 in many themes. The muted look now draws a hue on a dim
row at full strength and keeps the words round it muted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky back on the visual system

Magenta means you and blue means agents everywhere else in Sonny, but the
sky drew agent-to-agent sparks magenta, your own sparks in plain bold, and
the commons ripple green (worked). Now:

- what goes to or from you is magenta, "you" in the middle too;
- what goes between agents is blue;
- a commons post ripples in the text's own colour: the ring says it;
- who made whom and who talked are muted, in the measured gray that still
  reads in every theme, so the stars and what happens now stand out;
- names stay in the text's colour: every label on the sky is a name, so
  blue would say nothing more;
- `sonny sky` on its own asks the terminal for its theme and draws through
  the same look, so its muted gray and NO_COLOR match the conversation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky's animation drawn again in the system's colours

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky as a calm window, step 1 of the agreed design

Hues on the sky come down to yellow for what needs you and red for what
failed, plus the cyan tool twinkle; magenta and blue leave it. Structure
takes a new faint weight, measured at about 2.2:1 against the theme's
background, so lines read without competing with marks and names.

A pair that talked in the last minute shows a faint trail that fades. A
chat log sits beside the sky when the pane is wide, newest at the bottom,
fading as it rises, with asks, approvals waiting and failures in their
colour; `?` swaps it for the legend and a few numbers (projects, leads,
agents, messages and tool calls a minute and this hour, the busiest
pair). Working stars breathe slowly, each on its own phase; idle ones
rest muted. `z` is zen: the sky alone, with only what needs you or
failed named. The commons ripple is smaller and the glow halo is gone.
Names keep a blank cell from each other and from other agents' stars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a small pane's chat log keeps to the row kept for it

The list sized itself for one log line under its blank, but up to five
were drawn, so a full list pushed the newest (an approval waiting, a
failure) off the bottom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: format the small-pane log test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's lenses and centring on any agent (sky design, step 2)

Tab swaps lenses on the same agents and events: live, the default; talk,
an hour of trails, denser the more a pair talked, the busiest reaching
muted, where loops and storms show; models, each model in a lead's
place with its agents round its muted name. The footer names the lens
when it isn't live.

The arrows pick a star (its name reversed, as a picker's selection is)
and Enter puts it in the middle: its maker, what it made and whoever it
talked to in the last hour on the first ring, the person included, two
hops on the next. The chat log keeps only its agent's lines and the
footer says whose sky it is. Stars glide to their new places over 0.8s
so the eye keeps its bearings. Esc lets go of the pick, then the centre,
then closes. `sonny sky --center NAME` starts centred, by name, label
or project.

The layout is one radial function now, used by the tree, the models and
the rings by hops. The keys live in `View::press`, shared by the pane
and `sonny sky`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky fits the pane and keeps its places (sky design, step 3)

The sky is an ellipse that fills its canvas, two dots in from the edges,
at most twice as wide as high, so a wide pane has no empty sides; rings
stay round. Projects keep their arms in the order they started (the
daemon's ids), a lead first, so a new project takes the next place
rather than reshuffling the rest, and agents within an arm likewise.
Each arm is as wide as the square root of what is under it, so one big
project can't squeeze the others to nothing. Layout changes glide over
a third of a second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the receive flash, sized by heat; the commons ripple, by reach

A message landing flashes round its star again, shrinking as it fades.
Each landing adds to the agent's heat, which halves as a glow does, and
the flash's radius follows the log of it, bounded, so an agent being
messaged a lot flashes bigger. A commons ripple spreads as far as its
thread reaches: how many other agents have read it or posted in it,
from the commons' own record. A post to an empty board stays small.
Both stay faint and unhued.

Labels keep a blank cell from their own star too, whichever cells it
covers, and the frame-time benchmark is an ignored test for step 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the flash as a halo by proportion; review fixes

The landing flash is sized in braille dots, as the star it rings is,
whatever the pane: one message's ring stands six dots off its star, and
its area grows with the heat, √2 wider each doubling (6, 8.5, 12, 17
dots). Cooling, it fades where it is instead of closing on the star.

A centred sky lays out again when a pair starts or stops talking, so
its rings stay hops through the last hour. An agent made while the sky
is open keeps its model. Too small for the sky, the arrows walk the
list, which shows the pick reversed and keeps it in view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky folds at scale (sky design, step 4)

With thousands of agents only the interesting are stars: who needs the
person, failed, works, glows or leads, scored by interest (Furnas's
degree of interest), as many as the pane has room for. The rest are a
faint dot each, so a cloud's density says its size; a crowd of leaves
under one agent spreads inward into a cloud. Only the biggest clouds
carry a count, at most half as many as the names.

Names keep a blank row from each other, sit beside, over or under their
star, and fill the budget in turn when one has no room; the leads of
the biggest projects are named first. The newest dozen sparks fly.

Frame times (release): 300 agents 0.9 ms, 3,000 1.6 ms, 10,000 3.2 ms
a frame (was 6.6 ms at 10,000).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the models lens follows a model changed while the sky is open

A `configured` event says only which settings changed, so when the
model is among them the sky reads the agent again and moves it to its
model's group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's burst moves as in 0.7.0; a shorter chat log

A message landing bursts round its star and shrinks into it as it
fades, halving every 0.9 s, as it did in 0.7.0, in today's muted then
faint ink. Its size is in braille dots, whatever the pane: one message
bursts as far as 0.7.0's did (5 dots), each doubling of messages at
once √2 wider (its area grows as the heat does), up to 0.7.0's commons
ripple at its widest (24 dots, about two dozen at once).

The chat log beside the sky stops at 12 lines at its foot, three plain,
six muted and three faint, ending where its fade does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's feature row tells of the 0.7.0 burst and the shorter log

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Events keep when they were written; follow can start from a time

Every event now carries `written_ms`, the Unix ms it joined the store, as
history nodes do since #477; events from before schema 68 have none.
`follow` takes `since_ms` instead of `after` and starts from the first
event written at or after it, found by halving the cursor range (cursors
and times rise together), a few point reads however many events are kept.
It is the `usage` op's word for a start time. `agent follow --since 1h`
sends it; `--since` conflicts with `--after`.

This is what a client needs to replay a stretch of the past without
knowing its cursors: step 5 of the sky design, approved by George.

Schema 68, protocol 28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Event times never go back; cursor bounds read from the key's ends

An event is written now or, should the clock have gone back, when the
event before it was, so times rise with cursors and a follow from a time
skips nothing (as a log's time index keeps them). The binary search reads
its bounds with one subquery each, which SQLite answers from the key's
ends instead of scanning. `agent follow --since` takes its time before the
snapshot of the running turn, so a turn ending in between is replayed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Measurements: event times and follow from a time (#498)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky back toward 0.7.0: every pair's curve weighted by the hour, dot agents, bursts both ends, a circle, m for models

Every pair that has talked keeps a curve again, past turns and live, the
last 96 pairs at 0.7.0's weight, denser and brighter the more the pair
talked this hour (past turns counted by the time the daemon wrote them).
One view: the talk and models lenses go; m colours each agent by its
model in place, the footer naming the colours. An agent at rest is a
single dot, a breathing block while it works. Sparks and bursts are
coloured where 0.7.0 coloured them, in the visual system's hues: blue
between agents, magenta to or from the person, both ends bursting, sized
by heat. The sky is a circle again. A name keeps a clear cell either
side so the denser web never runs into it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a past pair new to the hour lays a centred sky again

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

---------

Co-authored-by: Claude <[email protected]>
lydakis added a commit that referenced this pull request Oct 31, 2026
* Sonny: composer on the message band, models named as people say them, profile in the footer, reply ↩

The composer sits on the tinted band the person's messages use, from the
row above it down, with a rule in its place without colour. Commons posts
name their model as people say it (Opus 5.5, GPT 6.1 Sol), with provider,
region and vendor prefixes left off. The footer names the profile when it
isn't the seat's own. A message under the mouse shows ↩ in place of its
bullet, and a click quotes it into the composer; margin notes have their
own ↩, and /reply picks an older reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a reply's first row is marked, and a task's note quotes what it shows

A reply that opens with a heading has no bullet, so its first row is now
marked when it is written and the reply mark finds it; a note brought in
from a task quotes what it showed when last read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the band sits evenly round your words, and a hue on a muted row reads

The composer's band now has a row above and below the words, and so do your
sent messages, so what you write looks as it will once sent and the words sit
in the middle of the band, not on its bottom edge. The footer keeps to the
conversation's column, its right edge where the band's is.

Dim over a hue (the footer's branch and agent name, a task's name in a quiet
row) fell under 3:1 in many themes. The muted look now draws a hue on a dim
row at full strength and keeps the words round it muted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky back on the visual system

Magenta means you and blue means agents everywhere else in Sonny, but the
sky drew agent-to-agent sparks magenta, your own sparks in plain bold, and
the commons ripple green (worked). Now:

- what goes to or from you is magenta, "you" in the middle too;
- what goes between agents is blue;
- a commons post ripples in the text's own colour: the ring says it;
- who made whom and who talked are muted, in the measured gray that still
  reads in every theme, so the stars and what happens now stand out;
- names stay in the text's colour: every label on the sky is a name, so
  blue would say nothing more;
- `sonny sky` on its own asks the terminal for its theme and draws through
  the same look, so its muted gray and NO_COLOR match the conversation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky's animation drawn again in the system's colours

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky as a calm window, step 1 of the agreed design

Hues on the sky come down to yellow for what needs you and red for what
failed, plus the cyan tool twinkle; magenta and blue leave it. Structure
takes a new faint weight, measured at about 2.2:1 against the theme's
background, so lines read without competing with marks and names.

A pair that talked in the last minute shows a faint trail that fades. A
chat log sits beside the sky when the pane is wide, newest at the bottom,
fading as it rises, with asks, approvals waiting and failures in their
colour; `?` swaps it for the legend and a few numbers (projects, leads,
agents, messages and tool calls a minute and this hour, the busiest
pair). Working stars breathe slowly, each on its own phase; idle ones
rest muted. `z` is zen: the sky alone, with only what needs you or
failed named. The commons ripple is smaller and the glow halo is gone.
Names keep a blank cell from each other and from other agents' stars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a small pane's chat log keeps to the row kept for it

The list sized itself for one log line under its blank, but up to five
were drawn, so a full list pushed the newest (an approval waiting, a
failure) off the bottom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: format the small-pane log test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's lenses and centring on any agent (sky design, step 2)

Tab swaps lenses on the same agents and events: live, the default; talk,
an hour of trails, denser the more a pair talked, the busiest reaching
muted, where loops and storms show; models, each model in a lead's
place with its agents round its muted name. The footer names the lens
when it isn't live.

The arrows pick a star (its name reversed, as a picker's selection is)
and Enter puts it in the middle: its maker, what it made and whoever it
talked to in the last hour on the first ring, the person included, two
hops on the next. The chat log keeps only its agent's lines and the
footer says whose sky it is. Stars glide to their new places over 0.8s
so the eye keeps its bearings. Esc lets go of the pick, then the centre,
then closes. `sonny sky --center NAME` starts centred, by name, label
or project.

The layout is one radial function now, used by the tree, the models and
the rings by hops. The keys live in `View::press`, shared by the pane
and `sonny sky`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky fits the pane and keeps its places (sky design, step 3)

The sky is an ellipse that fills its canvas, two dots in from the edges,
at most twice as wide as high, so a wide pane has no empty sides; rings
stay round. Projects keep their arms in the order they started (the
daemon's ids), a lead first, so a new project takes the next place
rather than reshuffling the rest, and agents within an arm likewise.
Each arm is as wide as the square root of what is under it, so one big
project can't squeeze the others to nothing. Layout changes glide over
a third of a second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the receive flash, sized by heat; the commons ripple, by reach

A message landing flashes round its star again, shrinking as it fades.
Each landing adds to the agent's heat, which halves as a glow does, and
the flash's radius follows the log of it, bounded, so an agent being
messaged a lot flashes bigger. A commons ripple spreads as far as its
thread reaches: how many other agents have read it or posted in it,
from the commons' own record. A post to an empty board stays small.
Both stay faint and unhued.

Labels keep a blank cell from their own star too, whichever cells it
covers, and the frame-time benchmark is an ignored test for step 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the flash as a halo by proportion; review fixes

The landing flash is sized in braille dots, as the star it rings is,
whatever the pane: one message's ring stands six dots off its star, and
its area grows with the heat, √2 wider each doubling (6, 8.5, 12, 17
dots). Cooling, it fades where it is instead of closing on the star.

A centred sky lays out again when a pair starts or stops talking, so
its rings stay hops through the last hour. An agent made while the sky
is open keeps its model. Too small for the sky, the arrows walk the
list, which shows the pick reversed and keeps it in view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky folds at scale (sky design, step 4)

With thousands of agents only the interesting are stars: who needs the
person, failed, works, glows or leads, scored by interest (Furnas's
degree of interest), as many as the pane has room for. The rest are a
faint dot each, so a cloud's density says its size; a crowd of leaves
under one agent spreads inward into a cloud. Only the biggest clouds
carry a count, at most half as many as the names.

Names keep a blank row from each other, sit beside, over or under their
star, and fill the budget in turn when one has no room; the leads of
the biggest projects are named first. The newest dozen sparks fly.

Frame times (release): 300 agents 0.9 ms, 3,000 1.6 ms, 10,000 3.2 ms
a frame (was 6.6 ms at 10,000).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the models lens follows a model changed while the sky is open

A `configured` event says only which settings changed, so when the
model is among them the sky reads the agent again and moves it to its
model's group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's burst moves as in 0.7.0; a shorter chat log

A message landing bursts round its star and shrinks into it as it
fades, halving every 0.9 s, as it did in 0.7.0, in today's muted then
faint ink. Its size is in braille dots, whatever the pane: one message
bursts as far as 0.7.0's did (5 dots), each doubling of messages at
once √2 wider (its area grows as the heat does), up to 0.7.0's commons
ripple at its widest (24 dots, about two dozen at once).

The chat log beside the sky stops at 12 lines at its foot, three plain,
six muted and three faint, ending where its fade does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's feature row tells of the 0.7.0 burst and the shorter log

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Events keep when they were written; follow can start from a time

Every event now carries `written_ms`, the Unix ms it joined the store, as
history nodes do since #477; events from before schema 68 have none.
`follow` takes `since_ms` instead of `after` and starts from the first
event written at or after it, found by halving the cursor range (cursors
and times rise together), a few point reads however many events are kept.
It is the `usage` op's word for a start time. `agent follow --since 1h`
sends it; `--since` conflicts with `--after`.

This is what a client needs to replay a stretch of the past without
knowing its cursors: step 5 of the sky design, approved by George.

Schema 68, protocol 28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Event times never go back; cursor bounds read from the key's ends

An event is written now or, should the clock have gone back, when the
event before it was, so times rise with cursors and a follow from a time
skips nothing (as a log's time index keeps them). The binary search reads
its bounds with one subquery each, which SQLite answers from the key's
ends instead of scanning. `agent follow --since` takes its time before the
snapshot of the running turn, so a turn ending in between is replayed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Measurements: event times and follow from a time (#498)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky back toward 0.7.0: every pair's curve weighted by the hour, dot agents, bursts both ends, a circle, m for models

Every pair that has talked keeps a curve again, past turns and live, the
last 96 pairs at 0.7.0's weight, denser and brighter the more the pair
talked this hour (past turns counted by the time the daemon wrote them).
One view: the talk and models lenses go; m colours each agent by its
model in place, the footer naming the colours. An agent at rest is a
single dot, a breathing block while it works. Sparks and bursts are
coloured where 0.7.0 coloured them, in the visual system's hues: blue
between agents, magenta to or from the person, both ends bursting, sized
by heat. The sky is a circle again. A name keeps a clear cell either
side so the denser web never runs into it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a past pair new to the hour lays a centred sky again

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky replays the past (sky design, step 5)

`r` in the sky, or `sonny sky --replay [WHEN]`, plays back what happened
from an hour ago, or from WHEN (2h, 30m, 1d ago, or a time such as 02:10).
The sky starts from who is here now, less those made since, all idle, and
the daemon's events from then on play over it as they happened, eight
times as fast: the replay follows `*` from `since_ms` and plays each event
once its written time comes. Space pauses, the left and right arrows step
back and on, [ and ] halve and double the speed (1 to 512 times), and Esc
goes back to live. The footer becomes the replay's line, a bar from where
it started to now, and the chat log says when each line happened.

A jump plays every event it passes, each stamped as long ago as it would
have been had it played, so trails and counts read as playing would and
its sparks have long landed; a spark now lands when its flight ended, not
on the frame that noticed. Stepping back starts again from the start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: replay steps in the list, keeps the hour in event time, reads new models, slims its tape, and finds yesterday by the calendar

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay dates an unwritten live event, such as a deletion, as it comes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: an older spark landing in a replay's jump keeps a newer glow; the replay reads its cast again as it goes live

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay keeps its last 100,000 events, letting the oldest played tenth go

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: wrap the replay line in the README

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay folds who was made or removed in its trimmed events into its cast

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay tapes what came while its cast was read before it starts

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay seats an agent with its new model after a step back

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay takes the listing's model for an agent it saw made

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay reconciles models in one pass and tells a reused name apart by id

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

---------

Co-authored-by: Claude <[email protected]>
lydakis added a commit that referenced this pull request Oct 31, 2026
* Sonny: composer on the message band, models named as people say them, profile in the footer, reply ↩

The composer sits on the tinted band the person's messages use, from the
row above it down, with a rule in its place without colour. Commons posts
name their model as people say it (Opus 5.5, GPT 6.1 Sol), with provider,
region and vendor prefixes left off. The footer names the profile when it
isn't the seat's own. A message under the mouse shows ↩ in place of its
bullet, and a click quotes it into the composer; margin notes have their
own ↩, and /reply picks an older reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a reply's first row is marked, and a task's note quotes what it shows

A reply that opens with a heading has no bullet, so its first row is now
marked when it is written and the reply mark finds it; a note brought in
from a task quotes what it showed when last read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the band sits evenly round your words, and a hue on a muted row reads

The composer's band now has a row above and below the words, and so do your
sent messages, so what you write looks as it will once sent and the words sit
in the middle of the band, not on its bottom edge. The footer keeps to the
conversation's column, its right edge where the band's is.

Dim over a hue (the footer's branch and agent name, a task's name in a quiet
row) fell under 3:1 in many themes. The muted look now draws a hue on a dim
row at full strength and keeps the words round it muted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky back on the visual system

Magenta means you and blue means agents everywhere else in Sonny, but the
sky drew agent-to-agent sparks magenta, your own sparks in plain bold, and
the commons ripple green (worked). Now:

- what goes to or from you is magenta, "you" in the middle too;
- what goes between agents is blue;
- a commons post ripples in the text's own colour: the ring says it;
- who made whom and who talked are muted, in the measured gray that still
  reads in every theme, so the stars and what happens now stand out;
- names stay in the text's colour: every label on the sky is a name, so
  blue would say nothing more;
- `sonny sky` on its own asks the terminal for its theme and draws through
  the same look, so its muted gray and NO_COLOR match the conversation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky's animation drawn again in the system's colours

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky as a calm window, step 1 of the agreed design

Hues on the sky come down to yellow for what needs you and red for what
failed, plus the cyan tool twinkle; magenta and blue leave it. Structure
takes a new faint weight, measured at about 2.2:1 against the theme's
background, so lines read without competing with marks and names.

A pair that talked in the last minute shows a faint trail that fades. A
chat log sits beside the sky when the pane is wide, newest at the bottom,
fading as it rises, with asks, approvals waiting and failures in their
colour; `?` swaps it for the legend and a few numbers (projects, leads,
agents, messages and tool calls a minute and this hour, the busiest
pair). Working stars breathe slowly, each on its own phase; idle ones
rest muted. `z` is zen: the sky alone, with only what needs you or
failed named. The commons ripple is smaller and the glow halo is gone.
Names keep a blank cell from each other and from other agents' stars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a small pane's chat log keeps to the row kept for it

The list sized itself for one log line under its blank, but up to five
were drawn, so a full list pushed the newest (an approval waiting, a
failure) off the bottom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: format the small-pane log test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's lenses and centring on any agent (sky design, step 2)

Tab swaps lenses on the same agents and events: live, the default; talk,
an hour of trails, denser the more a pair talked, the busiest reaching
muted, where loops and storms show; models, each model in a lead's
place with its agents round its muted name. The footer names the lens
when it isn't live.

The arrows pick a star (its name reversed, as a picker's selection is)
and Enter puts it in the middle: its maker, what it made and whoever it
talked to in the last hour on the first ring, the person included, two
hops on the next. The chat log keeps only its agent's lines and the
footer says whose sky it is. Stars glide to their new places over 0.8s
so the eye keeps its bearings. Esc lets go of the pick, then the centre,
then closes. `sonny sky --center NAME` starts centred, by name, label
or project.

The layout is one radial function now, used by the tree, the models and
the rings by hops. The keys live in `View::press`, shared by the pane
and `sonny sky`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky fits the pane and keeps its places (sky design, step 3)

The sky is an ellipse that fills its canvas, two dots in from the edges,
at most twice as wide as high, so a wide pane has no empty sides; rings
stay round. Projects keep their arms in the order they started (the
daemon's ids), a lead first, so a new project takes the next place
rather than reshuffling the rest, and agents within an arm likewise.
Each arm is as wide as the square root of what is under it, so one big
project can't squeeze the others to nothing. Layout changes glide over
a third of a second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the receive flash, sized by heat; the commons ripple, by reach

A message landing flashes round its star again, shrinking as it fades.
Each landing adds to the agent's heat, which halves as a glow does, and
the flash's radius follows the log of it, bounded, so an agent being
messaged a lot flashes bigger. A commons ripple spreads as far as its
thread reaches: how many other agents have read it or posted in it,
from the commons' own record. A post to an empty board stays small.
Both stay faint and unhued.

Labels keep a blank cell from their own star too, whichever cells it
covers, and the frame-time benchmark is an ignored test for step 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the flash as a halo by proportion; review fixes

The landing flash is sized in braille dots, as the star it rings is,
whatever the pane: one message's ring stands six dots off its star, and
its area grows with the heat, √2 wider each doubling (6, 8.5, 12, 17
dots). Cooling, it fades where it is instead of closing on the star.

A centred sky lays out again when a pair starts or stops talking, so
its rings stay hops through the last hour. An agent made while the sky
is open keeps its model. Too small for the sky, the arrows walk the
list, which shows the pick reversed and keeps it in view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky folds at scale (sky design, step 4)

With thousands of agents only the interesting are stars: who needs the
person, failed, works, glows or leads, scored by interest (Furnas's
degree of interest), as many as the pane has room for. The rest are a
faint dot each, so a cloud's density says its size; a crowd of leaves
under one agent spreads inward into a cloud. Only the biggest clouds
carry a count, at most half as many as the names.

Names keep a blank row from each other, sit beside, over or under their
star, and fill the budget in turn when one has no room; the leads of
the biggest projects are named first. The newest dozen sparks fly.

Frame times (release): 300 agents 0.9 ms, 3,000 1.6 ms, 10,000 3.2 ms
a frame (was 6.6 ms at 10,000).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the models lens follows a model changed while the sky is open

A `configured` event says only which settings changed, so when the
model is among them the sky reads the agent again and moves it to its
model's group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's burst moves as in 0.7.0; a shorter chat log

A message landing bursts round its star and shrinks into it as it
fades, halving every 0.9 s, as it did in 0.7.0, in today's muted then
faint ink. Its size is in braille dots, whatever the pane: one message
bursts as far as 0.7.0's did (5 dots), each doubling of messages at
once √2 wider (its area grows as the heat does), up to 0.7.0's commons
ripple at its widest (24 dots, about two dozen at once).

The chat log beside the sky stops at 12 lines at its foot, three plain,
six muted and three faint, ending where its fade does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's feature row tells of the 0.7.0 burst and the shorter log

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Events keep when they were written; follow can start from a time

Every event now carries `written_ms`, the Unix ms it joined the store, as
history nodes do since #477; events from before schema 68 have none.
`follow` takes `since_ms` instead of `after` and starts from the first
event written at or after it, found by halving the cursor range (cursors
and times rise together), a few point reads however many events are kept.
It is the `usage` op's word for a start time. `agent follow --since 1h`
sends it; `--since` conflicts with `--after`.

This is what a client needs to replay a stretch of the past without
knowing its cursors: step 5 of the sky design, approved by George.

Schema 68, protocol 28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Event times never go back; cursor bounds read from the key's ends

An event is written now or, should the clock have gone back, when the
event before it was, so times rise with cursors and a follow from a time
skips nothing (as a log's time index keeps them). The binary search reads
its bounds with one subquery each, which SQLite answers from the key's
ends instead of scanning. `agent follow --since` takes its time before the
snapshot of the running turn, so a turn ending in between is replayed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Measurements: event times and follow from a time (#498)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky back toward 0.7.0: every pair's curve weighted by the hour, dot agents, bursts both ends, a circle, m for models

Every pair that has talked keeps a curve again, past turns and live, the
last 96 pairs at 0.7.0's weight, denser and brighter the more the pair
talked this hour (past turns counted by the time the daemon wrote them).
One view: the talk and models lenses go; m colours each agent by its
model in place, the footer naming the colours. An agent at rest is a
single dot, a breathing block while it works. Sparks and bursts are
coloured where 0.7.0 coloured them, in the visual system's hues: blue
between agents, magenta to or from the person, both ends bursting, sized
by heat. The sky is a circle again. A name keeps a clear cell either
side so the denser web never runs into it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a past pair new to the hour lays a centred sky again

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky replays the past (sky design, step 5)

`r` in the sky, or `sonny sky --replay [WHEN]`, plays back what happened
from an hour ago, or from WHEN (2h, 30m, 1d ago, or a time such as 02:10).
The sky starts from who is here now, less those made since, all idle, and
the daemon's events from then on play over it as they happened, eight
times as fast: the replay follows `*` from `since_ms` and plays each event
once its written time comes. Space pauses, the left and right arrows step
back and on, [ and ] halve and double the speed (1 to 512 times), and Esc
goes back to live. The footer becomes the replay's line, a bar from where
it started to now, and the chat log says when each line happened.

A jump plays every event it passes, each stamped as long ago as it would
have been had it played, so trails and counts read as playing would and
its sparks have long landed; a spark now lands when its flight ended, not
on the frame that noticed. Stepping back starts again from the start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: replay steps in the list, keeps the hour in event time, reads new models, slims its tape, and finds yesterday by the calendar

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay dates an unwritten live event, such as a deletion, as it comes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: an older spark landing in a replay's jump keeps a newer glow; the replay reads its cast again as it goes live

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay keeps its last 100,000 events, letting the oldest played tenth go

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: wrap the replay line in the README

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay folds who was made or removed in its trimmed events into its cast

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay tapes what came while its cast was read before it starts

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay seats an agent with its new model after a step back

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay takes the listing's model for an agent it saw made

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay reconciles models in one pass and tells a reused name apart by id

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: fill the sky, fold copies into their agent, stretch to the pane

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: document the filled sky, wrap the quiet log's hint in a narrow column

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a copy leaves its agent's asks alone, and is drawn only on the agent that made it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

---------

Co-authored-by: Claude <[email protected]>
lydakis pushed a commit that referenced this pull request Oct 31, 2026
How a lead moves work and words between agents now lives in
sonny/skills/coordination/SKILL.md, preloaded by lead.md through
`skills: [coordination]`: who to tell, naming agents and turns, quoting
the person (with run --quote, from #477), putting two dependent agents
in touch, briefs, and reaching a task. Shipped skills are a layer under
the person's in profile_with, so a role can load one on a fresh machine.
The budget test counts the skills a role loads; commons cuts apply to
the skill as to roles.

lead.md also lets a lead do a small job itself when nothing else is
running. The role eval gains a small day (--day small), plants K1/K2
for two tasks that need each other, messages between agents in the
blind output, and runs that start their own copy of the build and keep
backups inside the run root.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGFmwLuxUfXzWsKGKtj
lydakis pushed a commit that referenced this pull request Oct 31, 2026
How a lead moves work and words between agents now lives in
sonny/skills/coordination/SKILL.md, preloaded by lead.md through
`skills: [coordination]`: who to tell, naming agents and turns, quoting
the person (with run --quote, from #477), putting two dependent agents
in touch, briefs, and reaching a task. Shipped skills are a layer under
the person's in profile_with, so a role can load one on a fresh machine.
The budget test counts the skills a role loads; commons cuts apply to
the skill as to roles.

lead.md also lets a lead do a small job itself when nothing else is
running. The role eval gains a small day (--day small), plants K1/K2
for two tasks that need each other, messages between agents in the
blind output, and runs that start their own copy of the build and keep
backups inside the run root.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGFmwLuxUfXzWsKGKtj
lydakis added a commit that referenced this pull request Oct 31, 2026
* Sonny: composer on the message band, models named as people say them, profile in the footer, reply ↩

The composer sits on the tinted band the person's messages use, from the
row above it down, with a rule in its place without colour. Commons posts
name their model as people say it (Opus 5.5, GPT 6.1 Sol), with provider,
region and vendor prefixes left off. The footer names the profile when it
isn't the seat's own. A message under the mouse shows ↩ in place of its
bullet, and a click quotes it into the composer; margin notes have their
own ↩, and /reply picks an older reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a reply's first row is marked, and a task's note quotes what it shows

A reply that opens with a heading has no bullet, so its first row is now
marked when it is written and the reply mark finds it; a note brought in
from a task quotes what it showed when last read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the band sits evenly round your words, and a hue on a muted row reads

The composer's band now has a row above and below the words, and so do your
sent messages, so what you write looks as it will once sent and the words sit
in the middle of the band, not on its bottom edge. The footer keeps to the
conversation's column, its right edge where the band's is.

Dim over a hue (the footer's branch and agent name, a task's name in a quiet
row) fell under 3:1 in many themes. The muted look now draws a hue on a dim
row at full strength and keeps the words round it muted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky back on the visual system

Magenta means you and blue means agents everywhere else in Sonny, but the
sky drew agent-to-agent sparks magenta, your own sparks in plain bold, and
the commons ripple green (worked). Now:

- what goes to or from you is magenta, "you" in the middle too;
- what goes between agents is blue;
- a commons post ripples in the text's own colour: the ring says it;
- who made whom and who talked are muted, in the measured gray that still
  reads in every theme, so the stars and what happens now stand out;
- names stay in the text's colour: every label on the sky is a name, so
  blue would say nothing more;
- `sonny sky` on its own asks the terminal for its theme and draws through
  the same look, so its muted gray and NO_COLOR match the conversation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky's animation drawn again in the system's colours

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky as a calm window, step 1 of the agreed design

Hues on the sky come down to yellow for what needs you and red for what
failed, plus the cyan tool twinkle; magenta and blue leave it. Structure
takes a new faint weight, measured at about 2.2:1 against the theme's
background, so lines read without competing with marks and names.

A pair that talked in the last minute shows a faint trail that fades. A
chat log sits beside the sky when the pane is wide, newest at the bottom,
fading as it rises, with asks, approvals waiting and failures in their
colour; `?` swaps it for the legend and a few numbers (projects, leads,
agents, messages and tool calls a minute and this hour, the busiest
pair). Working stars breathe slowly, each on its own phase; idle ones
rest muted. `z` is zen: the sky alone, with only what needs you or
failed named. The commons ripple is smaller and the glow halo is gone.
Names keep a blank cell from each other and from other agents' stars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a small pane's chat log keeps to the row kept for it

The list sized itself for one log line under its blank, but up to five
were drawn, so a full list pushed the newest (an approval waiting, a
failure) off the bottom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: format the small-pane log test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's lenses and centring on any agent (sky design, step 2)

Tab swaps lenses on the same agents and events: live, the default; talk,
an hour of trails, denser the more a pair talked, the busiest reaching
muted, where loops and storms show; models, each model in a lead's
place with its agents round its muted name. The footer names the lens
when it isn't live.

The arrows pick a star (its name reversed, as a picker's selection is)
and Enter puts it in the middle: its maker, what it made and whoever it
talked to in the last hour on the first ring, the person included, two
hops on the next. The chat log keeps only its agent's lines and the
footer says whose sky it is. Stars glide to their new places over 0.8s
so the eye keeps its bearings. Esc lets go of the pick, then the centre,
then closes. `sonny sky --center NAME` starts centred, by name, label
or project.

The layout is one radial function now, used by the tree, the models and
the rings by hops. The keys live in `View::press`, shared by the pane
and `sonny sky`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky fits the pane and keeps its places (sky design, step 3)

The sky is an ellipse that fills its canvas, two dots in from the edges,
at most twice as wide as high, so a wide pane has no empty sides; rings
stay round. Projects keep their arms in the order they started (the
daemon's ids), a lead first, so a new project takes the next place
rather than reshuffling the rest, and agents within an arm likewise.
Each arm is as wide as the square root of what is under it, so one big
project can't squeeze the others to nothing. Layout changes glide over
a third of a second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the receive flash, sized by heat; the commons ripple, by reach

A message landing flashes round its star again, shrinking as it fades.
Each landing adds to the agent's heat, which halves as a glow does, and
the flash's radius follows the log of it, bounded, so an agent being
messaged a lot flashes bigger. A commons ripple spreads as far as its
thread reaches: how many other agents have read it or posted in it,
from the commons' own record. A post to an empty board stays small.
Both stay faint and unhued.

Labels keep a blank cell from their own star too, whichever cells it
covers, and the frame-time benchmark is an ignored test for step 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the flash as a halo by proportion; review fixes

The landing flash is sized in braille dots, as the star it rings is,
whatever the pane: one message's ring stands six dots off its star, and
its area grows with the heat, √2 wider each doubling (6, 8.5, 12, 17
dots). Cooling, it fades where it is instead of closing on the star.

A centred sky lays out again when a pair starts or stops talking, so
its rings stay hops through the last hour. An agent made while the sky
is open keeps its model. Too small for the sky, the arrows walk the
list, which shows the pick reversed and keeps it in view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky folds at scale (sky design, step 4)

With thousands of agents only the interesting are stars: who needs the
person, failed, works, glows or leads, scored by interest (Furnas's
degree of interest), as many as the pane has room for. The rest are a
faint dot each, so a cloud's density says its size; a crowd of leaves
under one agent spreads inward into a cloud. Only the biggest clouds
carry a count, at most half as many as the names.

Names keep a blank row from each other, sit beside, over or under their
star, and fill the budget in turn when one has no room; the leads of
the biggest projects are named first. The newest dozen sparks fly.

Frame times (release): 300 agents 0.9 ms, 3,000 1.6 ms, 10,000 3.2 ms
a frame (was 6.6 ms at 10,000).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the models lens follows a model changed while the sky is open

A `configured` event says only which settings changed, so when the
model is among them the sky reads the agent again and moves it to its
model's group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's burst moves as in 0.7.0; a shorter chat log

A message landing bursts round its star and shrinks into it as it
fades, halving every 0.9 s, as it did in 0.7.0, in today's muted then
faint ink. Its size is in braille dots, whatever the pane: one message
bursts as far as 0.7.0's did (5 dots), each doubling of messages at
once √2 wider (its area grows as the heat does), up to 0.7.0's commons
ripple at its widest (24 dots, about two dozen at once).

The chat log beside the sky stops at 12 lines at its foot, three plain,
six muted and three faint, ending where its fade does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's feature row tells of the 0.7.0 burst and the shorter log

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Events keep when they were written; follow can start from a time

Every event now carries `written_ms`, the Unix ms it joined the store, as
history nodes do since #477; events from before schema 68 have none.
`follow` takes `since_ms` instead of `after` and starts from the first
event written at or after it, found by halving the cursor range (cursors
and times rise together), a few point reads however many events are kept.
It is the `usage` op's word for a start time. `agent follow --since 1h`
sends it; `--since` conflicts with `--after`.

This is what a client needs to replay a stretch of the past without
knowing its cursors: step 5 of the sky design, approved by George.

Schema 68, protocol 28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Event times never go back; cursor bounds read from the key's ends

An event is written now or, should the clock have gone back, when the
event before it was, so times rise with cursors and a follow from a time
skips nothing (as a log's time index keeps them). The binary search reads
its bounds with one subquery each, which SQLite answers from the key's
ends instead of scanning. `agent follow --since` takes its time before the
snapshot of the running turn, so a turn ending in between is replayed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Measurements: event times and follow from a time (#498)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky back toward 0.7.0: every pair's curve weighted by the hour, dot agents, bursts both ends, a circle, m for models

Every pair that has talked keeps a curve again, past turns and live, the
last 96 pairs at 0.7.0's weight, denser and brighter the more the pair
talked this hour (past turns counted by the time the daemon wrote them).
One view: the talk and models lenses go; m colours each agent by its
model in place, the footer naming the colours. An agent at rest is a
single dot, a breathing block while it works. Sparks and bursts are
coloured where 0.7.0 coloured them, in the visual system's hues: blue
between agents, magenta to or from the person, both ends bursting, sized
by heat. The sky is a circle again. A name keeps a clear cell either
side so the denser web never runs into it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a past pair new to the hour lays a centred sky again

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky replays the past (sky design, step 5)

`r` in the sky, or `sonny sky --replay [WHEN]`, plays back what happened
from an hour ago, or from WHEN (2h, 30m, 1d ago, or a time such as 02:10).
The sky starts from who is here now, less those made since, all idle, and
the daemon's events from then on play over it as they happened, eight
times as fast: the replay follows `*` from `since_ms` and plays each event
once its written time comes. Space pauses, the left and right arrows step
back and on, [ and ] halve and double the speed (1 to 512 times), and Esc
goes back to live. The footer becomes the replay's line, a bar from where
it started to now, and the chat log says when each line happened.

A jump plays every event it passes, each stamped as long ago as it would
have been had it played, so trails and counts read as playing would and
its sparks have long landed; a spark now lands when its flight ended, not
on the frame that noticed. Stepping back starts again from the start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: replay steps in the list, keeps the hour in event time, reads new models, slims its tape, and finds yesterday by the calendar

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay dates an unwritten live event, such as a deletion, as it comes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: an older spark landing in a replay's jump keeps a newer glow; the replay reads its cast again as it goes live

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay keeps its last 100,000 events, letting the oldest played tenth go

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: wrap the replay line in the README

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay folds who was made or removed in its trimmed events into its cast

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay tapes what came while its cast was read before it starts

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay seats an agent with its new model after a step back

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay takes the listing's model for an agent it saw made

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay reconciles models in one pass and tells a reused name apart by id

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: fill the sky, fold copies into their agent, stretch to the pane

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: document the filled sky, wrap the quiet log's hint in a narrow column

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a copy leaves its agent's asks alone, and is drawn only on the agent that made it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a haiku from the sky's busiest agent (sky design, step 6)

The busiest agent (messages and tool calls over 10 minutes, passing only
to one 50% busier after a 10-minute hold) has a copy of it, allowed no
tool, write a haiku, streamed a word at a time atop the quiet log, or top
right in zen, and signed. Eight a day at most, kept in
~/.agent/sonny/haiku.json so every sky shows the same one; sky_haikus,
sky_haiku_window, sky_haiku_margin and sky_haiku_hold in [sonny].

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: haiku claims take a file lock, other skies' haikus show as they land, no counting when off

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a haiku is kept only for the claim it was written for

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: keep each daemon's haiku apart in the file, by socket

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: what a sky has shown is kept apart from what it last read

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a haiku claim counts only once saved; a written haiku is kept from its task, the sky closed or not

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a sky stacked over its log shows the haiku top right; the haiku rule is read again before each claim

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: the haiku rule is read again every ten seconds, so /config turns haikus back on too

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: every haiku file read and write off the drawing thread; a haiku lives an hour from when it was written

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: keep the haiku copy's name and request id within 128 bytes

A busiest agent named near the daemon's limit made the copy's name, or
its submit's request id, invalid after the day's claim was counted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

---------

Co-authored-by: Claude <[email protected]>
lydakis added a commit that referenced this pull request Oct 31, 2026
…p then (#553)

* Sonny: composer on the message band, models named as people say them, profile in the footer, reply ↩

The composer sits on the tinted band the person's messages use, from the
row above it down, with a rule in its place without colour. Commons posts
name their model as people say it (Opus 5.5, GPT 6.1 Sol), with provider,
region and vendor prefixes left off. The footer names the profile when it
isn't the seat's own. A message under the mouse shows ↩ in place of its
bullet, and a click quotes it into the composer; margin notes have their
own ↩, and /reply picks an older reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a reply's first row is marked, and a task's note quotes what it shows

A reply that opens with a heading has no bullet, so its first row is now
marked when it is written and the reply mark finds it; a note brought in
from a task quotes what it showed when last read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the band sits evenly round your words, and a hue on a muted row reads

The composer's band now has a row above and below the words, and so do your
sent messages, so what you write looks as it will once sent and the words sit
in the middle of the band, not on its bottom edge. The footer keeps to the
conversation's column, its right edge where the band's is.

Dim over a hue (the footer's branch and agent name, a task's name in a quiet
row) fell under 3:1 in many themes. The muted look now draws a hue on a dim
row at full strength and keeps the words round it muted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky back on the visual system

Magenta means you and blue means agents everywhere else in Sonny, but the
sky drew agent-to-agent sparks magenta, your own sparks in plain bold, and
the commons ripple green (worked). Now:

- what goes to or from you is magenta, "you" in the middle too;
- what goes between agents is blue;
- a commons post ripples in the text's own colour: the ring says it;
- who made whom and who talked are muted, in the measured gray that still
  reads in every theme, so the stars and what happens now stand out;
- names stay in the text's colour: every label on the sky is a name, so
  blue would say nothing more;
- `sonny sky` on its own asks the terminal for its theme and draws through
  the same look, so its muted gray and NO_COLOR match the conversation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: /sky's animation drawn again in the system's colours

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky as a calm window, step 1 of the agreed design

Hues on the sky come down to yellow for what needs you and red for what
failed, plus the cyan tool twinkle; magenta and blue leave it. Structure
takes a new faint weight, measured at about 2.2:1 against the theme's
background, so lines read without competing with marks and names.

A pair that talked in the last minute shows a faint trail that fades. A
chat log sits beside the sky when the pane is wide, newest at the bottom,
fading as it rises, with asks, approvals waiting and failures in their
colour; `?` swaps it for the legend and a few numbers (projects, leads,
agents, messages and tool calls a minute and this hour, the busiest
pair). Working stars breathe slowly, each on its own phase; idle ones
rest muted. `z` is zen: the sky alone, with only what needs you or
failed named. The commons ripple is smaller and the glow halo is gone.
Names keep a blank cell from each other and from other agents' stars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a small pane's chat log keeps to the row kept for it

The list sized itself for one log line under its blank, but up to five
were drawn, so a full list pushed the newest (an approval waiting, a
failure) off the bottom.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: format the small-pane log test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's lenses and centring on any agent (sky design, step 2)

Tab swaps lenses on the same agents and events: live, the default; talk,
an hour of trails, denser the more a pair talked, the busiest reaching
muted, where loops and storms show; models, each model in a lead's
place with its agents round its muted name. The footer names the lens
when it isn't live.

The arrows pick a star (its name reversed, as a picker's selection is)
and Enter puts it in the middle: its maker, what it made and whoever it
talked to in the last hour on the first ring, the person included, two
hops on the next. The chat log keeps only its agent's lines and the
footer says whose sky it is. Stars glide to their new places over 0.8s
so the eye keeps its bearings. Esc lets go of the pick, then the centre,
then closes. `sonny sky --center NAME` starts centred, by name, label
or project.

The layout is one radial function now, used by the tree, the models and
the rings by hops. The keys live in `View::press`, shared by the pane
and `sonny sky`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky fits the pane and keeps its places (sky design, step 3)

The sky is an ellipse that fills its canvas, two dots in from the edges,
at most twice as wide as high, so a wide pane has no empty sides; rings
stay round. Projects keep their arms in the order they started (the
daemon's ids), a lead first, so a new project takes the next place
rather than reshuffling the rest, and agents within an arm likewise.
Each arm is as wide as the square root of what is under it, so one big
project can't squeeze the others to nothing. Layout changes glide over
a third of a second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the receive flash, sized by heat; the commons ripple, by reach

A message landing flashes round its star again, shrinking as it fades.
Each landing adds to the agent's heat, which halves as a glow does, and
the flash's radius follows the log of it, bounded, so an agent being
messaged a lot flashes bigger. A commons ripple spreads as far as its
thread reaches: how many other agents have read it or posted in it,
from the commons' own record. A post to an empty board stays small.
Both stay faint and unhued.

Labels keep a blank cell from their own star too, whichever cells it
covers, and the frame-time benchmark is an ignored test for step 4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the flash as a halo by proportion; review fixes

The landing flash is sized in braille dots, as the star it rings is,
whatever the pane: one message's ring stands six dots off its star, and
its area grows with the heat, √2 wider each doubling (6, 8.5, 12, 17
dots). Cooling, it fades where it is instead of closing on the star.

A centred sky lays out again when a pair starts or stops talking, so
its rings stay hops through the last hour. An agent made while the sky
is open keeps its model. Too small for the sky, the arrows walk the
list, which shows the pick reversed and keeps it in view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky folds at scale (sky design, step 4)

With thousands of agents only the interesting are stars: who needs the
person, failed, works, glows or leads, scored by interest (Furnas's
degree of interest), as many as the pane has room for. The rest are a
faint dot each, so a cloud's density says its size; a crowd of leaves
under one agent spreads inward into a cloud. Only the biggest clouds
carry a count, at most half as many as the names.

Names keep a blank row from each other, sit beside, over or under their
star, and fill the budget in turn when one has no room; the leads of
the biggest projects are named first. The newest dozen sparks fly.

Frame times (release): 300 agents 0.9 ms, 3,000 1.6 ms, 10,000 3.2 ms
a frame (was 6.6 ms at 10,000).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the models lens follows a model changed while the sky is open

A `configured` event says only which settings changed, so when the
model is among them the sky reads the agent again and moves it to its
model's group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's burst moves as in 0.7.0; a shorter chat log

A message landing bursts round its star and shrinks into it as it
fades, halving every 0.9 s, as it did in 0.7.0, in today's muted then
faint ink. Its size is in braille dots, whatever the pane: one message
bursts as far as 0.7.0's did (5 dots), each doubling of messages at
once √2 wider (its area grows as the heat does), up to 0.7.0's commons
ripple at its widest (24 dots, about two dozen at once).

The chat log beside the sky stops at 12 lines at its foot, three plain,
six muted and three faint, ending where its fade does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky's feature row tells of the 0.7.0 burst and the shorter log

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Events keep when they were written; follow can start from a time

Every event now carries `written_ms`, the Unix ms it joined the store, as
history nodes do since #477; events from before schema 68 have none.
`follow` takes `since_ms` instead of `after` and starts from the first
event written at or after it, found by halving the cursor range (cursors
and times rise together), a few point reads however many events are kept.
It is the `usage` op's word for a start time. `agent follow --since 1h`
sends it; `--since` conflicts with `--after`.

This is what a client needs to replay a stretch of the past without
knowing its cursors: step 5 of the sky design, approved by George.

Schema 68, protocol 28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Event times never go back; cursor bounds read from the key's ends

An event is written now or, should the clock have gone back, when the
event before it was, so times rise with cursors and a follow from a time
skips nothing (as a log's time index keeps them). The binary search reads
its bounds with one subquery each, which SQLite answers from the key's
ends instead of scanning. `agent follow --since` takes its time before the
snapshot of the running turn, so a turn ending in between is replayed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Measurements: event times and follow from a time (#498)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky back toward 0.7.0: every pair's curve weighted by the hour, dot agents, bursts both ends, a circle, m for models

Every pair that has talked keeps a curve again, past turns and live, the
last 96 pairs at 0.7.0's weight, denser and brighter the more the pair
talked this hour (past turns counted by the time the daemon wrote them).
One view: the talk and models lenses go; m colours each agent by its
model in place, the footer naming the colours. An agent at rest is a
single dot, a breathing block while it works. Sparks and bursts are
coloured where 0.7.0 coloured them, in the visual system's hues: blue
between agents, magenta to or from the person, both ends bursting, sized
by heat. The sky is a circle again. A name keeps a clear cell either
side so the denser web never runs into it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a past pair new to the hour lays a centred sky again

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the sky replays the past (sky design, step 5)

`r` in the sky, or `sonny sky --replay [WHEN]`, plays back what happened
from an hour ago, or from WHEN (2h, 30m, 1d ago, or a time such as 02:10).
The sky starts from who is here now, less those made since, all idle, and
the daemon's events from then on play over it as they happened, eight
times as fast: the replay follows `*` from `since_ms` and plays each event
once its written time comes. Space pauses, the left and right arrows step
back and on, [ and ] halve and double the speed (1 to 512 times), and Esc
goes back to live. The footer becomes the replay's line, a bar from where
it started to now, and the chat log says when each line happened.

A jump plays every event it passes, each stamped as long ago as it would
have been had it played, so trails and counts read as playing would and
its sparks have long landed; a spark now lands when its flight ended, not
on the frame that noticed. Stepping back starts again from the start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: replay steps in the list, keeps the hour in event time, reads new models, slims its tape, and finds yesterday by the calendar

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay dates an unwritten live event, such as a deletion, as it comes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: an older spark landing in a replay's jump keeps a newer glow; the replay reads its cast again as it goes live

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay keeps its last 100,000 events, letting the oldest played tenth go

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: wrap the replay line in the README

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay folds who was made or removed in its trimmed events into its cast

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay tapes what came while its cast was read before it starts

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay seats an agent with its new model after a step back

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay takes the listing's model for an agent it saw made

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sonny: a replay reconciles models in one pass and tells a reused name apart by id

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: fill the sky, fold copies into their agent, stretch to the pane

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: document the filled sky, wrap the quiet log's hint in a narrow column

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a copy leaves its agent's asks alone, and is drawn only on the agent that made it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a haiku from the sky's busiest agent (sky design, step 6)

The busiest agent (messages and tool calls over 10 minutes, passing only
to one 50% busier after a 10-minute hold) has a copy of it, allowed no
tool, write a haiku, streamed a word at a time atop the quiet log, or top
right in zen, and signed. Eight a day at most, kept in
~/.agent/sonny/haiku.json so every sky shows the same one; sky_haikus,
sky_haiku_window, sky_haiku_margin and sky_haiku_hold in [sonny].

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: haiku claims take a file lock, other skies' haikus show as they land, no counting when off

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a haiku is kept only for the claim it was written for

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: keep each daemon's haiku apart in the file, by socket

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: what a sky has shown is kept apart from what it last read

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a haiku claim counts only once saved; a written haiku is kept from its task, the sky closed or not

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: a sky stacked over its log shows the haiku top right; the haiku rule is read again before each claim

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: the haiku rule is read again every ten seconds, so /config turns haikus back on too

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* sky: every haiku file read and write off the drawing thread; a haiku lives an hour from when it was written

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: keep the haiku copy's name and request id within 128 bytes

A busiest agent named near the daemon's limit made the copy's name, or
its submit's request id, invalid after the day's claim was counted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a replay keeps who had talked before it, and shows the haiku up then

Replay read only events from its start, so the web of who has talked,
which live seeds from past turns, began empty. It now reads the last
message of each pair before its start on a connection of its own, and
what goes off the tape's start joins it. The haiku file keeps a day of
haikus, and a replay shows the one up at its time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the replay GIF shows the whole web from its start and a haiku

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a replay reads the day's haikus again as it plays

A haiku another sky wrote while a replay played never showed when the
replay reached it: the day's haikus were read once, as it opened.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: a replayed haiku streams in at the replay's speed

Its words come in on the replay's clock: faster as the replay speeds
up, held still while it is paused (George).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

* Sonny: the replay GIF with the haiku at the replay's speed

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa

---------

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lookout notes carry task replies with no origin, so the approver reads them as the person's

2 participants