web/docs/design/MISSIONS-DECISIONS-DESIGN-BATCH.md

12 KiB
Raw Blame History

Missions & Decisions — approved design batch

18 November 2026. Design publication authorised. Backend begins only after live design acceptance.

  • Existing header and footer remain shared. My Account: User CP, Mail, Imperial Postbank, Rihla Transfers, Quest Dashboard. Profile and Account Security remain inside User CP.
  • The central Quest Dashboard alone shows Personal / Clan / Company / Politics context tabs.
  • Each CP integrates Missions / Decisions / History directly in its own context, with its roster, avatars and palette.
  • Emperor: large decorative court gallery, fixed political House seals and leader portraits. These are decoration, not electoral controls. Other offices, clans and companies reuse the gallery with their own rosters and less ceremonial artwork.
  • Elections remain in their existing workspace, not embedded in the decision page.
  • Personal design catalogue includes all nine handover branches, Q0 repair immediately after obtaining the faction kit, and a spoiler-free optional discovery placeholder.
  • Political catalogue includes all 63 v2.2 decisions. DuneRealms display names take precedence over Dune reference names. Imperial Steward Water/Spice rights must remain available through their existing implementation.
  • No XP, rewards, authority, economic charges or game effects are enabled by this design. All actions remain explicitly pending integration.
  • Only major level milestones publish: halfway and completion of the configured seasonal cap (proposed S1 35 and 70). Once per player/season/milestone, reuse the existing publication outbox. Completion follows validated completion-key execution, halfway follows verified threshold crossing, never code generation.
  • Website is primary. Future Minecraft quest scoreboard reads central state through the API; no second gameplay or quest engine. Only necessary gameplay events/item delivery need an adapter later. No Minecraft changes in this batch.
  • Keep old reference CPs during design review. Retire obsolete reference routes only after acceptance of the replacement.
  • After publication the user tests with the DuneRealms account. On the user's signal, temporarily move that account to the next POL House leadership and restore previous occupants afterward. Do not change the user's Emperor office or sign into the DuneRealms account.

Integration contract for the backend batch

The design catalogue is presentation-only. The backend must map stable mission/decision definition IDs to the existing J.A.R.V.I.S. instrument lifecycle. Read models supply current scope, authenticated authority, immutable quest reference, prerequisites, counters, claimed rewards, expiry, XP/level, season and history. Authority is revalidated at execution. Claim and execute operations require one idempotent execution reference and return the existing dossier/delivery state. Never derive authority or payouts from the browser catalogue.

Currency in the source handover is Solari; operational accounts use DM. Resolve the canonical accounting label before enabling costs. Council rejection of peace and existing homeworld warfare remain independent of supplemental XP level gates.

Artwork

Built-in image generation produced two reusable background illustrations, compressed to WebP: progression/imperial-court.webp and progression/repair-workshop.webp. Court prompt: ceremonial voxel imperial hall, burgundy banners, gold columns, empty throne and room for separately rendered avatars/seals, no text/UI. Repair prompt: voxel workshop, worn tools and four repair components, lantern lighting, no text/UI. Existing separate heraldic seals and item artwork remain reused. Full UI concept screenshots are not used as page backgrounds.

Following backend acceptance

Perform a website-wide design consistency pass: buttons, colours, spacing, typography, tables and forms. Preserve deliberate CP themes; eliminate accidental mismatches. This follows the backend batch, not this design publication.

Official identities

Jarvis receives original DuneRealms archivist lore, a dedicated avatar and clearly ceremonial company props; do not create a company or valid keys for those props. Requested permanent Emperor POL-clan archive membership must use the existing staff-key mechanism, not an officeholder term or AD rank. Keep the Emperor office unchanged. Preserve Patrick memorial identity without login/AD. Verify separate least-privilege Git collaboration and forum publication access for Jarvis; no broad staff permissions are implied.

Approved addition — Imperial Reserve economy foundation (2026-11-18)

Implement within the existing Postbank / J.A.R.V.I.S. backend batch. Reuse existing ledger, pricing, savings, loan and P&O components; no stock exchange, portfolios, stock orders, Market Authority or Market Surveillance. Remove the separate CHOAM navigation entry; retain shared components needed elsewhere.

Reserve UI: preserve issued / returned / net issued / transaction totals. Add one central multi-series line graph with individually selectable money supply, system prices, savings rate, loan rate and staff-pay index. Period selection: 7D / 30D / 90D / 1Y. Normalise each series to 100 at period start; selected dates expose actual DM, annual rates and multipliers. Handle missing data and zero baselines explicitly. Do not fabricate historical snapshots. Show current policy and existing J.A.R.V.I.S. history. Approved visual reference: exec-59ddc479-5406-4280-8533-24d9cef41af4.png (concept values only).

Configurable starting formulas:

  • Economic index E = (current circulating money / reference circulating money)^0.25. Distinguish circulation from reserve balances and net issuance. Transfers to Tax do not burn money. This is monetary pressure, not measured consumer-price inflation.
  • Demand factor D = ((units sold + 10) / (units offered + 10))^0.15 over a seven-day window. Define consistent eligible inventory/cohort accounting before enabling this factor.
  • Target system price = base price * E * D; daily adjustment at most +/-5%, absolute range 50–200% of base. Player asking prices remain independent unless explicitly opted into dynamic pricing.
  • Annual savings rate = base savings rate + 5 percentage points * (E - 1), bounded by configured policy and account terms.
  • Annual loan rate = base loan rate + 10 percentage points * (E - 1), bounded by configured policy; new offers only. Existing contracts retain their agreed rates.
  • Target P&O staff pay = base pay * E; monthly adjustment at most +/-5%. Calculate from base pay, not recursively multiplying the previous indexed pay.

Persist versioned index snapshots, source observations, baseline, effective dates and tariff versions. Never apply a cadence step twice on retries. Freeze buyer/seller/Tax amounts in an accepted checkout quote; use existing settlement and tax policies, no invented additional charges. Display the agreed price and any quote expiry before confirmation; committed transactions retain their snapshot.

Future economic threshold events and political Decisions are deferred. The foundation should expose recorded observations for later use, without activating automatic event triggers now. No production publication is implied by this design acceptance.

Authorised publication reset (2026-11-18)

User confirmed ALL DM balances, including system reserves, reset to zero at publication. Preserve financial audit consistency; reconcile pending orders, holds, payouts and auctions before applying. New issuance budget and a fresh reference baseline follow the reset. No zero-denominator index or historical test data baseline.

Delete non-official clans except the user's owned clan(s); retain official/protected organisations and Unimatrix-Artreides / Unicorp. Do not delete companies. Reset non-official retained clans and companies to Basic. Preserve user's memberships and official/protected memberships; other players may be clan/company-less. Clear home blocks, claims and related claim configuration, including retained entities. Use authoritative IDs and institution registry when constructing the reviewed manifest.

Clear non-kit Exchange test listings (including diamond, shovel and test postings), retain kits. User explicitly declined an Exchange-items backup. Preserve required financial audit records.

Reset USED clan and company founding entitlements as part of this publication. Preserve historical consumed-key records; use a reset-generation replacement entitlement for accounts without a retained corresponding entity. Do not reactivate old secrets or grant duplicate live founding entitlements to retained owners. Apply once under a recorded reset ID, not at each deploy/startup. This must explicitly integrate with the existing lifetime-original grant uniqueness rule before execution.

Approved J.A.R.V.I.S. key icon family (2026-11-18)

Approved concept sheet: artwork/jarvis-key-family-lore-approved-v1.png. Built-in image generation produced the original family, then an approved lore-rich revision. Prompt direction: thirty coherent tangible Minecraft-inspired gold keys and sealed data rods, emerald background; clan/sietch architecture, trade mechanisms, imperial office symbols, gold-capped archival rods. These are item icons, not seals or medallions. This is a design reference, not a ready-to-use transparent sprite atlas. Produce individual clean assets before UI integration; reuse one image per instrument type, never per secret instance. Existing and planned types share scale, perspective, material treatment and silhouette language. Planned artwork does not imply an implemented entitlement.

Normal key family covers founding, upgrades, subentities, offices, delegation, parent links, transfers, quests, milestones, XP corrections, seasonal XP reserve, economic snapshots, bank corrections, Rihla, events, promotions, private acquisitions, kits, items and repairs. Economic snapshots are immutable archival instruments; chart values read their sealed records, with corrections in linked new records.

DEV batch/reset rod artwork belongs ONLY in developer documentation and CLI/server tooling. Never ship these special keys, their secret material or generator options through website assets, dropdowns or web APIs. Explicit developer authority is required outside the web surface. Record ID/hash, actor, approved manifest and per-step results, never the secret. Domain changes including resets and corrections follow validated J.A.R.V.I.S. operations rather than manual database edits.

News editor addition — approved 2026-11-18

Extend the existing Imperial Bureau news editor, not a separate CMS/CP. Add accessible rich editing: headings, bold/italic, lists, links, image upload/insertion with alt text/caption and alignment/size controls, preview, draft save and existing publication actions. Preserve existing author, category, permissions, optimistic version checks and Boards/Discord delivery identities. Sanitise structured/rich content on the server; allowlisted markup only, no scripts/event handlers/unsafe URLs. Existing plain-text posts remain readable without migration loss. Provide appropriate plain-text/forum/Discord projections from the same source. No unsafe raw HTML paste or unsupported formatting claims.

Immediate content request: user has created the first live dev-key batch news draft and wants the approved key-family artwork inserted, while retaining draft status so the user publishes it. Publication is no longer authorised as an automatic next step. Do not expose secret key material; public instrument reference 621a99a4-3f40-4123-8d8e-70a80ecdaa6c is permitted. The existing browser-control route is unavailable; image insertion has not been performed and requires a supported authenticated editing path. Do not work around this using an ad hoc manual database change.