Skip to content

Engine license (2/2): the installer stops asking for a name - #469

Merged
teaspoonai merged 9 commits into
mainfrom
license-installer-no-name
Nov 24, 2026
Merged

teaspoonai merged 9 commits into
mainfrom
license-installer-no-name

Conversation

@teaspoonai

@teaspoonai teaspoonai commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Step 2 of 2 (contract) after #468. Counsel advised dropping the name from the engine license acceptance, and this is the installer side.

Don't mark ready or merge until #468's Worker is confirmed live (an acceptance without a name gets 200). The Worker before #468 answers 400 without a name, and the one-line installer clones main, so merging this first would make every fresh install fail.

After this merges, never roll the Worker back past #468, for the same reason.

#468 was squash-merged (1363b64c), so this PR now targets main with main merged in; its diff is only the installer, its test and the docs. The other docs files change only their <!-- source: --> line numbers, because install.sh lines 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-eula now needs only --email (plus --license-id for 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_NAME is ignored silently. The comment shares an existing line, so install.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 X and --name=X are accepted and ignored.
  • Docs: reference/licenses.md, reference/installer.md, getting-started/installation.md and docs/engine-license-data.md describe what's asked now. Removing lines from install.sh moved the lines docs pages cite. lint.mjs --fix-sources remapped 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_NAME in 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 on main.
  • bash -n install.sh passes.
  • An independent review of the combined change found no problems in the installer: argument parsing in every position, and no name in the body, receipt, environment, command line or logs. Its two small findings here (the doubled --name note, and the PR description wrongly saying TEAPORT_NAME prints a note) are fixed.

Follow-ups outside this repo

  • Engine License v2.0 draft, section 6.2: drop "name" from the bracketed list. It also says "hardware or instance ID", but what's sent is a hash of the machine ID.
  • Privacy notice draft, section 3: the acceptance row should list email, IP, country, browser/client (user agent), a hashed device ID, personal vs. licensed use, and the license ID. No name.

🤖 Generated with Claude Code

teaspoonai and others added 6 commits November 23, 2026 16:28
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>
teaspoonai and others added 2 commits November 23, 2026 17:08
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
@teaspoonai
teaspoonai changed the base branch from license-drop-name to main November 24, 2026 04:56
…name

# Conflicts:
#	docs/engine-license-data.md
#	docs/src/content/docs/reference/licenses.md
@teaspoonai
teaspoonai marked this pull request as ready for review November 24, 2026 07:01
@teaspoonai
teaspoonai merged commit 597ed30 into main Nov 24, 2026
8 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