{
  "schema_version": "mentaview.public-mvp-local-progress/v1",
  "stage_id": "guest-memory-local",
  "step_name": "Guest-memory UI and PostgreSQL verified locally; public activation pending",
  "reported_at": "2026-09-14",
  "status": "passed-targeted-local",
  "evidence_scope": "local-engineering",
  "attribution": "The integrated UI bundle and the corrected-test PostgreSQL run have been checked against their source and artifact hashes. This is targeted local guest-memory qualification; release CI, public activation and the separate Cedar successor remain outside this result.",
  "counting_boundary": "Seven separate suite observations may overlap; do not sum them into unique tests. Browser parent harness records are excluded: there are 10 memory and 12 public Chrome scenarios, not 11 and 13. The prior HTML unit result is carried forward, not a new execution.",
  "unique_test_total": null,
  "source_boundary": {
    "baseline_commit": "c996df7ac84ecfdf9f870b7b10df990a29c6f4df",
    "composition": "exact c996df7 archive plus only corrected guest_memory_http.rs test; no S3 overlays",
    "baseline_inventory_sha256": "f84feca0bb31a6a00e3d3ef6117a893576364c2e255d250dbad10717466d3223",
    "runtime_source_files_guarded": 477,
    "runtime_inventory_sha256": "662842c9ce96b44add20bd113d1a170b7acede650f6a7e63d862d2ad94cb29a2",
    "corrected_test_sha256": "0b745c83dfe227f5a7e5b0d385471db3a1a36749d3630c18bde36671ccaffd8c",
    "source_manifest_sha256": "84350078f83ea72df503d6d5950b12cfc8cb2462bda2fcf7d9336a70d5965ffa",
    "source_files_verified_before_and_after": 2089,
    "s3_included": false,
    "scope": "The PostgreSQL result uses c996df7 plus exactly one corrected test file; application and UI bytes are unchanged. Its execution checked 2089 source files before and after. The current guard checks 477 runtime/Cargo files, while preserving the original 112-file inventory and UI bundle. No S3 fix is included."
  },
  "suites": [
    {
      "id": "memory-node",
      "label": "Guest-memory Node contracts",
      "tests_passed": 26,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "Passed locally; UI only",
      "scope": "Shipped UI functions with DOM and network doubles; no Rust or PostgreSQL execution."
    },
    {
      "id": "public-node",
      "label": "Integrated public-consent Node contracts",
      "tests_passed": 45,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "Passed locally; UI only",
      "scope": "Public-consent regressions on the integrated pilot asset. The original M3 asset remains bound to its historical receipt."
    },
    {
      "id": "memory-browser",
      "label": "Guest-memory Chrome scenarios",
      "tests_passed": 10,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "Passed locally; UI only",
      "scope": "Actual Chrome over synthetic loopback HTTPS: navigation, session and CSRF boundaries, stale results, review and logout. No backend persistence qualification."
    },
    {
      "id": "public-browser",
      "label": "Integrated public-consent Chrome scenarios",
      "tests_passed": 12,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "Passed locally; UI only",
      "scope": "Actual Chrome over synthetic loopback HTTPS: consent, exact retry, expiry, revocation and HOLD. A local manual gate, not a mandatory GitHub browser job."
    },
    {
      "id": "guest-memory-postgresql",
      "label": "Guest-memory HTTP with PostgreSQL",
      "tests_passed": 1,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "Passed locally; real PostgreSQL",
      "scope": "One exact corrected test passed against real PostgreSQL. The old failed attempt remains preserved, and both its database and the new attempt's database are absent. No actual model call or hosted deployment is qualified."
    },
    {
      "id": "memory-html-unit",
      "label": "Memory-console HTML unit",
      "tests_passed": 1,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "Passed previously; not rerun",
      "scope": "Prior application HTML unit result retained because the application source is unchanged. This observation was not rerun with the corrected PostgreSQL test."
    },
    {
      "id": "server-ordinary",
      "label": "Server ordinary regression",
      "tests_passed": 169,
      "tests_failed": 0,
      "tests_ignored": 18,
      "status": "Passed locally; exact overlay",
      "scope": "Same c996df7 plus corrected-test composition. The 18 ignored tests retain separate PostgreSQL, attested sidecar and environment gates, including media or hardware requirements. Targeted passes do not clear every gate."
    }
  ],
  "current_ui_evidence": {
    "source_commit": "c996df7ac84ecfdf9f870b7b10df990a29c6f4df",
    "memory_asset_sha256": "bb4b4c412b0a84966249bc21753116536c0f2379e37472a560bfedae3cd8c62e",
    "pilot_asset_sha256": "96231263a419bc2f21e424eba335ceb0fb46d7c70755406b2495c429cf620414",
    "memory_node_tests_passed": 26,
    "public_node_tests_passed": 45,
    "memory_browser_cases_passed": 10,
    "public_browser_cases_passed": 12,
    "bundle_sha256": "a1dfcfdba66fd7010a1efc5c1844a73c1e4ca8caa6edeb9af5b441d1e80ee3ec",
    "verified_artifacts": 38,
    "browser_version": "152.0.7977.84",
    "playwright_version": "1.62.1",
    "browser_gate": "local-manual",
    "mandatory_github_browser_job": false,
    "environment": "loopback-https-synthetic-backend",
    "runtime_qualified": false,
    "postgresql_qualified": false,
    "hosted_backend_qualified": false
  },
  "guest_memory_scope": "The guest-memory console bridge has local UI coverage and one real PostgreSQL HTTP qualification test, covering session/CSRF boundaries, isolation, review and durable state. The HTML unit result is carried forward on unchanged application bytes. These targeted observations do not close S4 or establish a live pilot.",
  "local_consent": {
    "included": true,
    "scope": "Explicit consent is required for each public-processing turn, covering the whole conversation and authorized context, including history, summaries, memories, claims and retrieved text. PublicStrict treatment is mandatory; it is not an anonymity guarantee and may reduce detail.",
    "retention": "Retention is checked for the configured host account: verified none or explicitly acknowledged limited retention. Unknown retention is blocked; no universal provider no-retention claim is made.",
    "dispatch": "Creating an offer does not call a provider or decrypt a credential. Authorization is persisted before provider discovery and dispatch; replay does not dispatch again. A new turn needs fresh consent, and expired, revoked or mismatched offers fail closed."
  },
  "real_model_trial": {
    "status": "historical failure; successor qualification pending",
    "source_commit": "9ff8762cd680f2a025ae6ff0f19c778204ce666a",
    "successful_end_to_end_model_qualified": false,
    "scope": "The earlier real Ollama trial remains a failed published-answer result. Its documented kb:// reference was accepted by ingress but refused by the Answer evidence contract. The Cedar successor is separate work; no qualified fix, successful real-model retest or replay is recorded for this candidate."
  },
  "pending_checks": [
    "The server ordinary suite passed with 18 ignored tests; separate PostgreSQL, attested sidecar and environment gates remain. These targeted local results do not close S4 or establish a unique test total.",
    "The separate Cedar successor is not integrated and is not a prerequisite for this guest-memory observation. Its qualification and a successful real-model retest remain pending; the historical failure is preserved.",
    "The full mandatory helper has not been repeated for this overlay. Release CI, Firebase publication and hosted-backend qualification remain separate. Public activation stays on HOLD."
  ],
  "public_activation": {
    "status": "HOLD",
    "canonical_openai_byok_status": "blocked",
    "backend_gcp_target_status": "unconfirmed",
    "public_backend_qualified": false,
    "provider_qualified": false,
    "default_public_hold": {
      "implemented": true,
      "before_discovery": true,
      "before_dispatch": true,
      "capability_inference": false,
      "http_status": 503
    },
    "blockers": [
      "No live guest-memory pilot or hosted backend is qualified by these local UI checks.",
      "Public activation remains pending; default public inference stays held before provider discovery and dispatch.",
      "A public consent flow, static preview or matching builds cannot establish successful end-to-end model execution or MVP readiness."
    ]
  },
  "truth_boundary": {
    "public_backend_qualified": false,
    "external_certification": false,
    "mvp_ready": false,
    "m5_promotions": 0,
    "historical_p95_status": "FAIL",
    "statement": "Engineering evidence is not external certification. All eleven modules remain at the non-standard M4− internal-laboratory boundary, with zero M5 promotions. Historical p95 FAIL limits remain in force. UI passes do not qualify Rust, PostgreSQL, a public provider, a hosted backend or MVP readiness.",
    "s4_closed": false
  },
  "local_qualification": {
    "guest_memory_postgresql": {
      "tests_passed": 1,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "passed",
      "scope": "One exact guest-memory HTTP test using real PostgreSQL; targeted local qualification only.",
      "source_composition": "exact c996df7 archive plus only corrected guest_memory_http.rs test; no S3 overlays",
      "final_results_sha256": "860fdfacac936f08abd1d26146f9f434325fc70e412cf57be905316f5032ce6d",
      "source_manifest_sha256": "84350078f83ea72df503d6d5950b12cfc8cb2462bda2fcf7d9336a70d5965ffa",
      "log_sha256": "adaa65433de8739dd9e12255528561ce7c6169ed22191f7d737b83a167ce1d02"
    },
    "html_unit": {
      "tests_passed": 1,
      "tests_failed": 0,
      "tests_ignored": 0,
      "status": "passed-previously",
      "rerun": false,
      "app_source_sha256": "6ecb9d013c83bd5971b1054154bc5364aefdbc007029f4a6b55ed08c50614d4d",
      "receipt_sha256": "5c688b1410ac56ef87b067eb287eb597ecdcab9303ec2edf0560062486f6a8a2"
    },
    "server_ordinary": {
      "tests_passed": 169,
      "tests_failed": 0,
      "tests_ignored": 18,
      "final_results_sha256": "e9cd806f7928641e533709459409035eca7d9cd0e92e96036dd8e9c520470ba0",
      "log_sha256": "17b683ba9a531d38ccb0d0f38f207dad8fbb9a93652a55b8ef6aa237b07d494c"
    },
    "server_strict_clippy": {
      "status": "passed",
      "deny_warnings": true,
      "historical_allowed_lints": [
        "clippy::too_many_arguments",
        "clippy::type_complexity",
        "clippy::items_after_test_module"
      ],
      "additional_allowed_lints": [],
      "log_sha256": "dc5832291f200b43d718cc7f5f8042e4c30c69918af8e3b364d9a1aa90215b4f"
    }
  },
  "separate_pending_checks": {
    "cedar_successor": {
      "status": "pending",
      "tests_passed": null,
      "tests_failed": null,
      "tests_ignored": null,
      "source_commit": null,
      "receipt_sha256": null,
      "included": false,
      "required_for_guest_memory_local_qualification": false
    }
  }
}
