Skip to content

Stop exporting the 開発工場 token to server login shells - #47

Merged
quolu merged 1 commit into
mainfrom
retire-server-devfactory-token
Nov 15, 2026
Merged

quolu merged 1 commit into
mainfrom
retire-server-devfactory-token

Conversation

@quolu

@quolu quolu commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Removes setup-1password.sh --server-host (SERVER_PROFILE / provision_server). It created a 開発工場 read/write Service Account and installed ~/.bashrc.d/1password.sh, exporting that token as OP_SERVICE_ACCOUNT_TOKEN to every login shell on main-server. Owner design (2026-11-11): only BellTeam reads 開発工場.

After this, a server login shell exports no 1Password token. Unattended reads (lib/factory/op-secret.mjs, bin/dotagents-op-run.mjs) fall back to the host read-only store unattended.cred (unchanged contract).

  • Code: provisioning path and its now-unused shlex import removed.
  • Tests: the two tests for the removed path removed; tests/install/onepassword.test.py 14 pass.
  • Contract/diagram: docs/feature-map/setup.md row, setup.mmd node, shared/runbooks/1password.md.

The host files on main-server (~/.bashrc.d/1password.sh, main-server.cred) are removed separately after merge.

🤖 Generated with Claude Code

setup-1password.sh --server-host created a 開発工場 read/write Service
Account and installed ~/.bashrc.d/1password.sh, which exported it to
every login shell on the server. Owner design (2026-11-11): only
BellTeam reads 開発工場. Remove that provisioning path; server
unattended reads use only the host read-only token (unattended.cred)
through op-secret / dotagents-op-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@quolu
quolu merged commit 941259a into main Nov 15, 2026
5 checks passed
@quolu
quolu deleted the retire-server-devfactory-token branch November 15, 2026 04:45
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