Skip to content

Quiet the menu and Settings, leave a call's mallet on the wood, and move six skins to the gallery - #43

Merged
ya-luotao merged 5 commits into
mainfrom
quieter-surface
Nov 10, 2026
Merged

ya-luotao merged 5 commits into
mainfrom
quieter-surface

Conversation

@ya-luotao

@ya-luotao ya-luotao commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Plinth had gathered more surface than a wooden fish needs: a menu that repeated Settings, numbers beside things the ear already measures, and six skins that belong to a desk, not a hall. This takes that surface away and spends the room on one thing the fish does that nothing else does: calling you back.

Five commits, each of which builds and passes its tests on its own.

The menu and Settings (d9bc4bc)

  • The menu holds what the fish can be asked to do: Knock, Auto-Knock, Light Incense or Put Out the Incense, then Check for Updates… outside the App Store, Settings… and Quit Plinth. The four named paces, the rhythm, knock as you type, placement and the skin list were all in Settings already, and are only there now.
  • No seconds and no minutes. The pace slider, now labelled Pace, shows no readout, and the incense lengths are Half a stick, One stick and Long incense. The slider still moves in tenths of a second from 0.4 to 8.
  • One footnote under While You Work, of what Plinth never does: learn which key, listen to a microphone, or ask for a permission. The four it replaces explained typed knocks, the long-typing bell, quiet in calls and the mallet key, all of which the README says. The mallet key's rule is now the Record Key button's help tag.

What left the interface and lives only in the README: the named paces (With the breath among them), the seconds, the incense minutes, and those explanations.

The day's line (f277c4d)

The fish's line was in a translucent bubble, in the system's serif. It is now on a slip of the scroll's rice paper, in Songti SC and the scroll's ink, as the iPhone already writes it. It stays paper in Dark Mode.

The call (2b1551c)

plinth://call knocked three times and left nothing behind. And a call made while a microphone was in use, which makes no sound, was ended by the next key or click, as if it had been heard.

  • The third knock leaves the mallet on the wood. A key or a click that answers the call lifts it slowly. A call no one answers leaves it there until the next knock of any kind.
  • The menu bar icon shows the mallet lying on the figure while it does, for when the fish is unseen or under a window.
  • A call that can't be heard is not answered by a key or a click. All three knocks fall and the mallet waits.
  • Nothing is counted: after three calls it lies as it does after one.

A limit to know about. The next knock lifts the mallet whoever makes it. With auto-knock or knock as you type on, it lies there only until the accompaniment resumes, and in a meeting the first key typed lifts it without a sound. Holding the accompaniment until the call is answered would keep it, and would press for an answer the fish leaves to you. That is left as a decision, not made here.

Six skins to the gallery (b3ceb05)

  • Fifteen skins ship: the fish, and what a hall is called by. The space key, piston, CRT terminal, abacus, seal and mug move to the community gallery, in Add the six skins that used to ship with Plinth plinth-skins#3.
  • A fish wearing one of the six keeps it on the Mac. The app still carries them in App/Resources/Retired (2.1 MB) for that alone: at launch the worn one is copied into the skins folder, unless a skin of its name is there, and worn from there. The iPhone app bundles Skins alone and has no skins folder, so there such a fish goes back to ink.
  • skin.json may give names, keyed by language, so the six keep their Chinese names outside Skins.strings. This is new to the skin format, and documented in docs/SKINS.md.
  • All twenty-one voices stay, as the gallery's skins use them. docs/skins.png is redrawn with the fifteen.

The space bar's name (ce9a8c0)

The Chinese strings table had "Space" twice, as 空格 for the mallet key and as 空间 for the room a knock rings in. The key's name now has a key of its own.

Verification

Run with Xcode 27.0 on macOS 27.

  • swift build, PLINTH_APPSTORE=1 swift build and swift test pass at the tip: 10 tests, 5 of them new. The first four commits were each checked out, built and tested too.
  • CallTests: a call with the volume down leaves the mallet down after the third knock and after the call ends; the next knock lifts it with a swing that rises; the one after doesn't.
  • SkinTests: names by language, and the handover between temporary folders, which copies the worn skin, leaves a skin of the same name alone, and refuses any other id.
  • scripts/build_app.sh builds an app with fifteen in Skins and six in Retired. A copy under another bundle ID ran for 15 seconds and left the skins folder as it was.
  • The .plinthskin files the gallery's script packs unpack through SkinArchive.unpack with their bytes, voice, strike, glow and both names.
  • Rendered off screen and looked at: the mallet through an unanswered call, the menu bar icon at 18 and 36 pixels, the slip with five of the lines, and the Settings window in English.

Not verified:

  • The held mallet on macOS 14 to 26. It relies on a keyframe track keeping its last value when it ends, which a probe showed on macOS 27 only. If an older system goes back to the initial value, the mallet would spring up while the icon shows it down.
  • A key or a click answering a heard call, which a test can't press.
  • The iPhone app, which shares PlinthCore, the strings table and the skins. It needs Xcode 27.1 and wasn't built.
  • The menus and the Chinese interface, which were not opened. The strings table was checked against the code.
  • The 18-pixel icon on a real menu bar. At that size the mallet reads as a slanted stroke over a smaller figure.
  • The handover through a launch, since every bundle ID shares the skins folder.

Before a release

🤖 Generated with Claude Code

https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

ya-luotao and others added 5 commits November 10, 2026 13:38
The mallet key's name for the space bar was looked up under "Space",
the key the strings table also has for the room a knock rings in. The
Chinese table had it twice, as 空格 and as 空间, and a table keeps one
translation to a key, so a mallet key of ⌃⌥Space could read as the
room.

The key's name now has a key of its own, "Space (key)", which still
reads Space in English.

Not seen in the running app: the Chinese interface was not opened.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
The menu had grown to hold most of Settings: four named paces, the
rhythm, knock as you type, placement, and every skin. It now holds what
the fish can be asked to do: Knock, Auto-Knock, Light Incense or Put
Out the Incense, and then Check for Updates… outside the App Store,
Settings… and Quit Plinth. How it knocks, where it sits and what it
wears are in Settings, where they already were.

Numbers that measure are gone from the interface. The pace slider, now
labelled Pace, shows no seconds: the fish is knocking as it is set, and
the ear sets the pace. It still moves in tenths of a second, from 0.4
to 8. The incense lengths are Half a stick, One stick and Long incense,
without their minutes.

Under While You Work, four footnotes explained typed knocks, the
long-typing bell, quiet in calls and the mallet key. The README says
all of that. One line is left, of what Plinth never does: learn which
key, listen to a microphone, or ask for a permission. The rule a mallet
key must meet is now the Record Key button's help tag, for whoever
wonders why a key was refused.

The menu's named paces, With the breath among them, have no successor
in the interface. The README says where on the slider a knock to each
breath out lies.

The strings table loses what only the menu and the footnotes used, and
keeps "Skin" for the iPhone's palette button. The READMEs and the skin
format point to Settings → Skins where they pointed to the menu, and
give the minutes the menu no longer does.

The Settings window was rendered in English and looked at. The menus
and the Chinese interface were not opened; the strings table was
checked against the code, with no entry unused and none missing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
The day's line came in a translucent bubble, in the system's serif. It
is now written as the scroll in Settings > Why a Fish is: in Songti SC
and the scroll's ink, on a slip of its rice paper under the fish, with
a hairline edge. The iPhone already writes the line in a Song face, on
paper. The slip stays paper in Dark Mode, as the scroll does.

The paper and the ink are named once, in Paper, for the slip and the
scroll both. The slip rises into place and fades as the bubble did, and
the last line still leaves it empty for a moment before it goes.

Rendered off screen with five of the lines and looked at. Not seen over
a real desktop, in light or dark.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
plinth://call knocked three times and was gone: whoever was away from
the Mac came back to a fish that looked as it always does. And a call
made while a microphone was in use, which makes no sound, was ended by
the next key or click, as if it had been heard and answered.

The third knock now leaves the mallet lying on the wood. A key or a
click that answers the call lifts it, as slowly as 压槌 lifts. A call no
one answers leaves it there until the next knock of any kind, which
lifts it partway and swings. While it lies there, the menu bar icon
shows the figure with its mallet on it, for when the fish is unseen or
under a window. Nothing is counted: after three calls it lies as it
does after one.

Whether a call can be heard is settled once, as its first knock is
made. One that can't be, with the volume all the way down or another
app listening to a microphone, is not answered by a key or a click: all
three knocks fall, and the mallet waits. A knock by hand, on the fish
or on the painted one, and putting out the incense still end any call.

The next knock lifts the mallet whoever makes it. So with auto-knock or
knock as you type on, it lies there only until the accompaniment
resumes, and in a meeting the first key typed lifts it without a sound.
Holding the accompaniment back until the call is answered would keep
the mallet down, and would press for an answer that the fish leaves to
you. That is not done here.

Swing gains `holds`, for a swing that lands and stays, and `rises`, for
the one after it. A keyframe track that ends keeps its last value, and
the next starts from the initial value given then, so a held mallet
runs nothing while it lies there. A throwaway probe showed this on
macOS 27 only. The app runs from macOS 14: if a track there goes back
to its initial value when it ends, the mallet would spring up while the
icon still shows it down. Sprite's mallet and its measures are public,
for the app to draw the icon from.

CallTests makes a call with the volume down: the mallet is down after
the third knock and after the call has ended, the next knock lifts it
with a swing that rises, and the knock after that doesn't. A key or a
click answering a heard call has no test, as a test can't press one.
The mallet through such a call, and the icon at 18 and 36 pixels, were
rendered off screen and looked at. At 18 pixels the mallet reads as a
slanted stroke over a smaller figure.

SpriteFish and Swing are shared with the iPhone app, which makes no
calls. It was not built: this Mac has only Xcode 27.0.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
Twenty-one skins shipped with Plinth. Fifteen are the fish, and what a
hall is called by: the bowl, the gong, the chimes, the boards. The
other six, the space key, piston, CRT terminal, abacus, seal and mug,
are things of the desk. They leave the built-in list for the community
gallery, where rubycatco/plinth-skins#3 adds them.

A fish wearing one of the six when it updates keeps it. The app still
carries them, in App/Resources/Retired (2.1 MB), for that alone: at
launch, SkinOption.handOver copies the worn one into the fish's own
skins folder, unless a skin of its name is there already, and the fish
wears it from there. Only an id that names a folder directly in Retired
is handed over. The iPhone app bundles Skins alone and has no skins
folder, so there a fish wearing one of the six goes back to ink.

A skin in that folder is named by its skin.json, not by Skins.strings,
so the six would have lost their Chinese names. skin.json may now give
`names`, keyed by language as an app's localizations are, and Plinth
shows the one for the language it runs in, or `name` when there is
none. The six carry theirs.

All twenty-one voices stay, as the gallery's skins use them.

docs/skins.png is redrawn with the fifteen, three rows of five. The
sheet tool draws those of the show-off video's cast that still ship;
the video tool reads the other six from Retired, and takes its fonts'
folder from PLINTH_FONTS. The site and both videos still show
twenty-one.

SkinTests covers `names` by language, and the handover between
temporary folders: it copies the worn skin, leaves a skin of the same
name alone, and refuses any other id, one that climbs out of Retired
among them. The export test packs and unpacks the fifteen and the six.

swift build, PLINTH_APPSTORE=1 swift build and swift test, ten tests,
pass. scripts/build_app.sh builds an app with fifteen in Skins and six
in Retired; a copy under another bundle ID ran for 15 seconds and
left the skins folder as it was. The handover was not
tried through a launch, as every bundle ID shares that folder. The
.plinthskin files the gallery's script packs unpack through
SkinArchive.unpack with their bytes, voice, strike, glow and both
names.

plinth-skins#3 has to merge, and its release be published, before a
release of Plinth without the six.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wuLhFX9PCBmXQ5bNpjCvA
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T05:47:44.301642Z b3ceb05 PR opened
🔒 Security Review ✅ Completed 2026-11-10T05:54:00.149295Z b3ceb05 PR opened
ℹ️ 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.

@ya-luotao
ya-luotao merged commit 38219d1 into main Nov 10, 2026
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.

1 participant