web/docs/design/POLITICAL-BACKEND-BATCH.md

7.5 KiB

Political backend batch — agreed additions, 18 November 2026

Not implemented by the election design PR403.

  • A tied election immediately creates a three-hour office auction instead of a runoff. Resign Office, after confirmation, ends the incumbent appointment and triggers the same three-hour vacancy auction.
  • Central Starport Auctions category lists all auction types. Political Positions also includes political custom jobs and office auctions, referencing the same listing. Dedicated auction cards, frontend bidding and backend settlement belong together in the coding batch. Artwork example exists; preserve the established Starport layout.
  • Election winner or office auction winner receives the office deed, Polclan ownership and appropriate protected gameplay organisation ownership. Membership auctions grant membership only; the office owner assigns ranks and delegated roles. Gameplay affiliation supports clan/PvP or company/non-PvP; do not overwrite personal clan/company membership.
  • Separate deed-backed clan.membership, company.membership, office.membership and office.role relationships, each scoped to organisation, role, rights and term. No job.membership permission layer.
  • Polclan Job Listings: My Listings, Post a Job, Applications, reusing recruitment. Appointment automatically adds scoped Polclan membership; expiry/revocation removes only the corresponding entitlement.
  • Liaison targets: political House, Clan, Company, Bene Gesserit, Spacing Guild, Landsraad. Imperial Observer is appointment by decree, requiring no receiving-organisation approval. Observers do not gain management, voting or banking rights merely by appointment.
  • Shared portrait/network design for Clan, Company and Polclan. Clan: Dynasty & Council. Company: Board & Representatives. Politics: Office & Delegations, including liaisons, organisation seals and terms. Political connections denote appointment, not ancestry.
  • Below portraits, Clan and Company show an owner-positionable network organigram with the personal card and related clans, companies and offices. Placement is presentation only and must persist with authorised edits. Political office structure uses the same design but is automatically laid out from active deeds, not user-editable.
  • Owned, founded, purchased and conquered entities automatically join the same ownership network/alliance. Distinct accounts, members, debts and identities remain; alliance alone grants no bank or management rights. An office association lasts only for the active term and moves to the successor.
  • Existing deed/volmacht transfer is reused by successful rebellions; rebellion outcome remains a separate domain rule. No unconditional auction for every rebellion.
  • Network example: Unimatrix-Artreides, Unicorp and the current Emperor office, with only the office association leaving upon succession.

Unresolved execution rules must be resolved before enabling charges: auction bidder eligibility (including tied-candidate restrictions), minimum bid and increments, funds destination, no-bid result, equal bids and exact settlement rules. Do not silently invent these.

Automatic global news integration

J.A.R.V.I.S. emits durable domain events after confirmed commits for the future global news system. Important election opening/deadline/results, office auction opening/closing/winner, office resignation/succession, public political/recruitment job offers and appointments are candidates. The news service owns visibility, severity, aggregation, channel policy and in-game server announcements. Do not create a second news subsystem or broadcast uncommitted actions. Reuse existing durable outbox patterns; event IDs and delivery deduplication prevent duplicate announcements on retries. Publish public-safe fields only, excluding private applications, account data, reward codes and credentials. Routine bidding, private denials and internal appointments do not automatically become global broadcasts. This integration is automatic once the future news consumer exists; no Minecraft plugin deployment is authorised by this note.

Promotion controls — connect in coding batch

Replace the disabled Boards/Discord promotion controls with working opt-in delivery using existing forum/Discord publishers and jarvis_promotion_jobs. Basic starts with five shared promotion credits: one Board post costs one credit and one Discord post costs one; any mix is allowed, earned credits may supplement. Keyed/Royal have no Basic token cap; configured promotion fees still apply. Validate authority and balance on the server, reserve/spend atomically with the request, and show queued/delivered/failed delivery states. Retry must neither double-charge nor duplicate posts. Closing/filling a listing must update/close its associated forum entry through the existing lifecycle rules. Do not debit credits while channels are unavailable or leave a checkbox that claims delivery is active when its publisher is not configured.

Confirmed auction rules

After a tied election only the tied highest-vote candidates may bid. Starting bid 100 DM (10,000 minor units); minimum increment 10 DM (1,000 minor units). Duration three hours. Winning payment goes to Tax. No bid uses the persisted eligible-candidate lottery described below. Resignation auctions are open to all eligible players, as separately confirmed.

Promotion target

Discord Starport promotion channel confirmed by user: 1572558298467541084. Forum destination is fid=6, confirmed below. Webhook credentials must remain in private server configuration, never committed or placed in browser assets.

Updated succession decision

No-bid office auction uses a one-time persisted lottery among eligible candidates instead of leaving the office vacant. After resignation the new auction is open to all eligible players, not only prior candidates (confirmed). Resignation remains publicly visible in office history and linked from later candidate cards. Forum Starport promotion destination confirmed: https://forums.dunerealms.com/forumdisplay.php?fid=6 (forum ID 6).

Publication identity

The user renamed the proposed Archive IX project keepsake identity to Jarvis. Starport promotion forum posts must be authored by Jarvis, not by the listing owner's personal forum account. Jarvis remains discoverable in People, excluded from Staff & Teams, and without site staff permissions. Scoped DuneGit repository permissions are a separate explicit grant. The site, forum and DuneGit identities have not yet been provisioned; do not claim they exist. The existing official_account role grants owner authority and must not be assigned merely for recognition.

Coding batch scope and remaining connections

This batch connects three-hour office auctions, immediate bank holds and Tax settlement, durable office-transfer commands, resignation/succession, Starport auction cards and bidding, read-only J.A.R.V.I.S. management registers, scoped political appointment deeds, public organisation portraits/networks, and personal net-worth snapshots. Election application and ballot tabs reuse existing services; campaign booking remains explicitly a preview.

Still to connect: paid hourly campaign reservations, promotion delivery workers/private channel configuration and Jarvis forum provisioning, political vacancy publication/application acceptance into the appointment service, and complete result/history navigation. The hidden reward and development account provisioning remain proposals; the identity helper is not invoked automatically. No global news broadcasts or game deployment are introduced. Do not label these remaining actions as operational.