Skip to content

emu: wmsz to #z and 2fa to #h, off the watchdog's and flash's letters - #1040

Merged
pdfinn merged 3 commits into
masterfrom
fix/hosted-letters-wz-fh
Nov 1, 2026
Merged

pdfinn merged 3 commits into
masterfrom
fix/hosted-letters-wz-fh

Conversation

@pdfinn

@pdfinn pdfinn commented Oct 31, 2026

Copy link
Copy Markdown
Member

Two hosted devices held letters that their precedents give to other devices (docs/DEVICE-LETTERS.md, #1036):

  • wmsz had #w, which is the watchdog in Plan 9 and 9front.
  • 2fa had #F, which is flash in Plan 9, 9front and Inferno.

They take letters that are free in all three: #z (for size) and #h (for hardware key).

Changed: devwmsz.c and wm.b's #z/wmsize; devtfa.c, twofa.b, twofa.m, twofaslot.b and the 2fa docs (docs/history/ left as it was).

For hosted users: a script that binds #w or #F itself must now bind #z or #h. /dev/2fa and wmsize are unchanged wherever the libraries bind them.

Tests

  • Linux arm64 emulator: #z lists wmsize, #h lists cred ctl derive providers, and #w and #F are unknown devices.
  • twofaslot_test: 6/6.
  • wmsize_test needs the SDL emulator, so CI's GUI job is what runs it.

Order with #1036: whichever merges second updates the registry's #w, #z, #F and #h rows.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T5tjh7MFpJjYJnvTT33utv

xxxxxxxxxxxxx and others added 3 commits October 31, 2026 20:19
Two hosted devices held letters their precedents give to others: wmsz
had #w, the watchdog in Plan 9 and 9front, and 2fa had #F, flash in
Plan 9, 9front and Inferno (docs/DEVICE-LETTERS.md, #1036). They take
letters free in all three: #z (size) and #h (a hardware key).

devwmsz.c and wm.b's #z/wmsize; devtfa.c, twofa.b, twofa.m, twofaslot.b,
and the 2fa docs. A script that binds #w or #F itself must bind #z or #h.

Emulator: ls '#z' is wmsize, ls '#h' is cred ctl derive providers, #w and
#F are unknown devices; twofaslot_test 6/6. wmsize_test needs the SDL
emulator (CI's GUI job).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T5tjh7MFpJjYJnvTT33utv
@pdfinn
pdfinn merged commit a62508e into master Nov 1, 2026
25 of 27 checks passed
@pdfinn
pdfinn deleted the fix/hosted-letters-wz-fh branch November 1, 2026 04:30
pdfinn pushed a commit that referenced this pull request Nov 1, 2026
…t them

devletters.py --check was failing on master for #X, #h and #z too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0195u6z8JjsAy9yrE5TqKxzx
pdfinn pushed a commit that referenced this pull request Nov 1, 2026
#1037, #1038, #1039 and #1040 merged around the registry (#1036), so
master's devletters_test failed: #K prof, #X vm, #x bench, #z wmsz and
#h tfa were in use and still "reserved" here. Their rows are in use;
#P is arch only; #b, #w and #F are free here, at their precedents'
meanings, #w and #F now reserved for a watchdog and flash. The planned
moves are the moves made.

tools/devletters.py --check: PASS, 36 letters in use across 20 builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T5tjh7MFpJjYJnvTT33utv
(cherry picked from commit d147d1b)
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.

2 participants