Purchase persistent claim capacity through clan bank accounts and Tax treasury

This commit is contained in:
unimatrix 2026-11-16 23:35:32 +00:00
commit 8899eea0fc

View file

@ -0,0 +1,26 @@
# Persistent web claim upgrades
The owner requested live WEB testing using saved invented Home Blocks, rather
than an isolated simulator. This is a separate follow-up to PR362.
GET/POST `/api/v1/claims/upgrades` uses the existing session/origin protections.
The current linked clan owner receives a fresh quote and chooses an authorised
clan current account. No personal account, arbitrary beneficiary or caller-set
price is accepted. Explicit consent precedes payment. Basic stops at BC_T3;
the later original-key/Royal charter adapter remains separate.
`PostbankClaimProducts` reuses the bank authority, account locks, orders,
double-entry posting and audit system. The unlock charge to sys_tax_treasury
and the new claim entitlement commit in one bank transaction. A stable request
id plus fingerprint makes retries idempotent. A stale quote, changed authority,
insufficient available funds or a failed entitlement write rolls everything back.
Land geometry/Home Block remain in site_claim_registry; the applied paid tier
and its revision live with the bank product entitlement. The authorised Claims
read API combines them without inventing extra chunks or resizing the region.
The web upgrade only increases the available claim budget, not claimed area.
No WorldGuard/game deployment or economic reset is performed.
Monthly upkeep is disclosed as the tariff for the purchased tier. Automated
monthly collection is not activated in this batch; it needs its own scheduler
integration. This document does not authorise silent periodic debit rollout.