GlemO Engineering
Dev Toolkit

GlemO · Requirements baseline

Platform Requirements and Diagrams

Implementation baseline for product, engineering, QA and operations. Executable pilot 0.5.3 is separated from the phased production specification.

128Requirements
256Acceptance Criteria
18Diagrams
45API Operations
17Physical Tables

Pilot 0.6.4 baseline: navigation and data isolation audit

Current feature addendum: acquired positions. 37 additional requirements and 3 additional diagrams; 23 physical tables and 62 API operations, unchanged. The 128-requirement / 18-diagram PDF and source below remain the pilot 0.5.3 baseline, not a fresh recertification. Current test evidence is separate.

POSITIONS EN · QA 0.6.4

Pilot 0.6.5 baseline: review activity updates

Explicit review of case/request changes, preserved drafts and read-only network retry. 40 additional requirements and 4 additional diagrams; 23 physical tables and 62 API operations, unchanged. The 128-requirement / 18-diagram PDF and source remain the pilot 0.5.3 baseline, not recertified. Other seven 0.6.4 browser matrices remain historical evidence.

Activity EN · Atividade PT · Requirements JSON · Mermaid sequence · QA 0.6.5 · POSITIONS

Pilot 0.6.6 baseline: participant readiness

Backend discovery/rehearsal and archive API changes. Human acceptance and remote hosting remain pending. Current totals and automated scope are supplied by the parent review; baseline 0.5.3 PDFs/source are not recertified.

Readiness EN · Preparação PT · QA 0.6.6 · ACTIVITY · POSITIONS · READINESS_ARCHIVE.mmd · READINESS_DISCOVERY.mmd · READINESS_OPENAPI.json · READINESS_REQUIREMENTS.json

Current runtime 0.6.9: conflicts and acceptance criteria

Preserved drafts and explicit refresh of current records. Checklist reconciled; human acceptance, native Safari, physical devices and hosting remain pending.

Requirements · QA 0.6.9 · Checklist

Current runtime 0.6.12: request-text integrity

UTF-8 JSON text must survive request chunk boundaries, including Arabic, Chinese, Portuguese accents and emoji. The existing 32 KiB byte limit, schemas and authorization remain unchanged. Fresh isolated evidence: 870 Node tests and 18 browser entry points. This does not certify hosted access or physical devices.

QA · Separate pilot package

Prior runtime 0.6.11: human handoff

Login recovery navigation fixed. Short brief in six languages. Remote hosting, physical devices and human acceptance remain separate checks.

Scope and evidence · Participant brief

Current runtime 0.6.10: final audit

Cross-tab identity, dashboards, privacy, monetary consistency and recommendations reviewed. Evidence and scope below; human acceptance, native Safari, physical devices and hosting remain pending.

Requirements · QA 0.6.10 · Checklist · Full report

Current runtime 0.6.7: contextual seller history

Basic seller identity stays visible. Detailed history/references require this buyer's recorded interest on this offer and current seller sharing consent. No verified reputation is asserted. Current totals and automated scope are supplied by the parent review; baseline 0.5.3 PDFs/source are not recertified.

Seller history EN · Histórico do vendedor PT · QA 0.6.7 · READINESS 0.6.6 · ACTIVITY · POSITIONS · SELLER_HISTORY_ACCESS_POLICY.txt · SELLER_HISTORY_KNOWN_LIMITS.txt · SELLER_HISTORY_OPENAPI.json · SELLER_HISTORY_PRE_PARTICIPANT_CHECKLIST.txt · SELLER_HISTORY_REQUIREMENTS.json

Pilot 0.6.2 baseline: review before confirming

Offer, counterproposal, acceptance, instructions acknowledgement and settlement start require explicit review. Exact terms, separate seller costs and stale-revision protection. Six additional requirements; no new tables, API routes or diagrams. Six UI languages, EN/PT addendum.

Pilot 0.6.1 baseline: follow-up and preparation

Negotiation filters, read-only next-action guidance, proposal history and shared-session readiness. Three additional requirements; no new tables or routes. Deal permissions, states and amounts are unchanged.

Pilot 0.6.0 baseline: experience and data addendum

The baseline below documents pilot 0.5.3. The 0.6.0 addendum governs seller offers, requests, shared negotiation, reconciled portfolio and resale review. It adds 20 requirements and 2 diagrams, with 23 physical tables and 62 API operations in total. It is not a complete recertification of the earlier 128 requirements.

Scope and authority

The executable source governs current pilot behavior. Requirements and acceptance criteria define the handoff baseline, not proof of production readiness. The production SQL and API candidates are separate proposals. This baseline supersedes older Dev Toolkit statements only where it explicitly describes the current pilot; historical specifications remain reference material.

Financial workflow, parties, assets, reviews, acknowledgements and settlement evidence are simulated. No real custody, KYC, signatures, payments, token transfer, collected fees or demonstrated buyer demand.

Downloads

Requirements, acceptance criteria, journeys and diagrams are available in English and Portuguese. API identifiers, code snapshots and detailed technical tables retain their source language (English). The six platform languages are unchanged; this new baseline is not translated into ES/FR/AR/ZH.

Delivery phases

Essential MVP: M1-M3 internal alpha

  • Planned product scope only, separate from the current executable shared pilot. specified-not-implemented describes the broader accepted-production obligations; existing local prototypes/models may demonstrate slices without satisfying them.
  • Buyer/seller/admin identities, deny-by-default market policy, external offer mirrors, independent admission, private discovery/demand, versioned negotiation and accountable operational audit.
  • Responsive accessible web and a complete synthetic deal; five core AI draft capabilities are the founder's M3 product directive, pending CTO technical/capacity/cost acceptance, with no canonical agents currently running.
  • Candidate SQL, OpenAPI and diagrams remain proposed architecture; their presence does not establish physical database deployment or server enforcement.

Exit gates

  • M1 begins only after actual receipt of the US$1M hiring gate; no receipt date or completed funding is asserted.
  • CTO accepts dependency-aware architecture, capacity, controls and costs; required authorization, evidence provenance, exact amounts and human review cannot be deferred.
  • Scripted synthetic E2E, negative tenant/country permissions, versioned terms, accountable ownership and responsive/accessibility review establish the alpha exit.
  • Alpha permits no live execution. Reference/model/browser passes do not close server, physical-database, security, provider or legal acceptance.

M4-M9 pilot and limited launch; paid activation target M10

  • One approved external operating route; M5 controlled live-pilot target and M9 limited-launch target are conditional milestones, never permission to operate.
  • Fresh party/supply evidence, bilateral terms, independent external cash/asset evidence, reconciliation, exceptions, repeatable onboarding, optional SaaS and billing readiness.
  • Own-rail operational BI, limited first-look Launch and necessary versioned offer amendments only, conversion attribution, approved activity/points bookkeeping, support and responsive web; eight core agents at pilot and ten cumulatively by M9 remain product directives subject to CTO acceptance.
  • The existing simulated pilot includes a lightweight nonbinding holder resale request only, with no matching, execution or custody and no funded MVP feature promise. Fully coordinated secondary resale belongs to Block 3 after launch, not Blocks 1 or 2.
  • Paid software activation targets M10 only for an accepted contract and ready service; points bookkeeping does not activate GO conversion, claims or a guaranteed airdrop.

Exit gates

  • Counsel/provider accept the actual instrument, parties, jurisdictions, promotion and operating scope with signed contracts, current identity and signer evidence.
  • Independent cash and asset proof, reviewed reconciliation and exception/reversal handling are mandatory; a blocked pilot is documented rather than relabeled successful.
  • Production security, private evidence, restore, incident/support readiness and separate CTO/product/operations/counsel-provider sign-offs precede live release.
  • M9 scope and M10 commercial contracts/billing readiness require explicit acceptance; unapproved countries, unrestricted retail, autonomous financial decisions and GO stay disabled.

Post-launch expansion: after M9, gated with no fixed start

  • Monitor Data Center and its eight distinct functions, licensed ingestion, advanced market BI and optional AI-11/12/13 capabilities; Monitor is not an M3/M5/M9 dependency.
  • Separately approved native iOS/Android, scoped developer/dApp interfaces, broader distribution/liquidity tooling and additional markets/assets or general-retail routes.
  • GO release, audited points allocation/vesting/claims and approved software-payment/service-credit utility follow independent token gates, outside the pre-seed launch.
  • Existing technology capacity is continuing planned work, not free funding for all future modules; no fixed Block 3 start, incremental budget or production readiness is asserted.
  • Fully coordinated secondary resale belongs to Block 3 after launch, with no fixed start date, subject to separate technical/capacity acceptance, build and recurring cost approval, and legal/provider approval. The existing simulated pilot includes only a lightweight nonbinding holder request with no matching, execution or custody; its presence does not promise a funded MVP feature. Full or partial requests create no secondary-market authorization or liquidity promise.
  • Full promotional and recurring relaunch capability, including any quarterly seller SaaS allowance, requires separate Block 3 scope, technical/capacity, build and recurring cost, and legal/provider acceptance.

Exit gates

  • Demonstrate core operating stability and repeat use, then obtain CTO dependency/capacity acceptance and CFO approval of incremental build and recurring costs per module.
  • Approve source/provider rights, security and legal boundaries for every expansion; native stores, physical devices and additional markets each require separate acceptance.
  • GO requires Seed close plus a target three months AND US$10M eligible monthly rail volume AND legal, security and governance readiness; volume methodology and definitive terms remain open, and the rail remains usable without GO.
  • Seed is mandatory for GO launch, not automatically for every small post-launch improvement; no token receipts, market-data observations or simulation results are treated as actual cash, settled rail volume or operational permission.
  • Assisted resale requires its separate transfer-rights, provider/counsel, capacity, reservation/concurrency, ownership and recovery acceptance; passing its local demonstration does not admit it into the release.

Verification boundaries

The 513 packaged Node tests passed again for this baseline. This documentation review does not repeat every previous browser journey. Chrome and WebKit checks cover this new documentation interface; physical devices, native Safari, real microphone, legal approval and server deployment remain outside certification.

A link to a test file is traceability, not proof that every future acceptance criterion is already implemented or executed. Planned criteria require new tests and release approval.

Requirements

128 requirements shown

FR-001authimplementedpilot

Sign in with assigned alias

Authenticate an active invited account by alias and password, derive its role from the session, and load its catalog, cases, profile and discovery metadata.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-LOGIN

Acceptance criteria

  1. AC-FR-001-1 Given an active account, when valid credentials are submitted, then the authenticated workspace loads with the account's assigned role.
  2. AC-FR-001-2 Given an incorrect password or disabled account, when login is attempted, then credentials is returned and no authenticated session is created.
Source evidence / Linked test source

public/app.js:183 · L183 · public/app.js:368 · L368 · server/auth.cjs:77 · L77

tests/api.test.cjs:14 · tests/security.test.cjs:349

API references: login, inspectInvite, acceptInvite, session, logout, changePassword

Data records: users, sessions, invites

FR-002onboardingimplementedpilot

Activate a single-use invitation

Open the invitation fragment, remove its token from the visible URL, show assigned alias, organization and role, and activate with a valid password and explicit consent before opening the profile.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-ACTIVATE, SCR-PROFILE

Acceptance criteria

  1. AC-FR-002-1 Given an unused valid invitation, when a password and consent are submitted, then an account and session are created and #profile opens.
  2. AC-FR-002-2 Given a used, revoked or expired invitation, when it is opened or accepted, then inviteInvalid is returned without creating an account.
Source evidence / Linked test source

public/app.js:183 · L183 · public/app.js:369 · L369 · public/app.js:521 · L521 · server/auth.cjs:54 · L54

tests/security.test.cjs:221 · tests/security.test.cjs:255

API references: ownProfile, saveProfile

Data records: profiles

FR-003authimplementedpilot

Recover access with a reset invitation

Accept an administrator-issued reset invitation for an active account, replace its password and invalidate existing sessions and other unused reset invitations.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-ACTIVATE

Acceptance criteria

  1. AC-FR-003-1 Given an active account with a valid reset invitation, when the new password and consent are accepted, then a new session starts and previous sessions fail authentication.
  2. AC-FR-003-2 Given a consumed reset invitation, when it is submitted again, then inviteInvalid is returned and the password is not replaced again.
Source evidence / Linked test source

public/app.js:185 · L185 · server/auth.cjs:68 · L68 · server/service.cjs:133 · L133

tests/api.test.cjs:80 · tests/security.test.cjs:190

API references: login, inspectInvite, acceptInvite, session, logout, changePassword

Data records: users, sessions, invites

FR-004authimplementedpilot

Sign out and expire inactive sessions

Revoke the current session on logout and clear account-specific UI state. Enforce default 30-minute inactivity and 12-hour absolute expiry; background polling does not count as activity.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-LOGIN

Acceptance criteria

  1. AC-FR-004-1 Given an authenticated workspace with comparison selections, when sign out succeeds, then login is shown and account data and selections are cleared.
  2. AC-FR-004-2 Given only background polling, when the idle boundary is reached, then the session expires without polling extending it.
Source evidence / Linked test source

public/app.js:302 · L302 · public/app.js:494 · L494 · public/app.js:527 · L527 · server/auth.cjs:4 · L4 · server/auth.cjs:23 · L23

tests/security.test.cjs:173 · tests/security.test.cjs:190 · tests/security.test.cjs:349

API references: login, inspectInvite, acceptInvite, session, logout, changePassword

Data records: users, sessions, invites

FR-005authimplementedpilot

Change the current password

Require the current password and a valid new password, revoke all prior sessions and pending reset invitations, and rotate into a new session after the change.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-PROFILE

Acceptance criteria

  1. AC-FR-005-1 Given a correct current password, when a valid new password is saved, then previous sessions are revoked and the returned session remains usable.
  2. AC-FR-005-2 Given an incorrect current password, when a change is submitted, then credentials is returned and the stored password remains unchanged.
Source evidence / Linked test source

public/app.js:193 · L193 · public/app.js:374 · L374 · server/auth.cjs:88 · L88

tests/security.test.cjs:190

API references: login, inspectInvite, acceptInvite, session, logout, changePassword

Data records: users, sessions, invites

FR-006profileimplementedpilot

Complete and update the self-declared profile

Save country, qualification, up to four asset categories, history and referrals with explicit fictional-data consent and the current profile version; completion enables shared-case commands.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-PROFILE, SCR-CASE

Acceptance criteria

  1. AC-FR-006-1 Given an incomplete profile and current version, when valid fields and consent are saved, then completed becomes true and the version increments.
  2. AC-FR-006-2 Given a stale version or missing consent, when the profile is submitted, then conflict or consentRequired is returned without overwriting it.
Source evidence / Linked test source

public/app.js:191 · L191 · public/app.js:370 · L370 · server/service.cjs:21 · L21 · server/service.cjs:87 · L87

tests/api.test.cjs:14 · tests/security.test.cjs:135

API references: ownProfile, saveProfile

Data records: profiles

FR-007profileimplementedpilot

Store notification channel preferences

Persist separate in-app, email and push preference flags. Only in-app preferences drive pilot notifications; the profile explicitly discloses that external messages are not sent.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-PROFILE, SCR-NOTIFICATIONS

Acceptance criteria

  1. AC-FR-007-1 Given inApp enabled for another case member, when a non-feedback case command succeeds, then that member receives an in-app notification.
  2. AC-FR-007-2 Given valid email and push preference flags, when the profile is saved, then those flags persist without sending an external message.
Source evidence / Linked test source

public/app.js:193 · L193 · public/app.js:371 · L371 · server/service.cjs:23 · L23 · server/service.cjs:58 · L58

tests/api.test.cjs:61 · tests/security.test.cjs:135

API references: ownProfile, saveProfile, notifications, readNotification

Data records: profiles, notifications

FR-008privacyimplementedpilot

Control sharing of self-declared references

Show history and referrals to a contextual commercial counterparty only while shareReferences is enabled. Owners and administrators may see those references; reference material remains self-declared.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-PROFILE, SCR-CASE

Acceptance criteria

  1. AC-FR-008-1 Given a visible commercial counterparty with sharing enabled, when participants are loaded, then history and referrals appear with selfDeclared true.
  2. AC-FR-008-2 Given reference sharing is disabled after a proposal, when the other party reloads or exports the case, then those references are absent from its projection.
Source evidence / Linked test source

server/service.cjs:42 · L42 · public/app.js:201 · L201

tests/privacy.test.cjs:244 · tests/privacy.test.cjs:285 · tests/privacy.test.cjs:395

API references: ownProfile, saveProfile

Data records: profiles

FR-009catalogimplemented-simulationpilot

Browse the fictional offer catalog

Render the authenticated 24-offer fixture catalog as asset cards with image or Treasury instrument marker, category, country, city, unit price, minimum ticket, workflow status and factsheet navigation.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-009-1 Given an authenticated account and no filters, when #catalog loads, then all 24 fictional offers are available with their prices and minimum tickets.
  2. AC-FR-009-2 Given an anonymous request for the catalog, when the endpoint is read, then authentication is required and no catalog response is disclosed.
Source evidence / Linked test source

public/catalog-ui.js:9 · L9 · public/app.js:318 · L318 · server/app.cjs:90 · L90

tests/catalog-browser.mjs:235 · tests/catalog.test.cjs:206 · tests/catalog.test.cjs:415

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-010catalogimplemented-simulationpilot

Open an offer factsheet

Open #offer=<id> with rights, illustrative inventory and availability, ticket limits, tenor, original issuer, permitted contextual seller disclosure, financial summary and reference workflow.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-OFFER

Acceptance criteria

  1. AC-FR-010-1 Given a known catalog offer, when its details are opened, then rights, ticket range and illustrative economics match that offer.
  2. AC-FR-010-2 Given a holder browsing another seller's factsheet, when it loads, then the seller profile is withheld and no reference buyer is disclosed.
Source evidence / Linked test source

public/catalog-ui.js:40 · L40 · server/app.cjs:106 · L106 · server/privacy.cjs:49 · L49

tests/catalog-browser.mjs:262 · tests/privacy.test.cjs:191

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-011catalogimplemented-simulationpilot

Inspect projected artifact statuses

Expose only factsheet, ownership, checklist and costs artifact types in authenticated catalog examples, with generated-versus-pending status and localized rows; omit external-account and token-reference rows.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-OFFER

Acceptance criteria

  1. AC-FR-011-1 Given a catalog factsheet response, when its document folds are inspected, then the four permitted artifact types are available with truthful statuses.
  2. AC-FR-011-2 Given artifact rows containing externalAccount or tokenRef in the fixture, when the projected factsheet is rendered, then those rows are absent.
Source evidence / Linked test source

public/catalog-ui.js:38 · L38 · server/privacy.cjs:52 · L52

tests/catalog-browser.mjs:51 · tests/privacy.test.cjs:191

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-012catalogimplemented-simulationpilot

Export scoped example dossiers

Download the already projected catalog example as JSON or a localized standalone HTML dossier, retaining simulation and read-only disclosures and the same role-dependent privacy.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-OFFER

Acceptance criteria

  1. AC-FR-012-1 Given an opened offer, when JSON export is selected, then the file contains the projected example and no reference buyer.
  2. AC-FR-012-2 Given Portuguese is selected, when HTML export is downloaded, then lang is pt and exported text and documents use the selected language.
Source evidence / Linked test source

public/app.js:490 · L490 · public/catalog-ui.js:57 · L57

tests/catalog-browser.mjs:275 · tests/privacy.test.cjs:191

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-013catalogimplemented-simulationpilot

Keep example browsing read-only

Treat catalog examples as generated fictional workflow snapshots. Browsing or exporting them does not create a shared case, rehearsal, command or external settlement record.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-OFFER

Acceptance criteria

  1. AC-FR-013-1 Given catalog and example reads only, when all examples are visited, then business record counts remain unchanged.
  2. AC-FR-013-2 Given a fixture endpoint, when a write is attempted, then the endpoint rejects it rather than editing the fictional source offer.
Source evidence / Linked test source

server/app.cjs:90 · L90 · server/app.cjs:106 · L106 · server/privacy.cjs:56 · L56

tests/catalog.test.cjs:307 · tests/catalog.test.cjs:458 · tests/catalog-browser.mjs:308

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-014commerceimplemented-simulationpilot

Filter by commercial benefit

Offer mutually exclusive catalog segments for all examples, discount, timed offer, volume tiers and planned points, intersected with the current search and market criteria.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-014-1 Given the unfiltered fixture catalog, when discount is selected, then the two offers with discount terms are shown.
  2. AC-FR-014-2 Given the benefit filter is cleared, when the other criteria are empty, then the catalog returns to all 24 examples.
Source evidence / Linked test source

public/catalog-ui.js:18 · L18 · public/catalog-ui.js:30 · L30 · public/app.js:478 · L478

tests/commerce-browser.mjs:40 · tests/sourcing-browser.mjs:313

API references: —

Data records: —

FR-015commerceimplemented-simulationpilot

Disclose illustrative promotion terms

Render validated 10% reference-price discounts, volume tier tables and planned-points disclosures on eligible commercial examples. Planned points do not create a balance, active airdrop or collected revenue.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-OFFER

Acceptance criteria

  1. AC-FR-015-1 Given an eligible discounted example, when its terms render, then the displayed reference price and unit price satisfy the stated 10% discount.
  2. AC-FR-015-2 Given an example with planned points, when its benefits are inspected, then points remain labeled as planned and no awarded balance is represented.
Source evidence / Linked test source

public/commerce.js:53 · L53 · public/commerce.js:63 · L63 · public/commerce.js:94 · L94

tests/commerce.test.cjs:7 · tests/commerce-frontend.test.cjs:11

API references: —

Data records: —

FR-016commerceimplemented-simulationpilot

Enforce fixed commercial deadlines

Use immutable absolute offer deadlines and synchronized server time to expire promotional displays and prevent new offers, publication, proposals, acceptances, case copies and rehearsals after closure; prior agreements may continue settlement.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-OFFER, SCR-CASE, SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-016-1 Given an offer at its exact endsAt instant, when a new rehearsal or proposal is attempted, then offerWindowClosed blocks progress without changing financial state.
  2. AC-FR-016-2 Given an agreement accepted before the deadline, when settlement occurs later with valid evidence, then settlement may complete using the agreed terms.
Source evidence / Linked test source

public/commerce.js:9 · L9 · public/app.js:288 · L288 · server/kernel.cjs:72 · L72 · server/service.cjs:66 · L66

tests/commerce.test.cjs:18 · tests/commerce.test.cjs:31 · tests/commerce-frontend.test.cjs:28 · tests/commerce-browser.mjs:48

API references: —

Data records: —

FR-017searchimplementedpilot

Parse local multilingual discovery intent

Match catalog offers with a local deterministic parser for asset categories, supported market aliases and residual text in English, Portuguese, Spanish, French, Arabic and Chinese; unknown terms do not become fabricated exact matches.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-SHELL

Acceptance criteria

  1. AC-FR-017-1 Given equivalent asset and market phrases in the six supported languages, when searched, then the same matching fixture offers are selected.
  2. AC-FR-017-2 Given an unknown residual term absent from offer metadata, when searched, then it produces no exact match rather than an invented offer.
Source evidence / Linked test source

public/search.js:3 · L3 · public/search.js:15 · L15 · public/search.js:48 · L48

tests/search.test.cjs:11 · tests/search.test.cjs:20 · tests/catalog-browser.mjs:103

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools, fictionalCatalog, fictionalOfferExample

Data records: discovery_tools

FR-018searchimplementedpilot

Respect ticket intent, exclusions and currencies

Apply recognized USD exact-ticket or maximum-ticket intent, exclude negated asset categories and markets, and return no exact match for unsupported currency queries rather than converting their values.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-018-1 Given a query excluding real estate, when matches are calculated, then no Real estate offer is returned.
  2. AC-FR-018-2 Given an EUR-denominated query, when searched, then exact matches are empty and its numeric amount is not treated as USD.
Source evidence / Linked test source

public/search.js:17 · L17 · public/search.js:30 · L30 · public/search.js:48 · L48

tests/search.test.cjs:20 · tests/sourcing-frontend.test.cjs:41

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-019searchimplementedpilot

Combine and clear catalog filters

Intersect text, country, category, benefit and favorites criteria. Provide quick category toggles, individually removable active filters and a reset that also restores featured sorting.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-019-1 Given country AE and a category filter, when that category chip is removed, then AE remains active while the category clears.
  2. AC-FR-019-2 Given several active criteria and a custom sort, when reset is selected, then criteria clear, favoritesOnly becomes false and sorting becomes featured.
Source evidence / Linked test source

public/catalog-ui.js:19 · L19 · public/discovery-tools.js:23 · L23 · public/discovery-tools.js:24 · L24 · public/app.js:448 · L448 · public/app.js:468 · L468

tests/discovery-tools-browser.mjs:323 · tests/discovery-tools-browser.mjs:326 · tests/catalog-browser.mjs:248

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-020searchimplementedpilot

Sort by factual ticket or deadline

Sort matching offers by featured commercial status, ascending or descending minimum ticket, or nearest active commercial deadline, using offer ID for ties and placing absent or closed deadlines last.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-020-1 Given offers with different minimum tickets, when ascending ticket sort is selected, then every subsequent ticket is greater than or equal to the previous one.
  2. AC-FR-020-2 Given expired and future commercial deadlines, when closing sort is selected, then future deadlines precede expired or absent deadlines.
Source evidence / Linked test source

public/discovery-tools.js:3 · L3 · public/discovery-tools.js:9 · L9 · public/app.js:401 · L401

tests/discovery-frontend.test.cjs:20 · tests/discovery-frontend.test.cjs:34 · tests/discovery-tools-browser.mjs:313

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-021searchimplementedpilot

Use opt-in browser voice search

Start browser speech recognition only after explicit consent, select the current language locale, send the final transcript to search, stop on navigation or language changes, and report unavailable, denied, cancelled and failed states.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-SHELL

Acceptance criteria

  1. AC-FR-021-1 Given consent is declined, when the microphone is selected, then no recognizer is constructed and the query remains unchanged.
  2. AC-FR-021-2 Given consent and Portuguese, when speech recognition returns a final transcript, then locale pt-BR is used and that transcript becomes the search query.
Source evidence / Linked test source

public/search.js:85 · L85 · public/app.js:460 · L460 · public/app.js:410 · L410 · public/app.js:519 · L519

tests/search.test.cjs:31 · tests/catalog-browser.mjs:120 · tests/global-search-browser.mjs:201

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-022global-searchimplementedpilot

Search from every authenticated view

Render a labeled global text and microphone search bar throughout the authenticated shell, including staff views, and route submitted text to catalog discovery. Hide it during anonymous login and activation.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-CATALOG

Acceptance criteria

  1. AC-FR-022-1 Given an authenticated user on #profile, when global search is submitted, then #catalog opens with the submitted query in both search inputs.
  2. AC-FR-022-2 Given anonymous login or invitation activation, when the page renders, then the authenticated global search bar is absent.
Source evidence / Linked test source

public/global-search-ui.js:3 · L3 · public/app.js:246 · L246 · public/app.js:261 · L261

tests/global-search-frontend.test.cjs:12 · tests/global-search-browser.mjs:284 · tests/global-search-browser.mjs:396 · tests/global-search-browser.mjs:409

API references: fictionalCatalog, fictionalOfferExample, login, inspectInvite, acceptInvite, session, logout, changePassword

Data records: users, sessions, invites

FR-023global-searchimplementedpilot

Reset unrelated criteria for a new global query

Trim global input to 200 characters, synchronize global and catalog query state, and reset country, category, benefit, favorites-only and sort before running the new catalog search.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-CATALOG

Acceptance criteria

  1. AC-FR-023-1 Given an old country and benefit filter, when a new global query is submitted, then both filters clear and results use the new query.
  2. AC-FR-023-2 Given a query with surrounding whitespace, when submitted globally, then the synchronized query is trimmed and sorting is featured.
Source evidence / Linked test source

public/app.js:246 · L246 · public/app.js:339 · L339

tests/global-search-browser.mjs:296 · tests/global-search-browser.mjs:298

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-024global-searchimplementedpilot

Return to compatible unsaved drafts

Capture non-password form drafts and the originating route before global search or saved-search navigation, offer a return control, and restore drafts only when the view's revision scope still matches.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-CATALOG, SCR-PROFILE, SCR-CASE, SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-024-1 Given unsaved profile history and a password field, when the user searches and returns with the same profile version, then history is restored and the password field is empty.
  2. AC-FR-024-2 Given the originating revision changed while away, when returning, then old drafts are not restored and globalSearchStale is shown.
Source evidence / Linked test source

public/app.js:44 · L44 · public/app.js:240 · L240 · public/app.js:277 · L277 · public/global-search-ui.js:7 · L7

tests/global-search-browser.mjs:287 · tests/global-search-browser.mjs:308

API references: fictionalCatalog, fictionalOfferExample

Data records: —

FR-025fallbackimplementedpilot

Show up to three actual exploration alternatives

After zero exact matches, show a compact empty state and up to three eligible actual catalog cards labeled for exploration, ranked by known category and market intent while respecting explicit filters, exclusions and closed states.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-025-1 Given an unknown query and at least three eligible catalog alternatives, when exact results are empty, then three distinct real offer IDs appear as exploration cards.
  2. AC-FR-025-2 Given a query excluding a market or asset category, when fallback candidates are selected, then no candidate violates those exclusions.
Source evidence / Linked test source

public/search.js:74 · L74 · public/catalog-ui.js:24 · L24 · public/catalog-ui.js:28 · L28 · public/catalog-ui.js:31 · L31

tests/global-search-frontend.test.cjs:15 · tests/global-search-frontend.test.cjs:22 · tests/global-search-browser.mjs:164 · tests/global-search-browser.mjs:264

API references: —

Data records: —

FR-026recommendationsimplementedpilot

Explain related-offer differences

Generate up to three related offers for recognized asset or market intent, exclude exact matches and closed commercial windows, and label same-asset, same-market, different-ticket and residual-criteria reasons.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-026-1 Given a recognized market and category with an unmatched ticket, when related offers are shown, then any ticket mismatch is explicitly labeled.
  2. AC-FR-026-2 Given an exact result or expired commercial candidate, when related candidates are calculated, then that candidate is excluded from related suggestions.
Source evidence / Linked test source

public/search.js:58 · L58 · public/catalog-ui.js:25 · L25 · public/catalog-ui.js:28 · L28

tests/sourcing-frontend.test.cjs:13 · tests/global-search-frontend.test.cjs:26 · tests/global-search-browser.mjs:270

API references: —

Data records: —

FR-027global-searchimplementedpilot

Keep discovery free of transaction side effects

Run text search, voice-transcript search and exploration locally against loaded catalog data. These actions alone create no asset request, case, rehearsal, business command, settlement evidence or external outreach.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-CATALOG

Acceptance criteria

  1. AC-FR-027-1 Given a text search with no form submission beyond search, when results render, then case, rehearsal and asset-request counts remain unchanged.
  2. AC-FR-027-2 Given local search and mocked voice transcripts, when queries change, then no external request or settlement-evidence write is triggered.
Source evidence / Linked test source

public/app.js:246 · L246 · public/catalog-ui.js:19 · L19 · public/search.js:48 · L48

tests/global-search-browser.mjs:355 · tests/sourcing-browser.mjs:459

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools, fictionalCatalog, fictionalOfferExample

Data records: discovery_tools

FR-028favoritesimplementedpilot

Persist private offer favorites

Toggle catalog offer favorites from cards or factsheets, persist unique known offer IDs per account with a maximum of 32, and keep them private even from administrators and users in the same organization.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-OFFER

Acceptance criteria

  1. AC-FR-028-1 Given a known unfavorited offer, when its bookmark is selected, then the offer ID persists for that owner and the control becomes pressed.
  2. AC-FR-028-2 Given another account or administrator, when its discovery metadata is read, then it does not contain the first account's favorites.
Source evidence / Linked test source

public/app.js:427 · L427 · server/discovery.cjs:24 · L24 · public/discovery-tools.js:14 · L14

tests/discovery.test.cjs:74 · tests/discovery.test.cjs:126 · tests/discovery-tools-browser.mjs:281

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools

Data records: discovery_tools

FR-029favoritesimplementedpilot

Filter all suggestions by private favorites

Apply favorites-only to the source catalog before exact matching, related recommendations and exploration; show a favorite count and allow removal without leaking offers outside the selected source.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-029-1 Given one favorite and favorites-only enabled, when the query is empty, then only that favorite appears among exact results.
  2. AC-FR-029-2 Given an empty favorite set and favorites-only enabled, when a query has no matches, then exploration also remains empty.
Source evidence / Linked test source

public/catalog-ui.js:11 · L11 · public/catalog-ui.js:24 · L24 · public/app.js:448 · L448

tests/discovery-tools-browser.mjs:287 · tests/discovery-tools-browser.mjs:291

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools

Data records: discovery_tools

FR-030saved-searchesimplementedpilot

Save named discovery criteria

Save up to ten private searches with a nonblank name of at most 60 characters and only query, country, category, benefit, sort and favorites-only criteria; retain no result snapshot or transaction state.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-DISCOVERY-SAVE

Acceptance criteria

  1. AC-FR-030-1 Given fewer than ten saved searches, when a valid name is submitted, then the current six criteria and generated ID persist privately.
  2. AC-FR-030-2 Given ten existing searches or an empty name, when save is attempted, then saving is blocked without appending another record.
Source evidence / Linked test source

public/app.js:340 · L340 · public/discovery-tools.js:8 · L8 · public/discovery-tools.js:37 · L37

tests/discovery.test.cjs:134 · tests/discovery-frontend.test.cjs:24 · tests/discovery-tools-browser.mjs:347

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools, fictionalCatalog, fictionalOfferExample

Data records: discovery_tools

FR-031saved-searchesimplementedpilot

Apply or delete a saved search

List private named searches in a dialog, apply the saved criteria to the catalog with global query synchronization, and delete a selected search only after confirmation.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-DISCOVERY-SAVED, SCR-CATALOG

Acceptance criteria

  1. AC-FR-031-1 Given a saved search containing benefit, sort and favorites-only, when applied, then all those controls and its query are restored in the catalog.
  2. AC-FR-031-2 Given a delete confirmation is cancelled, when the saved-search dialog remains open, then the selected record still exists.
Source evidence / Linked test source

public/discovery-tools.js:40 · L40 · public/app.js:240 · L240 · public/app.js:443 · L443

tests/discovery-tools-browser.mjs:352 · tests/discovery.test.cjs:55

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools, fictionalCatalog, fictionalOfferExample

Data records: discovery_tools

FR-032discoveryimplementedpilot

Resolve metadata version conflicts visibly

Write favorites and saved searches together using the current expectedVersion. Reject stale updates, reload the owner's latest discovery metadata on 409, and keep metadata changes available during a financial pause.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-OFFER, SCR-DISCOVERY-SAVE, SCR-DISCOVERY-SAVED

Acceptance criteria

  1. AC-FR-032-1 Given two tabs with the same metadata version, when both write different updates, then at most one update commits and the stale write returns conflict.
  2. AC-FR-032-2 Given a financial pause, when valid favorites metadata is saved at the current version, then it succeeds without generating deal or notification activity.
Source evidence / Linked test source

public/app.js:220 · L220 · server/discovery.cjs:65 · L65

tests/discovery.test.cjs:153 · tests/discovery.test.cjs:170 · tests/discovery.test.cjs:180

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools, fictionalCatalog, fictionalOfferExample

Data records: discovery_tools

FR-033compareimplementedpilot

Compare two or three offers in memory

Maintain a temporary comparison dock across authenticated views, permit two or three offers, reject a fourth and compare category, market, ticket limits, unit price, tenor, rights and truthful status. Close the dialog below two selections and clear selections on reload or logout.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CATALOG, SCR-OFFER, SCR-DISCOVERY-COMPARE

Acceptance criteria

  1. AC-FR-033-1 Given three selected offers, when a fourth comparison control is used, then the fourth is disabled or rejected while existing selections remain removable.
  2. AC-FR-033-2 Given two selected offers, when the comparison opens, then objective fields appear; removing one closes the dialog and restores focus.
Source evidence / Linked test source

public/app.js:225 · L225 · public/app.js:432 · L432 · public/discovery-tools.js:29 · L29 · public/discovery-tools.js:43 · L43

tests/discovery-frontend.test.cjs:29 · tests/discovery-frontend.test.cjs:34 · tests/discovery-tools-browser.mjs:372

API references: getOwnDiscoveryTools, saveOwnDiscoveryTools

Data records: discovery_tools

FR-034sourcingimplementedpilot

Prepare a private sourcing draft from search

After a search, show the sourcing form to buyer, holder and admin below results and alternatives. Prefill recognized category, market and USD ticket intent, leave consent unchecked and preserve edited fields through language changes.

Roles: buyer, holder, admin · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-034-1 Given a query with an exact USD ticket, when the form appears, then minimum and maximum use that ticket and consent is false.
  2. AC-FR-034-2 Given an edited draft with explicit consent, when the language changes, then all entered fields and the consent state remain unchanged.
Source evidence / Linked test source

public/sourcing-ui.js:6 · L6 · public/sourcing-ui.js:16 · L16 · public/app.js:402 · L402

tests/sourcing-frontend.test.cjs:26 · tests/sourcing-frontend.test.cjs:41 · tests/sourcing-browser.mjs:349 · tests/global-search-browser.mjs:185

API references: listOwnAssetRequests, createAssetRequest, getAssetRequest, withdrawAssetRequest, listAdminAssetRequests, fictionalCatalog, fictionalOfferExample

Data records: asset_requests

FR-035sourcingimplemented-simulationpilot

Submit a validated asset request

Create a private simulated request containing origin query, supported category and market or Other, timeframe, optional positive USD ticket bounds, a trimmed description of 20 to 2000 characters and explicit consent. Show its generated request ID without creating an executable order.

Roles: buyer, holder, admin · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-035-1 Given valid criteria and consent, when the form is submitted, then a submitted request with version 0 and a REQUEST ID is returned.
  2. AC-FR-035-2 Given reversed ticket bounds or a description shorter than 20 characters, when submitted, then validation fails and no request is inserted.
Source evidence / Linked test source

public/app.js:348 · L348 · server/sourcing.cjs:27 · L27 · server/sourcing.cjs:78 · L78

tests/sourcing.test.cjs:51 · tests/sourcing.test.cjs:121 · tests/sourcing.test.cjs:145 · tests/sourcing-browser.mjs:362

API references: listOwnAssetRequests, createAssetRequest, getAssetRequest, withdrawAssetRequest, listAdminAssetRequests

Data records: asset_requests

FR-036sourcingimplementedpilot

Inspect and withdraw private requests

Show the owner's request history, including query, criteria, timestamps and submitted or withdrawn status. Expose a separate admin overview and allow confirmed versioned withdrawal; admin overview has no withdrawal control.

Roles: buyer, holder, admin · Screens: SCR-CATALOG, SCR-ADMIN

Acceptance criteria

  1. AC-FR-036-1 Given an owned submitted request at version 0, when withdrawal is confirmed, then status becomes withdrawn, version becomes 1 and its withdrawal button disappears.
  2. AC-FR-036-2 Given a different non-admin owner, when a request ID is read, then missing is returned; the admin overview may list it with ownerId.
Source evidence / Linked test source

public/sourcing-ui.js:12 · L12 · public/app.js:462 · L462 · server/sourcing.cjs:67 · L67 · server/sourcing.cjs:98 · L98

tests/sourcing.test.cjs:99 · tests/sourcing.test.cjs:205 · tests/sourcing-browser.mjs:395 · tests/sourcing-browser.mjs:412 · tests/sourcing-browser.mjs:479

API references: listOwnAssetRequests, createAssetRequest, getAssetRequest, withdrawAssetRequest, listAdminAssetRequests

Data records: asset_requests

FR-037sourcingimplementedpilot

Handle sourcing retries, quota and pause

Reuse an owner-specific idempotency key for an unchanged request retry, reject changed payload reuse, enforce 50 lifetime records including withdrawn requests, and block new submissions and transitions during global pause while retaining reads and prior replay results.

Roles: buyer, holder, admin · Screens: SCR-CATALOG

Acceptance criteria

  1. AC-FR-037-1 Given an already committed request and the same idempotency key and payload, when retried during pause, then the existing request is returned without another insert.
  2. AC-FR-037-2 Given 50 records including withdrawn requests, when a new request is submitted, then requestLimit is returned and the count remains 50.
Source evidence / Linked test source

public/app.js:355 · L355 · server/sourcing.cjs:81 · L81 · server/sourcing.cjs:98 · L98

tests/sourcing.test.cjs:160 · tests/sourcing.test.cjs:177 · tests/sourcing.test.cjs:189

API references: listOwnAssetRequests, createAssetRequest, getAssetRequest, withdrawAssetRequest, listAdminAssetRequests

Data records: asset_requests

FR-038shared-casesimplementedpilot

List and filter accessible shared operations

List all cases for administrators and only assigned cases for participants, with status, revision, asset context, updated timestamp and pause/archive indicators. Filter the list by status, asset category and title, ID or asset text.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-OPERATIONS

Acceptance criteria

  1. AC-FR-038-1 Given an assigned participant and an unrelated account, when each lists cases, then only the assigned participant sees that case.
  2. AC-FR-038-2 Given several accessible operations, when a status and category filter are applied, then only operations matching both remain visible.
Source evidence / Linked test source

public/app.js:187 · L187 · server/service.cjs:37 · L37 · server/service.cjs:57 · L57

tests/security.test.cjs:73 · tests/api.test.cjs:22

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-039shared-casesimplemented-simulationpilot

Create a case with five independent members

Allow admins to create a titled shared case from a template or a matching catalog offer, assigning five distinct active users in holder, buyer, compliance, rails and auditor roles. Copy the offer snapshot into a fresh case without replaying fixture participant commands.

Roles: admin · Screens: SCR-ADMIN, SCR-OFFER

Acceptance criteria

  1. AC-FR-039-1 Given five active users with distinct required roles, when an administrator creates a case, then its revision is 0 and no offer has yet been submitted by a participant.
  2. AC-FR-039-2 Given an unknown offer or mismatched template, when case creation is requested, then the operation fails atomically without creating members or a case.
Source evidence / Linked test source

public/app.js:196 · L196 · public/app.js:376 · L376 · server/service.cjs:63 · L63

tests/catalog.test.cjs:321 · tests/catalog.test.cjs:370 · tests/api.test.cjs:14

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-040shared-casesimplementedpilot

Guide role-specific next actions

Display the six-stage journey, current revision and state, next responsible role and role-specific forms. Require a completed profile and active case membership for commands; paused, archived or globally paused cases remain readable with submissions disabled.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-040-1 Given a case awaiting rails instructions, when a buyer opens it, then the next role is rails and rails-only forms are not offered to the buyer.
  2. AC-FR-040-2 Given an incomplete profile or a paused case, when a new command is submitted, then profilePending or paused blocks it while case reads remain available.
Source evidence / Linked test source

public/app.js:75 · L75 · public/app.js:89 · L89 · public/app.js:133 · L133 · public/app.js:283 · L283 · server/service.cjs:85 · L85

tests/api.test.cjs:22 · tests/api.test.cjs:71 · tests/security.test.cjs:135 · tests/browser.mjs:106

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-041shared-casesimplemented-simulationpilot

Submit and reserve a holder offer

Let the assigned holder submit quantity, unit price, optional third-party cost and agent selection with acknowledgment. Create and submit the request into review, reserving only valid transferable available units within catalog ticket limits.

Roles: holder · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-041-1 Given available transferable units and an acknowledged valid offer, when the holder submits, then status becomes review and the submitted quantity is reserved.
  2. AC-FR-041-2 Given zero or excessive quantity, when submitted, then quantityError is returned without changing available units.
Source evidence / Linked test source

public/app.js:97 · L97 · server/kernel.cjs:86 · L86 · server/service.cjs:96 · L96 · domain/model.js:150 · L150

domain/model.test.cjs:32 · domain/model.test.cjs:34 · domain/model.test.cjs:35 · tests/catalog.test.cjs:396

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-042shared-casesimplemented-simulationpilot

Record a versioned buyer mandate

Let the assigned buyer declare country, qualification and minimum/maximum USD ticket before a buyer is bound to the request. Increment the mandate version and invalidate the prior buyer review on each change.

Roles: buyer · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-042-1 Given no bound buyer and valid ticket bounds, when the mandate is saved, then its version increments and buyerReview becomes null.
  2. AC-FR-042-2 Given a mandate in a nonpermitted country, when compliance attempts approval, then buyerIneligible blocks the review.
Source evidence / Linked test source

public/app.js:101 · L101 · server/kernel.cjs:91 · L91

tests/api.test.cjs:35 · tests/api.test.cjs:37 · tests/templates.test.cjs:5

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-043shared-casesimplemented-simulationpilot

Review all gates before publication

Require compliance to record ownership, transfer, issuer, jurisdiction, encumbrance, gateway, document and buyer-review checks with a DEMO reference. Bind verification to the current source revision and mandate for 24 hours; only the holder may publish an approved request with fresh checks.

Roles: compliance, holder · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-043-1 Given a review-stage request, when any mandatory check is false, then approval fails and publication cannot bypass review.
  2. AC-FR-043-2 Given completed checks and a fresh approval, when the holder publishes, then the request becomes listed; stale source revision or expired proof blocks publication.
Source evidence / Linked test source

public/app.js:105 · L105 · public/app.js:139 · L139 · server/kernel.cjs:99 · L99 · domain/model.js:180 · L180

domain/model.test.cjs:36 · domain/model.test.cjs:37 · domain/model.test.cjs:38 · tests/api.test.cjs:38

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-044negotiationimplemented-simulationpilot

Negotiate and accept the current quote

Allow eligible buyers and bound holders to exchange prices within mandate and catalog ticket limits. Each proposal versions terms, clears previous acceptances and signatures, and expires within 24 hours or request expiry. Agreement requires both sides accepting the current proposal with acknowledgment.

Roles: buyer, holder · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-044-1 Given a buyer proposal followed by a holder counteroffer, when the counteroffer commits, then proposal version increments and the buyer's prior acceptance is cleared.
  2. AC-FR-044-2 Given proposal version 2, when the buyer submits acceptance of version 1, then quoteExpired is returned; acknowledging version 2 can move the request to agreement.
Source evidence / Linked test source

public/app.js:108 · L108 · public/app.js:141 · L141 · server/kernel.cjs:106 · L106 · domain/model.js:194 · L194

domain/model.test.cjs:39 · domain/model.test.cjs:40 · domain/model.test.cjs:41 · domain/model.test.cjs:42 · tests/api.test.cjs:41

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-045negotiationimplementedpilot

Exchange case discussion messages

Let the holder and eligible buyer post nonblank messages of at most 1200 characters while listed, negotiating, in agreement or settlement. Render role, timestamp and escaped message text in the discussion timeline.

Roles: holder, buyer · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-045-1 Given a listed case and eligible buyer, when a nonblank message is sent, then it appears with buyer role and timestamp.
  2. AC-FR-045-2 Given message text containing script markup, when the discussion renders, then the text is escaped and no script element executes.
Source evidence / Linked test source

public/app.js:164 · L164 · server/kernel.cjs:124 · L124

tests/api.test.cjs:40 · tests/browser.mjs:95

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-046negotiationimplemented-simulationpilot

Close requests through permitted transitions

Permit holder cancellation and compliance rejection before agreement with a reason. For agreement closure, require compliance, mutual release references, provider closure reference and no external movement confirmation. Explicit expiry is a domain command, not an automatic UI cancellation.

Roles: holder, compliance · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-046-1 Given a pre-agreement listed request, when the holder cancels with a reason, then status becomes cancelled and its reservation is released.
  2. AC-FR-046-2 Given an agreement and all other command gates passing, when a DEMO closure reference is missing or malformed, then demoReference rejects it; with valid references but noMovement omitted or false, closureRequired rejects it. Neither failure changes state.
Source evidence / Linked test source

public/app.js:153 · L153 · domain/model.js:266 · L266 · domain/model.js:270 · L270 · domain/model.js:274 · L274 · server/service.cjs:13 · L13

domain/model.test.cjs:50 · domain/model.test.cjs:51 · domain/model.test.cjs:64

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-047negotiationimplemented-simulationpilot

Block progress on independently resolved issues

Let authorized case participants raise an issue with a reason. Block financial progress while it is open and allow compliance or auditor resolution only by an actor different from the issue creator, with reason and DEMO reference.

Roles: holder, buyer, compliance, rails, auditor · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-047-1 Given an open settlement issue, when rails tries to record a leg, then issueOpen blocks it.
  2. AC-FR-047-2 Given compliance created an issue, when that same actor tries to resolve it, then independence blocks resolution; a distinct auditor with valid evidence may resolve it.
Source evidence / Linked test source

public/app.js:153 · L153 · domain/model.js:281 · L281 · domain/model.js:287 · L287

domain/model.test.cjs:52 · domain/model.test.cjs:65 · tests/api.test.cjs:55

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-048settlementimplemented-simulationpilot

Show cent-accurate illustrative economics

Calculate principal from quantity and price using exact units, apply a 1.2% GlemO fee and an optional additional 1% agent fee, preserve unknown third-party costs and taxes as unknown, and disclose net before those unknowns and no collected fee.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-OFFER, SCR-CASE, SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-048-1 Given quantity 250 and unit price USD 105 with agent enabled, when economics are calculated, then principal is 2625000 cents and both fees are 26250 cents.
  2. AC-FR-048-2 Given no third-party cost value, when the financial summary renders, then that cost and tax remain unknown and net is labeled before unknown costs and tax.
Source evidence / Linked test source

public/app.js:172 · L172 · public/catalog-ui.js:47 · L47 · domain/model.js:41 · L41

domain/model.test.cjs:28 · domain/model.test.cjs:30 · domain/model.test.cjs:31 · tests/frontend.test.cjs:17

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-049settlementimplemented-simulationpilot

Bind settlement to jointly acknowledged instructions

Let rails version DEMO destination, beneficiary, account-control and provider instructions, invalidating prior signatures. Require both parties to acknowledge the current proposal and instruction snapshot before rails starts settlement, rechecking buyer eligibility and fresh ownership review.

Roles: rails, holder, buyer · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-049-1 Given two signed instructions, when rails changes the destination, then both signatures become null and settlement cannot begin until renewed consent.
  2. AC-FR-049-2 Given both current signatures and fresh checks, when rails begins settlement, then a settlement snapshot is created using those exact instructions.
Source evidence / Linked test source

public/app.js:113 · L113 · public/app.js:122 · L122 · public/app.js:142 · L142 · domain/model.js:213 · L213 · domain/model.js:220 · L220 · domain/model.js:229 · L229

domain/model.test.cjs:43 · domain/model.test.cjs:44 · domain/model.test.cjs:60 · domain/model.test.cjs:61 · tests/browser.mjs:102

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-050settlementimplemented-simulationpilot

Record matching cash evidence once

Let rails record a DEMO cash reference only in settlement with no open issue, requiring the agreed principal in USD and the agreed beneficiary. Reject duplicate legs and mismatches without changing financial state.

Roles: rails · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-050-1 Given settlement principal USD 26000, when rails submits USD 1, then cashMismatch is returned and cash remains unrecorded.
  2. AC-FR-050-2 Given the exact principal, USD currency, beneficiary and unique DEMO proof, when rails records cash, then the cash reference appears and another cash leg is rejected.
Source evidence / Linked test source

public/app.js:127 · L127 · domain/model.js:236 · L236 · server/service.cjs:102 · L102

domain/model.test.cjs:45 · tests/api.test.cjs:51

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-051settlementimplemented-simulationpilot

Record exact asset delivery evidence

Let rails record delivery only when quantity, network, token reference, source account and destination equal the signed settlement. Require a unique DEMO proof distinct from cash and preserve financial state on mismatch.

Roles: rails · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-051-1 Given agreed quantity 250, when delivery reports 249 or another destination, then deliveryMismatch is returned and no delivery is recorded.
  2. AC-FR-051-2 Given cash reference DEMO-CASH, when delivery reuses that same reference, then proofReused prevents the second evidence record.
Source evidence / Linked test source

public/app.js:130 · L130 · domain/model.js:242 · L242 · server/service.cjs:102 · L102

domain/model.test.cjs:46 · domain/model.test.cjs:47 · domain/model.test.cjs:62 · tests/api.test.cjs:54

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-052settlementimplemented-simulationpilot

Reconcile independently and update positions

Require the assigned auditor, both matching legs, current signatures, no open issue and an actor independent of settlement makers. Reconcile once, issue a receipt, reduce holder units and proportional cost basis, create the buyer position and retain the original issuer.

Roles: auditor · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-052-1 Given either cash or delivery is missing, when reconciliation is attempted, then bothLegsRequired blocks completion and the submit control is disabled.
  2. AC-FR-052-2 Given a valid independent auditor and both legs for 250 of 1000 units, when reconciled, then the holder retains 750 units, the buyer receives 250 and repeated reconciliation is rejected.
Source evidence / Linked test source

public/app.js:147 · L147 · public/app.js:149 · L149 · domain/model.js:249 · L249

domain/model.test.cjs:47 · domain/model.test.cjs:48 · domain/model.test.cjs:49 · tests/api.test.cjs:61

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-053privacyimplementedpilot

Reveal only contextual counterparties

Before publication hide seller identity from the buyer; before a successful buyer proposal hide buyer mandate and identity from the holder. Reveal permitted commercial counterpart context afterward, omit other participants' private identifiers and never introduce the catalog reference buyer as another real case participant.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CASE, SCR-OFFER, SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-053-1 Given a holder before the first successful buyer proposal, when the case or its export is read, then buyer mandate and buyer identity are withheld.
  2. AC-FR-053-2 Given a valid buyer proposal in a catalog-derived shared case, when participants are projected, then the assigned commercial buyer may appear and the fictional reference buyer remains absent.
Source evidence / Linked test source

server/privacy.cjs:16 · L16 · server/privacy.cjs:23 · L23 · server/service.cjs:42 · L42

tests/privacy.test.cjs:244 · tests/privacy.test.cjs:285 · tests/privacy.test.cjs:320 · tests/privacy.test.cjs:355

API references: —

Data records: —

FR-054shared-casesimplementedpilot

Collect private role-scoped usability feedback

Allow non-admin case members to submit a score from 1 to 5 and optional text up to 1200 characters. Show only feedback for the viewer's role, with administrators able to inspect all; exclude feedback from notifications and other roles' exports and audit projections.

Roles: holder, buyer, compliance, rails, auditor · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-054-1 Given buyer feedback, when the holder reads or exports the case, then that feedback text and its audit entry are absent.
  2. AC-FR-054-2 Given a participant score outside 1 to 5, when feedback is submitted, then invalid is returned and no feedback is added.
Source evidence / Linked test source

public/app.js:169 · L169 · server/kernel.cjs:130 · L130 · server/privacy.cjs:25 · L25 · server/service.cjs:104 · L104 · server/service.cjs:136 · L136

tests/security.test.cjs:100 · tests/api.test.cjs:61 · tests/browser.mjs:114

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-055auditimplementedpilot

Inspect history and export scoped case evidence

Show reverse chronological case activity and download the role-filtered simulation report, server audit JSON and audit CSV with actor, role, action, revision and hash-link fields. Disclose uncollected fees and that role-filtered evidence is not an independently certified complete chain.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-CASE

Acceptance criteria

  1. AC-FR-055-1 Given a case member, when the JSON report is downloaded, then simulation is true, feeCollectionStatus indicates uncollected fees and private feedback of other roles is absent.
  2. AC-FR-055-2 Given audit export by a non-admin, when records are read, then foreign actor IDs are pseudonymized and the integrity statement explains role filtering.
Source evidence / Linked test source

public/app.js:175 · L175 · public/app.js:503 · L503 · server/service.cjs:134 · L134

tests/api.test.cjs:71 · tests/security.test.cjs:100 · tests/recovery.test.cjs:60 · tests/browser.mjs:115

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

FR-056adminimplementedpilot

Manage invitations and reset links

Let admins issue 24-hour join invitations with assigned participant role and DEMO organization, optionally prefilling from fictional companies. Display, copy and dismiss the returned private link, list invitation state, revoke invitations and generate replacement reset links for active non-admin accounts.

Roles: admin · Screens: SCR-ADMIN

Acceptance criteria

  1. AC-FR-056-1 Given an unused pending invitation, when the admin revokes it, then the invitation is marked revoked and activation fails.
  2. AC-FR-056-2 Given an active non-admin account, when a reset link is generated twice, then the newer link replaces previous unused reset invitations.
Source evidence / Linked test source

public/app.js:195 · L195 · public/app.js:196 · L196 · public/app.js:405 · L405 · public/app.js:497 · L497 · server/service.cjs:130 · L130 · server/auth.cjs:39 · L39

tests/security.test.cjs:221 · tests/api.test.cjs:80

API references: users, controlUser, resetUser, invites, inviteUser, revokeInvite, globalControl, metrics, securityEvents, backup, createCase, controlCase, internalFictionalFixtureSelector

Data records: —

FR-057adminimplementedpilot

Disable or re-enable participant accounts

Show participant activity and profile-completion status. Confirm account disabling, revoke its sessions and unused target invitations and pause its cases; re-enabling restores account activity without automatically unpausing cases. Admin accounts cannot be controlled through this action.

Roles: admin · Screens: SCR-ADMIN

Acceptance criteria

  1. AC-FR-057-1 Given an active participant assigned to a case, when disabling is confirmed, then its sessions are revoked and the case is paused.
  2. AC-FR-057-2 Given a disabled participant and a paused case, when the account is re-enabled, then the account is active and the case remains paused until separate case control.
Source evidence / Linked test source

public/app.js:198 · L198 · public/app.js:499 · L499 · server/service.cjs:122 · L122

tests/security.test.cjs:190 · tests/api.test.cjs:80

API references: login, inspectInvite, acceptInvite, session, logout, changePassword, users, controlUser, resetUser, invites, inviteUser, revokeInvite, globalControl, metrics, securityEvents, backup, createCase, controlCase, internalFictionalFixtureSelector

Data records: users, sessions, invites

FR-058adminimplementedpilot

Read pilot metrics and the security journal

Show active account count, shared case count, reconciled case count and illustrative reconciled volume, explicitly distinguishing zero real revenue. Display up to 200 recent security events with timestamp, action and actor ID to admins only.

Roles: admin · Screens: SCR-ADMIN

Acceptance criteria

  1. AC-FR-058-1 Given reconciled shared cases, when metrics are read by an admin, then illustrative volume sums those cases and realRevenueCents remains zero.
  2. AC-FR-058-2 Given a completed private rehearsal, when shared metrics are refreshed, then it does not increase shared reconciled count or illustrative shared volume.
Source evidence / Linked test source

public/app.js:196 · L196 · public/app.js:329 · L329 · server/service.cjs:142 · L142 · server/app.cjs:124 · L124

tests/api.test.cjs:14 · tests/security.test.cjs:73 · tests/rehearsal-security.test.cjs:329 · tests/rehearsal-browser.mjs:94

API references: users, controlUser, resetUser, invites, inviteUser, revokeInvite, globalControl, metrics, securityEvents, backup, createCase, controlCase, internalFictionalFixtureSelector

Data records: —

FR-059adminimplementedpilot

Pause global processing or archive a case

Apply admin controls with a nonblank reason to pause global processing or pause/archive individual cases. Preserve readable state and exports, block new case commands during pause/archive and allow authorized controls to reverse the flag.

Roles: admin · Screens: SCR-ADMIN, SCR-CASE

Acceptance criteria

  1. AC-FR-059-1 Given global pause enabled with a reason, when a participant submits a new case command, then paused is returned while case export still succeeds.
  2. AC-FR-059-2 Given a case marked archived, when another command is submitted, then archived blocks it until an administrator removes the archive flag.
Source evidence / Linked test source

public/app.js:205 · L205 · public/app.js:377 · L377 · server/service.cjs:90 · L90 · server/service.cjs:113 · L113

tests/api.test.cjs:71 · tests/rehearsal-security.test.cjs:262 · tests/sourcing.test.cjs:189 · tests/discovery.test.cjs:180

API references: listCases, getCase, command, caseAudit, exportCase, users, controlUser, resetUser, invites, inviteUser, revokeInvite, globalControl, metrics, securityEvents, backup, createCase, controlCase, internalFictionalFixtureSelector

Data records: cases, members, commands, case_audit, external_evidence

FR-060recoveryimplementedpilot

Create and restore validated pilot backups

Let admins create a snapshot and inspect its filename and SHA-256 in the UI. Provide stopped-runtime CLI restoration that validates the staged backup, preserves pilot records and revokes restored sessions and unused invitations; restoration is not a browser action.

Roles: admin · Screens: SCR-ADMIN

Acceptance criteria

  1. AC-FR-060-1 Given an administrator, when backup is requested successfully, then the response exposes snapshot name and SHA-256 for display.
  2. AC-FR-060-2 Given a valid backup and stopped runtime, when restored through the CLI, then case evidence and private records survive while prior sessions and unused invitations are revoked.
Source evidence / Linked test source

public/app.js:501 · L501 · server/app.cjs:128 · L128 · server/store.cjs:65 · L65 · scripts/manage.cjs:16 · L16

tests/recovery.test.cjs:145 · tests/recovery.test.cjs:166 · tests/recovery.test.cjs:197 · tests/recovery.test.cjs:210 · tests/discovery.test.cjs:263 · tests/rehearsal-recovery.test.cjs:165

API references: —

Data records: —

FR-061notificationsimplementedpilot

Read owner-scoped in-app notifications

Notify other opted-in case members after case creation and successful non-feedback commands. Show an unread badge and the owner's latest 100 entries with action, timestamp and case link; allow only the owner to mark an entry read.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-NOTIFICATIONS

Acceptance criteria

  1. AC-FR-061-1 Given another member with inApp enabled, when a case command commits, then an unread entry appears with its case ID and action.
  2. AC-FR-061-2 Given a notification belonging to another account, when marking it read is attempted, then missing is returned and its read flag is unchanged.
Source evidence / Linked test source

public/app.js:200 · L200 · public/app.js:260 · L260 · public/app.js:502 · L502 · server/service.cjs:58 · L58 · server/service.cjs:140 · L140

tests/api.test.cjs:61 · tests/privacy.test.cjs:334 · tests/recovery.test.cjs:127

API references: notifications, readNotification

Data records: notifications

FR-062rehearsalsimplemented-simulationpilot

Create and resume private individual rehearsals

Start a standard private purchase or sale from an offer, or select an offer, buyer/holder simulated role and one of six advanced scenarios. List only the owner's sessions with active, complete or all filters and progress counts; reject access by other owners, including admins.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-OFFER, SCR-REHEARSALS, SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-062-1 Given an offer and a holder account, when its sale action is selected, then a standard rehearsal starts with simulated role holder.
  2. AC-FR-062-2 Given a private rehearsal ID owned by another user, when any other account including an administrator reads it, then missing is returned.
Source evidence / Linked test source

public/app.js:470 · L470 · public/rehearsal-ui.js:68 · L68 · public/rehearsal-ui.js:78 · L78 · server/rehearsal.cjs:193 · L193 · server/rehearsal.cjs:218 · L218

tests/rehearsal.test.cjs:24 · tests/rehearsal-security.test.cjs:386 · tests/rehearsal-browser.mjs:59

API references: listPersonalRehearsals, startPersonalRehearsal, getPersonalRehearsal, commandPersonalRehearsal, savePersonalRehearsalFeedback, exportPersonalRehearsal

Data records: rehearsals

FR-063rehearsalsimplemented-simulationpilot

Run the individual transaction journey with automated roles

Present the available next action, six-stage workflow, quote, agreement, economics, positions and human-versus-automated timeline. Deterministic counterparts and operational roles use the same domain gates to progress through offer, negotiation, acknowledgment, settlement and reconciliation without shared-case effects.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-063-1 Given a standard buyer rehearsal, when valid next actions are acknowledged through reconciliation, then it completes and shows acquired units and a simulated receipt.
  2. AC-FR-063-2 Given completion of a rehearsal, when shared cases and external-evidence counts are checked, then they remain unchanged and no real fee is collected.
Source evidence / Linked test source

public/rehearsal-ui.js:87 · L87 · public/rehearsal-ui.js:109 · L109 · public/rehearsal-ui.js:155 · L155 · server/rehearsal.cjs:66 · L66

tests/rehearsal.test.cjs:24 · tests/rehearsal-security.test.cjs:329 · tests/rehearsal-browser.mjs:80

API references: listPersonalRehearsals, startPersonalRehearsal, getPersonalRehearsal, commandPersonalRehearsal, savePersonalRehearsalFeedback, exportPersonalRehearsal

Data records: rehearsals

FR-064rehearsalsimplemented-simulationpilot

Exercise and repair five adverse scenarios

Support counteroffer refusal, missing documents, ineligible buyer, expired quote and settlement mismatch in addition to standard flow. Provide scenario-specific repair commands and keep synthetic quote-expiry time separate from the real campaign deadline.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-REHEARSALS, SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-064-1 Given a missing_documents rehearsal, when proposing before restore_documents, then checklistRequired is recorded; restoring documents permits progression.
  2. AC-FR-064-2 Given settlement_mismatch, when reconciliation is attempted before resolve_mismatch, then issueOpen blocks it; resolving the mismatch allows reconciliation.
Source evidence / Linked test source

public/rehearsal-ui.js:4 · L4 · server/rehearsal.cjs:27 · L27 · server/rehearsal.cjs:38 · L38 · server/rehearsal.cjs:74 · L74 · server/rehearsal.cjs:102 · L102

tests/rehearsal.test.cjs:24 · tests/commerce.test.cjs:50 · tests/rehearsal-browser.mjs:63 · tests/rehearsal-browser.mjs:83

API references: listPersonalRehearsals, startPersonalRehearsal, getPersonalRehearsal, commandPersonalRehearsal, savePersonalRehearsalFeedback, exportPersonalRehearsal

Data records: rehearsals

FR-065rehearsalsimplemented-simulationpilot

Abandon an individual rehearsal without claiming cancellation

Require explicit confirmation to abandon an unfinished rehearsal, record its abandoned private outcome, remove further workflow actions and retain the existing domain financial state and history rather than claiming reversal of settlement.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-REHEARSAL, SCR-REHEARSALS

Acceptance criteria

  1. AC-FR-065-1 Given an unfinished rehearsal, when abandon is submitted without confirmed true, then consentRequired is recorded and the rehearsal remains active.
  2. AC-FR-065-2 Given explicit confirmation, when abandonment succeeds, then phase is abandoned and availableActions is empty while existing financial evidence is retained.
Source evidence / Linked test source

public/rehearsal-ui.js:123 · L123 · public/rehearsal-ui.js:130 · L130 · server/rehearsal.cjs:58 · L58 · server/rehearsal.cjs:69 · L69

tests/rehearsal.test.cjs:50 · tests/rehearsal-security.test.cjs:233

API references: listPersonalRehearsals, startPersonalRehearsal, getPersonalRehearsal, commandPersonalRehearsal, savePersonalRehearsalFeedback, exportPersonalRehearsal

Data records: rehearsals

FR-066rehearsalsimplementedpilot

Save private feedback and export rehearsal results

Save or replace the owner's rehearsal score from 1 to 5 and optional text up to 1200 characters at the current revision. Export private JSON or localized script-free standalone HTML containing projected state, outcomes, human/automated counters, blocked attempts, wall duration and fictional evidence scope.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-066-1 Given the current rehearsal revision and valid feedback, when saved, then feedback persists after reload and the revision increments.
  2. AC-FR-066-2 Given feedback containing HTML markup, when HTML export is downloaded, then markup is escaped, no script executes and the report retains zero real revenue and simulation scope.
Source evidence / Linked test source

public/app.js:367 · L367 · public/app.js:481 · L481 · public/rehearsal-ui.js:166 · L166 · public/rehearsal-ui.js:223 · L223 · server/rehearsal.cjs:179 · L179 · server/rehearsal.cjs:213 · L213

tests/rehearsal-frontend.test.cjs:19 · tests/rehearsal-browser.mjs:86 · tests/rehearsal-browser.mjs:89 · tests/rehearsal-recovery.test.cjs:137

API references: listPersonalRehearsals, startPersonalRehearsal, getPersonalRehearsal, commandPersonalRehearsal, savePersonalRehearsalFeedback, exportPersonalRehearsal

Data records: rehearsals

FR-067recoveryimplementedpilot

Recover visibly from stale writes and request failures

Send commands with current case/rehearsal revisions and stable retry keys, reject stale or altered retries, and commit each key once. Preserve blocked rehearsal attempts without financial mutation, show localized network/integrity errors, and offer explicit reload with an unsaved-change warning. Background case polling only announces available updates.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-CASE, SCR-REHEARSAL

Acceptance criteria

  1. AC-FR-067-1 Given the same committed command and retry key, when resent unchanged, then it replays without a duplicate financial action; changed payload reuse returns conflict.
  2. AC-FR-067-2 Given an invalid rehearsal action with a recognized domain error, when attempted, then a blocked attempt and revision are saved while the prior financial state remains unchanged.
Source evidence / Linked test source

public/app.js:303 · L303 · public/app.js:361 · L361 · public/app.js:390 · L390 · public/app.js:493 · L493 · public/app.js:527 · L527 · server/service.cjs:88 · L88 · server/rehearsal.cjs:125 · L125 · server/rehearsal.cjs:201 · L201

tests/security.test.cjs:377 · tests/recovery.test.cjs:79 · tests/recovery.test.cjs:127 · tests/rehearsal-security.test.cjs:215 · tests/rehearsal-security.test.cjs:287

API references: —

Data records: —

FR-068localizationimplementedpilot

Localize navigation, forms and reports in six languages

Support en, pt, es, fr, ar and zh across shell, search, catalog, dialogs, sourcing, case and rehearsal views and HTML exports. Use Arabic RTL, localized money/date formatting and explicit decimal normalization; preserve compatible non-password drafts and open details during language changes and expose a localized help route.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: SCR-SHELL, SCR-LOGIN, SCR-ACTIVATE, SCR-CATALOG, SCR-OFFER, SCR-PROFILE, SCR-CASE, SCR-REHEARSAL, SCR-HELP

Acceptance criteria

  1. AC-FR-068-1 Given Arabic is selected, when any supported view or localized HTML report renders, then lang is ar, direction is rtl and translation keys resolve.
  2. AC-FR-068-2 Given an unsaved non-password draft and a decimal with an explicit locale separator, when language changes or the form submits, then the draft survives and decimal meaning is preserved without stripping grouping.
Source evidence / Linked test source

public/app.js:4 · L4 · public/app.js:29 · L29 · public/app.js:62 · L62 · public/app.js:208 · L208 · public/app.js:336 · L336 · public/app.js:407 · L407 · public/view.js:12 · L12

tests/frontend.test.cjs:6 · tests/frontend.test.cjs:11 · tests/discovery-frontend.test.cjs:12 · tests/rehearsal-frontend.test.cjs:8 · tests/browser.mjs:119 · tests/global-search-browser.mjs:139

API references: —

Data records: —

NFR-001securityimplementedpilot

Session lifecycle

Opaque cookie, hashed token storage,30min idle/12h absolute expiry; activity-only touch; logout/reset/password/disable revocation.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Login, Profile

Acceptance criteria

  1. AC-NFR-001-1 Enforce exact expiry boundaries; background polling must not extend idle lifetime.
  2. AC-NFR-001-2 After401 clear account data before showing login.
Source evidence / Linked test source

server/auth.cjs:18 · L18 · server/app.cjs:27 · L27 · server/app.cjs:67 · L67

tests/security.test.cjs:173 · tests/security.test.cjs:190 · tests/security.test.cjs:349

API references: login, inspectInvite, acceptInvite, session, logout, changePassword

Data records: users, sessions, invites

NFR-002securityimplementedpilot

Password protection

14..128 Unicode code points, basic weak-value rejection; salted scrypt N32768/r8/p3,64-byte result, constant-time compare; max4 hashing jobs. No MFA/SSO/passkeys implemented.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Activation, Login, Profile

Acceptance criteria

  1. AC-NFR-002-1 Never return password hashes in API account projections.
  2. AC-NFR-002-2 Additional authentication assurance requirements remain TBD.
Source evidence / Linked test source

server/util.cjs:14 · L14 · server/auth.cjs:77 · L77 · docs/KNOWN_LIMITS.md:41 · L41

tests/security.test.cjs:190

API references: login, inspectInvite, acceptInvite, session, logout, changePassword

Data records: users, sessions, invites

NFR-003securityimplementedpilot

Invitation safety

Random32-byte tokens, stored hashes,24h expiry, single acceptance and transactional recheck after hashing; raw links are private.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Administration, Activation

Acceptance criteria

  1. AC-NFR-003-1 Reject used/revoked/expired tokens; HTTP cannot invite admin.
  2. AC-NFR-003-2 Reset issuance alone must not revoke existing sessions; acceptance does.
Source evidence / Linked test source

server/auth.cjs:32 · L32 · server/auth.cjs:54 · L54 · server/service.cjs:131 · L131

tests/security.test.cjs:221 · tests/security.test.cjs:255

API references: —

Data records: —

NFR-004securityimplementedpilot

Transport boundary

Exact Host and POST Origin; HTTPS requires explicit trust, exact socket peer and forwarded https. TLS termination/deployment remains external and unverified.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: All authenticated views

Acceptance criteria

  1. AC-NFR-004-1 Verify dedicated HTTPS origin and trusted proxy on selected host before external participants.
  2. AC-NFR-004-2 Keep Node upstream private; hosting status is not inferred from source.
Source evidence / Linked test source

server/app.cjs:23 · L23 · server/app.cjs:48 · L48 · server/app.cjs:156 · L156 · docs/RUNBOOK.md:65 · L65

tests/security.test.cjs:407

API references: —

Data records: —

NFR-005securityimplementedpilot

Request defenses

Authenticated POST CSRF plus CSP/no-store/nosniff/frame denial/no-referrer; HTTPS adds Secure cookie/HSTS. Static serving restricted to public files.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: All authenticated views

Acceptance criteria

  1. AC-NFR-005-1 Reject invalid CSRF/Origin without mutation.
  2. AC-NFR-005-2 Do not expose runtime, source, dotfiles, traversal or symlink targets through static routes.
Source evidence / Linked test source

server/app.cjs:27 · L27 · server/app.cjs:42 · L42 · server/app.cjs:142 · L142

tests/security.test.cjs:312 · tests/security.test.cjs:338 · tests/api.test.cjs:87

API references: —

Data records: —

NFR-006accessimplementedpilot

Fixed-role access

Server derives identity from session; shared reads require membership/admin, execution requires matching participant role; same organization grants no access.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Operations, Shared case, Administration

Acceptance criteria

  1. AC-NFR-006-1 Use five distinct active fixed-role accounts; admin cannot impersonate participants.
  2. AC-NFR-006-2 Return404 for inaccessible shared cases.
Source evidence / Linked test source

server/service.cjs:37 · L37 · server/service.cjs:69 · L69 · server/service.cjs:86 · L86

tests/security.test.cjs:73 · tests/security.test.cjs:135

API references: —

Data records: —

NFR-007privacyimplementedpilot

Contextual disclosure

Buyer sees seller in permitted factsheet/published case; holder sees buyer only after binding plus successful buyer proposal. References additionally require opt-in.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Catalog, Offer factsheet, Shared case, Reports

Acceptance criteria

  1. AC-NFR-007-1 Enforce gates in nested state, replay, audit/export; assignment/mandate/review/failed proposal does not unlock buyer.
  2. AC-NFR-007-2 Factsheet buyer always null; catalog never returns a participant directory.
Source evidence / Linked test source

server/privacy.cjs:16 · L16 · server/privacy.cjs:49 · L49 · server/service.cjs:42 · L42 · docs/ACCESS_POLICY.md

tests/privacy.test.cjs:191 · tests/privacy.test.cjs:244 · tests/privacy.test.cjs:285

API references: —

Data records: —

NFR-008accessimplementedpilot

Private resource ownership

Sourcing is owner plus internal admin; discovery and rehearsals are owner-only even against admins. Synthetic rehearsal role controls disclosure.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Catalog, Discovery dialogs, Individual rehearsal, Administration

Acceptance criteria

  1. AC-NFR-008-1 Never extend sourcing admin access to discovery/rehearsal.
  2. AC-NFR-008-2 Ignore/reject client-selected owner identity; another owner's private rehearsal returns404.
Source evidence / Linked test source

server/sourcing.cjs:67 · L67 · server/discovery.cjs:61 · L61 · server/rehearsal.cjs:193 · L193 · server/rehearsal.cjs:165 · L165

tests/sourcing.test.cjs:99 · tests/discovery.test.cjs:74 · tests/rehearsal-security.test.cjs:116 · tests/privacy.test.cjs:355

API references: listOwnAssetRequests, createAssetRequest, getAssetRequest, withdrawAssetRequest, listAdminAssetRequests

Data records: asset_requests

NFR-009privacyspecified-not-implementedpilot

Consent and retention

fictional-data-v1 consent and reference opt-in exist; retention period, disposal owner, erasure/access workflow and backup disposal are TBD; no automated purge.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Activation, Profile, Reports

Acceptance criteria

  1. AC-NFR-009-1 Define and record retention/disposal before recruitment; do not invent a number of days.
  2. AC-NFR-009-2 Use fictional data only; do not collect real identity documents or private third-party contacts.
Source evidence / Linked test source

server/auth.cjs:67 · L67 · server/service.cjs:24 · L24 · docs/KNOWN_LIMITS.md:36 · L36 · docs/PRE_PARTICIPANT_CHECKLIST.md:50 · L50

tests/privacy.test.cjs:285 · tests/sourcing-frontend.test.cjs:26

API references: —

Data records: —

NFR-010apiimplementedpilot

Strict DTO contract

JSON <=32768bytes; endpoint/action allowlists, typed enums and lengths. Some body-only routes parse but ignore JSON: logout and notification-read do not enforce empty-object DTOs.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: All forms

Acceptance criteria

  1. AC-NFR-010-1 Reject unknown owner/role/state/evidence fields on strict endpoints; do not infer SQL constraints from DTO-only checks.
  2. AC-NFR-010-2 Document actual exceptions and HTTP method/error precedence; no bearer/CORS API.
Source evidence / Linked test source

server/app.cjs:35 · L35 · server/app.cjs:74 · L74 · server/app.cjs:112 · L112 · server/service.cjs:7 · L7 · server/discovery.cjs:17 · L17 · docs/OPENAPI.json

tests/security.test.cjs:135 · tests/discovery.test.cjs:111 · tests/sourcing.test.cjs:121 · tests/rehearsal-security.test.cjs:156

API references: —

Data records: —

NFR-011concurrencyimplementedpilot

Optimistic concurrency

BEGIN IMMEDIATE and expected versions serialize writes. Shared revision/deal version, profile version, rehearsal revision, request version and discovery CAS are separate.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Profile, Shared case, Individual rehearsal, Discovery dialogs, Catalog

Acceptance criteria

  1. AC-NFR-011-1 Stale writes return409 without overwriting committed data.
  2. AC-NFR-011-2 Discovery identical stale submissions conflict; there is no idempotency-key replay for discovery.
Source evidence / Linked test source

server/store.cjs:54 · L54 · server/service.cjs:93 · L93 · server/discovery.cjs:65 · L65 · server/sourcing.cjs:98 · L98

tests/security.test.cjs:377 · tests/discovery.test.cjs:153 · tests/discovery.test.cjs:170 · tests/rehearsal-security.test.cjs:287

API references: —

Data records: —

NFR-012integrityimplementedpilot

Idempotent commands

Shared keys scoped to case/user/full-envelope; sourcing keys scoped to owner/canonical payload; rehearsals persist key/fingerprint/result. Exact replays checked before pause/quota where implemented.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Shared case, Catalog, Individual rehearsal

Acceptance criteria

  1. AC-NFR-012-1 Changed duplicate key payload/owner conflicts409; exact retry cannot reapply evidence or notifications.
  2. AC-NFR-012-2 Replayed responses use current authorized privacy projection.
Source evidence / Linked test source

server/service.cjs:83 · L83 · server/sourcing.cjs:82 · L82 · server/rehearsal.cjs:204 · L204

tests/security.test.cjs:377 · tests/sourcing.test.cjs:160 · tests/rehearsal-security.test.cjs:488

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

NFR-013integrityimplemented-simulationpilot

Exact financial arithmetic

Input decimals are strings; units6 decimals, money2; BigInt unit arithmetic, safe integer USD cents and cent half-up rounding. Unknown tax/cost remains null.

Roles: holder, buyer, rails, auditor · Screens: Shared case, Individual rehearsal, Reports

Acceptance criteria

  1. AC-NFR-013-1 Reject exponent/grouped/signed/unsafe/overprecision inputs; preserve explicit locale normalization.
  2. AC-NFR-013-2 Illustrative fees must not appear as invoiced or collected revenue.
Source evidence / Linked test source

domain/model.js:18 · L18 · domain/model.js:40 · L40 · server/service.cjs:82 · L82

tests/frontend.test.cjs:6 · tests/frontend.test.cjs:17 · tests/commerce.test.cjs:7 · tests/sourcing.test.cjs:145

API references: —

Data records: —

NFR-014integrityimplemented-simulationpilot

Settlement record integrity

Instructions and economics frozen into acknowledgements/settlement; evidence legs match exact values; references unique; reconciliation and issue resolution require independent actors.

Roles: holder, buyer, compliance, rails, auditor · Screens: Shared case, Individual rehearsal, Reports

Acceptance criteria

  1. AC-NFR-014-1 Reject changed legs, reused proof and self-reconciliation; replacing instructions clears old consent.
  2. AC-NFR-014-2 No evidence-edit, refund, reversal or live execution API is implied.
Source evidence / Linked test source

domain/model.js:81 · L81 · domain/model.js:213 · L213 · domain/model.js:236 · L236 · server/store.cjs:36 · L36

domain/model.test.cjs:61 · domain/model.test.cjs:62 · domain/model.test.cjs:63 · domain/model.test.cjs:67

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

NFR-015integrityimplementedpilot

Transactional writes

State, idempotency, evidence, case audit and notifications commit together; sourcing/discovery/rehearsal include security bookkeeping in their write transaction.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Shared case, Individual rehearsal, Catalog, Discovery dialogs

Acceptance criteria

  1. AC-NFR-015-1 A failed command cannot leave partial financial/idempotency/audit/notification changes.
  2. AC-NFR-015-2 Expected rehearsal blocks may persist only the blocked attempt/revision/retry metadata, with unchanged financial state.
Source evidence / Linked test source

server/store.cjs:54 · L54 · server/service.cjs:84 · L84 · server/sourcing.cjs:81 · L81 · server/discovery.cjs:69 · L69

tests/recovery.test.cjs:127 · tests/sourcing.test.cjs:218 · tests/discovery.test.cjs:191 · tests/rehearsal-security.test.cjs:308

API references: —

Data records: —

NFR-016integrityimplementedpilot

Stored-state validation

Read paths validate snapshot hashes/domain invariants; cases additionally verify full audit linkage; sourcing/discovery bind hashes to owner metadata.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Shared case, Individual rehearsal, Discovery dialogs, Reports

Acceptance criteria

  1. AC-NFR-016-1 Corrupt stored data returns503 without leaking private rows.
  2. AC-NFR-016-2 Hash validity alone cannot replace logical validation or establish external certification.
Source evidence / Linked test source

server/store.cjs:7 · L7 · server/rehearsal.cjs:185 · L185 · server/sourcing.cjs:38 · L38 · server/discovery.cjs:38 · L38

tests/recovery.test.cjs:79 · tests/rehearsal-security.test.cjs:369 · tests/sourcing.test.cjs:240 · tests/discovery.test.cjs:213

API references: —

Data records: —

NFR-017auditimplementedpilot

Audit boundaries

Case/security tables reject UPDATE/DELETE via triggers; case chain uses SHA256. Security audit has no hash chain; disk admins can bypass controls; filtered exports cannot reproduce full chain.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Shared case, Administration, Reports

Acceptance criteria

  1. AC-NFR-017-1 Preserve stored canonical evidence when filtering responses.
  2. AC-NFR-017-2 Label participant audit as filtered and not independently certified/tamper-proof.
Source evidence / Linked test source

server/store.cjs:43 · L43 · server/service.cjs:134 · L134 · docs/ACCESS_POLICY.md

tests/recovery.test.cjs:60 · tests/privacy.test.cjs:395

API references: listCases, getCase, command, caseAudit, exportCase

Data records: cases, members, commands, case_audit, external_evidence

NFR-018backupimplementedpilot

Backup capability

Manual SQLite backup API/CLI creates private snapshot, integrity_check and SHA256 metadata; no schedule, offsite copy, rotation, encryption or retention policy.

Roles: admin · Screens: Administration

Acceptance criteria

  1. AC-NFR-018-1 Use SQLite backup API instead of copying a live DB without WAL.
  2. AC-NFR-018-2 Define cadence, retention, protected offsite copy and recovery targets; API returns metadata only.
Source evidence / Linked test source

server/store.cjs:65 · L65 · server/app.cjs:128 · L128 · docs/RUNBOOK.md:108 · L108

tests/recovery.test.cjs:145

API references: —

Data records: —

NFR-019recoveryimplementedpilot

Offline restore

Privileged CLI checks lock/schema/integrity/FKs/cases/optional snapshots, stages and revalidates, revokes sessions/unused invites, snapshots old target and renames staged DB.

Roles: admin · Screens: Operator CLI

Acceptance criteria

  1. AC-NFR-019-1 Restore only with writers stopped; reject invalid source before target replacement.
  2. AC-NFR-019-2 Record snapshot time and post-snapshot data loss; full filesystem sequence crash durability/RPO/RTO remain unproven/TBD.
Source evidence / Linked test source

scripts/manage.cjs:16 · L16 · scripts/manage.cjs:30 · L30 · scripts/manage.cjs:40 · L40 · docs/RUNBOOK.md:122 · L122

tests/recovery.test.cjs:166 · tests/recovery.test.cjs:197 · tests/rehearsal-recovery.test.cjs:252 · tests/sourcing.test.cjs:340 · tests/discovery.test.cjs:325

API references: —

Data records: —

NFR-020availabilityspecified-not-implementedpilot

Availability topology

One synchronous SQLite process on persistent local disk with local PID/maintenance locks; no multi-node/HA/failover/replication or availability SLA.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: All authenticated views, Operator CLI

Acceptance criteria

  1. AC-NFR-020-1 Provision one supervised instance with private persistent writable disk; define availability/restart expectations.
  2. AC-NFR-020-2 Local lock tests must not be represented as distributed failover evidence.
Source evidence / Linked test source

server/main.cjs · server/store.cjs:24 · L24 · docs/KNOWN_LIMITS.md:45 · L45 · docs/RUNBOOK.md:88 · L88

tests/lifecycle.test.cjs:6 · tests/lifecycle-security.test.cjs:140

API references: —

Data records: —

NFR-021observabilityimplementedpilot

Liveness and diagnostics

Health returns status/instanceId without database-wide integrity or disk/readiness scan; API errors use code/requestId; admin security view newest200. No alerts/log rotation.

Roles: admin · Screens: Administration, Operator CLI

Acceptance criteria

  1. AC-NFR-021-1 Preserve request IDs without logging passwords/cookies/private links.
  2. AC-NFR-021-2 Define external disk, backup, failure alerts and response owner;200 health is liveness only.
Source evidence / Linked test source

server/app.cjs:46 · L46 · server/app.cjs:56 · L56 · server/app.cjs:125 · L125 · server/app.cjs:149 · L149 · docs/KNOWN_LIMITS.md:48 · L48

tests/api.test.cjs:14

API references: —

Data records: —

NFR-022accessimplementedpilot

Pause and revocation

Pause/archive gate fresh financial actions; disabling revokes sessions/resets and pauses member cases; enable does not resume. Discovery metadata remains writable during financial pause.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Administration, Shared case, Catalog, Discovery dialogs, Individual rehearsal

Acceptance criteria

  1. AC-NFR-022-1 Preserve reads and valid existing idempotent outcomes during pause.
  2. AC-NFR-022-2 Do not treat financial pause as a full maintenance lock or data deletion.
Source evidence / Linked test source

server/service.cjs:90 · L90 · server/service.cjs:122 · L122 · server/sourcing.cjs:88 · L88 · server/discovery.cjs:65 · L65

tests/rehearsal-security.test.cjs:262 · tests/sourcing.test.cjs:189 · tests/discovery.test.cjs:180

API references: —

Data records: —

NFR-023securityimplementedpilot

Abuse and quotas

Fixed windows: login IP50/10min,alias10/10min; accept30/10min; invite-info60/10min; authenticated300/min; backup3/h. Proxy IP shared; max50 sourcing/rehearsals,200 commands,32 favorites,10 searches.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Login, Activation, Catalog, Discovery dialogs, Individual rehearsal, Administration

Acceptance criteria

  1. AC-NFR-023-1 Persist quota checks atomically; withdrawn/abandoned records do not free record quotas.
  2. AC-NFR-023-2 Return429 where implemented; no Retry-After or distributed abuse protection is promised.
Source evidence / Linked test source

server/auth.cjs:8 · L8 · server/app.cjs:61 · L61 · server/app.cjs:72 · L72 · server/app.cjs:129 · L129 · server/rehearsal.cjs:196 · L196 · server/sourcing.cjs:89 · L89 · server/discovery.cjs:23 · L23

tests/sourcing.test.cjs:177 · tests/discovery.test.cjs:134

API references: —

Data records: —

NFR-024securityimplementedpilot

Private storage and packaging

Data directory0700 and DB/backups0600; no application encryption at rest/key management. Release archives must exclude runtime, credentials, reports, notes and recordings.

Roles: admin · Screens: Operator CLI

Acceptance criteria

  1. AC-NFR-024-1 Verify private permissions and actual archive contents; ignore rules alone are insufficient.
  2. AC-NFR-024-2 Define operator/host encryption and key requirements separately; file modes are not encryption.
Source evidence / Linked test source

server/store.cjs:21 · L21 · server/store.cjs:68 · L68 · docs/RUNBOOK.md:63 · L63 · docs/KNOWN_LIMITS.md:37 · L37 · docs/KNOWN_LIMITS.md:48 · L48

tests/recovery.test.cjs:145 · tests/frontend.test.cjs:20

API references: —

Data records: —

NFR-025accessibilityspecified-not-implementedpilot

Accessibility

Labels, semantic controls, live alerts, dialog focus and responsive geometry have source/harness coverage; keyboard/screen-reader/native-device review and conformance remain unverified.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Catalog, Discovery dialogs, Shared case, Individual rehearsal, All forms

Acceptance criteria

  1. AC-NFR-025-1 Check named controls, keyboard operation, focus restoration and no overlap at320/390/1440px.
  2. AC-NFR-025-2 Record assistive technology/device evidence; no accessibility certification is inferred.
Source evidence / Linked test source

public/app.js:34 · L34 · public/app.js:57 · L57 · public/index.html · docs/TESTING.md

tests/discovery-frontend.test.cjs:12 · tests/discovery-tools-browser.mjs:146 · tests/global-search-browser.mjs:128 · tests/rehearsal-browser.mjs:21

API references: —

Data records: —

NFR-026localizationimplementedpilot

Localization and RTL

UI supports en/pt/es/fr/ar/zh; Arabic RTL; locale number/date/money and input normalization; observed translation/device quality still pending.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: All authenticated views, Reports

Acceptance criteria

  1. AC-NFR-026-1 Keep all runtime keys translated and export language/direction consistent.
  2. AC-NFR-026-2 Validate Arabic/Chinese/mobile layout and decimal meaning; language change does not change financial terms.
Source evidence / Linked test source

public/app.js:3 · L3 · public/app.js:22 · L22 · public/app.js:62 · L62 · docs/KNOWN_LIMITS.md:31 · L31

tests/frontend.test.cjs:6 · tests/frontend.test.cjs:11 · tests/rehearsal-frontend.test.cjs:8 · tests/global-search-frontend.test.cjs:12

API references: —

Data records: —

NFR-027client-reliabilityimplementedpilot

Client refresh and errors

Visible authenticated client polls session every7s, compares case revision/control and warns of updates; does not stream SSE/WebSocket. Fetch abort15s maps transport faults to networkError.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Shared case, All authenticated views

Acceptance criteria

  1. AC-NFR-027-1 Warn about newer case data without silently replacing unsaved decisions.
  2. AC-NFR-027-2 On uncertain write outcome, reload/replay the original idempotency envelope;15s timeout is not a latency SLA.
Source evidence / Linked test source

public/app.js:304 · L304 · public/app.js:527 · L527

tests/security.test.cjs:349 · tests/global-search-browser.mjs

API references: —

Data records: —

NFR-028privacyimplementedpilot

Optional voice privacy

Explicit microphone click/notice and browser permission; text fallback; application stores no audio, browser recognition may use remote provider with independent retention.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Catalog, Global search

Acceptance criteria

  1. AC-NFR-028-1 Handle unavailable/denied/no-speech/service-error states and stop recognition on navigation/logout.
  2. AC-NFR-028-2 Do not claim fully local speech or physical-device/provider validation from mocks.
Source evidence / Linked test source

public/search.js · server/app.cjs:31 · L31 · docs/KNOWN_LIMITS.md:54 · L54

tests/search.test.cjs:31 · tests/catalog-browser.mjs:141

API references: —

Data records: —

NFR-029performancespecified-not-implementedpilot

Performance unmeasured

No load/soak/latency/throughput/capacity measurements or targets. Busy timeout5000ms, server request15s/headers10s/keepalive5s,200 requests/socket and client15s timeout are implementation limits only.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: All authenticated views

Acceptance criteria

  1. AC-NFR-029-1 Define expected pilot workload, dataset, latency percentiles and capacity before performance acceptance.
  2. AC-NFR-029-2 Measure isolated approved workloads; do not infer performance from functional tests or existing timeouts.
Source evidence / Linked test source

server/store.cjs:24 · L24 · server/app.cjs:155 · L155 · public/app.js:305 · L305 · docs/KNOWN_LIMITS.md:45 · L45

A link to a test file is traceability, not proof that every future acceptance criterion is already implemented or executed. Planned criteria require new tests and release approval.

API references: —

Data records: —

NFR-030dataimplementedpilot

Schema and evidence traceability

Source/ERD define17 application tables and106 columns, schema1; JSON subrecords are not tables. Test references identify existing checks only; this extraction executes none. Node target24.19.0+ <25; no migration framework.

Roles: admin, holder, buyer, compliance, rails, auditor · Screens: Operator CLI, Administration

Acceptance criteria

  1. AC-NFR-030-1 Keep all actual PK/FK/UNIQUE/CHECK/default/trigger distinctions;17 CREATE TABLE declarations were reconfirmed, no eighteenth application table found.
  2. AC-NFR-030-2 Record actual executed test/version/runtime evidence separately; do not convert cited checks into passed assertions.
Source evidence / Linked test source

server/store.cjs:25 · L25 · docs/ERD.mmd · docs/OPENAPI.json · docs/TESTING.md · docs/RUNBOOK.md:7 · L7

tests/discovery.test.cjs:204 · tests/sourcing.test.cjs:231

API references: —

Data records: —

PR-IDENTITY-ACCESSidentity-and-market-accessspecified-not-implementedblock1

Separate identities, authority and market permissions

Build server-authenticated buyer, seller and admin workspaces with explicit individual or legal-entity purchasing parties. Keep user, party, signer, funding source and optional software subscriber distinct. Qualified individuals in Dubai are the initial validation focus; their live participation route remains unapproved.

Roles: buyer, seller, administrator, compliance_reviewer · Screens: companyOnboarding, onboardingReview, marketAccessAdmin, accessControl

Acceptance criteria

  1. AC-PR-IDENTITY-ACCESS-1 Server reads, writes and exports deny cross-workspace access; privileged roles require MFA and current signer authority.
  2. AC-PR-IDENTITY-ACCESS-2 Account access, discovery, publication, negotiation, execution and optional software entitlement are evaluated separately; missing, expired or unknown route evidence blocks the relevant action.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:16 · L16 · dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md:7 · L7 · dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md:29 · L29 · CURRENT_VERSION_READ_FIRST.txt:42 · L42

AT-01 · AT-04 · AT-22 · AT-25

API references: —

Data records: —

PR-OFFER-INTAKEseller-intake-and-external-mirrorspecified-not-implementedblock1

Capture externally issued instruments and offer mirrors

Let sellers prepare external instrument and offer records with issuer, issuance and underlying countries, represented rights, precision, units, dated availability and source documents. The mirror is a record of an external asset, not GlemO issuance, custody or a spendable balance.

Roles: seller, admission_reviewer, administrator · Screens: bankOps, sellerOrgAdmin, assetFactory, tokenIntake, externalMirrors

Acceptance criteria

  1. AC-PR-OFFER-INTAKE-1 Submission creates a private draft with external identifier, rights, precision and evidence references; it creates neither a public listing nor a token balance.
  2. AC-PR-OFFER-INTAKE-2 Concurrent edits require the expected version, and every availability observation retains its source, observed time and expiry.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:17 · L17 · dev_toolkit/13_SCREEN_CATALOG.md:25 · L25 · delivery_blocks/source.json:152 · L152

AT-02 · AT-03

API references: —

Data records: —

PR-EVIDENCE-ADMISSIONevidence-and-publicationspecified-not-implementedblock1

Review evidence and publish exact offer versions

Provide independent admission review, private evidence delivery, document provenance and version-bound approval, rejection, suspension, expiry and withdrawal. A seller submission or AI extraction cannot publish an offer.

Roles: seller, independent_reviewer, administrator · Screens: admissionGate, publicationQueue, validatorDesk, documentReview, evidenceCenter, evidenceVault, diligenceRoom

Acceptance criteria

  1. AC-PR-EVIDENCE-ADMISSION-1 An independent reviewer records evidence versions and a reason before an authorized admin publishes that exact offer version; expired evidence prevents publication.
  2. AC-PR-EVIDENCE-ADMISSION-2 Authenticated document delivery rejects unauthorized direct URLs; expiry or withdrawal blocks new progression while preserving authorized historical records.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:18 · L18 · dev_toolkit/13_SCREEN_CATALOG.md:18 · L18 · dev_toolkit/13_SCREEN_CATALOG.md:49 · L49

AT-03 · AT-16 · AT-18

API references: —

Data records: —

PR-DISCOVERY-DEMANDdiscovery-and-buyer-profilespecified-not-implementedblock1

Discover eligible offers and capture private buyer criteria

Combine permission-filtered discovery, fact sheets, buyer briefs, preferences and separate communication consent. Record interest, questions and declined opportunities as demand research rather than funded commitments.

Roles: buyer, commercial_manager, operations_reviewer · Screens: market, assetFactSheet, institutionalPortal, investorEducation, buyerDemand, buyerPreferences

Acceptance criteria

  1. AC-PR-DISCOVERY-DEMAND-1 Fact sheets show represented rights, issuer, issuance location, risks, source time and an external-availability caveat; denied offers never enter eligible search results.
  2. AC-PR-DISCOVERY-DEMAND-2 Buyer-confirmed criteria and communication opt-ins retain actor, scope and version; private budgets are not exposed to sellers, and non-binding interest creates no order or reservation.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:20 · L20 · dev_toolkit/13_SCREEN_CATALOG.md:36 · L36 · delivery_blocks/source.json:343 · L343 · ai_native/index_en.txt:60 · L60

AT-05 · AT-06 · AT-22

API references: —

Data records: —

PR-NEGOTIATIONnegotiation-and-deal-recordsspecified-not-implementedblock1

Maintain private, versioned bilateral negotiations

Provide an opportunity desk and deal workspace for questions, proposals, counters and explicit party actions. Preserve the offer and quote versions, visibility rules, exact economics, expiry and chronology.

Roles: buyer, seller, authorized_signer, operations_reviewer · Screens: opportunityDesk, dealWorkspace

Acceptance criteria

  1. AC-PR-NEGOTIATION-1 Each counterproposal creates a new immutable version with actor and timestamp while retaining the prior terms and permitted audience.
  2. AC-PR-NEGOTIATION-2 Expired, withdrawn or superseded terms cannot progress; an economic or document change requires renewed party review rather than silent replacement.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:21 · L21 · dev_toolkit/13_SCREEN_CATALOG.md:28 · L28 · dev_toolkit/13_SCREEN_CATALOG.md:39 · L39

AT-06 · AT-10 · AT-11

API references: —

Data records: —

PR-OPERATIONS-AUDIToperations-and-deterministic-controlsspecified-not-implementedblock1

Assign accountable cases and preserve exact audit records

Build operational queues, tasks, case ownership, due times and evidence-linked event history. Money uses exact minor units or reviewed decimal contracts. Candidate schemas, OpenAPI and reference state models remain design artifacts until separately implemented and accepted on the server and database.

Roles: case_owner, operations_reviewer, administrator, independent_reviewer · Screens: workflowHub, operationsRegistry, caseWorkspace, taskCenter, dealsAdmin, auditCenter, riskEngine, ledger

Acceptance criteria

  1. AC-PR-OPERATIONS-AUDIT-1 An open task becomes overdue strictly after its deadline; the original owner remains accountable until an active same-workspace target accepts, preserving deadline and next action.
  2. AC-PR-OPERATIONS-AUDIT-2 Stale, unauthorized or conflicting commands do not mutate state; exact retries add no event, and durable audit records retain actor, versions, evidence, reason and corrections.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:22 · L22 · dev_toolkit/06_ACCEPTANCE_TESTS.md:29 · L29 · dev_toolkit/07_OPEN_DECISIONS.md:23 · L23 · mobile_app/Mobile_Spec_en.txt:22 · L22

AT-23 · AT-24 · dev_toolkit/reference-model/state.test.cjs

API references: —

Data records: —

PR-ALPHA-BOUNDARYalpha-and-release-boundariesspecified-not-implementedblock1

Prove a synthetic M3 journey without live authority

Target an internal buyer-seller-admin alpha at M3, measured from the actual funding receipt gate. Existing executable demonstrations and the shared pilot are reference evidence only; their breadth or passing model checks does not implement this product roadmap or authorize real transactions.

Roles: buyer, seller, administrator, CTO, product_owner · Screens: simulationLab, operatingReadiness, dealWorkspace

Acceptance criteria

  1. AC-PR-ALPHA-BOUNDARY-1 Complete the scripted synthetic buyer-seller-admin deal and negative authorization/country scenarios with reproducible fixtures and CTO acceptance.
  2. AC-PR-ALPHA-BOUNDARY-2 Every synthetic cash, asset or chain event is labeled and isolated from live state, recognized volume and fees; no calendar date, simulation or local role toggle unlocks live execution.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:9 · L9 · dev_toolkit/19_THREE_BLOCK_DELIVERY.md:23 · L23 · dev_toolkit/06_ACCEPTANCE_TESTS.md:3 · L3 · CURRENT_VERSION_READ_FIRST.txt:10 · L10

AT-07 · delivery_blocks/scope.test.cjs

API references: —

Data records: —

PR-RESPONSIVE-LOCALIZATIONresponsive-web-and-accessibilityspecified-not-implementedblock1

Deliver accessible responsive web across the first two blocks

Responsive web is required for Blocks 1 and 2. Provide localized states and recovery in EN/PT/ES/FR/AR/ZH; native iOS/Android store apps remain a separate Block 3 scope.

Roles: buyer, seller, administrator, QA, product_owner · Screens: market, assetFactSheet, companyOnboarding, dealWorkspace, caseWorkspace

Acceptance criteria

  1. AC-PR-RESPONSIVE-LOCALIZATION-1 Critical forms and timelines work on small screens and keyboard navigation with localized validation, loading, empty, denied, stale and recovery states; no critical action depends on hover.
  2. AC-PR-RESPONSIVE-LOCALIZATION-2 Arabic supports RTL with readable identifiers, and actual mobile-browser/native Safari evidence is recorded before claiming support; WebKit emulation alone does not establish that support.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:59 · L59 · dev_toolkit/13_SCREEN_CATALOG.md:8 · L8 · dev_toolkit/13_SCREEN_CATALOG.md:14 · L14 · dev_toolkit/13_SCREEN_CATALOG.md:67 · L67 · dev_toolkit/06_ACCEPTANCE_TESTS.md:39 · L39

AT-05 · AT-18 · AT-22

API references: —

Data records: —

PR-AI-M3core-ai-foundationspecified-not-implementedblock1

Prepare five bounded core AI capabilities by M3

Founder-confirmed product direction targets AI-01 buyer brief, AI-02 offer intake, AI-03 evidence review, AI-04 buyer research and AI-06 outreach/language drafts by M3. CTO technical, capacity and cost acceptance remains pending; no canonical agents are running. Shared orchestration must precede activation.

Roles: CTO, CFO, buyer, seller, commercial_manager, human_reviewer · Screens: buyerDemand, tokenIntake, documentReview, opportunityDesk

Acceptance criteria

  1. AC-PR-AI-M3-1 Each task authorizes tenant, actor, purpose, sources and tools before execution and returns a typed, cited draft with source versions and explicit unknowns for human review; agents cannot send outreach or approve financial/legal actions autonomously.
  2. AC-PR-AI-M3-2 Server orchestration enforces idempotency, timeout, at most one retry, token/tool caps and a kill switch; usage includes failed attempts and invoice-backed cost reconciliation, with injection and private-budget leakage evaluated before activation.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:69 · L69 · ai_native/index_en.txt:57 · L57 · ai_native/index_en.txt:147 · L147 · ai_native/architecture-contract.json:14 · L14 · ai_native/architecture-contract.json:21 · L21

ai_native/contracts/test_contracts.py · ai_native/cost-model.test.cjs · delivery_blocks/pre-final.test.cjs

API references: —

Data records: —

PR-FIRST-ROUTEprovider-and-controlled-live-pilotspecified-not-implementedblock2

Enable one approved external route for the M5 pilot target

A controlled live pilot is targeted at M5 only after the instrument, purchasing party, buyer class, permitted promotion, provider activities and contractual responsibilities are approved. Dubai/UAE is the first customer market; registration, a gateway badge or the milestone itself grants no permission.

Roles: founder, counsel, provider, compliance_reviewer, CTO, operations_reviewer · Screens: connectCenter, integrationSetup, railPartner, marketAccessAdmin, onboardingReview

Acceptance criteria

  1. AC-PR-FIRST-ROUTE-1 A recorded release decision binds signed provider/operating contracts, approved market-policy version, independent KYC/KYB and current signer authority to the first live route.
  2. AC-PR-FIRST-ROUTE-2 Revoked or expired party/route evidence blocks progression despite earlier approvals; the pilot exits with an independently evidenced permitted deal or a documented blocked pilot, never inferred settlement.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:27 · L27 · dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:31 · L31 · dev_toolkit/07_OPEN_DECISIONS.md:7 · L7 · delivery_blocks/source.json:58 · L58 · CURRENT_VERSION_READ_FIRST.txt:49 · L49

AT-08 · AT-24

API references: —

Data records: —

PR-SUPPLY-AGREEMENTexternal-supply-and-binding-termsspecified-not-implementedblock2

Bind fresh external supply and identical accepted terms

Before conversion, recheck external availability, market policy, authority and both parties' acceptance of the same current quote and approved agreement. A GlemO capacity record does not lock provider inventory.

Roles: buyer, seller, authorized_signer, provider, operations_reviewer · Screens: dealWorkspace, opportunityDesk, externalSettlement

Acceptance criteria

  1. AC-PR-SUPPLY-AGREEMENT-1 Stale or insufficient availability blocks conversion; order creation snapshots the current external source, units, observed time, route and policy version.
  2. AC-PR-SUPPLY-AGREEMENT-2 Both signers accept one unexpired version/hash; material changes invalidate prior acceptance, and a transactionally guarded idempotent conversion creates at most one pending order.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:33 · L33 · dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:34 · L34 · mobile_app/Mobile_Spec_en.txt:43 · L43 · mobile_app/Mobile_Spec_en.txt:45 · L45

AT-09 · AT-10 · AT-11 · AT-24

API references: —

Data records: —

PR-SETTLEMENT-RECONCILIATIONexternal-settlement-and-exceptionsspecified-not-implementedblock2

Reconcile independent cash and asset legs with guarded recovery

Approved external operators execute payment and legal asset delivery. GlemO records their evidence separately and requires independent reconciliation, exact matching and explicit exception handling; it does not custody principal or infer delivery from payment.

Roles: external_operator, provider_adapter, operations_reviewer, independent_reconciler · Screens: externalSettlement, externalPositions, transactionClearance, auditCenter, caseWorkspace

Acceptance criteria

  1. AC-PR-SETTLEMENT-RECONCILIATION-1 Cash and asset legs retain independent authenticated event IDs, source/finality evidence and terms matching; reports or one confirmed leg cannot reconcile an order, while only an independently reconciled portion can become eligible settled principal.
  2. AC-PR-SETTLEMENT-RECONCILIATION-2 Duplicate/reordered events do not double-count fees or volume; disputed, stale, failed or reversed legs retain an owned exception, and a cash refund alone cannot release capacity without reviewed asset-return evidence.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:35 · L35 · dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:36 · L36 · mobile_app/Mobile_Spec_en.txt:53 · L53 · dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:32 · L32

AT-12 · AT-13 · AT-14 · AT-15 · dev_toolkit/reference-model/settlement-safety.test.cjs

API references: —

Data records: —

PR-SAAS-BILLINGcustomer-contracts-and-software-billingspecified-not-implementedblock2

Make onboarding and optional software billing repeatable

Prepare customer onboarding, renewal, software entitlements and contract/invoice/receipt linkage for limited launch M9 and contractual paid activation target M10. Buyer B2B SaaS remains optional and separate from individual access; commercial account targets are model assumptions, not customers.

Roles: software_customer, seller, buyer, finance, commercial_manager, administrator · Screens: sellerPlans, institutionalSaas, distributionSaas, saasCompany, saasAdmin, billingRevenue, commercialRequests

Acceptance criteria

  1. AC-PR-SAAS-BILLING-1 Contract, service readiness, customer, billing period, invoice, payment evidence and entitlement match before paid activation; modeled free incubation and applicable paid terms are preserved rather than automatically billed.
  2. AC-PR-SAAS-BILLING-2 An eligible buyer can access permitted offers without buying SaaS; paying, cancelling or renewing software cannot override market denial or rewrite existing deal history.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:45 · L45 · dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:47 · L47 · dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:52 · L52 · CURRENT_VERSION_READ_FIRST.txt:39 · L39 · CURRENT_VERSION_READ_FIRST.txt:42 · L42

AT-17 · AT-19 · AT-25

API references: —

Data records: —

PR-COST-ATTRIBUTIONtransaction-cost-and-commercial-attributionspecified-not-implementedblock2

Version costs and contract-bound commercial attribution

Keep the canonical 1.2% GlemO fee on eligible settled and independently reconciled principal separate from an additional external agent commission and the estimated gateway charge. Record actual contractual payer, scope, chargeable event and collection evidence; no estimate or gross fee is collected revenue by itself.

Roles: finance, commercial_manager, permitted_agent, provider, independent_reconciler · Screens: distributionAttribution, billingRevenue, saasAdminTransactions, auditCenter

Acceptance criteria

  1. AC-PR-COST-ATTRIBUTION-1 Accepted cost snapshots identify fee version, principal, each payer/beneficiary, inclusion flags, unknown costs and consents; later fee changes require renewed acceptance and cannot silently reprice signed records.
  2. AC-PR-COST-ATTRIBUTION-2 Success-fee entries are unique per reconciled portion and fee version; agent attribution precedes purchase, pass-throughs stay separate, provider minimums are not double-counted and reversals create linked credits.
Source evidence / Linked test source

CURRENT_VERSION_READ_FIRST.txt:39 · L39 · dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:17 · L17 · dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:21 · L21 · dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:25 · L25 · dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:32 · L32

dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:44 · AT-14 · AT-20

API references: —

Data records: —

PR-OWN-RAIL-BIoperational-bi-and-position-projectionsspecified-not-implementedblock2

Report own-rail operations and evidenced positions

Initial BI derives deterministic metrics from canonical operational records and externally evidenced positions. Broad market intelligence and AI performance commentary are later capabilities. An offer price is not a current valuation, and a reconciled acquisition does not prove continuing custody ownership.

Roles: buyer, operations_reviewer, finance, data_analyst · Screens: reports, operationalBI, biCenter, externalPositions

Acceptance criteria

  1. AC-PR-OWN-RAIL-BI-1 Case time, funnel conversion, reconciled principal, fee eligibility and exceptions drill down to distinct canonical records; pending deals and repeated party joins do not inflate totals.
  2. AC-PR-OWN-RAIL-BI-2 Position values show source, method, currency, observation time and coverage; stale/missing marks remain unavailable, priced-position subtotals are labeled and incomplete coverage prevents a fabricated portfolio return.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:48 · L48 · delivery_blocks/source.json:253 · L253 · mobile_app/Performance_Spec_en.txt:10 · L10 · mobile_app/Performance_Spec_en.txt:19 · L19

AT-20 · mobile_app/performance.test.cjs

API references: —

Data records: —

PR-LAUNCH-FIRST-LOOKglemo-launchspecified-not-implementedblock2

Offer documented first look to eligible buyer profiles

GlemO Launch distributes approved external opportunities; it is distinct from GO issuance. A seller-defined first-look commitment may support restricted previews, subject to current screening and route approval, without SaaS payment, GO ownership or points gating.

Roles: seller, buyer, independent_reviewer, commercial_manager · Screens: glemoLaunch, buyerPreferences, assetFactSheet

Acceptance criteria

  1. AC-PR-LAUNCH-FIRST-LOOK-1 A campaign binds immutable offer version, seller commitment, UTC schedule/timezone, allowed audience, inventory observation, disclosures, review and consent references before preview or publication.
  2. AC-PR-LAUNCH-FIRST-LOOK-2 Server eligibility, revocation and schedule checks precede restricted disclosure; preview creates no reservation or allocation priority, repeat-buyer priority remains disabled and 48-72 hours is not an adopted default.
Source evidence / Linked test source

launch/programme_en.txt:13 · L13 · launch/programme_en.txt:19 · L19 · launch/programme_en.txt:45 · L45 · launch/decision-register.json:12 · L12

launch/model.test.cjs · launch/lifecycle.test.cjs

API references: —

Data records: —

PR-LAUNCH-RELAUNCHglemo-launch-lifecyclespecified-not-implementedblock2

Version necessary offer amendments with history and reconfirmation

Block 2 is limited to necessary versioned offer amendments. A lower price, evidenced commercial improvement or material document may justify a reviewed amendment; cosmetic edits cannot reset offer identity, original entry date or price history. Preserve review, prior-participant notification and current-version reconfirmation. Full promotional and recurring relaunch capability, including any quarterly relaunch allowance, belongs to Block 3 with separate scope, technical/capacity, cost and legal/provider acceptance. No additional budget is committed.

Roles: seller, buyer, independent_reviewer, operations_reviewer · Screens: glemoLaunch, publicationQueue, dealWorkspace

Acceptance criteria

  1. AC-PR-LAUNCH-RELAUNCH-1 A relaunch writes a new version with expected-version checks, evidence and substantive diff while retaining original identity, market-entry date, prices and prior states; fresh review blocks distribution until approved.
  2. AC-PR-LAUNCH-RELAUNCH-2 Existing negotiators and prior interests receive approved notification evidence before general distribution; old interests require current-version reconfirmation, and signed agreements are never silently repriced. Cooldown and allowance values require approval.
Source evidence / Linked test source

launch/programme_en.txt:48 · L48 · launch/programme_en.txt:51 · L51 · launch/programme_en.txt:54 · L54 · launch/programme_en.txt:57 · L57 · launch/decision-register.json:15 · L15

launch/lifecycle.test.cjs · launch/conversion.test.cjs

API references: —

Data records: —

PR-LAUNCH-CONVERSIONlaunch-conversion-and-funnelspecified-not-implementedblock2

Connect campaign interest to native deal records and a consistent funnel

Link qualified Launch interest to existing identity, offer, negotiation, agreement, external evidence and reconciliation ownership. Candidate conversion SQL/API contracts are review inputs, not a deployed second transaction system or a physical database.

Roles: buyer, seller, operations_reviewer, external_operator, independent_reconciler, data_analyst · Screens: glemoLaunch, opportunityDesk, dealWorkspace, operationalBI

Acceptance criteria

  1. AC-PR-LAUNCH-CONVERSION-1 Unique cohort identity is buyer x campaign x immutable offer version; the first recorded channel persists, every stage uses the same cohort/window and an empty denominator returns null.
  2. AC-PR-LAUNCH-CONVERSION-2 Authenticated existing-workflow and provider events establish progression; opaque case linking exposes no personal/ticket data in URLs, bypasses no permission and creates no custody ledger or order by attribution alone.
Source evidence / Linked test source

launch/conversion_en.txt:13 · L13 · launch/conversion_en.txt:19 · L19 · launch/conversion_en.txt:25 · L25 · launch/conversion_en.txt:28 · L28

launch/conversion.test.cjs

API references: —

Data records: —

PR-ACTIVITY-POINTSactivity-and-go-points-ledgerspecified-not-implementedblock2

Record approved non-transferable activity points

A launch may include a versioned auditable activity/points ledger after programme approvals. The existing local synthetic reference is not an adopted reward programme, token balance, conversion entitlement or guaranteed airdrop.

Roles: participant, administrator, independent_reviewer, appeal_reviewer · Screens: goPoints, auditCenter

Acceptance criteria

  1. AC-PR-ACTIVITY-POINTS-1 Only an approved rulebook/season and permissioned evidence can create a pending award; deterministic rules deduplicate linked participants, deals and referrals and block internal, related, wash or reversed activity.
  2. AC-PR-ACTIVITY-POINTS-2 Independent confirmation, rejection, clawback and appeal events preserve the ledger and gross caps; elapsed time or AI cannot auto-confirm, and no points action activates GO claims or a fixed conversion rate.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:61 · L61 · delivery_blocks/source.json:269 · L269 · go_points/implementation-contract.json:117 · L117 · go_points/implementation-contract.json:164 · L164 · tokenomics/integration-contract.json:38 · L38

go_points/model.test.cjs · delivery_blocks/scope.test.cjs

API references: —

Data records: —

PR-AI-PILOT-LAUNCHhuman-reviewed-ai-assistancespecified-not-implementedblock2

Expand to eight core agents at pilot and ten by M9

The product directive adds AI-05 eligible ranking, AI-07 negotiation and AI-08 agreement assembly for the pilot target, then AI-09 settlement observation and AI-10 reconciliation investigation by M9. Add the assistanceJobs console; all counts remain subject to CTO capacity/cost acceptance, with zero currently running canonical agents.

Roles: CTO, CFO, buyer, seller, counsel, operations_reviewer, independent_reconciler · Screens: assistanceJobs, opportunityDesk, dealWorkspace, caseWorkspace

Acceptance criteria

  1. AC-PR-AI-PILOT-LAUNCH-1 Ranking receives only deterministically eligible candidates; party-private negotiation and approved-template agreement drafts preserve exact terms, citations and explicit human acceptance/signature.
  2. AC-PR-AI-PILOT-LAUNCH-2 AI-09/10 explain independently sourced exceptions without confirming legs, changing destinations, closing discrepancies or creating fee eligibility; five plus three plus two yields ten core capabilities and excludes the eight post-launch Monitor workers.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:69 · L69 · dev_toolkit/19_THREE_BLOCK_DELIVERY.md:73 · L73 · ai_native/index_en.txt:129 · L129 · ai_native/index_en.txt:165 · L165 · ai_native/index_en.txt:201 · L201 · delivery_blocks/source.json:285 · L285

ai_native/contracts/test_contracts.py · ai_native/cost-model.test.cjs · delivery_blocks/scope.test.cjs

API references: —

Data records: —

PR-RELEASE-OPERATIONSsecurity-support-and-recoveryspecified-not-implementedblock2

Accept production security, support and recovery before release

Mandatory security, private evidence storage, monitoring, backup/restore, incident handling and support readiness gate the M5 live-pilot target and M9 limited launch. Deferring a feature never defers authorization, human review or external-settlement controls.

Roles: CTO, security_reviewer, operations_owner, support_operator, counsel, provider · Screens: operatingReadiness, operationalRequests, caseWorkspace, auditCenter

Acceptance criteria

  1. AC-PR-RELEASE-OPERATIONS-1 Release evidence includes production identity, protected documents, encryption, server audit, security review and a restore exercise preserving tenant boundaries, event order, references and unresolved cases.
  2. AC-PR-RELEASE-OPERATIONS-2 Assigned operators exercise escalation, incident and provider-fallback runbooks under approved SLAs; product, CTO, security, operations and counsel/provider acceptance are recorded separately and a failed mandatory layer blocks live release.
Source evidence / Linked test source

dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:37 · L37 · dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:49 · L49 · dev_toolkit/19_THREE_BLOCK_DELIVERY.md:57 · L57 · dev_toolkit/06_ACCEPTANCE_TESTS.md:41 · L41

AT-16 · AT-21 · AT-22

API references: —

Data records: —

PR-ASSISTED-RESALE-ADMISSIONassisted-resalespecified-not-implementedblock3

Review coordinated secondary resale for separately approved post-launch delivery

Fully coordinated secondary resale belongs to Block 3 after launch, with no fixed start date, subject to separate technical/capacity acceptance, build and recurring cost approval, and legal/provider approval. The existing simulated pilot includes only a lightweight nonbinding holder request with no matching, execution or custody; its presence does not promise a funded MVP feature. Full or partial requests create no secondary-market authorization or liquidity promise.

Roles: selling_holder, new_buyer, compliance_reviewer, provider, issuer, assisted_operator · Screens: assistedResale, externalPositions

Acceptance criteria

  1. AC-PR-ASSISTED-RESALE-ADMISSION-1 Before listing, refresh authoritative ownership, available quantity, legal title, authority, transfer restrictions, encumbrances, minimum/residual lot and required issuer consent; missing or ambiguous evidence blocks progression.
  2. AC-PR-ASSISTED-RESALE-ADMISSION-2 Record counsel/provider approval for the actual instrument, activity and both parties' jurisdictions, policy/evidence versions and freshness windows; clearly show that requests create no guaranteed buyer, exit, price or sale deadline.
Source evidence / Linked test source

resale/RELEASE.json:25 · L25 · resale/spec_en.txt:7 · L7 · resale/spec_en.txt:15 · L15 · resale/spec_en.txt:22 · L22 · resale/spec_en.txt:46 · L46

resale/model.test.cjs

API references: —

Data records: —

PR-ASSISTED-RESALE-COMPLETIONassisted-resale-agreement-and-settlementspecified-not-implementedblock3

Reserve and reconcile partial resales without overselling

For the Block 3 post-launch coordinated secondary-resale capability, subject to separate technical/capacity, build and recurring cost, and legal/provider approval, implement identical bilateral acceptance, atomic quantity reservation, external payment and legal transfer, independent ownership reconciliation and exact cost-basis updates. The lightweight simulated request does not include those coordinated operating capabilities. Local resale arithmetic and browser races do not prove server exclusivity or live completion.

Roles: selling_holder, new_buyer, external_operator, independent_reconciler, finance · Screens: assistedResale, externalPositions, externalSettlement, auditCenter

Acceptance criteria

  1. AC-PR-ASSISTED-RESALE-COMPLETION-1 Both parties accept one current unexpired agreement including verified destination/beneficiary; changes clear both acceptances, and guarded server transactions reserve each verified unit once across concurrent listings.
  2. AC-PR-ASSISTED-RESALE-COMPLETION-2 Only independent review of both final legs and updated ownership atomically applies seller/buyer deltas and allocated basis once; unknown charges keep P&L provisional, and cancellation/timeout cannot release in-flight or uncertain reservations without authoritative recovery evidence.
Source evidence / Linked test source

resale/spec_en.txt:16 · L16 · resale/spec_en.txt:18 · L18 · resale/spec_en.txt:29 · L29 · resale/spec_en.txt:32 · L32 · resale/spec_en.txt:38 · L38 · resale/spec_en.txt:43 · L43

resale/model.test.cjs · mobile_app/performance.test.cjs

API references: —

Data records: —

PR-MONITOR-SOURCESmonitor-data-center-source-registryspecified-not-implementedblock3

Admit licensed Monitor sources after launch

Monitor Data Center is explicitly post-launch and is not a dependency of M3, M5 or M9. Its proposed narrow watchlist is 20-50 issuers, up to 100 contracts and one reviewed EVM adapter, extending to 2-3 compatible chains only after validation. No source is currently connected.

Roles: CTO, data_owner, counsel, CFO, administrator · Screens: monitorDataCenter

Acceptance criteria

  1. AC-PR-MONITOR-SOURCES-1 Each enabled source has versioned rights for commercial use, attribution, retention, redistribution and LLM processing; public availability alone cannot authorize ingestion or export.
  2. AC-PR-MONITOR-SOURCES-2 CTO/CFO approve scope, build capacity and incremental recurring costs before activation; source limits override proposed polling cadence and no whole-market, private-source or historical-backfill coverage is implied.
Source evidence / Linked test source

delivery_blocks/source.json:86 · L86 · monitor_data_center/implementation-plan.json:10 · L10 · monitor_data_center/implementation-contract.json:30 · L30 · monitor_data_center/implementation-contract.json:237 · L237

monitor_data_center/plan-model.test.cjs · monitor_data_center/toolkit/schema.test.cjs

API references: —

Data records: —

PR-MONITOR-PIPELINEmonitor-ingestion-review-and-market-bispecified-not-implementedblock3

Produce reviewed market intelligence with eight distinct Monitor functions

Implement MDC-01 source registry, MDC-02 public discovery, MDC-03 watched-chain observation, MDC-04 entity resolution, MDC-05 classification/dedup/reorg, MDC-06 deal review, MDC-07 opportunity hypotheses and MDC-08 quality/cost alerts. These eight functions are separate from the thirteen core-agent catalogue; deterministic parsing need not call an LLM.

Roles: data_engineering, market_analyst, independent_reviewer, commercial_manager, CTO, CFO · Screens: monitorDataCenter, biCenter

Acceptance criteria

  1. AC-PR-MONITOR-PIPELINE-1 Authorized ingestion preserves snapshots, hashes, times, entitlements, adapter/finality versions and correction lineage; checkpointed retrieval, SSRF protection, deduplication, reorg handling, replay protection and connector/monthly spending caps precede continuous processing.
  2. AC-PR-MONITOR-PIPELINE-2 Only independently corroborated canonical reported deals enter market-principal projections; transfers, mint/burn, bridges, NAV/AUM and announcements are not sales, unknown USD stays null, and no Monitor observation becomes GlemO volume, fee revenue or autonomous outreach.
Source evidence / Linked test source

monitor_data_center/implementation-contract.json:22 · L22 · monitor_data_center/implementation-contract.json:138 · L138 · monitor_data_center/implementation-contract.json:158 · L158 · monitor_data_center/implementation-contract.json:199 · L199 · monitor_data_center/implementation-contract.json:212 · L212

monitor_data_center/model.test.cjs · monitor_data_center/toolkit/test_events.py · monitor_data_center/toolkit/test_api.py · monitor_data_center/cost-model.test.cjs

API references: —

Data records: —

PR-NATIVE-COREnative-mobile-security-and-statespecified-not-implementedblock3

Build a separately approved native client with read-only offline state

Native iOS/Android is future work after launch, not the responsive web pilot. React Native/Expo is an ADR candidate requiring comparison and CTO approval. Preserve Overview, Operations, Portfolio, Market and Account navigation and use the existing server-owned domain instead of importing prototype storage.

Roles: buyer, seller, operations_reviewer, CTO, security_reviewer · Screens: mobile_app/index.html, mobile_app/SCREEN_FLOW_CATALOG.json

Acceptance criteria

  1. AC-PR-NATIVE-CORE-1 Native login uses reviewed system-browser OAuth/PKCE and protected platform storage; organization switching clears protected cache and rechecks authority, while provider links/push notifications trigger authorized refetch rather than transaction confirmation.
  2. AC-PR-NATIVE-CORE-2 Offline data is minimized, encrypted, expiring and visibly stale/read-only; no financial command queue or background replay exists, and uncertain commands require server status lookup before retry or re-enablement.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:59 · L59 · mobile_app/Mobile_Spec_en.txt:11 · L11 · mobile_app/Mobile_Spec_en.txt:17 · L17 · mobile_app/Mobile_Spec_en.txt:57 · L57 · mobile_app/Mobile_Spec_en.txt:63 · L63 · mobile_app/Mobile_Spec_en.txt:68 · L68

mobile_app/model.test.cjs · mobile_app/edge.test.cjs · AT-01 · AT-10 · AT-22

API references: —

Data records: —

PR-NATIVE-RELEASEnative-mobile-release-and-privacyspecified-not-implementedblock3

Gate native distribution on privacy, stores and physical-device acceptance

Native delivery requires independent scope, capacity and release approval, truthful store classification, privacy/deletion/moderation controls and real-device accessibility evidence. Existing browser screenshots are neither native builds nor full iOS/Android certification.

Roles: release_owner, counsel, product_owner, security_reviewer, QA, support_operator · Screens: mobile_app/index.html, mobile_app/SCREEN_FLOW_CATALOG.json

Acceptance criteria

  1. AC-PR-NATIVE-RELEASE-1 Approved submitting entity, countries, financial classification, billing/link rules and privacy disclosures precede store submission; deletion requests revoke sessions and track lawful retention, with reporting/blocking and restricted attachments before messaging/uploads.
  2. AC-PR-NATIVE-RELEASE-2 Physical iOS/Android and applicable native Safari checks cover six languages, Arabic RTL, large text, screen readers, interruption recovery and 44pt/48dp touch targets; staged release and a server kill switch prevent default financial enablement.
Source evidence / Linked test source

mobile_app/Mobile_Spec_en.txt:72 · L72 · mobile_app/Mobile_Spec_en.txt:77 · L77 · mobile_app/Mobile_Spec_en.txt:83 · L83 · mobile_app/Mobile_Spec_en.txt:88 · L88 · mobile_app/OPEN_DECISIONS.json:15 · L15

mobile_app/Mobile_Spec_en.txt:85 · mobile_app/browser.test.cjs · mobile_app/adverse.browser.cjs

API references: —

Data records: —

PR-POST-LAUNCH-EXPANSIONfuture-markets-ecosystem-and-advanced-aispecified-not-implementedblock3

Expand markets, distribution and scoped ecosystem capabilities individually

After core stability, review general-retail templates, broader distribution/liquidity tools, additional asset/market routes, scoped dApps and AI-11 BI commentary, AI-12 developer assistance and AI-13 cited audit answers. These are future references with no fixed start or blanket launch commitment; Singapore is the first market-expansion candidate.

Roles: product_owner, CTO, CFO, counsel, developer, human_reviewer · Screens: retailPortal, investorGate, investorPortfolio, distributionPartner, liquidityDesk, replacementQueue, ecosystemBuilder, sandboxApplications, aiOps, conciergeDesk

Acceptance criteria

  1. AC-PR-POST-LAUNCH-EXPANSION-1 Each module/route gets its own capacity, build/recurring-cost, security, rights and counsel/provider acceptance; unapproved retail or countries remain disabled and no liquidity guarantee follows from a future screen.
  2. AC-PR-POST-LAUNCH-EXPANSION-2 Developer extensions remain least-privilege sandbox interfaces with no default tenant financial data; advanced AI returns reviewed drafts, cites authorized versions and explains deterministic calculations without inventing valuations or executing financial commands.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:41 · L41 · dev_toolkit/19_THREE_BLOCK_DELIVERY.md:113 · L113 · delivery_blocks/source.json:87 · L87 · ai_native/index_en.txt:237 · L237 · ai_native/index_en.txt:255 · L255 · ai_native/index_en.txt:273 · L273 · CURRENT_VERSION_READ_FIRST.txt:44 · L44

delivery_blocks/scope.test.cjs · ai_native/contracts/test_contracts.py · AT-22

API references: —

Data records: —

PR-GO-RELEASE-CONVERSIONgo-token-readiness-and-claimsspecified-not-implementedblock3

Keep GO release and points claims behind independent Seed gates

GO is outside the pre-seed launch: Seed close plus a target three months, AND US$10M eligible monthly rail volume, AND legal/security/governance readiness. Tokenomics v0.3 is an unadopted review draft: proposed fixed 1B supply and 10% initial conversion of the 250M points pool are planning bases, not issued rights. The rail works without GO.

Roles: issuer_governance, founder, counsel, CTO, CFO, security_reviewer, independent_reviewer · Screens: goPoints, tokenomics/index_en.html

Acceptance criteria

  1. AC-PR-GO-RELEASE-CONVERSION-1 Claims stay disabled until recorded Seed, approved volume measurement and independent legal/security/governance release evidence exist; review-draft supply, grants, warrants, issuer structure and vesting require definitive adoption and an audited chain/claim implementation.
  2. AC-PR-GO-RELEASE-CONVERSION-2 Allocation uses frozen rule/ledger versions, participant deduplication, resolved appeals, eligible-wallet review and an approved season budget; zero denominator or unknown budget releases nothing. Model 10% initial conversion separately from its 25% claim release: 6.25M participant GO plus 30M liquidity is 3.625% potential release, not measured float or guaranteed distribution.
Source evidence / Linked test source

dev_toolkit/19_THREE_BLOCK_DELIVERY.md:63 · L63 · CURRENT_VERSION_READ_FIRST.txt:46 · L46 · tokenomics/index_en.txt:6 · L6 · tokenomics/index_en.txt:12 · L12 · tokenomics/integration-contract.json:10 · L10 · tokenomics/decision-register.json:188 · L188

tokenomics/model.test.cjs · go_points/model.test.cjs · delivery_blocks/scope.test.cjs

API references: —

Data records: —

PR-GO-SOFTWARE-UTILITYgo-software-payments-and-service-creditsspecified-not-implementedblock3

Implement approved GO software payments and bounded service credits

The founder-confirmed design combines a 10% SaaS discount for GO payment with non-transferable credits for advanced BI, AI and APIs. Execution is not approved. The proposed 5% credit rate and 90-day validity remain unadopted; credits are neither GO Points, token claims, cash nor asset-purchase principal.

Roles: software_customer, CFO, CTO, counsel, payment_provider, finance · Screens: tokenomics/utility.html, billingRevenue, saasCompany

Acceptance criteria

  1. AC-PR-GO-SOFTWARE-UTILITY-1 After token/operational gates and programme approval, a bounded payment quote identifies chain, contract, payer, recipient, USD/GO amounts, fees, expiry and verified final software receipt; a token receipt in an ecosystem wallet alone cannot establish software cash revenue.
  2. AC-PR-GO-SOFTWARE-UTILITY-2 One verified invoice produces at most one tenant/account grant under approved issue, outstanding-exposure and redemption-cost caps; atomic metering enforces price versions, expiry and refunds, and credits cannot pay principal, the 1% rail fee or third-party charges. Missing caps block activation.
Source evidence / Linked test source

tokenomics/decision-register.json:65 · L65 · tokenomics/decision-register.json:94 · L94 · tokenomics/index_en.txt:15 · L15 · tokenomics/index_en.txt:27 · L27 · tokenomics/index_en.txt:30 · L30

tokenomics/utility-model.test.cjs

API references: —

Data records: —

Business rules

BR-001 Simulation is a hard boundary

Every fixture, review, acknowledgement, cash leg, token leg, fee and report remains explicitly simulated. Nothing in this pilot proves actual demand, title, licensing, revenue or liquidity.

docs/IMPLEMENTATION_CONTRACT.md

BR-002 An offer is a mirror, not custody

An offer describes externally held rights and units. GlemO does not hold money or tokens. A local reservation cannot lock external inventory.

domain/model.js

BR-003 Server authority precedes UI visibility

Derive actor, role and case membership from the authenticated account; reject client attempts to impersonate roles. Hiding a button is not authorization.

server/service.cjs

BR-004 No company directory for participants

Catalog exposes offers, not participant registrations. Buyer sees limited seller information in the factsheet. Seller sees buyer commercial information only after a successful valid proposal by that buyer.

server/privacy.cjs

BR-005 References require context and opt in

History and referrals are self-declared, not certification. Counterpart disclosure requires both the contextual gate and shareReferences consent. Private registration is never a public profile.

server/service.cjs

BR-006 Account role and rehearsal role differ

A personal rehearsal may simulate a buyer or holder without changing the authenticated role. Actual admin status never grants access to another owner rehearsal or discovery metadata.

server/rehearsal.cjs

BR-007 Asset location is not buyer permission

Discovery market, buyer profile country, issuance country and permitted buyer country are separate concepts. A country match or completed profile is not real regulatory approval.

server/catalog.cjs

BR-008 Use exact monetary and quantity arithmetic

Accept decimal strings, store exact integer units and USD cents; reject exponent notation, precision overflow, unsafe integer results and nonpositive principal. Round half up to cents.

domain/model.js

BR-009 Keep fees and unknown costs separate

Illustrative GlemO fee is 100 bps of principal. Agent commission is an additional 100 bps only when enabled. Seller pays; collection is separate_invoice. Unknown third-party costs and tax remain null, not certified zero.

domain/model.js

BR-010 Commercial terms belong to a case snapshot

A case captures its fictional offer and terms. Editing the catalog later must not silently reprice an accepted agreement. A case is not a live synchronized inventory feed.

server/templates.cjs

BR-011 A deadline must not restart on reload

Commercial windows use absolute server-checked timestamps. Closing blocks new offer/publication/proposal/acceptance paths, not previously frozen settlement. Display expiry only when an actual deadline has passed.

server/kernel.cjs

BR-012 Review and buyer approval expire

Synthetic review lasts 24 hours and binds the source revision and buyer mandate version. Mandate changes invalidate buyer review. Publication and commercial transitions require fresh checks.

server/kernel.cjs

BR-013 Reject stale writes and ambiguous retries

Shared commands bind expectedRevision and expectedDealVersion. Same owner/key/payload retry replays safely; a conflicting payload or stale version is rejected. Metadata has its own version contract.

server/service.cjs

BR-014 Acceptance binds one quote version

A proposal replaces the prior quote, records the proposer acceptance and resets acknowledgements. Both parties must accept the same unexpired version before agreement.

domain/model.js

BR-015 Instruction changes revoke acknowledgements

Destination, beneficiary, network, token reference, quantity and economics are versioned. Replacing instructions clears both party acknowledgements; beginning settlement freezes the acknowledged snapshot.

domain/model.js

BR-016 Cash and asset evidence are independent

A cash report does not infer token delivery and vice versa. Each must match the frozen values exactly and have a distinct DEMO evidence reference.

domain/model.js

BR-017 Only independent reconciliation closes a deal

An assigned auditor reconciles after both legs and acknowledgements exist, without an open issue. Reconciliation updates only the synthetic positions in this case; no cross-case portfolio is maintained.

domain/model.js

BR-018 Issues are blocking overlays

Opening an issue does not replace deal status. An independent compliance/auditor resolver is required. Resolution does not itself record payment, delivery or reconciliation.

domain/model.js

BR-019 No generic post-settlement rollback

Ordinary cancellation is pre-agreement. Agreement closure requires noMovement=true and separate release/provider references. Refunds, settlement reversal, unwind and evidence editing are not implemented.

domain/model.js

BR-020 A filtered report is not a full audit chain

Verify internal snapshot/hash/event consistency before returning projections. Redacted exports omit information and cannot reconstruct the complete chain. SQLite administrators can replace the database; there is no external tamper-proof anchor.

server/store.cjs

BR-021 A sourcing brief is not an order

A private asset request stores a consented brief for owner/internal admin review. It does not contact sellers, reserve assets, create fees or prove purchase demand.

server/sourcing.cjs

BR-022 Alternative suggestions are not exact matches

On an unmatched query show up to three actual eligible catalog cards, clearly marked as alternatives, respecting explicit filters, negative intent and closed windows. Never invent three offers or ignore a favorites-only restriction.

public/search.js

BR-023 Search is deterministic in the pilot

Local intent rules are not an active LLM. Optional browser speech recognition requires opt in and browser support. There is no server audio upload or autonomous investment decision.

docs/GLOBAL_SEARCH.md

BR-024 Separate persistent and temporary microtools

Favorites and saved searches persist per owner on the server. Comparison selection and form return drafts are memory-only; logout/reload may clear them. Copy action contains only public fictional offer ID and name.

docs/DISCOVERY_TOOLS.md

Journeys

J-01 Buyer discovery and demand

  1. Sign in and complete fictional profile
  2. Search from any authenticated view
  3. Inspect exact results or up to three labeled alternatives
  4. Open factsheet and contextual seller profile
  5. Favorite, save search or compare objective attributes
  6. Submit consented private sourcing brief if needed

No real order is created by discovery or sourcing.

J-02 Shared buyer journey

  1. Admin creates a case with five distinct assigned roles
  2. Holder submits the synthetic offer with quantity, price and simulation consent
  3. Buyer completes mandate with country and ticket limits
  4. Compliance performs the explicit synthetic offer and buyer review
  5. Holder publishes the freshly approved offer
  6. Buyer reviews published terms and sends a valid proposal
  7. Holder counteroffers or accepts; both approve the same quote version
  8. Rails supplies instructions; buyer and holder acknowledge the exact current version
  9. Rails explicitly begins settlement and freezes the acknowledged instructions
  10. Rails records separate simulated cash and delivery evidence
  11. Auditor reconciles after both legs; any issue first requires independent resolution followed by the remaining workflow

The catalog does not create a self-service real purchase; a shared case requires admin coordination.

J-03 Holder and seller journey

  1. Sign in with holder role and complete fictional profile
  2. Review assigned synthetic external position and transfer restrictions
  3. Submit quantity, unit price, agent option and unknown cost disclosure
  4. Wait for synthetic compliance and publish approved offer
  5. Receive a valid buyer proposal before seeing buyer commercial details
  6. Negotiate and accept the same quote version
  7. Check destination, rights, network, quantity and frozen economics
  8. Acknowledge instructions and monitor two external-leg simulations

Primary issuance and seller self-service asset onboarding remain separately specified, not this resale runtime.

J-04 Administrator and operational review

  1. Bootstrap locally then use invite-only accounts
  2. Invite fixed roles and revoke/reset without exposing credentials
  3. Create cases and assign five different active participant accounts
  4. Monitor newest cases, issue flags, activity and simulated metrics
  5. Pause a case or globally; archive with a reason
  6. Review owner/admin sourcing briefs without publishing registrations
  7. Inspect filtered exports versus complete internal audit
  8. Back up and validate offline restore in isolated storage

Admin cannot execute participant commands and cannot read another user personal rehearsal or discovery tools.

J-05 Individual rehearsal

  1. Choose a fictional buyer or holder and scenario
  2. Explicitly accept the simulation boundary
  3. Act against named deterministic counterpart bots
  4. Trigger a refusal, missing document, ineligibility, expiry or mismatch
  5. Apply scenario-specific recovery or abandon
  6. Export owner-only process feedback, separate from shared metrics

Bot actions and synthetic time do not simulate real counterparty demand. Commercial deadlines still use wall time.

Screen catalog

SCR-SHELL · /?lang=<lang>#<authenticated-route>
{
  "id": "SCR-SHELL",
  "route": "/?lang=<lang>#<authenticated-route>",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "authenticated",
    "session-expired",
    "update-available",
    "global-pause"
  ],
  "actions": [
    "navigate catalog/deals/utilities",
    "global text/voice search",
    "change language",
    "open comparison dock",
    "sign out"
  ],
  "errorCases": [
    "401 clears account state",
    "network timeout",
    "unsaved-change confirmation",
    "stale search-return scope"
  ],
  "source": [
    "public/app.js:254",
    "public/app.js:302",
    "public/app.js:335",
    "public/app.js:527",
    "public/global-search-ui.js:3"
  ]
}
SCR-LOGIN · /?lang=<lang>
{
  "id": "SCR-LOGIN",
  "route": "/?lang=<lang>",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "anonymous",
    "login-pending",
    "login-error",
    "file-protocol notice"
  ],
  "actions": [
    "enter alias/password",
    "submit login",
    "change language"
  ],
  "errorCases": [
    "credentials",
    "rateLimited",
    "networkError"
  ],
  "source": [
    "public/app.js:183",
    "public/app.js:266",
    "public/app.js:368",
    "server/auth.cjs:77"
  ]
}
SCR-ACTIVATE · /?lang=<lang>#invite=<token> -> #activate
{
  "id": "SCR-ACTIVATE",
  "route": "/?lang=<lang>#invite=<token> -> #activate",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "invite-loading",
    "join-invitation",
    "reset-invitation",
    "invalid-invitation"
  ],
  "actions": [
    "inspect assigned alias/role/organization",
    "set password",
    "confirm consent",
    "activate/reset"
  ],
  "errorCases": [
    "inviteInvalid",
    "consentRequired",
    "invalid password",
    "bootstrapClosed"
  ],
  "source": [
    "public/app.js:183",
    "public/app.js:369",
    "public/app.js:521",
    "server/auth.cjs:54"
  ]
}
SCR-CATALOG · #catalog
{
  "id": "SCR-CATALOG",
  "route": "#catalog",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "featured",
    "exact-results",
    "no-exact-results",
    "related-suggestions",
    "exploration-up-to-three",
    "favorites-only",
    "sourcing-draft",
    "request-saved",
    "request-history"
  ],
  "actions": [
    "search text/voice",
    "filter market/category/benefit",
    "toggle quick category",
    "sort",
    "clear filter/reset",
    "favorite",
    "select comparison",
    "save/apply search",
    "open offer",
    "submit/withdraw own asset request"
  ],
  "errorCases": [
    "voice unavailable/denied/cancelled",
    "unsupported query currency",
    "empty favorites",
    "metadata conflict",
    "sourcing validation",
    "requestLimit",
    "paused"
  ],
  "source": [
    "public/app.js:268",
    "public/catalog-ui.js:9",
    "public/sourcing-ui.js:16",
    "public/search.js:48"
  ]
}
SCR-OFFER · #offer=<DEMO-OFFER-id>
{
  "id": "SCR-OFFER",
  "route": "#offer=<DEMO-OFFER-id>",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "projected-read-only-example",
    "contextual-seller-visible",
    "seller-withheld",
    "artifact-generated",
    "artifact-pending",
    "deadline-closed"
  ],
  "actions": [
    "expand facts/documents/reference-flow",
    "favorite",
    "select comparison",
    "copy public offer reference",
    "export JSON/HTML",
    "start private purchase/sale",
    "open scenario selector",
    "admin create shared case"
  ],
  "errorCases": [
    "missing offer",
    "clipboard unavailable",
    "offerWindowClosed",
    "paused rehearsal creation"
  ],
  "source": [
    "public/catalog-ui.js:40",
    "public/app.js:455",
    "public/app.js:470",
    "public/app.js:486",
    "server/privacy.cjs:49"
  ]
}
SCR-DISCOVERY-SAVE · modal: save search on #catalog
{
  "id": "SCR-DISCOVERY-SAVE",
  "route": "modal: save search on #catalog",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "open",
    "name-focused",
    "validation-error",
    "saving"
  ],
  "actions": [
    "edit search name",
    "save criteria",
    "close/Escape"
  ],
  "errorCases": [
    "empty or overlong name",
    "ten-search limit",
    "metadata version conflict",
    "networkError"
  ],
  "source": [
    "public/app.js:225",
    "public/app.js:340",
    "public/discovery-tools.js:37",
    "public/app.js:513"
  ]
}
SCR-DISCOVERY-SAVED · modal: saved searches on authenticated route
{
  "id": "SCR-DISCOVERY-SAVED",
  "route": "modal: saved searches on authenticated route",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "empty",
    "saved-list",
    "delete-confirmation",
    "write-error"
  ],
  "actions": [
    "apply search",
    "confirm delete",
    "close/Escape"
  ],
  "errorCases": [
    "metadata version conflict",
    "cancelled delete",
    "networkError"
  ],
  "source": [
    "public/discovery-tools.js:40",
    "public/app.js:240",
    "public/app.js:443",
    "public/app.js:513"
  ]
}
SCR-DISCOVERY-COMPARE · modal: compare from authenticated dock
{
  "id": "SCR-DISCOVERY-COMPARE",
  "route": "modal: compare from authenticated dock",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "one-selected dock disabled",
    "two-selected",
    "three-selected",
    "fourth-add disabled",
    "under-two modal closed"
  ],
  "actions": [
    "compare objective fields",
    "open offer",
    "remove selection",
    "clear dock",
    "close/Escape"
  ],
  "errorCases": [
    "minimum two selections",
    "maximum three selections",
    "unknown offer ignored"
  ],
  "source": [
    "public/discovery-tools.js:29",
    "public/discovery-tools.js:43",
    "public/app.js:225",
    "public/app.js:432",
    "public/app.js:513"
  ]
}
SCR-PROFILE · #profile
{
  "id": "SCR-PROFILE",
  "route": "#profile",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "incomplete",
    "completed",
    "unsaved-draft",
    "saved"
  ],
  "actions": [
    "set country/qualification/categories",
    "edit history/referrals",
    "toggle reference sharing",
    "set channel preferences",
    "confirm fictional-data consent",
    "save profile",
    "change password"
  ],
  "errorCases": [
    "consentRequired",
    "invalid fields",
    "version conflict",
    "current-password credentials error"
  ],
  "source": [
    "public/app.js:191",
    "public/app.js:370",
    "server/service.cjs:21",
    "server/auth.cjs:88"
  ]
}
SCR-OPERATIONS · #operations
{
  "id": "SCR-OPERATIONS",
  "route": "#operations",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "empty",
    "accessible-case-list",
    "filtered",
    "paused/archived indicators"
  ],
  "actions": [
    "filter title/ID/asset text",
    "filter status/category",
    "open case",
    "reload"
  ],
  "errorCases": [
    "401 session expired",
    "networkError",
    "case integrity failure"
  ],
  "source": [
    "public/app.js:187",
    "public/app.js:332",
    "server/service.cjs:37",
    "server/service.cjs:57"
  ]
}
SCR-CASE · #case=<PILOT-id>
{
  "id": "SCR-CASE",
  "route": "#case=<PILOT-id>",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "not_started",
    "review",
    "approved",
    "listed",
    "negotiating",
    "agreement",
    "settlement",
    "reconciled",
    "rejected",
    "cancelled",
    "expired",
    "issue-open",
    "paused",
    "archived",
    "profile-pending",
    "update-available"
  ],
  "actions": [
    "inspect journey/participants/economics",
    "holder offer/publish/cancel",
    "buyer mandate",
    "compliance review/reject/close agreement",
    "propose/accept/message",
    "rails instructions/begin/cash/delivery",
    "party acknowledge/sign",
    "auditor reconcile",
    "raise/resolve issue",
    "private feedback",
    "export report/audit/CSV",
    "admin case controls",
    "reload"
  ],
  "errorCases": [
    "missing membership",
    "profilePending",
    "forbidden role",
    "conflict",
    "quoteExpired",
    "buyerIneligible",
    "staleProof",
    "offerWindowClosed",
    "evidence mismatch/reuse",
    "issueOpen",
    "independence",
    "paused/archived",
    "corrupt/auditIntegrity"
  ],
  "source": [
    "public/app.js:97",
    "public/app.js:133",
    "public/app.js:153",
    "public/app.js:202",
    "public/app.js:283",
    "server/service.cjs:77"
  ]
}
SCR-ADMIN · #admin[&sourceOffer=<id>]
{
  "id": "SCR-ADMIN",
  "route": "#admin[&sourceOffer=<id>]",
  "roles": [
    "admin"
  ],
  "states": [
    "metrics-loaded",
    "pending/used/revoked/expired invites",
    "active/inactive accounts",
    "profile complete/pending",
    "private-link visible",
    "backup-created",
    "global-pause",
    "asset-request overview"
  ],
  "actions": [
    "issue/copy/dismiss/revoke invitation",
    "prefill fictional company",
    "assign five case roles",
    "create template/offer case",
    "disable/enable account",
    "generate reset link",
    "set global pause with reason",
    "create backup",
    "inspect security events",
    "inspect sourcing requests",
    "reload"
  ],
  "errorCases": [
    "forbidden non-admin",
    "aliasUnavailable",
    "memberUnavailable",
    "independence",
    "template/offer mismatch",
    "offerWindowClosed",
    "invalid control reason",
    "backupFailed/rateLimited"
  ],
  "source": [
    "public/app.js:195",
    "public/app.js:196",
    "public/app.js:209",
    "public/app.js:328",
    "server/service.cjs:63",
    "server/service.cjs:120",
    "server/app.cjs:124"
  ]
}
SCR-NOTIFICATIONS · #notifications
{
  "id": "SCR-NOTIFICATIONS",
  "route": "#notifications",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "empty",
    "unread",
    "read"
  ],
  "actions": [
    "open linked case",
    "mark own entry read",
    "reload"
  ],
  "errorCases": [
    "missing foreign notification",
    "401 session expired",
    "networkError"
  ],
  "source": [
    "public/app.js:200",
    "public/app.js:502",
    "server/service.cjs:140"
  ]
}
SCR-REHEARSALS · #rehearsals[&sourceOffer=<id>]
{
  "id": "SCR-REHEARSALS",
  "route": "#rehearsals[&sourceOffer=<id>]",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "empty",
    "active-filter",
    "complete-filter",
    "all-filter",
    "advanced-scenario-selector",
    "expired options disabled"
  ],
  "actions": [
    "inspect progress counts",
    "continue/view owned rehearsal",
    "start new deal",
    "select offer",
    "choose simulated buyer/holder",
    "choose scenario",
    "create rehearsal"
  ],
  "errorCases": [
    "paused",
    "rehearsalLimit",
    "invalid role/scenario",
    "missing offer",
    "offerWindowClosed"
  ],
  "source": [
    "public/rehearsal-ui.js:68",
    "public/rehearsal-ui.js:78",
    "public/app.js:272",
    "public/app.js:360",
    "server/rehearsal.cjs:195"
  ]
}
SCR-REHEARSAL · #rehearsal=<REHEARSAL-id>
{
  "id": "SCR-REHEARSAL",
  "route": "#rehearsal=<REHEARSAL-id>",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "offer",
    "documents",
    "eligibility",
    "negotiation",
    "agreement",
    "settlement",
    "mismatch",
    "reconciliation",
    "complete",
    "abandoned",
    "blocked-attempt"
  ],
  "actions": [
    "follow available action",
    "propose/accept",
    "acknowledge",
    "restore documents",
    "correct eligibility",
    "renew quote",
    "settle/resolve mismatch/reconcile",
    "confirm abandonment",
    "inspect activity/outcomes/counters",
    "save feedback",
    "export JSON/HTML"
  ],
  "errorCases": [
    "missing foreign session",
    "consentRequired",
    "invalid decimal/quantity/ticket",
    "checklistRequired",
    "buyerIneligible",
    "quoteExpired",
    "issueOpen",
    "offerWindowClosed",
    "conflict",
    "paused",
    "rehearsalLimit",
    "corrupt"
  ],
  "source": [
    "public/rehearsal-ui.js:109",
    "public/rehearsal-ui.js:212",
    "public/app.js:361",
    "server/rehearsal.cjs:58",
    "server/rehearsal.cjs:125",
    "server/rehearsal.cjs:201"
  ]
}
SCR-HELP · #help
{
  "id": "SCR-HELP",
  "route": "#help",
  "roles": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ],
  "states": [
    "localized guide"
  ],
  "actions": [
    "read shared-pilot scope",
    "read flow/negative exercises/measurement/limits",
    "navigate through shell"
  ],
  "errorCases": [
    "401 session expired"
  ],
  "source": [
    "public/app.js:208",
    "public/app.js:259",
    "public/app.js:268"
  ]
}

State and command contract

For new shared workflow commands: authenticated fixed role and case membership, completed profile, active assigned participants, no global/case pause or archive, exact current case/deal versions and strict payload validation. A successful same-owner/key/payload replay is not a new command and does not advance state; it may return the latest projection before rechecking new-command pause gates.

ActionAssigned roleFromToGuard and consequence
offerholdernot_startedreviewAcknowledge simulation; quantity available; positive price; valid commercial window.
Input fields: quantity, price, agent, thirdParty, acknowledged
mandatebuyerbefore buyer bindingunchangedValid country and ticket range; resets buyer review.
Input fields: country, qualified, min, max
verifycompliancereview / approved / listed / negotiating / agreementapproved if review; otherwise unchangedAll checks true; DEMO reference; current source and eligible mandate; review valid for 24h.
Input fields: ownership, transfer, issuer, jurisdiction, unencumbered, gateway, documents, buyerReview, reference
publishholderapprovedlistedFresh review, no issue, unexpired offer and commercial window.
Input fields: {}
proposebuyer / holderlisted / negotiatingnegotiatingHolder only after buyer bound; eligible buyer and ticket; replaces quote and resets acknowledgements. Also require a live request, no open issue, fresh ownership review and a currently eligible buyer; existing buyer binding must match.
Input fields: price
acceptbuyer / holdernegotiatingagreement if both acceptedSame valid quote version, fresh checks, explicit acknowledgement.
Input fields: proposalVersion, acknowledged
instructionsrailsagreementagreementDEMO destination/beneficiary/control/gateway references; clears both acknowledgements. Also require a live request, no open issue, fresh ownership review and a currently eligible buyer; existing buyer binding must match.
Input fields: destination, beneficiary, controlRef, gatewayRef, reference
signbuyer / holderagreementagreementCurrent quote and instructions; fresh checks; DEMO acknowledgement, not legal signature.
Input fields: proposalVersion, acknowledged, reference
beginrailsagreementsettlementBoth acknowledgements of exact current instructions; freeze snapshot. Also require a live request, no open issue, fresh ownership review and a currently eligible buyer; existing buyer binding must match.
Input fields: reference
cashrailssettlementsettlementExact USD principal and beneficiary; no issue or prior cash; unique reference.
Input fields: reference, amount, beneficiary, currency
deliveryrailssettlementsettlementExact units/network/token/destination/source; no issue or prior delivery; unique reference.
Input fields: reference, quantity, network, tokenRef, destination, sourceAccount
reconcileauditorsettlementreconciledBoth legs and acknowledgements; independent actor; unique reference; no issue.
Input fields: reference
cancelholderreview / approved / listed / negotiatingcancelledReason required; no ordinary cancellation after agreement.
Input fields: reason
rejectcompliancereview / approved / listed / negotiatingrejectedReason required.
Input fields: reason
expirecompliancereview / approved / listed / negotiatingexpiredRequest deadline reached; explicit command, not background scheduler.
Input fields: {}
closeAgreementcomplianceagreementcancelledNo open issue; noMovement=true; both releases and provider closure references.
Input fields: reference, holderReleaseRef, buyerReleaseRef, providerClosureRef, reason, noMovement
issueassigned participantnonterminal; holder/buyer binding requiredsame status + blockedNonempty reason; one current issue.
Input fields: reason
resolvecompliance / auditoropen issuesame status, issue clearedResolver differs from opener; reason and DEMO reference.
Input fields: reason, reference
messagebuyer / holderlisted / negotiating / agreement / settlementunchangedNonempty text <=1200; buyer eligible.
Input fields: body
feedbackany assigned participantany case stageunchangedScore 1..5 and body <=1200; private role-filtered projection.
Input fields: score, body

Diagrams

D01 System context

Executable pilot 0.5.3 • all financial workflow outcomes simulated

System context

Open diagram · SVG · Editable DOT · PNG

D02 Executable containers and trust boundary

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Executable containers and trust boundary

Open diagram · SVG · Editable DOT · PNG

D03 Contextual counterpart disclosure

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Contextual counterpart disclosure

Open diagram · SVG · Editable DOT · PNG

D04 Physical ERD identity and access

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Physical ERD identity and access

Open diagram · SVG · Editable DOT · PNG

D05 Physical ERD shared operations

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Physical ERD shared operations

Open diagram · SVG · Editable DOT · PNG

D06 Physical ERD private discovery and rehearsal

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Physical ERD private discovery and rehearsal

Open diagram · SVG · Editable DOT · PNG

D07 Production logical entity candidate

Production candidate • not implemented or approved

Production logical entity candidate

Open diagram · SVG · Editable DOT · PNG

D08 Shared deal state machine

Executable pilot 0.5.3 • all financial workflow outcomes simulated. Condensed transitions; full guards in the state contract.

Shared deal state machine

Open diagram · SVG · Editable DOT · PNG

D09 Buyer discovery workflow

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Buyer discovery workflow

Open diagram · SVG · Editable DOT · PNG

D10 Seller offer and admission workflow

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Seller offer and admission workflow

Open diagram · SVG · Editable DOT · PNG

D11 Administrator operational workflow

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Administrator operational workflow

Open diagram · SVG · Editable DOT · PNG

D12 Negotiation and instruction sequence

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Negotiation and instruction sequence

Open diagram · SVG · Editable DOT · PNG

D13 Independent external leg reconciliation

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Independent external leg reconciliation

Open diagram · SVG · Editable DOT · PNG

D14 Discovery metadata persistence

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Discovery metadata persistence

Open diagram · SVG · Editable DOT · PNG

D15 Personal rehearsal isolation

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Personal rehearsal isolation

Open diagram · SVG · Editable DOT · PNG

D16 Three development blocks and release gates

Production candidate • not implemented or approved

Three development blocks and release gates

Open diagram · SVG · Editable DOT · PNG

D17 Proposed AI and market monitoring boundaries

Production candidate • not implemented or approved

Proposed AI and market monitoring boundaries

Open diagram · SVG · Editable DOT · PNG

D18 Audit and recovery data flow

Executable pilot 0.5.3 • all financial workflow outcomes simulated

Audit and recovery data flow

Open diagram · SVG · Editable DOT · PNG

Executed domain-kernel example

14 successful commands, three expected errors and 272 observed data paths. Pure synthetic example without HTTP or real accounts; not a public DTO or complete validation schema.

Synthetic deal JSON · Snapshot field paths · Acceptance plan CSV · Implementation backlog CSV

Physical schema in the pilot

Table names are physical SQLite tables. Workflow positions, offers, quotes, instructions and messages live inside JSON snapshots, not normalized SQL trade tables.

settings

Private schema, global pause and rate-limit salt settings.

PRIMARY KEY(key) · restricted-operational · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
keyTEXTtrueValues currently used: schema, paused, rateSalt. SQLite TEXT PRIMARY KEY has implicit NOT NULL in STRICT tables.
valueTEXTtrueschema='1'; paused='false' initially, serialized boolean; rateSalt generated once. Unknown schema aborts store open; no general migration framework.

organizations

Fictional organization labels attached to pilot accounts.

PRIMARY KEY(id) · private-account-metadata · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
idTEXTtrueGenerated UUID; referenced by users.org_id.
aliasTEXTtrueNot UNIQUE. Participant invitation API requires DEMO followed by space or hyphen. No shared organization-management API.
created_atTEXTtrueApplication-generated timestamp; no SQL date CHECK.

organizations.id 1 -> 0..N users.org_id (SQL FK; no ON DELETE CASCADE).

users

Authenticated fixed-role pilot accounts.

PRIMARY KEY(id); UNIQUE(alias) · restricted-authentication-and-account-data · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
idTEXTtrueGenerated UUID; API identity derives from the cookie session.
aliasTEXTtrueUNIQUE login alias; creation validates lowercase [a-z0-9][a-z0-9._-]{2,39}; login normalizes lowercase.
roleTEXTtrueSQL CHECK: admin|holder|buyer|compliance|rails|auditor. No role-edit API; HTTP invites cannot grant admin.
org_idTEXTtrueSQL FK -> organizations.id.
password_hashTEXTtrueSalted scrypt encoding: N=32768,r=8,p=3,64-byte output,16-byte random salt. Never included in public user responses.
activeINTEGERtrueSQL CHECK IN(0,1); no SQL default. Disable deletes sessions, revokes pending targeted resets, pauses assigned cases; enable does not unpause.
created_atTEXTtrueApplication timestamp.

users.org_id -> organizations.id.; users.id referenced by profiles, notifications, invites.target_user, sessions, members, commands, external_evidence, rehearsals, asset_requests, discovery_tools.; Audit actor identifiers are not SQL FKs.

profiles

Own fictional commercial profile, consent version and notification preferences.

PRIMARY KEY(user_id), also FK -> users.id · private-self-declared-profile-and-preferences · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
user_idTEXTtrueOne profile per account; owner-only GET/POST. Contextual counterpart references and admin internal projections are separate from a profile-directory API.
dataTEXT (JSON)trueApplication keys: completed,country,qualified,categories,history,referrals,shareReferences,preferences{inApp,email,push},consentVersion. country AE|SG|US|BR|HK|GB; <=4 allowed categories, deduplicated; history/referrals <=1200 chars; fictional-data-v1 consent. Initial completed=false; successful full update requires consent:true. No SQL JSON CHECK.
versionINTEGERtrueInitial 0; expectedVersion must equal current, then increment. No SQL nonnegative CHECK on this column.
updated_atTEXTtrueAuthoritative timestamp returned as updatedAt.

profiles.user_id -> users.id (1 profile per user).; No relational link from profiles to catalog companies; counterpart disclosure is contextual, not organization membership.

notifications

Persisted owner-specific in-app case activity.

PRIMARY KEY(id) · private-owner-activity · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
idTEXTtrueGenerated UUID.
user_idTEXTtrueSQL FK -> users.id; owner-bound reads and mark-read.
case_idTEXTfalseNullable SQL FK -> cases.id.
actionTEXTtrueCase creation or successful non-feedback command; only other members with inApp preference. No SQL action enum.
readINTEGERtrueDEFAULT 0; CHECK IN(0,1).
created_atTEXTtrueApplication timestamp; GET exposes newest 100, not a retention cap.

notifications.user_id -> users.id.; notifications.case_id -> cases.id (nullable).

invites

Single-use join and password-reset invitations.

PRIMARY KEY(id); UNIQUE(token_hash) · restricted-secret-token-hashes-and-account-metadata · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API. Tokens expire after 24 hours; used/revoked rows remain unless operator policy disposes of them.

FieldsTypeRequiredNotes
idTEXTtrueGenerated UUID.
token_hashTEXTtrueUNIQUE SHA-256 of random 32-byte token; raw token returned only at issuance, not invitation listing.
kindTEXTtrueSQL CHECK join|reset.
aliasTEXTtrueTarget login alias; application blocks active unused join alias conflicts.
roleTEXTtrueApplication checks six-role set; no SQL role CHECK in invites. HTTP creation limited to five participant roles.
org_aliasTEXTtrueFictional organization label; new joins create organization and account.
target_userTEXTfalseNullable SQL FK -> users.id; used for resets.
expires_atTEXTtrue24-hour application validity; expiry is not automatic row deletion.
used_atTEXTfalseNullable acceptance timestamp; acceptance rechecks validity in transaction after password hashing.
revokedINTEGERtrueDEFAULT 0; CHECK IN(0,1).
created_atTEXTtrueApplication timestamp.

invites.target_user -> users.id (nullable).; Join alias is an application association, not a SQL FK to users.alias.

sessions

Opaque cookie authentication and CSRF/session lifecycle.

PRIMARY KEY(token_hash) · restricted-session-secrets · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API. Expired/inactive sessions are deleted when checked; logout, password change/reset acceptance, disable and restore revoke relevant sessions. No scheduled expiry sweep is specified.

FieldsTypeRequiredNotes
token_hashTEXTtrueSHA-256 of raw 32-byte random cookie token; cookie itself not stored.
user_idTEXTtrueSQL FK -> users.id.
csrfTEXTtrueRandom 43-character base64url CSRF token; stored as session secret and returned to that session.
created_atTEXTtrueAbsolute lifetime starts at issue.
last_seenTEXTtrueTouched by POST or GET with X-User-Activity:1; background polling does not extend idle expiry.
expires_atTEXTtrue12-hour absolute expiry; 30-minute idle expiry computed from last_seen.

sessions.user_id -> users.id.

rate_limits

Persistent fixed-window abuse counters with hashed identity.

PRIMARY KEY(key) · restricted-abuse-control-metadata · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API. Expired counters are opportunistically cleaned in limit(); no separate retention schedule.

FieldsTypeRequiredNotes
keyTEXTtrueSHA-256(rateSalt + scope + identity); identities include direct socket IP or account/alias.
countINTEGERtrueApplication fixed-window count; no SQL count minimum.
expires_atINTEGER (epoch milliseconds)trueApplication resets expired window and opportunistically deletes rows older than time-windowMs.

No SQL FK; hash is derived from settings.rateSalt, scope and caller identity.

cases

Shared simulated case with canonical workflow snapshot.

PRIMARY KEY(id) · private-shared-process-data-fictional-financial-records · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
idTEXTtruePILOT- plus uppercase UUID generated server-side.
titleTEXTtrueApplication nonempty trimmed title <=100 chars.
templateTEXTtrueApplication checks four template IDs; no SQL FK to a templates table.
stateTEXT (JSON)trueShared schema glemo.shared-simulation/1: id,revision,createdAt,core{schema,revision,simulation,positions,requests,events},mandate,buyerReview,messages,feedback,events and optional catalogContext{offer,seller,buyer}. At most one resale request per case. These nested objects are not SQL tables. Each case starts independent synthetic holdings; not a consolidated ownership ledger.
state_hashTEXTtrueSHA-256 of exact serialized state; verified before projection along with domain validity and audit linkage.
revisionINTEGERtrueSQL CHECK >=0; equal to snapshot revision and number of shared events. Every successful participant command increments; admin controls do not.
pausedINTEGERtrueDEFAULT 0; CHECK IN(0,1).
archivedINTEGERtrueDEFAULT 0; CHECK IN(0,1). Reversible block flag, not deletion.
created_atTEXTtrueApplication timestamp.
updated_atTEXTtrueCommand/control timestamp.

cases.id referenced by members, commands, external_evidence, case_audit and nullable notifications.case_id.; template/offer/position/request/mandate/message/feedback references are application JSON associations, not additional SQL entities.

members

Explicit fixed-role assignment to shared cases.

PRIMARY KEY(case_id,user_id); UNIQUE(case_id,role) · private-case-access-control · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
case_idTEXTtrueSQL FK -> cases.id.
user_idTEXTtrueSQL FK -> users.id.
roleTEXTtrueNo SQL enum CHECK here; service requires exactly one active distinct user for each holder,buyer,compliance,rails,auditor, matching users.role. Admin is not an executing case member. No membership edit/reassignment API.

members.case_id -> cases.id.; members.user_id -> users.id.; UNIQUE(case_id,role) prevents two members occupying the same case role; PK prevents duplicate user in a case.

commands

Shared-case idempotency and committed revision records.

PRIMARY KEY(case_id,command_key) · restricted-idempotency-integrity-metadata · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
case_idTEXTtrueSQL FK -> cases.id.
command_keyTEXTtrueApplication [A-Za-z0-9_-]{12,90}, scoped to case.
user_idTEXTtrueSQL FK -> users.id; replay must use same user.
payload_hashTEXTtrueSHA-256 canonical full envelope including expected versions; changed envelope or another account on same key ->409.
revisionINTEGERtrueResulting committed case revision; no SQL CHECK.
created_atTEXTtrueApplication timestamp. Replays return current filtered projection with replayed:true, not a stored response.

commands.case_id -> cases.id.; commands.user_id -> users.id.

external_evidence

Simulated cash/delivery evidence bound to shared settlement.

PRIMARY KEY(id); UNIQUE(case_id,kind); UNIQUE(case_id,reference) · private-simulated-settlement-evidence · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
idTEXTtrueGenerated UUID.
case_idTEXTtrueSQL FK -> cases.id.
kindTEXTtrueSQL CHECK cash|delivery; one evidence row of each kind per case.
referenceTEXTtrueUnique across cash/delivery rows within case; application also prevents reuse among cash,delivery,reconciliation references in snapshot. DEMO reference required by kernel.
user_idTEXTtrueSQL FK -> users.id; executing fixed rails member.
snapshotTEXT (JSON)trueFrozen recorded cash or delivery object, not uploaded bank/blockchain proof. Amount/currency/beneficiary or quantity/network/token/destination/source account must exactly match frozen settlement.
created_atTEXTtrueApplication timestamp.

external_evidence.case_id -> cases.id.; external_evidence.user_id -> users.id.; Reconciliation receipt is in cases.state, not an external_evidence kind.

case_audit

Append-only per-case state/revision hash-linked journal.

PRIMARY KEY(case_id,sequence) · restricted-audit-with-filtered-participant-projection · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
case_idTEXTtrueSQL FK -> cases.id.
sequenceINTEGERtrueApplication contiguous sequence from 1; no SQL >0 CHECK.
atTEXTtrueEvent timestamp.
actor_idTEXTtrueIdentifier only; deliberately no SQL FK.
roleTEXTtrueActor role at event; no SQL role CHECK.
actionTEXTtrueCommand or administrative creation/control/revocation event.
revisionINTEGERtrueCase revision; administrative events can share the same revision.
state_hashTEXTtrueHash of snapshot at this event.
previous_hashTEXTtrueGENESIS for first event, then previous event_hash.
event_hashTEXTtrueSHA-256 canonical event containing caseId,sequence,at,actorId,role,action,revision,stateHash,previousHash. BEFORE UPDATE/DELETE triggers raise append_only. Not externally anchored or certified immutable.

case_audit.case_id -> cases.id.; actor_id is not a SQL FK; participant responses can filter feedback and relabel actors, so filtered hashes cannot reconstruct the complete chain.

rehearsals

Owner-only individual simulation snapshots separate from shared cases.

PRIMARY KEY(id) · private-owner-only-rehearsal-and-feedback · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
idTEXTtrueREHEARSAL- plus uppercase UUID; not a cases.id.
user_idTEXTtrueSQL FK -> users.id; access always includes user_id, with no administrator override.
dataTEXT (JSON)trueschema glemo.individual-rehearsal/1; synthetic buyer|holder role, one of six scenarios, offer/seller/buyer snapshots,state,phase,complete/abandoned,wall timestamps,synthetic clock,timeline,attempts,editable feedback,flags,commands[{key,fingerprint,error}]. Up to50 sessions per owner including abandoned; up to200 command entries per session. Expected blocked steps can persist an attempt/revision while preserving financial state.
data_hashTEXTtrueSHA-256 of serialized data; snapshot validity/id/revision checked. Not shared append-only audit or independently certified.
revisionINTEGERtrueSQL CHECK >=0; matching expectedRevision required for new commands/feedback.
created_atTEXTtrueApplication row creation time.
updated_atTEXTtrueLatest saved command or feedback time.
modeTEXTtrueSQL CHECK mode='individual-rehearsal'.

rehearsals.user_id -> users.id.; No FK to cases and no membership rows; real account role does not override the selected synthetic disclosure role.

asset_requests

Private submitted simulated sourcing briefs with withdrawal.

PRIMARY KEY(id); UNIQUE(user_id,idempotency_key); INDEX asset_requests_owner_date(user_id,created_at DESC,id DESC) · private-owner-and-internal-admin-sourcing-text · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
idTEXTtrueREQUEST- uppercase UUID v4; application exact identifier validation.
user_idTEXTtrueSQL FK -> users.id; holder/buyer/admin may create their own; owner and internal admin may read/withdraw.
idempotency_keyTEXTtrueApplication [A-Za-z0-9_-]{12,90}; unique per owner.
payload_hashTEXTtrueSHA-256 canonical query,category,country,minimumTicketCents,maximumTicketCents,timeframe,description; same key/different normalized payload ->409.
dataTEXT (canonical JSON)trueExact record keys id,query,category,country,minimumTicketCents,maximumTicketCents,timeframe,description,status,version,createdAt,updatedAt,simulation. query trimmed <=200; description trimmed 20..2000; categories four catalog types or Other; countries AE|SG|US|HK|GB|Other; timeframe now|30d|90d|flexible. Blank input ticket string becomes null; nonblank must be positive safe USD cents and min<=max. consent:true required to submit, not stored as independent consent object.
data_hashTEXTtrueSHA-256 canonical {userId,idempotencyKey,payloadHash,data}; application validates canonical payload, owner binding and row/JSON consistency.
statusTEXTtrueSQL CHECK submitted|withdrawn; one-way application withdrawal, no edit/delete API.
versionINTEGERtrueSQL CHECK >=0; logical validator additionally requires submitted version0 with unchanged timestamps, withdrawn version1.
created_atTEXTtrueApplication ISO timestamp.
updated_atTEXTtrueApplication ISO timestamp; not before created_at.

asset_requests.user_id -> users.id.; No case, seller, offer, order or execution FK. Maximum50 per owner includes withdrawn; drafts are page memory only.

discovery_tools

Owner-only favorites and saved search metadata.

PRIMARY KEY(user_id), also FK -> users.id · private-owner-only-discovery-metadata · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
user_idTEXTtrueOne record per account; own authenticated identity only, including administrators.
dataTEXT (canonical JSON)trueExact record version,favorites,savedSearches,updatedAt,simulation. Up to32 unique known catalog offer IDs; up to10 searches. Each search exactly id,name,query,country,category,benefit,sort,favoritesOnly; unique id [A-Za-z0-9_-]{12,90}; trimmed name1..60/query<=200; validated catalog enums. Comparison selection not persisted. No SQL JSON CHECK.
data_hashTEXTtrueSHA-256 canonical {userId,data}; owner-bound consistency, not encryption.
versionINTEGERtrueSQL CHECK >=1. Absent row projects version0/empty lists/updatedAt:null. Strict expectedVersion comparison and CAS; no idempotency key or silent identical replay.
updated_atTEXTtrueMatching ISO timestamp in JSON; metadata writes remain available during global financial pause.

discovery_tools.user_id -> users.id.; Favorite catalog IDs are validated application references, not SQL FKs; no administrator search collection API.

security_audit

Internal append-only security and operational events.

PRIMARY KEY(sequence) · restricted-security-audit · TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.

FieldsTypeRequiredNotes
sequenceINTEGERtrueSQLite INTEGER PRIMARY KEY generates sequence on inserts without explicit value; not declared AUTOINCREMENT.
atTEXTtrueApplication event timestamp.
actor_idTEXTfalseNullable identifier, deliberately no SQL FK; anonymous/system events use null.
actionTEXTtrueAuthentication, invitations, profile updates, denials, controls, export, sourcing/discovery/rehearsal and backup operations.
detailTEXT (canonical JSON)trueOperation metadata; no independent hash chain. BEFORE UPDATE/DELETE triggers raise append_only. Admin API returns newest200, not a retention policy.

No SQL FKs; actor_id may refer to an account or be null.

Production schema candidate

Not the physical pilot schema. Requires review, migrations and CTO acceptance.

PostgreSQL SQL

APIs

Same-origin GET/POST API with cookie sessions. Every POST checks Origin and JSON size; authenticated POSTs also require CSRF. OpenAPI below is an interface reference, while executable validation remains authoritative. localhost URLs in the downloadable contract describe the local pilot, not a hosted endpoint.

GET /api/discovery-tools · getOwnDiscoveryTools

Own account favorites and saved searches only, without an administrator override

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Own record; default version 0 has empty lists and updatedAt:null",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/DiscoveryTools"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/discovery-tools · saveOwnDiscoveryTools

Strict version-checked own metadata update; stale version 409. Does not execute trades and remains available during financial pause.

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/DiscoveryToolsInput"
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Full updated own record with incremented version",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/DiscoveryTools"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/asset-requests · listOwnAssetRequests

Own private simulated sourcing briefs only, never a participant directory

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "simulation:true and requests[]",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "simulation": {
              "const": true
            },
            "requests": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AssetRequest"
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/asset-requests · createAssetRequest

Buyer/holder/admin only; 50 records per owner including withdrawn; same-key retry replays, different payload returns 409; global pause blocks new requests

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/AssetRequestInput"
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "201": {
    "description": "Created or idempotently replayed record; replay adds replayed:true",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/AssetRequestCreated"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/asset-requests/{requestId} · getAssetRequest

Owner or internal administrator; other accounts receive 404

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Private sourcing record",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/AssetRequest"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/asset-requests/{requestId}/withdraw · withdrawAssetRequest

Owner/admin withdrawal; expectedVersion required, stale version 409; no deletion or deal mutation

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "expectedVersion"
          ],
          "properties": {
            "expectedVersion": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Withdrawn record; current-version repeat is unchanged",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/AssetRequest"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/admin/asset-requests · listAdminAssetRequests

Internal administrator only; queue with internal ownerId; no external outreach or commercial commitment

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "simulation:true and requests[]; each record includes ownerId",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "simulation": {
              "const": true
            },
            "requests": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AdminAssetRequest"
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/rehearsals · listPersonalRehearsals

List only the authenticated owner's isolated rehearsals; administrators have no override

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "simulation:true, mode:individual-rehearsal, sessions[]"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/rehearsals · startPersonalRehearsal

Create one fictional buyer/holder rehearsal without changing the account role or shared cases

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "offerId",
            "role",
            "scenario"
          ],
          "properties": {
            "offerId": {
              "type": "string",
              "pattern": "^DEMO-OFFER-[0-9]{3}$"
            },
            "role": {
              "enum": [
                "buyer",
                "holder"
              ]
            },
            "scenario": {
              "enum": [
                "standard",
                "counter_refused",
                "missing_documents",
                "ineligible_buyer",
                "expired_quote",
                "settlement_mismatch"
              ]
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "201": {
    "description": "Private rehearsal projection; generated bot steps explicitly attributed"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/rehearsals/{rehearsalId} · getPersonalRehearsal

Owner-only filtered view using the chosen synthetic role; no actual administrator disclosure override

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Private projection, pending actions, positions, economics, steps and blocked attempts; no retry fingerprints. Synthetic buyer hidden from seller until its successful proposal; not the full internal snapshot."
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/rehearsals/{rehearsalId}/commands · commandPersonalRehearsal

Idempotent, revision-checked fictional step; expected process blocks return 200 with commandError and an unchanged financial state

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "action",
            "payload",
            "expectedRevision",
            "idempotencyKey"
          ],
          "properties": {
            "action": {
              "enum": [
                "offer",
                "propose",
                "accept",
                "acknowledge",
                "settle",
                "reconcile",
                "restore_documents",
                "correct_eligibility",
                "renew_quote",
                "resolve_mismatch",
                "abandon"
              ]
            },
            "payload": {
              "type": "object",
              "description": "Action-specific strict fields in server/rehearsal.cjs FIELDS. Decimal values are ungrouped strings. Offer:quantity,price,agent,acknowledged. Propose:price. Abandon:confirmed. Others:acknowledged. No state, actor or real evidence accepted."
            },
            "expectedRevision": {
              "type": "integer",
              "minimum": 0
            },
            "idempotencyKey": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{12,90}$"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Updated projection with commandError:null or a recorded block; same-key same-payload retry is not repeated"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/rehearsals/{rehearsalId}/feedback · savePersonalRehearsalFeedback

Owner-only editable process feedback, never commercial demand evidence

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "score",
            "body",
            "expectedRevision"
          ],
          "properties": {
            "score": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            },
            "body": {
              "type": "string",
              "maxLength": 1200
            },
            "expectedRevision": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Updated private rehearsal projection"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/rehearsals/{rehearsalId}/export · exportPersonalRehearsal

Owner-only role-filtered JSON report; process counters, synthetic versus wall time and zero real revenue

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "glemo.individual-rehearsal-report/1; same synthetic-role disclosure as the session, not a full internal snapshot; client may render a standalone localized HTML report"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/health · health

Transport-checked liveness, not an integrity scan

Request

{
  "parameters": [],
  "requestBody": null,
  "security": []
}

Responses

{
  "200": {
    "description": "Alive; instance ID is a non-secret launcher process match, not authentication",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "const": "ok"
            },
            "simulation": {
              "const": true
            },
            "instanceId": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/auth/login · login

login

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    }
  ],
  "requestBody": {
    "$ref": "#/components/requestBodies/Login"
  },
  "security": []
}

Responses

{
  "200": {
    "description": "Sets session cookie",
    "headers": {
      "Set-Cookie": {
        "schema": {
          "type": "string"
        }
      }
    },
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/LoginResult"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/auth/invite · inspectInvite

Inspect a private unexpired, unused, unrevoked join/reset token

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "token"
          ],
          "properties": {
            "token": {
              "$ref": "#/components/schemas/Token"
            }
          }
        }
      }
    }
  },
  "security": []
}

Responses

{
  "200": {
    "description": "Invitation metadata; no raw token returned",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/InviteInfo"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/auth/accept · acceptInvite

Register or reset password using a single-use private invitation

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "token",
            "password",
            "consent"
          ],
          "properties": {
            "token": {
              "$ref": "#/components/schemas/Token"
            },
            "password": {
              "$ref": "#/components/schemas/Password"
            },
            "consent": {
              "const": true
            }
          }
        }
      }
    }
  },
  "security": []
}

Responses

{
  "200": {
    "description": "Sets fresh cookie; accepted reset revokes old sessions",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/LoginResult"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/auth/session · session

Optional cookie; nullable session/profile when logged out

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Activity"
    }
  ],
  "requestBody": null,
  "security": []
}

Responses

{
  "200": {
    "description": "Session snapshot; no expiresAt field",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "user": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/User"
                },
                {
                  "type": "null"
                }
              ]
            },
            "csrf": {
              "type": [
                "string",
                "null"
              ]
            },
            "profile": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Profile"
                },
                {
                  "type": "null"
                }
              ]
            },
            "globalPaused": {
              "type": "boolean"
            },
            "serverTime": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/auth/logout · logout

logout

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "$ref": "#/components/requestBodies/Empty"
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "$ref": "#/components/responses/Ok"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/auth/password · changePassword

Revoke all own sessions and pending resets, then rotate current cookie

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "currentPassword",
            "newPassword"
          ],
          "properties": {
            "currentPassword": {
              "type": "string",
              "maxLength": 512
            },
            "newPassword": {
              "$ref": "#/components/schemas/Password"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Rotated session cookie; no expiresAt field",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "user": {
              "$ref": "#/components/schemas/User"
            },
            "csrf": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/profile · ownProfile

ownProfile

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Own profile",
    "content": {
      "application/json": {
        "schema": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/Profile"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/profile · saveProfile

saveProfile

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProfileInput"
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Updated profile/version",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Profile"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/templates · templates

templates

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Four independent fictional resale templates",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "templates": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Template"
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/cases · listCases

Administrator: all cases; others: explicit memberships only

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Visible summaries",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "cases": {
              "type": "array",
              "items": {
                "type": "object"
              }
            },
            "globalPaused": {
              "type": "boolean"
            },
            "serverTime": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/cases · createCase

Assign one active distinct account of each of five fixed participant roles

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/CaseInput"
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "201": {
    "$ref": "#/components/responses/Projection"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/cases/{caseId} · getCase

Case member or administrator; absent/inaccessible returns 404

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "$ref": "#/components/responses/Projection"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/cases/{caseId}/commands · command

Fixed-role member command; administrator cannot execute

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Command"
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "$ref": "#/components/responses/Projection"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/cases/{caseId}/control · controlCase

Pause/archive flags; reversible, no deletion or workflow revision increment

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "reason"
          ],
          "properties": {
            "paused": {
              "type": "boolean"
            },
            "archived": {
              "type": "boolean"
            },
            "reason": {
              "$ref": "#/components/schemas/ControlReason"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "$ref": "#/components/responses/Projection"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/cases/{caseId}/audit · caseAudit

Assigned member/admin; filtered audit view, not independently certified or a verifiable full chain

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Context/feedback-filtered case audit. Non-admin actor identifiers may be replaced with role labels. Stored append-only records/hashes are unchanged; full internal chain verification requires the administrator record.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/Audit"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/cases/{caseId}/export · exportCase

Assigned member/admin filtered report; contextual counterpart/reference/feedback gates also apply to nested state and audit; records export event

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Simulated filtered JSON process report, not a full database dump or independently verifiable full-chain export",
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Projection"
            },
            {
              "type": "object",
              "properties": {
                "format": {
                  "const": "glemo.shared-pilot-report/1"
                },
                "simulation": {
                  "const": true
                },
                "generatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "evidenceScope": {
                  "type": "string"
                },
                "feeCollectionStatus": {
                  "const": "NOT_INVOICED_NOT_COLLECTED_SIMULATION"
                },
                "audit": {
                  "$ref": "#/components/schemas/Audit"
                }
              }
            }
          ]
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/notifications · notifications

Own newest 100 persistent in-app notifications; no email/push delivery

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Notifications",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "notifications": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "caseId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "action": {
                    "type": "string"
                  },
                  "read": {
                    "type": "integer",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "createdAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/notifications/{id}/read · readNotification

Own notification only; others return 404

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "$ref": "#/components/requestBodies/Empty"
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "$ref": "#/components/responses/Ok"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/admin/users · users

users

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Users, no password hashes",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "users": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "profileComplete": {
                        "type": "boolean"
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/admin/users/{id}/control · controlUser

Non-admin target; disable revokes sessions and pauses cases; enable does not resume cases

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "active"
          ],
          "properties": {
            "active": {
              "type": "boolean"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Target user",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/User"
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/admin/users/{id}/reset · resetUser

Private reset link for active non-admin; sessions revoked on acceptance

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "$ref": "#/components/requestBodies/Empty"
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "201": {
    "$ref": "#/components/responses/PrivateInvite"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/admin/invites · invites

invites

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Metadata only, no raw tokens/links",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "invites": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "kind": {
                    "enum": [
                      "join",
                      "reset"
                    ]
                  },
                  "alias": {
                    "type": "string"
                  },
                  "role": {
                    "$ref": "#/components/schemas/Role"
                  },
                  "orgAlias": {
                    "type": "string"
                  },
                  "targetUser": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "expiresAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "usedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "revoked": {
                    "type": "integer",
                    "enum": [
                      0,
                      1
                    ]
                  },
                  "createdAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/admin/invites · inviteUser

Invite fixed participant role; no additional administrator through HTTP

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "alias",
            "role",
            "orgAlias"
          ],
          "properties": {
            "alias": {
              "type": "string",
              "pattern": "^[a-z0-9][a-z0-9._-]{2,39}$"
            },
            "role": {
              "$ref": "#/components/schemas/ParticipantRole"
            },
            "orgAlias": {
              "type": "string",
              "maxLength": 100,
              "pattern": "^DEMO[ -]"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "201": {
    "$ref": "#/components/responses/PrivateInvite"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/admin/invites/{id}/revoke · revokeInvite

revokeInvite

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "$ref": "#/components/requestBodies/Empty"
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "$ref": "#/components/responses/Ok"
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/admin/control · globalControl

Pause participant commands; reads/admin/auth operations remain available

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "paused",
            "reason"
          ],
          "properties": {
            "paused": {
              "type": "boolean"
            },
            "reason": {
              "$ref": "#/components/schemas/ControlReason"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Current global pause flag",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "paused": {
              "type": "boolean"
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/admin/metrics · metrics

Illustrative metrics; realRevenueCents is zero, not proof of demand

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Simulation counts and cents",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "simulation": {
              "const": true
            },
            "globalPaused": {
              "type": "boolean"
            },
            "cases": {
              "type": "integer"
            },
            "reconciled": {
              "type": "integer"
            },
            "blocked": {
              "type": "integer"
            },
            "illustrativeVolumeCents": {
              "type": "string",
              "pattern": "^[0-9]+$"
            },
            "users": {
              "type": "integer"
            },
            "feedback": {
              "type": "integer"
            },
            "realRevenueCents": {
              "const": 0
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/admin/security · securityEvents

securityEvents

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Newest 200 security events; detail is canonical JSON text",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "events": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
POST /api/admin/backup · backup

Create private server-side SQLite backup, metadata only; 3 per hour/user

Request

{
  "parameters": [
    {
      "$ref": "#/components/parameters/Origin"
    },
    {
      "$ref": "#/components/parameters/Csrf"
    }
  ],
  "requestBody": {
    "$ref": "#/components/requestBodies/Empty"
  },
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "201": {
    "description": "Snapshot remains under private PILOT_DATA_DIR/backups",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "bytes": {
              "type": "integer"
            },
            "sha256": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/admin/fixtures · internalFictionalFixtureSelector

Administrator-only minimal fictional company selector; never a participant directory

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Internal selection fields only; authenticated non-admin requests fail",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "companies"
          ],
          "properties": {
            "companies": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "name",
                  "role",
                  "country"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "role": {
                    "enum": [
                      "seller",
                      "buyer"
                    ]
                  },
                  "country": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/catalog · fictionalCatalog

24 fictional offers only; no company array, company IDs/profiles or participant directory

Request

{
  "parameters": [],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Read-only offer summaries. sellerId, referenceBuyerId and issuer identity are not serialized; source company fixtures remain internal.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "simulation",
            "version",
            "offers"
          ],
          "properties": {
            "simulation": {
              "const": true
            },
            "version": {
              "type": "string"
            },
            "offers": {
              "type": "array",
              "minItems": 24,
              "maxItems": 24,
              "items": {
                "type": "object",
                "not": {
                  "anyOf": [
                    {
                      "required": [
                        "sellerId"
                      ]
                    },
                    {
                      "required": [
                        "referenceBuyerId"
                      ]
                    },
                    {
                      "required": [
                        "issuer"
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}
GET /api/catalog/offers/{offerId}/example · fictionalOfferExample

Generated offer factsheet: role-filtered seller, buyer always null, four public artifacts; not a received proposal or private-case evidence

Request

{
  "parameters": [
    {
      "name": "offerId",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "pattern": "^DEMO-OFFER-[0-9]{3}$"
      }
    }
  ],
  "requestBody": null,
  "security": [
    {
      "HttpsCookie": []
    },
    {
      "LocalCookie": []
    }
  ]
}

Responses

{
  "200": {
    "description": "Limited synthetic factsheet. Seller commercial profile only for buyer/admin, otherwise null. Sample buyer is null for every role. Four public artifacts only; no mandate, private negotiation, settlement dossier or external-account/token rows. Missing evidence remains pending.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "simulation",
            "generatedExample",
            "readOnly",
            "version",
            "offer",
            "seller",
            "buyer",
            "state",
            "artifacts"
          ],
          "properties": {
            "simulation": {
              "const": true
            },
            "generatedExample": {
              "const": true
            },
            "readOnly": {
              "const": true
            },
            "version": {
              "type": "string"
            },
            "offer": {
              "type": "object",
              "description": "Fictional asset terms including original issuer; no sellerId or referenceBuyerId",
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "sellerId"
                    ]
                  },
                  {
                    "required": [
                      "referenceBuyerId"
                    ]
                  }
                ]
              }
            },
            "seller": {
              "description": "Limited seller commercial context for buyer/admin only; no login/contact/registration or counterparty-history links",
              "oneOf": [
                {
                  "$ref": "#/components/schemas/FictionalCommercialProfile"
                },
                {
                  "type": "null"
                }
              ]
            },
            "buyer": {
              "const": null,
              "description": "Never disclosed by a catalog illustration, including for administrators"
            },
            "state": {
              "type": "object",
              "description": "Limited illustrative state with positions/request terms and event action/role/time; not a full internal snapshot, buyer mandate or private dossier"
            },
            "artifacts": {
              "type": "array",
              "minItems": 4,
              "maxItems": 4,
              "items": {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "enum": [
                      "factsheet",
                      "ownership",
                      "checklist",
                      "costs"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "default": {
    "$ref": "#/components/responses/Error"
  }
}

DTO schemas

SavedDiscoverySearch
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "name",
    "query",
    "country",
    "category",
    "benefit",
    "sort",
    "favoritesOnly"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{12,90}$"
    },
    "name": {
      "type": "string",
      "description": "Trimmed nonempty name of at most 60 characters"
    },
    "query": {
      "type": "string",
      "description": "Trimmed query of at most 200 characters"
    },
    "country": {
      "enum": [
        "",
        "AE",
        "SG",
        "US",
        "HK",
        "GB"
      ]
    },
    "category": {
      "enum": [
        "",
        "Real estate",
        "Private credit",
        "Treasury",
        "Commodities"
      ]
    },
    "benefit": {
      "enum": [
        "",
        "discount",
        "time",
        "volume",
        "points"
      ]
    },
    "sort": {
      "enum": [
        "featured",
        "minTicketAsc",
        "minTicketDesc",
        "closing"
      ]
    },
    "favoritesOnly": {
      "type": "boolean"
    }
  }
}
DiscoveryFavorites
{
  "type": "array",
  "maxItems": 32,
  "uniqueItems": true,
  "items": {
    "type": "string",
    "pattern": "^DEMO-OFFER-[0-9]{3}$"
  },
  "description": "Every ID must exist in the current catalog"
}
DiscoverySearches
{
  "type": "array",
  "maxItems": 10,
  "items": {
    "$ref": "#/components/schemas/SavedDiscoverySearch"
  },
  "description": "Search IDs must be unique"
}
DiscoveryTools
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "version",
    "favorites",
    "savedSearches",
    "updatedAt",
    "simulation"
  ],
  "properties": {
    "version": {
      "type": "integer",
      "minimum": 0
    },
    "favorites": {
      "$ref": "#/components/schemas/DiscoveryFavorites"
    },
    "savedSearches": {
      "$ref": "#/components/schemas/DiscoverySearches"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "simulation": {
      "const": true
    }
  }
}
DiscoveryToolsInput
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "expectedVersion",
    "favorites",
    "savedSearches"
  ],
  "properties": {
    "expectedVersion": {
      "type": "integer",
      "minimum": 0
    },
    "favorites": {
      "$ref": "#/components/schemas/DiscoveryFavorites"
    },
    "savedSearches": {
      "$ref": "#/components/schemas/DiscoverySearches"
    }
  }
}
AssetRequestCreated
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "query",
    "category",
    "country",
    "minimumTicketCents",
    "maximumTicketCents",
    "timeframe",
    "description",
    "status",
    "version",
    "createdAt",
    "updatedAt",
    "simulation"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "query": {
      "type": "string",
      "maxLength": 200
    },
    "category": {
      "enum": [
        "Real estate",
        "Private credit",
        "Treasury",
        "Commodities",
        "Other"
      ]
    },
    "country": {
      "enum": [
        "AE",
        "SG",
        "US",
        "HK",
        "GB",
        "Other"
      ]
    },
    "minimumTicketCents": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "maximumTicketCents": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "timeframe": {
      "enum": [
        "now",
        "30d",
        "90d",
        "flexible"
      ]
    },
    "description": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2000
    },
    "status": {
      "enum": [
        "submitted",
        "withdrawn"
      ]
    },
    "version": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "simulation": {
      "const": true
    },
    "replayed": {
      "const": true
    }
  }
}
AdminAssetRequest
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "query",
    "category",
    "country",
    "minimumTicketCents",
    "maximumTicketCents",
    "timeframe",
    "description",
    "status",
    "version",
    "createdAt",
    "updatedAt",
    "simulation",
    "ownerId"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "query": {
      "type": "string",
      "maxLength": 200
    },
    "category": {
      "enum": [
        "Real estate",
        "Private credit",
        "Treasury",
        "Commodities",
        "Other"
      ]
    },
    "country": {
      "enum": [
        "AE",
        "SG",
        "US",
        "HK",
        "GB",
        "Other"
      ]
    },
    "minimumTicketCents": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "maximumTicketCents": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "timeframe": {
      "enum": [
        "now",
        "30d",
        "90d",
        "flexible"
      ]
    },
    "description": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2000
    },
    "status": {
      "enum": [
        "submitted",
        "withdrawn"
      ]
    },
    "version": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "simulation": {
      "const": true
    },
    "ownerId": {
      "type": "string"
    }
  }
}
AssetRequest
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "query",
    "category",
    "country",
    "minimumTicketCents",
    "maximumTicketCents",
    "timeframe",
    "description",
    "status",
    "version",
    "createdAt",
    "updatedAt",
    "simulation"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "query": {
      "type": "string",
      "maxLength": 200
    },
    "category": {
      "enum": [
        "Real estate",
        "Private credit",
        "Treasury",
        "Commodities",
        "Other"
      ]
    },
    "country": {
      "enum": [
        "AE",
        "SG",
        "US",
        "HK",
        "GB",
        "Other"
      ]
    },
    "minimumTicketCents": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "maximumTicketCents": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "timeframe": {
      "enum": [
        "now",
        "30d",
        "90d",
        "flexible"
      ]
    },
    "description": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2000
    },
    "status": {
      "enum": [
        "submitted",
        "withdrawn"
      ]
    },
    "version": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "simulation": {
      "const": true
    }
  }
}
AssetRequestInput
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "query",
    "category",
    "country",
    "minimumTicket",
    "maximumTicket",
    "timeframe",
    "description",
    "consent",
    "idempotencyKey"
  ],
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 200
    },
    "category": {
      "enum": [
        "Real estate",
        "Private credit",
        "Treasury",
        "Commodities",
        "Other"
      ]
    },
    "country": {
      "enum": [
        "AE",
        "SG",
        "US",
        "HK",
        "GB",
        "Other"
      ]
    },
    "minimumTicket": {
      "type": "string",
      "description": "Empty for unknown, otherwise positive ungrouped USD decimal; at most two decimal places"
    },
    "maximumTicket": {
      "type": "string",
      "description": "Empty for unknown; positive USD decimal, >= minimum when both supplied"
    },
    "timeframe": {
      "enum": [
        "now",
        "30d",
        "90d",
        "flexible"
      ]
    },
    "description": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2000
    },
    "consent": {
      "const": true
    },
    "idempotencyKey": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{12,90}$"
    }
  }
}
FictionalCommercialProfile
{
  "type": "object",
  "additionalProperties": false,
  "description": "Allowlisted fictional commercial projection, not a registration. No company ID, login, contact, mandate, private preferences or counterparty-history links. Context authorization is required independently of the schema.",
  "required": [
    "name",
    "role",
    "country",
    "city",
    "categories",
    "descriptionKey",
    "fictional",
    "realIdentityVerified",
    "history"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "role": {
      "enum": [
        "seller",
        "buyer"
      ]
    },
    "country": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "descriptionKey": {
      "type": "string"
    },
    "fictional": {
      "const": true
    },
    "realIdentityVerified": {
      "const": false
    },
    "history": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "category",
          "country",
          "principalCents",
          "at",
          "fictional",
          "verified"
        ],
        "properties": {
          "category": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "principalCents": {
            "type": "integer"
          },
          "at": {
            "type": "string"
          },
          "fictional": {
            "const": true
          },
          "verified": {
            "const": false
          }
        }
      }
    }
  }
}
Role
{
  "type": "string",
  "enum": [
    "admin",
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ]
}
ParticipantRole
{
  "type": "string",
  "enum": [
    "holder",
    "buyer",
    "compliance",
    "rails",
    "auditor"
  ]
}
Token
{
  "type": "string",
  "pattern": "^[A-Za-z0-9_-]{43}$",
  "description": "PRIVATE bearer secret; returned only at issuance; never log/package/share in reports"
}
Password
{
  "type": "string",
  "minLength": 14,
  "maxLength": 128,
  "writeOnly": true,
  "description": "Unicode code points; server also rejects simple repetitions and a short obvious-password list"
}
Reference
{
  "type": "string",
  "pattern": "^DEMO-[A-Z0-9-]{1,100}$"
}
Money
{
  "type": "string",
  "maxLength": 64,
  "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]{1,2})?$",
  "description": "Unsigned USD decimal, at most two fractional digits; semantic positive/safe-integer checks apply"
}
Quantity
{
  "type": "string",
  "maxLength": 64,
  "pattern": "^(0|[1-9][0-9]*)(\\.[0-9]{1,6})?$",
  "description": "Unsigned decimal, at most six fractional digits; must match available/frozen case units"
}
Reason
{
  "type": "string",
  "minLength": 1,
  "maxLength": 1000,
  "pattern": "\\S"
}
ControlReason
{
  "type": "string",
  "minLength": 1,
  "maxLength": 1200,
  "pattern": "\\S"
}
User
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "alias": {
      "type": "string"
    },
    "role": {
      "$ref": "#/components/schemas/Role"
    },
    "orgId": {
      "type": "string"
    },
    "orgAlias": {
      "type": "string"
    },
    "active": {
      "type": "boolean"
    }
  }
}
LoginResult
{
  "type": "object",
  "properties": {
    "user": {
      "$ref": "#/components/schemas/User"
    },
    "csrf": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}
InviteInfo
{
  "type": "object",
  "properties": {
    "alias": {
      "type": "string"
    },
    "role": {
      "$ref": "#/components/schemas/Role"
    },
    "kind": {
      "enum": [
        "join",
        "reset"
      ]
    },
    "orgAlias": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}
Preferences
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "inApp",
    "email",
    "push"
  ],
  "properties": {
    "inApp": {
      "type": "boolean"
    },
    "email": {
      "type": "boolean",
      "description": "Stored only; no email sent"
    },
    "push": {
      "type": "boolean",
      "description": "Stored only; no push sent"
    }
  }
}
ProfileInput
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "country",
    "qualified",
    "categories",
    "history",
    "referrals",
    "shareReferences",
    "preferences",
    "consent",
    "expectedVersion"
  ],
  "properties": {
    "country": {
      "enum": [
        "AE",
        "SG",
        "US",
        "BR",
        "HK",
        "GB"
      ]
    },
    "qualified": {
      "type": "boolean"
    },
    "categories": {
      "type": "array",
      "maxItems": 4,
      "items": {
        "enum": [
          "Real estate",
          "Private credit",
          "Treasury",
          "Commodities"
        ]
      }
    },
    "history": {
      "type": "string",
      "maxLength": 1200
    },
    "referrals": {
      "type": "string",
      "maxLength": 1200
    },
    "shareReferences": {
      "type": "boolean"
    },
    "preferences": {
      "$ref": "#/components/schemas/Preferences"
    },
    "consent": {
      "const": true
    },
    "expectedVersion": {
      "type": "integer",
      "minimum": 0
    }
  }
}
Profile
{
  "type": "object",
  "description": "Own private profile, not a counterpart response or global lookup. Reference text is fictional/self-declared. Counterpart references require both contextual authorization and shareReferences opt-in; private preferences/registration are never counterpart fields.",
  "properties": {
    "completed": {
      "type": "boolean"
    },
    "country": {
      "type": "string"
    },
    "qualified": {
      "type": "boolean"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "history": {
      "type": "string"
    },
    "referrals": {
      "type": "string"
    },
    "shareReferences": {
      "type": "boolean"
    },
    "preferences": {
      "$ref": "#/components/schemas/Preferences"
    },
    "consentVersion": {
      "const": "fictional-data-v1"
    },
    "version": {
      "type": "integer"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}
TemplateId
{
  "enum": [
    "ae-property",
    "ae-credit",
    "sg-treasury",
    "ae-gold"
  ]
}
Template
{
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/TemplateId"
    },
    "asset": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "country": {
      "enum": [
        "AE",
        "SG"
      ]
    },
    "city": {
      "type": "string"
    },
    "buyers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "image": {
      "type": "string"
    }
  }
}
CaseInput
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "title",
    "template",
    "members"
  ],
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "pattern": "\\S"
    },
    "template": {
      "$ref": "#/components/schemas/TemplateId"
    },
    "members": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "properties": {
        "holder": {
          "type": "string"
        },
        "buyer": {
          "type": "string"
        },
        "compliance": {
          "type": "string"
        },
        "rails": {
          "type": "string"
        },
        "auditor": {
          "type": "string"
        }
      }
    },
    "offerId": {
      "type": "string",
      "pattern": "^DEMO-OFFER-[0-9]{3}$",
      "description": "Optional fictional offer source. Must match template; context is server-owned. No participant commands are auto-created."
    }
  }
}
Projection
{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object"
    },
    "state": {
      "type": "object",
      "description": "SIMULATED filtered projection, not the full stored snapshot. Context gates apply to nested seller/buyer data and buyer mandate/review; feedback is filtered by role and fingerprints removed. Seller sees buyer commercial context only after successful buyer proposal. Integer unit strings, USD cents; not a public asset ledger or independently verifiable full-chain dump."
    },
    "participants": {
      "type": "array",
      "description": "Viewer/context-filtered. Own and internal admin rows are distinct from limited counterpart commercial projections. Before the buyer's successful proposal no buyer profile is sent to the seller. A counterpart row has no login alias, activation/completion flags, credentials, contact or private preferences; references additionally require shareReferences opt-in.",
      "items": {
        "type": "object"
      }
    },
    "globalPaused": {
      "type": "boolean"
    },
    "serverTime": {
      "type": "string",
      "format": "date-time"
    },
    "replayed": {
      "const": true
    }
  }
}
Audit
{
  "type": "object",
  "description": "Filtered projection of stored append-only audit; full internal chain verification requires the administrator record. Non-admin feedback/actor filtering means response hashes do not independently verify the complete original chain. Stored snapshot/hash/audit remain unchanged; no external certification or anchor.",
  "properties": {
    "simulation": {
      "const": true
    },
    "caseId": {
      "type": "string"
    },
    "integrity": {
      "type": "string"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "case_id": {
            "type": "string"
          },
          "sequence": {
            "type": "integer"
          },
          "at": {
            "type": "string"
          },
          "actor_id": {
            "type": "string",
            "description": "May be a role label replacing another actor's internal ID for a non-admin viewer; not a company-profile lookup key"
          },
          "role": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "state_hash": {
            "type": "string"
          },
          "previous_hash": {
            "type": "string"
          },
          "event_hash": {
            "type": "string"
          }
        }
      }
    }
  }
}
Command
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "action",
    "payload",
    "expectedRevision",
    "expectedDealVersion",
    "idempotencyKey"
  ],
  "properties": {
    "action": {
      "type": "string"
    },
    "payload": {
      "type": "object"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0
    },
    "expectedDealVersion": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "idempotencyKey": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{12,90}$"
    }
  },
  "oneOf": [
    {
      "properties": {
        "action": {
          "const": "offer"
        },
        "payload": {
          "$ref": "#/components/schemas/Offer"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "mandate"
        },
        "payload": {
          "$ref": "#/components/schemas/Mandate"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "verify"
        },
        "payload": {
          "$ref": "#/components/schemas/Verify"
        }
      }
    },
    {
      "properties": {
        "action": {
          "enum": [
            "publish",
            "expire"
          ]
        },
        "payload": {
          "$ref": "#/components/schemas/Empty"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "propose"
        },
        "payload": {
          "$ref": "#/components/schemas/Propose"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "accept"
        },
        "payload": {
          "$ref": "#/components/schemas/Accept"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "instructions"
        },
        "payload": {
          "$ref": "#/components/schemas/Instructions"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "sign"
        },
        "payload": {
          "$ref": "#/components/schemas/Sign"
        }
      }
    },
    {
      "properties": {
        "action": {
          "enum": [
            "begin",
            "reconcile"
          ]
        },
        "payload": {
          "$ref": "#/components/schemas/ReferenceOnly"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "cash"
        },
        "payload": {
          "$ref": "#/components/schemas/Cash"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "delivery"
        },
        "payload": {
          "$ref": "#/components/schemas/Delivery"
        }
      }
    },
    {
      "properties": {
        "action": {
          "enum": [
            "cancel",
            "reject",
            "issue"
          ]
        },
        "payload": {
          "$ref": "#/components/schemas/ReasonOnly"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "resolve"
        },
        "payload": {
          "$ref": "#/components/schemas/Resolve"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "closeAgreement"
        },
        "payload": {
          "$ref": "#/components/schemas/CloseAgreement"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "message"
        },
        "payload": {
          "$ref": "#/components/schemas/Message"
        }
      }
    },
    {
      "properties": {
        "action": {
          "const": "feedback"
        },
        "payload": {
          "$ref": "#/components/schemas/Feedback"
        }
      }
    }
  ]
}
Empty
{
  "type": "object",
  "additionalProperties": false
}
Offer
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "quantity",
    "price",
    "acknowledged"
  ],
  "properties": {
    "quantity": {
      "$ref": "#/components/schemas/Quantity"
    },
    "price": {
      "$ref": "#/components/schemas/Money"
    },
    "agent": {
      "type": "boolean"
    },
    "thirdParty": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/Money"
        },
        {
          "const": ""
        }
      ]
    },
    "acknowledged": {
      "const": true
    }
  }
}
Mandate
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "country",
    "qualified",
    "min",
    "max"
  ],
  "properties": {
    "country": {
      "enum": [
        "AE",
        "SG",
        "US",
        "BR",
        "HK",
        "GB"
      ]
    },
    "qualified": {
      "type": "boolean"
    },
    "min": {
      "$ref": "#/components/schemas/Money"
    },
    "max": {
      "$ref": "#/components/schemas/Money"
    }
  }
}
Verify
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "ownership",
    "transfer",
    "issuer",
    "jurisdiction",
    "unencumbered",
    "gateway",
    "documents",
    "buyerReview",
    "reference"
  ],
  "properties": {
    "ownership": {
      "const": true
    },
    "transfer": {
      "const": true
    },
    "issuer": {
      "const": true
    },
    "jurisdiction": {
      "const": true
    },
    "unencumbered": {
      "const": true
    },
    "gateway": {
      "const": true
    },
    "documents": {
      "const": true
    },
    "buyerReview": {
      "const": true
    },
    "reference": {
      "$ref": "#/components/schemas/Reference"
    }
  }
}
Propose
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "price"
  ],
  "properties": {
    "price": {
      "$ref": "#/components/schemas/Money"
    }
  }
}
Accept
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "proposalVersion",
    "acknowledged"
  ],
  "properties": {
    "proposalVersion": {
      "type": "integer",
      "minimum": 1
    },
    "acknowledged": {
      "const": true
    }
  }
}
Instructions
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "destination",
    "beneficiary",
    "controlRef",
    "gatewayRef",
    "reference"
  ],
  "properties": {
    "destination": {
      "$ref": "#/components/schemas/Reference"
    },
    "beneficiary": {
      "$ref": "#/components/schemas/Reference"
    },
    "controlRef": {
      "$ref": "#/components/schemas/Reference"
    },
    "gatewayRef": {
      "$ref": "#/components/schemas/Reference"
    },
    "reference": {
      "$ref": "#/components/schemas/Reference"
    }
  }
}
Sign
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "proposalVersion",
    "acknowledged",
    "reference"
  ],
  "properties": {
    "proposalVersion": {
      "type": "integer",
      "minimum": 1
    },
    "acknowledged": {
      "const": true
    },
    "reference": {
      "$ref": "#/components/schemas/Reference"
    }
  }
}
ReferenceOnly
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reference"
  ],
  "properties": {
    "reference": {
      "$ref": "#/components/schemas/Reference"
    }
  }
}
Cash
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reference",
    "amount",
    "beneficiary",
    "currency"
  ],
  "properties": {
    "reference": {
      "$ref": "#/components/schemas/Reference"
    },
    "amount": {
      "$ref": "#/components/schemas/Money"
    },
    "beneficiary": {
      "type": "string",
      "description": "Exact frozen beneficiary"
    },
    "currency": {
      "const": "USD"
    }
  }
}
Delivery
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reference",
    "quantity",
    "network",
    "tokenRef",
    "destination",
    "sourceAccount"
  ],
  "properties": {
    "reference": {
      "$ref": "#/components/schemas/Reference"
    },
    "quantity": {
      "$ref": "#/components/schemas/Quantity"
    },
    "network": {
      "type": "string"
    },
    "tokenRef": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "sourceAccount": {
      "type": "string"
    }
  },
  "description": "All delivery values must equal the frozen simulated settlement"
}
ReasonOnly
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reason"
  ],
  "properties": {
    "reason": {
      "$ref": "#/components/schemas/Reason"
    }
  }
}
Resolve
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reason",
    "reference"
  ],
  "properties": {
    "reason": {
      "$ref": "#/components/schemas/Reason"
    },
    "reference": {
      "$ref": "#/components/schemas/Reference"
    }
  }
}
CloseAgreement
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reference",
    "holderReleaseRef",
    "buyerReleaseRef",
    "providerClosureRef",
    "reason",
    "noMovement"
  ],
  "properties": {
    "reference": {
      "$ref": "#/components/schemas/Reference"
    },
    "holderReleaseRef": {
      "$ref": "#/components/schemas/Reference"
    },
    "buyerReleaseRef": {
      "$ref": "#/components/schemas/Reference"
    },
    "providerClosureRef": {
      "$ref": "#/components/schemas/Reference"
    },
    "reason": {
      "$ref": "#/components/schemas/Reason"
    },
    "noMovement": {
      "const": true
    }
  }
}
Message
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "body"
  ],
  "properties": {
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1200,
      "pattern": "\\S"
    }
  }
}
Feedback
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "score",
    "body"
  ],
  "properties": {
    "score": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    },
    "body": {
      "type": "string",
      "maxLength": 1200
    }
  }
}

Separate production candidate OpenAPI

Permissions

Resourceadminholderbuyercompliancerailsauditor
GET /api/discovery-tools200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.
POST /api/discovery-tools200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.
GET /api/asset-requests200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.
POST /api/asset-requests201 own brief only, not on behalf of another owner.201 own brief only.201 own brief only.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/asset-requests/{requestId}200 any owner's brief as internal administrator; limited sourcing scope.200 own brief only; foreign/missing id ->404.200 own brief only; foreign/missing id ->404.200 own brief only; foreign/missing id ->404.200 own brief only; foreign/missing id ->404.200 own brief only; foreign/missing id ->404.
POST /api/asset-requests/{requestId}/withdraw200 any owner's brief; expectedVersion; internal administrator access applies. submitted0 -> withdrawn1; paused blocks fresh withdrawal; already-withdrawn matching-version read remains possible.200 own brief only, expectedVersion; foreign/missing id ->404. Does not grant creation rights. submitted0 -> withdrawn1; paused blocks fresh withdrawal; already-withdrawn matching-version read remains possible.200 own brief only, expectedVersion; foreign/missing id ->404. Does not grant creation rights. submitted0 -> withdrawn1; paused blocks fresh withdrawal; already-withdrawn matching-version read remains possible.200 own brief only, expectedVersion; foreign/missing id ->404. Does not grant creation rights. submitted0 -> withdrawn1; paused blocks fresh withdrawal; already-withdrawn matching-version read remains possible.200 own brief only, expectedVersion; foreign/missing id ->404. Does not grant creation rights. submitted0 -> withdrawn1; paused blocks fresh withdrawal; already-withdrawn matching-version read remains possible.200 own brief only, expectedVersion; foreign/missing id ->404. Does not grant creation rights. submitted0 -> withdrawn1; paused blocks fresh withdrawal; already-withdrawn matching-version read remains possible.
GET /api/admin/asset-requests200 internal queue of all requests with ownerId; sourcing only, no discovery/rehearsal override.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/rehearsals200 own individual sessions only; no administrator override or cross-owner facilitator collection.200 own individual sessions only; no administrator override or cross-owner facilitator collection.200 own individual sessions only; no administrator override or cross-owner facilitator collection.200 own individual sessions only; no administrator override or cross-owner facilitator collection.200 own individual sessions only; no administrator override or cross-owner facilitator collection.200 own individual sessions only; no administrator override or cross-owner facilitator collection.
POST /api/rehearsals201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.
GET /api/rehearsals/{rehearsalId}200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.
POST /api/rehearsals/{rehearsalId}/commands200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.
POST /api/rehearsals/{rehearsalId}/feedback200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.
GET /api/rehearsals/{rehearsalId}/export200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.
GET /api/healthPublic after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.
POST /api/auth/loginPublic exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.
POST /api/auth/invitePublic exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.
POST /api/auth/acceptPublic exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.
GET /api/auth/sessionPublic/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.
POST /api/auth/logoutCurrent session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.
POST /api/auth/passwordCurrent session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.
GET /api/profileOwn profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.
POST /api/profileOwn full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.
GET /api/templatesAuthenticated; 200 templates array of four synthetic template families.Authenticated; 200 templates array of four synthetic template families.Authenticated; 200 templates array of four synthetic template families.Authenticated; 200 templates array of four synthetic template families.Authenticated; 200 templates array of four synthetic template families.Authenticated; 200 templates array of four synthetic template families.
GET /api/cases200 all cases as internal admin.200 explicit case memberships only; organization affiliation is insufficient.200 explicit case memberships only; organization affiliation is insufficient.200 explicit case memberships only; organization affiliation is insufficient.200 explicit case memberships only; organization affiliation is insufficient.200 explicit case memberships only; organization affiliation is insufficient.
POST /api/cases201 create {title,template,members:{holder,buyer,compliance,rails,auditor},offerId?}; five active distinct matching-role accounts; server snapshots catalog terms.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/cases/{caseId}200 all cases as internal admin.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.
POST /api/cases/{caseId}/commandsDenied 403: administrator cannot execute participant commands.200 assigned matching fixed role, completed own profile and action-specific authority only; five active members; expectedRevision/expectedDealVersion, exact allowlist and idempotency key required. Fresh writes blocked by pause/archive.200 assigned matching fixed role, completed own profile and action-specific authority only; five active members; expectedRevision/expectedDealVersion, exact allowlist and idempotency key required. Fresh writes blocked by pause/archive.200 assigned matching fixed role, completed own profile and action-specific authority only; five active members; expectedRevision/expectedDealVersion, exact allowlist and idempotency key required. Fresh writes blocked by pause/archive.200 assigned matching fixed role, completed own profile and action-specific authority only; five active members; expectedRevision/expectedDealVersion, exact allowlist and idempotency key required. Fresh writes blocked by pause/archive.200 assigned matching fixed role, completed own profile and action-specific authority only; five active members; expectedRevision/expectedDealVersion, exact allowlist and idempotency key required. Fresh writes blocked by pause/archive.
POST /api/cases/{caseId}/control200 internal {paused?,archived?,reason}; reversible flags; audit without workflow revision increment.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/cases/{caseId}/audit200 full internal audit after integrity verification.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Own-role feedback events only; other actors may be relabeled; not a reconstructable full chain.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Own-role feedback events only; other actors may be relabeled; not a reconstructable full chain.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Own-role feedback events only; other actors may be relabeled; not a reconstructable full chain.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Own-role feedback events only; other actors may be relabeled; not a reconstructable full chain.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Own-role feedback events only; other actors may be relabeled; not a reconstructable full chain.
GET /api/cases/{caseId}/export200 full internal filtered report; records security export event.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Contextual counterpart/reference and own-role feedback filters also apply to nested report/audit; records security export event.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Contextual counterpart/reference and own-role feedback filters also apply to nested report/audit; records security export event.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Contextual counterpart/reference and own-role feedback filters also apply to nested report/audit; records security export event.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Contextual counterpart/reference and own-role feedback filters also apply to nested report/audit; records security export event.Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection. Contextual counterpart/reference and own-role feedback filters also apply to nested report/audit; records security export event.
GET /api/notifications200 own newest100 in-app rows only; no admin override or email/push transport.200 own newest100 in-app rows only; no admin override or email/push transport.200 own newest100 in-app rows only; no admin override or email/push transport.200 own newest100 in-app rows only; no admin override or email/push transport.200 own newest100 in-app rows only; no admin override or email/push transport.200 own newest100 in-app rows only; no admin override or email/push transport.
POST /api/notifications/{id}/read200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).
GET /api/admin/users200 internal account fields and profileComplete; never password_hash. Not a participant directory.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
POST /api/admin/users/{id}/control200 {active:boolean} for non-admin target; cannot target self/admin. Disable revokes sessions/resets and pauses cases; enable does not resume.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
POST /api/admin/users/{id}/reset201 private reset invite for active non-admin, body {}; expires24h; issuance alone does not revoke existing sessions.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/admin/invites200 invitation metadata only, no raw token recovery.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
POST /api/admin/invites201 {alias,role,orgAlias}; five participant roles only; fictional DEMO organization; raw token and private fragment URL returned once.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
POST /api/admin/invites/{id}/revoke200 revoke invitation, exact empty body {}; does not delete audit history.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
POST /api/admin/control200 {paused:boolean,reason}; global financial pause, not full maintenance lock. Discovery metadata stays writable.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/admin/metrics200 shared simulated counts/illustrativeVolumeCents; realRevenueCents:0; individual rehearsals excluded.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/admin/security200 newest200 internal security events only.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
POST /api/admin/backup201 body {}; private server-side SQLite snapshot; return {name,bytes,sha256}, no DB download. Limit3/user/hour.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/admin/fixtures200 minimal fictional selector {companies:[{id,name,role,country}]}; not a participant directory.Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).Denied (403 for administrator routes; no role bypass).
GET /api/catalogAuthenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.
GET /api/catalog/offers/{offerId}/example200 limited fictional seller; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.200 limited fictional seller; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.
POST /api/cases/{caseId}/commands action=offerDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: quantity,price,agent,thirdParty,acknowledged; one request; DEMO synthetic position, available quantity, consent; quantity<=6 decimals, money<=2.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=mandateDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: country,qualified,min,max; accepted countries AE/SG/US/BR/HK/GB in actual kernel; before buyer bound; min<=max,max>0; replacing clears review.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=verifyDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: ownership,transfer,issuer,jurisdiction,unencumbered,gateway,documents,buyerReview,reference; all booleans true, eligible qualified mandate; simulated review24h.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=publishDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: empty payload; approved/fresh review.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=proposeDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: price; buyer first binds, holder counter only afterward; fresh eligible reviews and mandate/catalog ticket range.Assigned matching role only; standard command envelope/gates apply. Payload: price; buyer first binds, holder counter only afterward; fresh eligible reviews and mandate/catalog ticket range.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=acceptDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged; bound party, current live quote, consent.Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged; bound party, current live quote, consent.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=instructionsDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: destination,beneficiary,controlRef,gatewayRef,reference; DEMO references; replacement clears acknowledgements.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=signDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged,reference; records simulated consent to exact instructions, not legal electronic signature.Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged,reference; records simulated consent to exact instructions, not legal electronic signature.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=beginDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reference; both current acknowledgements and fresh checks; freezes economics/instructions.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=cashDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reference,amount,beneficiary,currency; exact frozen principal/beneficiary/USD; no existing leg or issue; unique reference.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=deliveryDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reference,quantity,network,tokenRef,destination,sourceAccount; exact frozen values; no existing leg or issue; unique reference.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=reconcileDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reference; both legs/acknowledgements, no issue, actor independent from execution; unique reference.
POST /api/cases/{caseId}/commands action=cancelDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; before agreement only.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=rejectDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; review/approved/listed/negotiating.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=expireDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: empty payload; request deadline reached before agreement; administrator remains forbidden by shared service despite lower-domain support.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=issueDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; existing nonterminal request and no open issue; holder/buyer must satisfy bound-party checks.Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; existing nonterminal request and no open issue; holder/buyer must satisfy bound-party checks.Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; existing nonterminal request and no open issue; holder/buyer must satisfy bound-party checks.Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; existing nonterminal request and no open issue; holder/buyer must satisfy bound-party checks.Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; existing nonterminal request and no open issue; holder/buyer must satisfy bound-party checks.
POST /api/cases/{caseId}/commands action=resolveDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reason,reference; existing issue; resolver account differs from issue creator.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reason,reference; existing issue; resolver account differs from issue creator.
POST /api/cases/{caseId}/commands action=closeAgreementDenied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: reference,holderReleaseRef,buyerReleaseRef,providerClosureRef,reason,noMovement:true; agreement with no issue; DEMO-only no-movement closure.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=messageDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: body nonempty<=1200; listed/negotiating/agreement/settlement; eligible buyer; readable by all assigned members/admin.Assigned matching role only; standard command envelope/gates apply. Payload: body nonempty<=1200; listed/negotiating/agreement/settlement; eligible buyer; readable by all assigned members/admin.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.Denied 403 for this action; no participant impersonation.
POST /api/cases/{caseId}/commands action=feedbackDenied 403 for this action; no participant impersonation.Assigned matching role only; standard command envelope/gates apply. Payload: score integer1..5,body string<=1200; append-only submissions, no deal-stage gate; response filtered by role.Assigned matching role only; standard command envelope/gates apply. Payload: score integer1..5,body string<=1200; append-only submissions, no deal-stage gate; response filtered by role.Assigned matching role only; standard command envelope/gates apply. Payload: score integer1..5,body string<=1200; append-only submissions, no deal-stage gate; response filtered by role.Assigned matching role only; standard command envelope/gates apply. Payload: score integer1..5,body string<=1200; append-only submissions, no deal-stage gate; response filtered by role.Assigned matching role only; standard command envelope/gates apply. Payload: score integer1..5,body string<=1200; append-only submissions, no deal-stage gate; response filtered by role.
Contextual seller/buyer commercial disclosure and reference sharingInternal assigned-case/account-management access; not an override for another owner's discovery or rehearsal.Own seller; counterpart buyer only after buyer binding AND a successful buyer propose in this case; reference text additionally requires counterpart shareReferences=true.Own buyer; counterpart seller after publication in assigned case, or limited seller in offer factsheet; references additionally require opt-in.Assigned-case operational seller/buyer commercial reads; never a participant directory.Assigned-case operational seller/buyer commercial reads; never a participant directory.Assigned-case operational seller/buyer commercial reads; never a participant directory.
Private credentials, counterpart registration/contact/preferences and owner-only metadataNo password/token disclosure in account listings; disk/backup operator remains privileged; API cannot read another owner's discovery/rehearsal.No counterpart credentials/login alias/contact/KYC/private preferences; own session/profile only.No counterpart credentials/login alias/contact/KYC/private preferences; own session/profile only.No credentials/private registration disclosure by operational case access.No credentials/private registration disclosure by operational case access.No credentials/private registration disclosure by operational case access.

Integrations and boundaries

SQLite / Node runtime

Implemented source: built-in node:sqlite DatabaseSync and backup; STRICT schema1, foreign keys, WAL, synchronous FULL, busy_timeout5000ms; one local persistent data directory. No server npm dependencies.

Provide and validate Node24.19.0+ within major24 and persistent writable private disk; define capacity and schema migration/upgrade strategy. No multi-node database integration exists.

HTTPS reverse proxy and hosting

Application serves HTTP and enforces configured Host/Origin/proxy headers. HTTPS origin adds Secure cookie/HSTS but does not terminate TLS. Package states NOT PUBLISHED, no provider/domain selected.

Select and verify persistent Node hosting, dedicated HTTPS origin, TLS renewal, exact trusted peers, private upstream network, supervision/firewall/disk monitoring. Hosting and Docker recipes are unverified; no live deployment is asserted.

Local account authentication

Cookie sessions, salted scrypt, invitation/reset flow and privileged bootstrap/recover-admin CLI exist. No OAuth/OIDC, SSO, MFA/passkeys, breach-password feed or real KYC provider.

TBD authentication assurance and identity-provider requirements before production; evaluate additional factors and operator access controls without claiming implementation.

Fictional catalog and deterministic search

Catalog has24 fictional offers/40 fictional companies internally; participant catalog returns offers only. Search/suggestions run deterministic local logic, not a live LLM or market-data service.

TBD provenance, licensed asset/market data, freshness and provider failure behavior if real catalog integration is ever approved; preserve contextual privacy.

Simulated asset sourcing intake

Owner/admin private briefs and withdrawal persist locally; suggestions are fictional alternatives. No sourcing agent, live LLM, seller contact, external outreach, financial order or funds commitment.

TBD approved sourcing-provider, human triage, consent, response/status, audit and service expectations; do not treat saved briefs as market demand.

Optional browser Web Speech

Explicit microphone opt-in uses browser SpeechRecognition/webkitSpeechRecognition with text fallback. No server audio-upload route or application audio storage; browser provider may process audio remotely. Device/provider coverage unverified.

Validate actual supported browsers/devices, notice/permission/stop/error flows and provider privacy/retention; keep text input usable. Remote provider retention is outside the application's control.

In-app notifications / email / push

SQLite in-app rows and own newest100/read endpoints are implemented; email/push are stored profile booleans only. No email, push subscription, SMS or delivery queue integration.

TBD approved channel providers, verification, opt-in/unsubscribe, retries, delivery tracking and retention if out-of-app communication is required.

Cash / banking / payment rails

Rails member manually records DEMO cash evidence matching frozen USD principal and beneficiary. No bank transaction, payment initiation, custody or independent statement validation occurs.

TBD licensed/approved execution provider, authentication, callbacks, reconciliation, failure/dispute controls and legal responsibilities; no live financial integration is implemented.

Asset delivery / blockchain / custody

Rails manually records DEMO delivery matching quantity,network,token,destination,sourceAccount. No blockchain RPC, wallet, private key, minting, issuance, redemption or real transfer endpoint.

TBD approved transfer/custody provider and finality, authorization, evidence and exception model before any real delivery; keep secrets outside source and participant projections.

Eligibility / KYC / legal and ownership checks

Profile qualifications/references are self-declared; compliance uses fictional boolean checks and24h reviews. No real KYC/KYB/AML, sanctions, accreditation, ownership or legal verification provider.

TBD qualified legal/compliance requirements, consent and approved verification providers before real onboarding/assets. Pilot must not collect real identity documents.

Agreement acknowledgement / e-signature

sign records simulated consent to a proposal and exact instruction version; no identity-backed legal electronic-signature integration.

TBD enforceable document, signer identity, consent, timestamp and signature/evidence provider requirements; do not represent pilot acknowledgements as legal execution.

Fees / invoicing / accounting

Integer-cent USD illustrations apply seller-paid1.2% GlemO and optional1% agent, with unknown tax/third-party costs. No invoice is issued or fee collected; realRevenueCents remains0.

TBD billing/tax/accounting integration and reconciliation rules; separate simulated illustrative economics from actual invoiced/collected revenue.

Backup / offline recovery

Built-in SQLite backup API produces private local snapshot with integrity_check/size/SHA256; privileged CLI validates and stages restore, revoking sessions/unused invites. No scheduled/offsite/encrypted/rotated backup service.

TBD backup cadence, retention, protected offsite storage, encryption/key management, RPO/RTO and restore drills under an assigned operator.

Observability / process supervision / updates

Health is liveness with instanceId; requestId/error codes and SQLite security audit exist. UI polls every7s and warns of new case revisions. No SSE, WebSocket, alerting, distributed tracing or HA service is implemented in the inspected app.

TBD external supervision, readiness/disk/backup metrics, private log handling, alerts and response ownership; define update freshness and availability targets before production.

Errors

CodeHTTPConditionRecovery
invalid400JSON body cannot be parsed; distinct from semantic validation.Correct JSON serialization and resubmit the intended request.
invalid422Wrong object/type, missing required semantic fields, unknown allowlist fields, enum/length errors, invalid action or domain invariant; endpoint-specific checks determine precedence.Review the current form and allowed payload; preserve input and correct indicated values before retry.
credentials401Invalid credentials/current password, inactive account, or account credentials changed while hashing; login does not disclose which check failed.Enter correct credentials; use an administrator-issued private reset if needed.
sessionExpired401Authenticated API requested without a valid active session: missing/invalid/duplicate cookie, idle30m/absolute12h expiry or revoked session.Sign in again; cleared account state must not show the previous user's private data.
inviteInvalid404Malformed, missing, expired24h, used or revoked invite, or unavailable reset target.Request a new private invitation/reset link from the administrator; do not expose the token.
forbidden403Session role/action or administrator authority denied; includes administrator attempting shared participant execution and client role spoofing.Use the correctly assigned account and permitted action; do not retry by changing owner/role fields.
origin403Host/origin mismatch, invalid request origin, POST Origin mismatch or conflicting Sec-Fetch-Site.Open the exact configured app origin; operator verifies proxy Host and PUBLIC_ORIGIN.
httpsRequired403HTTPS public origin without explicit trustProxy, exact trusted socket peer or X-Forwarded-Proto:https.Operator corrects trusted proxy/TLS forwarding; do not bypass transport checks.
csrf403Authenticated POST lacks the current valid43-character base64url X-CSRF-Token.Refresh the session/token in the same browser profile and retry the intended write.
method405Method other than GET/POST/HEAD rejected before routing. HEAD is static-only; authenticated API HEAD generally falls through to404, not405.Use the documented GET or POST operation; no PUT/PATCH/DELETE/OPTIONS or CORS preflight API.
missing404Absent/inaccessible case or private owner resource, unknown API/static path/offer or unavailable admin target. Earlier authentication/role/transport validation can take precedence.Return to the authorized list or ask the administrator about assignment; do not infer that the guessed resource exists.
contentType415POST body content type is not application/json, with optional parameters allowed.Send JSON with Content-Type:application/json.
tooLarge413POST body exceeds32768 bytes, measured by received chunk bytes.Shorten input; no document/audio upload is supported by this contract.
invalidAlias422Creation alias fails lowercase [a-z0-9][a-z0-9._-]{2,39}.Choose a3..40-character valid lowercase alias.
passwordPolicy422Password is not14..128 Unicode code points or matches rejected repetition/basic known values.Choose a unique compliant password; no MFA/SSO or breach-password verification is implied.
consentRequired422Required fictional-data consent or action acknowledgement/confirmation is not true.Review the simulation terms or current action and explicitly acknowledge before submission.
aliasUnavailable409Join alias already exists or has a live pending unused/unrevoked join invite.Administrator selects another alias or reviews/revokes the pending invite.
bootstrapClosed409Bootstrap attempted after any user exists; also checked during acceptance of an administrator join invite. CLI failures have no HTTP response.Use existing administrator login or privileged local recover-admin procedure; do not recreate accounts.
profilePending422Own profile is not completed before a shared-case command, including replay access checks.Complete the fictional profile with consent, then reload the case.
memberUnavailable422Case creation cannot resolve all five active users matching their required fixed roles.Administrator assigns five active distinct matching-role accounts.
memberUnavailable423A current case member is inactive when applying a new participant command.Administrator reviews member status and case pause; re-enabling alone does not resume the case.
conflict409Stale expected revision/deal/profile/discovery/request version, changed duplicate idempotency payload or owner, concurrent credential change. Discovery has CAS without idempotent replay.Reload current data and review changes. Retry an uncertain committed command only with its exact original body/key; a new decision uses fresh versions/key.
paused423Global/case pause blocks fresh shared commands; global pause also blocks new rehearsal/sourcing writes. Discovery metadata, reads and valid stored replays remain available.Keep current data and ask the administrator to review/resume the applicable controls.
archived423Case archive flag blocks fresh participant commands; exact prior replay can still return its current projection.Use read/export or ask the administrator to review the reversible archive flag.
rateLimited429Persistent fixed-window quota exceeded, or four concurrent scrypt jobs are already running.Wait for the relevant window/capacity; no Retry-After header is promised; proxy users share socket-IP limits.
requestLimit429Owner already has50 sourcing requests, including withdrawn records; exact prior-key replay is checked first.Review existing requests; withdrawal does not free quota. No quota-clear/delete UI exists.
rehearsalLimit429Owner has50 rehearsals or session already has200 command entries; exact command replay is checked first.Review/export existing sessions; abandonment does not erase evidence or provide a quota reset.
invalidNumber422Invalid decimal string/positive-safe-cent amount, malformed grouping/sign/exponent/whitespace, unsafe integer or non-string shared numeric input.Use plain decimal strings with explicit decimal meaning; USD only; blank sourcing ticket is unspecified, zero is not a positive ticket.
precision422Decimal has more fractional digits than allowed: shared units6, money2.Reduce precision explicitly; do not silently truncate entered financial values.
quantityError422Nonpositive quantity/price, quantity exceeds available/reservable holdings, or reconciliation exceeds holdings.Review displayed available synthetic units and enter a positive permitted amount.
ticketRange422Mandate min/max invalid or principal outside mandate/catalog ticket limits; sourcing min exceeds max.Review the offer's server-owned limits and min/max; correct quantity/price or brief ticket values.
notTransferable422Domain position transferability policy forbids resale; a domain-defined guard, not verification of real legal permissions.Select a supported transferable fictional position; do not bypass policy.
locked422Domain position is still within lockedUntil.Inspect the displayed lock date and use a permitted fictional position or wait.
transition422Action is not allowed in the current stage or repeats a single-use evidence/acceptance action.Reload current status and choose an available action; do not force a stage change.
buyerIneligible422Missing/stale review, unqualified/country-ineligible mandate, wrong bound buyer or failed synthetic buyer gate.Review mandate and permitted countries, obtain simulated compliance review; in individual mode use the provided correction step.
checklistRequired422All required simulated ownership/transfer/issuer/jurisdiction/unencumbered/gateway/document checks are not true; individual scripted document gate can produce same code.Compliance reviews every required fictional check; individual owner uses restore_documents when offered.
staleProof422Review expired24h, source revision changed, position policy blocked or reserved amount invalidates the recorded review.Reload and request a fresh simulated compliance review against current source data.
quoteExpired409Shared acceptance has an expired/mismatched proposal version; service remaps this domain error to409. Individual expected quote blocks instead use HTTP200 commandError.Reload the current proposal and obtain a new quote/review/consent; individual mode can offer renew_quote.
offerWindowClosed409Absolute commercial deadline reached/invalid: new case/rehearsal and new offer/publish/propose/accept are blocked. Earlier agreements preserve agreed terms.Choose another valid fictional offer; do not reset the countdown. Review supported continuation/closure for prior agreements.
expiredError422Resale request expiresAt reached during actions that call live(); expiry does not automatically write an expired status.Inspect supported expiry/closure actions; after the request lifetime start a fresh fictional rehearsal rather than editing expiry.
notExpired422Manual expire attempted before request expiresAt.Wait until request expiry or choose a currently permitted pre-agreement action.
issueOpen422A blocking issue prevents the requested live/settlement/reconciliation/closure action.Independent compliance/auditor reviews and resolves the issue; resolving does not itself settle.
independence422Five-account separation, execution-versus-reconciliation separation or issue creator-versus-resolver separation fails.Use the separately assigned authorized reviewer/auditor account.
demoReference422Kernel reference fails ^DEMO-[A-Z0-9-]{1,100}$, including instructions/closure references.Enter only an allowed fictional DEMO reference; never real account/payment identifiers.
proofRequired422Lower domain requires a nonempty proof/reference or instruction value; shared kernel often rejects malformed references earlier as demoReference.Fill the required fictional reference/instruction from current displayed values.
proofReused422Normalized cash, delivery or reconciliation reference was already used within the domain case.Use a distinct fictional evidence reference after inspecting existing legs; do not duplicate a financial action.
instructionsRequired422Party tries simulated sign without current instructions.Rails records current instructions, then each party reviews and acknowledges them.
signaturesRequired422Begin settlement lacks current instructions or one/both simulated acknowledgements.Obtain both acknowledgements of the latest instructions; changed instructions invalidate earlier records.
cashMismatch422Recorded cash amount, beneficiary or currency differs from frozen principal, beneficiary or USD.Inspect frozen terms and correct unsaved evidence; recorded legs have no correction API.
deliveryMismatch422Recorded quantity/network/token/destination/source account differs from frozen instructions.Use exact displayed frozen delivery values; escalate already-recorded problems through supported issue handling.
bothLegsRequired422Reconciliation lacks cash, delivery or both party acknowledgement records.Wait for valid cash/delivery evidence and required acknowledgements; never fabricate completion.
closureRequired422Agreement closure lacks noMovement:true or required mutual-release/provider-closure references.Compliance reviews no-movement closure and all required DEMO references; not a refund/unwind.
reasonRequired422Required reason is empty/non-string or longer than1000 characters.Enter a concise fictional reason within the limit.
messageRequired422Case message body is empty/non-string or exceeds1200 characters.Enter a shorter fictional commercial message; all assigned roles/admin can read it.
corrupt503Persisted case/rehearsal/sourcing/discovery hash, JSON, ownership binding or logical invariants fail validation; reads/commands fail closed.Stop participation, preserve private evidence and have the operator investigate/restore a validated backup; do not patch hashes.
auditIntegrity503Case audit sequence/previous/event hashes or final snapshot hash/revision linkage fails.Stop case interaction and refer requestId to the operator for private investigation/recovery.
schemaMismatchStore-open exception carries status500 when settings.schema is not1; normally aborts startup before an HTTP server exists.Operator checks source/runtime compatibility and supported backup recovery; no automatic migration is promised.
backupFailed500SQLite snapshot copy fails PRAGMA integrity_check; API path emits500, CLI only reports local failure.Operator preserves diagnostics and verifies disk/permissions; never treat a failed snapshot as a usable backup.
serverError500Unrecognized server exception, including database errors whose code fails the public alphabetic allowlist; response reveals only code/requestId.Keep requestId, check whether the intended write committed, then reload or retry with exact original idempotency envelope where supported.
networkErrorBrowser fetch/timeout/JSON transport failure is mapped locally to networkError; no HTTP status is guaranteed. API abort timer15s.Check connection and reload current data; uncertain command completion requires exact original body/key replay, not a new blind command.
instructionsChangedLower domain defines a begin-instructions mismatch guard; shared begin payload allowlist accepts only reference, so extra instruction fields are normally rejected earlier as invalid422.Refresh frozen instructions and acknowledgements; do not send unallowed begin fields.
buyerBusyLower domain defines this code for another buyer; preceding bound-buyer eligibility normally produces buyerIneligible in this shared flow. No separately guaranteed HTTP code.Use the assigned bound buyer and inspect current case; do not replace the counterparty.
storageLower local-storage adapters define storage failures; these adapters are not the shared SQLite HTTP API.Use shared server persistence; for standalone adapters inspect browser storage availability without overwriting evidence.
concurrencyLower browser storage adapter requires Web Locks and rejects when unavailable; not a shared API response or multi-node guarantee.Use the shared server UI or a browser with the required standalone-adapter capability.
transition200Individual rehearsal commands only: an expected process block returns commandError:'transition' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Action is not allowed in the current stage or repeats a single-use evidence/acceptance action.Reload current status and choose an available action; do not force a stage change.
consentRequired200Individual rehearsal commands only: an expected process block returns commandError:'consentRequired' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Required fictional-data consent or action acknowledgement/confirmation is not true.Review the simulation terms or current action and explicitly acknowledge before submission.
invalidNumber200Individual rehearsal commands only: an expected process block returns commandError:'invalidNumber' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Invalid decimal string/positive-safe-cent amount, malformed grouping/sign/exponent/whitespace, unsafe integer or non-string shared numeric input.Use plain decimal strings with explicit decimal meaning; USD only; blank sourcing ticket is unspecified, zero is not a positive ticket.
precision200Individual rehearsal commands only: an expected process block returns commandError:'precision' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Decimal has more fractional digits than allowed: shared units6, money2.Reduce precision explicitly; do not silently truncate entered financial values.
quantityError200Individual rehearsal commands only: an expected process block returns commandError:'quantityError' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Nonpositive quantity/price, quantity exceeds available/reservable holdings, or reconciliation exceeds holdings.Review displayed available synthetic units and enter a positive permitted amount.
ticketRange200Individual rehearsal commands only: an expected process block returns commandError:'ticketRange' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Mandate min/max invalid or principal outside mandate/catalog ticket limits; sourcing min exceeds max.Review the offer's server-owned limits and min/max; correct quantity/price or brief ticket values.
checklistRequired200Individual rehearsal commands only: an expected process block returns commandError:'checklistRequired' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. All required simulated ownership/transfer/issuer/jurisdiction/unencumbered/gateway/document checks are not true; individual scripted document gate can produce same code.Compliance reviews every required fictional check; individual owner uses restore_documents when offered.
buyerIneligible200Individual rehearsal commands only: an expected process block returns commandError:'buyerIneligible' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Missing/stale review, unqualified/country-ineligible mandate, wrong bound buyer or failed synthetic buyer gate.Review mandate and permitted countries, obtain simulated compliance review; in individual mode use the provided correction step.
quoteExpired200Individual rehearsal commands only: an expected process block returns commandError:'quoteExpired' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Shared acceptance has an expired/mismatched proposal version; service remaps this domain error to409. Individual expected quote blocks instead use HTTP200 commandError.Reload the current proposal and obtain a new quote/review/consent; individual mode can offer renew_quote.
staleProof200Individual rehearsal commands only: an expected process block returns commandError:'staleProof' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Review expired24h, source revision changed, position policy blocked or reserved amount invalidates the recorded review.Reload and request a fresh simulated compliance review against current source data.
expiredError200Individual rehearsal commands only: an expected process block returns commandError:'expiredError' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Resale request expiresAt reached during actions that call live(); expiry does not automatically write an expired status.Inspect supported expiry/closure actions; after the request lifetime start a fresh fictional rehearsal rather than editing expiry.
issueOpen200Individual rehearsal commands only: an expected process block returns commandError:'issueOpen' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. A blocking issue prevents the requested live/settlement/reconciliation/closure action.Independent compliance/auditor reviews and resolves the issue; resolving does not itself settle.
offerWindowClosed200Individual rehearsal commands only: an expected process block returns commandError:'offerWindowClosed' in a successful HTTP envelope. Attempt/revision/retry journal may persist; financial state rolls back. Absolute commercial deadline reached/invalid: new case/rehearsal and new offer/publish/propose/accept are blocked. Earlier agreements preserve agreed terms.Choose another valid fictional offer; do not reset the countdown. Review supported continuation/closure for prior agreements.

Decisions

RD-01 CTO architecture, staged capacity and incremental scope

Which service boundaries, tenancy/schema/event-store and API versions will the CTO accept, and what dependency-aware capacity/cost plan can deliver the M3/M5/M9 scope and confirmed 5/8/10 agent direction? Which Block 3 modules can then receive separate build/recurring-cost approval without treating candidate SQL/diagrams as a deployed database?

CTO + product owner + CFO + founder · M3 technical acceptance; later module-specific capacity and budget acceptance

RD-02 First instrument and qualified-individual participation route

What first external instrument, rights, issuer/country and identifier will be used, and will qualified individuals participate directly or through a legal vehicle? Which approved buyer classes, marketing and market-policy entries apply to the actual Dubai/UAE route?

Founder + product owner + counsel + seller + provider · First live-route approval before the M5 controlled-pilot target

RD-03 Provider contracts, evidence semantics and production safeguards

Which gateway, identity/evidence and signature providers will be contracted, who keeps the legal agreement record, and what availability/finality/reversal semantics and freshness SLAs will they attest? What hosting region, retention, restore objectives, independent security scope and incident owner will be accepted?

CTO + counsel + compliance + operations + provider · Live-pilot identity, agreement, settlement and security acceptance

RD-04 Operational SLAs and actual limited-launch commercial scope

Which case deadlines, escalation/reassignment and support coverage will be adopted for M9, and what customer contracts, optional SaaS entitlements, transaction-fee payer/trigger and collection evidence enable M10 paid activation? Confirm contractual execution without reopening the already confirmed buyer-SaaS optionality.

Founder + product owner + operations + finance + counsel + CTO · Alpha/pilot ownership acceptance; M9 release and M10 paid activation

RD-05 AI provider, data terms, measured quality and spending authority

Which model/provider and retrieval/OCR/tool services, data region and retention/training terms will be approved? What measured token distributions, invoice-backed rates, monthly/job caps, reviewer ownership and evaluation thresholds must pass before each planned core-agent stage is activated?

CTO + CFO + counsel/compliance + operational reviewers · Activation of any core agent, starting with the M3 product-directive cohort

RD-06 First-look, relaunch and outreach operating policy

What first-look duration, cooldown, exception process and included relaunch allowance will be adopted, and which consented channels and retention rules may deliver prior-participant notifications? Repeat-buyer priority stays disabled unless separately validated; 48-72 hours, 30-60 days and the demo's 30 days are not approved defaults.

Product owner + seller + operations + counsel + provider + CTO · Live first-look/relaunch programme approval within limited-launch scope

RD-07 Monitor watchlist, compatible chains and source rights

Which issuers/assets, contracts, chain standards and licensed sources enter the initial post-launch watchlist, and what contracts permit LLM processing, retention, redistribution and derived analytics? Which source-specific limits constrain the proposed cadence?

CTO + data owner + counsel + market operations · Block 3 Monitor source admission and connector activation

RD-08 Monitor acceptance thresholds, reviewer capacity and incremental budget

What chain finality and source-independence policy, extraction precision/recall and freshness thresholds will be accepted? Who owns delivery/review, and what connector/monthly caps and incremental recurring/build allocation are approved after overlap with existing technology commitments is reviewed?

CTO + CFO + market audit + operations · Block 3 Monitor production acceptance; no core-launch dependency

RD-09 Assisted resale route and position accounting conventions

For Block 3 post-launch coordinated secondary resale, will separate technical/capacity, build and recurring cost, and counsel/provider review admit any restricted trial, for which instruments and transfer/issuer permissions, freshness windows and safe cancellation evidence? Which approved lot/basis, FX/rounding, typed portfolio-event and valuation/benchmark policies will govern partial-sale and performance reporting? The lightweight nonbinding simulated request is not a funded MVP feature commitment.

Product owner + counsel + provider + issuer + operations + finance + CTO · Block 3 post-launch coordinated-secondary-resale technical/cost/legal-provider admission and production position/P&L acceptance

RD-10 Native stack, release route and real-device acceptance

Will the CTO select React Native/Expo or a reviewed alternative, with which minimum OS/device matrix, secure modules and signed-build/update strategy? Which submitting entity, store financial classification, country/billing/privacy rules and physical-device evidence must pass for the independently funded native scope?

CTO + security + product owner + counsel + release owner + QA · Block 3 native ADR acceptance and store/physical-device release

RD-11 Definitive GO terms and evidence for independent launch gates

Which definitive supply/allocation, season budgets, issuer/governance, warrant/vesting and audited chain/claim terms will be adopted? How will the US$10M eligible monthly-volume window, persistence, deduplication and reversal treatment be measured, and which separate Seed-stage budget funds legal/security work and quote-side liquidity? Seed and the volume/readiness gates are already required; their operational evidence remains open.

Founder + issuer governance + counsel + CTO + security + operations + CFO · Block 3 GO go/no-go and claim activation after Seed and all independent gates

RD-12 GO software settlement and service-credit operating terms

Which lawful payment/USD-settlement route, accounting/refund policy, credit rate/validity, metered prices and per-invoice/outstanding/redemption-cost caps will implement the already confirmed 10% GO-payment SaaS discount plus BI/AI/API credits? The proposed 5% and 90 days remain unapproved and cannot activate the programme.

Founder + CFO + CTO + counsel + auditors + payment provider · Block 3 software GO-payment and service-credit activation after token/operational gates

Implementation sequence

1. Product and CTO accept this baseline and resolve each blocking decision before assigning implementation estimates.

2. Preserve the executable pilot as a reference fixture. Production architecture, normalized schema and provider adapters are candidates requiring technical acceptance, migrations and independent security review.

3. For every backlog item retain requirement ID, actor, precondition, fields, permissions, state transition, errors, tests and release gate. Never mark a legal/provider gate complete with a UI screenshot.

4. Run fresh isolated tests against the packaged source. Keep test existence, historical execution evidence and a fresh verification result as different facts.

5. Controlled live pilot requires approved parties/instrument/route, provider contracts, KYC/authority, reliable availability, signed legal terms, independent leg evidence, recovery and incident runbooks.

6. M3/M5/M9 are targets after the funding gate, not certification. The 24-month technology envelope is not approval to implement every screen or third-block capability.

Fresh unit test output · Editable requirements JSON · Release

Requirements, acceptance criteria, journeys and diagrams are available in English and Portuguese. API identifiers, code snapshots and detailed technical tables retain their source language (English). The six platform languages are unchanged; this new baseline is not translated into ES/FR/AR/ZH.

GlemO · SRS 1.0.0 · Pilot 0.5.3 · 2026-10-22

Acquired positions · pilot 0.6.3

Owner-scoped acquisition terms, external evidence and nonbinding resale review. Eight additional requirements; no live market-price feed, new tables or API operations. Technical addenda: EN/PT.

English · Português · Mermaid