Repository navigation
Engine license (2/2): the installer stops asking for a name - #469
Merged
Merged
Conversation
Counsel advised dropping the name: it is typed and unverified, and the email, the use (personal, or a Teaspoon AI license's id) and the accepted text's hash already say who accepted what. A name kept for seven years added personal data and no proof. - install.sh no longer asks "Your full name" and sends no name; --name and TEAPORT_NAME are taken and ignored, so scripts written for the old installer keep working. - The Worker ignores a name an older installer still sends, instead of refusing it. - Migration 0002 drops acceptances.name, which also erases the names already recorded. - docs/engine-license-data.md and the docs pages say what is asked now; source comments re-cited to the moved install.sh lines (docs lint: 0 errors). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
packaging/RELEASING.md: a migration must leave the schema usable by the Worker before it (add, never rename or drop), because a rollback does not undo migrations. DROP COLUMN name broke that: rolled back, the old Worker's INSERT names `name` and every acceptance fails. 0002 now blanks the recorded names (UPDATE ... SET name = ''), and the Worker writes the column empty. The old Worker keeps working against it, so a rollback is safe and the migrate/deploy gap is gone. A later release drops the column, once nothing can roll back to a Worker that writes it. A test applies 0002 and then inserts as the old Worker does. Raised in review by teagram-engine-5b via the teaport coordinator session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…plied installer_lock runs install.sh again with the same arguments, so the --name note printed twice; the child (TEAPORT_INSTALL_LOCKED) now stays quiet. The comment shares a line, so install.sh keeps its length and the docs' citations their ranges (four parser hashes updated; the claims they back are unchanged). 0002's header said it is applied by the workflow before each deploy; it is applied like any migration here, and is safe before or after the Worker that writes name = ''. From an independent review of #468. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installer change moves to its own PR, merged once this Worker is live. The one-line installer clones main, so with both in one PR a merge would put a no-name installer in front of the old Worker, which answers 400 without a name: every fresh install fails until the Worker is deployed by hand. This PR keeps: the Worker writes name = '' and no longer requires one (any installer works), migration 0002 blanking the stored names, the Worker tests, and the data note's Worker side. install.sh, its test and the docs pages are back to main's; the license page's citation of the Worker's INSERT follows it one line down. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counsel advised dropping the name. install.sh no longer asks "Your full name" and sends no name; --name and TEAPORT_NAME are taken and ignored (the --name note printed once), so scripts written for the old installer keep working. Merge only once the Worker from the PR before this one is live: the Worker before it refuses an acceptance without a name. The docs pages and docs/engine-license-data.md say what is asked now; source comments re-cited to the moved install.sh lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the second independent review of #468: the note described the deployed state as already true (nothing deploys on merge), said released installers send a name (no release tag's does; only install.sh on main), and left out that blanked names stay recoverable through D1 Time Travel for its window, and that a rollback past this Worker stores names again, which 0002 will not blank a second time by itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/engine-license-data.md
…name # Conflicts: # docs/engine-license-data.md # docs/src/content/docs/reference/licenses.md
teaspoonai
marked this pull request as ready for review
November 24, 2026 07:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 2 of 2 (contract) after #468. Counsel advised dropping the name from the engine license acceptance, and this is the installer side.
#468 was squash-merged (
1363b64c), so this PR now targetsmainwithmainmerged in; its diff is only the installer, its test and the docs. The other docs files change only their<!-- source: -->line numbers, becauseinstall.shlines moved.What changes
install.sh: no longer asks "Your full name:" and sends no name, in either the request body or the on-box receipt. Without a terminal,--accept-eulanow needs only--email(plus--license-idfor licensed use).--name/--name=are still taken from scripts written for the old installer, and ignored with a note printed once (the installer runs itself again under its lock, and the second run stays quiet).TEAPORT_NAMEis ignored silently. The comment shares an existing line, soinstall.sh's line count around the parser stays put.brain/tests/test_install_eula_gate.py: the prompt test no longer expects a "full name" prompt. The no-terminal path needs only--email. A new test checks that--name Xand--name=Xare accepted and ignored.reference/licenses.md,reference/installer.md,getting-started/installation.mdanddocs/engine-license-data.mddescribe what's asked now. Removing lines frominstall.shmoved the lines docs pages cite.lint.mjs --fix-sourcesremapped those citations, and I re-checked by hand the 8 that cite lines this PR changes: their claims still hold, and the one stale sentence (TEAPORT_NAMEin installation.md) was fixed.Tested
brain/tests/test_install_eula_gate.py(run directly): 19/19 pass.node --test worker/test/index.test.mjs(Node 22): 24/24 pass.docs/docs-work/lint.mjs: 0 errors. The 105 warnings were already onmain.bash -n install.shpasses.--namenote, and the PR description wrongly sayingTEAPORT_NAMEprints a note) are fixed.Follow-ups outside this repo
🤖 Generated with Claude Code