refactor(rename): branding strings + active-use docs → bitSpire

Final rename commit covering user-facing copy and the docs that
describe current state. The mechanics of the rename are done after
this; the LNbits backend swap (phase 3) is the next concern.

Code branding strings (Lightning invoice descriptions):
  apps/machine/src/services/lightning.ts
  apps/machine/src/stores/atm.ts
  docs/clink-protocol.md  (example code blocks)
    "Lamassu ATM Payment"        → "bitSpire Payment"
    "Lamassu ATM - Cash Out"     → "bitSpire - Cash Out"
    `Lamassu ATM - Buy ${n} sats`→ `bitSpire - Buy ${n} sats`

Top-level docs:
  README.md, CLAUDE.md — title + intro + dir-tree references.
  deploy/nixos/README.md — title + worktree-path commands.
  docs/machine-installation.md — opening line carries the historical
    note ("Lamassu Next" → "bitSpire"). The body still uses
    `/opt/lamassu/` paths and the `lamassu-kiosk` systemd unit
    because the dev branch is moving to NixOS disk-image flash
    (phase 4) — this AppImage-sideload doc represents the legacy
    deploy path. Leaving the LP/lamassu refs in there as part of
    its historical context; a separate doc will describe the
    NixOS path.
  .claude/skills/nostr-check.md — header only.

DELIBERATELY left as "Lamassu Next" (pedagogical / historical):
  - docs/adr/001-hal-architecture.md — frozen ADR; renaming
    distorts the historical decision context.
  - docs/architecture-comparison.md — deliberately contrasts
    "lamassu-server" (prior) with "lamassu-next" (us at the time
    of writing).

NOT done in this commit (deferred to LNbits/clean-up phase):
  - docker/docker-compose.dev.yml container names
    (lamassu-relay, lamassu-bitcoind, etc.) — these belong to the
    LP-bearing dev stack that 3c/3d will significantly reshape.

Verified: pnpm typecheck clean (12/12 cached).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-05-13 12:39:02 +02:00
commit 219e7e1e4d
8 changed files with 23 additions and 23 deletions

View file

@ -985,7 +985,7 @@ export async function initializeLightningServices(options?: {
console.log('[CLINK] Creating invoice for', amountSats, 'sats')
const invoice = await lightningPub.createInvoice({
amountSats,
description: request.description || 'Lamassu ATM Payment',
description: request.description || 'bitSpire Payment',
})
console.log('[CLINK] Invoice created:', invoice.paymentRequest.slice(0, 32) + '...')
@ -1225,7 +1225,7 @@ function createATMServices(
try {
const invoice = await lightningPub.createInvoice({
amountSats,
description: 'Lamassu ATM - Cash Out',
description: 'bitSpire - Cash Out',
})
console.log('[ATM Service] createInvoice response:', invoice)

View file

@ -696,7 +696,7 @@ export const useAtmStore = defineStore('atm', () => {
console.log('[ATM] Generating invoice for debit request...')
const invoice = await lightningPub.value.createInvoice({
amountSats: amount,
description: `Lamassu ATM - Buy ${amount} sats`,
description: `bitSpire - Buy ${amount} sats`,
})
if (!invoice.paymentRequest) {
@ -709,7 +709,7 @@ export const useAtmStore = defineStore('atm', () => {
invoice.paymentRequest,
{
amountSats: amount,
description: `Lamassu ATM - Buy ${amount} sats`,
description: `bitSpire - Buy ${amount} sats`,
}
)