Skip to content

spin: forget only the saved workspaces the page itself addressed - #1

Merged
aledbf merged 1 commit into
patch/spinbox-environmentsfrom
spinbox-forget-own
Nov 22, 2026
Merged

aledbf merged 1 commit into
patch/spinbox-environmentsfrom
spinbox-forget-own

Conversation

@aledbf

@aledbf aledbf commented Nov 22, 2026

Copy link
Copy Markdown
Member

Why

Spinbox's Agents page shows exactly the person's workspaces' agents. The client forgets saved environments the page's list leaves out, and it did so for every saved entry, not only the ones at the page's own addresses (<workspace>.spinbox.invalid). Inside Spinbox no other entry can be saved today, so this is defense in depth: the page can say a workspace of its own is gone, never that an entry it did not make is unwanted (spin-stack/spin#1503).

Change

unlistedEnvironmentIds skips entries with no bearer profile or an address outside *.spinbox.invalid. One new row in the forget tests; it fails with the check removed (45 pass, 1 fails), and all 46 pass with it.

Release (not done here)

This is a patch/spinbox-environments change. To ship: merge, restack spin (.github/spin/stack.sh <upstream tag>, force-with-lease), tag v0.1.10-spin.14, let the spin-client workflow publish, then bump t3code-client in spin's versions.yaml (task bump NAME=t3code-client).

🤖 Generated with Claude Code

The forgetter removed every saved entry whose address the page did not list.
It now removes only entries at a <workspace>.spinbox.invalid address, the
page's own: it can say a workspace of its own is gone, never that an entry it
did not make is unwanted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit b576d20 into patch/spinbox-environments Nov 22, 2026
5 of 17 checks passed
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