{
  "meta": {
    "version": "1.0.0",
    "date": "2026-10-22",
    "pilotVersion": "0.5.3",
    "canonicalBaseline": "2.76.0",
    "canonicalDocumentationRelease": "2.77.0",
    "languages": [
      "en",
      "pt"
    ],
    "platformLanguagesUnchanged": [
      "en",
      "pt",
      "es",
      "fr",
      "ar",
      "zh"
    ],
    "requirements": 128,
    "businessRules": 24,
    "diagrams": 18,
    "renderedDiagramVariants": 36,
    "screens": 16,
    "entities": 17,
    "operations": 45,
    "schemas": 47,
    "openDecisions": 12,
    "acceptanceCriteria": 256,
    "freshUnitTests": {
      "tests": 513,
      "pass": 513,
      "fail": 0,
      "scope": "Packaged pilot source, isolated fixtures. Not live participant accounts or a production certification."
    },
    "missingSources": [],
    "scopeRevision": {
      "version": "2.81.0",
      "date": "2026-10-23",
      "scope": "Editable phase/timing reconciliation; lightweight simulated request is not a funded MVP promise; coordinated secondary resale is Block 3; Block 2 offer amendments only.",
      "pdfsRebuilt": false,
      "runtimeChanged": false,
      "browserChecksRun": false,
      "baselineTestEvidenceRerun": false,
      "frozenPdfHandling": "Parent-owned explicit dated scope-cover addendum; no PDF rewrite in this change.",
      "sourceSnapshotsRefreshed": [
        "delivery_blocks/source.json",
        "resale/RELEASE.json",
        "resale/spec_en.txt",
        "launch/programme_en.txt"
      ]
    }
  },
  "requirements": [
    {
      "id": "FR-001",
      "module": "auth",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Sign in with assigned alias",
        "pt": "Entrar com o identificador atribuído"
      },
      "description": {
        "en": "Authenticate an active invited account by alias and password, derive its role from the session, and load its catalog, cases, profile and discovery metadata.",
        "pt": "Autenticar uma conta ativa criada por convite usando identificador e senha, obter seu papel da sessão e carregar catálogo, casos, perfil e metadados de descoberta."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-LOGIN"
      ],
      "source": [
        "public/app.js:183",
        "public/app.js:368",
        "server/auth.cjs:77"
      ],
      "testRefs": [
        "tests/api.test.cjs:14",
        "tests/security.test.cjs:349"
      ],
      "acceptance": {
        "en": [
          "Given an active account, when valid credentials are submitted, then the authenticated workspace loads with the account's assigned role.",
          "Given an incorrect password or disabled account, when login is attempted, then credentials is returned and no authenticated session is created."
        ],
        "pt": [
          "Dada uma conta ativa, quando credenciais válidas são enviadas, então a área autenticada carrega com o papel atribuído à conta.",
          "Dada uma senha incorreta ou conta desativada, quando há tentativa de entrada, então credentials é retornado e nenhuma sessão autenticada é criada."
        ]
      },
      "apiRefs": [
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-FR-001-1",
        "AC-FR-001-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 183,
          "label": "public/app.js:183"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 368,
          "label": "public/app.js:368"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 77,
          "label": "server/auth.cjs:77"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:14",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:349",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-002",
      "module": "onboarding",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Activate a single-use invitation",
        "pt": "Ativar um convite de uso único"
      },
      "description": {
        "en": "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.",
        "pt": "Abrir o fragmento de convite, remover seu token da URL visível, mostrar identificador, organização e papel atribuídos e ativar com senha válida e consentimento explícito antes de abrir o perfil."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-ACTIVATE",
        "SCR-PROFILE"
      ],
      "source": [
        "public/app.js:183",
        "public/app.js:369",
        "public/app.js:521",
        "server/auth.cjs:54"
      ],
      "testRefs": [
        "tests/security.test.cjs:221",
        "tests/security.test.cjs:255"
      ],
      "acceptance": {
        "en": [
          "Given an unused valid invitation, when a password and consent are submitted, then an account and session are created and #profile opens.",
          "Given a used, revoked or expired invitation, when it is opened or accepted, then inviteInvalid is returned without creating an account."
        ],
        "pt": [
          "Dado um convite válido não utilizado, quando senha e consentimento são enviados, então uma conta e uma sessão são criadas e #profile é aberto.",
          "Dado um convite utilizado, revogado ou expirado, quando é aberto ou aceito, então inviteInvalid é retornado sem criar uma conta."
        ]
      },
      "apiRefs": [
        "ownProfile",
        "saveProfile"
      ],
      "entities": [
        "profiles"
      ],
      "acceptanceIds": [
        "AC-FR-002-1",
        "AC-FR-002-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 183,
          "label": "public/app.js:183"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 369,
          "label": "public/app.js:369"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 521,
          "label": "public/app.js:521"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 54,
          "label": "server/auth.cjs:54"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:221",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:255",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-003",
      "module": "auth",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Recover access with a reset invitation",
        "pt": "Recuperar acesso com convite de redefinição"
      },
      "description": {
        "en": "Accept an administrator-issued reset invitation for an active account, replace its password and invalidate existing sessions and other unused reset invitations.",
        "pt": "Aceitar um convite de redefinição emitido pelo administrador para uma conta ativa, substituir sua senha e invalidar sessões existentes e outros convites de redefinição não utilizados."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-ACTIVATE"
      ],
      "source": [
        "public/app.js:185",
        "server/auth.cjs:68",
        "server/service.cjs:133"
      ],
      "testRefs": [
        "tests/api.test.cjs:80",
        "tests/security.test.cjs:190"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given a consumed reset invitation, when it is submitted again, then inviteInvalid is returned and the password is not replaced again."
        ],
        "pt": [
          "Dada uma conta ativa com convite de redefinição válido, quando nova senha e consentimento são aceitos, então uma nova sessão inicia e as anteriores deixam de autenticar.",
          "Dado um convite de redefinição já consumido, quando é enviado novamente, então inviteInvalid é retornado e a senha não é novamente substituída."
        ]
      },
      "apiRefs": [
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-FR-003-1",
        "AC-FR-003-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 185,
          "label": "public/app.js:185"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 68,
          "label": "server/auth.cjs:68"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 133,
          "label": "server/service.cjs:133"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:80",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:190",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-004",
      "module": "auth",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Sign out and expire inactive sessions",
        "pt": "Sair e expirar sessões inativas"
      },
      "description": {
        "en": "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.",
        "pt": "Revogar a sessão atual ao sair e limpar os dados da conta na interface. Aplicar por padrão 30 minutos de inatividade e 12 horas de duração absoluta; consultas automáticas não contam como atividade."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-SHELL",
        "SCR-LOGIN"
      ],
      "source": [
        "public/app.js:302",
        "public/app.js:494",
        "public/app.js:527",
        "server/auth.cjs:4",
        "server/auth.cjs:23"
      ],
      "testRefs": [
        "tests/security.test.cjs:173",
        "tests/security.test.cjs:190",
        "tests/security.test.cjs:349"
      ],
      "acceptance": {
        "en": [
          "Given an authenticated workspace with comparison selections, when sign out succeeds, then login is shown and account data and selections are cleared.",
          "Given only background polling, when the idle boundary is reached, then the session expires without polling extending it."
        ],
        "pt": [
          "Dada uma área autenticada com ofertas selecionadas para comparação, quando a saída é concluída, então a entrada é exibida e os dados da conta e seleções são limpos.",
          "Dadas apenas consultas automáticas, quando o limite de inatividade é atingido, então a sessão expira sem que essas consultas o prolonguem."
        ]
      },
      "apiRefs": [
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-FR-004-1",
        "AC-FR-004-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 302,
          "label": "public/app.js:302"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 494,
          "label": "public/app.js:494"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 527,
          "label": "public/app.js:527"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 4,
          "label": "server/auth.cjs:4"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 23,
          "label": "server/auth.cjs:23"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:173",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:190",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:349",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-005",
      "module": "auth",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Change the current password",
        "pt": "Alterar a senha atual"
      },
      "description": {
        "en": "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.",
        "pt": "Exigir a senha atual e uma nova senha válida, revogar todas as sessões anteriores e convites de redefinição pendentes e criar uma nova sessão após a alteração."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-PROFILE"
      ],
      "source": [
        "public/app.js:193",
        "public/app.js:374",
        "server/auth.cjs:88"
      ],
      "testRefs": [
        "tests/security.test.cjs:190"
      ],
      "acceptance": {
        "en": [
          "Given a correct current password, when a valid new password is saved, then previous sessions are revoked and the returned session remains usable.",
          "Given an incorrect current password, when a change is submitted, then credentials is returned and the stored password remains unchanged."
        ],
        "pt": [
          "Dada a senha atual correta, quando uma nova senha válida é salva, então as sessões anteriores são revogadas e a sessão retornada permanece utilizável.",
          "Dada uma senha atual incorreta, quando a alteração é enviada, então credentials é retornado e a senha armazenada permanece inalterada."
        ]
      },
      "apiRefs": [
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-FR-005-1",
        "AC-FR-005-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 193,
          "label": "public/app.js:193"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 374,
          "label": "public/app.js:374"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 88,
          "label": "server/auth.cjs:88"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:190",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-006",
      "module": "profile",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Complete and update the self-declared profile",
        "pt": "Completar e atualizar o perfil autodeclarado"
      },
      "description": {
        "en": "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.",
        "pt": "Salvar país, qualificação, até quatro categorias de ativos, histórico e referências com consentimento explícito para dados fictícios e a versão atual do perfil; a conclusão habilita comandos nos casos compartilhados."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-PROFILE",
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:191",
        "public/app.js:370",
        "server/service.cjs:21",
        "server/service.cjs:87"
      ],
      "testRefs": [
        "tests/api.test.cjs:14",
        "tests/security.test.cjs:135"
      ],
      "acceptance": {
        "en": [
          "Given an incomplete profile and current version, when valid fields and consent are saved, then completed becomes true and the version increments.",
          "Given a stale version or missing consent, when the profile is submitted, then conflict or consentRequired is returned without overwriting it."
        ],
        "pt": [
          "Dado um perfil incompleto e sua versão atual, quando campos válidos e consentimento são salvos, então completed se torna true e a versão aumenta.",
          "Dada uma versão desatualizada ou ausência de consentimento, quando o perfil é enviado, então conflict ou consentRequired é retornado sem sobrescrevê-lo."
        ]
      },
      "apiRefs": [
        "ownProfile",
        "saveProfile"
      ],
      "entities": [
        "profiles"
      ],
      "acceptanceIds": [
        "AC-FR-006-1",
        "AC-FR-006-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 191,
          "label": "public/app.js:191"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 370,
          "label": "public/app.js:370"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 21,
          "label": "server/service.cjs:21"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 87,
          "label": "server/service.cjs:87"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:14",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:135",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-007",
      "module": "profile",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Store notification channel preferences",
        "pt": "Salvar preferências de canais de notificação"
      },
      "description": {
        "en": "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.",
        "pt": "Persistir preferências separadas para notificações no aplicativo, email e push. Apenas a preferência no aplicativo gera notificações no piloto; o perfil informa que mensagens externas não são enviadas."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-PROFILE",
        "SCR-NOTIFICATIONS"
      ],
      "source": [
        "public/app.js:193",
        "public/app.js:371",
        "server/service.cjs:23",
        "server/service.cjs:58"
      ],
      "testRefs": [
        "tests/api.test.cjs:61",
        "tests/security.test.cjs:135"
      ],
      "acceptance": {
        "en": [
          "Given inApp enabled for another case member, when a non-feedback case command succeeds, then that member receives an in-app notification.",
          "Given valid email and push preference flags, when the profile is saved, then those flags persist without sending an external message."
        ],
        "pt": [
          "Dada a preferência inApp habilitada para outro membro do caso, quando um comando diferente de feedback é concluído, então esse membro recebe uma notificação no aplicativo.",
          "Dadas preferências válidas de email e push, quando o perfil é salvo, então essas opções persistem sem enviar mensagem externa."
        ]
      },
      "apiRefs": [
        "ownProfile",
        "saveProfile",
        "notifications",
        "readNotification"
      ],
      "entities": [
        "profiles",
        "notifications"
      ],
      "acceptanceIds": [
        "AC-FR-007-1",
        "AC-FR-007-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 193,
          "label": "public/app.js:193"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 371,
          "label": "public/app.js:371"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 23,
          "label": "server/service.cjs:23"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 58,
          "label": "server/service.cjs:58"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:61",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:135",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-008",
      "module": "privacy",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Control sharing of self-declared references",
        "pt": "Controlar o compartilhamento de referências autodeclaradas"
      },
      "description": {
        "en": "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.",
        "pt": "Mostrar histórico e referências à contraparte comercial contextual somente enquanto shareReferences estiver habilitado. Titulares e administradores podem consultar essas informações, que permanecem autodeclaradas."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-PROFILE",
        "SCR-CASE"
      ],
      "source": [
        "server/service.cjs:42",
        "public/app.js:201"
      ],
      "testRefs": [
        "tests/privacy.test.cjs:244",
        "tests/privacy.test.cjs:285",
        "tests/privacy.test.cjs:395"
      ],
      "acceptance": {
        "en": [
          "Given a visible commercial counterparty with sharing enabled, when participants are loaded, then history and referrals appear with selfDeclared true.",
          "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."
        ],
        "pt": [
          "Dada uma contraparte comercial visível com compartilhamento habilitado, quando os participantes são carregados, então histórico e referências aparecem com selfDeclared true.",
          "Dado que o compartilhamento de referências foi desabilitado após uma proposta, quando a outra parte recarrega ou exporta o caso, então essas referências não constam da projeção."
        ]
      },
      "apiRefs": [
        "ownProfile",
        "saveProfile"
      ],
      "entities": [
        "profiles"
      ],
      "acceptanceIds": [
        "AC-FR-008-1",
        "AC-FR-008-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 42,
          "label": "server/service.cjs:42"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 201,
          "label": "public/app.js:201"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:244",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:285",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:395",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-009",
      "module": "catalog",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Browse the fictional offer catalog",
        "pt": "Consultar o catálogo de ofertas fictícias"
      },
      "description": {
        "en": "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.",
        "pt": "Exibir o catálogo autenticado com 24 ofertas de demonstração em cartões com imagem ou marcador de instrumento do Tesouro, categoria, país, cidade, preço unitário, aporte mínimo, estado do fluxo e acesso à ficha."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/catalog-ui.js:9",
        "public/app.js:318",
        "server/app.cjs:90"
      ],
      "testRefs": [
        "tests/catalog-browser.mjs:235",
        "tests/catalog.test.cjs:206",
        "tests/catalog.test.cjs:415"
      ],
      "acceptance": {
        "en": [
          "Given an authenticated account and no filters, when #catalog loads, then all 24 fictional offers are available with their prices and minimum tickets.",
          "Given an anonymous request for the catalog, when the endpoint is read, then authentication is required and no catalog response is disclosed."
        ],
        "pt": [
          "Dada uma conta autenticada e nenhum filtro, quando #catalog carrega, então as 24 ofertas fictícias estão disponíveis com preços e aportes mínimos.",
          "Dada uma consulta anônima ao catálogo, quando o endpoint é acessado, então autenticação é exigida e o catálogo não é divulgado."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-009-1",
        "AC-FR-009-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 9,
          "label": "public/catalog-ui.js:9"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 318,
          "label": "public/app.js:318"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 90,
          "label": "server/app.cjs:90"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:235",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog.test.cjs.txt",
          "line": null,
          "label": "tests/catalog.test.cjs:206",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog.test.cjs.txt",
          "line": null,
          "label": "tests/catalog.test.cjs:415",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-010",
      "module": "catalog",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Open an offer factsheet",
        "pt": "Abrir a ficha de uma oferta"
      },
      "description": {
        "en": "Open #offer=<id> with rights, illustrative inventory and availability, ticket limits, tenor, original issuer, permitted contextual seller disclosure, financial summary and reference workflow.",
        "pt": "Abrir #offer=<id> com direitos, estoque e disponibilidade ilustrativos, limites de aporte, prazo, emissor original, divulgação contextual permitida do vendedor, resumo financeiro e fluxo de referência."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-OFFER"
      ],
      "source": [
        "public/catalog-ui.js:40",
        "server/app.cjs:106",
        "server/privacy.cjs:49"
      ],
      "testRefs": [
        "tests/catalog-browser.mjs:262",
        "tests/privacy.test.cjs:191"
      ],
      "acceptance": {
        "en": [
          "Given a known catalog offer, when its details are opened, then rights, ticket range and illustrative economics match that offer.",
          "Given a holder browsing another seller's factsheet, when it loads, then the seller profile is withheld and no reference buyer is disclosed."
        ],
        "pt": [
          "Dada uma oferta conhecida do catálogo, quando seus detalhes são abertos, então direitos, faixa de aporte e economia ilustrativa correspondem à oferta.",
          "Dado um holder consultando a ficha de outro vendedor, quando ela carrega, então o perfil do vendedor é omitido e nenhum comprador de referência é divulgado."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-010-1",
        "AC-FR-010-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 40,
          "label": "public/catalog-ui.js:40"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 106,
          "label": "server/app.cjs:106"
        },
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 49,
          "label": "server/privacy.cjs:49"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:262",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:191",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-011",
      "module": "catalog",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Inspect projected artifact statuses",
        "pt": "Inspecionar estados dos artefatos projetados"
      },
      "description": {
        "en": "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.",
        "pt": "Expor somente os tipos ficha, titularidade, checklist e custos nos exemplos autenticados do catálogo, com estado gerado ou pendente e linhas traduzidas; omitir linhas de conta externa e referência de token."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-OFFER"
      ],
      "source": [
        "public/catalog-ui.js:38",
        "server/privacy.cjs:52"
      ],
      "testRefs": [
        "tests/catalog-browser.mjs:51",
        "tests/privacy.test.cjs:191"
      ],
      "acceptance": {
        "en": [
          "Given a catalog factsheet response, when its document folds are inspected, then the four permitted artifact types are available with truthful statuses.",
          "Given artifact rows containing externalAccount or tokenRef in the fixture, when the projected factsheet is rendered, then those rows are absent."
        ],
        "pt": [
          "Dada uma resposta de ficha do catálogo, quando as seções de documentos são consultadas, então os quatro tipos permitidos estão disponíveis com estados fiéis.",
          "Dadas linhas de conta externa ou referência de token na demonstração, quando a ficha projetada é exibida, então essas linhas estão ausentes."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-011-1",
        "AC-FR-011-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 38,
          "label": "public/catalog-ui.js:38"
        },
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 52,
          "label": "server/privacy.cjs:52"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:51",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:191",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-012",
      "module": "catalog",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Export scoped example dossiers",
        "pt": "Exportar dossiês de exemplo com escopo restrito"
      },
      "description": {
        "en": "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.",
        "pt": "Baixar o exemplo já projetado do catálogo em JSON ou como dossiê HTML independente e traduzido, preservando avisos de simulação e somente leitura e a mesma privacidade por papel."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-OFFER"
      ],
      "source": [
        "public/app.js:490",
        "public/catalog-ui.js:57"
      ],
      "testRefs": [
        "tests/catalog-browser.mjs:275",
        "tests/privacy.test.cjs:191"
      ],
      "acceptance": {
        "en": [
          "Given an opened offer, when JSON export is selected, then the file contains the projected example and no reference buyer.",
          "Given Portuguese is selected, when HTML export is downloaded, then lang is pt and exported text and documents use the selected language."
        ],
        "pt": [
          "Dada uma oferta aberta, quando a exportação JSON é selecionada, então o arquivo contém o exemplo projetado e nenhum comprador de referência.",
          "Dado que português está selecionado, quando a exportação HTML é baixada, então lang é pt e textos e documentos usam o idioma selecionado."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-012-1",
        "AC-FR-012-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 490,
          "label": "public/app.js:490"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 57,
          "label": "public/catalog-ui.js:57"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:275",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:191",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-013",
      "module": "catalog",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Keep example browsing read-only",
        "pt": "Manter a consulta de exemplos em somente leitura"
      },
      "description": {
        "en": "Treat catalog examples as generated fictional workflow snapshots. Browsing or exporting them does not create a shared case, rehearsal, command or external settlement record.",
        "pt": "Tratar exemplos do catálogo como retratos gerados de fluxos fictícios. Consultá-los ou exportá-los não cria caso compartilhado, ensaio, comando nem registro externo de liquidação."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-OFFER"
      ],
      "source": [
        "server/app.cjs:90",
        "server/app.cjs:106",
        "server/privacy.cjs:56"
      ],
      "testRefs": [
        "tests/catalog.test.cjs:307",
        "tests/catalog.test.cjs:458",
        "tests/catalog-browser.mjs:308"
      ],
      "acceptance": {
        "en": [
          "Given catalog and example reads only, when all examples are visited, then business record counts remain unchanged.",
          "Given a fixture endpoint, when a write is attempted, then the endpoint rejects it rather than editing the fictional source offer."
        ],
        "pt": [
          "Dadas apenas consultas ao catálogo e exemplos, quando todos os exemplos são visitados, então as quantidades de registros de negócio permanecem iguais.",
          "Dado um endpoint de demonstração, quando uma escrita é tentada, então o endpoint a rejeita em vez de editar a oferta fictícia original."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-013-1",
        "AC-FR-013-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 90,
          "label": "server/app.cjs:90"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 106,
          "label": "server/app.cjs:106"
        },
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 56,
          "label": "server/privacy.cjs:56"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/catalog.test.cjs.txt",
          "line": null,
          "label": "tests/catalog.test.cjs:307",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog.test.cjs.txt",
          "line": null,
          "label": "tests/catalog.test.cjs:458",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:308",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-014",
      "module": "commerce",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Filter by commercial benefit",
        "pt": "Filtrar por benefício comercial"
      },
      "description": {
        "en": "Offer mutually exclusive catalog segments for all examples, discount, timed offer, volume tiers and planned points, intersected with the current search and market criteria.",
        "pt": "Oferecer segmentos exclusivos do catálogo para todos os exemplos, desconto, oferta com prazo, faixas de volume e pontos planejados, combinados com a busca e os critérios de mercado."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/catalog-ui.js:18",
        "public/catalog-ui.js:30",
        "public/app.js:478"
      ],
      "testRefs": [
        "tests/commerce-browser.mjs:40",
        "tests/sourcing-browser.mjs:313"
      ],
      "acceptance": {
        "en": [
          "Given the unfiltered fixture catalog, when discount is selected, then the two offers with discount terms are shown.",
          "Given the benefit filter is cleared, when the other criteria are empty, then the catalog returns to all 24 examples."
        ],
        "pt": [
          "Dado o catálogo de demonstração sem filtros, quando desconto é selecionado, então as duas ofertas com termos de desconto são mostradas.",
          "Dado que o filtro de benefício foi limpo, quando os outros critérios estão vazios, então o catálogo volta aos 24 exemplos."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-014-1",
        "AC-FR-014-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 18,
          "label": "public/catalog-ui.js:18"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 30,
          "label": "public/catalog-ui.js:30"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 478,
          "label": "public/app.js:478"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/commerce-browser.mjs.txt",
          "line": null,
          "label": "tests/commerce-browser.mjs:40",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-browser.mjs.txt",
          "line": null,
          "label": "tests/sourcing-browser.mjs:313",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-015",
      "module": "commerce",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Disclose illustrative promotion terms",
        "pt": "Divulgar termos promocionais ilustrativos"
      },
      "description": {
        "en": "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.",
        "pt": "Exibir descontos validados de 10% sobre o preço de referência, tabelas de volume e avisos de pontos planejados nos exemplos comerciais elegíveis. Pontos planejados não geram saldo, airdrop ativo nem receita recebida."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-OFFER"
      ],
      "source": [
        "public/commerce.js:53",
        "public/commerce.js:63",
        "public/commerce.js:94"
      ],
      "testRefs": [
        "tests/commerce.test.cjs:7",
        "tests/commerce-frontend.test.cjs:11"
      ],
      "acceptance": {
        "en": [
          "Given an eligible discounted example, when its terms render, then the displayed reference price and unit price satisfy the stated 10% discount.",
          "Given an example with planned points, when its benefits are inspected, then points remain labeled as planned and no awarded balance is represented."
        ],
        "pt": [
          "Dado um exemplo com desconto elegível, quando seus termos são exibidos, então o preço de referência e o preço unitário correspondem ao desconto declarado de 10%.",
          "Dado um exemplo com pontos planejados, quando seus benefícios são consultados, então os pontos continuam identificados como planejados e nenhum saldo concedido é apresentado."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-015-1",
        "AC-FR-015-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/commerce.js.txt",
          "line": 53,
          "label": "public/commerce.js:53"
        },
        {
          "href": "sources/pilot/public/commerce.js.txt",
          "line": 63,
          "label": "public/commerce.js:63"
        },
        {
          "href": "sources/pilot/public/commerce.js.txt",
          "line": 94,
          "label": "public/commerce.js:94"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/commerce.test.cjs.txt",
          "line": null,
          "label": "tests/commerce.test.cjs:7",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/commerce-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/commerce-frontend.test.cjs:11",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-016",
      "module": "commerce",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Enforce fixed commercial deadlines",
        "pt": "Aplicar prazos comerciais fixos"
      },
      "description": {
        "en": "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.",
        "pt": "Usar prazos absolutos imutáveis das ofertas e horário sincronizado com o servidor para encerrar promoções e impedir novas ofertas, publicações, propostas, aceitações, cópias de casos e ensaios após o encerramento; acordos anteriores podem continuar a liquidação."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-OFFER",
        "SCR-CASE",
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/commerce.js:9",
        "public/app.js:288",
        "server/kernel.cjs:72",
        "server/service.cjs:66"
      ],
      "testRefs": [
        "tests/commerce.test.cjs:18",
        "tests/commerce.test.cjs:31",
        "tests/commerce-frontend.test.cjs:28",
        "tests/commerce-browser.mjs:48"
      ],
      "acceptance": {
        "en": [
          "Given an offer at its exact endsAt instant, when a new rehearsal or proposal is attempted, then offerWindowClosed blocks progress without changing financial state.",
          "Given an agreement accepted before the deadline, when settlement occurs later with valid evidence, then settlement may complete using the agreed terms."
        ],
        "pt": [
          "Dada uma oferta no instante exato de endsAt, quando um novo ensaio ou proposta é tentado, então offerWindowClosed bloqueia o avanço sem alterar o estado financeiro.",
          "Dado um acordo aceito antes do prazo, quando a liquidação ocorre depois com evidências válidas, então ela pode ser concluída com os termos acordados."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-016-1",
        "AC-FR-016-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/commerce.js.txt",
          "line": 9,
          "label": "public/commerce.js:9"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 288,
          "label": "public/app.js:288"
        },
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": 72,
          "label": "server/kernel.cjs:72"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 66,
          "label": "server/service.cjs:66"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/commerce.test.cjs.txt",
          "line": null,
          "label": "tests/commerce.test.cjs:18",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/commerce.test.cjs.txt",
          "line": null,
          "label": "tests/commerce.test.cjs:31",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/commerce-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/commerce-frontend.test.cjs:28",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/commerce-browser.mjs.txt",
          "line": null,
          "label": "tests/commerce-browser.mjs:48",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-017",
      "module": "search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Parse local multilingual discovery intent",
        "pt": "Interpretar intenção local de descoberta em vários idiomas"
      },
      "description": {
        "en": "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.",
        "pt": "Relacionar ofertas por um interpretador local determinístico de categorias de ativos, aliases de mercados suportados e texto residual em inglês, português, espanhol, francês, árabe e chinês; termos desconhecidos não geram correspondências exatas inventadas."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-SHELL"
      ],
      "source": [
        "public/search.js:3",
        "public/search.js:15",
        "public/search.js:48"
      ],
      "testRefs": [
        "tests/search.test.cjs:11",
        "tests/search.test.cjs:20",
        "tests/catalog-browser.mjs:103"
      ],
      "acceptance": {
        "en": [
          "Given equivalent asset and market phrases in the six supported languages, when searched, then the same matching fixture offers are selected.",
          "Given an unknown residual term absent from offer metadata, when searched, then it produces no exact match rather than an invented offer."
        ],
        "pt": [
          "Dadas frases equivalentes de ativo e mercado nos seis idiomas suportados, quando buscadas, então as mesmas ofertas de demonstração correspondentes são selecionadas.",
          "Dado um termo residual desconhecido ausente dos metadados das ofertas, quando buscado, então não produz correspondência exata em vez de inventar uma oferta."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools",
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-017-1",
        "AC-FR-017-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 3,
          "label": "public/search.js:3"
        },
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 15,
          "label": "public/search.js:15"
        },
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 48,
          "label": "public/search.js:48"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/search.test.cjs.txt",
          "line": null,
          "label": "tests/search.test.cjs:11",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/search.test.cjs.txt",
          "line": null,
          "label": "tests/search.test.cjs:20",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:103",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-018",
      "module": "search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Respect ticket intent, exclusions and currencies",
        "pt": "Respeitar intenção de aporte, exclusões e moedas"
      },
      "description": {
        "en": "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.",
        "pt": "Aplicar intenção reconhecida de aporte exato ou máximo em USD, excluir categorias e mercados negados e não retornar correspondência exata para buscas em moedas não suportadas, sem converter seus valores."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/search.js:17",
        "public/search.js:30",
        "public/search.js:48"
      ],
      "testRefs": [
        "tests/search.test.cjs:20",
        "tests/sourcing-frontend.test.cjs:41"
      ],
      "acceptance": {
        "en": [
          "Given a query excluding real estate, when matches are calculated, then no Real estate offer is returned.",
          "Given an EUR-denominated query, when searched, then exact matches are empty and its numeric amount is not treated as USD."
        ],
        "pt": [
          "Dada uma busca que exclui imóveis, quando as correspondências são calculadas, então nenhuma oferta Real estate é retornada.",
          "Dada uma busca denominada em EUR, quando realizada, então as correspondências exatas ficam vazias e seu valor numérico não é tratado como USD."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-018-1",
        "AC-FR-018-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 17,
          "label": "public/search.js:17"
        },
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 30,
          "label": "public/search.js:30"
        },
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 48,
          "label": "public/search.js:48"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/search.test.cjs.txt",
          "line": null,
          "label": "tests/search.test.cjs:20",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing-frontend.test.cjs:41",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-019",
      "module": "search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Combine and clear catalog filters",
        "pt": "Combinar e limpar filtros do catálogo"
      },
      "description": {
        "en": "Intersect text, country, category, benefit and favorites criteria. Provide quick category toggles, individually removable active filters and a reset that also restores featured sorting.",
        "pt": "Combinar texto, país, categoria, benefício e favoritos. Disponibilizar seletores rápidos de categoria, remoção individual de filtros ativos e limpeza que também restaura a ordenação por destaque."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/catalog-ui.js:19",
        "public/discovery-tools.js:23",
        "public/discovery-tools.js:24",
        "public/app.js:448",
        "public/app.js:468"
      ],
      "testRefs": [
        "tests/discovery-tools-browser.mjs:323",
        "tests/discovery-tools-browser.mjs:326",
        "tests/catalog-browser.mjs:248"
      ],
      "acceptance": {
        "en": [
          "Given country AE and a category filter, when that category chip is removed, then AE remains active while the category clears.",
          "Given several active criteria and a custom sort, when reset is selected, then criteria clear, favoritesOnly becomes false and sorting becomes featured."
        ],
        "pt": [
          "Dado o país AE e um filtro de categoria, quando o filtro de categoria é removido, então AE permanece ativo e a categoria é limpa.",
          "Dados vários critérios ativos e uma ordenação personalizada, quando limpar é selecionado, então os critérios são removidos, favoritesOnly passa a false e a ordenação volta a featured."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-019-1",
        "AC-FR-019-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 19,
          "label": "public/catalog-ui.js:19"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 23,
          "label": "public/discovery-tools.js:23"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 24,
          "label": "public/discovery-tools.js:24"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 448,
          "label": "public/app.js:448"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 468,
          "label": "public/app.js:468"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:323",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:326",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:248",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-020",
      "module": "search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Sort by factual ticket or deadline",
        "pt": "Ordenar por aporte ou prazo factual"
      },
      "description": {
        "en": "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.",
        "pt": "Ordenar ofertas correspondentes por destaque comercial, aporte mínimo crescente ou decrescente, ou prazo comercial ativo mais próximo, usando o identificador para desempate e colocando prazos ausentes ou encerrados ao final."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/discovery-tools.js:3",
        "public/discovery-tools.js:9",
        "public/app.js:401"
      ],
      "testRefs": [
        "tests/discovery-frontend.test.cjs:20",
        "tests/discovery-frontend.test.cjs:34",
        "tests/discovery-tools-browser.mjs:313"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given expired and future commercial deadlines, when closing sort is selected, then future deadlines precede expired or absent deadlines."
        ],
        "pt": [
          "Dadas ofertas com aportes mínimos diferentes, quando a ordenação crescente é selecionada, então cada aporte seguinte é maior ou igual ao anterior.",
          "Dados prazos comerciais expirados e futuros, quando a ordenação por encerramento é selecionada, então prazos futuros antecedem prazos expirados ou ausentes."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-020-1",
        "AC-FR-020-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 3,
          "label": "public/discovery-tools.js:3"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 9,
          "label": "public/discovery-tools.js:9"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 401,
          "label": "public/app.js:401"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/discovery-frontend.test.cjs:20",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/discovery-frontend.test.cjs:34",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:313",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-021",
      "module": "search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Use opt-in browser voice search",
        "pt": "Usar busca por voz do navegador com consentimento"
      },
      "description": {
        "en": "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.",
        "pt": "Iniciar reconhecimento de voz do navegador somente após consentimento explícito, selecionar a localidade do idioma atual, enviar a transcrição final à busca, parar na navegação ou mudança de idioma e informar indisponibilidade, recusa, cancelamento e falha."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-SHELL"
      ],
      "source": [
        "public/search.js:85",
        "public/app.js:460",
        "public/app.js:410",
        "public/app.js:519"
      ],
      "testRefs": [
        "tests/search.test.cjs:31",
        "tests/catalog-browser.mjs:120",
        "tests/global-search-browser.mjs:201"
      ],
      "acceptance": {
        "en": [
          "Given consent is declined, when the microphone is selected, then no recognizer is constructed and the query remains unchanged.",
          "Given consent and Portuguese, when speech recognition returns a final transcript, then locale pt-BR is used and that transcript becomes the search query."
        ],
        "pt": [
          "Dado que o consentimento é recusado, quando o microfone é selecionado, então nenhum reconhecedor é criado e a busca permanece inalterada.",
          "Dados consentimento e idioma português, quando o reconhecimento retorna uma transcrição final, então pt-BR é utilizado e a transcrição se torna a consulta de busca."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-021-1",
        "AC-FR-021-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 85,
          "label": "public/search.js:85"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 460,
          "label": "public/app.js:460"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 410,
          "label": "public/app.js:410"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 519,
          "label": "public/app.js:519"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/search.test.cjs.txt",
          "line": null,
          "label": "tests/search.test.cjs:31",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:120",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:201",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-022",
      "module": "global-search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Search from every authenticated view",
        "pt": "Buscar a partir de todas as telas autenticadas"
      },
      "description": {
        "en": "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.",
        "pt": "Exibir uma barra global identificada de busca por texto e microfone em toda a área autenticada, inclusive telas operacionais, e direcionar o texto enviado à descoberta no catálogo. Ocultá-la na entrada anônima e na ativação."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-SHELL",
        "SCR-CATALOG"
      ],
      "source": [
        "public/global-search-ui.js:3",
        "public/app.js:246",
        "public/app.js:261"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "Given an authenticated user on #profile, when global search is submitted, then #catalog opens with the submitted query in both search inputs.",
          "Given anonymous login or invitation activation, when the page renders, then the authenticated global search bar is absent."
        ],
        "pt": [
          "Dado um usuário autenticado em #profile, quando a busca global é enviada, então #catalog abre com a consulta nos dois campos de busca.",
          "Dada a entrada anônima ou ativação por convite, quando a página é exibida, então a barra global autenticada está ausente."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample",
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-FR-022-1",
        "AC-FR-022-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/global-search-ui.js.txt",
          "line": 3,
          "label": "public/global-search-ui.js:3"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 246,
          "label": "public/app.js:246"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 261,
          "label": "public/app.js:261"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/global-search-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/global-search-frontend.test.cjs:12",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:284",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:396",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:409",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-023",
      "module": "global-search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Reset unrelated criteria for a new global query",
        "pt": "Limpar critérios anteriores para uma nova busca global"
      },
      "description": {
        "en": "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.",
        "pt": "Limitar a entrada global sem espaços externos a 200 caracteres, sincronizar os campos global e do catálogo e limpar país, categoria, benefício, somente favoritos e ordenação antes da nova busca."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-SHELL",
        "SCR-CATALOG"
      ],
      "source": [
        "public/app.js:246",
        "public/app.js:339"
      ],
      "testRefs": [
        "tests/global-search-browser.mjs:296",
        "tests/global-search-browser.mjs:298"
      ],
      "acceptance": {
        "en": [
          "Given an old country and benefit filter, when a new global query is submitted, then both filters clear and results use the new query.",
          "Given a query with surrounding whitespace, when submitted globally, then the synchronized query is trimmed and sorting is featured."
        ],
        "pt": [
          "Dados filtros anteriores de país e benefício, quando uma nova consulta global é enviada, então ambos são limpos e os resultados usam a nova consulta.",
          "Dada uma consulta com espaços externos, quando enviada globalmente, então o texto sincronizado fica sem esses espaços e a ordenação é featured."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-023-1",
        "AC-FR-023-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 246,
          "label": "public/app.js:246"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 339,
          "label": "public/app.js:339"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:296",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:298",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-024",
      "module": "global-search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Return to compatible unsaved drafts",
        "pt": "Retornar a rascunhos não salvos compatíveis"
      },
      "description": {
        "en": "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.",
        "pt": "Capturar rascunhos de formulários sem senhas e a rota de origem antes da busca global ou busca salva, oferecer retorno e restaurar os rascunhos somente se o escopo de revisão da tela continuar compatível."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-SHELL",
        "SCR-CATALOG",
        "SCR-PROFILE",
        "SCR-CASE",
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/app.js:44",
        "public/app.js:240",
        "public/app.js:277",
        "public/global-search-ui.js:7"
      ],
      "testRefs": [
        "tests/global-search-browser.mjs:287",
        "tests/global-search-browser.mjs:308"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given the originating revision changed while away, when returning, then old drafts are not restored and globalSearchStale is shown."
        ],
        "pt": [
          "Dados um histórico de perfil não salvo e um campo de senha, quando o usuário busca e retorna com a mesma versão do perfil, então o histórico é restaurado e o campo de senha fica vazio.",
          "Dado que a revisão de origem mudou durante a ausência, quando há retorno, então rascunhos antigos não são restaurados e globalSearchStale é exibido."
        ]
      },
      "apiRefs": [
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-024-1",
        "AC-FR-024-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 44,
          "label": "public/app.js:44"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 240,
          "label": "public/app.js:240"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 277,
          "label": "public/app.js:277"
        },
        {
          "href": "sources/pilot/public/global-search-ui.js.txt",
          "line": 7,
          "label": "public/global-search-ui.js:7"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:287",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:308",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-025",
      "module": "fallback",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Show up to three actual exploration alternatives",
        "pt": "Mostrar até três alternativas reais para exploração"
      },
      "description": {
        "en": "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.",
        "pt": "Após zero correspondências exatas, mostrar um estado vazio compacto e até três cartões elegíveis reais do catálogo identificados para exploração, ordenados pela intenção conhecida de categoria e mercado e respeitando filtros explícitos, exclusões e estados encerrados."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/search.js:74",
        "public/catalog-ui.js:24",
        "public/catalog-ui.js:28",
        "public/catalog-ui.js:31"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given a query excluding a market or asset category, when fallback candidates are selected, then no candidate violates those exclusions."
        ],
        "pt": [
          "Dada uma consulta desconhecida e pelo menos três alternativas elegíveis do catálogo, quando os resultados exatos estão vazios, então três identificadores reais distintos aparecem em cartões de exploração.",
          "Dada uma busca que exclui um mercado ou categoria, quando os candidatos de exploração são selecionados, então nenhum viola essas exclusões."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-025-1",
        "AC-FR-025-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 74,
          "label": "public/search.js:74"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 24,
          "label": "public/catalog-ui.js:24"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 28,
          "label": "public/catalog-ui.js:28"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 31,
          "label": "public/catalog-ui.js:31"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/global-search-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/global-search-frontend.test.cjs:15",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/global-search-frontend.test.cjs:22",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:164",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:264",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-026",
      "module": "recommendations",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Explain related-offer differences",
        "pt": "Explicar diferenças das ofertas relacionadas"
      },
      "description": {
        "en": "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.",
        "pt": "Gerar até três ofertas relacionadas para intenção reconhecida de ativo ou mercado, excluir correspondências exatas e janelas comerciais encerradas e identificar motivos de mesmo ativo, mesmo mercado, aporte diferente e critérios residuais."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/search.js:58",
        "public/catalog-ui.js:25",
        "public/catalog-ui.js:28"
      ],
      "testRefs": [
        "tests/sourcing-frontend.test.cjs:13",
        "tests/global-search-frontend.test.cjs:26",
        "tests/global-search-browser.mjs:270"
      ],
      "acceptance": {
        "en": [
          "Given a recognized market and category with an unmatched ticket, when related offers are shown, then any ticket mismatch is explicitly labeled.",
          "Given an exact result or expired commercial candidate, when related candidates are calculated, then that candidate is excluded from related suggestions."
        ],
        "pt": [
          "Dados mercado e categoria reconhecidos com aporte sem correspondência, quando ofertas relacionadas são mostradas, então qualquer diferença de aporte é explicitamente identificada.",
          "Dado um resultado exato ou candidato comercial expirado, quando os candidatos relacionados são calculados, então esse candidato é excluído das sugestões relacionadas."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-026-1",
        "AC-FR-026-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 58,
          "label": "public/search.js:58"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 25,
          "label": "public/catalog-ui.js:25"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 28,
          "label": "public/catalog-ui.js:28"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/sourcing-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing-frontend.test.cjs:13",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/global-search-frontend.test.cjs:26",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:270",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-027",
      "module": "global-search",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Keep discovery free of transaction side effects",
        "pt": "Manter a descoberta sem efeitos transacionais"
      },
      "description": {
        "en": "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.",
        "pt": "Executar busca textual, busca por transcrição e exploração localmente sobre o catálogo carregado. Essas ações isoladas não criam solicitação de ativo, caso, ensaio, comando de negócio, evidência de liquidação nem contato externo."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-SHELL",
        "SCR-CATALOG"
      ],
      "source": [
        "public/app.js:246",
        "public/catalog-ui.js:19",
        "public/search.js:48"
      ],
      "testRefs": [
        "tests/global-search-browser.mjs:355",
        "tests/sourcing-browser.mjs:459"
      ],
      "acceptance": {
        "en": [
          "Given a text search with no form submission beyond search, when results render, then case, rehearsal and asset-request counts remain unchanged.",
          "Given local search and mocked voice transcripts, when queries change, then no external request or settlement-evidence write is triggered."
        ],
        "pt": [
          "Dada uma busca textual sem envio de outro formulário, quando os resultados são exibidos, então as quantidades de casos, ensaios e solicitações de ativos permanecem iguais.",
          "Dadas busca local e transcrições de voz simuladas, quando as consultas mudam, então nenhuma requisição externa nem escrita de evidência de liquidação é disparada."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools",
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-027-1",
        "AC-FR-027-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 246,
          "label": "public/app.js:246"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 19,
          "label": "public/catalog-ui.js:19"
        },
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": 48,
          "label": "public/search.js:48"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:355",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-browser.mjs.txt",
          "line": null,
          "label": "tests/sourcing-browser.mjs:459",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-028",
      "module": "favorites",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Persist private offer favorites",
        "pt": "Persistir ofertas favoritas privadas"
      },
      "description": {
        "en": "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.",
        "pt": "Alternar ofertas favoritas em cartões ou fichas, persistir identificadores únicos conhecidos por conta com limite de 32 e mantê-los privados inclusive de administradores e usuários da mesma organização."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-OFFER"
      ],
      "source": [
        "public/app.js:427",
        "server/discovery.cjs:24",
        "public/discovery-tools.js:14"
      ],
      "testRefs": [
        "tests/discovery.test.cjs:74",
        "tests/discovery.test.cjs:126",
        "tests/discovery-tools-browser.mjs:281"
      ],
      "acceptance": {
        "en": [
          "Given a known unfavorited offer, when its bookmark is selected, then the offer ID persists for that owner and the control becomes pressed.",
          "Given another account or administrator, when its discovery metadata is read, then it does not contain the first account's favorites."
        ],
        "pt": [
          "Dada uma oferta conhecida não favorita, quando seu marcador é selecionado, então o identificador persiste para o titular e o controle fica pressionado.",
          "Dada outra conta ou administrador, quando seus metadados de descoberta são lidos, então não contêm os favoritos da primeira conta."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-028-1",
        "AC-FR-028-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 427,
          "label": "public/app.js:427"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 24,
          "label": "server/discovery.cjs:24"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 14,
          "label": "public/discovery-tools.js:14"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:74",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:126",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:281",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-029",
      "module": "favorites",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Filter all suggestions by private favorites",
        "pt": "Filtrar todas as sugestões pelos favoritos privados"
      },
      "description": {
        "en": "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.",
        "pt": "Aplicar somente favoritos ao catálogo de origem antes das correspondências exatas, recomendações relacionadas e exploração; mostrar a contagem de favoritos e permitir remoção sem revelar ofertas externas à origem selecionada."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/catalog-ui.js:11",
        "public/catalog-ui.js:24",
        "public/app.js:448"
      ],
      "testRefs": [
        "tests/discovery-tools-browser.mjs:287",
        "tests/discovery-tools-browser.mjs:291"
      ],
      "acceptance": {
        "en": [
          "Given one favorite and favorites-only enabled, when the query is empty, then only that favorite appears among exact results.",
          "Given an empty favorite set and favorites-only enabled, when a query has no matches, then exploration also remains empty."
        ],
        "pt": [
          "Dado um favorito e somente favoritos habilitado, quando a consulta está vazia, então apenas esse favorito aparece nos resultados exatos.",
          "Dado um conjunto vazio de favoritos e somente favoritos habilitado, quando a consulta não encontra correspondências, então a exploração também permanece vazia."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-029-1",
        "AC-FR-029-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 11,
          "label": "public/catalog-ui.js:11"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 24,
          "label": "public/catalog-ui.js:24"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 448,
          "label": "public/app.js:448"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:287",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:291",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-030",
      "module": "saved-searches",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Save named discovery criteria",
        "pt": "Salvar critérios de descoberta com nome"
      },
      "description": {
        "en": "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.",
        "pt": "Salvar até dez buscas privadas com nome não vazio de até 60 caracteres e somente critérios de texto, país, categoria, benefício, ordenação e somente favoritos; não reter retrato dos resultados nem estado transacional."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-DISCOVERY-SAVE"
      ],
      "source": [
        "public/app.js:340",
        "public/discovery-tools.js:8",
        "public/discovery-tools.js:37"
      ],
      "testRefs": [
        "tests/discovery.test.cjs:134",
        "tests/discovery-frontend.test.cjs:24",
        "tests/discovery-tools-browser.mjs:347"
      ],
      "acceptance": {
        "en": [
          "Given fewer than ten saved searches, when a valid name is submitted, then the current six criteria and generated ID persist privately.",
          "Given ten existing searches or an empty name, when save is attempted, then saving is blocked without appending another record."
        ],
        "pt": [
          "Dadas menos de dez buscas salvas, quando um nome válido é enviado, então os seis critérios atuais e o identificador gerado persistem de forma privada.",
          "Dadas dez buscas existentes ou um nome vazio, quando salvar é tentado, então a gravação é bloqueada sem acrescentar outro registro."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools",
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-030-1",
        "AC-FR-030-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 340,
          "label": "public/app.js:340"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 8,
          "label": "public/discovery-tools.js:8"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 37,
          "label": "public/discovery-tools.js:37"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:134",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/discovery-frontend.test.cjs:24",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:347",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-031",
      "module": "saved-searches",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Apply or delete a saved search",
        "pt": "Aplicar ou excluir uma busca salva"
      },
      "description": {
        "en": "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.",
        "pt": "Listar buscas privadas nomeadas em uma janela, aplicar os critérios salvos ao catálogo com sincronização da consulta global e excluir a busca selecionada somente após confirmação."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-DISCOVERY-SAVED",
        "SCR-CATALOG"
      ],
      "source": [
        "public/discovery-tools.js:40",
        "public/app.js:240",
        "public/app.js:443"
      ],
      "testRefs": [
        "tests/discovery-tools-browser.mjs:352",
        "tests/discovery.test.cjs:55"
      ],
      "acceptance": {
        "en": [
          "Given a saved search containing benefit, sort and favorites-only, when applied, then all those controls and its query are restored in the catalog.",
          "Given a delete confirmation is cancelled, when the saved-search dialog remains open, then the selected record still exists."
        ],
        "pt": [
          "Dada uma busca salva com benefício, ordenação e somente favoritos, quando aplicada, então esses controles e sua consulta são restaurados no catálogo.",
          "Dado que a confirmação de exclusão é cancelada, quando a janela de buscas salvas permanece aberta, então o registro selecionado continua existindo."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools",
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-031-1",
        "AC-FR-031-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 40,
          "label": "public/discovery-tools.js:40"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 240,
          "label": "public/app.js:240"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 443,
          "label": "public/app.js:443"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:352",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:55",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-032",
      "module": "discovery",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Resolve metadata version conflicts visibly",
        "pt": "Resolver conflitos de versão dos metadados de forma visível"
      },
      "description": {
        "en": "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.",
        "pt": "Gravar favoritos e buscas salvas conjuntamente usando expectedVersion atual. Rejeitar atualizações desatualizadas, recarregar os metadados mais recentes do titular em caso de 409 e permitir mudanças de metadados durante pausa financeira."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-OFFER",
        "SCR-DISCOVERY-SAVE",
        "SCR-DISCOVERY-SAVED"
      ],
      "source": [
        "public/app.js:220",
        "server/discovery.cjs:65"
      ],
      "testRefs": [
        "tests/discovery.test.cjs:153",
        "tests/discovery.test.cjs:170",
        "tests/discovery.test.cjs:180"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given a financial pause, when valid favorites metadata is saved at the current version, then it succeeds without generating deal or notification activity."
        ],
        "pt": [
          "Dadas duas abas com a mesma versão dos metadados, quando ambas gravam atualizações diferentes, então no máximo uma é concluída e a escrita desatualizada retorna conflict.",
          "Dada uma pausa financeira, quando metadados válidos de favoritos são salvos na versão atual, então a operação é concluída sem gerar atividade de negócio ou notificações."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools",
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-032-1",
        "AC-FR-032-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 220,
          "label": "public/app.js:220"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 65,
          "label": "server/discovery.cjs:65"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:153",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:170",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:180",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-033",
      "module": "compare",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Compare two or three offers in memory",
        "pt": "Comparar duas ou três ofertas em memória"
      },
      "description": {
        "en": "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.",
        "pt": "Manter uma seleção temporária de comparação entre telas autenticadas, permitir duas ou três ofertas, rejeitar uma quarta e comparar categoria, mercado, limites de aporte, preço unitário, prazo, direitos e estado fiel. Fechar a janela abaixo de duas seleções e limpar a seleção ao recarregar ou sair."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-OFFER",
        "SCR-DISCOVERY-COMPARE"
      ],
      "source": [
        "public/app.js:225",
        "public/app.js:432",
        "public/discovery-tools.js:29",
        "public/discovery-tools.js:43"
      ],
      "testRefs": [
        "tests/discovery-frontend.test.cjs:29",
        "tests/discovery-frontend.test.cjs:34",
        "tests/discovery-tools-browser.mjs:372"
      ],
      "acceptance": {
        "en": [
          "Given three selected offers, when a fourth comparison control is used, then the fourth is disabled or rejected while existing selections remain removable.",
          "Given two selected offers, when the comparison opens, then objective fields appear; removing one closes the dialog and restores focus."
        ],
        "pt": [
          "Dadas três ofertas selecionadas, quando um quarto controle de comparação é usado, então ele fica desabilitado ou é rejeitado e as seleções existentes continuam removíveis.",
          "Dadas duas ofertas selecionadas, quando a comparação abre, então os campos objetivos aparecem; remover uma fecha a janela e restaura o foco."
        ]
      },
      "apiRefs": [
        "getOwnDiscoveryTools",
        "saveOwnDiscoveryTools"
      ],
      "entities": [
        "discovery_tools"
      ],
      "acceptanceIds": [
        "AC-FR-033-1",
        "AC-FR-033-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 225,
          "label": "public/app.js:225"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 432,
          "label": "public/app.js:432"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 29,
          "label": "public/discovery-tools.js:29"
        },
        {
          "href": "sources/pilot/public/discovery-tools.js.txt",
          "line": 43,
          "label": "public/discovery-tools.js:43"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/discovery-frontend.test.cjs:29",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/discovery-frontend.test.cjs:34",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:372",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-034",
      "module": "sourcing",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Prepare a private sourcing draft from search",
        "pt": "Preparar rascunho privado de solicitação a partir da busca"
      },
      "description": {
        "en": "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.",
        "pt": "Após uma busca, mostrar o formulário de solicitação para buyer, holder e admin abaixo dos resultados e alternativas. Preencher categoria, mercado e intenção de aporte em USD reconhecidos, deixar consentimento desmarcado e preservar campos editados nas mudanças de idioma."
      },
      "roles": [
        "buyer",
        "holder",
        "admin"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/sourcing-ui.js:6",
        "public/sourcing-ui.js:16",
        "public/app.js:402"
      ],
      "testRefs": [
        "tests/sourcing-frontend.test.cjs:26",
        "tests/sourcing-frontend.test.cjs:41",
        "tests/sourcing-browser.mjs:349",
        "tests/global-search-browser.mjs:185"
      ],
      "acceptance": {
        "en": [
          "Given a query with an exact USD ticket, when the form appears, then minimum and maximum use that ticket and consent is false.",
          "Given an edited draft with explicit consent, when the language changes, then all entered fields and the consent state remain unchanged."
        ],
        "pt": [
          "Dada uma busca com aporte exato em USD, quando o formulário aparece, então mínimo e máximo usam esse aporte e o consentimento é false.",
          "Dado um rascunho editado com consentimento explícito, quando o idioma muda, então todos os campos e o estado do consentimento permanecem iguais."
        ]
      },
      "apiRefs": [
        "listOwnAssetRequests",
        "createAssetRequest",
        "getAssetRequest",
        "withdrawAssetRequest",
        "listAdminAssetRequests",
        "fictionalCatalog",
        "fictionalOfferExample"
      ],
      "entities": [
        "asset_requests"
      ],
      "acceptanceIds": [
        "AC-FR-034-1",
        "AC-FR-034-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/sourcing-ui.js.txt",
          "line": 6,
          "label": "public/sourcing-ui.js:6"
        },
        {
          "href": "sources/pilot/public/sourcing-ui.js.txt",
          "line": 16,
          "label": "public/sourcing-ui.js:16"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 402,
          "label": "public/app.js:402"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/sourcing-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing-frontend.test.cjs:26",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing-frontend.test.cjs:41",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-browser.mjs.txt",
          "line": null,
          "label": "tests/sourcing-browser.mjs:349",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:185",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-035",
      "module": "sourcing",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Submit a validated asset request",
        "pt": "Enviar uma solicitação de ativo validada"
      },
      "description": {
        "en": "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.",
        "pt": "Criar uma solicitação simulada privada com consulta de origem, categoria e mercado suportados ou Other, horizonte, limites opcionais positivos de aporte em USD, descrição sem espaços externos de 20 a 2000 caracteres e consentimento explícito. Mostrar seu identificador gerado sem criar uma ordem executável."
      },
      "roles": [
        "buyer",
        "holder",
        "admin"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/app.js:348",
        "server/sourcing.cjs:27",
        "server/sourcing.cjs:78"
      ],
      "testRefs": [
        "tests/sourcing.test.cjs:51",
        "tests/sourcing.test.cjs:121",
        "tests/sourcing.test.cjs:145",
        "tests/sourcing-browser.mjs:362"
      ],
      "acceptance": {
        "en": [
          "Given valid criteria and consent, when the form is submitted, then a submitted request with version 0 and a REQUEST ID is returned.",
          "Given reversed ticket bounds or a description shorter than 20 characters, when submitted, then validation fails and no request is inserted."
        ],
        "pt": [
          "Dados critérios válidos e consentimento, quando o formulário é enviado, então retorna uma solicitação submitted com versão 0 e identificador REQUEST.",
          "Dados limites de aporte invertidos ou descrição menor que 20 caracteres, quando enviados, então a validação falha e nenhuma solicitação é inserida."
        ]
      },
      "apiRefs": [
        "listOwnAssetRequests",
        "createAssetRequest",
        "getAssetRequest",
        "withdrawAssetRequest",
        "listAdminAssetRequests"
      ],
      "entities": [
        "asset_requests"
      ],
      "acceptanceIds": [
        "AC-FR-035-1",
        "AC-FR-035-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 348,
          "label": "public/app.js:348"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 27,
          "label": "server/sourcing.cjs:27"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 78,
          "label": "server/sourcing.cjs:78"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:51",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:121",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:145",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-browser.mjs.txt",
          "line": null,
          "label": "tests/sourcing-browser.mjs:362",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-036",
      "module": "sourcing",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Inspect and withdraw private requests",
        "pt": "Consultar e retirar solicitações privadas"
      },
      "description": {
        "en": "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.",
        "pt": "Mostrar o histórico de solicitações do titular com consulta, critérios, datas e estado submitted ou withdrawn. Expor uma visão administrativa separada e permitir retirada confirmada com versão; a visão administrativa não tem controle de retirada."
      },
      "roles": [
        "buyer",
        "holder",
        "admin"
      ],
      "screens": [
        "SCR-CATALOG",
        "SCR-ADMIN"
      ],
      "source": [
        "public/sourcing-ui.js:12",
        "public/app.js:462",
        "server/sourcing.cjs:67",
        "server/sourcing.cjs:98"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "Given an owned submitted request at version 0, when withdrawal is confirmed, then status becomes withdrawn, version becomes 1 and its withdrawal button disappears.",
          "Given a different non-admin owner, when a request ID is read, then missing is returned; the admin overview may list it with ownerId."
        ],
        "pt": [
          "Dada uma solicitação própria submitted na versão 0, quando a retirada é confirmada, então o estado passa a withdrawn, a versão passa a 1 e o botão de retirada desaparece.",
          "Dado outro titular sem papel de administrador, quando o identificador é consultado, então missing é retornado; a visão administrativa pode listá-lo com ownerId."
        ]
      },
      "apiRefs": [
        "listOwnAssetRequests",
        "createAssetRequest",
        "getAssetRequest",
        "withdrawAssetRequest",
        "listAdminAssetRequests"
      ],
      "entities": [
        "asset_requests"
      ],
      "acceptanceIds": [
        "AC-FR-036-1",
        "AC-FR-036-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/sourcing-ui.js.txt",
          "line": 12,
          "label": "public/sourcing-ui.js:12"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 462,
          "label": "public/app.js:462"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 67,
          "label": "server/sourcing.cjs:67"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 98,
          "label": "server/sourcing.cjs:98"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:99",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:205",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-browser.mjs.txt",
          "line": null,
          "label": "tests/sourcing-browser.mjs:395",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-browser.mjs.txt",
          "line": null,
          "label": "tests/sourcing-browser.mjs:412",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-browser.mjs.txt",
          "line": null,
          "label": "tests/sourcing-browser.mjs:479",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-037",
      "module": "sourcing",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Handle sourcing retries, quota and pause",
        "pt": "Tratar repetições, limite e pausa de solicitações"
      },
      "description": {
        "en": "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.",
        "pt": "Reutilizar uma chave de idempotência por titular para repetição de solicitação inalterada, rejeitar reutilização com conteúdo diferente, aplicar limite de 50 registros incluindo retirados e bloquear novos envios e transições durante pausa global, preservando consultas e resultados já registrados."
      },
      "roles": [
        "buyer",
        "holder",
        "admin"
      ],
      "screens": [
        "SCR-CATALOG"
      ],
      "source": [
        "public/app.js:355",
        "server/sourcing.cjs:81",
        "server/sourcing.cjs:98"
      ],
      "testRefs": [
        "tests/sourcing.test.cjs:160",
        "tests/sourcing.test.cjs:177",
        "tests/sourcing.test.cjs:189"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given 50 records including withdrawn requests, when a new request is submitted, then requestLimit is returned and the count remains 50."
        ],
        "pt": [
          "Dada uma solicitação já gravada e a mesma chave e conteúdo, quando repetida durante uma pausa, então a solicitação existente é retornada sem outra inserção.",
          "Dados 50 registros incluindo retirados, quando uma nova solicitação é enviada, então requestLimit é retornado e a quantidade permanece 50."
        ]
      },
      "apiRefs": [
        "listOwnAssetRequests",
        "createAssetRequest",
        "getAssetRequest",
        "withdrawAssetRequest",
        "listAdminAssetRequests"
      ],
      "entities": [
        "asset_requests"
      ],
      "acceptanceIds": [
        "AC-FR-037-1",
        "AC-FR-037-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 355,
          "label": "public/app.js:355"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 81,
          "label": "server/sourcing.cjs:81"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 98,
          "label": "server/sourcing.cjs:98"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:160",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:177",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:189",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-038",
      "module": "shared-cases",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "List and filter accessible shared operations",
        "pt": "Listar e filtrar operações compartilhadas acessíveis"
      },
      "description": {
        "en": "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.",
        "pt": "Listar todos os casos para administradores e somente casos atribuídos para participantes, com estado, revisão, contexto do ativo, data de atualização e indicadores de pausa ou arquivamento. Filtrar por estado, categoria e texto do título, identificador ou ativo."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-OPERATIONS"
      ],
      "source": [
        "public/app.js:187",
        "server/service.cjs:37",
        "server/service.cjs:57"
      ],
      "testRefs": [
        "tests/security.test.cjs:73",
        "tests/api.test.cjs:22"
      ],
      "acceptance": {
        "en": [
          "Given an assigned participant and an unrelated account, when each lists cases, then only the assigned participant sees that case.",
          "Given several accessible operations, when a status and category filter are applied, then only operations matching both remain visible."
        ],
        "pt": [
          "Dados um participante atribuído e uma conta sem vínculo, quando cada um lista casos, então somente o participante atribuído vê esse caso.",
          "Dadas várias operações acessíveis, quando filtros de estado e categoria são aplicados, então apenas operações que atendem a ambos permanecem visíveis."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-038-1",
        "AC-FR-038-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 187,
          "label": "public/app.js:187"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 37,
          "label": "server/service.cjs:37"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 57,
          "label": "server/service.cjs:57"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:73",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:22",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-039",
      "module": "shared-cases",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Create a case with five independent members",
        "pt": "Criar caso com cinco membros independentes"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir ao administrador criar caso compartilhado com título a partir de modelo ou oferta compatível do catálogo, atribuindo cinco usuários ativos distintos nos papéis holder, buyer, compliance, rails e auditor. Copiar o retrato da oferta para um caso novo sem repetir comandos de participantes da demonstração."
      },
      "roles": [
        "admin"
      ],
      "screens": [
        "SCR-ADMIN",
        "SCR-OFFER"
      ],
      "source": [
        "public/app.js:196",
        "public/app.js:376",
        "server/service.cjs:63"
      ],
      "testRefs": [
        "tests/catalog.test.cjs:321",
        "tests/catalog.test.cjs:370",
        "tests/api.test.cjs:14"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given an unknown offer or mismatched template, when case creation is requested, then the operation fails atomically without creating members or a case."
        ],
        "pt": [
          "Dados cinco usuários ativos com papéis obrigatórios distintos, quando o administrador cria um caso, então sua revisão é 0 e nenhuma oferta foi enviada por participante.",
          "Dada uma oferta desconhecida ou modelo incompatível, quando a criação é solicitada, então a operação falha integralmente sem criar membros nem caso."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-039-1",
        "AC-FR-039-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 196,
          "label": "public/app.js:196"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 376,
          "label": "public/app.js:376"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 63,
          "label": "server/service.cjs:63"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/catalog.test.cjs.txt",
          "line": null,
          "label": "tests/catalog.test.cjs:321",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog.test.cjs.txt",
          "line": null,
          "label": "tests/catalog.test.cjs:370",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:14",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-040",
      "module": "shared-cases",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Guide role-specific next actions",
        "pt": "Orientar próximas ações por papel"
      },
      "description": {
        "en": "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.",
        "pt": "Exibir jornada de seis etapas, revisão e estado atuais, próximo papel responsável e formulários específicos por papel. Exigir perfil concluído e vínculo ativo para comandos; casos pausados, arquivados ou sob pausa global continuam consultáveis com envios desabilitados."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:75",
        "public/app.js:89",
        "public/app.js:133",
        "public/app.js:283",
        "server/service.cjs:85"
      ],
      "testRefs": [
        "tests/api.test.cjs:22",
        "tests/api.test.cjs:71",
        "tests/security.test.cjs:135",
        "tests/browser.mjs:106"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Dado um caso aguardando instruções de rails, quando um comprador o abre, então o próximo papel é rails e seus formulários exclusivos não são oferecidos ao comprador.",
          "Dado um perfil incompleto ou caso pausado, quando um novo comando é enviado, então profilePending ou paused o bloqueia e as consultas permanecem disponíveis."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-040-1",
        "AC-FR-040-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 75,
          "label": "public/app.js:75"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 89,
          "label": "public/app.js:89"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 133,
          "label": "public/app.js:133"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 283,
          "label": "public/app.js:283"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 85,
          "label": "server/service.cjs:85"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:22",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:71",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:135",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/browser.mjs.txt",
          "line": null,
          "label": "tests/browser.mjs:106",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-041",
      "module": "shared-cases",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Submit and reserve a holder offer",
        "pt": "Enviar e reservar oferta do titular"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir ao titular atribuído enviar quantidade, preço unitário, custo opcional de terceiros e opção de agente com ciência explícita. Criar e enviar a solicitação para análise, reservando somente unidades disponíveis transferíveis e válidas dentro dos limites de aporte do catálogo."
      },
      "roles": [
        "holder"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:97",
        "server/kernel.cjs:86",
        "server/service.cjs:96",
        "domain/model.js:150"
      ],
      "testRefs": [
        "domain/model.test.cjs:32",
        "domain/model.test.cjs:34",
        "domain/model.test.cjs:35",
        "tests/catalog.test.cjs:396"
      ],
      "acceptance": {
        "en": [
          "Given available transferable units and an acknowledged valid offer, when the holder submits, then status becomes review and the submitted quantity is reserved.",
          "Given zero or excessive quantity, when submitted, then quantityError is returned without changing available units."
        ],
        "pt": [
          "Dadas unidades disponíveis transferíveis e oferta válida com ciência explícita, quando o titular envia, então o estado passa a review e a quantidade enviada é reservada.",
          "Dada quantidade zero ou excessiva, quando enviada, então quantityError é retornado sem alterar as unidades disponíveis."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-041-1",
        "AC-FR-041-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 97,
          "label": "public/app.js:97"
        },
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": 86,
          "label": "server/kernel.cjs:86"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 96,
          "label": "server/service.cjs:96"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 150,
          "label": "domain/model.js:150"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:32",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:34",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:35",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog.test.cjs.txt",
          "line": null,
          "label": "tests/catalog.test.cjs:396",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-042",
      "module": "shared-cases",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Record a versioned buyer mandate",
        "pt": "Registrar mandato versionado do comprador"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir ao comprador atribuído declarar país, qualificação e aporte mínimo e máximo em USD antes de um comprador ser vinculado à solicitação. Incrementar a versão do mandato e invalidar a análise anterior do comprador a cada mudança."
      },
      "roles": [
        "buyer"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:101",
        "server/kernel.cjs:91"
      ],
      "testRefs": [
        "tests/api.test.cjs:35",
        "tests/api.test.cjs:37",
        "tests/templates.test.cjs:5"
      ],
      "acceptance": {
        "en": [
          "Given no bound buyer and valid ticket bounds, when the mandate is saved, then its version increments and buyerReview becomes null.",
          "Given a mandate in a nonpermitted country, when compliance attempts approval, then buyerIneligible blocks the review."
        ],
        "pt": [
          "Dado que nenhum comprador está vinculado e os limites de aporte são válidos, quando o mandato é salvo, então sua versão aumenta e buyerReview passa a null.",
          "Dado um mandato em país não permitido, quando compliance tenta aprová-lo, então buyerIneligible bloqueia a análise."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-042-1",
        "AC-FR-042-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 101,
          "label": "public/app.js:101"
        },
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": 91,
          "label": "server/kernel.cjs:91"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:35",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:37",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/templates.test.cjs.txt",
          "line": null,
          "label": "tests/templates.test.cjs:5",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-043",
      "module": "shared-cases",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Review all gates before publication",
        "pt": "Analisar todas as condições antes da publicação"
      },
      "description": {
        "en": "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.",
        "pt": "Exigir que compliance registre verificações de titularidade, transferência, emissor, jurisdição, ônus, gateway, documentos e comprador com referência DEMO. Vincular a verificação à revisão atual da origem e ao mandato por 24 horas; somente o titular pode publicar solicitação aprovada com verificações vigentes."
      },
      "roles": [
        "compliance",
        "holder"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:105",
        "public/app.js:139",
        "server/kernel.cjs:99",
        "domain/model.js:180"
      ],
      "testRefs": [
        "domain/model.test.cjs:36",
        "domain/model.test.cjs:37",
        "domain/model.test.cjs:38",
        "tests/api.test.cjs:38"
      ],
      "acceptance": {
        "en": [
          "Given a review-stage request, when any mandatory check is false, then approval fails and publication cannot bypass review.",
          "Given completed checks and a fresh approval, when the holder publishes, then the request becomes listed; stale source revision or expired proof blocks publication."
        ],
        "pt": [
          "Dada uma solicitação em análise, quando alguma verificação obrigatória é false, então a aprovação falha e a publicação não pode contornar a análise.",
          "Dadas verificações concluídas e aprovação vigente, quando o titular publica, então a solicitação passa a listed; revisão de origem desatualizada ou prova expirada bloqueia a publicação."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-043-1",
        "AC-FR-043-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 105,
          "label": "public/app.js:105"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 139,
          "label": "public/app.js:139"
        },
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": 99,
          "label": "server/kernel.cjs:99"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 180,
          "label": "domain/model.js:180"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:36",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:37",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:38",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:38",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-044",
      "module": "negotiation",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Negotiate and accept the current quote",
        "pt": "Negociar e aceitar a proposta atual"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir a compradores elegíveis e titulares vinculados trocar preços dentro dos limites do mandato e catálogo. Cada proposta versiona termos, limpa aceitações e assinaturas anteriores e expira em até 24 horas ou no vencimento da solicitação. O acordo exige aceite de ambos da proposta atual com ciência explícita."
      },
      "roles": [
        "buyer",
        "holder"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:108",
        "public/app.js:141",
        "server/kernel.cjs:106",
        "domain/model.js:194"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Dada uma proposta do comprador seguida de contraproposta do titular, quando a contraproposta é gravada, então a versão aumenta e o aceite anterior do comprador é limpo.",
          "Dada a proposta na versão 2, quando o comprador envia aceite da versão 1, então quoteExpired é retornado; aceitar a versão 2 com ciência explícita pode levar a agreement."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-044-1",
        "AC-FR-044-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 108,
          "label": "public/app.js:108"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 141,
          "label": "public/app.js:141"
        },
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": 106,
          "label": "server/kernel.cjs:106"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 194,
          "label": "domain/model.js:194"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:39",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:40",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:41",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:42",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:41",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-045",
      "module": "negotiation",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Exchange case discussion messages",
        "pt": "Trocar mensagens de discussão no caso"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir ao titular e comprador elegível enviar mensagens não vazias de até 1200 caracteres nos estados listed, negotiating, agreement ou settlement. Exibir papel, data e texto escapado na linha de discussão."
      },
      "roles": [
        "holder",
        "buyer"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:164",
        "server/kernel.cjs:124"
      ],
      "testRefs": [
        "tests/api.test.cjs:40",
        "tests/browser.mjs:95"
      ],
      "acceptance": {
        "en": [
          "Given a listed case and eligible buyer, when a nonblank message is sent, then it appears with buyer role and timestamp.",
          "Given message text containing script markup, when the discussion renders, then the text is escaped and no script element executes."
        ],
        "pt": [
          "Dado um caso publicado e comprador elegível, quando uma mensagem não vazia é enviada, então ela aparece com papel buyer e data.",
          "Dado texto de mensagem contendo marcação de script, quando a discussão é exibida, então o texto é escapado e nenhum elemento de script é executado."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-045-1",
        "AC-FR-045-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 164,
          "label": "public/app.js:164"
        },
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": 124,
          "label": "server/kernel.cjs:124"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:40",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/browser.mjs.txt",
          "line": null,
          "label": "tests/browser.mjs:95",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-046",
      "module": "negotiation",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Close requests through permitted transitions",
        "pt": "Encerrar solicitações por transições permitidas"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir cancelamento pelo titular e rejeição por compliance antes do acordo, com motivo. Para encerrar um acordo, exigir compliance, referências de liberação de ambas as partes e do provedor e confirmação de ausência de movimentação externa. Expiração explícita é comando de domínio, não cancelamento automático da interface."
      },
      "roles": [
        "holder",
        "compliance"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:153",
        "domain/model.js:266",
        "domain/model.js:270",
        "domain/model.js:274",
        "server/service.cjs:13"
      ],
      "testRefs": [
        "domain/model.test.cjs:50",
        "domain/model.test.cjs:51",
        "domain/model.test.cjs:64"
      ],
      "acceptance": {
        "en": [
          "Given a pre-agreement listed request, when the holder cancels with a reason, then status becomes cancelled and its reservation is released.",
          "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."
        ],
        "pt": [
          "Dada uma solicitação publicada antes do acordo, quando o titular cancela com motivo, então o estado passa a cancelled e sua reserva é liberada.",
          "Dado um acordo e os demais gates do comando atendidos, quando uma referência DEMO de encerramento falta ou é inválida, então demoReference rejeita; com referências válidas mas noMovement ausente ou falso, closureRequired rejeita. Nenhuma falha altera o estado."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-046-1",
        "AC-FR-046-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 153,
          "label": "public/app.js:153"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 266,
          "label": "domain/model.js:266"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 270,
          "label": "domain/model.js:270"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 274,
          "label": "domain/model.js:274"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 13,
          "label": "server/service.cjs:13"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:50",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:51",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:64",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-047",
      "module": "negotiation",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Block progress on independently resolved issues",
        "pt": "Bloquear avanço até resolução independente de ocorrências"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir a participantes autorizados abrir ocorrência com motivo. Bloquear avanço financeiro enquanto estiver aberta e permitir resolução por compliance ou auditor somente por ator diferente do criador, com motivo e referência DEMO."
      },
      "roles": [
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:153",
        "domain/model.js:281",
        "domain/model.js:287"
      ],
      "testRefs": [
        "domain/model.test.cjs:52",
        "domain/model.test.cjs:65",
        "tests/api.test.cjs:55"
      ],
      "acceptance": {
        "en": [
          "Given an open settlement issue, when rails tries to record a leg, then issueOpen blocks it.",
          "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."
        ],
        "pt": [
          "Dada uma ocorrência aberta na liquidação, quando rails tenta registrar uma etapa, então issueOpen a bloqueia.",
          "Dado que compliance criou uma ocorrência, quando o mesmo ator tenta resolvê-la, então independence impede a resolução; um auditor distinto com evidência válida pode resolvê-la."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-047-1",
        "AC-FR-047-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 153,
          "label": "public/app.js:153"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 281,
          "label": "domain/model.js:281"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 287,
          "label": "domain/model.js:287"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:52",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:65",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:55",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-048",
      "module": "settlement",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Show cent-accurate illustrative economics",
        "pt": "Mostrar economia ilustrativa com precisão de centavos"
      },
      "description": {
        "en": "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.",
        "pt": "Calcular principal a partir de quantidade e preço com unidades exatas, aplicar taxa GlemO de 1.2% e taxa adicional opcional de agente de 1%, preservar custos de terceiros e tributos desconhecidos como desconhecidos e informar líquido antes desses valores e ausência de cobrança."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-OFFER",
        "SCR-CASE",
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/app.js:172",
        "public/catalog-ui.js:47",
        "domain/model.js:41"
      ],
      "testRefs": [
        "domain/model.test.cjs:28",
        "domain/model.test.cjs:30",
        "domain/model.test.cjs:31",
        "tests/frontend.test.cjs:17"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Dadas quantidade 250 e preço unitário USD 105 com agente habilitado, quando a economia é calculada, então o principal é 2625000 centavos e cada taxa é 26250 centavos.",
          "Dado que nenhum custo de terceiros foi informado, quando o resumo financeiro é exibido, então esse custo e tributo permanecem desconhecidos e o líquido é identificado antes de custos e tributos desconhecidos."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-048-1",
        "AC-FR-048-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 172,
          "label": "public/app.js:172"
        },
        {
          "href": "sources/pilot/public/catalog-ui.js.txt",
          "line": 47,
          "label": "public/catalog-ui.js:47"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 41,
          "label": "domain/model.js:41"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:28",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:30",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:31",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:17",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-049",
      "module": "settlement",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Bind settlement to jointly acknowledged instructions",
        "pt": "Vincular liquidação a instruções aceitas por ambas as partes"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir a rails versionar instruções DEMO de destino, beneficiário, controle de conta e provedor, invalidando assinaturas anteriores. Exigir ciência de ambas as partes da proposta atual e do retrato de instruções antes de rails iniciar a liquidação, revalidando elegibilidade do comprador e titularidade vigente."
      },
      "roles": [
        "rails",
        "holder",
        "buyer"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:113",
        "public/app.js:122",
        "public/app.js:142",
        "domain/model.js:213",
        "domain/model.js:220",
        "domain/model.js:229"
      ],
      "testRefs": [
        "domain/model.test.cjs:43",
        "domain/model.test.cjs:44",
        "domain/model.test.cjs:60",
        "domain/model.test.cjs:61",
        "tests/browser.mjs:102"
      ],
      "acceptance": {
        "en": [
          "Given two signed instructions, when rails changes the destination, then both signatures become null and settlement cannot begin until renewed consent.",
          "Given both current signatures and fresh checks, when rails begins settlement, then a settlement snapshot is created using those exact instructions."
        ],
        "pt": [
          "Dadas instruções assinadas pelas duas partes, quando rails altera o destino, então ambas as assinaturas passam a null e a liquidação não inicia até renovar o consentimento.",
          "Dadas ambas as assinaturas atuais e verificações vigentes, quando rails inicia a liquidação, então um retrato de liquidação é criado com essas instruções exatas."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-049-1",
        "AC-FR-049-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 113,
          "label": "public/app.js:113"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 122,
          "label": "public/app.js:122"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 142,
          "label": "public/app.js:142"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 213,
          "label": "domain/model.js:213"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 220,
          "label": "domain/model.js:220"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 229,
          "label": "domain/model.js:229"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:43",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:44",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:60",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:61",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/browser.mjs.txt",
          "line": null,
          "label": "tests/browser.mjs:102",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-050",
      "module": "settlement",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Record matching cash evidence once",
        "pt": "Registrar uma única evidência de pagamento compatível"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir a rails registrar uma referência DEMO de pagamento somente na liquidação sem ocorrência aberta, exigindo principal acordado em USD e beneficiário acordado. Rejeitar etapas duplicadas e divergências sem alterar o estado financeiro."
      },
      "roles": [
        "rails"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:127",
        "domain/model.js:236",
        "server/service.cjs:102"
      ],
      "testRefs": [
        "domain/model.test.cjs:45",
        "tests/api.test.cjs:51"
      ],
      "acceptance": {
        "en": [
          "Given settlement principal USD 26000, when rails submits USD 1, then cashMismatch is returned and cash remains unrecorded.",
          "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."
        ],
        "pt": [
          "Dado principal de liquidação de USD 26000, quando rails envia USD 1, então cashMismatch é retornado e o pagamento permanece não registrado.",
          "Dados principal exato, moeda USD, beneficiário e prova DEMO única, quando rails registra o pagamento, então a referência aparece e outra etapa de pagamento é rejeitada."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-050-1",
        "AC-FR-050-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 127,
          "label": "public/app.js:127"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 236,
          "label": "domain/model.js:236"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 102,
          "label": "server/service.cjs:102"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:45",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:51",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-051",
      "module": "settlement",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Record exact asset delivery evidence",
        "pt": "Registrar evidência exata de entrega do ativo"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir a rails registrar entrega somente quando quantidade, rede, referência do token, conta de origem e destino coincidirem com a liquidação assinada. Exigir prova DEMO única distinta da prova de pagamento e preservar o estado financeiro em divergências."
      },
      "roles": [
        "rails"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:130",
        "domain/model.js:242",
        "server/service.cjs:102"
      ],
      "testRefs": [
        "domain/model.test.cjs:46",
        "domain/model.test.cjs:47",
        "domain/model.test.cjs:62",
        "tests/api.test.cjs:54"
      ],
      "acceptance": {
        "en": [
          "Given agreed quantity 250, when delivery reports 249 or another destination, then deliveryMismatch is returned and no delivery is recorded.",
          "Given cash reference DEMO-CASH, when delivery reuses that same reference, then proofReused prevents the second evidence record."
        ],
        "pt": [
          "Dada quantidade acordada de 250, quando a entrega informa 249 ou outro destino, então deliveryMismatch é retornado e nenhuma entrega é registrada.",
          "Dada a referência de pagamento DEMO-CASH, quando a entrega reutiliza a mesma referência, então proofReused impede o segundo registro de evidência."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-051-1",
        "AC-FR-051-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 130,
          "label": "public/app.js:130"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 242,
          "label": "domain/model.js:242"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 102,
          "label": "server/service.cjs:102"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:46",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:47",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:62",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:54",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-052",
      "module": "settlement",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Reconcile independently and update positions",
        "pt": "Conciliar de forma independente e atualizar posições"
      },
      "description": {
        "en": "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.",
        "pt": "Exigir auditor atribuído, ambas as etapas compatíveis, assinaturas atuais, ausência de ocorrência aberta e ator independente dos responsáveis pela liquidação. Conciliar uma única vez, emitir recibo, reduzir unidades e custo proporcional do titular, criar posição do comprador e manter o emissor original."
      },
      "roles": [
        "auditor"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:147",
        "public/app.js:149",
        "domain/model.js:249"
      ],
      "testRefs": [
        "domain/model.test.cjs:47",
        "domain/model.test.cjs:48",
        "domain/model.test.cjs:49",
        "tests/api.test.cjs:61"
      ],
      "acceptance": {
        "en": [
          "Given either cash or delivery is missing, when reconciliation is attempted, then bothLegsRequired blocks completion and the submit control is disabled.",
          "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."
        ],
        "pt": [
          "Dada ausência de pagamento ou entrega, quando a conciliação é tentada, então bothLegsRequired bloqueia a conclusão e o controle de envio fica desabilitado.",
          "Dados auditor independente válido e ambas as etapas para 250 de 1000 unidades, quando conciliadas, então o titular mantém 750 unidades, o comprador recebe 250 e uma nova conciliação é rejeitada."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-052-1",
        "AC-FR-052-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 147,
          "label": "public/app.js:147"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 149,
          "label": "public/app.js:149"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 249,
          "label": "domain/model.js:249"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:47",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:48",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:49",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:61",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-053",
      "module": "privacy",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Reveal only contextual counterparties",
        "pt": "Revelar somente contrapartes contextuais"
      },
      "description": {
        "en": "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.",
        "pt": "Antes da publicação ocultar a identidade do vendedor do comprador; antes de uma proposta válida do comprador ocultar seu mandato e identidade do titular. Revelar o contexto comercial permitido depois, omitir identificadores privados dos demais participantes e nunca apresentar o comprador de referência do catálogo como outro participante real do caso."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CASE",
        "SCR-OFFER",
        "SCR-REHEARSAL"
      ],
      "source": [
        "server/privacy.cjs:16",
        "server/privacy.cjs:23",
        "server/service.cjs:42"
      ],
      "testRefs": [
        "tests/privacy.test.cjs:244",
        "tests/privacy.test.cjs:285",
        "tests/privacy.test.cjs:320",
        "tests/privacy.test.cjs:355"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Dado um titular antes da primeira proposta válida do comprador, quando o caso ou sua exportação é consultado, então mandato e identidade do comprador são omitidos.",
          "Dada uma proposta válida do comprador em caso compartilhado derivado do catálogo, quando participantes são projetados, então o comprador comercial atribuído pode aparecer e o comprador fictício de referência continua ausente."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-053-1",
        "AC-FR-053-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 16,
          "label": "server/privacy.cjs:16"
        },
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 23,
          "label": "server/privacy.cjs:23"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 42,
          "label": "server/service.cjs:42"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:244",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:285",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:320",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:355",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-054",
      "module": "shared-cases",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Collect private role-scoped usability feedback",
        "pt": "Coletar feedback de uso privado por papel"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir a membros do caso sem papel de administrador enviar nota de 1 a 5 e texto opcional de até 1200 caracteres. Mostrar somente feedback do papel do observador, permitindo ao administrador consultar todos; excluir feedback das notificações e das exportações e projeções de auditoria dos demais papéis."
      },
      "roles": [
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:169",
        "server/kernel.cjs:130",
        "server/privacy.cjs:25",
        "server/service.cjs:104",
        "server/service.cjs:136"
      ],
      "testRefs": [
        "tests/security.test.cjs:100",
        "tests/api.test.cjs:61",
        "tests/browser.mjs:114"
      ],
      "acceptance": {
        "en": [
          "Given buyer feedback, when the holder reads or exports the case, then that feedback text and its audit entry are absent.",
          "Given a participant score outside 1 to 5, when feedback is submitted, then invalid is returned and no feedback is added."
        ],
        "pt": [
          "Dado feedback do comprador, quando o titular consulta ou exporta o caso, então esse texto e sua entrada de auditoria estão ausentes.",
          "Dada uma nota de participante fora de 1 a 5, quando o feedback é enviado, então invalid é retornado e nenhum feedback é acrescentado."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-054-1",
        "AC-FR-054-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 169,
          "label": "public/app.js:169"
        },
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": 130,
          "label": "server/kernel.cjs:130"
        },
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 25,
          "label": "server/privacy.cjs:25"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 104,
          "label": "server/service.cjs:104"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 136,
          "label": "server/service.cjs:136"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:100",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:61",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/browser.mjs.txt",
          "line": null,
          "label": "tests/browser.mjs:114",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-055",
      "module": "audit",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Inspect history and export scoped case evidence",
        "pt": "Consultar histórico e exportar evidências do caso com escopo restrito"
      },
      "description": {
        "en": "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.",
        "pt": "Mostrar atividade do caso em ordem cronológica inversa e baixar relatório de simulação filtrado por papel, auditoria do servidor em JSON e CSV com ator, papel, ação, revisão e campos de encadeamento de hashes. Informar taxas não recebidas e que a evidência filtrada não constitui cadeia completa certificada de forma independente."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:175",
        "public/app.js:503",
        "server/service.cjs:134"
      ],
      "testRefs": [
        "tests/api.test.cjs:71",
        "tests/security.test.cjs:100",
        "tests/recovery.test.cjs:60",
        "tests/browser.mjs:115"
      ],
      "acceptance": {
        "en": [
          "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.",
          "Given audit export by a non-admin, when records are read, then foreign actor IDs are pseudonymized and the integrity statement explains role filtering."
        ],
        "pt": [
          "Dado um membro do caso, quando o relatório JSON é baixado, então simulation é true, feeCollectionStatus indica taxas não recebidas e feedback privado de outros papéis está ausente.",
          "Dada exportação de auditoria por não administrador, quando os registros são lidos, então identificadores de outros atores são pseudonimizados e a declaração de integridade explica a filtragem por papel."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-055-1",
        "AC-FR-055-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 175,
          "label": "public/app.js:175"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 503,
          "label": "public/app.js:503"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 134,
          "label": "server/service.cjs:134"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:71",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:100",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:60",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/browser.mjs.txt",
          "line": null,
          "label": "tests/browser.mjs:115",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-056",
      "module": "admin",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Manage invitations and reset links",
        "pt": "Gerenciar convites e links de redefinição"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir ao administrador emitir convites de entrada por 24 horas com papel de participante e organização DEMO atribuídos, opcionalmente preenchidos a partir de empresas fictícias. Exibir, copiar e dispensar o link privado retornado, listar estado de convites, revogá-los e gerar links de redefinição para contas ativas sem papel de administrador."
      },
      "roles": [
        "admin"
      ],
      "screens": [
        "SCR-ADMIN"
      ],
      "source": [
        "public/app.js:195",
        "public/app.js:196",
        "public/app.js:405",
        "public/app.js:497",
        "server/service.cjs:130",
        "server/auth.cjs:39"
      ],
      "testRefs": [
        "tests/security.test.cjs:221",
        "tests/api.test.cjs:80"
      ],
      "acceptance": {
        "en": [
          "Given an unused pending invitation, when the admin revokes it, then the invitation is marked revoked and activation fails.",
          "Given an active non-admin account, when a reset link is generated twice, then the newer link replaces previous unused reset invitations."
        ],
        "pt": [
          "Dado um convite pendente não utilizado, quando o administrador o revoga, então ele é marcado como revogado e a ativação falha.",
          "Dada uma conta ativa sem papel de administrador, quando um link de redefinição é gerado duas vezes, então o mais recente substitui os convites de redefinição anteriores não utilizados."
        ]
      },
      "apiRefs": [
        "users",
        "controlUser",
        "resetUser",
        "invites",
        "inviteUser",
        "revokeInvite",
        "globalControl",
        "metrics",
        "securityEvents",
        "backup",
        "createCase",
        "controlCase",
        "internalFictionalFixtureSelector"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-056-1",
        "AC-FR-056-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 195,
          "label": "public/app.js:195"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 196,
          "label": "public/app.js:196"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 405,
          "label": "public/app.js:405"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 497,
          "label": "public/app.js:497"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 130,
          "label": "server/service.cjs:130"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 39,
          "label": "server/auth.cjs:39"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:221",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:80",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-057",
      "module": "admin",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Disable or re-enable participant accounts",
        "pt": "Desativar ou reativar contas de participantes"
      },
      "description": {
        "en": "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.",
        "pt": "Mostrar atividade e conclusão de perfil dos participantes. Confirmar desativação, revogar sessões e convites pendentes destinados à conta e pausar seus casos; reativar restaura a atividade sem remover automaticamente a pausa dos casos. Contas de administrador não podem ser controladas por essa ação."
      },
      "roles": [
        "admin"
      ],
      "screens": [
        "SCR-ADMIN"
      ],
      "source": [
        "public/app.js:198",
        "public/app.js:499",
        "server/service.cjs:122"
      ],
      "testRefs": [
        "tests/security.test.cjs:190",
        "tests/api.test.cjs:80"
      ],
      "acceptance": {
        "en": [
          "Given an active participant assigned to a case, when disabling is confirmed, then its sessions are revoked and the case is paused.",
          "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."
        ],
        "pt": [
          "Dado um participante ativo atribuído a um caso, quando a desativação é confirmada, então suas sessões são revogadas e o caso é pausado.",
          "Dados um participante desativado e um caso pausado, quando a conta é reativada, então a conta fica ativa e o caso continua pausado até controle separado do caso."
        ]
      },
      "apiRefs": [
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword",
        "users",
        "controlUser",
        "resetUser",
        "invites",
        "inviteUser",
        "revokeInvite",
        "globalControl",
        "metrics",
        "securityEvents",
        "backup",
        "createCase",
        "controlCase",
        "internalFictionalFixtureSelector"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-FR-057-1",
        "AC-FR-057-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 198,
          "label": "public/app.js:198"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 499,
          "label": "public/app.js:499"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 122,
          "label": "server/service.cjs:122"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:190",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:80",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-058",
      "module": "admin",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Read pilot metrics and the security journal",
        "pt": "Consultar métricas do piloto e registro de segurança"
      },
      "description": {
        "en": "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.",
        "pt": "Mostrar quantidade de contas ativas, casos compartilhados, casos conciliados e volume conciliado ilustrativo, distinguindo explicitamente receita real igual a zero. Exibir até 200 eventos recentes de segurança com data, ação e identificador de ator somente para administradores."
      },
      "roles": [
        "admin"
      ],
      "screens": [
        "SCR-ADMIN"
      ],
      "source": [
        "public/app.js:196",
        "public/app.js:329",
        "server/service.cjs:142",
        "server/app.cjs:124"
      ],
      "testRefs": [
        "tests/api.test.cjs:14",
        "tests/security.test.cjs:73",
        "tests/rehearsal-security.test.cjs:329",
        "tests/rehearsal-browser.mjs:94"
      ],
      "acceptance": {
        "en": [
          "Given reconciled shared cases, when metrics are read by an admin, then illustrative volume sums those cases and realRevenueCents remains zero.",
          "Given a completed private rehearsal, when shared metrics are refreshed, then it does not increase shared reconciled count or illustrative shared volume."
        ],
        "pt": [
          "Dados casos compartilhados conciliados, quando o administrador consulta métricas, então o volume ilustrativo soma esses casos e realRevenueCents permanece zero.",
          "Dado um ensaio privado concluído, quando métricas compartilhadas são atualizadas, então ele não aumenta a contagem conciliada nem o volume ilustrativo compartilhado."
        ]
      },
      "apiRefs": [
        "users",
        "controlUser",
        "resetUser",
        "invites",
        "inviteUser",
        "revokeInvite",
        "globalControl",
        "metrics",
        "securityEvents",
        "backup",
        "createCase",
        "controlCase",
        "internalFictionalFixtureSelector"
      ],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-058-1",
        "AC-FR-058-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 196,
          "label": "public/app.js:196"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 329,
          "label": "public/app.js:329"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 142,
          "label": "server/service.cjs:142"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 124,
          "label": "server/app.cjs:124"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:14",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:73",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:329",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:94",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-059",
      "module": "admin",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Pause global processing or archive a case",
        "pt": "Pausar processamento global ou arquivar um caso"
      },
      "description": {
        "en": "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.",
        "pt": "Aplicar controles administrativos com motivo não vazio para pausar processamento global ou pausar e arquivar casos individuais. Preservar consultas e exportações, bloquear novos comandos de caso durante pausa ou arquivamento e permitir que controles autorizados revertam o estado."
      },
      "roles": [
        "admin"
      ],
      "screens": [
        "SCR-ADMIN",
        "SCR-CASE"
      ],
      "source": [
        "public/app.js:205",
        "public/app.js:377",
        "server/service.cjs:90",
        "server/service.cjs:113"
      ],
      "testRefs": [
        "tests/api.test.cjs:71",
        "tests/rehearsal-security.test.cjs:262",
        "tests/sourcing.test.cjs:189",
        "tests/discovery.test.cjs:180"
      ],
      "acceptance": {
        "en": [
          "Given global pause enabled with a reason, when a participant submits a new case command, then paused is returned while case export still succeeds.",
          "Given a case marked archived, when another command is submitted, then archived blocks it until an administrator removes the archive flag."
        ],
        "pt": [
          "Dada pausa global habilitada com motivo, quando um participante envia novo comando de caso, então paused é retornado e a exportação continua disponível.",
          "Dado um caso arquivado, quando outro comando é enviado, então archived o bloqueia até que um administrador remova o arquivamento."
        ]
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase",
        "users",
        "controlUser",
        "resetUser",
        "invites",
        "inviteUser",
        "revokeInvite",
        "globalControl",
        "metrics",
        "securityEvents",
        "backup",
        "createCase",
        "controlCase",
        "internalFictionalFixtureSelector"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-FR-059-1",
        "AC-FR-059-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 205,
          "label": "public/app.js:205"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 377,
          "label": "public/app.js:377"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 90,
          "label": "server/service.cjs:90"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 113,
          "label": "server/service.cjs:113"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:71",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:262",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:189",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:180",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-060",
      "module": "recovery",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Create and restore validated pilot backups",
        "pt": "Criar e restaurar cópias validadas do piloto"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir ao administrador criar cópia e consultar nome e SHA-256 na interface. Disponibilizar restauração por CLI com ambiente parado, validar a cópia preparada, preservar registros do piloto e revogar sessões restauradas e convites não utilizados; restauração não é ação do navegador."
      },
      "roles": [
        "admin"
      ],
      "screens": [
        "SCR-ADMIN"
      ],
      "source": [
        "public/app.js:501",
        "server/app.cjs:128",
        "server/store.cjs:65",
        "scripts/manage.cjs:16"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "Given an administrator, when backup is requested successfully, then the response exposes snapshot name and SHA-256 for display.",
          "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."
        ],
        "pt": [
          "Dado um administrador, quando a cópia é solicitada com sucesso, então a resposta expõe nome da cópia e SHA-256 para exibição.",
          "Dados cópia válida e ambiente parado, quando a restauração ocorre pela CLI, então evidências e registros privados são preservados e sessões anteriores e convites não utilizados são revogados."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-060-1",
        "AC-FR-060-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 501,
          "label": "public/app.js:501"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 128,
          "label": "server/app.cjs:128"
        },
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 65,
          "label": "server/store.cjs:65"
        },
        {
          "href": "sources/pilot/scripts/manage.cjs.txt",
          "line": 16,
          "label": "scripts/manage.cjs:16"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:145",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:166",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:197",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:210",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:263",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-recovery.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-recovery.test.cjs:165",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-061",
      "module": "notifications",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Read owner-scoped in-app notifications",
        "pt": "Consultar notificações do titular no aplicativo"
      },
      "description": {
        "en": "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.",
        "pt": "Notificar outros membros do caso com preferência habilitada após criação do caso e comandos concluídos diferentes de feedback. Mostrar indicador de não lidas e as últimas 100 entradas do titular com ação, data e link do caso; permitir somente ao titular marcar uma entrada como lida."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-SHELL",
        "SCR-NOTIFICATIONS"
      ],
      "source": [
        "public/app.js:200",
        "public/app.js:260",
        "public/app.js:502",
        "server/service.cjs:58",
        "server/service.cjs:140"
      ],
      "testRefs": [
        "tests/api.test.cjs:61",
        "tests/privacy.test.cjs:334",
        "tests/recovery.test.cjs:127"
      ],
      "acceptance": {
        "en": [
          "Given another member with inApp enabled, when a case command commits, then an unread entry appears with its case ID and action.",
          "Given a notification belonging to another account, when marking it read is attempted, then missing is returned and its read flag is unchanged."
        ],
        "pt": [
          "Dado outro membro com inApp habilitado, quando um comando de caso é gravado, então aparece entrada não lida com identificador do caso e ação.",
          "Dada uma notificação de outra conta, quando há tentativa de marcá-la como lida, então missing é retornado e seu estado não muda."
        ]
      },
      "apiRefs": [
        "notifications",
        "readNotification"
      ],
      "entities": [
        "notifications"
      ],
      "acceptanceIds": [
        "AC-FR-061-1",
        "AC-FR-061-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 200,
          "label": "public/app.js:200"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 260,
          "label": "public/app.js:260"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 502,
          "label": "public/app.js:502"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 58,
          "label": "server/service.cjs:58"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 140,
          "label": "server/service.cjs:140"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:61",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:334",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:127",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-062",
      "module": "rehearsals",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Create and resume private individual rehearsals",
        "pt": "Criar e retomar ensaios individuais privados"
      },
      "description": {
        "en": "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.",
        "pt": "Iniciar compra ou venda padrão privada a partir de uma oferta, ou escolher oferta, papel simulado buyer ou holder e um dos seis cenários avançados. Listar somente sessões do titular com filtros de ativas, concluídas ou todas e contagens de progresso; rejeitar acesso por outros titulares, inclusive administradores."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-OFFER",
        "SCR-REHEARSALS",
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/app.js:470",
        "public/rehearsal-ui.js:68",
        "public/rehearsal-ui.js:78",
        "server/rehearsal.cjs:193",
        "server/rehearsal.cjs:218"
      ],
      "testRefs": [
        "tests/rehearsal.test.cjs:24",
        "tests/rehearsal-security.test.cjs:386",
        "tests/rehearsal-browser.mjs:59"
      ],
      "acceptance": {
        "en": [
          "Given an offer and a holder account, when its sale action is selected, then a standard rehearsal starts with simulated role holder.",
          "Given a private rehearsal ID owned by another user, when any other account including an administrator reads it, then missing is returned."
        ],
        "pt": [
          "Dadas uma oferta e uma conta holder, quando a ação de venda é selecionada, então inicia ensaio padrão com papel simulado holder.",
          "Dado um identificador de ensaio privado de outro usuário, quando qualquer outra conta inclusive administrador o consulta, então missing é retornado."
        ]
      },
      "apiRefs": [
        "listPersonalRehearsals",
        "startPersonalRehearsal",
        "getPersonalRehearsal",
        "commandPersonalRehearsal",
        "savePersonalRehearsalFeedback",
        "exportPersonalRehearsal"
      ],
      "entities": [
        "rehearsals"
      ],
      "acceptanceIds": [
        "AC-FR-062-1",
        "AC-FR-062-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 470,
          "label": "public/app.js:470"
        },
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 68,
          "label": "public/rehearsal-ui.js:68"
        },
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 78,
          "label": "public/rehearsal-ui.js:78"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 193,
          "label": "server/rehearsal.cjs:193"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 218,
          "label": "server/rehearsal.cjs:218"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/rehearsal.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal.test.cjs:24",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:386",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:59",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-063",
      "module": "rehearsals",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Run the individual transaction journey with automated roles",
        "pt": "Executar jornada individual com papéis automatizados"
      },
      "description": {
        "en": "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.",
        "pt": "Apresentar próxima ação disponível, fluxo de seis etapas, proposta, acordo, economia, posições e histórico distinguindo ações humanas de automáticas. Contrapartes e papéis operacionais determinísticos usam as mesmas condições de domínio para avançar por oferta, negociação, ciência, liquidação e conciliação sem efeitos em casos compartilhados."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/rehearsal-ui.js:87",
        "public/rehearsal-ui.js:109",
        "public/rehearsal-ui.js:155",
        "server/rehearsal.cjs:66"
      ],
      "testRefs": [
        "tests/rehearsal.test.cjs:24",
        "tests/rehearsal-security.test.cjs:329",
        "tests/rehearsal-browser.mjs:80"
      ],
      "acceptance": {
        "en": [
          "Given a standard buyer rehearsal, when valid next actions are acknowledged through reconciliation, then it completes and shows acquired units and a simulated receipt.",
          "Given completion of a rehearsal, when shared cases and external-evidence counts are checked, then they remain unchanged and no real fee is collected."
        ],
        "pt": [
          "Dado um ensaio padrão de comprador, quando próximas ações válidas são confirmadas até a conciliação, então ele é concluído e mostra unidades adquiridas e recibo simulado.",
          "Dada a conclusão de um ensaio, quando quantidades de casos compartilhados e evidências externas são verificadas, então permanecem iguais e nenhuma taxa real é recebida."
        ]
      },
      "apiRefs": [
        "listPersonalRehearsals",
        "startPersonalRehearsal",
        "getPersonalRehearsal",
        "commandPersonalRehearsal",
        "savePersonalRehearsalFeedback",
        "exportPersonalRehearsal"
      ],
      "entities": [
        "rehearsals"
      ],
      "acceptanceIds": [
        "AC-FR-063-1",
        "AC-FR-063-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 87,
          "label": "public/rehearsal-ui.js:87"
        },
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 109,
          "label": "public/rehearsal-ui.js:109"
        },
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 155,
          "label": "public/rehearsal-ui.js:155"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 66,
          "label": "server/rehearsal.cjs:66"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/rehearsal.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal.test.cjs:24",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:329",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:80",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-064",
      "module": "rehearsals",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Exercise and repair five adverse scenarios",
        "pt": "Exercitar e corrigir cinco cenários adversos"
      },
      "description": {
        "en": "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.",
        "pt": "Suportar recusa de contraproposta, documentos ausentes, comprador inelegível, proposta expirada e divergência na liquidação além do fluxo padrão. Oferecer comandos de correção específicos e manter o relógio sintético de expiração de proposta separado do prazo real da campanha."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-REHEARSALS",
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/rehearsal-ui.js:4",
        "server/rehearsal.cjs:27",
        "server/rehearsal.cjs:38",
        "server/rehearsal.cjs:74",
        "server/rehearsal.cjs:102"
      ],
      "testRefs": [
        "tests/rehearsal.test.cjs:24",
        "tests/commerce.test.cjs:50",
        "tests/rehearsal-browser.mjs:63",
        "tests/rehearsal-browser.mjs:83"
      ],
      "acceptance": {
        "en": [
          "Given a missing_documents rehearsal, when proposing before restore_documents, then checklistRequired is recorded; restoring documents permits progression.",
          "Given settlement_mismatch, when reconciliation is attempted before resolve_mismatch, then issueOpen blocks it; resolving the mismatch allows reconciliation."
        ],
        "pt": [
          "Dado um ensaio missing_documents, quando uma proposta é enviada antes de restore_documents, então checklistRequired é registrado; restaurar documentos permite avançar.",
          "Dado settlement_mismatch, quando a conciliação é tentada antes de resolve_mismatch, então issueOpen a bloqueia; resolver a divergência permite conciliar."
        ]
      },
      "apiRefs": [
        "listPersonalRehearsals",
        "startPersonalRehearsal",
        "getPersonalRehearsal",
        "commandPersonalRehearsal",
        "savePersonalRehearsalFeedback",
        "exportPersonalRehearsal"
      ],
      "entities": [
        "rehearsals"
      ],
      "acceptanceIds": [
        "AC-FR-064-1",
        "AC-FR-064-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 4,
          "label": "public/rehearsal-ui.js:4"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 27,
          "label": "server/rehearsal.cjs:27"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 38,
          "label": "server/rehearsal.cjs:38"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 74,
          "label": "server/rehearsal.cjs:74"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 102,
          "label": "server/rehearsal.cjs:102"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/rehearsal.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal.test.cjs:24",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/commerce.test.cjs.txt",
          "line": null,
          "label": "tests/commerce.test.cjs:50",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:63",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:83",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-065",
      "module": "rehearsals",
      "status": "implemented-simulation",
      "phase": "pilot",
      "title": {
        "en": "Abandon an individual rehearsal without claiming cancellation",
        "pt": "Abandonar ensaio individual sem alegar cancelamento"
      },
      "description": {
        "en": "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.",
        "pt": "Exigir confirmação explícita para abandonar ensaio não concluído, registrar resultado privado abandoned, remover novas ações do fluxo e manter estado financeiro e histórico de domínio existentes, sem alegar reversão da liquidação."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-REHEARSAL",
        "SCR-REHEARSALS"
      ],
      "source": [
        "public/rehearsal-ui.js:123",
        "public/rehearsal-ui.js:130",
        "server/rehearsal.cjs:58",
        "server/rehearsal.cjs:69"
      ],
      "testRefs": [
        "tests/rehearsal.test.cjs:50",
        "tests/rehearsal-security.test.cjs:233"
      ],
      "acceptance": {
        "en": [
          "Given an unfinished rehearsal, when abandon is submitted without confirmed true, then consentRequired is recorded and the rehearsal remains active.",
          "Given explicit confirmation, when abandonment succeeds, then phase is abandoned and availableActions is empty while existing financial evidence is retained."
        ],
        "pt": [
          "Dado um ensaio não concluído, quando abandon é enviado sem confirmed true, então consentRequired é registrado e o ensaio permanece ativo.",
          "Dada confirmação explícita, quando o abandono é concluído, então phase é abandoned e availableActions fica vazio enquanto evidências financeiras existentes são mantidas."
        ]
      },
      "apiRefs": [
        "listPersonalRehearsals",
        "startPersonalRehearsal",
        "getPersonalRehearsal",
        "commandPersonalRehearsal",
        "savePersonalRehearsalFeedback",
        "exportPersonalRehearsal"
      ],
      "entities": [
        "rehearsals"
      ],
      "acceptanceIds": [
        "AC-FR-065-1",
        "AC-FR-065-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 123,
          "label": "public/rehearsal-ui.js:123"
        },
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 130,
          "label": "public/rehearsal-ui.js:130"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 58,
          "label": "server/rehearsal.cjs:58"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 69,
          "label": "server/rehearsal.cjs:69"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/rehearsal.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal.test.cjs:50",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:233",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-066",
      "module": "rehearsals",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Save private feedback and export rehearsal results",
        "pt": "Salvar feedback privado e exportar resultados do ensaio"
      },
      "description": {
        "en": "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.",
        "pt": "Salvar ou substituir nota de 1 a 5 e texto opcional de até 1200 caracteres do titular na revisão atual do ensaio. Exportar JSON privado ou HTML independente traduzido sem scripts, com estado projetado, resultados, contagens humanas e automáticas, tentativas bloqueadas, duração real e escopo fictício da evidência."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/app.js:367",
        "public/app.js:481",
        "public/rehearsal-ui.js:166",
        "public/rehearsal-ui.js:223",
        "server/rehearsal.cjs:179",
        "server/rehearsal.cjs:213"
      ],
      "testRefs": [
        "tests/rehearsal-frontend.test.cjs:19",
        "tests/rehearsal-browser.mjs:86",
        "tests/rehearsal-browser.mjs:89",
        "tests/rehearsal-recovery.test.cjs:137"
      ],
      "acceptance": {
        "en": [
          "Given the current rehearsal revision and valid feedback, when saved, then feedback persists after reload and the revision increments.",
          "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."
        ],
        "pt": [
          "Dadas revisão atual do ensaio e avaliação válida, quando salvas, então o feedback persiste após recarregar e a revisão aumenta.",
          "Dado feedback com marcação HTML, quando a exportação HTML é baixada, então a marcação é escapada, nenhum script executa e o relatório mantém receita real zero e escopo de simulação."
        ]
      },
      "apiRefs": [
        "listPersonalRehearsals",
        "startPersonalRehearsal",
        "getPersonalRehearsal",
        "commandPersonalRehearsal",
        "savePersonalRehearsalFeedback",
        "exportPersonalRehearsal"
      ],
      "entities": [
        "rehearsals"
      ],
      "acceptanceIds": [
        "AC-FR-066-1",
        "AC-FR-066-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 367,
          "label": "public/app.js:367"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 481,
          "label": "public/app.js:481"
        },
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 166,
          "label": "public/rehearsal-ui.js:166"
        },
        {
          "href": "sources/pilot/public/rehearsal-ui.js.txt",
          "line": 223,
          "label": "public/rehearsal-ui.js:223"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 179,
          "label": "server/rehearsal.cjs:179"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 213,
          "label": "server/rehearsal.cjs:213"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/rehearsal-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-frontend.test.cjs:19",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:86",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:89",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-recovery.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-recovery.test.cjs:137",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-067",
      "module": "recovery",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Recover visibly from stale writes and request failures",
        "pt": "Recuperar de forma visível após escritas desatualizadas e falhas"
      },
      "description": {
        "en": "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.",
        "pt": "Enviar comandos com revisões atuais do caso ou ensaio e chaves estáveis de repetição, rejeitar repetições desatualizadas ou alteradas e gravar cada chave uma vez. Preservar tentativas bloqueadas de ensaio sem mudança financeira, mostrar erros traduzidos de rede e integridade e oferecer recarga explícita com aviso de alterações não salvas. A consulta automática do caso apenas anuncia atualizações disponíveis."
      },
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "SCR-SHELL",
        "SCR-CASE",
        "SCR-REHEARSAL"
      ],
      "source": [
        "public/app.js:303",
        "public/app.js:361",
        "public/app.js:390",
        "public/app.js:493",
        "public/app.js:527",
        "server/service.cjs:88",
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "Given the same committed command and retry key, when resent unchanged, then it replays without a duplicate financial action; changed payload reuse returns conflict.",
          "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."
        ],
        "pt": [
          "Dado o mesmo comando gravado e sua chave, quando reenviado sem mudanças, então o resultado é repetido sem duplicar ação financeira; reutilização com conteúdo alterado retorna conflict.",
          "Dada uma ação inválida de ensaio com erro de domínio reconhecido, quando tentada, então uma tentativa bloqueada e revisão são salvas enquanto o estado financeiro anterior permanece igual."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-067-1",
        "AC-FR-067-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 303,
          "label": "public/app.js:303"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 361,
          "label": "public/app.js:361"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 390,
          "label": "public/app.js:390"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 493,
          "label": "public/app.js:493"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 527,
          "label": "public/app.js:527"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 88,
          "label": "server/service.cjs:88"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 125,
          "label": "server/rehearsal.cjs:125"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 201,
          "label": "server/rehearsal.cjs:201"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:377",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:79",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:127",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:215",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:287",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "FR-068",
      "module": "localization",
      "status": "implemented",
      "phase": "pilot",
      "title": {
        "en": "Localize navigation, forms and reports in six languages",
        "pt": "Traduzir navegação, formulários e relatórios em seis idiomas"
      },
      "description": {
        "en": "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.",
        "pt": "Suportar en, pt, es, fr, ar e zh na navegação, busca, catálogo, janelas, solicitações, casos, ensaios e exportações HTML. Usar direção RTL no árabe, formatação monetária e de datas localizadas e normalização decimal explícita; preservar rascunhos compatíveis sem senhas e seções abertas nas mudanças de idioma e expor rota de ajuda traduzida."
      },
      "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"
      ],
      "source": [
        "public/app.js:4",
        "public/app.js:29",
        "public/app.js:62",
        "public/app.js:208",
        "public/app.js:336",
        "public/app.js:407",
        "public/view.js:12"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "Given Arabic is selected, when any supported view or localized HTML report renders, then lang is ar, direction is rtl and translation keys resolve.",
          "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."
        ],
        "pt": [
          "Dado que árabe está selecionado, quando uma tela suportada ou relatório HTML traduzido é exibido, então lang é ar, a direção é rtl e as chaves de tradução são resolvidas.",
          "Dados rascunho não salvo sem senha e decimal com separador explícito da localidade, quando o idioma muda ou o formulário é enviado, então o rascunho é preservado e o significado decimal é mantido sem remover agrupamentos."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-FR-068-1",
        "AC-FR-068-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 4,
          "label": "public/app.js:4"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 29,
          "label": "public/app.js:29"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 62,
          "label": "public/app.js:62"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 208,
          "label": "public/app.js:208"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 336,
          "label": "public/app.js:336"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 407,
          "label": "public/app.js:407"
        },
        {
          "href": "sources/pilot/public/view.js.txt",
          "line": 12,
          "label": "public/view.js:12"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:6",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:11",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/discovery-frontend.test.cjs:12",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-frontend.test.cjs:8",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/browser.mjs.txt",
          "line": null,
          "label": "tests/browser.mjs:119",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:139",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-001",
      "title": {
        "en": "Session lifecycle",
        "pt": "Ciclo de sessao"
      },
      "description": {
        "en": "Opaque cookie, hashed token storage,30min idle/12h absolute expiry; activity-only touch; logout/reset/password/disable revocation.",
        "pt": "Cookie opaco, hash de token, expiracao de 30 min por inatividade e de 12 h no total; atividade explicita renova inatividade; revogacao em logout/reset/senha/desativacao."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Login",
        "Profile"
      ],
      "source": [
        "server/auth.cjs:18",
        "server/app.cjs:27",
        "server/app.cjs:67"
      ],
      "testRefs": [
        "tests/security.test.cjs:173",
        "tests/security.test.cjs:190",
        "tests/security.test.cjs:349"
      ],
      "acceptance": {
        "en": [
          "Enforce exact expiry boundaries; background polling must not extend idle lifetime.",
          "After401 clear account data before showing login."
        ],
        "pt": [
          "Aplicar limites exatos de expiracao; consultas de fundo nao renovam inatividade.",
          "Apos 401 limpar dados da conta antes de exibir login."
        ]
      },
      "module": "security",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-NFR-001-1",
        "AC-NFR-001-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 18,
          "label": "server/auth.cjs:18"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 27,
          "label": "server/app.cjs:27"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 67,
          "label": "server/app.cjs:67"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:173",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:190",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:349",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-002",
      "title": {
        "en": "Password protection",
        "pt": "Protecao de senha"
      },
      "description": {
        "en": "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.",
        "pt": "14..128 pontos Unicode, rejeicao basica de valores fracos; scrypt com salt N 32768/r 8/p 3,64 bytes, comparacao constante; max 4 calculos. Sem MFA/SSO/passkeys."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Activation",
        "Login",
        "Profile"
      ],
      "source": [
        "server/util.cjs:14",
        "server/auth.cjs:77",
        "docs/KNOWN_LIMITS.md:41"
      ],
      "testRefs": [
        "tests/security.test.cjs:190"
      ],
      "acceptance": {
        "en": [
          "Never return password hashes in API account projections.",
          "Additional authentication assurance requirements remain TBD."
        ],
        "pt": [
          "Nunca retornar hashes de senha em projecoes de contas.",
          "Requisitos adicionais de garantia de autenticacao permanecem TBD."
        ]
      },
      "module": "security",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [
        "login",
        "inspectInvite",
        "acceptInvite",
        "session",
        "logout",
        "changePassword"
      ],
      "entities": [
        "users",
        "sessions",
        "invites"
      ],
      "acceptanceIds": [
        "AC-NFR-002-1",
        "AC-NFR-002-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/util.cjs.txt",
          "line": 14,
          "label": "server/util.cjs:14"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 77,
          "label": "server/auth.cjs:77"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 41,
          "label": "docs/KNOWN_LIMITS.md:41"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:190",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-003",
      "title": {
        "en": "Invitation safety",
        "pt": "Protecao de convites"
      },
      "description": {
        "en": "Random32-byte tokens, stored hashes,24h expiry, single acceptance and transactional recheck after hashing; raw links are private.",
        "pt": "Tokens aleatorios 32 bytes, hashes persistidos, expiracao 24 h, aceitacao unica e revalidacao transacional apos hash; links sao privados."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Administration",
        "Activation"
      ],
      "source": [
        "server/auth.cjs:32",
        "server/auth.cjs:54",
        "server/service.cjs:131"
      ],
      "testRefs": [
        "tests/security.test.cjs:221",
        "tests/security.test.cjs:255"
      ],
      "acceptance": {
        "en": [
          "Reject used/revoked/expired tokens; HTTP cannot invite admin.",
          "Reset issuance alone must not revoke existing sessions; acceptance does."
        ],
        "pt": [
          "Rejeitar tokens usados/revogados/expirados; HTTP nao convida admin.",
          "Emitir reset nao revoga sessoes existentes; aceitar revoga."
        ]
      },
      "module": "security",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-003-1",
        "AC-NFR-003-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 32,
          "label": "server/auth.cjs:32"
        },
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 54,
          "label": "server/auth.cjs:54"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 131,
          "label": "server/service.cjs:131"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:221",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:255",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-004",
      "title": {
        "en": "Transport boundary",
        "pt": "Limite de transporte"
      },
      "description": {
        "en": "Exact Host and POST Origin; HTTPS requires explicit trust, exact socket peer and forwarded https. TLS termination/deployment remains external and unverified.",
        "pt": "Host e Origin de POST exatos; HTTPS exige confianca explicita, socket exato e protocolo https encaminhado. TLS/deploy externos e nao verificados."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "All authenticated views"
      ],
      "source": [
        "server/app.cjs:23",
        "server/app.cjs:48",
        "server/app.cjs:156",
        "docs/RUNBOOK.md:65"
      ],
      "testRefs": [
        "tests/security.test.cjs:407"
      ],
      "acceptance": {
        "en": [
          "Verify dedicated HTTPS origin and trusted proxy on selected host before external participants.",
          "Keep Node upstream private; hosting status is not inferred from source."
        ],
        "pt": [
          "Verificar origem HTTPS dedicada e proxy no host escolhido antes de participantes externos.",
          "Manter servidor Node privado; fonte nao comprova hospedagem."
        ]
      },
      "module": "security",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-004-1",
        "AC-NFR-004-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 23,
          "label": "server/app.cjs:23"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 48,
          "label": "server/app.cjs:48"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 156,
          "label": "server/app.cjs:156"
        },
        {
          "href": "sources/pilot/docs/RUNBOOK.md.txt",
          "line": 65,
          "label": "docs/RUNBOOK.md:65"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:407",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-005",
      "title": {
        "en": "Request defenses",
        "pt": "Defesas de requisicao"
      },
      "description": {
        "en": "Authenticated POST CSRF plus CSP/no-store/nosniff/frame denial/no-referrer; HTTPS adds Secure cookie/HSTS. Static serving restricted to public files.",
        "pt": "CSRF em POST autenticado mais CSP/no-store/nosniff/bloqueio de frames/no-referrer; HTTPS adiciona Secure/HSTS. Servico estatico restrito a public."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "All authenticated views"
      ],
      "source": [
        "server/app.cjs:27",
        "server/app.cjs:42",
        "server/app.cjs:142"
      ],
      "testRefs": [
        "tests/security.test.cjs:312",
        "tests/security.test.cjs:338",
        "tests/api.test.cjs:87"
      ],
      "acceptance": {
        "en": [
          "Reject invalid CSRF/Origin without mutation.",
          "Do not expose runtime, source, dotfiles, traversal or symlink targets through static routes."
        ],
        "pt": [
          "Rejeitar CSRF/Origin invalidos sem mutacao.",
          "Nao expor runtime, fontes, arquivos ocultos, travessia ou destinos de links via rotas estaticas."
        ]
      },
      "module": "security",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-005-1",
        "AC-NFR-005-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 27,
          "label": "server/app.cjs:27"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 42,
          "label": "server/app.cjs:42"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 142,
          "label": "server/app.cjs:142"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:312",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:338",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:87",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-006",
      "title": {
        "en": "Fixed-role access",
        "pt": "Acesso por papel fixo"
      },
      "description": {
        "en": "Server derives identity from session; shared reads require membership/admin, execution requires matching participant role; same organization grants no access.",
        "pt": "Servidor deriva identidade da sessao; leituras compartilhadas exigem membro/admin, execucao exige papel participante correspondente; mesma organizacao nao concede acesso."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Operations",
        "Shared case",
        "Administration"
      ],
      "source": [
        "server/service.cjs:37",
        "server/service.cjs:69",
        "server/service.cjs:86"
      ],
      "testRefs": [
        "tests/security.test.cjs:73",
        "tests/security.test.cjs:135"
      ],
      "acceptance": {
        "en": [
          "Use five distinct active fixed-role accounts; admin cannot impersonate participants.",
          "Return404 for inaccessible shared cases."
        ],
        "pt": [
          "Usar cinco contas distintas ativas com papeis fixos; admin nao impersona participantes.",
          "Retornar 404 para casos compartilhados inacessiveis."
        ]
      },
      "module": "access",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-006-1",
        "AC-NFR-006-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 37,
          "label": "server/service.cjs:37"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 69,
          "label": "server/service.cjs:69"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 86,
          "label": "server/service.cjs:86"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:73",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:135",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-007",
      "title": {
        "en": "Contextual disclosure",
        "pt": "Divulgacao contextual"
      },
      "description": {
        "en": "Buyer sees seller in permitted factsheet/published case; holder sees buyer only after binding plus successful buyer proposal. References additionally require opt-in.",
        "pt": "Comprador ve vendedor em ficha permitida/caso publicado; titular ve comprador somente apos vinculo e proposta bem-sucedida. Referencias exigem opt-in adicional."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Catalog",
        "Offer factsheet",
        "Shared case",
        "Reports"
      ],
      "source": [
        "server/privacy.cjs:16",
        "server/privacy.cjs:49",
        "server/service.cjs:42",
        "docs/ACCESS_POLICY.md"
      ],
      "testRefs": [
        "tests/privacy.test.cjs:191",
        "tests/privacy.test.cjs:244",
        "tests/privacy.test.cjs:285"
      ],
      "acceptance": {
        "en": [
          "Enforce gates in nested state, replay, audit/export; assignment/mandate/review/failed proposal does not unlock buyer.",
          "Factsheet buyer always null; catalog never returns a participant directory."
        ],
        "pt": [
          "Aplicar regras em estado aninhado, repeticao, auditoria/exportacao; atribuicao/mandato/revisao/proposta falha nao libera comprador.",
          "Comprador da ficha sempre null; catalogo nunca retorna diretorio de participantes."
        ]
      },
      "module": "privacy",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-007-1",
        "AC-NFR-007-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 16,
          "label": "server/privacy.cjs:16"
        },
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": 49,
          "label": "server/privacy.cjs:49"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 42,
          "label": "server/service.cjs:42"
        },
        {
          "href": "sources/pilot/docs/ACCESS_POLICY.md.txt",
          "line": null,
          "label": "docs/ACCESS_POLICY.md"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:191",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:244",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:285",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-008",
      "title": {
        "en": "Private resource ownership",
        "pt": "Titularidade de recursos privados"
      },
      "description": {
        "en": "Sourcing is owner plus internal admin; discovery and rehearsals are owner-only even against admins. Synthetic rehearsal role controls disclosure.",
        "pt": "Sourcing permite titular e admin interno; descoberta e ensaios sao exclusivos do titular, inclusive contra admins. Papel sintetico do ensaio controla divulgacao."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Catalog",
        "Discovery dialogs",
        "Individual rehearsal",
        "Administration"
      ],
      "source": [
        "server/sourcing.cjs:67",
        "server/discovery.cjs:61",
        "server/rehearsal.cjs:193",
        "server/rehearsal.cjs:165"
      ],
      "testRefs": [
        "tests/sourcing.test.cjs:99",
        "tests/discovery.test.cjs:74",
        "tests/rehearsal-security.test.cjs:116",
        "tests/privacy.test.cjs:355"
      ],
      "acceptance": {
        "en": [
          "Never extend sourcing admin access to discovery/rehearsal.",
          "Ignore/reject client-selected owner identity; another owner's private rehearsal returns404."
        ],
        "pt": [
          "Nao estender acesso administrativo de sourcing a descoberta/ensaios.",
          "Ignorar/rejeitar titularidade indicada pelo cliente; ensaio de outro titular retorna 404."
        ]
      },
      "module": "access",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [
        "listOwnAssetRequests",
        "createAssetRequest",
        "getAssetRequest",
        "withdrawAssetRequest",
        "listAdminAssetRequests"
      ],
      "entities": [
        "asset_requests"
      ],
      "acceptanceIds": [
        "AC-NFR-008-1",
        "AC-NFR-008-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 67,
          "label": "server/sourcing.cjs:67"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 61,
          "label": "server/discovery.cjs:61"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 193,
          "label": "server/rehearsal.cjs:193"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 165,
          "label": "server/rehearsal.cjs:165"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:99",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:74",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:116",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:355",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-009",
      "title": {
        "en": "Consent and retention",
        "pt": "Consentimento e retencao"
      },
      "description": {
        "en": "fictional-data-v1 consent and reference opt-in exist; retention period, disposal owner, erasure/access workflow and backup disposal are TBD; no automated purge.",
        "pt": "Existem consentimento fictional-data-v 1 e opt-in de referencias; prazo, responsavel, exclusao/acesso e descarte de backups sao TBD; sem expurgo automatico."
      },
      "status": "specified-not-implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Activation",
        "Profile",
        "Reports"
      ],
      "source": [
        "server/auth.cjs:67",
        "server/service.cjs:24",
        "docs/KNOWN_LIMITS.md:36",
        "docs/PRE_PARTICIPANT_CHECKLIST.md:50"
      ],
      "testRefs": [
        "tests/privacy.test.cjs:285",
        "tests/sourcing-frontend.test.cjs:26"
      ],
      "acceptance": {
        "en": [
          "Define and record retention/disposal before recruitment; do not invent a number of days.",
          "Use fictional data only; do not collect real identity documents or private third-party contacts."
        ],
        "pt": [
          "Definir e registrar retencao/descarte antes do recrutamento; nao inventar prazo.",
          "Usar apenas dados ficticios; nao coletar identidade real ou contatos privados de terceiros."
        ]
      },
      "module": "privacy",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-009-1",
        "AC-NFR-009-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 67,
          "label": "server/auth.cjs:67"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 24,
          "label": "server/service.cjs:24"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 36,
          "label": "docs/KNOWN_LIMITS.md:36"
        },
        {
          "href": "sources/pilot/docs/PRE_PARTICIPANT_CHECKLIST.md.txt",
          "line": 50,
          "label": "docs/PRE_PARTICIPANT_CHECKLIST.md:50"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:285",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing-frontend.test.cjs:26",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-010",
      "title": {
        "en": "Strict DTO contract",
        "pt": "Contrato DTO estrito"
      },
      "description": {
        "en": "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.",
        "pt": "JSON <=32768 bytes; allowlists por endpoint/acao, tipos, enums e tamanhos. Rotas logout e leitura de notificacao interpretam e ignoram JSON; nao exigem objeto vazio."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "All forms"
      ],
      "source": [
        "server/app.cjs:35",
        "server/app.cjs:74",
        "server/app.cjs:112",
        "server/service.cjs:7",
        "server/discovery.cjs:17",
        "docs/OPENAPI.json"
      ],
      "testRefs": [
        "tests/security.test.cjs:135",
        "tests/discovery.test.cjs:111",
        "tests/sourcing.test.cjs:121",
        "tests/rehearsal-security.test.cjs:156"
      ],
      "acceptance": {
        "en": [
          "Reject unknown owner/role/state/evidence fields on strict endpoints; do not infer SQL constraints from DTO-only checks.",
          "Document actual exceptions and HTTP method/error precedence; no bearer/CORS API."
        ],
        "pt": [
          "Rejeitar campos extras de titular/papel/estado/evidencia em endpoints estritos; nao confundir DTO com restricao SQL.",
          "Documentar excecoes e precedencia de metodo/erro; sem API bearer/CORS."
        ]
      },
      "module": "api",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-010-1",
        "AC-NFR-010-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 35,
          "label": "server/app.cjs:35"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 74,
          "label": "server/app.cjs:74"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 112,
          "label": "server/app.cjs:112"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 7,
          "label": "server/service.cjs:7"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 17,
          "label": "server/discovery.cjs:17"
        },
        {
          "href": "sources/pilot/docs/OPENAPI.json.txt",
          "line": null,
          "label": "docs/OPENAPI.json"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:135",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:111",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:121",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:156",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-011",
      "title": {
        "en": "Optimistic concurrency",
        "pt": "Concorrencia otimista"
      },
      "description": {
        "en": "BEGIN IMMEDIATE and expected versions serialize writes. Shared revision/deal version, profile version, rehearsal revision, request version and discovery CAS are separate.",
        "pt": "BEGIN IMMEDIATE e versoes esperadas serializam gravacoes. Revisoes compartilhadas/deal, perfil, ensaio, sourcing e CAS de descoberta sao separados."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Profile",
        "Shared case",
        "Individual rehearsal",
        "Discovery dialogs",
        "Catalog"
      ],
      "source": [
        "server/store.cjs:54",
        "server/service.cjs:93",
        "server/discovery.cjs:65",
        "server/sourcing.cjs:98"
      ],
      "testRefs": [
        "tests/security.test.cjs:377",
        "tests/discovery.test.cjs:153",
        "tests/discovery.test.cjs:170",
        "tests/rehearsal-security.test.cjs:287"
      ],
      "acceptance": {
        "en": [
          "Stale writes return409 without overwriting committed data.",
          "Discovery identical stale submissions conflict; there is no idempotency-key replay for discovery."
        ],
        "pt": [
          "Gravacoes desatualizadas retornam 409 sem sobrescrever dados.",
          "Envios identicos desatualizados de descoberta conflitam; nao ha repeticao por chave idempotente."
        ]
      },
      "module": "concurrency",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-011-1",
        "AC-NFR-011-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 54,
          "label": "server/store.cjs:54"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 93,
          "label": "server/service.cjs:93"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 65,
          "label": "server/discovery.cjs:65"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 98,
          "label": "server/sourcing.cjs:98"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:377",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:153",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:170",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:287",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-012",
      "title": {
        "en": "Idempotent commands",
        "pt": "Comandos idempotentes"
      },
      "description": {
        "en": "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.",
        "pt": "Chaves compartilhadas por caso/usuario/envelope; sourcing por titular/corpo canonico; ensaios persistem chave/fingerprint/resultado. Repeticoes exatas precedem pausa/cota quando implementado."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Shared case",
        "Catalog",
        "Individual rehearsal"
      ],
      "source": [
        "server/service.cjs:83",
        "server/sourcing.cjs:82",
        "server/rehearsal.cjs:204"
      ],
      "testRefs": [
        "tests/security.test.cjs:377",
        "tests/sourcing.test.cjs:160",
        "tests/rehearsal-security.test.cjs:488"
      ],
      "acceptance": {
        "en": [
          "Changed duplicate key payload/owner conflicts409; exact retry cannot reapply evidence or notifications.",
          "Replayed responses use current authorized privacy projection."
        ],
        "pt": [
          "Chave duplicada com corpo/titular diferente conflita 409; repeticao exata nao reaplica evidencias/notificacoes.",
          "Respostas repetidas usam projecao de privacidade autorizada atual."
        ]
      },
      "module": "integrity",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-NFR-012-1",
        "AC-NFR-012-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 83,
          "label": "server/service.cjs:83"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 82,
          "label": "server/sourcing.cjs:82"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 204,
          "label": "server/rehearsal.cjs:204"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:377",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:160",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:488",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-013",
      "title": {
        "en": "Exact financial arithmetic",
        "pt": "Aritmetica financeira exata"
      },
      "description": {
        "en": "Input decimals are strings; units6 decimals, money2; BigInt unit arithmetic, safe integer USD cents and cent half-up rounding. Unknown tax/cost remains null.",
        "pt": "Decimais de entrada sao strings; unidades 6 casas, dinheiro 2; BigInt e centavos USD inteiros seguros com arredondamento half-up. Impostos/custos desconhecidos ficam null."
      },
      "status": "implemented-simulation",
      "phase": "pilot",
      "roles": [
        "holder",
        "buyer",
        "rails",
        "auditor"
      ],
      "screens": [
        "Shared case",
        "Individual rehearsal",
        "Reports"
      ],
      "source": [
        "domain/model.js:18",
        "domain/model.js:40",
        "server/service.cjs:82"
      ],
      "testRefs": [
        "tests/frontend.test.cjs:6",
        "tests/frontend.test.cjs:17",
        "tests/commerce.test.cjs:7",
        "tests/sourcing.test.cjs:145"
      ],
      "acceptance": {
        "en": [
          "Reject exponent/grouped/signed/unsafe/overprecision inputs; preserve explicit locale normalization.",
          "Illustrative fees must not appear as invoiced or collected revenue."
        ],
        "pt": [
          "Rejeitar expoentes/agrupamentos/sinais/valores inseguros/precisao excessiva; preservar normalizacao explicita.",
          "Taxas ilustrativas nao devem aparecer como receita faturada ou recebida."
        ]
      },
      "module": "integrity",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-013-1",
        "AC-NFR-013-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 18,
          "label": "domain/model.js:18"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 40,
          "label": "domain/model.js:40"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 82,
          "label": "server/service.cjs:82"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:6",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:17",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/commerce.test.cjs.txt",
          "line": null,
          "label": "tests/commerce.test.cjs:7",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:145",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-014",
      "title": {
        "en": "Settlement record integrity",
        "pt": "Integridade da liquidacao"
      },
      "description": {
        "en": "Instructions and economics frozen into acknowledgements/settlement; evidence legs match exact values; references unique; reconciliation and issue resolution require independent actors.",
        "pt": "Instrucoes/economia vinculadas as ciencias/liquidacao; evidencias correspondem aos valores exatos; referencias unicas; conciliacao/resolucao exigem atores independentes."
      },
      "status": "implemented-simulation",
      "phase": "pilot",
      "roles": [
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Shared case",
        "Individual rehearsal",
        "Reports"
      ],
      "source": [
        "domain/model.js:81",
        "domain/model.js:213",
        "domain/model.js:236",
        "server/store.cjs:36"
      ],
      "testRefs": [
        "domain/model.test.cjs:61",
        "domain/model.test.cjs:62",
        "domain/model.test.cjs:63",
        "domain/model.test.cjs:67"
      ],
      "acceptance": {
        "en": [
          "Reject changed legs, reused proof and self-reconciliation; replacing instructions clears old consent.",
          "No evidence-edit, refund, reversal or live execution API is implied."
        ],
        "pt": [
          "Rejeitar pernas divergentes, referencia repetida e conciliacao propria; alterar instrucoes limpa ciencias.",
          "Nao implica API de editar evidencias, estorno, reversao ou execucao real."
        ]
      },
      "module": "integrity",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-NFR-014-1",
        "AC-NFR-014-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 81,
          "label": "domain/model.js:81"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 213,
          "label": "domain/model.js:213"
        },
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": 236,
          "label": "domain/model.js:236"
        },
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 36,
          "label": "server/store.cjs:36"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:61",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:62",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:63",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/domain/model.test.cjs.txt",
          "line": null,
          "label": "domain/model.test.cjs:67",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-015",
      "title": {
        "en": "Transactional writes",
        "pt": "Gravacoes transacionais"
      },
      "description": {
        "en": "State, idempotency, evidence, case audit and notifications commit together; sourcing/discovery/rehearsal include security bookkeeping in their write transaction.",
        "pt": "Estado, idempotencia, evidencias, auditoria e notificacoes confirmam juntos; sourcing/descoberta/ensaios incluem registros de seguranca na transacao."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Shared case",
        "Individual rehearsal",
        "Catalog",
        "Discovery dialogs"
      ],
      "source": [
        "server/store.cjs:54",
        "server/service.cjs:84",
        "server/sourcing.cjs:81",
        "server/discovery.cjs:69"
      ],
      "testRefs": [
        "tests/recovery.test.cjs:127",
        "tests/sourcing.test.cjs:218",
        "tests/discovery.test.cjs:191",
        "tests/rehearsal-security.test.cjs:308"
      ],
      "acceptance": {
        "en": [
          "A failed command cannot leave partial financial/idempotency/audit/notification changes.",
          "Expected rehearsal blocks may persist only the blocked attempt/revision/retry metadata, with unchanged financial state."
        ],
        "pt": [
          "Falha nao deixa alteracoes parciais financeiras/idempotentes/auditoria/notificacoes.",
          "Bloqueios previstos do ensaio podem persistir tentativa/revisao/repeticao, mantendo estado financeiro."
        ]
      },
      "module": "integrity",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-015-1",
        "AC-NFR-015-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 54,
          "label": "server/store.cjs:54"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 84,
          "label": "server/service.cjs:84"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 81,
          "label": "server/sourcing.cjs:81"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 69,
          "label": "server/discovery.cjs:69"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:127",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:218",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:191",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:308",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-016",
      "title": {
        "en": "Stored-state validation",
        "pt": "Validacao de estado persistido"
      },
      "description": {
        "en": "Read paths validate snapshot hashes/domain invariants; cases additionally verify full audit linkage; sourcing/discovery bind hashes to owner metadata.",
        "pt": "Leituras validam hashes/invariantes; casos verificam vinculo completo do historico; sourcing/descoberta vinculam hashes a metadados do titular."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Shared case",
        "Individual rehearsal",
        "Discovery dialogs",
        "Reports"
      ],
      "source": [
        "server/store.cjs:7",
        "server/rehearsal.cjs:185",
        "server/sourcing.cjs:38",
        "server/discovery.cjs:38"
      ],
      "testRefs": [
        "tests/recovery.test.cjs:79",
        "tests/rehearsal-security.test.cjs:369",
        "tests/sourcing.test.cjs:240",
        "tests/discovery.test.cjs:213"
      ],
      "acceptance": {
        "en": [
          "Corrupt stored data returns503 without leaking private rows.",
          "Hash validity alone cannot replace logical validation or establish external certification."
        ],
        "pt": [
          "Dados persistidos corrompidos retornam 503 sem divulgar linhas privadas.",
          "Hash valido nao substitui validacao logica nem certificacao externa."
        ]
      },
      "module": "integrity",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-016-1",
        "AC-NFR-016-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 7,
          "label": "server/store.cjs:7"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 185,
          "label": "server/rehearsal.cjs:185"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 38,
          "label": "server/sourcing.cjs:38"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 38,
          "label": "server/discovery.cjs:38"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:79",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:369",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:240",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:213",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-017",
      "title": {
        "en": "Audit boundaries",
        "pt": "Limites da auditoria"
      },
      "description": {
        "en": "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.",
        "pt": "Tabelas de auditoria rejeitam UPDATE/DELETE por triggers; casos usam cadeia SHA-256. Seguranca sem cadeia; operadores podem contornar controles; exportacoes filtradas nao reproduzem cadeia completa."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Shared case",
        "Administration",
        "Reports"
      ],
      "source": [
        "server/store.cjs:43",
        "server/service.cjs:134",
        "docs/ACCESS_POLICY.md"
      ],
      "testRefs": [
        "tests/recovery.test.cjs:60",
        "tests/privacy.test.cjs:395"
      ],
      "acceptance": {
        "en": [
          "Preserve stored canonical evidence when filtering responses.",
          "Label participant audit as filtered and not independently certified/tamper-proof."
        ],
        "pt": [
          "Preservar evidencias canonicas ao filtrar respostas.",
          "Identificar auditoria participante como filtrada e sem certificacao independente/inviolabilidade."
        ]
      },
      "module": "audit",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [
        "listCases",
        "getCase",
        "command",
        "caseAudit",
        "exportCase"
      ],
      "entities": [
        "cases",
        "members",
        "commands",
        "case_audit",
        "external_evidence"
      ],
      "acceptanceIds": [
        "AC-NFR-017-1",
        "AC-NFR-017-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 43,
          "label": "server/store.cjs:43"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 134,
          "label": "server/service.cjs:134"
        },
        {
          "href": "sources/pilot/docs/ACCESS_POLICY.md.txt",
          "line": null,
          "label": "docs/ACCESS_POLICY.md"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:60",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/privacy.test.cjs.txt",
          "line": null,
          "label": "tests/privacy.test.cjs:395",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-018",
      "title": {
        "en": "Backup capability",
        "pt": "Capacidade de backup"
      },
      "description": {
        "en": "Manual SQLite backup API/CLI creates private snapshot, integrity_check and SHA256 metadata; no schedule, offsite copy, rotation, encryption or retention policy.",
        "pt": "API/CLI manual cria snapshot privado, integrity_check e SHA-256; sem agenda, copia externa, rotacao, criptografia ou politica de retencao."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin"
      ],
      "screens": [
        "Administration"
      ],
      "source": [
        "server/store.cjs:65",
        "server/app.cjs:128",
        "docs/RUNBOOK.md:108"
      ],
      "testRefs": [
        "tests/recovery.test.cjs:145"
      ],
      "acceptance": {
        "en": [
          "Use SQLite backup API instead of copying a live DB without WAL.",
          "Define cadence, retention, protected offsite copy and recovery targets; API returns metadata only."
        ],
        "pt": [
          "Usar API de backup SQLite em vez de copiar banco ativo sem WAL.",
          "Definir frequencia, retencao, copia externa protegida e metas; API retorna somente metadados."
        ]
      },
      "module": "backup",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-018-1",
        "AC-NFR-018-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 65,
          "label": "server/store.cjs:65"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 128,
          "label": "server/app.cjs:128"
        },
        {
          "href": "sources/pilot/docs/RUNBOOK.md.txt",
          "line": 108,
          "label": "docs/RUNBOOK.md:108"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:145",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-019",
      "title": {
        "en": "Offline restore",
        "pt": "Restauracao offline"
      },
      "description": {
        "en": "Privileged CLI checks lock/schema/integrity/FKs/cases/optional snapshots, stages and revalidates, revokes sessions/unused invites, snapshots old target and renames staged DB.",
        "pt": "CLI verifica lock/esquema/integridade/FKs/casos/snapshots opcionais, prepara e revalida, revoga sessoes/convites nao usados, copia alvo anterior e renomeia banco."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin"
      ],
      "screens": [
        "Operator CLI"
      ],
      "source": [
        "scripts/manage.cjs:16",
        "scripts/manage.cjs:30",
        "scripts/manage.cjs:40",
        "docs/RUNBOOK.md:122"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "Restore only with writers stopped; reject invalid source before target replacement.",
          "Record snapshot time and post-snapshot data loss; full filesystem sequence crash durability/RPO/RTO remain unproven/TBD."
        ],
        "pt": [
          "Restaurar somente com gravadores parados; rejeitar fonte invalida antes de substituir alvo.",
          "Registrar data do snapshot e perdas posteriores; durabilidade total/RPO/RTO nao comprovados/TBD."
        ]
      },
      "module": "recovery",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-019-1",
        "AC-NFR-019-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/scripts/manage.cjs.txt",
          "line": 16,
          "label": "scripts/manage.cjs:16"
        },
        {
          "href": "sources/pilot/scripts/manage.cjs.txt",
          "line": 30,
          "label": "scripts/manage.cjs:30"
        },
        {
          "href": "sources/pilot/scripts/manage.cjs.txt",
          "line": 40,
          "label": "scripts/manage.cjs:40"
        },
        {
          "href": "sources/pilot/docs/RUNBOOK.md.txt",
          "line": 122,
          "label": "docs/RUNBOOK.md:122"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:166",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:197",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-recovery.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-recovery.test.cjs:252",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:340",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:325",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-020",
      "title": {
        "en": "Availability topology",
        "pt": "Topologia de disponibilidade"
      },
      "description": {
        "en": "One synchronous SQLite process on persistent local disk with local PID/maintenance locks; no multi-node/HA/failover/replication or availability SLA.",
        "pt": "Um processo SQLite sincrono com disco persistente e locks locais de PID/manutencao; sem multinodo/HA/failover/replicacao ou SLA."
      },
      "status": "specified-not-implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "All authenticated views",
        "Operator CLI"
      ],
      "source": [
        "server/main.cjs",
        "server/store.cjs:24",
        "docs/KNOWN_LIMITS.md:45",
        "docs/RUNBOOK.md:88"
      ],
      "testRefs": [
        "tests/lifecycle.test.cjs:6",
        "tests/lifecycle-security.test.cjs:140"
      ],
      "acceptance": {
        "en": [
          "Provision one supervised instance with private persistent writable disk; define availability/restart expectations.",
          "Local lock tests must not be represented as distributed failover evidence."
        ],
        "pt": [
          "Provisionar uma instancia supervisionada com disco privado persistente; definir disponibilidade/reinicio.",
          "Testes de lock local nao comprovam failover distribuido."
        ]
      },
      "module": "availability",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-020-1",
        "AC-NFR-020-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/main.cjs.txt",
          "line": null,
          "label": "server/main.cjs"
        },
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 24,
          "label": "server/store.cjs:24"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 45,
          "label": "docs/KNOWN_LIMITS.md:45"
        },
        {
          "href": "sources/pilot/docs/RUNBOOK.md.txt",
          "line": 88,
          "label": "docs/RUNBOOK.md:88"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/lifecycle.test.cjs.txt",
          "line": null,
          "label": "tests/lifecycle.test.cjs:6",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/lifecycle-security.test.cjs.txt",
          "line": null,
          "label": "tests/lifecycle-security.test.cjs:140",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-021",
      "title": {
        "en": "Liveness and diagnostics",
        "pt": "Vitalidade e diagnostico"
      },
      "description": {
        "en": "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.",
        "pt": "Health retorna status/instanceId sem varrer banco/disco/prontidao; erros usam code/requestId; seguranca admin mostra ultimos 200. Sem alertas/rotacao de logs."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin"
      ],
      "screens": [
        "Administration",
        "Operator CLI"
      ],
      "source": [
        "server/app.cjs:46",
        "server/app.cjs:56",
        "server/app.cjs:125",
        "server/app.cjs:149",
        "docs/KNOWN_LIMITS.md:48"
      ],
      "testRefs": [
        "tests/api.test.cjs:14"
      ],
      "acceptance": {
        "en": [
          "Preserve request IDs without logging passwords/cookies/private links.",
          "Define external disk, backup, failure alerts and response owner;200 health is liveness only."
        ],
        "pt": [
          "Preservar request IDs sem registrar senhas/cookies/links privados.",
          "Definir alertas externos de disco/backup/falha e responsavel;200 health indica somente processo ativo."
        ]
      },
      "module": "observability",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-021-1",
        "AC-NFR-021-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 46,
          "label": "server/app.cjs:46"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 56,
          "label": "server/app.cjs:56"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 125,
          "label": "server/app.cjs:125"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 149,
          "label": "server/app.cjs:149"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 48,
          "label": "docs/KNOWN_LIMITS.md:48"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/api.test.cjs.txt",
          "line": null,
          "label": "tests/api.test.cjs:14",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-022",
      "title": {
        "en": "Pause and revocation",
        "pt": "Pausa e revogacao"
      },
      "description": {
        "en": "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.",
        "pt": "Pausa/arquivo bloqueiam novas acoes financeiras; desativar revoga sessoes/resets e pausa casos; reativar nao retoma. Descoberta continua gravavel durante pausa financeira."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Administration",
        "Shared case",
        "Catalog",
        "Discovery dialogs",
        "Individual rehearsal"
      ],
      "source": [
        "server/service.cjs:90",
        "server/service.cjs:122",
        "server/sourcing.cjs:88",
        "server/discovery.cjs:65"
      ],
      "testRefs": [
        "tests/rehearsal-security.test.cjs:262",
        "tests/sourcing.test.cjs:189",
        "tests/discovery.test.cjs:180"
      ],
      "acceptance": {
        "en": [
          "Preserve reads and valid existing idempotent outcomes during pause.",
          "Do not treat financial pause as a full maintenance lock or data deletion."
        ],
        "pt": [
          "Preservar leituras e resultados idempotentes anteriores validos durante pausa.",
          "Nao tratar pausa financeira como lock completo de manutencao ou exclusao."
        ]
      },
      "module": "access",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-022-1",
        "AC-NFR-022-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 90,
          "label": "server/service.cjs:90"
        },
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": 122,
          "label": "server/service.cjs:122"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 88,
          "label": "server/sourcing.cjs:88"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 65,
          "label": "server/discovery.cjs:65"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/rehearsal-security.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-security.test.cjs:262",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:189",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:180",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-023",
      "title": {
        "en": "Abuse and quotas",
        "pt": "Limites e abuso"
      },
      "description": {
        "en": "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.",
        "pt": "Janelas fixas: login IP 50/10 min,alias 10/10 min; aceite 30/10 min; consulta convite 60/10 min; autenticado 300/min; backup 3/h. IP proxy compartilhado; max 50 sourcing/ensaios,200 comandos,32 favoritos,10 buscas."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Login",
        "Activation",
        "Catalog",
        "Discovery dialogs",
        "Individual rehearsal",
        "Administration"
      ],
      "source": [
        "server/auth.cjs:8",
        "server/app.cjs:61",
        "server/app.cjs:72",
        "server/app.cjs:129",
        "server/rehearsal.cjs:196",
        "server/sourcing.cjs:89",
        "server/discovery.cjs:23"
      ],
      "testRefs": [
        "tests/sourcing.test.cjs:177",
        "tests/discovery.test.cjs:134"
      ],
      "acceptance": {
        "en": [
          "Persist quota checks atomically; withdrawn/abandoned records do not free record quotas.",
          "Return429 where implemented; no Retry-After or distributed abuse protection is promised."
        ],
        "pt": [
          "Persistir verificacoes de cota atomicamente; retirados/abandonados nao liberam cota.",
          "Retornar 429 onde implementado; sem garantia de Retry-After ou protecao distribuida."
        ]
      },
      "module": "security",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-023-1",
        "AC-NFR-023-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/auth.cjs.txt",
          "line": 8,
          "label": "server/auth.cjs:8"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 61,
          "label": "server/app.cjs:61"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 72,
          "label": "server/app.cjs:72"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 129,
          "label": "server/app.cjs:129"
        },
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": 196,
          "label": "server/rehearsal.cjs:196"
        },
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": 89,
          "label": "server/sourcing.cjs:89"
        },
        {
          "href": "sources/pilot/server/discovery.cjs.txt",
          "line": 23,
          "label": "server/discovery.cjs:23"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:177",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:134",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-024",
      "title": {
        "en": "Private storage and packaging",
        "pt": "Armazenamento privado e pacote"
      },
      "description": {
        "en": "Data directory0700 and DB/backups0600; no application encryption at rest/key management. Release archives must exclude runtime, credentials, reports, notes and recordings.",
        "pt": "Diretorio 0700 e banco/backups 0600; sem criptografia em repouso/gestao de chaves pela aplicacao. Pacotes excluem runtime, credenciais, relatorios, notas e gravacoes."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin"
      ],
      "screens": [
        "Operator CLI"
      ],
      "source": [
        "server/store.cjs:21",
        "server/store.cjs:68",
        "docs/RUNBOOK.md:63",
        "docs/KNOWN_LIMITS.md:37",
        "docs/KNOWN_LIMITS.md:48"
      ],
      "testRefs": [
        "tests/recovery.test.cjs:145",
        "tests/frontend.test.cjs:20"
      ],
      "acceptance": {
        "en": [
          "Verify private permissions and actual archive contents; ignore rules alone are insufficient.",
          "Define operator/host encryption and key requirements separately; file modes are not encryption."
        ],
        "pt": [
          "Verificar permissoes e conteudo real do pacote; regras ignore nao bastam.",
          "Definir criptografia/chaves de operador/host separadamente; modos de arquivo nao sao criptografia."
        ]
      },
      "module": "security",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-024-1",
        "AC-NFR-024-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 21,
          "label": "server/store.cjs:21"
        },
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 68,
          "label": "server/store.cjs:68"
        },
        {
          "href": "sources/pilot/docs/RUNBOOK.md.txt",
          "line": 63,
          "label": "docs/RUNBOOK.md:63"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 37,
          "label": "docs/KNOWN_LIMITS.md:37"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 48,
          "label": "docs/KNOWN_LIMITS.md:48"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/recovery.test.cjs.txt",
          "line": null,
          "label": "tests/recovery.test.cjs:145",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:20",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-025",
      "title": {
        "en": "Accessibility",
        "pt": "Acessibilidade"
      },
      "description": {
        "en": "Labels, semantic controls, live alerts, dialog focus and responsive geometry have source/harness coverage; keyboard/screen-reader/native-device review and conformance remain unverified.",
        "pt": "Rotulos, controles semanticos, alertas, foco de dialogos e geometria responsiva tem fonte/harness; revisao de teclado/leitor/dispositivo real e conformidade nao verificadas."
      },
      "status": "specified-not-implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Catalog",
        "Discovery dialogs",
        "Shared case",
        "Individual rehearsal",
        "All forms"
      ],
      "source": [
        "public/app.js:34",
        "public/app.js:57",
        "public/index.html",
        "docs/TESTING.md"
      ],
      "testRefs": [
        "tests/discovery-frontend.test.cjs:12",
        "tests/discovery-tools-browser.mjs:146",
        "tests/global-search-browser.mjs:128",
        "tests/rehearsal-browser.mjs:21"
      ],
      "acceptance": {
        "en": [
          "Check named controls, keyboard operation, focus restoration and no overlap at320/390/1440px.",
          "Record assistive technology/device evidence; no accessibility certification is inferred."
        ],
        "pt": [
          "Verificar controles nomeados, teclado, retorno de foco e ausencia de sobreposicao em 320/390/1440 px.",
          "Registrar tecnologia assistiva/dispositivo; nao inferir certificacao de acessibilidade."
        ]
      },
      "module": "accessibility",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-025-1",
        "AC-NFR-025-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 34,
          "label": "public/app.js:34"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 57,
          "label": "public/app.js:57"
        },
        {
          "href": "sources/pilot/public/index.html.txt",
          "line": null,
          "label": "public/index.html"
        },
        {
          "href": "sources/pilot/docs/TESTING.md.txt",
          "line": null,
          "label": "docs/TESTING.md"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/discovery-frontend.test.cjs:12",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/discovery-tools-browser.mjs.txt",
          "line": null,
          "label": "tests/discovery-tools-browser.mjs:146",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs:128",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-browser.mjs.txt",
          "line": null,
          "label": "tests/rehearsal-browser.mjs:21",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-026",
      "title": {
        "en": "Localization and RTL",
        "pt": "Localizacao e RTL"
      },
      "description": {
        "en": "UI supports en/pt/es/fr/ar/zh; Arabic RTL; locale number/date/money and input normalization; observed translation/device quality still pending.",
        "pt": "Interface suporta en/pt/es/fr/ar/zh; arabe RTL; numeros/datas/moedas e normalizacao locais; qualidade observada de traducao/dispositivo ainda pendente."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "All authenticated views",
        "Reports"
      ],
      "source": [
        "public/app.js:3",
        "public/app.js:22",
        "public/app.js:62",
        "docs/KNOWN_LIMITS.md:31"
      ],
      "testRefs": [
        "tests/frontend.test.cjs:6",
        "tests/frontend.test.cjs:11",
        "tests/rehearsal-frontend.test.cjs:8",
        "tests/global-search-frontend.test.cjs:12"
      ],
      "acceptance": {
        "en": [
          "Keep all runtime keys translated and export language/direction consistent.",
          "Validate Arabic/Chinese/mobile layout and decimal meaning; language change does not change financial terms."
        ],
        "pt": [
          "Manter chaves traduzidas e idioma/direcao consistentes nas exportacoes.",
          "Validar arabe/chines/mobile e significado decimal; idioma nao altera termos financeiros."
        ]
      },
      "module": "localization",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-026-1",
        "AC-NFR-026-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 3,
          "label": "public/app.js:3"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 22,
          "label": "public/app.js:22"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 62,
          "label": "public/app.js:62"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 31,
          "label": "docs/KNOWN_LIMITS.md:31"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:6",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/frontend.test.cjs.txt",
          "line": null,
          "label": "tests/frontend.test.cjs:11",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/rehearsal-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/rehearsal-frontend.test.cjs:8",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-frontend.test.cjs.txt",
          "line": null,
          "label": "tests/global-search-frontend.test.cjs:12",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-027",
      "title": {
        "en": "Client refresh and errors",
        "pt": "Atualizacao e erros no cliente"
      },
      "description": {
        "en": "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.",
        "pt": "Cliente visivel consulta sessao a cada 7 s, compara revisao/controle e avisa atualizacoes; sem SSE/WebSocket. Fetch aborta em 15 s e converte falhas em networkError."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Shared case",
        "All authenticated views"
      ],
      "source": [
        "public/app.js:304",
        "public/app.js:527"
      ],
      "testRefs": [
        "tests/security.test.cjs:349",
        "tests/global-search-browser.mjs"
      ],
      "acceptance": {
        "en": [
          "Warn about newer case data without silently replacing unsaved decisions.",
          "On uncertain write outcome, reload/replay the original idempotency envelope;15s timeout is not a latency SLA."
        ],
        "pt": [
          "Avisar dados novos sem substituir decisoes nao salvas silenciosamente.",
          "Em gravacao incerta, recarregar/repetir envelope idempotente original;15 s nao e SLA de latencia."
        ]
      },
      "module": "client-reliability",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-027-1",
        "AC-NFR-027-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 304,
          "label": "public/app.js:304"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 527,
          "label": "public/app.js:527"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/security.test.cjs.txt",
          "line": null,
          "label": "tests/security.test.cjs:349",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/global-search-browser.mjs.txt",
          "line": null,
          "label": "tests/global-search-browser.mjs",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-028",
      "title": {
        "en": "Optional voice privacy",
        "pt": "Privacidade de voz opcional"
      },
      "description": {
        "en": "Explicit microphone click/notice and browser permission; text fallback; application stores no audio, browser recognition may use remote provider with independent retention.",
        "pt": "Clique/aviso e permissao do microfone explicitos; alternativa textual; aplicacao nao armazena audio, reconhecimento pode usar provedor remoto com retencao propria."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Catalog",
        "Global search"
      ],
      "source": [
        "public/search.js",
        "server/app.cjs:31",
        "docs/KNOWN_LIMITS.md:54"
      ],
      "testRefs": [
        "tests/search.test.cjs:31",
        "tests/catalog-browser.mjs:141"
      ],
      "acceptance": {
        "en": [
          "Handle unavailable/denied/no-speech/service-error states and stop recognition on navigation/logout.",
          "Do not claim fully local speech or physical-device/provider validation from mocks."
        ],
        "pt": [
          "Tratar indisponibilidade/recusa/sem fala/erro e parar reconhecimento ao navegar/sair.",
          "Nao afirmar voz totalmente local ou validacao fisica/provedor a partir de mocks."
        ]
      },
      "module": "privacy",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-028-1",
        "AC-NFR-028-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": null,
          "label": "public/search.js"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 31,
          "label": "server/app.cjs:31"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 54,
          "label": "docs/KNOWN_LIMITS.md:54"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/search.test.cjs.txt",
          "line": null,
          "label": "tests/search.test.cjs:31",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/catalog-browser.mjs.txt",
          "line": null,
          "label": "tests/catalog-browser.mjs:141",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "NFR-029",
      "title": {
        "en": "Performance unmeasured",
        "pt": "Desempenho nao medido"
      },
      "description": {
        "en": "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.",
        "pt": "Sem medicoes/metas de carga/soak/latencia/vazao/capacidade. Busy timeout 5000 ms, servidor 15 s/cabecalhos 10 s/keepalive 5 s,200 requisicoes/socket e cliente 15 s sao apenas limites."
      },
      "status": "specified-not-implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "All authenticated views"
      ],
      "source": [
        "server/store.cjs:24",
        "server/app.cjs:155",
        "public/app.js:305",
        "docs/KNOWN_LIMITS.md:45"
      ],
      "testRefs": [],
      "acceptance": {
        "en": [
          "Define expected pilot workload, dataset, latency percentiles and capacity before performance acceptance.",
          "Measure isolated approved workloads; do not infer performance from functional tests or existing timeouts."
        ],
        "pt": [
          "Definir carga esperada, dados, percentis de latencia e capacidade antes do aceite.",
          "Medir cargas isoladas aprovadas; nao inferir desempenho de testes funcionais ou timeouts."
        ]
      },
      "module": "performance",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-029-1",
        "AC-NFR-029-2"
      ],
      "testEvidence": "acceptance-plan-only",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 24,
          "label": "server/store.cjs:24"
        },
        {
          "href": "sources/pilot/server/app.cjs.txt",
          "line": 155,
          "label": "server/app.cjs:155"
        },
        {
          "href": "sources/pilot/public/app.js.txt",
          "line": 305,
          "label": "public/app.js:305"
        },
        {
          "href": "sources/pilot/docs/KNOWN_LIMITS.md.txt",
          "line": 45,
          "label": "docs/KNOWN_LIMITS.md:45"
        }
      ],
      "testLinks": []
    },
    {
      "id": "NFR-030",
      "title": {
        "en": "Schema and evidence traceability",
        "pt": "Rastreabilidade de esquema e evidencias"
      },
      "description": {
        "en": "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.",
        "pt": "Fonte/ERD definem 17 tabelas e 106 colunas, esquema 1; objetos JSON nao sao tabelas. Referencias identificam verificacoes existentes; extracao nao executa testes. Node 24.19.0+ <25; sem framework de migracao."
      },
      "status": "implemented",
      "phase": "pilot",
      "roles": [
        "admin",
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "screens": [
        "Operator CLI",
        "Administration"
      ],
      "source": [
        "server/store.cjs:25",
        "docs/ERD.mmd",
        "docs/OPENAPI.json",
        "docs/TESTING.md",
        "docs/RUNBOOK.md:7"
      ],
      "testRefs": [
        "tests/discovery.test.cjs:204",
        "tests/sourcing.test.cjs:231"
      ],
      "acceptance": {
        "en": [
          "Keep all actual PK/FK/UNIQUE/CHECK/default/trigger distinctions;17 CREATE TABLE declarations were reconfirmed, no eighteenth application table found.",
          "Record actual executed test/version/runtime evidence separately; do not convert cited checks into passed assertions."
        ],
        "pt": [
          "Preservar distincoes reais de PK/FK/UNIQUE/CHECK/default/trigger;17 CREATE TABLE reconfirmados, sem decima oitava tabela de aplicacao.",
          "Registrar execucao/versao/runtime separadamente; nao converter referencias em afirmacoes de aprovacao."
        ]
      },
      "module": "data",
      "verification": {
        "basis": "source-inspection",
        "testExecution": "not-run-in-this-extraction",
        "scope": "Implementation status describes inspected pilot source, not production readiness or a passing test run."
      },
      "apiRefs": [],
      "entities": [],
      "acceptanceIds": [
        "AC-NFR-030-1",
        "AC-NFR-030-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": 25,
          "label": "server/store.cjs:25"
        },
        {
          "href": "sources/pilot/docs/ERD.mmd.txt",
          "line": null,
          "label": "docs/ERD.mmd"
        },
        {
          "href": "sources/pilot/docs/OPENAPI.json.txt",
          "line": null,
          "label": "docs/OPENAPI.json"
        },
        {
          "href": "sources/pilot/docs/TESTING.md.txt",
          "line": null,
          "label": "docs/TESTING.md"
        },
        {
          "href": "sources/pilot/docs/RUNBOOK.md.txt",
          "line": 7,
          "label": "docs/RUNBOOK.md:7"
        }
      ],
      "testLinks": [
        {
          "href": "sources/pilot/tests/discovery.test.cjs.txt",
          "line": null,
          "label": "tests/discovery.test.cjs:204",
          "scope": "Packaged test source"
        },
        {
          "href": "sources/pilot/tests/sourcing.test.cjs.txt",
          "line": null,
          "label": "tests/sourcing.test.cjs:231",
          "scope": "Packaged test source"
        }
      ]
    },
    {
      "id": "PR-IDENTITY-ACCESS",
      "module": "identity-and-market-access",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Separate identities, authority and market permissions",
        "pt": "Separar identidades, autoridade e permissoes de mercado"
      },
      "description": {
        "en": "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.",
        "pt": "Implementar ambientes de comprador, vendedor e administrador autenticados no servidor, com parte compradora pessoa fisica ou juridica explicita. Separar usuario, parte, signatario, origem dos recursos e assinante opcional de software. Pessoas fisicas qualificadas em Dubai sao o foco inicial de validacao; sua rota de participacao real continua sem aprovacao."
      },
      "roles": [
        "buyer",
        "seller",
        "administrator",
        "compliance_reviewer"
      ],
      "screens": [
        "companyOnboarding",
        "onboardingReview",
        "marketAccessAdmin",
        "accessControl"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:16",
        "dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md:7",
        "dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md:29",
        "CURRENT_VERSION_READ_FIRST.txt:42"
      ],
      "testRefs": [
        "AT-01",
        "AT-04",
        "AT-22",
        "AT-25"
      ],
      "acceptance": {
        "en": [
          "Server reads, writes and exports deny cross-workspace access; privileged roles require MFA and current signer authority.",
          "Account access, discovery, publication, negotiation, execution and optional software entitlement are evaluated separately; missing, expired or unknown route evidence blocks the relevant action."
        ],
        "pt": [
          "Leituras, escritas e exportacoes no servidor negam acesso entre ambientes; papeis privilegiados exigem MFA e autoridade vigente do signatario.",
          "Acesso a conta, descoberta, publicacao, negociacao, execucao e direito opcional ao software sao avaliados separadamente; evidencia de rota ausente, vencida ou desconhecida bloqueia a acao correspondente."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-IDENTITY-ACCESS-1",
        "AC-PR-IDENTITY-ACCESS-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 16,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:16"
        },
        {
          "href": "sources/canonical/dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md.txt",
          "line": 7,
          "label": "dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md:7"
        },
        {
          "href": "sources/canonical/dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md.txt",
          "line": 29,
          "label": "dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md:29"
        },
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 42,
          "label": "CURRENT_VERSION_READ_FIRST.txt:42"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-01",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-04",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-22",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-25",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-OFFER-INTAKE",
      "module": "seller-intake-and-external-mirror",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Capture externally issued instruments and offer mirrors",
        "pt": "Registrar instrumentos externos e espelhos de ofertas"
      },
      "description": {
        "en": "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.",
        "pt": "Permitir que vendedores preparem registros de instrumentos e ofertas externos com emissor, paises de emissao e do ativo subjacente, direitos representados, precisao, unidades, disponibilidade datada e documentos de origem. O espelho registra um ativo externo; nao representa emissao, custodia ou saldo disponivel no GlemO."
      },
      "roles": [
        "seller",
        "admission_reviewer",
        "administrator"
      ],
      "screens": [
        "bankOps",
        "sellerOrgAdmin",
        "assetFactory",
        "tokenIntake",
        "externalMirrors"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:17",
        "dev_toolkit/13_SCREEN_CATALOG.md:25",
        "delivery_blocks/source.json:152"
      ],
      "testRefs": [
        "AT-02",
        "AT-03"
      ],
      "acceptance": {
        "en": [
          "Submission creates a private draft with external identifier, rights, precision and evidence references; it creates neither a public listing nor a token balance.",
          "Concurrent edits require the expected version, and every availability observation retains its source, observed time and expiry."
        ],
        "pt": [
          "O envio cria um rascunho privado com identificador externo, direitos, precisao e referencias de evidencia; nao cria publicacao nem saldo de tokens.",
          "Edicoes concorrentes exigem a versao esperada, e cada observacao de disponibilidade preserva origem, momento observado e vencimento."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-OFFER-INTAKE-1",
        "AC-PR-OFFER-INTAKE-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 17,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:17"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 25,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:25"
        },
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 152,
          "label": "delivery_blocks/source.json:152"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-02",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-03",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-EVIDENCE-ADMISSION",
      "module": "evidence-and-publication",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Review evidence and publish exact offer versions",
        "pt": "Revisar evidencias e publicar versoes exatas de ofertas"
      },
      "description": {
        "en": "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.",
        "pt": "Disponibilizar revisao independente de admissao, entrega privada de evidencias, proveniencia documental e aprovacao, rejeicao, suspensao, vencimento e retirada vinculados a versao. O envio pelo vendedor ou a extracao por IA nao publica uma oferta."
      },
      "roles": [
        "seller",
        "independent_reviewer",
        "administrator"
      ],
      "screens": [
        "admissionGate",
        "publicationQueue",
        "validatorDesk",
        "documentReview",
        "evidenceCenter",
        "evidenceVault",
        "diligenceRoom"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:18",
        "dev_toolkit/13_SCREEN_CATALOG.md:18",
        "dev_toolkit/13_SCREEN_CATALOG.md:49"
      ],
      "testRefs": [
        "AT-03",
        "AT-16",
        "AT-18"
      ],
      "acceptance": {
        "en": [
          "An independent reviewer records evidence versions and a reason before an authorized admin publishes that exact offer version; expired evidence prevents publication.",
          "Authenticated document delivery rejects unauthorized direct URLs; expiry or withdrawal blocks new progression while preserving authorized historical records."
        ],
        "pt": [
          "Um revisor independente registra versoes das evidencias e justificativa antes de um administrador autorizado publicar aquela versao exata; evidencias vencidas impedem a publicacao.",
          "A entrega autenticada de documentos rejeita URLs diretas sem autorizacao; vencimento ou retirada bloqueia novos avancos e preserva o historico para atores autorizados."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-EVIDENCE-ADMISSION-1",
        "AC-PR-EVIDENCE-ADMISSION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 18,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:18"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 18,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:18"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 49,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:49"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-03",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-16",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-18",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-DISCOVERY-DEMAND",
      "module": "discovery-and-buyer-profile",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Discover eligible offers and capture private buyer criteria",
        "pt": "Descobrir ofertas elegiveis e registrar criterios privados do comprador"
      },
      "description": {
        "en": "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.",
        "pt": "Combinar descoberta filtrada por permissoes, fichas de ativos, perfis de compra, preferencias e consentimento separado de comunicacao. Registrar interesse, perguntas e oportunidades recusadas como pesquisa de demanda, sem trata-los como compromissos financiados."
      },
      "roles": [
        "buyer",
        "commercial_manager",
        "operations_reviewer"
      ],
      "screens": [
        "market",
        "assetFactSheet",
        "institutionalPortal",
        "investorEducation",
        "buyerDemand",
        "buyerPreferences"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:20",
        "dev_toolkit/13_SCREEN_CATALOG.md:36",
        "delivery_blocks/source.json:343",
        "ai_native/index_en.txt:60"
      ],
      "testRefs": [
        "AT-05",
        "AT-06",
        "AT-22"
      ],
      "acceptance": {
        "en": [
          "Fact sheets show represented rights, issuer, issuance location, risks, source time and an external-availability caveat; denied offers never enter eligible search results.",
          "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."
        ],
        "pt": [
          "Fichas mostram direitos representados, emissor, local de emissao, riscos, data da origem e ressalva sobre disponibilidade externa; ofertas negadas nao entram nos resultados elegiveis.",
          "Criterios confirmados pelo comprador e consentimentos de comunicacao preservam ator, escopo e versao; orcamentos privados nao sao revelados ao vendedor, e interesse nao vinculante nao cria ordem nem reserva."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-DISCOVERY-DEMAND-1",
        "AC-PR-DISCOVERY-DEMAND-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 20,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:20"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 36,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:36"
        },
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 343,
          "label": "delivery_blocks/source.json:343"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 60,
          "label": "ai_native/index_en.txt:60"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-05",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-06",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-22",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-NEGOTIATION",
      "module": "negotiation-and-deal-records",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Maintain private, versioned bilateral negotiations",
        "pt": "Manter negociacoes bilaterais privadas e versionadas"
      },
      "description": {
        "en": "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.",
        "pt": "Disponibilizar mesa de oportunidades e ambiente de negocios para perguntas, propostas, contrapropostas e acoes explicitas das partes. Preservar versoes da oferta e da cotacao, regras de visibilidade, valores exatos, vencimento e cronologia."
      },
      "roles": [
        "buyer",
        "seller",
        "authorized_signer",
        "operations_reviewer"
      ],
      "screens": [
        "opportunityDesk",
        "dealWorkspace"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:21",
        "dev_toolkit/13_SCREEN_CATALOG.md:28",
        "dev_toolkit/13_SCREEN_CATALOG.md:39"
      ],
      "testRefs": [
        "AT-06",
        "AT-10",
        "AT-11"
      ],
      "acceptance": {
        "en": [
          "Each counterproposal creates a new immutable version with actor and timestamp while retaining the prior terms and permitted audience.",
          "Expired, withdrawn or superseded terms cannot progress; an economic or document change requires renewed party review rather than silent replacement."
        ],
        "pt": [
          "Cada contraproposta cria uma nova versao imutavel com ator e horario, preservando os termos anteriores e o publico autorizado.",
          "Termos vencidos, retirados ou substituidos nao avancam; mudanca economica ou documental exige nova revisao das partes, sem substituicao silenciosa."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-NEGOTIATION-1",
        "AC-PR-NEGOTIATION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 21,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:21"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 28,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:28"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 39,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:39"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-06",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-10",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-11",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-OPERATIONS-AUDIT",
      "module": "operations-and-deterministic-controls",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Assign accountable cases and preserve exact audit records",
        "pt": "Atribuir responsaveis aos casos e preservar registros exatos de auditoria"
      },
      "description": {
        "en": "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.",
        "pt": "Implementar filas operacionais, tarefas, responsaveis, prazos e historico de eventos ligado a evidencias. Valores usam unidades monetarias minimas exatas ou contratos decimais revisados. Esquemas candidatos, OpenAPI e modelos de referencia permanecem artefatos de projeto ate implementacao e aceite separados no servidor e banco."
      },
      "roles": [
        "case_owner",
        "operations_reviewer",
        "administrator",
        "independent_reviewer"
      ],
      "screens": [
        "workflowHub",
        "operationsRegistry",
        "caseWorkspace",
        "taskCenter",
        "dealsAdmin",
        "auditCenter",
        "riskEngine",
        "ledger"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:22",
        "dev_toolkit/06_ACCEPTANCE_TESTS.md:29",
        "dev_toolkit/07_OPEN_DECISIONS.md:23",
        "mobile_app/Mobile_Spec_en.txt:22"
      ],
      "testRefs": [
        "AT-23",
        "AT-24",
        "dev_toolkit/reference-model/state.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Uma tarefa aberta fica atrasada apenas depois do prazo; o responsavel original continua responsavel pelo caso ate um destinatario ativo do mesmo ambiente aceitar, preservando prazo e proxima acao.",
          "Comandos desatualizados, sem autorizacao ou conflitantes nao alteram estado; repeticoes exatas nao adicionam eventos, e registros duraveis preservam ator, versoes, evidencias, motivo e correcoes."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-OPERATIONS-AUDIT-1",
        "AC-PR-OPERATIONS-AUDIT-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 22,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:22"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": 29,
          "label": "dev_toolkit/06_ACCEPTANCE_TESTS.md:29"
        },
        {
          "href": "sources/canonical/dev_toolkit/07_OPEN_DECISIONS.md.txt",
          "line": 23,
          "label": "dev_toolkit/07_OPEN_DECISIONS.md:23"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 22,
          "label": "mobile_app/Mobile_Spec_en.txt:22"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-23",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-24",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/reference-model/state.test.cjs.txt",
          "line": null,
          "label": "dev_toolkit/reference-model/state.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-ALPHA-BOUNDARY",
      "module": "alpha-and-release-boundaries",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Prove a synthetic M3 journey without live authority",
        "pt": "Demonstrar uma jornada sintetica em M3 sem autoridade para operar"
      },
      "description": {
        "en": "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.",
        "pt": "Ter como alvo um alpha interno comprador-vendedor-administrador em M3, contado a partir do recebimento real exigido pelo gate de financiamento. Demonstracoes executaveis e o piloto compartilhado existentes sao referencias; sua abrangencia ou verificacoes de modelo nao implementam este roadmap nem autorizam transacoes reais."
      },
      "roles": [
        "buyer",
        "seller",
        "administrator",
        "CTO",
        "product_owner"
      ],
      "screens": [
        "simulationLab",
        "operatingReadiness",
        "dealWorkspace"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:9",
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:23",
        "dev_toolkit/06_ACCEPTANCE_TESTS.md:3",
        "CURRENT_VERSION_READ_FIRST.txt:10"
      ],
      "testRefs": [
        "AT-07",
        "delivery_blocks/scope.test.cjs"
      ],
      "acceptance": {
        "en": [
          "Complete the scripted synthetic buyer-seller-admin deal and negative authorization/country scenarios with reproducible fixtures and CTO acceptance.",
          "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."
        ],
        "pt": [
          "Completar o negocio sintetico roteirizado de comprador-vendedor-administrador e cenarios negativos de autorizacao/pais com fixtures reproduziveis e aceite do CTO.",
          "Cada evento sintetico de dinheiro, ativo ou blockchain e identificado e isolado de estado real, volume reconhecido e taxas; nenhuma data, simulacao ou selecao local de papel libera execucao real."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-ALPHA-BOUNDARY-1",
        "AC-PR-ALPHA-BOUNDARY-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 9,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:9"
        },
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 23,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:23"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": 3,
          "label": "dev_toolkit/06_ACCEPTANCE_TESTS.md:3"
        },
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 10,
          "label": "CURRENT_VERSION_READ_FIRST.txt:10"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-07",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/delivery_blocks/scope.test.cjs.txt",
          "line": null,
          "label": "delivery_blocks/scope.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-RESPONSIVE-LOCALIZATION",
      "module": "responsive-web-and-accessibility",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Deliver accessible responsive web across the first two blocks",
        "pt": "Entregar web responsiva e acessivel nos dois primeiros blocos"
      },
      "description": {
        "en": "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.",
        "pt": "Web responsiva e obrigatoria nos Blocos 1 e 2. Disponibilizar estados e recuperacao em EN/PT/ES/FR/AR/ZH; aplicativos nativos de lojas iOS/Android continuam como escopo separado do Bloco 3."
      },
      "roles": [
        "buyer",
        "seller",
        "administrator",
        "QA",
        "product_owner"
      ],
      "screens": [
        "market",
        "assetFactSheet",
        "companyOnboarding",
        "dealWorkspace",
        "caseWorkspace"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:59",
        "dev_toolkit/13_SCREEN_CATALOG.md:8",
        "dev_toolkit/13_SCREEN_CATALOG.md:14",
        "dev_toolkit/13_SCREEN_CATALOG.md:67",
        "dev_toolkit/06_ACCEPTANCE_TESTS.md:39"
      ],
      "testRefs": [
        "AT-05",
        "AT-18",
        "AT-22"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Formularios e linhas do tempo criticos funcionam em telas pequenas e com teclado, com validacao, carregamento, vazio, negacao, desatualizacao e recuperacao localizados; nenhuma acao critica depende de hover.",
          "Arabe suporta RTL com identificadores legiveis, e evidencia de navegador movel/Safari nativo e registrada antes de declarar suporte; emulacao WebKit isolada nao comprova esse suporte."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-RESPONSIVE-LOCALIZATION-1",
        "AC-PR-RESPONSIVE-LOCALIZATION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 59,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:59"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 8,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:8"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 14,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:14"
        },
        {
          "href": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt",
          "line": 67,
          "label": "dev_toolkit/13_SCREEN_CATALOG.md:67"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": 39,
          "label": "dev_toolkit/06_ACCEPTANCE_TESTS.md:39"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-05",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-18",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-22",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-AI-M3",
      "module": "core-ai-foundation",
      "status": "specified-not-implemented",
      "phase": "block1",
      "title": {
        "en": "Prepare five bounded core AI capabilities by M3",
        "pt": "Preparar cinco capacidades centrais de IA ate M3"
      },
      "description": {
        "en": "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.",
        "pt": "A diretriz de produto confirmada pelo fundador mira AI-01 perfil de compra, AI-02 entrada de ofertas, AI-03 revisao de evidencias, AI-04 pesquisa de compradores e AI-06 rascunhos de contato/idiomas ate M3. Aceite tecnico, de capacidade e custo pelo CTO continua pendente; nenhum agente canonico esta rodando. A orquestracao compartilhada deve preceder a ativacao."
      },
      "roles": [
        "CTO",
        "CFO",
        "buyer",
        "seller",
        "commercial_manager",
        "human_reviewer"
      ],
      "screens": [
        "buyerDemand",
        "tokenIntake",
        "documentReview",
        "opportunityDesk"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:69",
        "ai_native/index_en.txt:57",
        "ai_native/index_en.txt:147",
        "ai_native/architecture-contract.json:14",
        "ai_native/architecture-contract.json:21"
      ],
      "testRefs": [
        "ai_native/contracts/test_contracts.py",
        "ai_native/cost-model.test.cjs",
        "delivery_blocks/pre-final.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Cada tarefa autoriza ambiente, ator, finalidade, fontes e ferramentas antes da execucao e devolve rascunho tipado com citacoes, versoes e desconhecidos explicitos para revisao humana; agentes nao enviam contatos nem aprovam acoes financeiras/juridicas autonomamente.",
          "A orquestracao no servidor impoe idempotencia, timeout, no maximo uma repeticao, limites de tokens/ferramentas e chave de interrupcao; o consumo inclui tentativas falhas e conciliacao de custos com faturas, avaliando injecao de instrucoes e vazamento de orcamento privado antes da ativacao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-AI-M3-1",
        "AC-PR-AI-M3-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 69,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:69"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 57,
          "label": "ai_native/index_en.txt:57"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 147,
          "label": "ai_native/index_en.txt:147"
        },
        {
          "href": "sources/canonical/ai_native/architecture-contract.json.txt",
          "line": 14,
          "label": "ai_native/architecture-contract.json:14"
        },
        {
          "href": "sources/canonical/ai_native/architecture-contract.json.txt",
          "line": 21,
          "label": "ai_native/architecture-contract.json:21"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/ai_native/contracts/test_contracts.py.txt",
          "line": null,
          "label": "ai_native/contracts/test_contracts.py",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/ai_native/cost-model.test.cjs.txt",
          "line": null,
          "label": "ai_native/cost-model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/delivery_blocks/pre-final.test.cjs.txt",
          "line": null,
          "label": "delivery_blocks/pre-final.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-FIRST-ROUTE",
      "module": "provider-and-controlled-live-pilot",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Enable one approved external route for the M5 pilot target",
        "pt": "Habilitar uma rota externa aprovada para o alvo de piloto em M5"
      },
      "description": {
        "en": "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.",
        "pt": "O piloto real controlado tem M5 como alvo apenas depois da aprovacao do instrumento, parte compradora, classe de investidor, promocao permitida, atividades do prestador e responsabilidades contratuais. Dubai/EAU e o primeiro mercado de clientes; cadastro, selo de gateway ou marco temporal nao concede permissao."
      },
      "roles": [
        "founder",
        "counsel",
        "provider",
        "compliance_reviewer",
        "CTO",
        "operations_reviewer"
      ],
      "screens": [
        "connectCenter",
        "integrationSetup",
        "railPartner",
        "marketAccessAdmin",
        "onboardingReview"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:27",
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:31",
        "dev_toolkit/07_OPEN_DECISIONS.md:7",
        "delivery_blocks/source.json:58",
        "CURRENT_VERSION_READ_FIRST.txt:49"
      ],
      "testRefs": [
        "AT-08",
        "AT-24"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Uma decisao registrada de liberacao vincula contratos assinados do prestador/operacao, versao aprovada da politica de mercado, KYC/KYB independente e autoridade vigente do signatario a primeira rota real.",
          "Evidencia revogada ou vencida da parte/rota bloqueia o avanco mesmo com aprovacoes anteriores; o piloto termina com negocio permitido e evidenciado independentemente ou com bloqueio documentado, sem presumir liquidacao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-FIRST-ROUTE-1",
        "AC-PR-FIRST-ROUTE-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 27,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:27"
        },
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 31,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:31"
        },
        {
          "href": "sources/canonical/dev_toolkit/07_OPEN_DECISIONS.md.txt",
          "line": 7,
          "label": "dev_toolkit/07_OPEN_DECISIONS.md:7"
        },
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 58,
          "label": "delivery_blocks/source.json:58"
        },
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 49,
          "label": "CURRENT_VERSION_READ_FIRST.txt:49"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-08",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-24",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-SUPPLY-AGREEMENT",
      "module": "external-supply-and-binding-terms",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Bind fresh external supply and identical accepted terms",
        "pt": "Vincular oferta externa atualizada e termos aceitos identicos"
      },
      "description": {
        "en": "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.",
        "pt": "Antes da conversao, rever disponibilidade externa, politica de mercado, autoridade e aceite das duas partes da mesma cotacao vigente e acordo aprovado. Um registro de capacidade no GlemO nao bloqueia estoque do prestador."
      },
      "roles": [
        "buyer",
        "seller",
        "authorized_signer",
        "provider",
        "operations_reviewer"
      ],
      "screens": [
        "dealWorkspace",
        "opportunityDesk",
        "externalSettlement"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:33",
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:34",
        "mobile_app/Mobile_Spec_en.txt:43",
        "mobile_app/Mobile_Spec_en.txt:45"
      ],
      "testRefs": [
        "AT-09",
        "AT-10",
        "AT-11",
        "AT-24"
      ],
      "acceptance": {
        "en": [
          "Stale or insufficient availability blocks conversion; order creation snapshots the current external source, units, observed time, route and policy version.",
          "Both signers accept one unexpired version/hash; material changes invalidate prior acceptance, and a transactionally guarded idempotent conversion creates at most one pending order."
        ],
        "pt": [
          "Disponibilidade desatualizada ou insuficiente bloqueia conversao; a criacao da ordem registra origem externa vigente, unidades, momento observado, rota e versao da politica.",
          "Os dois signatarios aceitam uma mesma versao/hash nao vencida; mudancas materiais invalidam aceites anteriores, e a conversao idempotente protegida por transacao cria no maximo uma ordem pendente."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-SUPPLY-AGREEMENT-1",
        "AC-PR-SUPPLY-AGREEMENT-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 33,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:33"
        },
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 34,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:34"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 43,
          "label": "mobile_app/Mobile_Spec_en.txt:43"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 45,
          "label": "mobile_app/Mobile_Spec_en.txt:45"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-09",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-10",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-11",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-24",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-SETTLEMENT-RECONCILIATION",
      "module": "external-settlement-and-exceptions",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Reconcile independent cash and asset legs with guarded recovery",
        "pt": "Conciliar etapas independentes de dinheiro e ativos com recuperacao controlada"
      },
      "description": {
        "en": "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.",
        "pt": "Operadores externos aprovados executam pagamento e entrega juridica do ativo. O GlemO registra as evidencias separadamente e exige conciliacao independente, correspondencia exata e tratamento explicito de excecoes; nao custodia principal nem presume entrega a partir do pagamento."
      },
      "roles": [
        "external_operator",
        "provider_adapter",
        "operations_reviewer",
        "independent_reconciler"
      ],
      "screens": [
        "externalSettlement",
        "externalPositions",
        "transactionClearance",
        "auditCenter",
        "caseWorkspace"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:35",
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:36",
        "mobile_app/Mobile_Spec_en.txt:53",
        "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:32"
      ],
      "testRefs": [
        "AT-12",
        "AT-13",
        "AT-14",
        "AT-15",
        "dev_toolkit/reference-model/settlement-safety.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "As etapas de dinheiro e ativo preservam IDs autenticados independentes, origem/finalidade e correspondencia com os termos; relatos ou uma unica etapa confirmada nao conciliam uma ordem, e apenas uma parcela conciliada independentemente pode virar principal liquidado elegivel.",
          "Eventos duplicados/fora de ordem nao duplicam taxas nem volume; etapas contestadas, vencidas, falhas ou revertidas mantem excecao com responsavel, e reembolso isolado nao libera capacidade sem evidencia revisada da devolucao do ativo."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-SETTLEMENT-RECONCILIATION-1",
        "AC-PR-SETTLEMENT-RECONCILIATION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 35,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:35"
        },
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 36,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:36"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 53,
          "label": "mobile_app/Mobile_Spec_en.txt:53"
        },
        {
          "href": "sources/canonical/dev_toolkit/18_TRANSACTION_COST_CONTRACT.md.txt",
          "line": 32,
          "label": "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:32"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-12",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-13",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-14",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-15",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/reference-model/settlement-safety.test.cjs.txt",
          "line": null,
          "label": "dev_toolkit/reference-model/settlement-safety.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-SAAS-BILLING",
      "module": "customer-contracts-and-software-billing",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Make onboarding and optional software billing repeatable",
        "pt": "Tornar repetiveis o onboarding e a cobranca opcional de software"
      },
      "description": {
        "en": "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.",
        "pt": "Preparar onboarding, renovacao, direitos de uso de software e vinculo contrato/fatura/recibo para lancamento limitado em M9 e alvo de ativacao paga contratual em M10. SaaS B2B do comprador permanece opcional e separado do acesso individual; metas de contas comerciais sao premissas de modelo, nao clientes."
      },
      "roles": [
        "software_customer",
        "seller",
        "buyer",
        "finance",
        "commercial_manager",
        "administrator"
      ],
      "screens": [
        "sellerPlans",
        "institutionalSaas",
        "distributionSaas",
        "saasCompany",
        "saasAdmin",
        "billingRevenue",
        "commercialRequests"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:45",
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:47",
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:52",
        "CURRENT_VERSION_READ_FIRST.txt:39",
        "CURRENT_VERSION_READ_FIRST.txt:42"
      ],
      "testRefs": [
        "AT-17",
        "AT-19",
        "AT-25"
      ],
      "acceptance": {
        "en": [
          "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.",
          "An eligible buyer can access permitted offers without buying SaaS; paying, cancelling or renewing software cannot override market denial or rewrite existing deal history."
        ],
        "pt": [
          "Contrato, prontidao do servico, cliente, periodo, fatura, evidencia de pagamento e direito de uso correspondem antes da ativacao paga; incubacao gratuita e termos pagos aplicaveis do modelo sao preservados, sem cobranca automatica.",
          "Comprador elegivel acessa ofertas permitidas sem contratar SaaS; pagamento, cancelamento ou renovacao do software nao substitui negacao de mercado nem reescreve historico de negocios."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-SAAS-BILLING-1",
        "AC-PR-SAAS-BILLING-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 45,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:45"
        },
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 47,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:47"
        },
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 52,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:52"
        },
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 39,
          "label": "CURRENT_VERSION_READ_FIRST.txt:39"
        },
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 42,
          "label": "CURRENT_VERSION_READ_FIRST.txt:42"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-17",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-19",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-25",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-COST-ATTRIBUTION",
      "module": "transaction-cost-and-commercial-attribution",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Version costs and contract-bound commercial attribution",
        "pt": "Versionar custos e atribuicao comercial vinculada a contrato"
      },
      "description": {
        "en": "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.",
        "pt": "Manter a taxa canonica de 1.2% do GlemO sobre principal elegivel liquidado e conciliado independentemente separada da comissao externa adicional de agente e da estimativa de gateway. Registrar pagador, escopo, evento de cobranca e evidencia de recebimento contratuais; estimativa ou taxa bruta isolada nao e receita recebida."
      },
      "roles": [
        "finance",
        "commercial_manager",
        "permitted_agent",
        "provider",
        "independent_reconciler"
      ],
      "screens": [
        "distributionAttribution",
        "billingRevenue",
        "saasAdminTransactions",
        "auditCenter"
      ],
      "source": [
        "CURRENT_VERSION_READ_FIRST.txt:39",
        "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:17",
        "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:21",
        "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:25",
        "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:32"
      ],
      "testRefs": [
        "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:44",
        "AT-14",
        "AT-20"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Snapshots de custo aceitos identificam versao, principal, cada pagador/beneficiario, inclusoes, custos desconhecidos e consentimentos; alteracoes posteriores exigem novo aceite e nao reajustam registros assinados silenciosamente.",
          "Lancamentos de taxa de sucesso sao unicos por parcela conciliada e versao; atribuicao de agente antecede a compra, repasses ficam separados, minimos de prestadores nao se duplicam e reversoes criam creditos vinculados."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-COST-ATTRIBUTION-1",
        "AC-PR-COST-ATTRIBUTION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 39,
          "label": "CURRENT_VERSION_READ_FIRST.txt:39"
        },
        {
          "href": "sources/canonical/dev_toolkit/18_TRANSACTION_COST_CONTRACT.md.txt",
          "line": 17,
          "label": "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:17"
        },
        {
          "href": "sources/canonical/dev_toolkit/18_TRANSACTION_COST_CONTRACT.md.txt",
          "line": 21,
          "label": "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:21"
        },
        {
          "href": "sources/canonical/dev_toolkit/18_TRANSACTION_COST_CONTRACT.md.txt",
          "line": 25,
          "label": "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:25"
        },
        {
          "href": "sources/canonical/dev_toolkit/18_TRANSACTION_COST_CONTRACT.md.txt",
          "line": 32,
          "label": "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:32"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/18_TRANSACTION_COST_CONTRACT.md.txt",
          "line": null,
          "label": "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md:44",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-14",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-20",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-OWN-RAIL-BI",
      "module": "operational-bi-and-position-projections",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Report own-rail operations and evidenced positions",
        "pt": "Reportar operacoes do proprio rail e posicoes evidenciadas"
      },
      "description": {
        "en": "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.",
        "pt": "O BI inicial deriva metricas deterministicas de registros operacionais canonicos e posicoes evidenciadas externamente. Inteligencia ampla de mercado e comentarios de desempenho por IA sao capacidades posteriores. Preco de oferta nao e avaliacao atual, e aquisicao conciliada nao prova titularidade continua em custodia."
      },
      "roles": [
        "buyer",
        "operations_reviewer",
        "finance",
        "data_analyst"
      ],
      "screens": [
        "reports",
        "operationalBI",
        "biCenter",
        "externalPositions"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:48",
        "delivery_blocks/source.json:253",
        "mobile_app/Performance_Spec_en.txt:10",
        "mobile_app/Performance_Spec_en.txt:19"
      ],
      "testRefs": [
        "AT-20",
        "mobile_app/performance.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Tempo de caso, conversao, principal conciliado, elegibilidade de taxas e excecoes detalham registros canonicos distintos; negocios pendentes e juncoes repetidas de partes nao inflam totais.",
          "Valores de posicoes mostram origem, metodo, moeda, observacao e cobertura; marcacoes vencidas/ausentes ficam indisponiveis, subtotais de posicoes precificadas sao identificados e cobertura incompleta impede retorno ficticio da carteira."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-OWN-RAIL-BI-1",
        "AC-PR-OWN-RAIL-BI-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 48,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:48"
        },
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 253,
          "label": "delivery_blocks/source.json:253"
        },
        {
          "href": "sources/canonical/mobile_app/Performance_Spec_en.txt.txt",
          "line": 10,
          "label": "mobile_app/Performance_Spec_en.txt:10"
        },
        {
          "href": "sources/canonical/mobile_app/Performance_Spec_en.txt.txt",
          "line": 19,
          "label": "mobile_app/Performance_Spec_en.txt:19"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-20",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/mobile_app/performance.test.cjs.txt",
          "line": null,
          "label": "mobile_app/performance.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-LAUNCH-FIRST-LOOK",
      "module": "glemo-launch",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Offer documented first look to eligible buyer profiles",
        "pt": "Oferecer primeira janela documentada a perfis elegiveis"
      },
      "description": {
        "en": "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.",
        "pt": "GlemO Launch distribui oportunidades externas aprovadas e e distinto da emissao de GO. Compromisso documentado do vendedor pode sustentar uma primeira janela restrita, condicionada a verificacoes e rota vigentes, sem exigir SaaS pago, GO ou pontos."
      },
      "roles": [
        "seller",
        "buyer",
        "independent_reviewer",
        "commercial_manager"
      ],
      "screens": [
        "glemoLaunch",
        "buyerPreferences",
        "assetFactSheet"
      ],
      "source": [
        "launch/programme_en.txt:13",
        "launch/programme_en.txt:19",
        "launch/programme_en.txt:45",
        "launch/decision-register.json:12"
      ],
      "testRefs": [
        "launch/model.test.cjs",
        "launch/lifecycle.test.cjs"
      ],
      "acceptance": {
        "en": [
          "A campaign binds immutable offer version, seller commitment, UTC schedule/timezone, allowed audience, inventory observation, disclosures, review and consent references before preview or publication.",
          "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."
        ],
        "pt": [
          "A campanha vincula versao imutavel da oferta, compromisso do vendedor, agenda UTC/fuso, publico permitido, observacao do estoque, divulgacoes, revisao e consentimentos antes da previa ou publicacao.",
          "Verificacoes de elegibilidade, revogacao e agenda no servidor precedem divulgacao restrita; previa nao cria reserva nem prioridade de alocacao, prioridade por recompra continua desativada e 48-72 horas nao e padrao adotado."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-LAUNCH-FIRST-LOOK-1",
        "AC-PR-LAUNCH-FIRST-LOOK-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/launch/programme_en.txt.txt",
          "line": 13,
          "label": "launch/programme_en.txt:13"
        },
        {
          "href": "sources/canonical/launch/programme_en.txt.txt",
          "line": 19,
          "label": "launch/programme_en.txt:19"
        },
        {
          "href": "sources/canonical/launch/programme_en.txt.txt",
          "line": 45,
          "label": "launch/programme_en.txt:45"
        },
        {
          "href": "sources/canonical/launch/decision-register.json.txt",
          "line": 12,
          "label": "launch/decision-register.json:12"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/launch/model.test.cjs.txt",
          "line": null,
          "label": "launch/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/launch/lifecycle.test.cjs.txt",
          "line": null,
          "label": "launch/lifecycle.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-LAUNCH-RELAUNCH",
      "module": "glemo-launch-lifecycle",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Version necessary offer amendments with history and reconfirmation",
        "pt": "Versionar alterações necessárias da oferta com histórico e reconfirmação"
      },
      "description": {
        "en": "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.",
        "pt": "O bloco 2 limita-se a alterações necessárias e versionadas da oferta. Preço menor, melhoria comercial evidenciada ou documento material pode justificar alteração revisada; edições cosméticas não redefinem identidade, entrada original ou histórico de preços. Preservar revisão, comunicação aos participantes anteriores e reconfirmação da versão atual. A capacidade completa de relançamento promocional e recorrente, incluindo qualquer cota trimestral, pertence ao bloco 3 com escopo e aceite técnico/de capacidade, de custos e jurídico/dos provedores específicos. Não há orçamento adicional comprometido."
      },
      "roles": [
        "seller",
        "buyer",
        "independent_reviewer",
        "operations_reviewer"
      ],
      "screens": [
        "glemoLaunch",
        "publicationQueue",
        "dealWorkspace"
      ],
      "source": [
        "launch/programme_en.txt:48",
        "launch/programme_en.txt:51",
        "launch/programme_en.txt:54",
        "launch/programme_en.txt:57",
        "launch/decision-register.json:15"
      ],
      "testRefs": [
        "launch/lifecycle.test.cjs",
        "launch/conversion.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Relancamento grava nova versao com verificacao da versao esperada, evidencia e diferenca substancial, preservando identidade, entrada, precos e estados anteriores; nova revisao bloqueia distribuicao ate aprovacao.",
          "Negociadores existentes e interesses anteriores recebem evidencia de comunicacao aprovada antes da distribuicao geral; interesses antigos exigem reconfirmacao da versao atual, e acordos assinados nunca mudam de preco silenciosamente. Intervalo e franquia exigem aprovacao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-LAUNCH-RELAUNCH-1",
        "AC-PR-LAUNCH-RELAUNCH-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/launch/programme_en.txt.txt",
          "line": 48,
          "label": "launch/programme_en.txt:48"
        },
        {
          "href": "sources/canonical/launch/programme_en.txt.txt",
          "line": 51,
          "label": "launch/programme_en.txt:51"
        },
        {
          "href": "sources/canonical/launch/programme_en.txt.txt",
          "line": 54,
          "label": "launch/programme_en.txt:54"
        },
        {
          "href": "sources/canonical/launch/programme_en.txt.txt",
          "line": 57,
          "label": "launch/programme_en.txt:57"
        },
        {
          "href": "sources/canonical/launch/decision-register.json.txt",
          "line": 15,
          "label": "launch/decision-register.json:15"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/launch/lifecycle.test.cjs.txt",
          "line": null,
          "label": "launch/lifecycle.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/launch/conversion.test.cjs.txt",
          "line": null,
          "label": "launch/conversion.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-LAUNCH-CONVERSION",
      "module": "launch-conversion-and-funnel",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Connect campaign interest to native deal records and a consistent funnel",
        "pt": "Conectar interesse de campanha aos registros do negocio e a funil consistente"
      },
      "description": {
        "en": "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.",
        "pt": "Vincular interesse qualificado do Launch aos responsaveis existentes por identidade, oferta, negociacao, acordo, evidencia externa e conciliacao. Contratos SQL/API candidatos de conversao sao insumos de revisao, nao um segundo sistema transacional implantado nem banco fisico."
      },
      "roles": [
        "buyer",
        "seller",
        "operations_reviewer",
        "external_operator",
        "independent_reconciler",
        "data_analyst"
      ],
      "screens": [
        "glemoLaunch",
        "opportunityDesk",
        "dealWorkspace",
        "operationalBI"
      ],
      "source": [
        "launch/conversion_en.txt:13",
        "launch/conversion_en.txt:19",
        "launch/conversion_en.txt:25",
        "launch/conversion_en.txt:28"
      ],
      "testRefs": [
        "launch/conversion.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "A coorte unica e comprador x campanha x versao imutavel da oferta; o primeiro canal registrado permanece, cada etapa usa a mesma coorte/janela e denominador vazio retorna null.",
          "Eventos autenticados dos fluxos existentes e prestadores estabelecem o avanco; vinculo opaco de caso nao revela dados pessoais/valores na URL, nao contorna permissoes nem cria livro de custodia ou ordem por mera atribuicao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-LAUNCH-CONVERSION-1",
        "AC-PR-LAUNCH-CONVERSION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/launch/conversion_en.txt.txt",
          "line": 13,
          "label": "launch/conversion_en.txt:13"
        },
        {
          "href": "sources/canonical/launch/conversion_en.txt.txt",
          "line": 19,
          "label": "launch/conversion_en.txt:19"
        },
        {
          "href": "sources/canonical/launch/conversion_en.txt.txt",
          "line": 25,
          "label": "launch/conversion_en.txt:25"
        },
        {
          "href": "sources/canonical/launch/conversion_en.txt.txt",
          "line": 28,
          "label": "launch/conversion_en.txt:28"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/launch/conversion.test.cjs.txt",
          "line": null,
          "label": "launch/conversion.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-ACTIVITY-POINTS",
      "module": "activity-and-go-points-ledger",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Record approved non-transferable activity points",
        "pt": "Registrar pontos de atividade aprovados e intransferiveis"
      },
      "description": {
        "en": "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.",
        "pt": "O lancamento pode incluir livro versionado e auditavel de atividades/pontos apos aprovacoes do programa. A referencia sintetica local existente nao e programa adotado, saldo de tokens, direito de conversao nem airdrop garantido."
      },
      "roles": [
        "participant",
        "administrator",
        "independent_reviewer",
        "appeal_reviewer"
      ],
      "screens": [
        "goPoints",
        "auditCenter"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:61",
        "delivery_blocks/source.json:269",
        "go_points/implementation-contract.json:117",
        "go_points/implementation-contract.json:164",
        "tokenomics/integration-contract.json:38"
      ],
      "testRefs": [
        "go_points/model.test.cjs",
        "delivery_blocks/scope.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Somente regulamento/temporada aprovados e evidencia autorizada criam premio pendente; regras deterministicas deduplicam participantes vinculados, negocios e indicacoes e bloqueiam atividade interna, relacionada, circular ou revertida.",
          "Confirmacao independente, rejeicao, estorno e recurso preservam livro e limites brutos; tempo decorrido ou IA nao confirma automaticamente, e nenhuma acao de pontos ativa resgate GO ou taxa fixa de conversao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-ACTIVITY-POINTS-1",
        "AC-PR-ACTIVITY-POINTS-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 61,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:61"
        },
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 269,
          "label": "delivery_blocks/source.json:269"
        },
        {
          "href": "sources/canonical/go_points/implementation-contract.json.txt",
          "line": 117,
          "label": "go_points/implementation-contract.json:117"
        },
        {
          "href": "sources/canonical/go_points/implementation-contract.json.txt",
          "line": 164,
          "label": "go_points/implementation-contract.json:164"
        },
        {
          "href": "sources/canonical/tokenomics/integration-contract.json.txt",
          "line": 38,
          "label": "tokenomics/integration-contract.json:38"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/go_points/model.test.cjs.txt",
          "line": null,
          "label": "go_points/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/delivery_blocks/scope.test.cjs.txt",
          "line": null,
          "label": "delivery_blocks/scope.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-AI-PILOT-LAUNCH",
      "module": "human-reviewed-ai-assistance",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Expand to eight core agents at pilot and ten by M9",
        "pt": "Expandir para oito agentes centrais no piloto e dez ate M9"
      },
      "description": {
        "en": "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.",
        "pt": "A diretriz adiciona AI-05 classificacao de oportunidades elegiveis, AI-07 negociacao e AI-08 montagem de acordos para o alvo do piloto, depois AI-09 observacao de liquidacao e AI-10 investigacao de conciliacao ate M9. Adicionar console assistanceJobs; contagens dependem do aceite de capacidade/custo pelo CTO, com zero agentes canonicos atualmente em execucao."
      },
      "roles": [
        "CTO",
        "CFO",
        "buyer",
        "seller",
        "counsel",
        "operations_reviewer",
        "independent_reconciler"
      ],
      "screens": [
        "assistanceJobs",
        "opportunityDesk",
        "dealWorkspace",
        "caseWorkspace"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:69",
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:73",
        "ai_native/index_en.txt:129",
        "ai_native/index_en.txt:165",
        "ai_native/index_en.txt:201",
        "delivery_blocks/source.json:285"
      ],
      "testRefs": [
        "ai_native/contracts/test_contracts.py",
        "ai_native/cost-model.test.cjs",
        "delivery_blocks/scope.test.cjs"
      ],
      "acceptance": {
        "en": [
          "Ranking receives only deterministically eligible candidates; party-private negotiation and approved-template agreement drafts preserve exact terms, citations and explicit human acceptance/signature.",
          "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."
        ],
        "pt": [
          "Classificacao recebe apenas candidatos elegiveis pelo motor deterministico; rascunhos privados de negociacao e acordos de modelos aprovados preservam termos exatos, citacoes e aceite/assinatura humana explicita.",
          "AI-09/10 explicam excecoes com fontes independentes sem confirmar etapas, mudar destinos, encerrar divergencias ou criar direito a taxas; cinco mais tres mais dois totalizam dez capacidades centrais e excluem os oito workers do Monitor apos lancamento."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-AI-PILOT-LAUNCH-1",
        "AC-PR-AI-PILOT-LAUNCH-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 69,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:69"
        },
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 73,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:73"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 129,
          "label": "ai_native/index_en.txt:129"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 165,
          "label": "ai_native/index_en.txt:165"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 201,
          "label": "ai_native/index_en.txt:201"
        },
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 285,
          "label": "delivery_blocks/source.json:285"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/ai_native/contracts/test_contracts.py.txt",
          "line": null,
          "label": "ai_native/contracts/test_contracts.py",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/ai_native/cost-model.test.cjs.txt",
          "line": null,
          "label": "ai_native/cost-model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/delivery_blocks/scope.test.cjs.txt",
          "line": null,
          "label": "delivery_blocks/scope.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-RELEASE-OPERATIONS",
      "module": "security-support-and-recovery",
      "status": "specified-not-implemented",
      "phase": "block2",
      "title": {
        "en": "Accept production security, support and recovery before release",
        "pt": "Aceitar seguranca, suporte e recuperacao de producao antes da liberacao"
      },
      "description": {
        "en": "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.",
        "pt": "Seguranca obrigatoria, armazenamento privado de evidencias, monitoramento, backup/restauracao, incidentes e suporte condicionam o alvo de piloto real em M5 e lancamento limitado em M9. Adiar funcionalidade nunca adia autorizacao, revisao humana ou controles de liquidacao externa."
      },
      "roles": [
        "CTO",
        "security_reviewer",
        "operations_owner",
        "support_operator",
        "counsel",
        "provider"
      ],
      "screens": [
        "operatingReadiness",
        "operationalRequests",
        "caseWorkspace",
        "auditCenter"
      ],
      "source": [
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:37",
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:49",
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:57",
        "dev_toolkit/06_ACCEPTANCE_TESTS.md:41"
      ],
      "testRefs": [
        "AT-16",
        "AT-21",
        "AT-22"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "A evidencia de liberacao inclui identidade de producao, documentos protegidos, criptografia, auditoria no servidor, revisao de seguranca e restauracao preservando isolamento, ordem de eventos, referencias e casos pendentes.",
          "Operadores designados exercitam escalonamento, incidentes e alternativas do prestador sob SLAs aprovados; aceites de produto, CTO, seguranca, operacoes e juridico/prestador sao registrados separadamente e falha obrigatoria bloqueia liberacao real."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-RELEASE-OPERATIONS-1",
        "AC-PR-RELEASE-OPERATIONS-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 37,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:37"
        },
        {
          "href": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt",
          "line": 49,
          "label": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:49"
        },
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 57,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:57"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": 41,
          "label": "dev_toolkit/06_ACCEPTANCE_TESTS.md:41"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-16",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-21",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-22",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-ASSISTED-RESALE-ADMISSION",
      "module": "assisted-resale",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Review coordinated secondary resale for separately approved post-launch delivery",
        "pt": "Revisar revenda secundária coordenada para entrega pós-lançamento aprovada separadamente"
      },
      "description": {
        "en": "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.",
        "pt": "A revenda secundária plenamente coordenada pertence ao bloco 3, após o lançamento, sem data fixa de início, sujeita a aceite técnico/de capacidade, aprovação dos custos de construção e recorrentes e aprovação jurídica/dos provedores específicos. O piloto simulado existente inclui apenas uma solicitação leve e não vinculante do titular, sem casamento de ordens, execução ou custódia; sua presença não promete um recurso de MVP financiado. Solicitações totais ou parciais não autorizam mercado secundário nem prometem liquidez."
      },
      "roles": [
        "selling_holder",
        "new_buyer",
        "compliance_reviewer",
        "provider",
        "issuer",
        "assisted_operator"
      ],
      "screens": [
        "assistedResale",
        "externalPositions"
      ],
      "source": [
        "resale/RELEASE.json:25",
        "resale/spec_en.txt:7",
        "resale/spec_en.txt:15",
        "resale/spec_en.txt:22",
        "resale/spec_en.txt:46"
      ],
      "testRefs": [
        "resale/model.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Antes da publicacao, atualizar titularidade autoritativa, quantidade disponivel, titulo juridico, autoridade, restricoes, gravames, lote minimo/residual e consentimento exigido do emissor; evidencia ausente ou ambigua bloqueia o avanco.",
          "Registrar aprovacao juridica/do prestador para instrumento, atividade e jurisdicoes das duas partes, versoes de politica/evidencia e janelas de validade; mostrar que pedidos nao garantem comprador, saida, preco nem prazo de venda."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-ASSISTED-RESALE-ADMISSION-1",
        "AC-PR-ASSISTED-RESALE-ADMISSION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/resale/RELEASE.json.txt",
          "line": 25,
          "label": "resale/RELEASE.json:25"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 7,
          "label": "resale/spec_en.txt:7"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 15,
          "label": "resale/spec_en.txt:15"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 22,
          "label": "resale/spec_en.txt:22"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 46,
          "label": "resale/spec_en.txt:46"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/resale/model.test.cjs.txt",
          "line": null,
          "label": "resale/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-ASSISTED-RESALE-COMPLETION",
      "module": "assisted-resale-agreement-and-settlement",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Reserve and reconcile partial resales without overselling",
        "pt": "Reservar e conciliar revendas parciais sem vender unidades em excesso"
      },
      "description": {
        "en": "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.",
        "pt": "Para a capacidade de revenda secundária coordenada do bloco 3 pós-lançamento, sujeita a aprovações técnica/de capacidade, dos custos de construção e recorrentes e jurídica/dos provedores específicas, implementar aceite bilateral idêntico, reserva atômica de quantidade, pagamento e transferência jurídica externos, conciliação independente de titularidade e atualização exata do custo. A solicitação leve simulada não inclui essas capacidades operacionais coordenadas. Aritmética local e concorrência no navegador não comprovam exclusividade no servidor nem conclusão real."
      },
      "roles": [
        "selling_holder",
        "new_buyer",
        "external_operator",
        "independent_reconciler",
        "finance"
      ],
      "screens": [
        "assistedResale",
        "externalPositions",
        "externalSettlement",
        "auditCenter"
      ],
      "source": [
        "resale/spec_en.txt:16",
        "resale/spec_en.txt:18",
        "resale/spec_en.txt:29",
        "resale/spec_en.txt:32",
        "resale/spec_en.txt:38",
        "resale/spec_en.txt:43"
      ],
      "testRefs": [
        "resale/model.test.cjs",
        "mobile_app/performance.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "As duas partes aceitam um unico acordo vigente nao vencido incluindo destino/beneficiario verificados; mudancas removem ambos os aceites, e transacoes protegidas reservam cada unidade verificada uma vez entre ofertas concorrentes.",
          "Somente revisao independente das duas etapas finais e titularidade atualizada aplica atomicamente deltas do vendedor/comprador e custo alocado uma vez; custos desconhecidos mantem resultado provisorio, e cancelamento/timeout nao libera reservas em transito ou incertas sem evidencia autoritativa de recuperacao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-ASSISTED-RESALE-COMPLETION-1",
        "AC-PR-ASSISTED-RESALE-COMPLETION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 16,
          "label": "resale/spec_en.txt:16"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 18,
          "label": "resale/spec_en.txt:18"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 29,
          "label": "resale/spec_en.txt:29"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 32,
          "label": "resale/spec_en.txt:32"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 38,
          "label": "resale/spec_en.txt:38"
        },
        {
          "href": "sources/canonical/resale/spec_en.txt.txt",
          "line": 43,
          "label": "resale/spec_en.txt:43"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/resale/model.test.cjs.txt",
          "line": null,
          "label": "resale/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/mobile_app/performance.test.cjs.txt",
          "line": null,
          "label": "mobile_app/performance.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-MONITOR-SOURCES",
      "module": "monitor-data-center-source-registry",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Admit licensed Monitor sources after launch",
        "pt": "Admitir fontes licenciadas do Monitor apos o lancamento"
      },
      "description": {
        "en": "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.",
        "pt": "Monitor Data Center fica explicitamente apos o lancamento e nao e dependencia de M3, M5 ou M9. A proposta restrita cobre 20-50 emissores, ate 100 contratos e um adaptador EVM revisado, expandindo para 2-3 redes compativeis somente apos validacao. Nenhuma fonte esta conectada."
      },
      "roles": [
        "CTO",
        "data_owner",
        "counsel",
        "CFO",
        "administrator"
      ],
      "screens": [
        "monitorDataCenter"
      ],
      "source": [
        "delivery_blocks/source.json:86",
        "monitor_data_center/implementation-plan.json:10",
        "monitor_data_center/implementation-contract.json:30",
        "monitor_data_center/implementation-contract.json:237"
      ],
      "testRefs": [
        "monitor_data_center/plan-model.test.cjs",
        "monitor_data_center/toolkit/schema.test.cjs"
      ],
      "acceptance": {
        "en": [
          "Each enabled source has versioned rights for commercial use, attribution, retention, redistribution and LLM processing; public availability alone cannot authorize ingestion or export.",
          "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."
        ],
        "pt": [
          "Cada fonte habilitada tem direitos versionados de uso comercial, atribuicao, retencao, redistribuicao e processamento por LLM; disponibilidade publica isolada nao autoriza ingestao nem exportacao.",
          "CTO/CFO aprovam escopo, capacidade de implementacao e custos recorrentes incrementais antes da ativacao; limites da fonte prevalecem sobre a cadencia proposta e nao se presume cobertura integral, privada ou historica."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-MONITOR-SOURCES-1",
        "AC-PR-MONITOR-SOURCES-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 86,
          "label": "delivery_blocks/source.json:86"
        },
        {
          "href": "sources/canonical/monitor_data_center/implementation-plan.json.txt",
          "line": 10,
          "label": "monitor_data_center/implementation-plan.json:10"
        },
        {
          "href": "sources/canonical/monitor_data_center/implementation-contract.json.txt",
          "line": 30,
          "label": "monitor_data_center/implementation-contract.json:30"
        },
        {
          "href": "sources/canonical/monitor_data_center/implementation-contract.json.txt",
          "line": 237,
          "label": "monitor_data_center/implementation-contract.json:237"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/monitor_data_center/plan-model.test.cjs.txt",
          "line": null,
          "label": "monitor_data_center/plan-model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/monitor_data_center/toolkit/schema.test.cjs.txt",
          "line": null,
          "label": "monitor_data_center/toolkit/schema.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-MONITOR-PIPELINE",
      "module": "monitor-ingestion-review-and-market-bi",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Produce reviewed market intelligence with eight distinct Monitor functions",
        "pt": "Produzir inteligencia de mercado revisada com oito funcoes distintas do Monitor"
      },
      "description": {
        "en": "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.",
        "pt": "Implementar MDC-01 registro de fontes, MDC-02 descoberta publica, MDC-03 observacao de redes, MDC-04 resolucao de entidades, MDC-05 classificacao/deduplicacao/reorganizacao, MDC-06 revisao de negocios, MDC-07 hipoteses de oportunidades e MDC-08 alertas de qualidade/custo. Essas oito funcoes sao separadas dos treze agentes centrais; parsing deterministico nao exige LLM."
      },
      "roles": [
        "data_engineering",
        "market_analyst",
        "independent_reviewer",
        "commercial_manager",
        "CTO",
        "CFO"
      ],
      "screens": [
        "monitorDataCenter",
        "biCenter"
      ],
      "source": [
        "monitor_data_center/implementation-contract.json:22",
        "monitor_data_center/implementation-contract.json:138",
        "monitor_data_center/implementation-contract.json:158",
        "monitor_data_center/implementation-contract.json:199",
        "monitor_data_center/implementation-contract.json:212"
      ],
      "testRefs": [
        "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"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Ingestao autorizada preserva snapshots, hashes, horarios, direitos, versoes de adaptador/finalidade e linhagem de correcoes; busca incremental, protecao SSRF, deduplicacao, reorganizacao, antirrepeticao e limites por conector/mes precedem processamento continuo.",
          "Somente negocios canonicos reportados e corroborados independentemente entram nas projecoes de principal de mercado; transferencias, emissao/queima, pontes, NAV/AUM e anuncios nao sao vendas, USD desconhecido fica null e observacao do Monitor nao vira volume GlemO, receita de taxas nem contato autonomo."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-MONITOR-PIPELINE-1",
        "AC-PR-MONITOR-PIPELINE-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/monitor_data_center/implementation-contract.json.txt",
          "line": 22,
          "label": "monitor_data_center/implementation-contract.json:22"
        },
        {
          "href": "sources/canonical/monitor_data_center/implementation-contract.json.txt",
          "line": 138,
          "label": "monitor_data_center/implementation-contract.json:138"
        },
        {
          "href": "sources/canonical/monitor_data_center/implementation-contract.json.txt",
          "line": 158,
          "label": "monitor_data_center/implementation-contract.json:158"
        },
        {
          "href": "sources/canonical/monitor_data_center/implementation-contract.json.txt",
          "line": 199,
          "label": "monitor_data_center/implementation-contract.json:199"
        },
        {
          "href": "sources/canonical/monitor_data_center/implementation-contract.json.txt",
          "line": 212,
          "label": "monitor_data_center/implementation-contract.json:212"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/monitor_data_center/model.test.cjs.txt",
          "line": null,
          "label": "monitor_data_center/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/monitor_data_center/toolkit/test_events.py.txt",
          "line": null,
          "label": "monitor_data_center/toolkit/test_events.py",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/monitor_data_center/toolkit/test_api.py.txt",
          "line": null,
          "label": "monitor_data_center/toolkit/test_api.py",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/monitor_data_center/cost-model.test.cjs.txt",
          "line": null,
          "label": "monitor_data_center/cost-model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-NATIVE-CORE",
      "module": "native-mobile-security-and-state",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Build a separately approved native client with read-only offline state",
        "pt": "Construir cliente nativo aprovado separadamente com estado offline somente de leitura"
      },
      "description": {
        "en": "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.",
        "pt": "iOS/Android nativos sao trabalho futuro apos o lancamento, distinto do piloto web responsivo. React Native/Expo e candidato em ADR que exige comparacao e aprovacao do CTO. Preservar navegacao Visao Geral, Operacoes, Carteira, Mercado e Conta e usar dominio controlado pelo servidor, sem importar armazenamento do prototipo."
      },
      "roles": [
        "buyer",
        "seller",
        "operations_reviewer",
        "CTO",
        "security_reviewer"
      ],
      "screens": [
        "mobile_app/index.html",
        "mobile_app/SCREEN_FLOW_CATALOG.json"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:59",
        "mobile_app/Mobile_Spec_en.txt:11",
        "mobile_app/Mobile_Spec_en.txt:17",
        "mobile_app/Mobile_Spec_en.txt:57",
        "mobile_app/Mobile_Spec_en.txt:63",
        "mobile_app/Mobile_Spec_en.txt:68"
      ],
      "testRefs": [
        "mobile_app/model.test.cjs",
        "mobile_app/edge.test.cjs",
        "AT-01",
        "AT-10",
        "AT-22"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Login nativo usa OAuth/PKCE revisado no navegador do sistema e armazenamento protegido da plataforma; troca de organizacao limpa cache protegido e revalida autoridade, enquanto links/notificacoes do prestador apenas disparam nova consulta autorizada.",
          "Dados offline sao minimos, criptografados, temporarios e explicitamente desatualizados/somente leitura; nao ha fila financeira nem repeticao em segundo plano, e comandos incertos exigem consulta de estado no servidor antes de nova tentativa ou liberacao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-NATIVE-CORE-1",
        "AC-PR-NATIVE-CORE-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 59,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:59"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 11,
          "label": "mobile_app/Mobile_Spec_en.txt:11"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 17,
          "label": "mobile_app/Mobile_Spec_en.txt:17"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 57,
          "label": "mobile_app/Mobile_Spec_en.txt:57"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 63,
          "label": "mobile_app/Mobile_Spec_en.txt:63"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 68,
          "label": "mobile_app/Mobile_Spec_en.txt:68"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/mobile_app/model.test.cjs.txt",
          "line": null,
          "label": "mobile_app/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/mobile_app/edge.test.cjs.txt",
          "line": null,
          "label": "mobile_app/edge.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-01",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-10",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-22",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-NATIVE-RELEASE",
      "module": "native-mobile-release-and-privacy",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Gate native distribution on privacy, stores and physical-device acceptance",
        "pt": "Condicionar distribuicao nativa a privacidade, lojas e aceite em aparelhos fisicos"
      },
      "description": {
        "en": "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.",
        "pt": "Entrega nativa exige aprovacao independente de escopo, capacidade e liberacao, classificacao verdadeira nas lojas, controles de privacidade/exclusao/moderacao e evidencia de acessibilidade em aparelhos reais. Capturas do navegador nao sao builds nativos nem certificacao completa iOS/Android."
      },
      "roles": [
        "release_owner",
        "counsel",
        "product_owner",
        "security_reviewer",
        "QA",
        "support_operator"
      ],
      "screens": [
        "mobile_app/index.html",
        "mobile_app/SCREEN_FLOW_CATALOG.json"
      ],
      "source": [
        "mobile_app/Mobile_Spec_en.txt:72",
        "mobile_app/Mobile_Spec_en.txt:77",
        "mobile_app/Mobile_Spec_en.txt:83",
        "mobile_app/Mobile_Spec_en.txt:88",
        "mobile_app/OPEN_DECISIONS.json:15"
      ],
      "testRefs": [
        "mobile_app/Mobile_Spec_en.txt:85",
        "mobile_app/browser.test.cjs",
        "mobile_app/adverse.browser.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Entidade responsavel, paises, classificacao financeira, regras de cobranca/links e divulgacoes de privacidade aprovados precedem submissao; pedidos de exclusao revogam sessoes e acompanham retencao justificada, com denuncia/bloqueio e anexos restritos antes de mensagens/uploads.",
          "Verificacoes em iOS/Android fisicos e Safari nativo aplicavel cobrem seis idiomas, RTL arabe, texto ampliado, leitores de tela, interrupcoes e alvos 44pt/48dp; liberacao gradual e chave no servidor impedem ativacao financeira por padrao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-NATIVE-RELEASE-1",
        "AC-PR-NATIVE-RELEASE-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 72,
          "label": "mobile_app/Mobile_Spec_en.txt:72"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 77,
          "label": "mobile_app/Mobile_Spec_en.txt:77"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 83,
          "label": "mobile_app/Mobile_Spec_en.txt:83"
        },
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": 88,
          "label": "mobile_app/Mobile_Spec_en.txt:88"
        },
        {
          "href": "sources/canonical/mobile_app/OPEN_DECISIONS.json.txt",
          "line": 15,
          "label": "mobile_app/OPEN_DECISIONS.json:15"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt",
          "line": null,
          "label": "mobile_app/Mobile_Spec_en.txt:85",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/mobile_app/browser.test.cjs.txt",
          "line": null,
          "label": "mobile_app/browser.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/mobile_app/adverse.browser.cjs.txt",
          "line": null,
          "label": "mobile_app/adverse.browser.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-POST-LAUNCH-EXPANSION",
      "module": "future-markets-ecosystem-and-advanced-ai",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Expand markets, distribution and scoped ecosystem capabilities individually",
        "pt": "Expandir mercados, distribuicao e capacidades restritas do ecossistema individualmente"
      },
      "description": {
        "en": "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.",
        "pt": "Apos estabilidade do nucleo, revisar modelos de varejo geral, ferramentas ampliadas de distribuicao/liquidez, novas rotas de ativos/mercados, dApps restritos e AI-11 comentario de BI, AI-12 assistencia a desenvolvedores e AI-13 respostas de auditoria com fontes. Sao referencias futuras sem inicio fixo ou compromisso geral de lancamento; Singapura e o primeiro candidato de expansao de mercado."
      },
      "roles": [
        "product_owner",
        "CTO",
        "CFO",
        "counsel",
        "developer",
        "human_reviewer"
      ],
      "screens": [
        "retailPortal",
        "investorGate",
        "investorPortfolio",
        "distributionPartner",
        "liquidityDesk",
        "replacementQueue",
        "ecosystemBuilder",
        "sandboxApplications",
        "aiOps",
        "conciergeDesk"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:41",
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:113",
        "delivery_blocks/source.json:87",
        "ai_native/index_en.txt:237",
        "ai_native/index_en.txt:255",
        "ai_native/index_en.txt:273",
        "CURRENT_VERSION_READ_FIRST.txt:44"
      ],
      "testRefs": [
        "delivery_blocks/scope.test.cjs",
        "ai_native/contracts/test_contracts.py",
        "AT-22"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Cada modulo/rota recebe aceite proprio de capacidade, custo de implementacao/recorrencia, seguranca, direitos e juridico/prestador; varejo ou paises nao aprovados ficam desativados e tela futura nao garante liquidez.",
          "Extensoes de desenvolvedores permanecem interfaces de sandbox com privilegio minimo e sem dados financeiros de clientes por padrao; IA avancada devolve rascunhos revisados, cita versoes autorizadas e explica calculos deterministas sem inventar avaliacoes nem executar comandos financeiros."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-POST-LAUNCH-EXPANSION-1",
        "AC-PR-POST-LAUNCH-EXPANSION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 41,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:41"
        },
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 113,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:113"
        },
        {
          "href": "sources/canonical/delivery_blocks/source.json.txt",
          "line": 87,
          "label": "delivery_blocks/source.json:87"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 237,
          "label": "ai_native/index_en.txt:237"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 255,
          "label": "ai_native/index_en.txt:255"
        },
        {
          "href": "sources/canonical/ai_native/index_en.txt.txt",
          "line": 273,
          "label": "ai_native/index_en.txt:273"
        },
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 44,
          "label": "CURRENT_VERSION_READ_FIRST.txt:44"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/delivery_blocks/scope.test.cjs.txt",
          "line": null,
          "label": "delivery_blocks/scope.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/ai_native/contracts/test_contracts.py.txt",
          "line": null,
          "label": "ai_native/contracts/test_contracts.py",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt",
          "line": null,
          "label": "AT-22",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-GO-RELEASE-CONVERSION",
      "module": "go-token-readiness-and-claims",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Keep GO release and points claims behind independent Seed gates",
        "pt": "Manter liberacao GO e resgate de pontos sob gates independentes do Seed"
      },
      "description": {
        "en": "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.",
        "pt": "GO fica fora do lancamento pre-seed: fechamento Seed mais alvo de tres meses, E US$10 milhoes de volume mensal elegivel do rail, E prontidao juridica/de seguranca/governanca. Tokenomics v0.3 e minuta nao adotada: oferta fixa proposta de 1 bilhao e conversao inicial de 10% do pool de 250 milhoes de pontos sao bases de planejamento, nao direitos emitidos. O rail funciona sem GO."
      },
      "roles": [
        "issuer_governance",
        "founder",
        "counsel",
        "CTO",
        "CFO",
        "security_reviewer",
        "independent_reviewer"
      ],
      "screens": [
        "goPoints",
        "tokenomics/index_en.html"
      ],
      "source": [
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:63",
        "CURRENT_VERSION_READ_FIRST.txt:46",
        "tokenomics/index_en.txt:6",
        "tokenomics/index_en.txt:12",
        "tokenomics/integration-contract.json:10",
        "tokenomics/decision-register.json:188"
      ],
      "testRefs": [
        "tokenomics/model.test.cjs",
        "go_points/model.test.cjs",
        "delivery_blocks/scope.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Resgates ficam desativados ate existirem Seed registrado, medicao de volume aprovada e evidencia independente de liberacao juridica/seguranca/governanca; oferta, concessoes, warrants, entidade emissora e vesting da minuta exigem adocao definitiva e implementacao auditada de rede/resgate.",
          "Alocacao usa versoes congeladas de regras/livro, deduplicacao de participantes, recursos resolvidos, carteiras elegiveis revisadas e orcamento de temporada aprovado; denominador zero ou orcamento desconhecido nao libera nada. Modelar conversao inicial de 10% separada da liberacao de 25% no resgate: 6,25 milhoes para participantes mais 30 milhoes de liquidez representam liberacao potencial de 3,625%, nao circulacao medida nem distribuicao garantida."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-GO-RELEASE-CONVERSION-1",
        "AC-PR-GO-RELEASE-CONVERSION-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt",
          "line": 63,
          "label": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:63"
        },
        {
          "href": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt",
          "line": 46,
          "label": "CURRENT_VERSION_READ_FIRST.txt:46"
        },
        {
          "href": "sources/canonical/tokenomics/index_en.txt.txt",
          "line": 6,
          "label": "tokenomics/index_en.txt:6"
        },
        {
          "href": "sources/canonical/tokenomics/index_en.txt.txt",
          "line": 12,
          "label": "tokenomics/index_en.txt:12"
        },
        {
          "href": "sources/canonical/tokenomics/integration-contract.json.txt",
          "line": 10,
          "label": "tokenomics/integration-contract.json:10"
        },
        {
          "href": "sources/canonical/tokenomics/decision-register.json.txt",
          "line": 188,
          "label": "tokenomics/decision-register.json:188"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/tokenomics/model.test.cjs.txt",
          "line": null,
          "label": "tokenomics/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/go_points/model.test.cjs.txt",
          "line": null,
          "label": "go_points/model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        },
        {
          "href": "sources/canonical/delivery_blocks/scope.test.cjs.txt",
          "line": null,
          "label": "delivery_blocks/scope.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    },
    {
      "id": "PR-GO-SOFTWARE-UTILITY",
      "module": "go-software-payments-and-service-credits",
      "status": "specified-not-implemented",
      "phase": "block3",
      "title": {
        "en": "Implement approved GO software payments and bounded service credits",
        "pt": "Implementar pagamentos GO de software e creditos de servico limitados e aprovados"
      },
      "description": {
        "en": "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.",
        "pt": "O desenho confirmado pelo fundador combina desconto SaaS de 10% no pagamento em GO com creditos intransferiveis de BI avancado, IA e APIs. A execucao nao esta aprovada. Taxa proposta de creditos de 5% e validade de 90 dias continuam nao adotadas; creditos nao sao GO Points, resgates de token, dinheiro nem principal de compra de ativo."
      },
      "roles": [
        "software_customer",
        "CFO",
        "CTO",
        "counsel",
        "payment_provider",
        "finance"
      ],
      "screens": [
        "tokenomics/utility.html",
        "billingRevenue",
        "saasCompany"
      ],
      "source": [
        "tokenomics/decision-register.json:65",
        "tokenomics/decision-register.json:94",
        "tokenomics/index_en.txt:15",
        "tokenomics/index_en.txt:27",
        "tokenomics/index_en.txt:30"
      ],
      "testRefs": [
        "tokenomics/utility-model.test.cjs"
      ],
      "acceptance": {
        "en": [
          "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.",
          "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."
        ],
        "pt": [
          "Apos gates do token/operacao e aprovacao do programa, cotacao limitada identifica rede, contrato, pagador, destinatario, valores USD/GO, taxas, vencimento e recibo final verificado do software; recebimento em carteira do ecossistema isolado nao comprova receita de software em dinheiro.",
          "Uma fatura verificada gera no maximo um credito por ambiente/conta sob limites aprovados de emissao, exposicao e custo de resgate; medicao atomica impoe precos versionados, vencimento e reembolsos, e creditos nao pagam principal, taxa de 1% do rail ou terceiros. Limites ausentes bloqueiam ativacao."
        ]
      },
      "apiRefs": [],
      "entities": [],
      "productionContract": "contracts/OPENAPI_PRODUCTION_CANDIDATE.json",
      "acceptanceIds": [
        "AC-PR-GO-SOFTWARE-UTILITY-1",
        "AC-PR-GO-SOFTWARE-UTILITY-2"
      ],
      "testEvidence": "linked-test-source-not-independent-certification",
      "sourceLinks": [
        {
          "href": "sources/canonical/tokenomics/decision-register.json.txt",
          "line": 65,
          "label": "tokenomics/decision-register.json:65"
        },
        {
          "href": "sources/canonical/tokenomics/decision-register.json.txt",
          "line": 94,
          "label": "tokenomics/decision-register.json:94"
        },
        {
          "href": "sources/canonical/tokenomics/index_en.txt.txt",
          "line": 15,
          "label": "tokenomics/index_en.txt:15"
        },
        {
          "href": "sources/canonical/tokenomics/index_en.txt.txt",
          "line": 27,
          "label": "tokenomics/index_en.txt:27"
        },
        {
          "href": "sources/canonical/tokenomics/index_en.txt.txt",
          "line": 30,
          "label": "tokenomics/index_en.txt:30"
        }
      ],
      "testLinks": [
        {
          "href": "sources/canonical/tokenomics/utility-model.test.cjs.txt",
          "line": null,
          "label": "tokenomics/utility-model.test.cjs",
          "scope": "Prior prototype test or proposed acceptance reference; not executed in this patch"
        }
      ]
    }
  ],
  "rules": [
    {
      "id": "BR-001",
      "key": "SIMULATION",
      "title": {
        "en": "Simulation is a hard boundary",
        "pt": "Simulação é um limite obrigatório"
      },
      "description": {
        "en": "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.",
        "pt": "Todos os dados fictícios, análises, confirmações, pernas de caixa e tokens, taxas e relatórios permanecem explicitamente simulados. O piloto não comprova demanda, titularidade, licença, receita ou liquidez."
      },
      "source": [
        "docs/IMPLEMENTATION_CONTRACT.md"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/docs/IMPLEMENTATION_CONTRACT.md.txt",
          "line": null,
          "label": "docs/IMPLEMENTATION_CONTRACT.md"
        }
      ]
    },
    {
      "id": "BR-002",
      "key": "MIRROR",
      "title": {
        "en": "An offer is a mirror, not custody",
        "pt": "Oferta é um espelho, não custódia"
      },
      "description": {
        "en": "An offer describes externally held rights and units. GlemO does not hold money or tokens. A local reservation cannot lock external inventory.",
        "pt": "A oferta descreve direitos e unidades mantidos externamente. O GlemO não guarda dinheiro ou tokens. Uma reserva local não bloqueia estoque externo."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-003",
      "key": "ROLES",
      "title": {
        "en": "Server authority precedes UI visibility",
        "pt": "Autorização do servidor precede visibilidade"
      },
      "description": {
        "en": "Derive actor, role and case membership from the authenticated account; reject client attempts to impersonate roles. Hiding a button is not authorization.",
        "pt": "Ator, papel e vínculo com o caso vêm da conta autenticada; tentativas de assumir outro papel são rejeitadas. Ocultar botão não é autorização."
      },
      "source": [
        "server/service.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": null,
          "label": "server/service.cjs"
        }
      ]
    },
    {
      "id": "BR-004",
      "key": "DIRECTORY",
      "title": {
        "en": "No company directory for participants",
        "pt": "Sem diretório de empresas para participantes"
      },
      "description": {
        "en": "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.",
        "pt": "O catálogo expõe ofertas, não cadastros. O comprador vê informações comerciais limitadas do vendedor na ficha. O vendedor só vê o perfil comercial do comprador após proposta válida efetivada por ele."
      },
      "source": [
        "server/privacy.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/privacy.cjs.txt",
          "line": null,
          "label": "server/privacy.cjs"
        }
      ]
    },
    {
      "id": "BR-005",
      "key": "REFERENCES",
      "title": {
        "en": "References require context and opt in",
        "pt": "Referências exigem contexto e consentimento"
      },
      "description": {
        "en": "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.",
        "pt": "Histórico e indicações são autodeclarados, não certificações. O compartilhamento com a contraparte exige o contexto permitido e shareReferences. Cadastro privado nunca vira perfil público."
      },
      "source": [
        "server/service.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": null,
          "label": "server/service.cjs"
        }
      ]
    },
    {
      "id": "BR-006",
      "key": "SCOPE",
      "title": {
        "en": "Account role and rehearsal role differ",
        "pt": "Papel da conta difere do papel do ensaio"
      },
      "description": {
        "en": "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.",
        "pt": "O ensaio individual pode simular comprador ou vendedor sem alterar o papel autenticado. Ser administrador não dá acesso ao ensaio nem aos metadados de descoberta de outra conta."
      },
      "source": [
        "server/rehearsal.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/rehearsal.cjs.txt",
          "line": null,
          "label": "server/rehearsal.cjs"
        }
      ]
    },
    {
      "id": "BR-007",
      "key": "COUNTRY",
      "title": {
        "en": "Asset location is not buyer permission",
        "pt": "Local do ativo não é permissão do comprador"
      },
      "description": {
        "en": "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.",
        "pt": "Mercado de descoberta, país do perfil, país de emissão e país permitido ao comprador são conceitos separados. Correspondência de país ou perfil completo não é aprovação regulatória real."
      },
      "source": [
        "server/catalog.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/catalog.cjs.txt",
          "line": null,
          "label": "server/catalog.cjs"
        }
      ]
    },
    {
      "id": "BR-008",
      "key": "PRECISION",
      "title": {
        "en": "Use exact monetary and quantity arithmetic",
        "pt": "Usar aritmética exata de valores e quantidades"
      },
      "description": {
        "en": "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.",
        "pt": "Aceitar decimais em texto, usar unidades inteiras exatas e centavos de USD; rejeitar notação exponencial, excesso de precisão, resultados inseguros e principal não positivo. Arredondar centavos pela metade para cima."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-009",
      "key": "FEES",
      "title": {
        "en": "Keep fees and unknown costs separate",
        "pt": "Separar taxas e custos desconhecidos"
      },
      "description": {
        "en": "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.",
        "pt": "Taxa ilustrativa do GlemO é 100 bps do principal. Comissão do agente é mais 100 bps apenas quando habilitada. O vendedor paga, com separate_invoice. Custos terceiros e impostos desconhecidos permanecem null, não zero certificado."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-010",
      "key": "SNAPSHOT",
      "title": {
        "en": "Commercial terms belong to a case snapshot",
        "pt": "Condições comerciais pertencem ao snapshot"
      },
      "description": {
        "en": "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.",
        "pt": "O caso captura a oferta fictícia e suas condições. Mudanças posteriores no catálogo não podem reprecificar um acordo aceito silenciosamente. O caso não é um feed de estoque sincronizado."
      },
      "source": [
        "server/templates.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/templates.cjs.txt",
          "line": null,
          "label": "server/templates.cjs"
        }
      ]
    },
    {
      "id": "BR-011",
      "key": "WINDOW",
      "title": {
        "en": "A deadline must not restart on reload",
        "pt": "Prazo não reinicia ao recarregar"
      },
      "description": {
        "en": "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.",
        "pt": "Janelas comerciais usam horários absolutos verificados no servidor. O encerramento bloqueia nova oferta/publicação/proposta/aceite, não liquidação já congelada. Mostrar vencimento somente quando houver prazo realmente encerrado."
      },
      "source": [
        "server/kernel.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": null,
          "label": "server/kernel.cjs"
        }
      ]
    },
    {
      "id": "BR-012",
      "key": "FRESHNESS",
      "title": {
        "en": "Review and buyer approval expire",
        "pt": "Análise e aprovação do comprador vencem"
      },
      "description": {
        "en": "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.",
        "pt": "A análise simulada dura 24 horas e vincula revisão da origem e versão do mandato do comprador. Alterar mandato invalida a análise do comprador. Publicação e transições comerciais exigem verificações vigentes."
      },
      "source": [
        "server/kernel.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/kernel.cjs.txt",
          "line": null,
          "label": "server/kernel.cjs"
        }
      ]
    },
    {
      "id": "BR-013",
      "key": "VERSIONS",
      "title": {
        "en": "Reject stale writes and ambiguous retries",
        "pt": "Rejeitar escrita desatualizada e repetição ambígua"
      },
      "description": {
        "en": "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.",
        "pt": "Comandos compartilhados vinculam expectedRevision e expectedDealVersion. Repetir mesma conta/chave/payload é idempotente; payload conflitante ou versão antiga é rejeitado. Metadados têm contrato próprio de versão."
      },
      "source": [
        "server/service.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/service.cjs.txt",
          "line": null,
          "label": "server/service.cjs"
        }
      ]
    },
    {
      "id": "BR-014",
      "key": "QUOTE",
      "title": {
        "en": "Acceptance binds one quote version",
        "pt": "Aceite vincula uma versão da proposta"
      },
      "description": {
        "en": "A proposal replaces the prior quote, records the proposer acceptance and resets acknowledgements. Both parties must accept the same unexpired version before agreement.",
        "pt": "A proposta substitui a cotação anterior, registra aceite do proponente e reinicia confirmações. Ambas as partes devem aceitar a mesma versão vigente antes do acordo."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-015",
      "key": "INSTRUCTIONS",
      "title": {
        "en": "Instruction changes revoke acknowledgements",
        "pt": "Mudança de instrução revoga confirmações"
      },
      "description": {
        "en": "Destination, beneficiary, network, token reference, quantity and economics are versioned. Replacing instructions clears both party acknowledgements; beginning settlement freezes the acknowledged snapshot.",
        "pt": "Destino, beneficiário, rede, referência do token, quantidade e valores têm versão. Substituir instruções limpa as duas confirmações; iniciar liquidação congela o snapshot confirmado."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-016",
      "key": "TWOLEGS",
      "title": {
        "en": "Cash and asset evidence are independent",
        "pt": "Evidências de caixa e ativo são independentes"
      },
      "description": {
        "en": "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.",
        "pt": "Relato de caixa não implica entrega de tokens e vice-versa. Cada perna deve corresponder exatamente aos valores congelados e possuir referência DEMO distinta."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-017",
      "key": "RECONCILE",
      "title": {
        "en": "Only independent reconciliation closes a deal",
        "pt": "Somente conciliação independente conclui o deal"
      },
      "description": {
        "en": "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.",
        "pt": "Auditor designado concilia após as duas pernas e confirmações, sem pendência aberta. A conciliação atualiza apenas posições fictícias desse caso; não existe carteira global entre casos."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-018",
      "key": "ISSUE",
      "title": {
        "en": "Issues are blocking overlays",
        "pt": "Pendências são bloqueios sobre o estado"
      },
      "description": {
        "en": "Opening an issue does not replace deal status. An independent compliance/auditor resolver is required. Resolution does not itself record payment, delivery or reconciliation.",
        "pt": "Abrir pendência não substitui o estado do deal. A resolução exige compliance/auditor independente. Resolver não registra por si pagamento, entrega ou conciliação."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-019",
      "key": "CLOSE",
      "title": {
        "en": "No generic post-settlement rollback",
        "pt": "Sem estorno genérico após liquidação"
      },
      "description": {
        "en": "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.",
        "pt": "Cancelamento comum ocorre antes do acordo. Encerramento do acordo exige noMovement=true e referências de liberação e prestador. Reembolso, reversão, desfazimento e edição de evidência não estão implementados."
      },
      "source": [
        "domain/model.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/domain/model.js.txt",
          "line": null,
          "label": "domain/model.js"
        }
      ]
    },
    {
      "id": "BR-020",
      "key": "AUDIT",
      "title": {
        "en": "A filtered report is not a full audit chain",
        "pt": "Relatório filtrado não é cadeia de auditoria completa"
      },
      "description": {
        "en": "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.",
        "pt": "Verificar consistência de snapshot/hash/eventos antes de retornar projeções. Exportações filtradas omitem informações e não reconstroem a cadeia completa. Administradores do disco podem substituir o banco; não existe âncora externa inviolável."
      },
      "source": [
        "server/store.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/store.cjs.txt",
          "line": null,
          "label": "server/store.cjs"
        }
      ]
    },
    {
      "id": "BR-021",
      "key": "SOURCING",
      "title": {
        "en": "A sourcing brief is not an order",
        "pt": "Pedido de captação não é ordem"
      },
      "description": {
        "en": "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.",
        "pt": "O pedido privado de captação guarda briefing consentido para titular/admin interno. Não contata vendedores, reserva ativos, gera taxas nem comprova demanda de compra."
      },
      "source": [
        "server/sourcing.cjs"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/server/sourcing.cjs.txt",
          "line": null,
          "label": "server/sourcing.cjs"
        }
      ]
    },
    {
      "id": "BR-022",
      "key": "SEARCH",
      "title": {
        "en": "Alternative suggestions are not exact matches",
        "pt": "Sugestões alternativas não são resultados exatos"
      },
      "description": {
        "en": "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.",
        "pt": "Sem correspondência, mostrar até três cartões reais elegíveis, identificados como alternativas, respeitando filtros explícitos, intenção negativa e janelas fechadas. Nunca inventar três ofertas nem ignorar o filtro de favoritos."
      },
      "source": [
        "public/search.js"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/public/search.js.txt",
          "line": null,
          "label": "public/search.js"
        }
      ]
    },
    {
      "id": "BR-023",
      "key": "AI",
      "title": {
        "en": "Search is deterministic in the pilot",
        "pt": "Busca é determinística no piloto"
      },
      "description": {
        "en": "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.",
        "pt": "As regras locais de intenção não são um LLM ativo. Reconhecimento de voz opcional exige consentimento e suporte do navegador. Não existe envio de áudio ao servidor nem decisão autônoma de investimento."
      },
      "source": [
        "docs/GLOBAL_SEARCH.md"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/docs/GLOBAL_SEARCH.md.txt",
          "line": null,
          "label": "docs/GLOBAL_SEARCH.md"
        }
      ]
    },
    {
      "id": "BR-024",
      "key": "PERSIST",
      "title": {
        "en": "Separate persistent and temporary microtools",
        "pt": "Separar microferramentas persistentes e temporárias"
      },
      "description": {
        "en": "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.",
        "pt": "Favoritos e buscas salvas persistem por titular no servidor. Seleção de comparação e rascunhos de retorno ficam só em memória; sair/recarregar pode apagá-los. Copiar contém apenas ID e nome público fictício da oferta."
      },
      "source": [
        "docs/DISCOVERY_TOOLS.md"
      ],
      "status": "implemented-simulation",
      "sourceLinks": [
        {
          "href": "sources/pilot/docs/DISCOVERY_TOOLS.md.txt",
          "line": null,
          "label": "docs/DISCOVERY_TOOLS.md"
        }
      ]
    }
  ],
  "journeys": [
    {
      "id": "J-01",
      "title": {
        "en": "Buyer discovery and demand",
        "pt": "Descoberta e demanda do comprador"
      },
      "steps": {
        "en": [
          "Sign in and complete fictional profile",
          "Search from any authenticated view",
          "Inspect exact results or up to three labeled alternatives",
          "Open factsheet and contextual seller profile",
          "Favorite, save search or compare objective attributes",
          "Submit consented private sourcing brief if needed"
        ],
        "pt": [
          "Entrar e completar perfil fictício",
          "Buscar em qualquer tela autenticada",
          "Ver resultados exatos ou até três alternativas identificadas",
          "Abrir ficha e perfil comercial contextual do vendedor",
          "Favoritar, salvar busca ou comparar atributos objetivos",
          "Enviar pedido privado consentido de captação quando necessário"
        ]
      },
      "boundary": {
        "en": "No real order is created by discovery or sourcing.",
        "pt": "Descoberta e captação não criam ordem real."
      }
    },
    {
      "id": "J-02",
      "title": {
        "en": "Shared buyer journey",
        "pt": "Jornada compartilhada do comprador"
      },
      "steps": {
        "en": [
          "Admin creates a case with five distinct assigned roles",
          "Holder submits the synthetic offer with quantity, price and simulation consent",
          "Buyer completes mandate with country and ticket limits",
          "Compliance performs the explicit synthetic offer and buyer review",
          "Holder publishes the freshly approved offer",
          "Buyer reviews published terms and sends a valid proposal",
          "Holder counteroffers or accepts; both approve the same quote version",
          "Rails supplies instructions; buyer and holder acknowledge the exact current version",
          "Rails explicitly begins settlement and freezes the acknowledged instructions",
          "Rails records separate simulated cash and delivery evidence",
          "Auditor reconciles after both legs; any issue first requires independent resolution followed by the remaining workflow"
        ],
        "pt": [
          "Admin cria caso com cinco papéis distintos designados",
          "Vendedor envia oferta fictícia com quantidade, preço e consentimento de simulação",
          "Comprador preenche mandato com país e faixa de ticket",
          "Compliance realiza análise simulada explícita da oferta e do comprador",
          "Vendedor publica a oferta aprovada com análise vigente",
          "Comprador confere condições publicadas e envia proposta válida",
          "Vendedor contrapropõe ou aceita; ambos aprovam a mesma versão da cotação",
          "Rails fornece instruções; comprador e vendedor confirmam exatamente a versão atual",
          "Rails inicia explicitamente a liquidação e congela as instruções confirmadas",
          "Rails registra evidências simuladas separadas de caixa e entrega",
          "Auditor concilia após as duas pernas; pendências exigem resolução independente e depois a continuidade do fluxo restante"
        ]
      },
      "boundary": {
        "en": "The catalog does not create a self-service real purchase; a shared case requires admin coordination.",
        "pt": "O catálogo não cria compra real de autoatendimento; o caso compartilhado exige coordenação administrativa."
      }
    },
    {
      "id": "J-03",
      "title": {
        "en": "Holder and seller journey",
        "pt": "Jornada do titular vendedor"
      },
      "steps": {
        "en": [
          "Sign in with holder role and complete fictional profile",
          "Review assigned synthetic external position and transfer restrictions",
          "Submit quantity, unit price, agent option and unknown cost disclosure",
          "Wait for synthetic compliance and publish approved offer",
          "Receive a valid buyer proposal before seeing buyer commercial details",
          "Negotiate and accept the same quote version",
          "Check destination, rights, network, quantity and frozen economics",
          "Acknowledge instructions and monitor two external-leg simulations"
        ],
        "pt": [
          "Entrar com papel holder e completar perfil fictício",
          "Conferir posição externa fictícia atribuída e restrições de transferência",
          "Enviar quantidade, preço, opção de agente e custos desconhecidos",
          "Aguardar compliance simulado e publicar oferta aprovada",
          "Receber proposta válida antes de ver dados comerciais do comprador",
          "Negociar e aceitar a mesma versão da proposta",
          "Conferir destino, direitos, rede, quantidade e valores congelados",
          "Confirmar instruções e acompanhar as duas pernas simuladas"
        ]
      },
      "boundary": {
        "en": "Primary issuance and seller self-service asset onboarding remain separately specified, not this resale runtime.",
        "pt": "Emissão primária e cadastro de novos ativos por autoatendimento continuam em especificação separada, não neste runtime de revenda."
      }
    },
    {
      "id": "J-04",
      "title": {
        "en": "Administrator and operational review",
        "pt": "Administração e revisão operacional"
      },
      "steps": {
        "en": [
          "Bootstrap locally then use invite-only accounts",
          "Invite fixed roles and revoke/reset without exposing credentials",
          "Create cases and assign five different active participant accounts",
          "Monitor newest cases, issue flags, activity and simulated metrics",
          "Pause a case or globally; archive with a reason",
          "Review owner/admin sourcing briefs without publishing registrations",
          "Inspect filtered exports versus complete internal audit",
          "Back up and validate offline restore in isolated storage"
        ],
        "pt": [
          "Preparar admin local e usar contas por convite",
          "Convidar papéis fixos, revogar/redefinir sem expor credenciais",
          "Criar casos com cinco contas participantes ativas distintas",
          "Acompanhar casos novos, pendências, atividade e métricas simuladas",
          "Pausar caso ou globalmente; arquivar com motivo",
          "Analisar pedidos privados sem publicar cadastros",
          "Distinguir exportação filtrada de auditoria interna completa",
          "Fazer backup e validar restauração offline em armazenamento isolado"
        ]
      },
      "boundary": {
        "en": "Admin cannot execute participant commands and cannot read another user personal rehearsal or discovery tools.",
        "pt": "Admin não executa comandos dos participantes nem lê ensaio individual ou ferramentas de descoberta de outra conta."
      }
    },
    {
      "id": "J-05",
      "title": {
        "en": "Individual rehearsal",
        "pt": "Ensaio individual"
      },
      "steps": {
        "en": [
          "Choose a fictional buyer or holder and scenario",
          "Explicitly accept the simulation boundary",
          "Act against named deterministic counterpart bots",
          "Trigger a refusal, missing document, ineligibility, expiry or mismatch",
          "Apply scenario-specific recovery or abandon",
          "Export owner-only process feedback, separate from shared metrics"
        ],
        "pt": [
          "Escolher comprador ou vendedor fictício e cenário",
          "Aceitar explicitamente o limite de simulação",
          "Interagir com contrapartes automatizadas determinísticas identificadas",
          "Gerar recusa, documento faltante, inelegibilidade, vencimento ou divergência",
          "Aplicar recuperação do cenário ou abandonar",
          "Exportar feedback de processo privado, separado das métricas compartilhadas"
        ]
      },
      "boundary": {
        "en": "Bot actions and synthetic time do not simulate real counterparty demand. Commercial deadlines still use wall time.",
        "pt": "Ações de bots e tempo sintético não comprovam demanda real. Prazos comerciais continuam usando o relógio real."
      }
    }
  ],
  "states": [
    {
      "action": "offer",
      "roles": "holder",
      "from": "not_started",
      "to": "review",
      "guard": {
        "en": "Acknowledge simulation; quantity available; positive price; valid commercial window.",
        "pt": "Confirmar simulação, quantidade disponível, preço positivo e janela comercial vigente."
      },
      "fields": [
        "quantity",
        "price",
        "agent",
        "thirdParty",
        "acknowledged"
      ]
    },
    {
      "action": "mandate",
      "roles": "buyer",
      "from": "before buyer binding",
      "to": "unchanged",
      "guard": {
        "en": "Valid country and ticket range; resets buyer review.",
        "pt": "País e faixa de ticket válidos; reinicia análise do comprador."
      },
      "fields": [
        "country",
        "qualified",
        "min",
        "max"
      ]
    },
    {
      "action": "verify",
      "roles": "compliance",
      "from": "review / approved / listed / negotiating / agreement",
      "to": "approved if review; otherwise unchanged",
      "guard": {
        "en": "All checks true; DEMO reference; current source and eligible mandate; review valid for 24h.",
        "pt": "Todas verificações verdadeiras, referência DEMO, origem atual e mandato elegível; análise válida por 24h."
      },
      "fields": [
        "ownership",
        "transfer",
        "issuer",
        "jurisdiction",
        "unencumbered",
        "gateway",
        "documents",
        "buyerReview",
        "reference"
      ]
    },
    {
      "action": "publish",
      "roles": "holder",
      "from": "approved",
      "to": "listed",
      "guard": {
        "en": "Fresh review, no issue, unexpired offer and commercial window.",
        "pt": "Análise vigente, sem pendência e com oferta/janela vigentes."
      },
      "fields": []
    },
    {
      "action": "propose",
      "roles": "buyer / holder",
      "from": "listed / negotiating",
      "to": "negotiating",
      "guard": {
        "en": "Holder 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.",
        "pt": "Vendedor apenas após vínculo do comprador; comprador/ticket elegíveis; substitui cotação e reinicia confirmações. Exigir também pedido vigente, ausência de pendência, análise de titularidade atual e comprador elegível no momento; vínculo já existente deve corresponder."
      },
      "fields": [
        "price"
      ]
    },
    {
      "action": "accept",
      "roles": "buyer / holder",
      "from": "negotiating",
      "to": "agreement if both accepted",
      "guard": {
        "en": "Same valid quote version, fresh checks, explicit acknowledgement.",
        "pt": "Mesma versão vigente, verificações atuais e confirmação explícita."
      },
      "fields": [
        "proposalVersion",
        "acknowledged"
      ]
    },
    {
      "action": "instructions",
      "roles": "rails",
      "from": "agreement",
      "to": "agreement",
      "guard": {
        "en": "DEMO 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.",
        "pt": "Referências DEMO de destino/beneficiário/controle/gateway; limpa duas confirmações. Exigir também pedido vigente, ausência de pendência, análise de titularidade atual e comprador elegível no momento; vínculo já existente deve corresponder."
      },
      "fields": [
        "destination",
        "beneficiary",
        "controlRef",
        "gatewayRef",
        "reference"
      ]
    },
    {
      "action": "sign",
      "roles": "buyer / holder",
      "from": "agreement",
      "to": "agreement",
      "guard": {
        "en": "Current quote and instructions; fresh checks; DEMO acknowledgement, not legal signature.",
        "pt": "Cotação e instruções atuais, verificações vigentes e confirmação DEMO, não assinatura jurídica."
      },
      "fields": [
        "proposalVersion",
        "acknowledged",
        "reference"
      ]
    },
    {
      "action": "begin",
      "roles": "rails",
      "from": "agreement",
      "to": "settlement",
      "guard": {
        "en": "Both 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.",
        "pt": "Duas confirmações das instruções atuais exatas; congelar snapshot. Exigir também pedido vigente, ausência de pendência, análise de titularidade atual e comprador elegível no momento; vínculo já existente deve corresponder."
      },
      "fields": [
        "reference"
      ]
    },
    {
      "action": "cash",
      "roles": "rails",
      "from": "settlement",
      "to": "settlement",
      "guard": {
        "en": "Exact USD principal and beneficiary; no issue or prior cash; unique reference.",
        "pt": "Principal USD e beneficiário exatos, sem pendência/caixa anterior; referência única."
      },
      "fields": [
        "reference",
        "amount",
        "beneficiary",
        "currency"
      ]
    },
    {
      "action": "delivery",
      "roles": "rails",
      "from": "settlement",
      "to": "settlement",
      "guard": {
        "en": "Exact units/network/token/destination/source; no issue or prior delivery; unique reference.",
        "pt": "Unidades/rede/token/destino/origem exatos, sem pendência/entrega anterior; referência única."
      },
      "fields": [
        "reference",
        "quantity",
        "network",
        "tokenRef",
        "destination",
        "sourceAccount"
      ]
    },
    {
      "action": "reconcile",
      "roles": "auditor",
      "from": "settlement",
      "to": "reconciled",
      "guard": {
        "en": "Both legs and acknowledgements; independent actor; unique reference; no issue.",
        "pt": "Duas pernas e confirmações, ator independente, referência única e sem pendência."
      },
      "fields": [
        "reference"
      ]
    },
    {
      "action": "cancel",
      "roles": "holder",
      "from": "review / approved / listed / negotiating",
      "to": "cancelled",
      "guard": {
        "en": "Reason required; no ordinary cancellation after agreement.",
        "pt": "Motivo obrigatório; sem cancelamento comum após acordo."
      },
      "fields": [
        "reason"
      ]
    },
    {
      "action": "reject",
      "roles": "compliance",
      "from": "review / approved / listed / negotiating",
      "to": "rejected",
      "guard": {
        "en": "Reason required.",
        "pt": "Motivo obrigatório."
      },
      "fields": [
        "reason"
      ]
    },
    {
      "action": "expire",
      "roles": "compliance",
      "from": "review / approved / listed / negotiating",
      "to": "expired",
      "guard": {
        "en": "Request deadline reached; explicit command, not background scheduler.",
        "pt": "Prazo do pedido alcançado; comando explícito, não rotina automática."
      },
      "fields": []
    },
    {
      "action": "closeAgreement",
      "roles": "compliance",
      "from": "agreement",
      "to": "cancelled",
      "guard": {
        "en": "No open issue; noMovement=true; both releases and provider closure references.",
        "pt": "Sem pendência, noMovement=true, liberações das partes e referência de encerramento do prestador."
      },
      "fields": [
        "reference",
        "holderReleaseRef",
        "buyerReleaseRef",
        "providerClosureRef",
        "reason",
        "noMovement"
      ]
    },
    {
      "action": "issue",
      "roles": "assigned participant",
      "from": "nonterminal; holder/buyer binding required",
      "to": "same status + blocked",
      "guard": {
        "en": "Nonempty reason; one current issue.",
        "pt": "Motivo obrigatório; uma pendência vigente."
      },
      "fields": [
        "reason"
      ]
    },
    {
      "action": "resolve",
      "roles": "compliance / auditor",
      "from": "open issue",
      "to": "same status, issue cleared",
      "guard": {
        "en": "Resolver differs from opener; reason and DEMO reference.",
        "pt": "Responsável diferente de quem abriu; motivo e referência DEMO."
      },
      "fields": [
        "reason",
        "reference"
      ]
    },
    {
      "action": "message",
      "roles": "buyer / holder",
      "from": "listed / negotiating / agreement / settlement",
      "to": "unchanged",
      "guard": {
        "en": "Nonempty text <=1200; buyer eligible.",
        "pt": "Texto não vazio até 1200 caracteres; comprador elegível."
      },
      "fields": [
        "body"
      ]
    },
    {
      "action": "feedback",
      "roles": "any assigned participant",
      "from": "any case stage",
      "to": "unchanged",
      "guard": {
        "en": "Score 1..5 and body <=1200; private role-filtered projection.",
        "pt": "Nota 1..5 e texto até 1200; projeção privada filtrada por papel."
      },
      "fields": [
        "score",
        "body"
      ]
    }
  ],
  "commonCommandGates": {
    "en": "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.",
    "pt": "Para novos comandos compartilhados: papel fixo autenticado e vínculo ao caso, perfil completo, participantes designados ativos, ausência de pausa global/do caso ou arquivamento, versões exatas atuais e validação estrita do payload. Repetição bem-sucedida da mesma conta/chave/payload não é novo comando e não avança o estado; pode retornar a projeção atual antes de rever gates de pausa de novos comandos."
  },
  "handoff": [
    {
      "en": "1. Product and CTO accept this baseline and resolve each blocking decision before assigning implementation estimates.",
      "pt": "1. Produto e CTO aprovam esta base e resolvem cada decisão bloqueadora antes de estimar implementação."
    },
    {
      "en": "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.",
      "pt": "2. Preservar o piloto executável como referência. Arquitetura produtiva, banco normalizado e adaptadores são candidatos que exigem aceite técnico, migrações e revisão independente de segurança."
    },
    {
      "en": "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.",
      "pt": "3. Cada item de backlog mantém ID, ator, pré-condição, campos, permissões, transição, erros, testes e gate. Captura de tela não encerra gate jurídico ou de prestador."
    },
    {
      "en": "4. Run fresh isolated tests against the packaged source. Keep test existence, historical execution evidence and a fresh verification result as different facts.",
      "pt": "4. Executar testes novos e isolados no código empacotado. Existência do teste, evidência histórica e resultado novo são fatos distintos."
    },
    {
      "en": "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.",
      "pt": "5. Piloto real controlado exige partes/instrumento/rota aprovados, contratos de prestadores, KYC/poderes, disponibilidade confiável, instrumentos assinados, evidências independentes, recuperação e resposta a incidentes."
    },
    {
      "en": "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.",
      "pt": "6. M3/M5/M9 são alvos após o gatilho de captação, não certificações. O envelope tecnológico de 24 meses não aprova construir todas as telas e capacidades do terceiro bloco."
    }
  ],
  "diagrams": [
    {
      "id": "D01",
      "title": {
        "en": "System context",
        "pt": "Contexto do sistema"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D01_en.svg",
        "pt": "diagrams/D01_pt.svg"
      },
      "source": {
        "en": "diagrams/D01_en.dot",
        "pt": "diagrams/D01_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 1099,
          "height": 259
        },
        "pt": {
          "width": 1198,
          "height": 259
        }
      }
    },
    {
      "id": "D02",
      "title": {
        "en": "Executable containers and trust boundary",
        "pt": "Contêineres executáveis e limite de confiança"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D02_en.svg",
        "pt": "diagrams/D02_pt.svg"
      },
      "source": {
        "en": "diagrams/D02_en.dot",
        "pt": "diagrams/D02_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 475,
          "height": 622
        },
        "pt": {
          "width": 516,
          "height": 622
        }
      }
    },
    {
      "id": "D03",
      "title": {
        "en": "Contextual counterpart disclosure",
        "pt": "Divulgação contextual da contraparte"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D03_en.svg",
        "pt": "diagrams/D03_pt.svg"
      },
      "source": {
        "en": "diagrams/D03_en.dot",
        "pt": "diagrams/D03_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 591,
          "height": 388
        },
        "pt": {
          "width": 613,
          "height": 388
        }
      }
    },
    {
      "id": "D04",
      "title": {
        "en": "Physical ERD identity and access",
        "pt": "DER físico de identidade e acesso"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D04_en.svg",
        "pt": "diagrams/D04_pt.svg"
      },
      "source": {
        "en": "diagrams/D04_en.dot",
        "pt": "diagrams/D04_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 897,
          "height": 441
        },
        "pt": {
          "width": 939,
          "height": 441
        }
      }
    },
    {
      "id": "D05",
      "title": {
        "en": "Physical ERD shared operations",
        "pt": "DER físico de operações compartilhadas"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D05_en.svg",
        "pt": "diagrams/D05_pt.svg"
      },
      "source": {
        "en": "diagrams/D05_en.dot",
        "pt": "diagrams/D05_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 747,
          "height": 618
        },
        "pt": {
          "width": 763,
          "height": 618
        }
      }
    },
    {
      "id": "D06",
      "title": {
        "en": "Physical ERD private discovery and rehearsal",
        "pt": "DER físico de descoberta privada e ensaio"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D06_en.svg",
        "pt": "diagrams/D06_pt.svg"
      },
      "source": {
        "en": "diagrams/D06_en.dot",
        "pt": "diagrams/D06_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 405,
          "height": 471
        },
        "pt": {
          "width": 415,
          "height": 471
        }
      }
    },
    {
      "id": "D07",
      "title": {
        "en": "Production logical entity candidate",
        "pt": "Candidato de entidades lógicas de produção"
      },
      "scope": {
        "en": "Production candidate • not implemented or approved",
        "pt": "Candidato para produção • não implementado ou aprovado"
      },
      "files": {
        "en": "diagrams/D07_en.svg",
        "pt": "diagrams/D07_pt.svg"
      },
      "source": {
        "en": "diagrams/D07_en.dot",
        "pt": "diagrams/D07_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 497,
          "height": 681
        },
        "pt": {
          "width": 509,
          "height": 681
        }
      }
    },
    {
      "id": "D08",
      "title": {
        "en": "Shared deal state machine",
        "pt": "Máquina de estados do deal compartilhado"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated. Condensed transitions; full guards in the state contract.",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados. Transições resumidas; bloqueios completos no contrato de estados."
      },
      "files": {
        "en": "diagrams/D08_en.svg",
        "pt": "diagrams/D08_pt.svg"
      },
      "source": {
        "en": "diagrams/D08_en.dot",
        "pt": "diagrams/D08_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 599,
          "height": 681
        },
        "pt": {
          "width": 609,
          "height": 681
        }
      }
    },
    {
      "id": "D09",
      "title": {
        "en": "Buyer discovery workflow",
        "pt": "Fluxo de descoberta do comprador"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D09_en.svg",
        "pt": "diagrams/D09_pt.svg"
      },
      "source": {
        "en": "diagrams/D09_en.dot",
        "pt": "diagrams/D09_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 461,
          "height": 561
        },
        "pt": {
          "width": 515,
          "height": 561
        }
      }
    },
    {
      "id": "D10",
      "title": {
        "en": "Seller offer and admission workflow",
        "pt": "Fluxo do vendedor e admissão da oferta"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D10_en.svg",
        "pt": "diagrams/D10_pt.svg"
      },
      "source": {
        "en": "diagrams/D10_en.dot",
        "pt": "diagrams/D10_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 533,
          "height": 530
        },
        "pt": {
          "width": 621,
          "height": 530
        }
      }
    },
    {
      "id": "D11",
      "title": {
        "en": "Administrator operational workflow",
        "pt": "Fluxo operacional administrativo"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D11_en.svg",
        "pt": "diagrams/D11_pt.svg"
      },
      "source": {
        "en": "diagrams/D11_en.dot",
        "pt": "diagrams/D11_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 508,
          "height": 412
        },
        "pt": {
          "width": 538,
          "height": 412
        }
      }
    },
    {
      "id": "D12",
      "title": {
        "en": "Negotiation and instruction sequence",
        "pt": "Sequência de negociação e instruções"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D12_en.svg",
        "pt": "diagrams/D12_pt.svg"
      },
      "source": {
        "en": "diagrams/D12_en.dot",
        "pt": "diagrams/D12_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 531,
          "height": 661
        },
        "pt": {
          "width": 519,
          "height": 661
        }
      }
    },
    {
      "id": "D13",
      "title": {
        "en": "Independent external leg reconciliation",
        "pt": "Conciliação independente das pernas externas"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D13_en.svg",
        "pt": "diagrams/D13_pt.svg"
      },
      "source": {
        "en": "diagrams/D13_en.dot",
        "pt": "diagrams/D13_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 591,
          "height": 364
        },
        "pt": {
          "width": 627,
          "height": 364
        }
      }
    },
    {
      "id": "D14",
      "title": {
        "en": "Discovery metadata persistence",
        "pt": "Persistência das ferramentas de descoberta"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D14_en.svg",
        "pt": "diagrams/D14_pt.svg"
      },
      "source": {
        "en": "diagrams/D14_en.dot",
        "pt": "diagrams/D14_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 606,
          "height": 412
        },
        "pt": {
          "width": 643,
          "height": 412
        }
      }
    },
    {
      "id": "D15",
      "title": {
        "en": "Personal rehearsal isolation",
        "pt": "Isolamento do ensaio individual"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D15_en.svg",
        "pt": "diagrams/D15_pt.svg"
      },
      "source": {
        "en": "diagrams/D15_en.dot",
        "pt": "diagrams/D15_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 398,
          "height": 469
        },
        "pt": {
          "width": 486,
          "height": 469
        }
      }
    },
    {
      "id": "D16",
      "title": {
        "en": "Three development blocks and release gates",
        "pt": "Três blocos de desenvolvimento e gates"
      },
      "scope": {
        "en": "Production candidate • not implemented or approved",
        "pt": "Candidato para produção • não implementado ou aprovado"
      },
      "files": {
        "en": "diagrams/D16_en.svg",
        "pt": "diagrams/D16_pt.svg"
      },
      "source": {
        "en": "diagrams/D16_en.dot",
        "pt": "diagrams/D16_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 366,
          "height": 664
        },
        "pt": {
          "width": 400,
          "height": 664
        }
      }
    },
    {
      "id": "D17",
      "title": {
        "en": "Proposed AI and market monitoring boundaries",
        "pt": "Limites propostos de IA e monitoramento"
      },
      "scope": {
        "en": "Production candidate • not implemented or approved",
        "pt": "Candidato para produção • não implementado ou aprovado"
      },
      "files": {
        "en": "diagrams/D17_en.svg",
        "pt": "diagrams/D17_pt.svg"
      },
      "source": {
        "en": "diagrams/D17_en.dot",
        "pt": "diagrams/D17_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 494,
          "height": 559
        },
        "pt": {
          "width": 517,
          "height": 559
        }
      }
    },
    {
      "id": "D18",
      "title": {
        "en": "Audit and recovery data flow",
        "pt": "Fluxo de auditoria e recuperação"
      },
      "scope": {
        "en": "Executable pilot 0.5.3 • all financial workflow outcomes simulated",
        "pt": "Piloto executável 0.5.3 • todos os resultados financeiros simulados"
      },
      "files": {
        "en": "diagrams/D18_en.svg",
        "pt": "diagrams/D18_pt.svg"
      },
      "source": {
        "en": "diagrams/D18_en.dot",
        "pt": "diagrams/D18_pt.dot"
      },
      "dimensions": {
        "en": {
          "width": 564,
          "height": 452
        },
        "pt": {
          "width": 600,
          "height": 452
        }
      }
    }
  ],
  "screens": [
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    },
    {
      "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"
      ]
    }
  ],
  "entities": [
    {
      "name": "settings",
      "purpose": {
        "en": "Private schema, global pause and rate-limit salt settings.",
        "pt": "Configuracoes privadas de esquema, pausa global e salt dos limites de acesso."
      },
      "key": "PRIMARY KEY(key)",
      "fields": [
        {
          "name": "key",
          "type": "TEXT",
          "required": true,
          "notes": "Values currently used: schema, paused, rateSalt. SQLite TEXT PRIMARY KEY has implicit NOT NULL in STRICT tables."
        },
        {
          "name": "value",
          "type": "TEXT",
          "required": true,
          "notes": "schema='1'; paused='false' initially, serialized boolean; rateSalt generated once. Unknown schema aborts store open; no general migration framework."
        }
      ],
      "relationships": [],
      "classification": "restricted-operational",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:25",
        "docs/ERD.mmd",
        "server/store.cjs:47"
      ]
    },
    {
      "name": "organizations",
      "purpose": {
        "en": "Fictional organization labels attached to pilot accounts.",
        "pt": "Rotulos de organizacoes ficticias vinculadas as contas do piloto."
      },
      "key": "PRIMARY KEY(id)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "Generated UUID; referenced by users.org_id."
        },
        {
          "name": "alias",
          "type": "TEXT",
          "required": true,
          "notes": "Not UNIQUE. Participant invitation API requires DEMO followed by space or hyphen. No shared organization-management API."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application-generated timestamp; no SQL date CHECK."
        }
      ],
      "relationships": [
        "organizations.id 1 -> 0..N users.org_id (SQL FK; no ON DELETE CASCADE)."
      ],
      "classification": "private-account-metadata",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:26",
        "docs/ERD.mmd",
        "server/auth.cjs:63",
        "server/service.cjs:131"
      ]
    },
    {
      "name": "users",
      "purpose": {
        "en": "Authenticated fixed-role pilot accounts.",
        "pt": "Contas autenticadas com papel fixo no piloto."
      },
      "key": "PRIMARY KEY(id); UNIQUE(alias)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "Generated UUID; API identity derives from the cookie session."
        },
        {
          "name": "alias",
          "type": "TEXT",
          "required": true,
          "notes": "UNIQUE login alias; creation validates lowercase [a-z0-9][a-z0-9._-]{2,39}; login normalizes lowercase."
        },
        {
          "name": "role",
          "type": "TEXT",
          "required": true,
          "notes": "SQL CHECK: admin|holder|buyer|compliance|rails|auditor. No role-edit API; HTTP invites cannot grant admin."
        },
        {
          "name": "org_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> organizations.id."
        },
        {
          "name": "password_hash",
          "type": "TEXT",
          "required": true,
          "notes": "Salted scrypt encoding: N=32768,r=8,p=3,64-byte output,16-byte random salt. Never included in public user responses."
        },
        {
          "name": "active",
          "type": "INTEGER",
          "required": true,
          "notes": "SQL CHECK IN(0,1); no SQL default. Disable deletes sessions, revokes pending targeted resets, pauses assigned cases; enable does not unpause."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application timestamp."
        }
      ],
      "relationships": [
        "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."
      ],
      "classification": "restricted-authentication-and-account-data",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:27",
        "docs/ERD.mmd",
        "server/auth.cjs:17",
        "server/util.cjs:14",
        "server/service.cjs:122"
      ]
    },
    {
      "name": "profiles",
      "purpose": {
        "en": "Own fictional commercial profile, consent version and notification preferences.",
        "pt": "Perfil comercial ficticio proprio, versao do consentimento e preferencias de notificacao."
      },
      "key": "PRIMARY KEY(user_id), also FK -> users.id",
      "fields": [
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "One profile per account; owner-only GET/POST. Contextual counterpart references and admin internal projections are separate from a profile-directory API."
        },
        {
          "name": "data",
          "type": "TEXT (JSON)",
          "required": true,
          "notes": "Application 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."
        },
        {
          "name": "version",
          "type": "INTEGER",
          "required": true,
          "notes": "Initial 0; expectedVersion must equal current, then increment. No SQL nonnegative CHECK on this column."
        },
        {
          "name": "updated_at",
          "type": "TEXT",
          "required": true,
          "notes": "Authoritative timestamp returned as updatedAt."
        }
      ],
      "relationships": [
        "profiles.user_id -> users.id (1 profile per user).",
        "No relational link from profiles to catalog companies; counterpart disclosure is contextual, not organization membership."
      ],
      "classification": "private-self-declared-profile-and-preferences",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:28",
        "docs/ERD.mmd",
        "server/service.cjs:20",
        "server/service.cjs:42",
        "server/auth.cjs:67"
      ]
    },
    {
      "name": "notifications",
      "purpose": {
        "en": "Persisted owner-specific in-app case activity.",
        "pt": "Atividade dos casos persistida para notificacoes internas do titular."
      },
      "key": "PRIMARY KEY(id)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "Generated UUID."
        },
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> users.id; owner-bound reads and mark-read."
        },
        {
          "name": "case_id",
          "type": "TEXT",
          "required": false,
          "notes": "Nullable SQL FK -> cases.id."
        },
        {
          "name": "action",
          "type": "TEXT",
          "required": true,
          "notes": "Case creation or successful non-feedback command; only other members with inApp preference. No SQL action enum."
        },
        {
          "name": "read",
          "type": "INTEGER",
          "required": true,
          "notes": "DEFAULT 0; CHECK IN(0,1)."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application timestamp; GET exposes newest 100, not a retention cap."
        }
      ],
      "relationships": [
        "notifications.user_id -> users.id.",
        "notifications.case_id -> cases.id (nullable)."
      ],
      "classification": "private-owner-activity",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:29",
        "docs/ERD.mmd",
        "server/service.cjs:58",
        "server/service.cjs:140"
      ]
    },
    {
      "name": "invites",
      "purpose": {
        "en": "Single-use join and password-reset invitations.",
        "pt": "Convites de adesao e redefinicao de senha de uso unico."
      },
      "key": "PRIMARY KEY(id); UNIQUE(token_hash)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "Generated UUID."
        },
        {
          "name": "token_hash",
          "type": "TEXT",
          "required": true,
          "notes": "UNIQUE SHA-256 of random 32-byte token; raw token returned only at issuance, not invitation listing."
        },
        {
          "name": "kind",
          "type": "TEXT",
          "required": true,
          "notes": "SQL CHECK join|reset."
        },
        {
          "name": "alias",
          "type": "TEXT",
          "required": true,
          "notes": "Target login alias; application blocks active unused join alias conflicts."
        },
        {
          "name": "role",
          "type": "TEXT",
          "required": true,
          "notes": "Application checks six-role set; no SQL role CHECK in invites. HTTP creation limited to five participant roles."
        },
        {
          "name": "org_alias",
          "type": "TEXT",
          "required": true,
          "notes": "Fictional organization label; new joins create organization and account."
        },
        {
          "name": "target_user",
          "type": "TEXT",
          "required": false,
          "notes": "Nullable SQL FK -> users.id; used for resets."
        },
        {
          "name": "expires_at",
          "type": "TEXT",
          "required": true,
          "notes": "24-hour application validity; expiry is not automatic row deletion."
        },
        {
          "name": "used_at",
          "type": "TEXT",
          "required": false,
          "notes": "Nullable acceptance timestamp; acceptance rechecks validity in transaction after password hashing."
        },
        {
          "name": "revoked",
          "type": "INTEGER",
          "required": true,
          "notes": "DEFAULT 0; CHECK IN(0,1)."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application timestamp."
        }
      ],
      "relationships": [
        "invites.target_user -> users.id (nullable).",
        "Join alias is an application association, not a SQL FK to users.alias."
      ],
      "classification": "restricted-secret-token-hashes-and-account-metadata",
      "retention": "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.",
      "source": [
        "server/store.cjs:30",
        "docs/ERD.mmd",
        "server/auth.cjs:32",
        "server/auth.cjs:54"
      ]
    },
    {
      "name": "sessions",
      "purpose": {
        "en": "Opaque cookie authentication and CSRF/session lifecycle.",
        "pt": "Autenticacao por cookie opaco e ciclo de vida de sessao e CSRF."
      },
      "key": "PRIMARY KEY(token_hash)",
      "fields": [
        {
          "name": "token_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256 of raw 32-byte random cookie token; cookie itself not stored."
        },
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> users.id."
        },
        {
          "name": "csrf",
          "type": "TEXT",
          "required": true,
          "notes": "Random 43-character base64url CSRF token; stored as session secret and returned to that session."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Absolute lifetime starts at issue."
        },
        {
          "name": "last_seen",
          "type": "TEXT",
          "required": true,
          "notes": "Touched by POST or GET with X-User-Activity:1; background polling does not extend idle expiry."
        },
        {
          "name": "expires_at",
          "type": "TEXT",
          "required": true,
          "notes": "12-hour absolute expiry; 30-minute idle expiry computed from last_seen."
        }
      ],
      "relationships": [
        "sessions.user_id -> users.id."
      ],
      "classification": "restricted-session-secrets",
      "retention": "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.",
      "source": [
        "server/store.cjs:31",
        "docs/ERD.mmd",
        "server/auth.cjs:18",
        "server/app.cjs:67"
      ]
    },
    {
      "name": "rate_limits",
      "purpose": {
        "en": "Persistent fixed-window abuse counters with hashed identity.",
        "pt": "Contadores persistentes de acesso por janela fixa com identidade resumida."
      },
      "key": "PRIMARY KEY(key)",
      "fields": [
        {
          "name": "key",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256(rateSalt + scope + identity); identities include direct socket IP or account/alias."
        },
        {
          "name": "count",
          "type": "INTEGER",
          "required": true,
          "notes": "Application fixed-window count; no SQL count minimum."
        },
        {
          "name": "expires_at",
          "type": "INTEGER (epoch milliseconds)",
          "required": true,
          "notes": "Application resets expired window and opportunistically deletes rows older than time-windowMs."
        }
      ],
      "relationships": [
        "No SQL FK; hash is derived from settings.rateSalt, scope and caller identity."
      ],
      "classification": "restricted-abuse-control-metadata",
      "retention": "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.",
      "source": [
        "server/store.cjs:32",
        "docs/ERD.mmd",
        "server/auth.cjs:8"
      ]
    },
    {
      "name": "cases",
      "purpose": {
        "en": "Shared simulated case with canonical workflow snapshot.",
        "pt": "Caso simulado compartilhado com instantaneo canonico do fluxo."
      },
      "key": "PRIMARY KEY(id)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "PILOT- plus uppercase UUID generated server-side."
        },
        {
          "name": "title",
          "type": "TEXT",
          "required": true,
          "notes": "Application nonempty trimmed title <=100 chars."
        },
        {
          "name": "template",
          "type": "TEXT",
          "required": true,
          "notes": "Application checks four template IDs; no SQL FK to a templates table."
        },
        {
          "name": "state",
          "type": "TEXT (JSON)",
          "required": true,
          "notes": "Shared 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."
        },
        {
          "name": "state_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256 of exact serialized state; verified before projection along with domain validity and audit linkage."
        },
        {
          "name": "revision",
          "type": "INTEGER",
          "required": true,
          "notes": "SQL CHECK >=0; equal to snapshot revision and number of shared events. Every successful participant command increments; admin controls do not."
        },
        {
          "name": "paused",
          "type": "INTEGER",
          "required": true,
          "notes": "DEFAULT 0; CHECK IN(0,1)."
        },
        {
          "name": "archived",
          "type": "INTEGER",
          "required": true,
          "notes": "DEFAULT 0; CHECK IN(0,1). Reversible block flag, not deletion."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application timestamp."
        },
        {
          "name": "updated_at",
          "type": "TEXT",
          "required": true,
          "notes": "Command/control timestamp."
        }
      ],
      "relationships": [
        "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."
      ],
      "classification": "private-shared-process-data-fictional-financial-records",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:33",
        "docs/ERD.mmd",
        "server/service.cjs:63",
        "server/kernel.cjs:17",
        "domain/model.js:64"
      ]
    },
    {
      "name": "members",
      "purpose": {
        "en": "Explicit fixed-role assignment to shared cases.",
        "pt": "Atribuicao explicita de papel fixo aos casos compartilhados."
      },
      "key": "PRIMARY KEY(case_id,user_id); UNIQUE(case_id,role)",
      "fields": [
        {
          "name": "case_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> cases.id."
        },
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> users.id."
        },
        {
          "name": "role",
          "type": "TEXT",
          "required": true,
          "notes": "No 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."
        }
      ],
      "relationships": [
        "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."
      ],
      "classification": "private-case-access-control",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:34",
        "docs/ERD.mmd",
        "server/service.cjs:37",
        "server/service.cjs:69",
        "server/service.cjs:86"
      ]
    },
    {
      "name": "commands",
      "purpose": {
        "en": "Shared-case idempotency and committed revision records.",
        "pt": "Registros de idempotencia e revisao confirmada dos casos compartilhados."
      },
      "key": "PRIMARY KEY(case_id,command_key)",
      "fields": [
        {
          "name": "case_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> cases.id."
        },
        {
          "name": "command_key",
          "type": "TEXT",
          "required": true,
          "notes": "Application [A-Za-z0-9_-]{12,90}, scoped to case."
        },
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> users.id; replay must use same user."
        },
        {
          "name": "payload_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256 canonical full envelope including expected versions; changed envelope or another account on same key ->409."
        },
        {
          "name": "revision",
          "type": "INTEGER",
          "required": true,
          "notes": "Resulting committed case revision; no SQL CHECK."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application timestamp. Replays return current filtered projection with replayed:true, not a stored response."
        }
      ],
      "relationships": [
        "commands.case_id -> cases.id.",
        "commands.user_id -> users.id."
      ],
      "classification": "restricted-idempotency-integrity-metadata",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:35",
        "docs/ERD.mmd",
        "server/service.cjs:77"
      ]
    },
    {
      "name": "external_evidence",
      "purpose": {
        "en": "Simulated cash/delivery evidence bound to shared settlement.",
        "pt": "Evidencias simuladas de caixa e entrega vinculadas a liquidacao compartilhada."
      },
      "key": "PRIMARY KEY(id); UNIQUE(case_id,kind); UNIQUE(case_id,reference)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "Generated UUID."
        },
        {
          "name": "case_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> cases.id."
        },
        {
          "name": "kind",
          "type": "TEXT",
          "required": true,
          "notes": "SQL CHECK cash|delivery; one evidence row of each kind per case."
        },
        {
          "name": "reference",
          "type": "TEXT",
          "required": true,
          "notes": "Unique across cash/delivery rows within case; application also prevents reuse among cash,delivery,reconciliation references in snapshot. DEMO reference required by kernel."
        },
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> users.id; executing fixed rails member."
        },
        {
          "name": "snapshot",
          "type": "TEXT (JSON)",
          "required": true,
          "notes": "Frozen 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."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application timestamp."
        }
      ],
      "relationships": [
        "external_evidence.case_id -> cases.id.",
        "external_evidence.user_id -> users.id.",
        "Reconciliation receipt is in cases.state, not an external_evidence kind."
      ],
      "classification": "private-simulated-settlement-evidence",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:36",
        "docs/ERD.mmd",
        "server/service.cjs:102",
        "domain/model.js:236"
      ]
    },
    {
      "name": "case_audit",
      "purpose": {
        "en": "Append-only per-case state/revision hash-linked journal.",
        "pt": "Historico por caso somente de inclusao com vinculo de hashes de estado e revisao."
      },
      "key": "PRIMARY KEY(case_id,sequence)",
      "fields": [
        {
          "name": "case_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> cases.id."
        },
        {
          "name": "sequence",
          "type": "INTEGER",
          "required": true,
          "notes": "Application contiguous sequence from 1; no SQL >0 CHECK."
        },
        {
          "name": "at",
          "type": "TEXT",
          "required": true,
          "notes": "Event timestamp."
        },
        {
          "name": "actor_id",
          "type": "TEXT",
          "required": true,
          "notes": "Identifier only; deliberately no SQL FK."
        },
        {
          "name": "role",
          "type": "TEXT",
          "required": true,
          "notes": "Actor role at event; no SQL role CHECK."
        },
        {
          "name": "action",
          "type": "TEXT",
          "required": true,
          "notes": "Command or administrative creation/control/revocation event."
        },
        {
          "name": "revision",
          "type": "INTEGER",
          "required": true,
          "notes": "Case revision; administrative events can share the same revision."
        },
        {
          "name": "state_hash",
          "type": "TEXT",
          "required": true,
          "notes": "Hash of snapshot at this event."
        },
        {
          "name": "previous_hash",
          "type": "TEXT",
          "required": true,
          "notes": "GENESIS for first event, then previous event_hash."
        },
        {
          "name": "event_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-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."
        }
      ],
      "relationships": [
        "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."
      ],
      "classification": "restricted-audit-with-filtered-participant-projection",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:37",
        "docs/ERD.mmd",
        "server/store.cjs:7",
        "server/store.cjs:43",
        "server/service.cjs:134"
      ]
    },
    {
      "name": "rehearsals",
      "purpose": {
        "en": "Owner-only individual simulation snapshots separate from shared cases.",
        "pt": "Instantaneos de simulacao individual exclusivos do titular e separados dos casos compartilhados."
      },
      "key": "PRIMARY KEY(id)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "REHEARSAL- plus uppercase UUID; not a cases.id."
        },
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> users.id; access always includes user_id, with no administrator override."
        },
        {
          "name": "data",
          "type": "TEXT (JSON)",
          "required": true,
          "notes": "schema 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."
        },
        {
          "name": "data_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256 of serialized data; snapshot validity/id/revision checked. Not shared append-only audit or independently certified."
        },
        {
          "name": "revision",
          "type": "INTEGER",
          "required": true,
          "notes": "SQL CHECK >=0; matching expectedRevision required for new commands/feedback."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application row creation time."
        },
        {
          "name": "updated_at",
          "type": "TEXT",
          "required": true,
          "notes": "Latest saved command or feedback time."
        },
        {
          "name": "mode",
          "type": "TEXT",
          "required": true,
          "notes": "SQL CHECK mode='individual-rehearsal'."
        }
      ],
      "relationships": [
        "rehearsals.user_id -> users.id.",
        "No FK to cases and no membership rows; real account role does not override the selected synthetic disclosure role."
      ],
      "classification": "private-owner-only-rehearsal-and-feedback",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:38",
        "docs/ERD.mmd",
        "server/rehearsal.cjs:136",
        "server/rehearsal.cjs:185"
      ]
    },
    {
      "name": "asset_requests",
      "purpose": {
        "en": "Private submitted simulated sourcing briefs with withdrawal.",
        "pt": "Solicitacoes privadas simuladas de sourcing enviadas, com retirada."
      },
      "key": "PRIMARY KEY(id); UNIQUE(user_id,idempotency_key); INDEX asset_requests_owner_date(user_id,created_at DESC,id DESC)",
      "fields": [
        {
          "name": "id",
          "type": "TEXT",
          "required": true,
          "notes": "REQUEST- uppercase UUID v4; application exact identifier validation."
        },
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "SQL FK -> users.id; holder/buyer/admin may create their own; owner and internal admin may read/withdraw."
        },
        {
          "name": "idempotency_key",
          "type": "TEXT",
          "required": true,
          "notes": "Application [A-Za-z0-9_-]{12,90}; unique per owner."
        },
        {
          "name": "payload_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256 canonical query,category,country,minimumTicketCents,maximumTicketCents,timeframe,description; same key/different normalized payload ->409."
        },
        {
          "name": "data",
          "type": "TEXT (canonical JSON)",
          "required": true,
          "notes": "Exact 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."
        },
        {
          "name": "data_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256 canonical {userId,idempotencyKey,payloadHash,data}; application validates canonical payload, owner binding and row/JSON consistency."
        },
        {
          "name": "status",
          "type": "TEXT",
          "required": true,
          "notes": "SQL CHECK submitted|withdrawn; one-way application withdrawal, no edit/delete API."
        },
        {
          "name": "version",
          "type": "INTEGER",
          "required": true,
          "notes": "SQL CHECK >=0; logical validator additionally requires submitted version0 with unchanged timestamps, withdrawn version1."
        },
        {
          "name": "created_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application ISO timestamp."
        },
        {
          "name": "updated_at",
          "type": "TEXT",
          "required": true,
          "notes": "Application ISO timestamp; not before created_at."
        }
      ],
      "relationships": [
        "asset_requests.user_id -> users.id.",
        "No case, seller, offer, order or execution FK. Maximum50 per owner includes withdrawn; drafts are page memory only."
      ],
      "classification": "private-owner-and-internal-admin-sourcing-text",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:39",
        "docs/ERD.mmd",
        "server/sourcing.cjs:5",
        "server/sourcing.cjs:38",
        "server/sourcing.cjs:64"
      ]
    },
    {
      "name": "discovery_tools",
      "purpose": {
        "en": "Owner-only favorites and saved search metadata.",
        "pt": "Favoritos e metadados de buscas salvas exclusivos do titular."
      },
      "key": "PRIMARY KEY(user_id), also FK -> users.id",
      "fields": [
        {
          "name": "user_id",
          "type": "TEXT",
          "required": true,
          "notes": "One record per account; own authenticated identity only, including administrators."
        },
        {
          "name": "data",
          "type": "TEXT (canonical JSON)",
          "required": true,
          "notes": "Exact 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."
        },
        {
          "name": "data_hash",
          "type": "TEXT",
          "required": true,
          "notes": "SHA-256 canonical {userId,data}; owner-bound consistency, not encryption."
        },
        {
          "name": "version",
          "type": "INTEGER",
          "required": true,
          "notes": "SQL CHECK >=1. Absent row projects version0/empty lists/updatedAt:null. Strict expectedVersion comparison and CAS; no idempotency key or silent identical replay."
        },
        {
          "name": "updated_at",
          "type": "TEXT",
          "required": true,
          "notes": "Matching ISO timestamp in JSON; metadata writes remain available during global financial pause."
        }
      ],
      "relationships": [
        "discovery_tools.user_id -> users.id.",
        "Favorite catalog IDs are validated application references, not SQL FKs; no administrator search collection API."
      ],
      "classification": "private-owner-only-discovery-metadata",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:41",
        "docs/ERD.mmd",
        "server/discovery.cjs:5",
        "server/discovery.cjs:38",
        "server/discovery.cjs:58"
      ]
    },
    {
      "name": "security_audit",
      "purpose": {
        "en": "Internal append-only security and operational events.",
        "pt": "Eventos internos de seguranca e operacao somente de inclusao."
      },
      "key": "PRIMARY KEY(sequence)",
      "fields": [
        {
          "name": "sequence",
          "type": "INTEGER",
          "required": true,
          "notes": "SQLite INTEGER PRIMARY KEY generates sequence on inserts without explicit value; not declared AUTOINCREMENT."
        },
        {
          "name": "at",
          "type": "TEXT",
          "required": true,
          "notes": "Application event timestamp."
        },
        {
          "name": "actor_id",
          "type": "TEXT",
          "required": false,
          "notes": "Nullable identifier, deliberately no SQL FK; anonymous/system events use null."
        },
        {
          "name": "action",
          "type": "TEXT",
          "required": true,
          "notes": "Authentication, invitations, profile updates, denials, controls, export, sourcing/discovery/rehearsal and backup operations."
        },
        {
          "name": "detail",
          "type": "TEXT (canonical JSON)",
          "required": true,
          "notes": "Operation metadata; no independent hash chain. BEFORE UPDATE/DELETE triggers raise append_only. Admin API returns newest200, not a retention policy."
        }
      ],
      "relationships": [
        "No SQL FKs; actor_id may refer to an account or be null."
      ],
      "classification": "restricted-security-audit",
      "retention": "TBD: retention period, disposal owner and deletion procedure are unspecified; no automated retention purge or erasure API.",
      "source": [
        "server/store.cjs:42",
        "docs/ERD.mmd",
        "server/store.cjs:45",
        "server/store.cjs:55",
        "server/app.cjs:125"
      ]
    }
  ],
  "permissions": [
    {
      "resource": "GET /api/discovery-tools",
      "admin": "200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.",
      "holder": "200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.",
      "buyer": "200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.",
      "compliance": "200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.",
      "rails": "200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.",
      "auditor": "200 own record only; no administrator override. Absent record: version0, empty favorites/searches, updatedAt:null.",
      "source": [
        "server/app.cjs:78",
        "docs/OPENAPI.json",
        "server/discovery.cjs:61"
      ]
    },
    {
      "resource": "POST /api/discovery-tools",
      "admin": "200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.",
      "holder": "200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.",
      "buyer": "200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.",
      "compliance": "200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.",
      "rails": "200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.",
      "auditor": "200 own metadata only; exact {expectedVersion,favorites,savedSearches}, CAS; financial pause permits updates; no target-owner input.",
      "source": [
        "server/app.cjs:79",
        "docs/OPENAPI.json",
        "server/discovery.cjs:65"
      ]
    },
    {
      "resource": "GET /api/asset-requests",
      "admin": "200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.",
      "holder": "200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.",
      "buyer": "200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.",
      "compliance": "200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.",
      "rails": "200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.",
      "auditor": "200 own requests only; administrator collection requires separate admin endpoint. Read authority is not creation authority.",
      "source": [
        "server/app.cjs:81",
        "docs/OPENAPI.json",
        "server/sourcing.cjs:72"
      ]
    },
    {
      "resource": "POST /api/asset-requests",
      "admin": "201 own brief only, not on behalf of another owner.",
      "holder": "201 own brief only.",
      "buyer": "201 own brief only.",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:82",
        "docs/OPENAPI.json",
        "server/sourcing.cjs:78"
      ]
    },
    {
      "resource": "GET /api/asset-requests/{requestId}",
      "admin": "200 any owner's brief as internal administrator; limited sourcing scope.",
      "holder": "200 own brief only; foreign/missing id ->404.",
      "buyer": "200 own brief only; foreign/missing id ->404.",
      "compliance": "200 own brief only; foreign/missing id ->404.",
      "rails": "200 own brief only; foreign/missing id ->404.",
      "auditor": "200 own brief only; foreign/missing id ->404.",
      "source": [
        "server/app.cjs:84",
        "docs/OPENAPI.json",
        "server/sourcing.cjs:67"
      ]
    },
    {
      "resource": "POST /api/asset-requests/{requestId}/withdraw",
      "admin": "200 any owner's brief; expectedVersion; internal administrator access applies. submitted0 -> withdrawn1; paused blocks fresh withdrawal; already-withdrawn matching-version read remains possible.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "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.",
      "rails": "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.",
      "auditor": "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.",
      "source": [
        "server/app.cjs:87",
        "docs/OPENAPI.json",
        "server/sourcing.cjs:98"
      ]
    },
    {
      "resource": "GET /api/admin/asset-requests",
      "admin": "200 internal queue of all requests with ownerId; sourcing only, no discovery/rehearsal override.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:83",
        "docs/OPENAPI.json",
        "server/sourcing.cjs:73"
      ]
    },
    {
      "resource": "GET /api/rehearsals",
      "admin": "200 own individual sessions only; no administrator override or cross-owner facilitator collection.",
      "holder": "200 own individual sessions only; no administrator override or cross-owner facilitator collection.",
      "buyer": "200 own individual sessions only; no administrator override or cross-owner facilitator collection.",
      "compliance": "200 own individual sessions only; no administrator override or cross-owner facilitator collection.",
      "rails": "200 own individual sessions only; no administrator override or cross-owner facilitator collection.",
      "auditor": "200 own individual sessions only; no administrator override or cross-owner facilitator collection.",
      "source": [
        "server/app.cjs:95",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/rehearsals",
      "admin": "201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.",
      "holder": "201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.",
      "buyer": "201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.",
      "compliance": "201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.",
      "rails": "201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.",
      "auditor": "201 own rehearsal from {offerId,role:buyer|holder,scenario}; no shared-profile completion required. Synthetic role does not alter real account role.",
      "source": [
        "server/app.cjs:96",
        "docs/OPENAPI.json",
        "server/rehearsal.cjs:195"
      ]
    },
    {
      "resource": "GET /api/rehearsals/{rehearsalId}",
      "admin": "200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.",
      "holder": "200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.",
      "buyer": "200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.",
      "compliance": "200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.",
      "rails": "200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.",
      "auditor": "200 owner only, including administrator; other owner/missing ->404. Disclosure follows selected synthetic role.",
      "source": [
        "server/app.cjs:100",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/rehearsals/{rehearsalId}/commands",
      "admin": "200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.",
      "holder": "200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.",
      "buyer": "200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.",
      "compliance": "200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.",
      "rails": "200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.",
      "auditor": "200 owner only; {action,payload,expectedRevision,idempotencyKey}; expected domain blocks return commandError and persist attempt, not financial changes. Exact replay has replayed:true.",
      "source": [
        "server/app.cjs:102",
        "docs/OPENAPI.json",
        "server/rehearsal.cjs:201"
      ]
    },
    {
      "resource": "POST /api/rehearsals/{rehearsalId}/feedback",
      "admin": "200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.",
      "holder": "200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.",
      "buyer": "200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.",
      "compliance": "200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.",
      "rails": "200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.",
      "auditor": "200 owner-only editable feedback {score:1..5,body<=1200,expectedRevision}; no administrator override.",
      "source": [
        "server/app.cjs:103",
        "docs/OPENAPI.json",
        "server/rehearsal.cjs:213"
      ]
    },
    {
      "resource": "GET /api/rehearsals/{rehearsalId}/export",
      "admin": "200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.",
      "holder": "200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.",
      "buyer": "200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.",
      "compliance": "200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.",
      "rails": "200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.",
      "auditor": "200 owner-only filtered individual report, even for admin; synthetic/human counters and zero real revenue; not a shared full audit chain.",
      "source": [
        "server/app.cjs:101",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "GET /api/health",
      "admin": "Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.",
      "holder": "Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.",
      "buyer": "Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.",
      "compliance": "Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.",
      "rails": "Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.",
      "auditor": "Public after Host/proxy checks; 200 {status:'ok',simulation:true,instanceId}; liveness only.",
      "source": [
        "server/app.cjs:56",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/auth/login",
      "admin": "Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.",
      "holder": "Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.",
      "buyer": "Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.",
      "compliance": "Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.",
      "rails": "Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.",
      "auditor": "Public exact-Origin JSON {alias,password}; 200 {user,csrf,expiresAt} and cookie; rate limited, no pre-auth CSRF.",
      "source": [
        "server/app.cjs:57",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/auth/invite",
      "admin": "Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.",
      "holder": "Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.",
      "buyer": "Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.",
      "compliance": "Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.",
      "rails": "Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.",
      "auditor": "Public exact-Origin JSON {token}; valid private token required; 200 alias,role,kind,orgAlias,expiresAt; no pre-auth CSRF.",
      "source": [
        "server/app.cjs:60",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/auth/accept",
      "admin": "Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.",
      "holder": "Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.",
      "buyer": "Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.",
      "compliance": "Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.",
      "rails": "Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.",
      "auditor": "Public exact-Origin JSON {token,password,consent:true}; valid one-use invite; 200 login-shaped response and cookie. Role/owner from stored invite.",
      "source": [
        "server/app.cjs:64",
        "docs/OPENAPI.json",
        "server/auth.cjs:54"
      ]
    },
    {
      "resource": "GET /api/auth/session",
      "admin": "Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.",
      "holder": "Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.",
      "buyer": "Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.",
      "compliance": "Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.",
      "rails": "Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.",
      "auditor": "Public/optional cookie; 200 nullable user,csrf,profile plus globalPaused/serverTime; no expiresAt here.",
      "source": [
        "server/app.cjs:68",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/auth/logout",
      "admin": "Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.",
      "holder": "Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.",
      "buyer": "Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.",
      "compliance": "Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.",
      "rails": "Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.",
      "auditor": "Current session+CSRF; body must parse as JSON but is ignored (not strict empty DTO); 200 ok and cleared cookie.",
      "source": [
        "server/app.cjs:74",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/auth/password",
      "admin": "Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.",
      "holder": "Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.",
      "buyer": "Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.",
      "compliance": "Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.",
      "rails": "Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.",
      "auditor": "Current session+CSRF; currentPassword,newPassword; revoke all own sessions/pending targeted resets; 200 user/csrf and rotated cookie, no expiresAt.",
      "source": [
        "server/app.cjs:75",
        "docs/OPENAPI.json",
        "server/auth.cjs:88"
      ]
    },
    {
      "resource": "GET /api/profile",
      "admin": "Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.",
      "holder": "Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.",
      "buyer": "Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.",
      "compliance": "Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.",
      "rails": "Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.",
      "auditor": "Own profile only; 200. No arbitrary-user profile lookup or administrator override through this endpoint.",
      "source": [
        "server/app.cjs:76",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/profile",
      "admin": "Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.",
      "holder": "Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.",
      "buyer": "Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.",
      "compliance": "Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.",
      "rails": "Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.",
      "auditor": "Own full profile update with consent:true and expectedVersion; 200 updated own profile. Fixed account role cannot change.",
      "source": [
        "server/app.cjs:77",
        "docs/OPENAPI.json",
        "server/service.cjs:21"
      ]
    },
    {
      "resource": "GET /api/templates",
      "admin": "Authenticated; 200 templates array of four synthetic template families.",
      "holder": "Authenticated; 200 templates array of four synthetic template families.",
      "buyer": "Authenticated; 200 templates array of four synthetic template families.",
      "compliance": "Authenticated; 200 templates array of four synthetic template families.",
      "rails": "Authenticated; 200 templates array of four synthetic template families.",
      "auditor": "Authenticated; 200 templates array of four synthetic template families.",
      "source": [
        "server/app.cjs:80",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "GET /api/cases",
      "admin": "200 all cases as internal admin.",
      "holder": "200 explicit case memberships only; organization affiliation is insufficient.",
      "buyer": "200 explicit case memberships only; organization affiliation is insufficient.",
      "compliance": "200 explicit case memberships only; organization affiliation is insufficient.",
      "rails": "200 explicit case memberships only; organization affiliation is insufficient.",
      "auditor": "200 explicit case memberships only; organization affiliation is insufficient.",
      "source": [
        "server/app.cjs:108",
        "docs/OPENAPI.json",
        "server/service.cjs:57"
      ]
    },
    {
      "resource": "POST /api/cases",
      "admin": "201 create {title,template,members:{holder,buyer,compliance,rails,auditor},offerId?}; five active distinct matching-role accounts; server snapshots catalog terms.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:109",
        "docs/OPENAPI.json",
        "server/service.cjs:63"
      ]
    },
    {
      "resource": "GET /api/cases/{caseId}",
      "admin": "200 all cases as internal admin.",
      "holder": "Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.",
      "buyer": "Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.",
      "compliance": "Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.",
      "rails": "Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.",
      "auditor": "Assigned member only; unrelated/same-organization nonmembers receive 404; filtered projection.",
      "source": [
        "server/app.cjs:134",
        "docs/OPENAPI.json",
        "server/service.cjs:37"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands",
      "admin": "Denied 403: administrator cannot execute participant commands.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "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.",
      "rails": "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.",
      "auditor": "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.",
      "source": [
        "server/app.cjs:135",
        "docs/OPENAPI.json",
        "server/service.cjs:77"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/control",
      "admin": "200 internal {paused?,archived?,reason}; reversible flags; audit without workflow revision increment.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:136",
        "docs/OPENAPI.json",
        "server/service.cjs:113"
      ]
    },
    {
      "resource": "GET /api/cases/{caseId}/audit",
      "admin": "200 full internal audit after integrity verification.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "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.",
      "rails": "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.",
      "auditor": "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.",
      "source": [
        "server/app.cjs:137",
        "docs/OPENAPI.json",
        "server/service.cjs:134"
      ]
    },
    {
      "resource": "GET /api/cases/{caseId}/export",
      "admin": "200 full internal filtered report; records security export event.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "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.",
      "rails": "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.",
      "auditor": "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.",
      "source": [
        "server/app.cjs:138",
        "docs/OPENAPI.json",
        "server/service.cjs:139"
      ]
    },
    {
      "resource": "GET /api/notifications",
      "admin": "200 own newest100 in-app rows only; no admin override or email/push transport.",
      "holder": "200 own newest100 in-app rows only; no admin override or email/push transport.",
      "buyer": "200 own newest100 in-app rows only; no admin override or email/push transport.",
      "compliance": "200 own newest100 in-app rows only; no admin override or email/push transport.",
      "rails": "200 own newest100 in-app rows only; no admin override or email/push transport.",
      "auditor": "200 own newest100 in-app rows only; no admin override or email/push transport.",
      "source": [
        "server/app.cjs:110",
        "docs/OPENAPI.json",
        "server/service.cjs:140"
      ]
    },
    {
      "resource": "POST /api/notifications/{id}/read",
      "admin": "200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).",
      "holder": "200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).",
      "buyer": "200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).",
      "compliance": "200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).",
      "rails": "200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).",
      "auditor": "200 mark own notification only; foreign/missing id404; JSON body parsed but ignored (not strict empty DTO).",
      "source": [
        "server/app.cjs:112",
        "docs/OPENAPI.json",
        "server/service.cjs:141"
      ]
    },
    {
      "resource": "GET /api/admin/users",
      "admin": "200 internal account fields and profileComplete; never password_hash. Not a participant directory.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:113",
        "docs/OPENAPI.json",
        "server/service.cjs:121"
      ]
    },
    {
      "resource": "POST /api/admin/users/{id}/control",
      "admin": "200 {active:boolean} for non-admin target; cannot target self/admin. Disable revokes sessions/resets and pauses cases; enable does not resume.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:115",
        "docs/OPENAPI.json",
        "server/service.cjs:122"
      ]
    },
    {
      "resource": "POST /api/admin/users/{id}/reset",
      "admin": "201 private reset invite for active non-admin, body {}; expires24h; issuance alone does not revoke existing sessions.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:117",
        "docs/OPENAPI.json",
        "server/service.cjs:133"
      ]
    },
    {
      "resource": "GET /api/admin/invites",
      "admin": "200 invitation metadata only, no raw token recovery.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:119",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/admin/invites",
      "admin": "201 {alias,role,orgAlias}; five participant roles only; fictional DEMO organization; raw token and private fragment URL returned once.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:120",
        "docs/OPENAPI.json",
        "server/service.cjs:131"
      ]
    },
    {
      "resource": "POST /api/admin/invites/{id}/revoke",
      "admin": "200 revoke invitation, exact empty body {}; does not delete audit history.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:122",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/admin/control",
      "admin": "200 {paused:boolean,reason}; global financial pause, not full maintenance lock. Discovery metadata stays writable.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:123",
        "docs/OPENAPI.json",
        "server/service.cjs:120"
      ]
    },
    {
      "resource": "GET /api/admin/metrics",
      "admin": "200 shared simulated counts/illustrativeVolumeCents; realRevenueCents:0; individual rehearsals excluded.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:124",
        "docs/OPENAPI.json",
        "server/service.cjs:142"
      ]
    },
    {
      "resource": "GET /api/admin/security",
      "admin": "200 newest200 internal security events only.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:125",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "POST /api/admin/backup",
      "admin": "201 body {}; private server-side SQLite snapshot; return {name,bytes,sha256}, no DB download. Limit3/user/hour.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:128",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "GET /api/admin/fixtures",
      "admin": "200 minimal fictional selector {companies:[{id,name,role,country}]}; not a participant directory.",
      "holder": "Denied (403 for administrator routes; no role bypass).",
      "buyer": "Denied (403 for administrator routes; no role bypass).",
      "compliance": "Denied (403 for administrator routes; no role bypass).",
      "rails": "Denied (403 for administrator routes; no role bypass).",
      "auditor": "Denied (403 for administrator routes; no role bypass).",
      "source": [
        "server/app.cjs:91",
        "docs/OPENAPI.json"
      ]
    },
    {
      "resource": "GET /api/catalog",
      "admin": "Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.",
      "holder": "Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.",
      "buyer": "Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.",
      "compliance": "Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.",
      "rails": "Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.",
      "auditor": "Authenticated; 200 simulation/version/offers only. No companies array, sellerId, referenceBuyerId or issuer identity.",
      "source": [
        "server/app.cjs:90",
        "docs/OPENAPI.json",
        "server/privacy.cjs:48"
      ]
    },
    {
      "resource": "GET /api/catalog/offers/{offerId}/example",
      "admin": "200 limited fictional seller; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.",
      "holder": "200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.",
      "buyer": "200 limited fictional seller; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.",
      "compliance": "200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.",
      "rails": "200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.",
      "auditor": "200 seller:null; buyer:null. Read-only generated example, four public artifacts; no private dossier or registration lookup.",
      "source": [
        "server/app.cjs:106",
        "docs/OPENAPI.json",
        "server/privacy.cjs:49"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=offer",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "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.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=mandate",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "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.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=verify",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "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.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=publish",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Assigned matching role only; standard command envelope/gates apply. Payload: empty payload; approved/fresh review.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=propose",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=accept",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged; bound party, current live quote, consent.",
      "buyer": "Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged; bound party, current live quote, consent.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=instructions",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Assigned matching role only; standard command envelope/gates apply. Payload: destination,beneficiary,controlRef,gatewayRef,reference; DEMO references; replacement clears acknowledgements.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=sign",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged,reference; records simulated consent to exact instructions, not legal electronic signature.",
      "buyer": "Assigned matching role only; standard command envelope/gates apply. Payload: proposalVersion,acknowledged,reference; records simulated consent to exact instructions, not legal electronic signature.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=begin",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Assigned matching role only; standard command envelope/gates apply. Payload: reference; both current acknowledgements and fresh checks; freezes economics/instructions.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=cash",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "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.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=delivery",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "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.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=reconcile",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Assigned matching role only; standard command envelope/gates apply. Payload: reference; both legs/acknowledgements, no issue, actor independent from execution; unique reference.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=cancel",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; before agreement only.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=reject",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Assigned matching role only; standard command envelope/gates apply. Payload: reason<=1000; review/approved/listed/negotiating.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=expire",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "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.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=issue",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "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.",
      "rails": "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.",
      "auditor": "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.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=resolve",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "Assigned matching role only; standard command envelope/gates apply. Payload: reason,reference; existing issue; resolver account differs from issue creator.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Assigned matching role only; standard command envelope/gates apply. Payload: reason,reference; existing issue; resolver account differs from issue creator.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=closeAgreement",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "Denied 403 for this action; no participant impersonation.",
      "buyer": "Denied 403 for this action; no participant impersonation.",
      "compliance": "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.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=message",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "Denied 403 for this action; no participant impersonation.",
      "rails": "Denied 403 for this action; no participant impersonation.",
      "auditor": "Denied 403 for this action; no participant impersonation.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "POST /api/cases/{caseId}/commands action=feedback",
      "admin": "Denied 403 for this action; no participant impersonation.",
      "holder": "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.",
      "buyer": "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.",
      "compliance": "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.",
      "rails": "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.",
      "auditor": "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.",
      "source": [
        "server/service.cjs:7",
        "server/service.cjs:77",
        "server/kernel.cjs:85",
        "domain/model.js:158"
      ]
    },
    {
      "resource": "Contextual seller/buyer commercial disclosure and reference sharing",
      "admin": "Internal assigned-case/account-management access; not an override for another owner's discovery or rehearsal.",
      "holder": "Own seller; counterpart buyer only after buyer binding AND a successful buyer propose in this case; reference text additionally requires counterpart shareReferences=true.",
      "buyer": "Own buyer; counterpart seller after publication in assigned case, or limited seller in offer factsheet; references additionally require opt-in.",
      "compliance": "Assigned-case operational seller/buyer commercial reads; never a participant directory.",
      "rails": "Assigned-case operational seller/buyer commercial reads; never a participant directory.",
      "auditor": "Assigned-case operational seller/buyer commercial reads; never a participant directory.",
      "source": [
        "server/privacy.cjs:16",
        "server/service.cjs:42",
        "docs/ACCESS_POLICY.md"
      ]
    },
    {
      "resource": "Private credentials, counterpart registration/contact/preferences and owner-only metadata",
      "admin": "No password/token disclosure in account listings; disk/backup operator remains privileged; API cannot read another owner's discovery/rehearsal.",
      "holder": "No counterpart credentials/login alias/contact/KYC/private preferences; own session/profile only.",
      "buyer": "No counterpart credentials/login alias/contact/KYC/private preferences; own session/profile only.",
      "compliance": "No credentials/private registration disclosure by operational case access.",
      "rails": "No credentials/private registration disclosure by operational case access.",
      "auditor": "No credentials/private registration disclosure by operational case access.",
      "source": [
        "server/auth.cjs:17",
        "server/privacy.cjs:9",
        "server/service.cjs:42",
        "docs/ACCESS_POLICY.md"
      ]
    }
  ],
  "errors": [
    {
      "code": "invalid",
      "http": 400,
      "condition": {
        "en": "JSON body cannot be parsed; distinct from semantic validation.",
        "pt": "O corpo JSON nao pode ser interpretado; diferente de validacao semantica."
      },
      "uiRecovery": {
        "en": "Correct JSON serialization and resubmit the intended request.",
        "pt": "Corrigir a serializacao JSON e reenviar a solicitacao desejada."
      },
      "source": [
        "server/app.cjs:38"
      ]
    },
    {
      "code": "invalid",
      "http": 422,
      "condition": {
        "en": "Wrong object/type, missing required semantic fields, unknown allowlist fields, enum/length errors, invalid action or domain invariant; endpoint-specific checks determine precedence.",
        "pt": "Objeto/tipo incorreto, campos semanticos obrigatorios ausentes, campos desconhecidos, enum/tamanho invalido, acao invalida ou invariante de dominio; a ordem depende do endpoint."
      },
      "uiRecovery": {
        "en": "Review the current form and allowed payload; preserve input and correct indicated values before retry.",
        "pt": "Revisar o formulario e os campos permitidos; preservar a entrada e corrigir os valores antes de tentar novamente."
      },
      "source": [
        "server/util.cjs:11",
        "server/service.cjs:21",
        "server/discovery.cjs:17",
        "server/sourcing.cjs:27",
        "domain/model.js:301"
      ]
    },
    {
      "code": "credentials",
      "http": 401,
      "condition": {
        "en": "Invalid credentials/current password, inactive account, or account credentials changed while hashing; login does not disclose which check failed.",
        "pt": "Credenciais/senha atual invalidas, conta inativa ou credenciais alteradas durante o calculo do hash; o login nao revela qual verificacao falhou."
      },
      "uiRecovery": {
        "en": "Enter correct credentials; use an administrator-issued private reset if needed.",
        "pt": "Informar as credenciais corretas; usar redefinicao privada emitida pelo administrador se necessario."
      },
      "source": [
        "server/auth.cjs:77",
        "server/auth.cjs:88"
      ]
    },
    {
      "code": "sessionExpired",
      "http": 401,
      "condition": {
        "en": "Authenticated API requested without a valid active session: missing/invalid/duplicate cookie, idle30m/absolute12h expiry or revoked session.",
        "pt": "API autenticada solicitada sem sessao ativa valida: cookie ausente/invalido/duplicado, inatividade 30 min, limite 12 h ou revogacao."
      },
      "uiRecovery": {
        "en": "Sign in again; cleared account state must not show the previous user's private data.",
        "pt": "Entrar novamente; o estado limpo da conta nao deve mostrar dados privados do usuario anterior."
      },
      "source": [
        "server/app.cjs:41",
        "server/app.cjs:70",
        "server/auth.cjs:23",
        "public/app.js:302"
      ]
    },
    {
      "code": "inviteInvalid",
      "http": 404,
      "condition": {
        "en": "Malformed, missing, expired24h, used or revoked invite, or unavailable reset target.",
        "pt": "Convite malformado, ausente, expirado em 24 h, usado ou revogado, ou conta de redefinicao indisponivel."
      },
      "uiRecovery": {
        "en": "Request a new private invitation/reset link from the administrator; do not expose the token.",
        "pt": "Solicitar novo convite/link privado ao administrador; nao expor o token."
      },
      "source": [
        "server/auth.cjs:32",
        "server/auth.cjs:59"
      ]
    },
    {
      "code": "forbidden",
      "http": 403,
      "condition": {
        "en": "Session role/action or administrator authority denied; includes administrator attempting shared participant execution and client role spoofing.",
        "pt": "Papel/acao da sessao ou autoridade administrativa negada; inclui administrador executando acao compartilhada de participante e tentativa de forjar papel."
      },
      "uiRecovery": {
        "en": "Use the correctly assigned account and permitted action; do not retry by changing owner/role fields.",
        "pt": "Usar a conta corretamente atribuida e a acao permitida; nao tentar alterar campos de titular/papel."
      },
      "source": [
        "server/service.cjs:18",
        "server/service.cjs:86",
        "server/kernel.cjs:78",
        "server/sourcing.cjs:79"
      ]
    },
    {
      "code": "origin",
      "http": 403,
      "condition": {
        "en": "Host/origin mismatch, invalid request origin, POST Origin mismatch or conflicting Sec-Fetch-Site.",
        "pt": "Divergencia de Host/origem, origem da requisicao invalida, Origin de POST divergente ou Sec-Fetch-Site conflitante."
      },
      "uiRecovery": {
        "en": "Open the exact configured app origin; operator verifies proxy Host and PUBLIC_ORIGIN.",
        "pt": "Abrir a origem exata configurada; operador verifica Host do proxy e PUBLIC_ORIGIN."
      },
      "source": [
        "server/app.cjs:48",
        "server/app.cjs:53"
      ]
    },
    {
      "code": "httpsRequired",
      "http": 403,
      "condition": {
        "en": "HTTPS public origin without explicit trustProxy, exact trusted socket peer or X-Forwarded-Proto:https.",
        "pt": "Origem publica HTTPS sem trustProxy explicito, endereco exato de proxy confiavel ou X-Forwarded-Proto:https."
      },
      "uiRecovery": {
        "en": "Operator corrects trusted proxy/TLS forwarding; do not bypass transport checks.",
        "pt": "Operador corrige o encaminhamento TLS/proxy confiavel; nao contornar as verificacoes de transporte."
      },
      "source": [
        "server/app.cjs:49",
        "docs/RUNBOOK.md:86"
      ]
    },
    {
      "code": "csrf",
      "http": 403,
      "condition": {
        "en": "Authenticated POST lacks the current valid43-character base64url X-CSRF-Token.",
        "pt": "POST autenticado sem X-CSRF-Token atual e valido de 43 caracteres base 64 url."
      },
      "uiRecovery": {
        "en": "Refresh the session/token in the same browser profile and retry the intended write.",
        "pt": "Atualizar sessao/token no mesmo perfil de navegador e repetir a gravacao desejada."
      },
      "source": [
        "server/app.cjs:42",
        "server/app.cjs:73"
      ]
    },
    {
      "code": "method",
      "http": 405,
      "condition": {
        "en": "Method other than GET/POST/HEAD rejected before routing. HEAD is static-only; authenticated API HEAD generally falls through to404, not405.",
        "pt": "Metodo diferente de GET/POST/HEAD rejeitado antes do roteamento. HEAD so tem contrato estatico; HEAD de API autenticada normalmente termina em 404, nao 405."
      },
      "uiRecovery": {
        "en": "Use the documented GET or POST operation; no PUT/PATCH/DELETE/OPTIONS or CORS preflight API.",
        "pt": "Usar a operacao GET ou POST documentada; nao ha API PUT/PATCH/DELETE/OPTIONS nem preflight CORS."
      },
      "source": [
        "server/app.cjs:54",
        "server/app.cjs:140",
        "docs/IMPLEMENTATION_CONTRACT.md"
      ]
    },
    {
      "code": "missing",
      "http": 404,
      "condition": {
        "en": "Absent/inaccessible case or private owner resource, unknown API/static path/offer or unavailable admin target. Earlier authentication/role/transport validation can take precedence.",
        "pt": "Caso/recurso privado ausente ou inacessivel, rota API/estatica/oferta desconhecida ou alvo administrativo indisponivel. Verificacoes anteriores podem prevalecer."
      },
      "uiRecovery": {
        "en": "Return to the authorized list or ask the administrator about assignment; do not infer that the guessed resource exists.",
        "pt": "Voltar a lista autorizada ou consultar o administrador sobre a atribuicao; nao inferir a existencia do recurso adivinhado."
      },
      "source": [
        "server/service.cjs:37",
        "server/rehearsal.cjs:193",
        "server/sourcing.cjs:67",
        "server/app.cjs:140"
      ]
    },
    {
      "code": "contentType",
      "http": 415,
      "condition": {
        "en": "POST body content type is not application/json, with optional parameters allowed.",
        "pt": "Content-Type do POST nao e application/json; parametros opcionais sao aceitos."
      },
      "uiRecovery": {
        "en": "Send JSON with Content-Type:application/json.",
        "pt": "Enviar JSON com Content-Type:application/json."
      },
      "source": [
        "server/app.cjs:35"
      ]
    },
    {
      "code": "tooLarge",
      "http": 413,
      "condition": {
        "en": "POST body exceeds32768 bytes, measured by received chunk bytes.",
        "pt": "Corpo POST excede 32768 bytes, medidos nos bytes recebidos."
      },
      "uiRecovery": {
        "en": "Shorten input; no document/audio upload is supported by this contract.",
        "pt": "Reduzir a entrada; este contrato nao oferece envio de documentos/audio."
      },
      "source": [
        "server/app.cjs:37"
      ]
    },
    {
      "code": "invalidAlias",
      "http": 422,
      "condition": {
        "en": "Creation alias fails lowercase [a-z0-9][a-z0-9._-]{2,39}.",
        "pt": "Alias de criacao nao atende [a-z 0-9][a-z 0-9._-]{2,39} em minusculas."
      },
      "uiRecovery": {
        "en": "Choose a3..40-character valid lowercase alias.",
        "pt": "Escolher alias valido em minusculas com 3..40 caracteres."
      },
      "source": [
        "server/util.cjs:13"
      ]
    },
    {
      "code": "passwordPolicy",
      "http": 422,
      "condition": {
        "en": "Password is not14..128 Unicode code points or matches rejected repetition/basic known values.",
        "pt": "Senha fora de 14..128 pontos de codigo Unicode ou com repeticao/valor basico rejeitado."
      },
      "uiRecovery": {
        "en": "Choose a unique compliant password; no MFA/SSO or breach-password verification is implied.",
        "pt": "Escolher senha exclusiva conforme a politica; isso nao implica MFA/SSO nem verificacao de vazamentos."
      },
      "source": [
        "server/util.cjs:14"
      ]
    },
    {
      "code": "consentRequired",
      "http": 422,
      "condition": {
        "en": "Required fictional-data consent or action acknowledgement/confirmation is not true.",
        "pt": "Consentimento para dados ficticios ou ciencia/confirmacao exigida pela acao nao e true."
      },
      "uiRecovery": {
        "en": "Review the simulation terms or current action and explicitly acknowledge before submission.",
        "pt": "Revisar os termos da simulacao ou a acao atual e confirmar explicitamente antes do envio."
      },
      "source": [
        "server/auth.cjs:56",
        "server/service.cjs:24",
        "domain/model.js:164",
        "server/sourcing.cjs:30"
      ]
    },
    {
      "code": "aliasUnavailable",
      "http": 409,
      "condition": {
        "en": "Join alias already exists or has a live pending unused/unrevoked join invite.",
        "pt": "Alias de adesao ja existe ou tem convite pendente ainda valido, nao usado e nao revogado."
      },
      "uiRecovery": {
        "en": "Administrator selects another alias or reviews/revokes the pending invite.",
        "pt": "Administrador escolhe outro alias ou revisa/revoga o convite pendente."
      },
      "source": [
        "server/auth.cjs:41"
      ]
    },
    {
      "code": "bootstrapClosed",
      "http": 409,
      "condition": {
        "en": "Bootstrap attempted after any user exists; also checked during acceptance of an administrator join invite. CLI failures have no HTTP response.",
        "pt": "Bootstrap solicitado apos a criacao de qualquer usuario; tambem verificado na aceitacao de convite administrativo. Falha via CLI nao emite resposta HTTP."
      },
      "uiRecovery": {
        "en": "Use existing administrator login or privileged local recover-admin procedure; do not recreate accounts.",
        "pt": "Usar login administrativo existente ou procedimento local privilegiado recover-admin; nao recriar contas."
      },
      "source": [
        "server/auth.cjs:47",
        "server/auth.cjs:61",
        "scripts/manage.cjs:68"
      ]
    },
    {
      "code": "profilePending",
      "http": 422,
      "condition": {
        "en": "Own profile is not completed before a shared-case command, including replay access checks.",
        "pt": "Perfil proprio incompleto antes de comando compartilhado, inclusive verificacoes de acesso em repeticao."
      },
      "uiRecovery": {
        "en": "Complete the fictional profile with consent, then reload the case.",
        "pt": "Concluir o perfil ficticio com consentimento e recarregar o caso."
      },
      "source": [
        "server/service.cjs:87"
      ]
    },
    {
      "code": "memberUnavailable",
      "http": 422,
      "condition": {
        "en": "Case creation cannot resolve all five active users matching their required fixed roles.",
        "pt": "Criacao de caso nao encontra os cinco usuarios ativos com os respectivos papeis fixos."
      },
      "uiRecovery": {
        "en": "Administrator assigns five active distinct matching-role accounts.",
        "pt": "Administrador atribui cinco contas distintas, ativas e com os papeis corretos."
      },
      "source": [
        "server/service.cjs:69"
      ]
    },
    {
      "code": "memberUnavailable",
      "http": 423,
      "condition": {
        "en": "A current case member is inactive when applying a new participant command.",
        "pt": "Membro atual do caso esta inativo ao aplicar novo comando de participante."
      },
      "uiRecovery": {
        "en": "Administrator reviews member status and case pause; re-enabling alone does not resume the case.",
        "pt": "Administrador revisa status do membro e pausa do caso; reativar a conta nao retoma o caso automaticamente."
      },
      "source": [
        "server/service.cjs:91",
        "server/service.cjs:126"
      ]
    },
    {
      "code": "conflict",
      "http": 409,
      "condition": {
        "en": "Stale expected revision/deal/profile/discovery/request version, changed duplicate idempotency payload or owner, concurrent credential change. Discovery has CAS without idempotent replay.",
        "pt": "Revisao/versao esperada desatualizada, chave idempotente repetida com corpo/titular diferente ou credenciais alteradas concorrentemente. Descoberta usa CAS sem repeticao idempotente."
      },
      "uiRecovery": {
        "en": "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.",
        "pt": "Recarregar os dados e revisar alteracoes. Repetir comando de resultado incerto somente com corpo/chave originais; nova decisao usa versoes/chave atuais."
      },
      "source": [
        "server/service.cjs:89",
        "server/service.cjs:93",
        "server/service.cjs:108",
        "server/discovery.cjs:71",
        "server/sourcing.cjs:103",
        "server/rehearsal.cjs:207"
      ]
    },
    {
      "code": "paused",
      "http": 423,
      "condition": {
        "en": "Global/case pause blocks fresh shared commands; global pause also blocks new rehearsal/sourcing writes. Discovery metadata, reads and valid stored replays remain available.",
        "pt": "Pausa global/do caso bloqueia novos comandos compartilhados; pausa global tambem bloqueia novas gravacoes de ensaio/sourcing. Metadados de descoberta, leituras e repeticoes validas continuam disponiveis."
      },
      "uiRecovery": {
        "en": "Keep current data and ask the administrator to review/resume the applicable controls.",
        "pt": "Preservar os dados e solicitar ao administrador revisao/retomada dos controles aplicaveis."
      },
      "source": [
        "server/service.cjs:90",
        "server/rehearsal.cjs:196",
        "server/sourcing.cjs:88",
        "server/discovery.cjs:65"
      ]
    },
    {
      "code": "archived",
      "http": 423,
      "condition": {
        "en": "Case archive flag blocks fresh participant commands; exact prior replay can still return its current projection.",
        "pt": "Flag de arquivamento bloqueia novos comandos; repeticao exata anterior ainda pode devolver a projecao atual."
      },
      "uiRecovery": {
        "en": "Use read/export or ask the administrator to review the reversible archive flag.",
        "pt": "Usar leitura/exportacao ou pedir ao administrador revisao do arquivamento reversivel."
      },
      "source": [
        "server/service.cjs:88"
      ]
    },
    {
      "code": "rateLimited",
      "http": 429,
      "condition": {
        "en": "Persistent fixed-window quota exceeded, or four concurrent scrypt jobs are already running.",
        "pt": "Cota persistente de janela fixa excedida ou quatro tarefas scrypt ja em execucao."
      },
      "uiRecovery": {
        "en": "Wait for the relevant window/capacity; no Retry-After header is promised; proxy users share socket-IP limits.",
        "pt": "Aguardar a janela/capacidade aplicavel; nao ha garantia de Retry-After; usuarios do proxy compartilham limites do IP do socket."
      },
      "source": [
        "server/auth.cjs:8",
        "server/util.cjs:17",
        "server/app.cjs:72",
        "server/app.cjs:129"
      ]
    },
    {
      "code": "requestLimit",
      "http": 429,
      "condition": {
        "en": "Owner already has50 sourcing requests, including withdrawn records; exact prior-key replay is checked first.",
        "pt": "Titular ja tem 50 solicitacoes de sourcing, incluindo retiradas; repeticao de chave anterior e verificada antes."
      },
      "uiRecovery": {
        "en": "Review existing requests; withdrawal does not free quota. No quota-clear/delete UI exists.",
        "pt": "Revisar solicitacoes existentes; retirada nao libera cota. Nao existe interface para limpar cota/excluir."
      },
      "source": [
        "server/sourcing.cjs:82",
        "server/sourcing.cjs:89"
      ]
    },
    {
      "code": "rehearsalLimit",
      "http": 429,
      "condition": {
        "en": "Owner has50 rehearsals or session already has200 command entries; exact command replay is checked first.",
        "pt": "Titular tem 50 ensaios ou sessao ja tem 200 comandos; repeticao exata e verificada antes."
      },
      "uiRecovery": {
        "en": "Review/export existing sessions; abandonment does not erase evidence or provide a quota reset.",
        "pt": "Revisar/exportar sessoes existentes; abandono nao apaga evidencias nem redefine a cota."
      },
      "source": [
        "server/rehearsal.cjs:196",
        "server/rehearsal.cjs:207"
      ]
    },
    {
      "code": "invalidNumber",
      "http": 422,
      "condition": {
        "en": "Invalid decimal string/positive-safe-cent amount, malformed grouping/sign/exponent/whitespace, unsafe integer or non-string shared numeric input.",
        "pt": "Decimal/valor positivo em centavos seguros invalido, separadores/sinal/expoente/espacos invalidos, inteiro inseguro ou entrada numerica compartilhada que nao e string."
      },
      "uiRecovery": {
        "en": "Use plain decimal strings with explicit decimal meaning; USD only; blank sourcing ticket is unspecified, zero is not a positive ticket.",
        "pt": "Usar strings decimais simples com significado explicito; somente USD; ticket vazio de sourcing significa indefinido, zero nao e positivo."
      },
      "source": [
        "domain/model.js:18",
        "domain/model.js:30",
        "server/service.cjs:82",
        "server/sourcing.cjs:19"
      ]
    },
    {
      "code": "precision",
      "http": 422,
      "condition": {
        "en": "Decimal has more fractional digits than allowed: shared units6, money2.",
        "pt": "Decimal tem mais casas fracionarias que o permitido: unidades 6, dinheiro 2."
      },
      "uiRecovery": {
        "en": "Reduce precision explicitly; do not silently truncate entered financial values.",
        "pt": "Reduzir a precisao explicitamente; nao truncar valores financeiros silenciosamente."
      },
      "source": [
        "domain/model.js:23",
        "server/kernel.cjs:88"
      ]
    },
    {
      "code": "quantityError",
      "http": 422,
      "condition": {
        "en": "Nonpositive quantity/price, quantity exceeds available/reservable holdings, or reconciliation exceeds holdings.",
        "pt": "Quantidade/preco nao positivos, quantidade excede saldo disponivel/reservavel ou conciliacao excede saldo."
      },
      "uiRecovery": {
        "en": "Review displayed available synthetic units and enter a positive permitted amount.",
        "pt": "Revisar unidades sinteticas disponiveis e informar quantidade positiva permitida."
      },
      "source": [
        "domain/model.js:163",
        "domain/model.js:177",
        "domain/model.js:254"
      ]
    },
    {
      "code": "ticketRange",
      "http": 422,
      "condition": {
        "en": "Mandate min/max invalid or principal outside mandate/catalog ticket limits; sourcing min exceeds max.",
        "pt": "Min/max do mandato invalido ou principal fora dos limites do mandato/catalogo; minimo do sourcing excede maximo."
      },
      "uiRecovery": {
        "en": "Review the offer's server-owned limits and min/max; correct quantity/price or brief ticket values.",
        "pt": "Revisar limites da oferta definidos no servidor e min/max; corrigir quantidade/preco ou tickets do pedido."
      },
      "source": [
        "server/kernel.cjs:95",
        "server/kernel.cjs:110",
        "server/service.cjs:98",
        "server/sourcing.cjs:34"
      ]
    },
    {
      "code": "notTransferable",
      "http": 422,
      "condition": {
        "en": "Domain position transferability policy forbids resale; a domain-defined guard, not verification of real legal permissions.",
        "pt": "Politica de transferibilidade da posicao proibe revenda no dominio; nao e verificacao de autorizacao juridica real."
      },
      "uiRecovery": {
        "en": "Select a supported transferable fictional position; do not bypass policy.",
        "pt": "Selecionar posicao ficticia transferivel permitida; nao contornar a politica."
      },
      "source": [
        "domain/model.js:101",
        "domain/model.js:161"
      ]
    },
    {
      "code": "locked",
      "http": 422,
      "condition": {
        "en": "Domain position is still within lockedUntil.",
        "pt": "Posicao do dominio ainda esta no prazo lockedUntil."
      },
      "uiRecovery": {
        "en": "Inspect the displayed lock date and use a permitted fictional position or wait.",
        "pt": "Conferir a data de bloqueio e usar posicao ficticia permitida ou aguardar."
      },
      "source": [
        "domain/model.js:104",
        "domain/model.js:161"
      ]
    },
    {
      "code": "transition",
      "http": 422,
      "condition": {
        "en": "Action is not allowed in the current stage or repeats a single-use evidence/acceptance action.",
        "pt": "Acao nao e permitida no estagio atual ou repete evidencia/aceite de uso unico."
      },
      "uiRecovery": {
        "en": "Reload current status and choose an available action; do not force a stage change.",
        "pt": "Recarregar o status e escolher acao disponivel; nao forcar mudanca de etapa."
      },
      "source": [
        "domain/model.js:132",
        "domain/model.js:238",
        "server/kernel.cjs:87"
      ]
    },
    {
      "code": "buyerIneligible",
      "http": 422,
      "condition": {
        "en": "Missing/stale review, unqualified/country-ineligible mandate, wrong bound buyer or failed synthetic buyer gate.",
        "pt": "Revisao ausente/desatualizada, mandato nao qualificado/pais inelegivel, comprador vinculado incorreto ou falha em regra sintetica."
      },
      "uiRecovery": {
        "en": "Review mandate and permitted countries, obtain simulated compliance review; in individual mode use the provided correction step.",
        "pt": "Revisar mandato e paises permitidos e obter revisao simulada; no modo individual usar a etapa de correcao."
      },
      "source": [
        "server/kernel.cjs:101",
        "domain/model.js:111",
        "domain/model.js:142"
      ]
    },
    {
      "code": "checklistRequired",
      "http": 422,
      "condition": {
        "en": "All required simulated ownership/transfer/issuer/jurisdiction/unencumbered/gateway/document checks are not true; individual scripted document gate can produce same code.",
        "pt": "Nem todas as verificacoes simuladas exigidas sao true; bloqueio documental programado no ensaio pode gerar o mesmo codigo."
      },
      "uiRecovery": {
        "en": "Compliance reviews every required fictional check; individual owner uses restore_documents when offered.",
        "pt": "Compliance revisa cada verificacao ficticia; titular individual usa restore_documents quando disponivel."
      },
      "source": [
        "domain/model.js:183",
        "server/rehearsal.cjs:80"
      ]
    },
    {
      "code": "staleProof",
      "http": 422,
      "condition": {
        "en": "Review expired24h, source revision changed, position policy blocked or reserved amount invalidates the recorded review.",
        "pt": "Revisao expirou em 24 h, revisao da origem mudou, politica bloqueou posicao ou quantidade reservada invalidou a revisao."
      },
      "uiRecovery": {
        "en": "Reload and request a fresh simulated compliance review against current source data.",
        "pt": "Recarregar e solicitar nova revisao simulada de compliance sobre os dados atuais."
      },
      "source": [
        "domain/model.js:107",
        "domain/model.js:134",
        "domain/model.js:184"
      ]
    },
    {
      "code": "quoteExpired",
      "http": 409,
      "condition": {
        "en": "Shared acceptance has an expired/mismatched proposal version; service remaps this domain error to409. Individual expected quote blocks instead use HTTP200 commandError.",
        "pt": "Aceite compartilhado tem proposta expirada/versao divergente; servico converte o erro para 409. Bloqueios esperados de cotacao no ensaio usam HTTP 200 commandError."
      },
      "uiRecovery": {
        "en": "Reload the current proposal and obtain a new quote/review/consent; individual mode can offer renew_quote.",
        "pt": "Recarregar proposta atual e obter nova cotacao/revisao/ciencia; modo individual pode oferecer renew_quote."
      },
      "source": [
        "domain/model.js:207",
        "server/service.cjs:108",
        "server/rehearsal.cjs:82"
      ]
    },
    {
      "code": "offerWindowClosed",
      "http": 409,
      "condition": {
        "en": "Absolute commercial deadline reached/invalid: new case/rehearsal and new offer/publish/propose/accept are blocked. Earlier agreements preserve agreed terms.",
        "pt": "Prazo comercial absoluto encerrado/invalido: novo caso/ensaio e novas acoes offer/publish/propose/accept bloqueadas. Acordos anteriores preservam os termos."
      },
      "uiRecovery": {
        "en": "Choose another valid fictional offer; do not reset the countdown. Review supported continuation/closure for prior agreements.",
        "pt": "Escolher outra oferta ficticia valida; nao reiniciar contagem. Revisar continuacao/encerramento permitido de acordos anteriores."
      },
      "source": [
        "server/catalog.cjs:34",
        "server/kernel.cjs:72",
        "server/service.cjs:108",
        "server/rehearsal.cjs:67"
      ]
    },
    {
      "code": "expiredError",
      "http": 422,
      "condition": {
        "en": "Resale request expiresAt reached during actions that call live(); expiry does not automatically write an expired status.",
        "pt": "expiresAt da solicitacao de revenda atingido em acao que chama live(); vencimento nao grava status expired automaticamente."
      },
      "uiRecovery": {
        "en": "Inspect supported expiry/closure actions; after the request lifetime start a fresh fictional rehearsal rather than editing expiry.",
        "pt": "Revisar acoes permitidas de expiracao/encerramento; apos a validade iniciar novo ensaio ficticio em vez de alterar prazo."
      },
      "source": [
        "domain/model.js:133",
        "domain/model.js:270",
        "docs/KNOWN_LIMITS.md:8"
      ]
    },
    {
      "code": "notExpired",
      "http": 422,
      "condition": {
        "en": "Manual expire attempted before request expiresAt.",
        "pt": "Expiracao manual solicitada antes de expiresAt."
      },
      "uiRecovery": {
        "en": "Wait until request expiry or choose a currently permitted pre-agreement action.",
        "pt": "Aguardar vencimento ou escolher acao anterior ao acordo atualmente permitida."
      },
      "source": [
        "domain/model.js:270"
      ]
    },
    {
      "code": "issueOpen",
      "http": 422,
      "condition": {
        "en": "A blocking issue prevents the requested live/settlement/reconciliation/closure action.",
        "pt": "Ocorrencia bloqueante impede a acao de negociacao/liquidacao/conciliacao/encerramento."
      },
      "uiRecovery": {
        "en": "Independent compliance/auditor reviews and resolves the issue; resolving does not itself settle.",
        "pt": "Compliance/auditor independente revisa e resolve a ocorrencia; resolver nao liquida automaticamente."
      },
      "source": [
        "domain/model.js:133",
        "domain/model.js:237",
        "domain/model.js:287"
      ]
    },
    {
      "code": "independence",
      "http": 422,
      "condition": {
        "en": "Five-account separation, execution-versus-reconciliation separation or issue creator-versus-resolver separation fails.",
        "pt": "Falha na separacao das cinco contas, executor/conciliador ou criador/resolvedor de ocorrencia."
      },
      "uiRecovery": {
        "en": "Use the separately assigned authorized reviewer/auditor account.",
        "pt": "Usar a conta autorizada separadamente atribuida de revisor/auditor."
      },
      "source": [
        "server/service.cjs:70",
        "domain/model.js:252",
        "domain/model.js:289"
      ]
    },
    {
      "code": "demoReference",
      "http": 422,
      "condition": {
        "en": "Kernel reference fails ^DEMO-[A-Z0-9-]{1,100}$, including instructions/closure references.",
        "pt": "Referencia do kernel nao atende ^DEMO-[A-Z 0-9-]{1,100}$, inclusive instrucoes/encerramento."
      },
      "uiRecovery": {
        "en": "Enter only an allowed fictional DEMO reference; never real account/payment identifiers.",
        "pt": "Informar somente referencia ficticia DEMO permitida; nunca identificadores reais de conta/pagamento."
      },
      "source": [
        "server/kernel.cjs:14",
        "server/kernel.cjs:102",
        "server/kernel.cjs:113"
      ]
    },
    {
      "code": "proofRequired",
      "http": 422,
      "condition": {
        "en": "Lower domain requires a nonempty proof/reference or instruction value; shared kernel often rejects malformed references earlier as demoReference.",
        "pt": "Dominio exige evidencia/referencia ou instrucao nao vazia; kernel compartilhado frequentemente rejeita antes como demoReference."
      },
      "uiRecovery": {
        "en": "Fill the required fictional reference/instruction from current displayed values.",
        "pt": "Preencher referencia/instrucao ficticia exigida com os valores atuais exibidos."
      },
      "source": [
        "domain/model.js:135",
        "domain/model.js:222",
        "server/kernel.cjs:115"
      ]
    },
    {
      "code": "proofReused",
      "http": 422,
      "condition": {
        "en": "Normalized cash, delivery or reconciliation reference was already used within the domain case.",
        "pt": "Referencia normalizada de caixa, entrega ou conciliacao ja foi usada no caso."
      },
      "uiRecovery": {
        "en": "Use a distinct fictional evidence reference after inspecting existing legs; do not duplicate a financial action.",
        "pt": "Usar referencia ficticia distinta apos revisar as evidencias; nao duplicar acao financeira."
      },
      "source": [
        "domain/model.js:136"
      ]
    },
    {
      "code": "instructionsRequired",
      "http": 422,
      "condition": {
        "en": "Party tries simulated sign without current instructions.",
        "pt": "Parte tenta sign simulado sem instrucoes atuais."
      },
      "uiRecovery": {
        "en": "Rails records current instructions, then each party reviews and acknowledges them.",
        "pt": "Rails registra instrucoes atuais e cada parte revisa e declara ciencia."
      },
      "source": [
        "domain/model.js:217"
      ]
    },
    {
      "code": "signaturesRequired",
      "http": 422,
      "condition": {
        "en": "Begin settlement lacks current instructions or one/both simulated acknowledgements.",
        "pt": "Inicio da liquidacao sem instrucoes atuais ou uma/ambas as ciencias simuladas."
      },
      "uiRecovery": {
        "en": "Obtain both acknowledgements of the latest instructions; changed instructions invalidate earlier records.",
        "pt": "Obter ambas as ciencias das instrucoes atuais; alteracao invalida registros anteriores."
      },
      "source": [
        "domain/model.js:229"
      ]
    },
    {
      "code": "cashMismatch",
      "http": 422,
      "condition": {
        "en": "Recorded cash amount, beneficiary or currency differs from frozen principal, beneficiary or USD.",
        "pt": "Valor de caixa, beneficiario ou moeda diverge do principal/beneficiario congelados ou de USD."
      },
      "uiRecovery": {
        "en": "Inspect frozen terms and correct unsaved evidence; recorded legs have no correction API.",
        "pt": "Conferir termos congelados e corrigir evidencia ainda nao salva; nao ha API de correcao de pernas registradas."
      },
      "source": [
        "domain/model.js:239"
      ]
    },
    {
      "code": "deliveryMismatch",
      "http": 422,
      "condition": {
        "en": "Recorded quantity/network/token/destination/source account differs from frozen instructions.",
        "pt": "Quantidade/rede/token/destino/conta de origem divergem das instrucoes congeladas."
      },
      "uiRecovery": {
        "en": "Use exact displayed frozen delivery values; escalate already-recorded problems through supported issue handling.",
        "pt": "Usar valores congelados exatos exibidos; encaminhar problemas ja registrados pelo tratamento permitido de ocorrencias."
      },
      "source": [
        "domain/model.js:245"
      ]
    },
    {
      "code": "bothLegsRequired",
      "http": 422,
      "condition": {
        "en": "Reconciliation lacks cash, delivery or both party acknowledgement records.",
        "pt": "Conciliacao sem caixa, entrega ou ambas as ciencias das partes."
      },
      "uiRecovery": {
        "en": "Wait for valid cash/delivery evidence and required acknowledgements; never fabricate completion.",
        "pt": "Aguardar evidencias validas de caixa/entrega e ciencias exigidas; nunca inventar conclusao."
      },
      "source": [
        "domain/model.js:251"
      ]
    },
    {
      "code": "closureRequired",
      "http": 422,
      "condition": {
        "en": "Agreement closure lacks noMovement:true or required mutual-release/provider-closure references.",
        "pt": "Encerramento do acordo sem noMovement:true ou referencias exigidas de liberacao das partes/encerramento do provedor."
      },
      "uiRecovery": {
        "en": "Compliance reviews no-movement closure and all required DEMO references; not a refund/unwind.",
        "pt": "Compliance revisa encerramento sem movimentacao e referencias DEMO exigidas; nao e estorno/reversao."
      },
      "source": [
        "domain/model.js:274",
        "server/kernel.cjs:119"
      ]
    },
    {
      "code": "reasonRequired",
      "http": 422,
      "condition": {
        "en": "Required reason is empty/non-string or longer than1000 characters.",
        "pt": "Motivo exigido vazio, nao textual ou maior que 1000 caracteres."
      },
      "uiRecovery": {
        "en": "Enter a concise fictional reason within the limit.",
        "pt": "Informar motivo ficticio conciso dentro do limite."
      },
      "source": [
        "domain/model.js:191",
        "domain/model.js:268",
        "domain/model.js:290"
      ]
    },
    {
      "code": "messageRequired",
      "http": 422,
      "condition": {
        "en": "Case message body is empty/non-string or exceeds1200 characters.",
        "pt": "Mensagem do caso vazia, nao textual ou maior que 1200 caracteres."
      },
      "uiRecovery": {
        "en": "Enter a shorter fictional commercial message; all assigned roles/admin can read it.",
        "pt": "Informar mensagem comercial ficticia mais curta; todos os papeis atribuidos/admin podem le-la."
      },
      "source": [
        "server/kernel.cjs:124"
      ]
    },
    {
      "code": "corrupt",
      "http": 503,
      "condition": {
        "en": "Persisted case/rehearsal/sourcing/discovery hash, JSON, ownership binding or logical invariants fail validation; reads/commands fail closed.",
        "pt": "Hash, JSON, vinculo de titularidade ou invariantes de caso/ensaio/sourcing/descoberta persistidos falham; acesso e comandos sao negados."
      },
      "uiRecovery": {
        "en": "Stop participation, preserve private evidence and have the operator investigate/restore a validated backup; do not patch hashes.",
        "pt": "Interromper participacao, preservar evidencias privadas e solicitar investigacao/restauracao validada; nao corrigir hashes para ocultar dano."
      },
      "source": [
        "server/store.cjs:7",
        "server/rehearsal.cjs:185",
        "server/sourcing.cjs:38",
        "server/discovery.cjs:38"
      ]
    },
    {
      "code": "auditIntegrity",
      "http": 503,
      "condition": {
        "en": "Case audit sequence/previous/event hashes or final snapshot hash/revision linkage fails.",
        "pt": "Sequencia/hashes do historico ou vinculo de hash/revisao com instantaneo final falham."
      },
      "uiRecovery": {
        "en": "Stop case interaction and refer requestId to the operator for private investigation/recovery.",
        "pt": "Interromper interacao com caso e encaminhar requestId ao operador para investigacao/recuperacao privada."
      },
      "source": [
        "server/store.cjs:11"
      ]
    },
    {
      "code": "schemaMismatch",
      "http": null,
      "condition": {
        "en": "Store-open exception carries status500 when settings.schema is not1; normally aborts startup before an HTTP server exists.",
        "pt": "Excecao ao abrir banco carrega status 500 se settings.schema nao e 1; normalmente interrompe inicio antes de existir servidor HTTP."
      },
      "uiRecovery": {
        "en": "Operator checks source/runtime compatibility and supported backup recovery; no automatic migration is promised.",
        "pt": "Operador verifica compatibilidade de fonte/runtime e recuperacao permitida; nao ha migracao automatica garantida."
      },
      "source": [
        "server/store.cjs:49",
        "docs/KNOWN_LIMITS.md:47"
      ]
    },
    {
      "code": "backupFailed",
      "http": 500,
      "condition": {
        "en": "SQLite snapshot copy fails PRAGMA integrity_check; API path emits500, CLI only reports local failure.",
        "pt": "Copia do snapshot falha PRAGMA integrity_check; via API retorna 500, via CLI apenas falha local."
      },
      "uiRecovery": {
        "en": "Operator preserves diagnostics and verifies disk/permissions; never treat a failed snapshot as a usable backup.",
        "pt": "Operador preserva diagnosticos e verifica disco/permissoes; nunca considerar snapshot falho como backup utilizavel."
      },
      "source": [
        "server/store.cjs:65"
      ]
    },
    {
      "code": "serverError",
      "http": 500,
      "condition": {
        "en": "Unrecognized server exception, including database errors whose code fails the public alphabetic allowlist; response reveals only code/requestId.",
        "pt": "Excecao nao reconhecida, incluindo erros de banco cujo codigo nao atende a lista alfabetica publica; resposta mostra somente codigo/requestId."
      },
      "uiRecovery": {
        "en": "Keep requestId, check whether the intended write committed, then reload or retry with exact original idempotency envelope where supported.",
        "pt": "Preservar requestId, verificar se a gravacao ocorreu e recarregar ou repetir envelope idempotente original quando permitido."
      },
      "source": [
        "server/app.cjs:149"
      ]
    },
    {
      "code": "networkError",
      "http": null,
      "condition": {
        "en": "Browser fetch/timeout/JSON transport failure is mapped locally to networkError; no HTTP status is guaranteed. API abort timer15s.",
        "pt": "Falha de fetch/timeout/JSON no navegador e convertida localmente em networkError; nao ha status HTTP garantido. Temporizador de 15 s."
      },
      "uiRecovery": {
        "en": "Check connection and reload current data; uncertain command completion requires exact original body/key replay, not a new blind command.",
        "pt": "Verificar conexao e recarregar dados; conclusao incerta exige repeticao com corpo/chave originais, nao novo comando as cegas."
      },
      "source": [
        "public/app.js:304"
      ]
    },
    {
      "code": "instructionsChanged",
      "http": null,
      "condition": {
        "en": "Lower domain defines a begin-instructions mismatch guard; shared begin payload allowlist accepts only reference, so extra instruction fields are normally rejected earlier as invalid422.",
        "pt": "Dominio define regra de divergencia nas instrucoes de begin; allowlist compartilhada aceita apenas reference, logo campos extras normalmente falham antes como invalid 422."
      },
      "uiRecovery": {
        "en": "Refresh frozen instructions and acknowledgements; do not send unallowed begin fields.",
        "pt": "Atualizar instrucoes e ciencias; nao enviar campos nao permitidos em begin."
      },
      "source": [
        "domain/model.js:232",
        "server/service.cjs:11"
      ]
    },
    {
      "code": "buyerBusy",
      "http": null,
      "condition": {
        "en": "Lower domain defines this code for another buyer; preceding bound-buyer eligibility normally produces buyerIneligible in this shared flow. No separately guaranteed HTTP code.",
        "pt": "Dominio define codigo para outro comprador; validacao anterior normalmente gera buyerIneligible neste fluxo. Sem status HTTP independente garantido."
      },
      "uiRecovery": {
        "en": "Use the assigned bound buyer and inspect current case; do not replace the counterparty.",
        "pt": "Usar comprador atribuido e vinculado e revisar caso atual; nao substituir contraparte."
      },
      "source": [
        "domain/model.js:142",
        "domain/model.js:197"
      ]
    },
    {
      "code": "storage",
      "http": null,
      "condition": {
        "en": "Lower local-storage adapters define storage failures; these adapters are not the shared SQLite HTTP API.",
        "pt": "Adaptadores locais de armazenamento definem falhas storage; nao sao a API HTTP SQLite compartilhada."
      },
      "uiRecovery": {
        "en": "Use shared server persistence; for standalone adapters inspect browser storage availability without overwriting evidence.",
        "pt": "Usar persistencia do servidor compartilhado; em adaptador isolado verificar armazenamento do navegador sem sobrescrever evidencias."
      },
      "source": [
        "domain/model.js:307",
        "domain/model.js:321",
        "server/kernel.cjs:149"
      ]
    },
    {
      "code": "concurrency",
      "http": null,
      "condition": {
        "en": "Lower browser storage adapter requires Web Locks and rejects when unavailable; not a shared API response or multi-node guarantee.",
        "pt": "Adaptador inferior do navegador exige Web Locks e rejeita ausencia; nao e resposta da API compartilhada nem garantia multinodo."
      },
      "uiRecovery": {
        "en": "Use the shared server UI or a browser with the required standalone-adapter capability.",
        "pt": "Usar interface do servidor compartilhado ou navegador com capacidade exigida pelo adaptador isolado."
      },
      "source": [
        "domain/model.js:324"
      ]
    },
    {
      "code": "transition",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'transition' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Acao nao e permitida no estagio atual ou repete evidencia/aceite de uso unico."
      },
      "uiRecovery": {
        "en": "Reload current status and choose an available action; do not force a stage change.",
        "pt": "Recarregar o status e escolher acao disponivel; nao forcar mudanca de etapa."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:132",
        "domain/model.js:238",
        "server/kernel.cjs:87"
      ]
    },
    {
      "code": "consentRequired",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'consentRequired' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Consentimento para dados ficticios ou ciencia/confirmacao exigida pela acao nao e true."
      },
      "uiRecovery": {
        "en": "Review the simulation terms or current action and explicitly acknowledge before submission.",
        "pt": "Revisar os termos da simulacao ou a acao atual e confirmar explicitamente antes do envio."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "server/auth.cjs:56",
        "server/service.cjs:24",
        "domain/model.js:164",
        "server/sourcing.cjs:30"
      ]
    },
    {
      "code": "invalidNumber",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'invalidNumber' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Decimal/valor positivo em centavos seguros invalido, separadores/sinal/expoente/espacos invalidos, inteiro inseguro ou entrada numerica compartilhada que nao e string."
      },
      "uiRecovery": {
        "en": "Use plain decimal strings with explicit decimal meaning; USD only; blank sourcing ticket is unspecified, zero is not a positive ticket.",
        "pt": "Usar strings decimais simples com significado explicito; somente USD; ticket vazio de sourcing significa indefinido, zero nao e positivo."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:18",
        "domain/model.js:30",
        "server/service.cjs:82",
        "server/sourcing.cjs:19"
      ]
    },
    {
      "code": "precision",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'precision' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Decimal tem mais casas fracionarias que o permitido: unidades 6, dinheiro 2."
      },
      "uiRecovery": {
        "en": "Reduce precision explicitly; do not silently truncate entered financial values.",
        "pt": "Reduzir a precisao explicitamente; nao truncar valores financeiros silenciosamente."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:23",
        "server/kernel.cjs:88"
      ]
    },
    {
      "code": "quantityError",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'quantityError' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Quantidade/preco nao positivos, quantidade excede saldo disponivel/reservavel ou conciliacao excede saldo."
      },
      "uiRecovery": {
        "en": "Review displayed available synthetic units and enter a positive permitted amount.",
        "pt": "Revisar unidades sinteticas disponiveis e informar quantidade positiva permitida."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:163",
        "domain/model.js:177",
        "domain/model.js:254"
      ]
    },
    {
      "code": "ticketRange",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'ticketRange' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Min/max do mandato invalido ou principal fora dos limites do mandato/catalogo; minimo do sourcing excede maximo."
      },
      "uiRecovery": {
        "en": "Review the offer's server-owned limits and min/max; correct quantity/price or brief ticket values.",
        "pt": "Revisar limites da oferta definidos no servidor e min/max; corrigir quantidade/preco ou tickets do pedido."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "server/kernel.cjs:95",
        "server/kernel.cjs:110",
        "server/service.cjs:98",
        "server/sourcing.cjs:34"
      ]
    },
    {
      "code": "checklistRequired",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'checklistRequired' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Nem todas as verificacoes simuladas exigidas sao true; bloqueio documental programado no ensaio pode gerar o mesmo codigo."
      },
      "uiRecovery": {
        "en": "Compliance reviews every required fictional check; individual owner uses restore_documents when offered.",
        "pt": "Compliance revisa cada verificacao ficticia; titular individual usa restore_documents quando disponivel."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:183",
        "server/rehearsal.cjs:80"
      ]
    },
    {
      "code": "buyerIneligible",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'buyerIneligible' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Revisao ausente/desatualizada, mandato nao qualificado/pais inelegivel, comprador vinculado incorreto ou falha em regra sintetica."
      },
      "uiRecovery": {
        "en": "Review mandate and permitted countries, obtain simulated compliance review; in individual mode use the provided correction step.",
        "pt": "Revisar mandato e paises permitidos e obter revisao simulada; no modo individual usar a etapa de correcao."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "server/kernel.cjs:101",
        "domain/model.js:111",
        "domain/model.js:142"
      ]
    },
    {
      "code": "quoteExpired",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'quoteExpired' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Aceite compartilhado tem proposta expirada/versao divergente; servico converte o erro para 409. Bloqueios esperados de cotacao no ensaio usam HTTP 200 commandError."
      },
      "uiRecovery": {
        "en": "Reload the current proposal and obtain a new quote/review/consent; individual mode can offer renew_quote.",
        "pt": "Recarregar proposta atual e obter nova cotacao/revisao/ciencia; modo individual pode oferecer renew_quote."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:207",
        "server/service.cjs:108",
        "server/rehearsal.cjs:82"
      ]
    },
    {
      "code": "staleProof",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'staleProof' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Revisao expirou em 24 h, revisao da origem mudou, politica bloqueou posicao ou quantidade reservada invalidou a revisao."
      },
      "uiRecovery": {
        "en": "Reload and request a fresh simulated compliance review against current source data.",
        "pt": "Recarregar e solicitar nova revisao simulada de compliance sobre os dados atuais."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:107",
        "domain/model.js:134",
        "domain/model.js:184"
      ]
    },
    {
      "code": "expiredError",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'expiredError' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. expiresAt da solicitacao de revenda atingido em acao que chama live(); vencimento nao grava status expired automaticamente."
      },
      "uiRecovery": {
        "en": "Inspect supported expiry/closure actions; after the request lifetime start a fresh fictional rehearsal rather than editing expiry.",
        "pt": "Revisar acoes permitidas de expiracao/encerramento; apos a validade iniciar novo ensaio ficticio em vez de alterar prazo."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:133",
        "domain/model.js:270",
        "docs/KNOWN_LIMITS.md:8"
      ]
    },
    {
      "code": "issueOpen",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'issueOpen' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Ocorrencia bloqueante impede a acao de negociacao/liquidacao/conciliacao/encerramento."
      },
      "uiRecovery": {
        "en": "Independent compliance/auditor reviews and resolves the issue; resolving does not itself settle.",
        "pt": "Compliance/auditor independente revisa e resolve a ocorrencia; resolver nao liquida automaticamente."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "domain/model.js:133",
        "domain/model.js:237",
        "domain/model.js:287"
      ]
    },
    {
      "code": "offerWindowClosed",
      "http": 200,
      "condition": {
        "en": "Individual 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.",
        "pt": "Somente comandos de ensaio individual: bloqueio esperado retorna commandError:'offerWindowClosed' em envelope HTTP de sucesso. Tentativa/revisao/historico idempotente podem persistir; estado financeiro e revertido. Prazo comercial absoluto encerrado/invalido: novo caso/ensaio e novas acoes offer/publish/propose/accept bloqueadas. Acordos anteriores preservam os termos."
      },
      "uiRecovery": {
        "en": "Choose another valid fictional offer; do not reset the countdown. Review supported continuation/closure for prior agreements.",
        "pt": "Escolher outra oferta ficticia valida; nao reiniciar contagem. Revisar continuacao/encerramento permitido de acordos anteriores."
      },
      "source": [
        "server/rehearsal.cjs:125",
        "server/rehearsal.cjs:201",
        "server/catalog.cjs:34",
        "server/kernel.cjs:72",
        "server/service.cjs:108",
        "server/rehearsal.cjs:67"
      ]
    }
  ],
  "integrations": [
    {
      "name": "SQLite / Node runtime",
      "current": {
        "en": "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.",
        "pt": "Fonte implementada: node:sqlite DatabaseSync e backup; esquema 1 STRICT, chaves estrangeiras, WAL, synchronous FULL, busy_timeout 5000 ms; diretorio local persistente. Sem dependencias npm no servidor."
      },
      "productionNeed": {
        "en": "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.",
        "pt": "Fornecer e validar Node 24.19.0+ na major 24 e disco privado persistente gravavel; definir capacidade e estrategia de migracao/atualizacao. Nao ha integracao de banco multinodo."
      },
      "source": [
        "server/store.cjs:4",
        "server/store.cjs:24",
        "docs/RUNBOOK.md:7"
      ]
    },
    {
      "name": "HTTPS reverse proxy and hosting",
      "current": {
        "en": "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.",
        "pt": "Aplicacao serve HTTP e valida Host/Origin/cabecalhos do proxy. Origem HTTPS adiciona cookie Secure/HSTS, sem terminar TLS. Pacote declara NOT PUBLISHED, sem provedor/dominio escolhido."
      },
      "productionNeed": {
        "en": "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.",
        "pt": "Selecionar e verificar hospedagem Node persistente, origem HTTPS dedicada, renovacao TLS, proxies exatos, rede privada, supervisao/firewall/monitoramento de disco. Receitas de hospedagem/Docker nao verificadas; nenhum deploy ativo e afirmado."
      },
      "source": [
        "server/app.cjs:23",
        "server/app.cjs:156",
        "docs/RUNBOOK.md:65",
        "docs/KNOWN_LIMITS.md:60"
      ]
    },
    {
      "name": "Local account authentication",
      "current": {
        "en": "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.",
        "pt": "Existem sessoes por cookie, scrypt com salt, convites/redefinicao e CLI privilegiada bootstrap/recover-admin. Sem OAuth/OIDC, SSO, MFA/passkeys, consulta de vazamentos ou provedor KYC real."
      },
      "productionNeed": {
        "en": "TBD authentication assurance and identity-provider requirements before production; evaluate additional factors and operator access controls without claiming implementation.",
        "pt": "TBD requisitos de garantia de autenticacao e provedor de identidade antes da producao; avaliar fatores adicionais e controles de operador sem afirmar implementacao."
      },
      "source": [
        "server/auth.cjs:4",
        "server/util.cjs:14",
        "scripts/manage.cjs:66",
        "docs/KNOWN_LIMITS.md:41"
      ]
    },
    {
      "name": "Fictional catalog and deterministic search",
      "current": {
        "en": "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.",
        "pt": "Catalogo tem 24 ofertas/40 empresas ficticias internamente; catalogo de participante retorna somente ofertas. Busca/sugestoes usam logica local deterministica, sem LLM ou dados de mercado ao vivo."
      },
      "productionNeed": {
        "en": "TBD provenance, licensed asset/market data, freshness and provider failure behavior if real catalog integration is ever approved; preserve contextual privacy.",
        "pt": "TBD procedencia, licenciamento de dados de ativos/mercado, atualidade e falhas de provedor se integracao real for aprovada; preservar privacidade contextual."
      },
      "source": [
        "server/catalog.cjs:1",
        "server/privacy.cjs:48",
        "public/search.js",
        "docs/KNOWN_LIMITS.md:52"
      ]
    },
    {
      "name": "Simulated asset sourcing intake",
      "current": {
        "en": "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.",
        "pt": "Pedidos privados do titular/admin e retiradas persistem localmente; sugestoes sao alternativas ficticias. Sem agente de sourcing, LLM ao vivo, contato com vendedor, outreach, ordem financeira ou compromisso de fundos."
      },
      "productionNeed": {
        "en": "TBD approved sourcing-provider, human triage, consent, response/status, audit and service expectations; do not treat saved briefs as market demand.",
        "pt": "TBD provedor aprovado, triagem humana, consentimento, resposta/status, auditoria e expectativas de servico; nao tratar pedido salvo como demanda comprovada."
      },
      "source": [
        "server/sourcing.cjs:64",
        "docs/ASSET_SOURCING.md",
        "docs/KNOWN_LIMITS.md:67"
      ]
    },
    {
      "name": "Optional browser Web Speech",
      "current": {
        "en": "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.",
        "pt": "Opt-in explicito de microfone usa SpeechRecognition/webkitSpeechRecognition do navegador com alternativa textual. Sem rota de envio de audio ou armazenamento pela aplicacao; provedor do navegador pode processar remotamente. Cobertura fisica/provedor nao verificada."
      },
      "productionNeed": {
        "en": "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.",
        "pt": "Validar navegadores/dispositivos reais, aviso/permissao/parada/erros e privacidade/retencao do provedor; manter entrada textual. Retencao do provedor remoto esta fora do controle da aplicacao."
      },
      "source": [
        "public/search.js",
        "server/app.cjs:31",
        "docs/KNOWN_LIMITS.md:54",
        "tests/search.test.cjs:31"
      ]
    },
    {
      "name": "In-app notifications / email / push",
      "current": {
        "en": "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.",
        "pt": "Linhas SQLite de notificacoes internas, ultimas 100 e marcacao de leitura estao implementadas; email/push sao apenas preferencias booleanas. Sem email, assinatura push, SMS ou fila de entrega."
      },
      "productionNeed": {
        "en": "TBD approved channel providers, verification, opt-in/unsubscribe, retries, delivery tracking and retention if out-of-app communication is required.",
        "pt": "TBD provedores aprovados, verificacao, opt-in/cancelamento, repeticoes, rastreio e retencao se comunicacao externa for necessaria."
      },
      "source": [
        "server/service.cjs:58",
        "server/service.cjs:140",
        "server/service.cjs:31",
        "docs/KNOWN_LIMITS.md:32"
      ]
    },
    {
      "name": "Cash / banking / payment rails",
      "current": {
        "en": "Rails member manually records DEMO cash evidence matching frozen USD principal and beneficiary. No bank transaction, payment initiation, custody or independent statement validation occurs.",
        "pt": "Membro rails registra manualmente evidencia DEMO de caixa correspondente ao principal USD e beneficiario congelados. Sem transacao bancaria, iniciacao de pagamento, custodia ou validacao independente de extrato."
      },
      "productionNeed": {
        "en": "TBD licensed/approved execution provider, authentication, callbacks, reconciliation, failure/dispute controls and legal responsibilities; no live financial integration is implemented.",
        "pt": "TBD provedor de execucao licenciado/aprovado, autenticacao, callbacks, conciliacao, falhas/disputas e responsabilidades; nenhuma integracao financeira real implementada."
      },
      "source": [
        "domain/model.js:236",
        "server/service.cjs:102",
        "docs/KNOWN_LIMITS.md:20"
      ]
    },
    {
      "name": "Asset delivery / blockchain / custody",
      "current": {
        "en": "Rails manually records DEMO delivery matching quantity,network,token,destination,sourceAccount. No blockchain RPC, wallet, private key, minting, issuance, redemption or real transfer endpoint.",
        "pt": "Rails registra entrega DEMO correspondente a quantidade,rede,token,destino,conta de origem. Sem RPC blockchain, carteira, chave privada, emissao, resgate ou transferencia real."
      },
      "productionNeed": {
        "en": "TBD approved transfer/custody provider and finality, authorization, evidence and exception model before any real delivery; keep secrets outside source and participant projections.",
        "pt": "TBD provedor aprovado de transferencia/custodia e modelo de finalidade, autorizacao, evidencia e excecoes antes de entrega real; segredos fora da fonte e projecoes."
      },
      "source": [
        "domain/model.js:242",
        "docs/KNOWN_LIMITS.md:15",
        "docs/KNOWN_LIMITS.md:20"
      ]
    },
    {
      "name": "Eligibility / KYC / legal and ownership checks",
      "current": {
        "en": "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.",
        "pt": "Qualificacao/referencias sao autodeclaradas; compliance usa booleanos ficticios e revisoes de 24 h. Sem provedor real KYC/KYB/AML, sancoes, qualificacao, titularidade ou verificacao juridica."
      },
      "productionNeed": {
        "en": "TBD qualified legal/compliance requirements, consent and approved verification providers before real onboarding/assets. Pilot must not collect real identity documents.",
        "pt": "TBD requisitos juridicos/compliance qualificados, consentimento e provedores aprovados antes de cadastros/ativos reais. Piloto nao deve coletar documentos de identidade reais."
      },
      "source": [
        "server/service.cjs:21",
        "server/kernel.cjs:99",
        "docs/KNOWN_LIMITS.md:19",
        "docs/ACCESS_POLICY.md"
      ]
    },
    {
      "name": "Agreement acknowledgement / e-signature",
      "current": {
        "en": "sign records simulated consent to a proposal and exact instruction version; no identity-backed legal electronic-signature integration.",
        "pt": "sign registra ciencia simulada da proposta e versao exata de instrucoes; sem integracao de assinatura eletronica juridica ligada a identidade."
      },
      "productionNeed": {
        "en": "TBD enforceable document, signer identity, consent, timestamp and signature/evidence provider requirements; do not represent pilot acknowledgements as legal execution.",
        "pt": "TBD documento exigivel, identidade do signatario, consentimento, carimbo temporal e provedor de assinatura/evidencia; nao apresentar ciencias do piloto como execucao juridica."
      },
      "source": [
        "domain/model.js:213",
        "docs/KNOWN_LIMITS.md:20"
      ]
    },
    {
      "name": "Fees / invoicing / accounting",
      "current": {
        "en": "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.",
        "pt": "Ilustracoes USD em centavos inteiros aplicam 1.2% GlemO pago pelo vendedor e 1% opcional de agente, com impostos/custos possivelmente desconhecidos. Sem fatura ou cobranca; realRevenueCents permanece 0."
      },
      "productionNeed": {
        "en": "TBD billing/tax/accounting integration and reconciliation rules; separate simulated illustrative economics from actual invoiced/collected revenue.",
        "pt": "TBD integracao de faturamento/impostos/contabilidade e conciliacao; separar ilustracao simulada de receita faturada/recebida."
      },
      "source": [
        "domain/model.js:40",
        "server/service.cjs:139",
        "server/service.cjs:142"
      ]
    },
    {
      "name": "Backup / offline recovery",
      "current": {
        "en": "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.",
        "pt": "API SQLite gera snapshot local privado com integrity_check/tamanho/SHA-256; CLI privilegiada valida e prepara restauracao, revogando sessoes/convites nao usados. Sem servico agendado/externo/criptografado/rotacionado."
      },
      "productionNeed": {
        "en": "TBD backup cadence, retention, protected offsite storage, encryption/key management, RPO/RTO and restore drills under an assigned operator.",
        "pt": "TBD frequencia, retencao, copia externa protegida, criptografia/gestao de chaves, RPO/RTO e exercicios com operador responsavel."
      },
      "source": [
        "server/store.cjs:65",
        "scripts/manage.cjs:16",
        "docs/RUNBOOK.md:108",
        "docs/KNOWN_LIMITS.md:48"
      ]
    },
    {
      "name": "Observability / process supervision / updates",
      "current": {
        "en": "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.",
        "pt": "Health indica processo ativo com instanceId; existem requestId/codigos e auditoria SQLite. Interface consulta a cada 7 s e avisa novas revisoes. Sem SSE, WebSocket, alertas, rastreamento distribuido ou servico HA na aplicacao inspecionada."
      },
      "productionNeed": {
        "en": "TBD external supervision, readiness/disk/backup metrics, private log handling, alerts and response ownership; define update freshness and availability targets before production.",
        "pt": "TBD supervisao externa, prontidao/disco/backups, logs privados, alertas e responsavel; definir metas de atualizacao e disponibilidade antes da producao."
      },
      "source": [
        "server/app.cjs:46",
        "server/app.cjs:56",
        "server/app.cjs:149",
        "public/app.js:527",
        "docs/KNOWN_LIMITS.md:45"
      ]
    }
  ],
  "phases": [
    {
      "id": "block1",
      "title": {
        "en": "Essential MVP: M1-M3 internal alpha",
        "pt": "MVP essencial: alpha interno M1-M3"
      },
      "scope": {
        "en": [
          "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."
        ],
        "pt": [
          "Somente escopo planejado de produto, separado do piloto compartilhado executavel atual. specified-not-implemented descreve obrigacoes ampliadas de producao aceita; prototipos/modelos locais podem demonstrar partes sem satisfaze-las.",
          "Identidades comprador/vendedor/admin, politica que nega por padrao, espelhos externos, admissao independente, descoberta/demanda privada, negociacao versionada e auditoria operacional com responsaveis.",
          "Web responsiva acessivel e negocio sintetico completo; cinco capacidades de rascunho por IA sao diretriz de produto do fundador para M3, pendente de aceite tecnico/capacidade/custo pelo CTO, sem agentes canonicos atualmente em execucao.",
          "SQL, OpenAPI e diagramas candidatos permanecem arquitetura proposta; sua existencia nao comprova banco fisico implantado nem imposicao de regras no servidor."
        ]
      },
      "gates": {
        "en": [
          "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."
        ],
        "pt": [
          "M1 comeca somente apos recebimento real do gate de contratacao de US$1 milhao; nao se afirma data de recebimento nem financiamento concluido.",
          "CTO aceita arquitetura, capacidade, controles e custos considerando dependencias; autorizacao, proveniencia, valores exatos e revisao humana obrigatorios nao podem ser adiados.",
          "E2E sintetico roteirizado, negacoes por ambiente/pais, termos versionados, responsaveis e revisao responsiva/acessivel estabelecem a saida do alpha.",
          "Alpha nao permite execucao real. Aprovacoes de referencia/modelo/navegador nao encerram aceite de servidor, banco fisico, seguranca, prestador ou juridico."
        ]
      }
    },
    {
      "id": "block2",
      "title": {
        "en": "M4-M9 pilot and limited launch; paid activation target M10",
        "pt": "Piloto e lancamento limitado M4-M9; alvo de ativacao paga M10"
      },
      "scope": {
        "en": [
          "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."
        ],
        "pt": [
          "Uma rota externa aprovada; alvo de piloto real controlado M5 e alvo de lancamento limitado M9 sao marcos condicionais, nunca permissao de operar.",
          "Evidencias atualizadas de parte/oferta, termos bilaterais, evidencias externas independentes de dinheiro/ativo, conciliacao, excecoes, onboarding repetivel, SaaS opcional e prontidao de cobranca.",
          "BI operacional do proprio rail, Launch/primeira janela limitados e apenas alterações necessárias e versionadas da oferta, atribuicao de conversao, registro aprovado de atividades/pontos, suporte e web responsiva; oito agentes centrais no piloto e dez acumulados ate M9 continuam diretrizes sujeitas ao aceite do CTO.",
          "O piloto simulado existente inclui apenas uma solicitação leve e não vinculante de revenda do titular, sem casamento de ordens, execução ou custódia e sem promessa de recurso de MVP financiado. A revenda secundária plenamente coordenada pertence ao bloco 3 após o lançamento, não aos blocos 1 ou 2.",
          "Ativacao paga do software mira M10 apenas com contrato aceito e servico pronto; registro de pontos nao ativa conversao GO, resgates nem airdrop garantido."
        ]
      },
      "gates": {
        "en": [
          "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."
        ],
        "pt": [
          "Juridico/prestador aceitam instrumento, partes, jurisdicoes, promocao e escopo operacional reais com contratos assinados, identidade e autoridade vigentes.",
          "Provas independentes de dinheiro e ativo, conciliacao revisada e tratamento de excecao/reversao sao obrigatorios; piloto bloqueado e documentado, sem ser chamado de sucesso.",
          "Seguranca de producao, evidencias privadas, restauracao, incidentes/suporte e aceites separados CTO/produto/operacoes/juridico-prestador precedem liberacao real.",
          "Escopo M9 e contratos comerciais/prontidao de cobranca M10 exigem aceite explicito; paises nao aprovados, varejo irrestrito, decisoes financeiras autonomas e GO ficam desativados."
        ]
      }
    },
    {
      "id": "block3",
      "title": {
        "en": "Post-launch expansion: after M9, gated with no fixed start",
        "pt": "Expansao apos lancamento: depois de M9, condicionada e sem inicio fixo"
      },
      "scope": {
        "en": [
          "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."
        ],
        "pt": [
          "Monitor Data Center e suas oito funcoes distintas, ingestao licenciada, BI avancado de mercado e capacidades opcionais AI-11/12/13; Monitor nao e dependencia M3/M5/M9.",
          "iOS/Android nativos aprovados separadamente, interfaces restritas para desenvolvedores/dApps, ferramentas ampliadas de distribuicao/liquidez e novas rotas de mercados/ativos ou varejo geral.",
          "Liberacao GO, alocacao/vesting/resgates auditados de pontos e utilidade aprovada de pagamento de software/creditos seguem gates independentes do token, fora do lancamento pre-seed.",
          "Capacidade tecnologica existente corresponde a trabalho continuo planejado, nao verba livre para todos os modulos futuros; nao se afirma inicio fixo do Bloco 3, orcamento incremental nem prontidao de producao.",
          "A revenda secundária plenamente coordenada pertence ao bloco 3, após o lançamento, sem data fixa de início, sujeita a aceite técnico/de capacidade, aprovação dos custos de construção e recorrentes e aprovação jurídica/dos provedores específicos. O piloto simulado existente inclui apenas uma solicitação leve e não vinculante do titular, sem casamento de ordens, execução ou custódia; sua presença não promete um recurso de MVP financiado. Solicitações totais ou parciais não autorizam mercado secundário nem prometem liquidez.",
          "A capacidade completa de relançamento promocional e recorrente, incluindo qualquer cota trimestral do SaaS para vendedores, exige escopo e aceite técnico/de capacidade, dos custos de construção e recorrentes e jurídico/dos provedores específicos do bloco 3."
        ]
      },
      "gates": {
        "en": [
          "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."
        ],
        "pt": [
          "Demonstrar estabilidade operacional e uso recorrente do nucleo, depois obter aceite CTO de dependencias/capacidade e aprovacao CFO de implementacao incremental e recorrencia por modulo.",
          "Aprovar direitos de fontes/prestadores, seguranca e limites juridicos de cada expansao; lojas nativas, aparelhos fisicos e mercados adicionais exigem aceites separados.",
          "GO exige fechamento Seed mais alvo de tres meses E US$10 milhoes de volume mensal elegivel do rail E prontidao juridica, de seguranca e governanca; metodologia do volume e termos definitivos seguem abertos, e o rail continua utilizavel sem GO.",
          "Seed e obrigatorio para lancar GO, nao automaticamente para cada pequena melhoria posterior; recebimentos de token, observacoes de mercado ou simulacoes nao sao tratados como caixa real, volume liquidado do rail ou permissao operacional.",
          "Revenda assistida exige aceite separado de direitos de transferencia, prestador/juridico, capacidade, reservas/concorrencia, titularidade e recuperacao; demonstracao local aprovada nao a inclui na liberacao."
        ]
      }
    }
  ],
  "decisions": [
    {
      "id": "RD-01",
      "topic": {
        "en": "CTO architecture, staged capacity and incremental scope",
        "pt": "Arquitetura CTO, capacidade por etapa e escopo incremental"
      },
      "question": {
        "en": "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?",
        "pt": "Quais limites de servicos, modelo de isolamento/esquema/eventos e versoes de API o CTO aceitara, e qual plano de capacidade/custo com dependencias entrega M3/M5/M9 e a diretriz confirmada 5/8/10 agentes? Quais modulos do Bloco 3 podem depois receber aprovacao separada de implementacao/recorrencia sem tratar SQL/diagramas candidatos como banco implantado?"
      },
      "owner": "CTO + product owner + CFO + founder",
      "blockingGate": "M3 technical acceptance; later module-specific capacity and budget acceptance",
      "source": [
        "dev_toolkit/07_OPEN_DECISIONS.md:17",
        "dev_toolkit/07_OPEN_DECISIONS.md:19",
        "dev_toolkit/07_OPEN_DECISIONS.md:27",
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:69",
        "dev_toolkit/19_THREE_BLOCK_DELIVERY.md:129",
        "delivery_blocks/source.json:441"
      ]
    },
    {
      "id": "RD-02",
      "topic": {
        "en": "First instrument and qualified-individual participation route",
        "pt": "Primeiro instrumento e rota de participacao de pessoas qualificadas"
      },
      "question": {
        "en": "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?",
        "pt": "Qual instrumento externo inicial, direitos, emissor/pais e identificador serao usados, e pessoas qualificadas participarao diretamente ou por veiculo juridico? Quais classes de comprador, promocao e politicas aprovadas se aplicam a rota real Dubai/EAU?"
      },
      "owner": "Founder + product owner + counsel + seller + provider",
      "blockingGate": "First live-route approval before the M5 controlled-pilot target",
      "source": [
        "dev_toolkit/07_OPEN_DECISIONS.md:7",
        "dev_toolkit/07_OPEN_DECISIONS.md:8",
        "dev_toolkit/07_OPEN_DECISIONS.md:20",
        "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md:54"
      ]
    },
    {
      "id": "RD-03",
      "topic": {
        "en": "Provider contracts, evidence semantics and production safeguards",
        "pt": "Contratos de prestadores, semantica de evidencias e controles de producao"
      },
      "question": {
        "en": "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?",
        "pt": "Quais prestadores de gateway, identidade/evidencia e assinatura serao contratados, quem guardara o acordo juridico e quais semanticas de disponibilidade/finalidade/reversao e SLAs de atualizacao atestarao? Quais regiao de hospedagem, retencao, objetivos de restauracao, escopo independente de seguranca e responsavel por incidentes serao aceitos?"
      },
      "owner": "CTO + counsel + compliance + operations + provider",
      "blockingGate": "Live-pilot identity, agreement, settlement and security acceptance",
      "source": [
        "dev_toolkit/07_OPEN_DECISIONS.md:9",
        "dev_toolkit/07_OPEN_DECISIONS.md:10",
        "dev_toolkit/07_OPEN_DECISIONS.md:11",
        "dev_toolkit/07_OPEN_DECISIONS.md:12",
        "dev_toolkit/07_OPEN_DECISIONS.md:13",
        "dev_toolkit/07_OPEN_DECISIONS.md:14",
        "dev_toolkit/07_OPEN_DECISIONS.md:15"
      ]
    },
    {
      "id": "RD-04",
      "topic": {
        "en": "Operational SLAs and actual limited-launch commercial scope",
        "pt": "SLAs operacionais e escopo comercial real do lancamento limitado"
      },
      "question": {
        "en": "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.",
        "pt": "Quais prazos de casos, escalonamento/reatribuicao e cobertura de suporte serao adotados para M9, e quais contratos de clientes, direitos opcionais SaaS, pagador/gatilho de taxa e evidencias de recebimento habilitam ativacao paga M10? Confirmar execucao contratual sem reabrir a opcionalidade ja confirmada do SaaS do comprador."
      },
      "owner": "Founder + product owner + operations + finance + counsel + CTO",
      "blockingGate": "Alpha/pilot ownership acceptance; M9 release and M10 paid activation",
      "source": [
        "dev_toolkit/07_OPEN_DECISIONS.md:16",
        "dev_toolkit/07_OPEN_DECISIONS.md:18",
        "dev_toolkit/07_OPEN_DECISIONS.md:21",
        "CURRENT_VERSION_READ_FIRST.txt:39",
        "CURRENT_VERSION_READ_FIRST.txt:42"
      ]
    },
    {
      "id": "RD-05",
      "topic": {
        "en": "AI provider, data terms, measured quality and spending authority",
        "pt": "Prestador IA, termos de dados, qualidade medida e autoridade de gastos"
      },
      "question": {
        "en": "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?",
        "pt": "Quais modelo/prestador e servicos de busca/OCR/ferramentas, regiao e termos de retencao/treinamento serao aprovados? Quais distribuicoes medidas de tokens, tarifas comprovadas por fatura, limites mensais/por tarefa, revisores e criterios de avaliacao devem passar antes da ativacao de cada etapa de agentes centrais?"
      },
      "owner": "CTO + CFO + counsel/compliance + operational reviewers",
      "blockingGate": "Activation of any core agent, starting with the M3 product-directive cohort",
      "source": [
        "ai_native/architecture-contract.json:9",
        "ai_native/architecture-contract.json:25",
        "ai_native/index_en.txt:322",
        "ai_native/index_en.txt:325"
      ]
    },
    {
      "id": "RD-06",
      "topic": {
        "en": "First-look, relaunch and outreach operating policy",
        "pt": "Politica operacional de primeira janela, relancamento e contatos"
      },
      "question": {
        "en": "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.",
        "pt": "Quais duracao da primeira janela, intervalo, processo de excecao e franquia de relancamento serao adotados, e quais canais consentidos e regras de retencao podem comunicar participantes anteriores? Prioridade por recompra fica desativada sem validacao separada; 48-72 horas, 30-60 dias e os 30 dias da demo nao sao padroes aprovados."
      },
      "owner": "Product owner + seller + operations + counsel + provider + CTO",
      "blockingGate": "Live first-look/relaunch programme approval within limited-launch scope",
      "source": [
        "launch/decision-register.json:12",
        "launch/programme_en.txt:36",
        "launch/programme_en.txt:48",
        "launch/programme_en.txt:51",
        "launch/programme_en.txt:57"
      ]
    },
    {
      "id": "RD-07",
      "topic": {
        "en": "Monitor watchlist, compatible chains and source rights",
        "pt": "Lista monitorada, redes compativeis e direitos das fontes do Monitor"
      },
      "question": {
        "en": "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?",
        "pt": "Quais emissores/ativos, contratos, padroes de rede e fontes licenciadas entram na lista inicial apos lancamento, e quais contratos permitem LLM, retencao, redistribuicao e analises derivadas? Quais limites de cada fonte restringem a cadencia proposta?"
      },
      "owner": "CTO + data owner + counsel + market operations",
      "blockingGate": "Block 3 Monitor source admission and connector activation",
      "source": [
        "monitor_data_center/implementation-contract.json:237",
        "monitor_data_center/implementation-plan.json:14",
        "monitor_data_center/implementation-plan.json:19"
      ]
    },
    {
      "id": "RD-08",
      "topic": {
        "en": "Monitor acceptance thresholds, reviewer capacity and incremental budget",
        "pt": "Criterios de aceite, capacidade de revisores e orcamento incremental do Monitor"
      },
      "question": {
        "en": "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?",
        "pt": "Quais politica de finalidade de rede e independencia de fontes, precisao/recall de extracao e limites de atualizacao serao aceitos? Quem responde por entrega/revisao e quais limites por conector/mes e alocacao incremental de recorrencia/implementacao sao aprovados apos revisar sobreposicao com compromissos tecnologicos existentes?"
      },
      "owner": "CTO + CFO + market audit + operations",
      "blockingGate": "Block 3 Monitor production acceptance; no core-launch dependency",
      "source": [
        "monitor_data_center/implementation-contract.json:242",
        "monitor_data_center/implementation-plan.json:212",
        "monitor_data_center/implementation-plan.json:236",
        "monitor_data_center/implementation-plan.json:247"
      ]
    },
    {
      "id": "RD-09",
      "topic": {
        "en": "Assisted resale route and position accounting conventions",
        "pt": "Rota de revenda assistida e convencoes de contabilizacao de posicoes"
      },
      "question": {
        "en": "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.",
        "pt": "Para a revenda secundária coordenada do bloco 3 pós-lançamento, o aceite técnico/de capacidade, dos custos de construção e recorrentes e jurídico/dos provedores específicos admitirá algum teste restrito, para quais instrumentos, permissões de transferência/emissor, janelas de validade e evidências de cancelamento seguro? Quais políticas aprovadas de lotes/custo, câmbio/arredondamento, eventos de carteira e avaliação/benchmark regerão venda parcial e desempenho? A solicitação leve, não vinculante e simulada não é compromisso de recurso de MVP financiado."
      },
      "owner": "Product owner + counsel + provider + issuer + operations + finance + CTO",
      "blockingGate": "Block 3 post-launch coordinated-secondary-resale technical/cost/legal-provider admission and production position/P&L acceptance",
      "source": [
        "resale/RELEASE.json:25",
        "resale/spec_en.txt:22",
        "resale/spec_en.txt:29",
        "resale/spec_en.txt:38",
        "resale/spec_en.txt:46",
        "mobile_app/OPEN_DECISIONS.json:96",
        "mobile_app/OPEN_DECISIONS.json:105",
        "mobile_app/OPEN_DECISIONS.json:114"
      ]
    },
    {
      "id": "RD-10",
      "topic": {
        "en": "Native stack, release route and real-device acceptance",
        "pt": "Stack nativa, rota de liberacao e aceite em aparelhos reais"
      },
      "question": {
        "en": "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?",
        "pt": "O CTO selecionara React Native/Expo ou alternativa revisada, com quais sistemas/aparelhos minimos, modulos seguros e estrategia de builds/atualizacoes assinados? Quais entidade responsavel, classificacao financeira nas lojas, regras de pais/cobranca/privacidade e evidencias em aparelhos reais devem passar para o escopo nativo financiado separadamente?"
      },
      "owner": "CTO + security + product owner + counsel + release owner + QA",
      "blockingGate": "Block 3 native ADR acceptance and store/physical-device release",
      "source": [
        "mobile_app/Mobile_Spec_en.txt:11",
        "mobile_app/Mobile_Spec_en.txt:79",
        "mobile_app/Mobile_Spec_en.txt:88",
        "mobile_app/OPEN_DECISIONS.json:6",
        "mobile_app/OPEN_DECISIONS.json:15",
        "mobile_app/OPEN_DECISIONS.json:33",
        "mobile_app/OPEN_DECISIONS.json:87"
      ]
    },
    {
      "id": "RD-11",
      "topic": {
        "en": "Definitive GO terms and evidence for independent launch gates",
        "pt": "Termos definitivos GO e evidencias para gates independentes de lancamento"
      },
      "question": {
        "en": "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.",
        "pt": "Quais termos definitivos de oferta/alocacao, orcamentos de temporadas, emissor/governanca, warrant/vesting e rede/resgate auditados serao adotados? Como serao medidos janela, persistencia, deduplicacao e reversoes do volume mensal elegivel de US$10 milhoes, e qual orcamento separado no Seed financia juridico/seguranca e contraparte de liquidez? Seed e gates de volume/prontidao ja sao obrigatorios; suas evidencias operacionais seguem abertas."
      },
      "owner": "Founder + issuer governance + counsel + CTO + security + operations + CFO",
      "blockingGate": "Block 3 GO go/no-go and claim activation after Seed and all independent gates",
      "source": [
        "tokenomics/decision-register.json:13",
        "tokenomics/decision-register.json:26",
        "tokenomics/decision-register.json:39",
        "tokenomics/decision-register.json:122",
        "tokenomics/decision-register.json:135",
        "tokenomics/decision-register.json:148",
        "tokenomics/decision-register.json:161",
        "tokenomics/index_en.txt:21",
        "tokenomics/integration-contract.json:10",
        "CURRENT_VERSION_READ_FIRST.txt:46"
      ]
    },
    {
      "id": "RD-12",
      "topic": {
        "en": "GO software settlement and service-credit operating terms",
        "pt": "Liquidacao GO de software e termos operacionais de creditos"
      },
      "question": {
        "en": "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.",
        "pt": "Qual rota permitida de pagamento/liquidacao em USD, politica contabil/de reembolso, taxa/validade de creditos, precos medidos e limites por fatura/exposicao/custo de resgate implementara o desconto SaaS de 10% no pagamento GO mais creditos BI/IA/API ja confirmados? Os propostos 5% e 90 dias continuam sem aprovacao e nao podem ativar o programa."
      },
      "owner": "Founder + CFO + CTO + counsel + auditors + payment provider",
      "blockingGate": "Block 3 software GO-payment and service-credit activation after token/operational gates",
      "source": [
        "tokenomics/decision-register.json:65",
        "tokenomics/decision-register.json:93",
        "tokenomics/decision-register.json:94",
        "tokenomics/index_en.txt:27",
        "tokenomics/index_en.txt:30"
      ]
    }
  ],
  "operations": [
    {
      "route": "/api/discovery-tools",
      "method": "GET",
      "operationId": "getOwnDiscoveryTools",
      "summary": "Own account favorites and saved searches only, without an administrator override",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-017",
        "FR-027",
        "FR-028",
        "FR-029",
        "FR-030",
        "FR-031",
        "FR-032",
        "FR-033"
      ]
    },
    {
      "route": "/api/discovery-tools",
      "method": "POST",
      "operationId": "saveOwnDiscoveryTools",
      "summary": "Strict version-checked own metadata update; stale version 409. Does not execute trades and remains available during financial pause.",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DiscoveryToolsInput"
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Full updated own record with incremented version",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiscoveryTools"
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-017",
        "FR-027",
        "FR-028",
        "FR-029",
        "FR-030",
        "FR-031",
        "FR-032",
        "FR-033"
      ]
    },
    {
      "route": "/api/asset-requests",
      "method": "GET",
      "operationId": "listOwnAssetRequests",
      "summary": "Own private simulated sourcing briefs only, never a participant directory",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-034",
        "FR-035",
        "FR-036",
        "FR-037",
        "NFR-008"
      ]
    },
    {
      "route": "/api/asset-requests",
      "method": "POST",
      "operationId": "createAssetRequest",
      "summary": "Buyer/holder/admin only; 50 records per owner including withdrawn; same-key retry replays, different payload returns 409; global pause blocks new requests",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/AssetRequestInput"
            }
          }
        }
      },
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-034",
        "FR-035",
        "FR-036",
        "FR-037",
        "NFR-008"
      ]
    },
    {
      "route": "/api/asset-requests/{requestId}",
      "method": "GET",
      "operationId": "getAssetRequest",
      "summary": "Owner or internal administrator; other accounts receive 404",
      "responses": {
        "200": {
          "description": "Private sourcing record",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssetRequest"
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-034",
        "FR-035",
        "FR-036",
        "FR-037",
        "NFR-008"
      ]
    },
    {
      "route": "/api/asset-requests/{requestId}/withdraw",
      "method": "POST",
      "operationId": "withdrawAssetRequest",
      "summary": "Owner/admin withdrawal; expectedVersion required, stale version 409; no deletion or deal mutation",
      "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
                }
              }
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Withdrawn record; current-version repeat is unchanged",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssetRequest"
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-034",
        "FR-035",
        "FR-036",
        "FR-037",
        "NFR-008"
      ]
    },
    {
      "route": "/api/admin/asset-requests",
      "method": "GET",
      "operationId": "listAdminAssetRequests",
      "summary": "Internal administrator only; queue with internal ownerId; no external outreach or commercial commitment",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-034",
        "FR-035",
        "FR-036",
        "FR-037",
        "NFR-008"
      ]
    },
    {
      "route": "/api/rehearsals",
      "method": "GET",
      "operationId": "listPersonalRehearsals",
      "summary": "List only the authenticated owner's isolated rehearsals; administrators have no override",
      "responses": {
        "200": {
          "description": "simulation:true, mode:individual-rehearsal, sessions[]"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-062",
        "FR-063",
        "FR-064",
        "FR-065",
        "FR-066"
      ]
    },
    {
      "route": "/api/rehearsals",
      "method": "POST",
      "operationId": "startPersonalRehearsal",
      "summary": "Create one fictional buyer/holder rehearsal without changing the account role or shared cases",
      "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"
                  ]
                }
              }
            }
          }
        }
      },
      "responses": {
        "201": {
          "description": "Private rehearsal projection; generated bot steps explicitly attributed"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-062",
        "FR-063",
        "FR-064",
        "FR-065",
        "FR-066"
      ]
    },
    {
      "route": "/api/rehearsals/{rehearsalId}",
      "method": "GET",
      "operationId": "getPersonalRehearsal",
      "summary": "Owner-only filtered view using the chosen synthetic role; no actual administrator disclosure override",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-062",
        "FR-063",
        "FR-064",
        "FR-065",
        "FR-066"
      ]
    },
    {
      "route": "/api/rehearsals/{rehearsalId}/commands",
      "method": "POST",
      "operationId": "commandPersonalRehearsal",
      "summary": "Idempotent, revision-checked fictional step; expected process blocks return 200 with commandError and an unchanged financial state",
      "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}$"
                }
              }
            }
          }
        }
      },
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-062",
        "FR-063",
        "FR-064",
        "FR-065",
        "FR-066"
      ]
    },
    {
      "route": "/api/rehearsals/{rehearsalId}/feedback",
      "method": "POST",
      "operationId": "savePersonalRehearsalFeedback",
      "summary": "Owner-only editable process feedback, never commercial demand evidence",
      "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
                }
              }
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Updated private rehearsal projection"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-062",
        "FR-063",
        "FR-064",
        "FR-065",
        "FR-066"
      ]
    },
    {
      "route": "/api/rehearsals/{rehearsalId}/export",
      "method": "GET",
      "operationId": "exportPersonalRehearsal",
      "summary": "Owner-only role-filtered JSON report; process counters, synthetic versus wall time and zero real revenue",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-062",
        "FR-063",
        "FR-064",
        "FR-065",
        "FR-066"
      ]
    },
    {
      "route": "/api/health",
      "method": "GET",
      "operationId": "health",
      "security": [],
      "summary": "Transport-checked liveness, not an integrity scan",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": []
    },
    {
      "route": "/api/auth/login",
      "method": "POST",
      "operationId": "login",
      "security": [],
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        }
      ],
      "requestBody": {
        "$ref": "#/components/requestBodies/Login"
      },
      "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"
        }
      },
      "summary": "login",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-001",
        "FR-003",
        "FR-004",
        "FR-005",
        "FR-022",
        "FR-057",
        "NFR-001",
        "NFR-002"
      ]
    },
    {
      "route": "/api/auth/invite",
      "method": "POST",
      "operationId": "inspectInvite",
      "security": [],
      "summary": "Inspect a private unexpired, unused, unrevoked join/reset token",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "token"
              ],
              "properties": {
                "token": {
                  "$ref": "#/components/schemas/Token"
                }
              }
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Invitation metadata; no raw token returned",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InviteInfo"
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-001",
        "FR-003",
        "FR-004",
        "FR-005",
        "FR-022",
        "FR-057",
        "NFR-001",
        "NFR-002"
      ]
    },
    {
      "route": "/api/auth/accept",
      "method": "POST",
      "operationId": "acceptInvite",
      "security": [],
      "summary": "Register or reset password using a single-use private invitation",
      "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
                }
              }
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Sets fresh cookie; accepted reset revokes old sessions",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginResult"
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-001",
        "FR-003",
        "FR-004",
        "FR-005",
        "FR-022",
        "FR-057",
        "NFR-001",
        "NFR-002"
      ]
    },
    {
      "route": "/api/auth/session",
      "method": "GET",
      "operationId": "session",
      "security": [],
      "summary": "Optional cookie; nullable session/profile when logged out",
      "parameters": [
        {
          "$ref": "#/components/parameters/Activity"
        }
      ],
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-001",
        "FR-003",
        "FR-004",
        "FR-005",
        "FR-022",
        "FR-057",
        "NFR-001",
        "NFR-002"
      ]
    },
    {
      "route": "/api/auth/logout",
      "method": "POST",
      "operationId": "logout",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "$ref": "#/components/requestBodies/Empty"
      },
      "responses": {
        "200": {
          "$ref": "#/components/responses/Ok"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "summary": "logout",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-001",
        "FR-003",
        "FR-004",
        "FR-005",
        "FR-022",
        "FR-057",
        "NFR-001",
        "NFR-002"
      ]
    },
    {
      "route": "/api/auth/password",
      "method": "POST",
      "operationId": "changePassword",
      "summary": "Revoke all own sessions and pending resets, then rotate current cookie",
      "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"
                }
              }
            }
          }
        }
      },
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-001",
        "FR-003",
        "FR-004",
        "FR-005",
        "FR-022",
        "FR-057",
        "NFR-001",
        "NFR-002"
      ]
    },
    {
      "route": "/api/profile",
      "method": "GET",
      "operationId": "ownProfile",
      "responses": {
        "200": {
          "description": "Own profile",
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/Profile"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "summary": "ownProfile",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-002",
        "FR-006",
        "FR-007",
        "FR-008"
      ]
    },
    {
      "route": "/api/profile",
      "method": "POST",
      "operationId": "saveProfile",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ProfileInput"
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Updated profile/version",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Profile"
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "summary": "saveProfile",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-002",
        "FR-006",
        "FR-007",
        "FR-008"
      ]
    },
    {
      "route": "/api/templates",
      "method": "GET",
      "operationId": "templates",
      "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"
        }
      },
      "summary": "templates",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": []
    },
    {
      "route": "/api/cases",
      "method": "GET",
      "operationId": "listCases",
      "summary": "Administrator: all cases; others: explicit memberships only",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-038",
        "FR-039",
        "FR-040",
        "FR-041",
        "FR-042",
        "FR-043",
        "FR-044",
        "FR-045",
        "FR-046",
        "FR-047",
        "FR-048",
        "FR-049",
        "FR-050",
        "FR-051",
        "FR-052",
        "FR-054",
        "FR-055",
        "FR-059",
        "NFR-012",
        "NFR-014",
        "NFR-017"
      ]
    },
    {
      "route": "/api/cases",
      "method": "POST",
      "operationId": "createCase",
      "x-roles": [
        "admin"
      ],
      "summary": "Assign one active distinct account of each of five fixed participant roles",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CaseInput"
            }
          }
        }
      },
      "responses": {
        "201": {
          "$ref": "#/components/responses/Projection"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/cases/{caseId}",
      "method": "GET",
      "operationId": "getCase",
      "summary": "Case member or administrator; absent/inaccessible returns 404",
      "responses": {
        "200": {
          "$ref": "#/components/responses/Projection"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-038",
        "FR-039",
        "FR-040",
        "FR-041",
        "FR-042",
        "FR-043",
        "FR-044",
        "FR-045",
        "FR-046",
        "FR-047",
        "FR-048",
        "FR-049",
        "FR-050",
        "FR-051",
        "FR-052",
        "FR-054",
        "FR-055",
        "FR-059",
        "NFR-012",
        "NFR-014",
        "NFR-017"
      ]
    },
    {
      "route": "/api/cases/{caseId}/commands",
      "method": "POST",
      "operationId": "command",
      "x-roles": [
        "holder",
        "buyer",
        "compliance",
        "rails",
        "auditor"
      ],
      "summary": "Fixed-role member command; administrator cannot execute",
      "description": "Completed profile required. All members active; writes blocked by global/case pause/archive except exact prior replay. Supply latest case revision and deal version (null before request exists). Retry identical body/key as same account for no reapplication; result is current projection plus replayed:true. Changed same-key payload/account conflicts. See action payload schemas and transition contract. Decimal money/quantity inputs are strings.",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Command"
            }
          }
        }
      },
      "responses": {
        "200": {
          "$ref": "#/components/responses/Projection"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-038",
        "FR-039",
        "FR-040",
        "FR-041",
        "FR-042",
        "FR-043",
        "FR-044",
        "FR-045",
        "FR-046",
        "FR-047",
        "FR-048",
        "FR-049",
        "FR-050",
        "FR-051",
        "FR-052",
        "FR-054",
        "FR-055",
        "FR-059",
        "NFR-012",
        "NFR-014",
        "NFR-017"
      ]
    },
    {
      "route": "/api/cases/{caseId}/control",
      "method": "POST",
      "operationId": "controlCase",
      "x-roles": [
        "admin"
      ],
      "summary": "Pause/archive flags; reversible, no deletion or workflow revision increment",
      "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"
                }
              }
            }
          }
        }
      },
      "responses": {
        "200": {
          "$ref": "#/components/responses/Projection"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/cases/{caseId}/audit",
      "method": "GET",
      "operationId": "caseAudit",
      "summary": "Assigned member/admin; filtered audit view, not independently certified or a verifiable full chain",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-038",
        "FR-039",
        "FR-040",
        "FR-041",
        "FR-042",
        "FR-043",
        "FR-044",
        "FR-045",
        "FR-046",
        "FR-047",
        "FR-048",
        "FR-049",
        "FR-050",
        "FR-051",
        "FR-052",
        "FR-054",
        "FR-055",
        "FR-059",
        "NFR-012",
        "NFR-014",
        "NFR-017"
      ]
    },
    {
      "route": "/api/cases/{caseId}/export",
      "method": "GET",
      "operationId": "exportCase",
      "summary": "Assigned member/admin filtered report; contextual counterpart/reference/feedback gates also apply to nested state and audit; records export event",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-038",
        "FR-039",
        "FR-040",
        "FR-041",
        "FR-042",
        "FR-043",
        "FR-044",
        "FR-045",
        "FR-046",
        "FR-047",
        "FR-048",
        "FR-049",
        "FR-050",
        "FR-051",
        "FR-052",
        "FR-054",
        "FR-055",
        "FR-059",
        "NFR-012",
        "NFR-014",
        "NFR-017"
      ]
    },
    {
      "route": "/api/notifications",
      "method": "GET",
      "operationId": "notifications",
      "summary": "Own newest 100 persistent in-app notifications; no email/push delivery",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-007",
        "FR-061"
      ]
    },
    {
      "route": "/api/notifications/{id}/read",
      "method": "POST",
      "operationId": "readNotification",
      "summary": "Own notification only; others return 404",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "$ref": "#/components/requestBodies/Empty"
      },
      "responses": {
        "200": {
          "$ref": "#/components/responses/Ok"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-007",
        "FR-061"
      ]
    },
    {
      "route": "/api/admin/users",
      "method": "GET",
      "operationId": "users",
      "x-roles": [
        "admin"
      ],
      "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"
        }
      },
      "summary": "users",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/users/{id}/control",
      "method": "POST",
      "operationId": "controlUser",
      "x-roles": [
        "admin"
      ],
      "summary": "Non-admin target; disable revokes sessions and pauses cases; enable does not resume cases",
      "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"
                }
              }
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Target user",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/User"
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/users/{id}/reset",
      "method": "POST",
      "operationId": "resetUser",
      "x-roles": [
        "admin"
      ],
      "summary": "Private reset link for active non-admin; sessions revoked on acceptance",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "$ref": "#/components/requestBodies/Empty"
      },
      "responses": {
        "201": {
          "$ref": "#/components/responses/PrivateInvite"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/invites",
      "method": "GET",
      "operationId": "invites",
      "x-roles": [
        "admin"
      ],
      "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"
        }
      },
      "summary": "invites",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/invites",
      "method": "POST",
      "operationId": "inviteUser",
      "x-roles": [
        "admin"
      ],
      "summary": "Invite fixed participant role; no additional administrator through HTTP",
      "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[ -]"
                }
              }
            }
          }
        }
      },
      "responses": {
        "201": {
          "$ref": "#/components/responses/PrivateInvite"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/invites/{id}/revoke",
      "method": "POST",
      "operationId": "revokeInvite",
      "x-roles": [
        "admin"
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "$ref": "#/components/requestBodies/Empty"
      },
      "responses": {
        "200": {
          "$ref": "#/components/responses/Ok"
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "summary": "revokeInvite",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/control",
      "method": "POST",
      "operationId": "globalControl",
      "x-roles": [
        "admin"
      ],
      "summary": "Pause participant commands; reads/admin/auth operations remain available",
      "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"
                }
              }
            }
          }
        }
      },
      "responses": {
        "200": {
          "description": "Current global pause flag",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "paused": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "default": {
          "$ref": "#/components/responses/Error"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/metrics",
      "method": "GET",
      "operationId": "metrics",
      "x-roles": [
        "admin"
      ],
      "summary": "Illustrative metrics; realRevenueCents is zero, not proof of demand",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/security",
      "method": "GET",
      "operationId": "securityEvents",
      "x-roles": [
        "admin"
      ],
      "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"
        }
      },
      "summary": "securityEvents",
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/backup",
      "method": "POST",
      "operationId": "backup",
      "x-roles": [
        "admin"
      ],
      "summary": "Create private server-side SQLite backup, metadata only; 3 per hour/user",
      "parameters": [
        {
          "$ref": "#/components/parameters/Origin"
        },
        {
          "$ref": "#/components/parameters/Csrf"
        }
      ],
      "requestBody": {
        "$ref": "#/components/requestBodies/Empty"
      },
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/admin/fixtures",
      "method": "GET",
      "operationId": "internalFictionalFixtureSelector",
      "summary": "Administrator-only minimal fictional company selector; never a participant directory",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-056",
        "FR-057",
        "FR-058",
        "FR-059"
      ]
    },
    {
      "route": "/api/catalog",
      "method": "GET",
      "operationId": "fictionalCatalog",
      "summary": "24 fictional offers only; no company array, company IDs/profiles or participant directory",
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-009",
        "FR-010",
        "FR-011",
        "FR-012",
        "FR-013",
        "FR-017",
        "FR-018",
        "FR-019",
        "FR-020",
        "FR-021",
        "FR-022",
        "FR-023",
        "FR-024",
        "FR-027",
        "FR-030",
        "FR-031",
        "FR-032",
        "FR-034"
      ]
    },
    {
      "route": "/api/catalog/offers/{offerId}/example",
      "method": "GET",
      "operationId": "fictionalOfferExample",
      "summary": "Generated offer factsheet: role-filtered seller, buyer always null, four public artifacts; not a received proposal or private-case evidence",
      "parameters": [
        {
          "name": "offerId",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "pattern": "^DEMO-OFFER-[0-9]{3}$"
          }
        }
      ],
      "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"
        }
      },
      "source": [
        "server/app.cjs",
        "docs/OPENAPI.json"
      ],
      "requirementRefs": [
        "FR-009",
        "FR-010",
        "FR-011",
        "FR-012",
        "FR-013",
        "FR-017",
        "FR-018",
        "FR-019",
        "FR-020",
        "FR-021",
        "FR-022",
        "FR-023",
        "FR-024",
        "FR-027",
        "FR-030",
        "FR-031",
        "FR-032",
        "FR-034"
      ]
    }
  ],
  "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
        }
      }
    }
  },
  "sourceRecords": [
    {
      "base": "pilot",
      "path": "public/app.js",
      "sha256": "7e35ee23147443fb806050d63e2b1ea0d55553cf04597e4564192c7228ef34b0",
      "bytes": 73675,
      "snapshot": "sources/pilot/public/app.js.txt"
    },
    {
      "base": "pilot",
      "path": "server/auth.cjs",
      "sha256": "ac93b001dcfa2ce64d372867a87ec9053a9bdd2bded7215e3df7a3ca60ee70d6",
      "bytes": 7736,
      "snapshot": "sources/pilot/server/auth.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/api.test.cjs",
      "sha256": "0d701d7b69f0731a53706c983d5531e562e4ec0cc99c3ccb7135fd6c1330ebd3",
      "bytes": 10032,
      "snapshot": "sources/pilot/tests/api.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/security.test.cjs",
      "sha256": "c21dfcc011dc8b2bdbdc79563a987ff6b6150233fdddae610a805df84de46428",
      "bytes": 26326,
      "snapshot": "sources/pilot/tests/security.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "server/service.cjs",
      "sha256": "4dc74bdf11bad95a4e8d920b60f9d0de146f5c4164a9a754f51b709ea03e8b38",
      "bytes": 16097,
      "snapshot": "sources/pilot/server/service.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/privacy.test.cjs",
      "sha256": "22d48826f9a43746f2d6f0b4d9285db1036348b0e7f11884cc2b63b8beba2544",
      "bytes": 23713,
      "snapshot": "sources/pilot/tests/privacy.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/catalog-ui.js",
      "sha256": "ed8b922c8265c6784db631d9a6a11f7e93436fbd61deb22a4f7d44b29c4635fe",
      "bytes": 15421,
      "snapshot": "sources/pilot/public/catalog-ui.js.txt"
    },
    {
      "base": "pilot",
      "path": "server/app.cjs",
      "sha256": "373460f4f6c77ef009d1cb762071d457069b3b42f71d837107b81bf80363ff41",
      "bytes": 14250,
      "snapshot": "sources/pilot/server/app.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/catalog-browser.mjs",
      "sha256": "87be06fde3599cd210a099bd08ae58caaefde89b665c53053e40f7b360e701aa",
      "bytes": 20920,
      "snapshot": "sources/pilot/tests/catalog-browser.mjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/catalog.test.cjs",
      "sha256": "703ee9f13cff17d6ecbdeb151587dba7c4f5ea9a1ec31c635ed0d483f55ae10a",
      "bytes": 28906,
      "snapshot": "sources/pilot/tests/catalog.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "server/privacy.cjs",
      "sha256": "dbf6cbc277802dfdeb68bc4b61344fe8a11bebfa9954266d3698cbc540f90daf",
      "bytes": 3861,
      "snapshot": "sources/pilot/server/privacy.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/commerce-browser.mjs",
      "sha256": "5a43416173726c7d00661af2976e5b24d71b5f70416361cd2ced39017c3e6105",
      "bytes": 8582,
      "snapshot": "sources/pilot/tests/commerce-browser.mjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/sourcing-browser.mjs",
      "sha256": "0d58ea3d98bbf3a468240c7ff3868d26f1504e747dcb76d1eee2e33adae68bf6",
      "bytes": 34413,
      "snapshot": "sources/pilot/tests/sourcing-browser.mjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/commerce.js",
      "sha256": "0b5a501ee0f2fa57ea2bec7dbf54061b5296568b86fb0359df19002463499d6e",
      "bytes": 11778,
      "snapshot": "sources/pilot/public/commerce.js.txt"
    },
    {
      "base": "pilot",
      "path": "tests/commerce.test.cjs",
      "sha256": "7c7fb4300c815bb35800e9eb18dc6df301ceb509a89fd810f27db9ef2ade2cda",
      "bytes": 6710,
      "snapshot": "sources/pilot/tests/commerce.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/commerce-frontend.test.cjs",
      "sha256": "9dad3a0dcdeebd6b950b6bda66dd38331274d237740fdde600e08bb1955231b4",
      "bytes": 5414,
      "snapshot": "sources/pilot/tests/commerce-frontend.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "server/kernel.cjs",
      "sha256": "4b240c3b49ef2132538f2ed11d3523c1b45daad9e75da2c1643cd0efd94d211d",
      "bytes": 11724,
      "snapshot": "sources/pilot/server/kernel.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/search.js",
      "sha256": "0e2b6c5a8f4f50703af182cbfc2cfa7c85a94bddd827bc449197652794f7aabb",
      "bytes": 9065,
      "snapshot": "sources/pilot/public/search.js.txt"
    },
    {
      "base": "pilot",
      "path": "tests/search.test.cjs",
      "sha256": "8596877b78cccdcf2b888cd99bada85607c2eb13a3d93b61f2757701a50ab5bf",
      "bytes": 3836,
      "snapshot": "sources/pilot/tests/search.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/sourcing-frontend.test.cjs",
      "sha256": "7aa854dfc335236b996d2276ee89089217e7d46fe3b62bbcf7be92f73deaca4e",
      "bytes": 5419,
      "snapshot": "sources/pilot/tests/sourcing-frontend.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/discovery-tools.js",
      "sha256": "56a9ed30a2c00a4741b106afff3dd2b1964623a5ddf2eaaa39b718f1b93cffe5",
      "bytes": 9843,
      "snapshot": "sources/pilot/public/discovery-tools.js.txt"
    },
    {
      "base": "pilot",
      "path": "tests/discovery-tools-browser.mjs",
      "sha256": "272ec7bf0f361c02faa8fdfa3b2314658dff25460644b8f44225228e61d6c6f9",
      "bytes": 37557,
      "snapshot": "sources/pilot/tests/discovery-tools-browser.mjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/discovery-frontend.test.cjs",
      "sha256": "8dd37799f64b0c9e12484b623961d347956d5c076b09be1f96369ac1cc5d522c",
      "bytes": 5096,
      "snapshot": "sources/pilot/tests/discovery-frontend.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/global-search-browser.mjs",
      "sha256": "f69693ef4c9bd4003c858c79ce561bb0707749574f3286ea61871bdfab47d277",
      "bytes": 31577,
      "snapshot": "sources/pilot/tests/global-search-browser.mjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/global-search-ui.js",
      "sha256": "a682ee443f49e26a1a0d176c6d14cacbc1d9a95b09e4186e641aaf45c25fec06",
      "bytes": 1037,
      "snapshot": "sources/pilot/public/global-search-ui.js.txt"
    },
    {
      "base": "pilot",
      "path": "tests/global-search-frontend.test.cjs",
      "sha256": "5cb133fa3f847aa77a346bb54e13904ddf137f2a75bd5436426794ecec799387",
      "bytes": 4114,
      "snapshot": "sources/pilot/tests/global-search-frontend.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "server/discovery.cjs",
      "sha256": "0a0e70a2d1afca997b54227e72dc9b87ac0671f1a257fe9585ebb79acd7039fb",
      "bytes": 5403,
      "snapshot": "sources/pilot/server/discovery.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/discovery.test.cjs",
      "sha256": "c5f16035a9cf187444e3fbcd94fd7bdd4cf83b70345d657d6418334c81b9b7b6",
      "bytes": 29704,
      "snapshot": "sources/pilot/tests/discovery.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/sourcing-ui.js",
      "sha256": "04fac3e942420c9f199f558cf9dcc3dbb100372d520f74f6ae083d77cec56741",
      "bytes": 5842,
      "snapshot": "sources/pilot/public/sourcing-ui.js.txt"
    },
    {
      "base": "pilot",
      "path": "server/sourcing.cjs",
      "sha256": "ff876fa68f53b4dd6671522b8d10b8ede910475ca4d011d5cff826e47f13ba81",
      "bytes": 8792,
      "snapshot": "sources/pilot/server/sourcing.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/sourcing.test.cjs",
      "sha256": "96f532e504351a925d23f48b647803d15c0600183debfcf7c4203a3722521aee",
      "bytes": 31046,
      "snapshot": "sources/pilot/tests/sourcing.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/browser.mjs",
      "sha256": "9b939923e6c9377518bcf8bc83d53a3787819eb12e5f72ea30e35e32fd166b91",
      "bytes": 16356,
      "snapshot": "sources/pilot/tests/browser.mjs.txt"
    },
    {
      "base": "pilot",
      "path": "domain/model.js",
      "sha256": "eae54e527cec986d21cc86e253a4abfce850d11143ba90769b31f322c6a76729",
      "bytes": 26183,
      "snapshot": "sources/pilot/domain/model.js.txt"
    },
    {
      "base": "pilot",
      "path": "domain/model.test.cjs",
      "sha256": "c20d9d10667758b13aa46e497fb685741b97d310643a01063e283a75981aa874",
      "bytes": 16524,
      "snapshot": "sources/pilot/domain/model.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/templates.test.cjs",
      "sha256": "7892bb8165423178b736a320766984bb6463899312dcae39badfe26464c66d63",
      "bytes": 3450,
      "snapshot": "sources/pilot/tests/templates.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/frontend.test.cjs",
      "sha256": "0f021fc195971375d301067ac12bb598debe0e2bb022e2b334904e7dd9efb479",
      "bytes": 2427,
      "snapshot": "sources/pilot/tests/frontend.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/recovery.test.cjs",
      "sha256": "7216082ab7a4160e56e45f708eba8109f9a3653a21057966319124898d9cfc4d",
      "bytes": 13500,
      "snapshot": "sources/pilot/tests/recovery.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/rehearsal-security.test.cjs",
      "sha256": "448a99b4697a3e6aa9e5c856fb8f669f0556d98c075b484842821e6be9886b96",
      "bytes": 31596,
      "snapshot": "sources/pilot/tests/rehearsal-security.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/rehearsal-browser.mjs",
      "sha256": "afb3f9d8d7dc4af05c4ea3c5b1d3e3cd91ac5e87f0ff6bed35e909be43b16e8f",
      "bytes": 11679,
      "snapshot": "sources/pilot/tests/rehearsal-browser.mjs.txt"
    },
    {
      "base": "pilot",
      "path": "server/store.cjs",
      "sha256": "68bd6bc35947d962aa80861d4bc0c1e53ce7cf3237caea6b1e4f816cbabfdc1d",
      "bytes": 8807,
      "snapshot": "sources/pilot/server/store.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "scripts/manage.cjs",
      "sha256": "9a985f5bd3855b3775ef81095617bc39b1c2aa8a107cad3a33355b4abf1f8282",
      "bytes": 5548,
      "snapshot": "sources/pilot/scripts/manage.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/rehearsal-recovery.test.cjs",
      "sha256": "03808b948bb2513156e5e9199ebbacb441c2a78eaf7c4b17580f6805abbd30ba",
      "bytes": 18153,
      "snapshot": "sources/pilot/tests/rehearsal-recovery.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/rehearsal-ui.js",
      "sha256": "cc37ee38b650a536d95ff189a539167f311ba7b6301e38feb5d95e6d6b19ac7c",
      "bytes": 27389,
      "snapshot": "sources/pilot/public/rehearsal-ui.js.txt"
    },
    {
      "base": "pilot",
      "path": "server/rehearsal.cjs",
      "sha256": "baff4323873f0cbd60d150ae9a99736fb809aade4601a8c79db4c8b88ead7dc1",
      "bytes": 20134,
      "snapshot": "sources/pilot/server/rehearsal.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/rehearsal.test.cjs",
      "sha256": "d6b804b10cdc48a6a8743a1951acf40bee76aeb06e4b041ccf18f70d882c3d88",
      "bytes": 5649,
      "snapshot": "sources/pilot/tests/rehearsal.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/rehearsal-frontend.test.cjs",
      "sha256": "477f6c8043225fd5064926250ed19a8ff3f48c450dd3d916ff8bc4c655e2792c",
      "bytes": 2454,
      "snapshot": "sources/pilot/tests/rehearsal-frontend.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/view.js",
      "sha256": "0dcfba5aa598f55a4b205e9ada2b54fe386cd4216130b317f1af8647bfb4dad2",
      "bytes": 1562,
      "snapshot": "sources/pilot/public/view.js.txt"
    },
    {
      "base": "pilot",
      "path": "server/util.cjs",
      "sha256": "dd7f4f1015d3aa0a33bb3525b00cb730ae338ac105f2f992c92ab373ec3875a6",
      "bytes": 2182,
      "snapshot": "sources/pilot/server/util.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "docs/KNOWN_LIMITS.md",
      "sha256": "305f82aefd974a14b582c263e873f15969423593d47d9e48d0aa78d7c849584c",
      "bytes": 15191,
      "snapshot": "sources/pilot/docs/KNOWN_LIMITS.md.txt"
    },
    {
      "base": "pilot",
      "path": "docs/RUNBOOK.md",
      "sha256": "5d0285cbc6513d947001c87ca14129a176d6cd8ee16f512ffb5b84823c61da62",
      "bytes": 18120,
      "snapshot": "sources/pilot/docs/RUNBOOK.md.txt"
    },
    {
      "base": "pilot",
      "path": "docs/ACCESS_POLICY.md",
      "sha256": "ffd0b584c2990268fdeed6923e33ae003ebb29884e08e6dd69d4754b99c55cb9",
      "bytes": 11264,
      "snapshot": "sources/pilot/docs/ACCESS_POLICY.md.txt"
    },
    {
      "base": "pilot",
      "path": "docs/PRE_PARTICIPANT_CHECKLIST.md",
      "sha256": "f02a2d5f037e4128c7e8eb5d7a07c456055ddaa80580e77f005e0afca1384372",
      "bytes": 10052,
      "snapshot": "sources/pilot/docs/PRE_PARTICIPANT_CHECKLIST.md.txt"
    },
    {
      "base": "pilot",
      "path": "docs/OPENAPI.json",
      "sha256": "07b2b061890502ccd9e3b71522304be9de9376ea73ec3ac2d5a2de6c2dc11e6e",
      "bytes": 97719,
      "snapshot": "sources/pilot/docs/OPENAPI.json.txt"
    },
    {
      "base": "pilot",
      "path": "server/main.cjs",
      "sha256": "9573f0cccf9b0b7a083f897d47a413fa891ebea4d584eac81a524d2bd6cb3c4d",
      "bytes": 2186,
      "snapshot": "sources/pilot/server/main.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/lifecycle.test.cjs",
      "sha256": "98c947d5aae2b27269c301cdc90d79eb7e4d4d791b0bc73f3ae8da19310ebca0",
      "bytes": 2479,
      "snapshot": "sources/pilot/tests/lifecycle.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "tests/lifecycle-security.test.cjs",
      "sha256": "4f3d2fd97f3afa93630b14321566c131990306d76f60dcc139902df5baf129c0",
      "bytes": 9489,
      "snapshot": "sources/pilot/tests/lifecycle-security.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "public/index.html",
      "sha256": "fd17c56833bda922cf3b16795c7ed7b9c124f6bc06a90a1558a33c6a07768340",
      "bytes": 3101,
      "snapshot": "sources/pilot/public/index.html.txt"
    },
    {
      "base": "pilot",
      "path": "docs/TESTING.md",
      "sha256": "48d625872100af169c0be73ad6da30efbdc06ac1fb423813a952711581b26e81",
      "bytes": 10052,
      "snapshot": "sources/pilot/docs/TESTING.md.txt"
    },
    {
      "base": "pilot",
      "path": "docs/ERD.mmd",
      "sha256": "bd0591f4ce37e92858dfecbecb7e71993fcc0a3bc7dfcff0d97a6f1888ecad7e",
      "bytes": 4994,
      "snapshot": "sources/pilot/docs/ERD.mmd.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md",
      "sha256": "76d629e70806c86c4c6cb35ff1bdf3f62e34a94b70170162a2b76e1223798f65",
      "bytes": 8737,
      "snapshot": "sources/canonical/dev_toolkit/01_SCOPE_AND_REQUIREMENTS.md.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md",
      "sha256": "830d0f73b0d1439e7597b221b39b49c6c125a2db3307d94d1a65b22473a33ca4",
      "bytes": 4596,
      "snapshot": "sources/canonical/dev_toolkit/05_ACCESS_AND_MARKET_POLICY.md.txt"
    },
    {
      "base": "canonical",
      "path": "CURRENT_VERSION_READ_FIRST.txt",
      "sha256": "fd249e6005eb772263caf02ac76bddabebe018fb49fdd26913b1ed1e83a24116",
      "bytes": 8399,
      "snapshot": "sources/canonical/CURRENT_VERSION_READ_FIRST.txt.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/06_ACCEPTANCE_TESTS.md",
      "sha256": "131b4664ada68812c28317cf5c36d094875541c7e42892a133e8ffce9b7bc935",
      "bytes": 6965,
      "snapshot": "sources/canonical/dev_toolkit/06_ACCEPTANCE_TESTS.md.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/13_SCREEN_CATALOG.md",
      "sha256": "47bb41c2a6d73f8417ca1ab78f6f97ee7111731adbfc5003e16d7aadbf969c42",
      "bytes": 8109,
      "snapshot": "sources/canonical/dev_toolkit/13_SCREEN_CATALOG.md.txt"
    },
    {
      "base": "canonical",
      "path": "delivery_blocks/source.json",
      "sha256": "fdbeda3bc0b857905e0cc76bb180fce061bfffe6b032694729da2fc0ab485086",
      "bytes": 16374,
      "snapshot": "sources/canonical/delivery_blocks/source.json.txt"
    },
    {
      "base": "canonical",
      "path": "ai_native/index_en.txt",
      "sha256": "913876363d48e3e5e96cd20d5c15492d83b044ac2000a9295cb2e887f383abb2",
      "bytes": 18026,
      "snapshot": "sources/canonical/ai_native/index_en.txt.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/07_OPEN_DECISIONS.md",
      "sha256": "7203dfa42dc3af00e45b7f1907703b0f501bb247eed23163a38376ec525f9a21",
      "bytes": 4363,
      "snapshot": "sources/canonical/dev_toolkit/07_OPEN_DECISIONS.md.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/Mobile_Spec_en.txt",
      "sha256": "1675f5f2d0e6125ddab5c5971cff0eecff53637287e5cf84257e2234819bc06c",
      "bytes": 13948,
      "snapshot": "sources/canonical/mobile_app/Mobile_Spec_en.txt.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/reference-model/state.test.cjs",
      "sha256": "e5d37b7d11c5358e70afab032796326284f8147c8520a73f25eaf06e7fa44ee3",
      "bytes": 12057,
      "snapshot": "sources/canonical/dev_toolkit/reference-model/state.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/19_THREE_BLOCK_DELIVERY.md",
      "sha256": "b49955b47e4ea4706cd8d085c7e1b7f15c8eefe255e9a773b6a611ab52bb9fd4",
      "bytes": 5539,
      "snapshot": "sources/canonical/dev_toolkit/19_THREE_BLOCK_DELIVERY.md.txt"
    },
    {
      "base": "canonical",
      "path": "delivery_blocks/scope.test.cjs",
      "sha256": "12a3e981d8b67541ea1d60708e9deaf12fec83f7e89741955f6dfae1a0d81361",
      "bytes": 5224,
      "snapshot": "sources/canonical/delivery_blocks/scope.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "ai_native/architecture-contract.json",
      "sha256": "0291d9ab07315dbaad3828b6e9967ff5cb51ec619acac11f340416f5f8c8c088",
      "bytes": 4388,
      "snapshot": "sources/canonical/ai_native/architecture-contract.json.txt"
    },
    {
      "base": "canonical",
      "path": "ai_native/contracts/test_contracts.py",
      "sha256": "400fe8e439adaa280b9e30536f4de4cbcd6e6ca5ca8efbb07b5760aafc174738",
      "bytes": 8071,
      "snapshot": "sources/canonical/ai_native/contracts/test_contracts.py.txt"
    },
    {
      "base": "canonical",
      "path": "ai_native/cost-model.test.cjs",
      "sha256": "c0e6a40a17c4025a5df5b080657376544d5186b090064282519a9c202914ffc4",
      "bytes": 12823,
      "snapshot": "sources/canonical/ai_native/cost-model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "delivery_blocks/pre-final.test.cjs",
      "sha256": "e7037503191d37166ff5857cf2f394ceef13886b6d20e6c503313c81748bdd7c",
      "bytes": 4850,
      "snapshot": "sources/canonical/delivery_blocks/pre-final.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/18_TRANSACTION_COST_CONTRACT.md",
      "sha256": "e6a86f154220824cd857a147fafb0108831ffaf192313335e3e60430b01a263b",
      "bytes": 6580,
      "snapshot": "sources/canonical/dev_toolkit/18_TRANSACTION_COST_CONTRACT.md.txt"
    },
    {
      "base": "canonical",
      "path": "dev_toolkit/reference-model/settlement-safety.test.cjs",
      "sha256": "15e173da0a73311a96796d683419effb15a36b02b19b3a1b6d450c2300fd67df",
      "bytes": 9071,
      "snapshot": "sources/canonical/dev_toolkit/reference-model/settlement-safety.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/Performance_Spec_en.txt",
      "sha256": "13f7361c28c636915d2bc46969ff09ca395d4011c6f32590c0b81db2e786b85b",
      "bytes": 6370,
      "snapshot": "sources/canonical/mobile_app/Performance_Spec_en.txt.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/performance.test.cjs",
      "sha256": "8bd4b26509496072f982fda0ea7bab7f7c2e8d9eec8ba336bb7bdc58ef53eb56",
      "bytes": 22733,
      "snapshot": "sources/canonical/mobile_app/performance.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "launch/programme_en.txt",
      "sha256": "c5e4e75f4ee9df3b45a561ebe62cdd55d92200d09b9f20c9c0ec1baa2c9862cd",
      "bytes": 11295,
      "snapshot": "sources/canonical/launch/programme_en.txt.txt"
    },
    {
      "base": "canonical",
      "path": "launch/decision-register.json",
      "sha256": "05b1519b48646c9c1e3bccdef56bd5289bcb7f46e8a093eb5100d7f423f76366",
      "bytes": 1231,
      "snapshot": "sources/canonical/launch/decision-register.json.txt"
    },
    {
      "base": "canonical",
      "path": "launch/model.test.cjs",
      "sha256": "61d6ccc753117ce9234093e3912a23f9df5896196071848a68a7dcf4d29f0a81",
      "bytes": 3200,
      "snapshot": "sources/canonical/launch/model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "launch/lifecycle.test.cjs",
      "sha256": "ddeae8876a615316b37b5fb794a07508f020793bef9a6f2da620845b0becd276",
      "bytes": 10324,
      "snapshot": "sources/canonical/launch/lifecycle.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "launch/conversion.test.cjs",
      "sha256": "dd4676c6fbefaac62739fe043b19ed68928a4ff63facc4ea21611fb94969a513",
      "bytes": 14504,
      "snapshot": "sources/canonical/launch/conversion.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "launch/conversion_en.txt",
      "sha256": "20306d3a18c02205e43500fa7618cfe72dd6321cf75d5edb085763d4935138f0",
      "bytes": 4939,
      "snapshot": "sources/canonical/launch/conversion_en.txt.txt"
    },
    {
      "base": "canonical",
      "path": "go_points/implementation-contract.json",
      "sha256": "035eb5c6bd92b68aeaed8c1968e92df4b0a587e1cbbca6c1247cd244512fde96",
      "bytes": 14846,
      "snapshot": "sources/canonical/go_points/implementation-contract.json.txt"
    },
    {
      "base": "canonical",
      "path": "tokenomics/integration-contract.json",
      "sha256": "addd7883b5835ed05ed6351de3947356f4fd557db4c8bfcf5b31c762a305d456",
      "bytes": 1709,
      "snapshot": "sources/canonical/tokenomics/integration-contract.json.txt"
    },
    {
      "base": "canonical",
      "path": "go_points/model.test.cjs",
      "sha256": "55a0a9d6fe73ef245523f8a42dab217cb67939c9cf943891b6fdf3ca2cc32cdc",
      "bytes": 35783,
      "snapshot": "sources/canonical/go_points/model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "resale/RELEASE.json",
      "sha256": "62bf3f6e9d8725ca92026523d202fcd805575551fbe417f2e3258f3f729a301b",
      "bytes": 3387,
      "snapshot": "sources/canonical/resale/RELEASE.json.txt"
    },
    {
      "base": "canonical",
      "path": "resale/spec_en.txt",
      "sha256": "e4e885e9e2256654d31b829574fe61abce29f0b9cc2a9d615edf18abae976cb5",
      "bytes": 12823,
      "snapshot": "sources/canonical/resale/spec_en.txt.txt"
    },
    {
      "base": "canonical",
      "path": "resale/model.test.cjs",
      "sha256": "c20d9d10667758b13aa46e497fb685741b97d310643a01063e283a75981aa874",
      "bytes": 16524,
      "snapshot": "sources/canonical/resale/model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/implementation-plan.json",
      "sha256": "a3eef29ffed86bb29511984be110bfd76ef7030bb13a4986ea71a28de2f3a5b4",
      "bytes": 6519,
      "snapshot": "sources/canonical/monitor_data_center/implementation-plan.json.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/implementation-contract.json",
      "sha256": "3788b77a349cda7d54158a8892e77b3761f110abec819a5620f0672bd0b181d4",
      "bytes": 9682,
      "snapshot": "sources/canonical/monitor_data_center/implementation-contract.json.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/plan-model.test.cjs",
      "sha256": "f57b31d3733d00c74b67291f51b2fbb2a5d53b0cefb73cdff2fd6a40ddf1e27f",
      "bytes": 3413,
      "snapshot": "sources/canonical/monitor_data_center/plan-model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/toolkit/schema.test.cjs",
      "sha256": "2df6e29515305d23198a69ed02b3f481e94cf11c9e388ebb7e2d29631c012e2c",
      "bytes": 21030,
      "snapshot": "sources/canonical/monitor_data_center/toolkit/schema.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/model.test.cjs",
      "sha256": "2f308a22e942d1e7c40fc749575ae3d7747dfd9182f3e0e6780f9f91d1eb754e",
      "bytes": 5672,
      "snapshot": "sources/canonical/monitor_data_center/model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/toolkit/test_events.py",
      "sha256": "4083fecbb2c0fa74a0a276bd265b624cb51787613366f357dfeda88b8076c2d3",
      "bytes": 14691,
      "snapshot": "sources/canonical/monitor_data_center/toolkit/test_events.py.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/toolkit/test_api.py",
      "sha256": "8d981acd1b56ef187ef91caaaf072077a302d30b329c35a855f6bcf233a28bc8",
      "bytes": 2980,
      "snapshot": "sources/canonical/monitor_data_center/toolkit/test_api.py.txt"
    },
    {
      "base": "canonical",
      "path": "monitor_data_center/cost-model.test.cjs",
      "sha256": "2bb97ead924e145ed27902e79a479c9868cb9e6cd86b2a21b3a5932337fed364",
      "bytes": 15937,
      "snapshot": "sources/canonical/monitor_data_center/cost-model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/model.test.cjs",
      "sha256": "0b12a5c843cfd1ec24f27a5f3e50e04ce7759b2240fdfd29e261365fbbf230e3",
      "bytes": 9185,
      "snapshot": "sources/canonical/mobile_app/model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/edge.test.cjs",
      "sha256": "44aa304e09ad1f00ef96182542a8fab582e44567429c61fa9b718a8799bf68e1",
      "bytes": 4327,
      "snapshot": "sources/canonical/mobile_app/edge.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/OPEN_DECISIONS.json",
      "sha256": "d1148e6530ff10f6c1a02f365b30d6159d1f97f76a747e2c6cae82b14b032793",
      "bytes": 3410,
      "snapshot": "sources/canonical/mobile_app/OPEN_DECISIONS.json.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/browser.test.cjs",
      "sha256": "cbbd10b9a737c51c4e3c244783eb20f223b2cabe3fd5a6deecf244a64c944a3a",
      "bytes": 12939,
      "snapshot": "sources/canonical/mobile_app/browser.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "mobile_app/adverse.browser.cjs",
      "sha256": "21a00e7df398fe400ed104158e34685e92f59d7d7ce93f9ec69c28d8b6f745ef",
      "bytes": 28091,
      "snapshot": "sources/canonical/mobile_app/adverse.browser.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "tokenomics/index_en.txt",
      "sha256": "833b198e2f37a98bfc23c04701719a3b7d19c6ee9e1e25f163afec6a67f9e272",
      "bytes": 17348,
      "snapshot": "sources/canonical/tokenomics/index_en.txt.txt"
    },
    {
      "base": "canonical",
      "path": "tokenomics/decision-register.json",
      "sha256": "cef4d5b57a0515695f9f0f5664567298392bb52e5a1a491833b8a1bdd482d74f",
      "bytes": 4984,
      "snapshot": "sources/canonical/tokenomics/decision-register.json.txt"
    },
    {
      "base": "canonical",
      "path": "tokenomics/model.test.cjs",
      "sha256": "1f9087db9f9f1af1f338bcdc482d24d6324cb4bb516b1560c842c3474a4ead8b",
      "bytes": 17868,
      "snapshot": "sources/canonical/tokenomics/model.test.cjs.txt"
    },
    {
      "base": "canonical",
      "path": "tokenomics/utility-model.test.cjs",
      "sha256": "4d6fdb4312efab538e51ea6947d739355cfac7c760a82aeb130f602bd5a11465",
      "bytes": 8446,
      "snapshot": "sources/canonical/tokenomics/utility-model.test.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "docs/IMPLEMENTATION_CONTRACT.md",
      "sha256": "4f7b98ebfc6d69ebc0a4ca1829c217663b65cb18d6f10d26599fa0de763d8acf",
      "bytes": 27335,
      "snapshot": "sources/pilot/docs/IMPLEMENTATION_CONTRACT.md.txt"
    },
    {
      "base": "pilot",
      "path": "server/catalog.cjs",
      "sha256": "9d256ec075ac03307f16abef9667538d3553482f8662c1a150724b690a616d29",
      "bytes": 10927,
      "snapshot": "sources/pilot/server/catalog.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "server/templates.cjs",
      "sha256": "0e6bee0e4dff9977d69ec85901da4afc31b82a081b2eeffa77171e8440504163",
      "bytes": 1218,
      "snapshot": "sources/pilot/server/templates.cjs.txt"
    },
    {
      "base": "pilot",
      "path": "docs/GLOBAL_SEARCH.md",
      "sha256": "01d7d523061c48df951eee9d1b62a2957f97775b9c73dedb31ed3fb42cbdb017",
      "bytes": 3381,
      "snapshot": "sources/pilot/docs/GLOBAL_SEARCH.md.txt"
    },
    {
      "base": "pilot",
      "path": "docs/DISCOVERY_TOOLS.md",
      "sha256": "988e9baaad8f4077f2d0144bc0178872cd5789e63e8c019f92d6a60fe1f8d946",
      "bytes": 5272,
      "snapshot": "sources/pilot/docs/DISCOVERY_TOOLS.md.txt"
    },
    {
      "base": "pilot",
      "path": "docs/QA_RESULTS.json",
      "sha256": "e98f27ba991a3b7dbbcac487dbff30d42f830dbdccdf326412f6bc12989ce981",
      "bytes": 160186,
      "snapshot": "sources/pilot/docs/QA_RESULTS.json.txt"
    },
    {
      "base": "pilot",
      "path": "docs/PROVENANCE.json",
      "sha256": "6e9aeeff01a2a4bd774098c1d9728367ee482d16b18219214ed88ad688b95969",
      "bytes": 543,
      "snapshot": "sources/pilot/docs/PROVENANCE.json.txt"
    }
  ]
}
