web/docs/design/CLAIMS-LIVE-DATA.md

36 lines
2.3 KiB
Markdown

# Claims: one page, scoped organisation data
Use `#clan/clan-claims?clientclan=<uuid>` to open the existing page for a clan.
The hash is only a selector; the GET `/api/v1/claims/overview?clanId=<uuid>` API
checks the current active membership or a verified organisation authority.
No clan id means the caller's current clan. No second page or copied layout.
The response separates clan identity, registered claim state and subordinate
access. The owner explicitly authorised invented Home Block locations to be
inserted into the live WEB database for all active clans. Startup fills missing
records once and never overwrites existing records. No extra UI marker is wanted.
The separate in-memory simulator is removed from the page and public routing.
`site_claim_registry` stores the persisted bridge projection; empty storage
means unknown, not zero land or a fabricated default tier. Clan startup creates
the additive projection table, and the overview reads it without mutating it.
Seeded estate geometry uses WorldGuard's YAML region-document shape, held as
JSON in the web registry: regions/id/min/max/members/flags/owners/type/priority.
Domains use actual linked Minecraft UUIDs where available. Home Block and tariff
metadata remain separate. Vertical bounds -64..319 are web development values;
the later game adapter must resolve each actual world's height and policy.
Reference: https://worldguard.enginehub.org/en/latest/regions/storage/
This does NOT enable WorldGuard's native SQL storage driver.
The game writer and ownership/subhouse provider are not connected yet. Do not
describe this batch as a working WorldGuard writer or paid upgrade. The web
upgrade button stays disabled until the persistent bank product action is ready.
Each child returned by a relationship provider is separately authorised before
its name/link is exposed. Do not infer a relationship from a URL.
## Future idea: Veiled Concord intelligence
The owner suggested a power to reveal a target clan's claim locations. This is
a proposal, not activated by the normal Claims read API. A future explicit
intelligence entitlement may reveal selected locations temporarily. It must not
grant ordinary membership, claim editing, bank authority or political control.
Exact duration, cost, cooldown and scope are undecided.