{
  "checkpoint": 261,
  "story": "BE-036",
  "status": "PARTIAL",
  "date": "2026-10-26",
  "odoo_tests": "373 passed; 0 failures; 0 errors (fresh isolated all-module Odoo 20 run)",
  "odoo_database": "be_qa_20261026_185819_9e25",
  "focused_odoo_bridge_tests": "all namaa_ai_bridge tests passed on isolated QA database",
  "backend_tests": "238 passed; 2 skipped; 265 subtests passed",
  "react_tests": "80 passed",
  "browser_test": "27 passed; full business.spec.js browser suite, including synthetic CRM approval/archive and direct project selection/archive/PDF link journeys",
  "production_build": "passed",
  "static_checks": "Python compilation, report XML parse, and git diff --check passed",
  "coverage": [
    "Only independently approved technical proposals can be archived; requester cannot archive before approval.",
    "Archive creation is idempotent and source-revision checked.",
    "PDF bytes are private, company-bound, checksummed, immutable and exposed through authenticated no-store routes.",
    "CRM opportunity UI provides archive action and PDF link; project workspace provides linked archive list and download.",
    "Backend tests validate company mismatch, invalid PDF signature, no-store response and scoped Odoo methods.",
    "Invalid rendered output and stale sources leave no archive record."
  ],
  "remaining_acceptance": [
    "Authenticated live Sales Manager, Owner and Project Manager journey on disposable clone.",
    "Opportunity/project/foreign-company role matrix under intended production identities.",
    "Actual QWeb PDF layout and asset rendering in the normal target runtime.",
    "Arabic PDF and React visual review.",
    "Approved business authority and external customer release workflow."
  ],
  "evidence": {
    "checkpoint": "CHECKPOINT_260.md",
    "traceability": "../REQUIREMENTS_TRACEABILITY.md",
    "odoo_tests": "../../../addons/namaa_ai_bridge/tests/test_crm_technical_proposal.py",
    "backend_tests": "../../../backend/tests/test_business.py",
    "browser_test": "../../../frontend/e2e/business.spec.js",
    "screenshot": "frontend/screenshots/crm-technical-proposal-archive-synthetic.png"
  },
  "data_safety": "All business-record feature tests ran in disposable QA; the namaa_ksa rollout applied the addon schema/report update only. No business documents were created or edited. No external email or publication occurred.",
  "local_demo_rollout": {
    "database": "namaa_ksa",
    "module_version": "namaa_ai_bridge 20.0.1.0.28",
    "protected_backup": "Host /tmp/namaa_ksa_before_be036_20261026.dump (10,858,665 bytes, mode 0600); SHA-256 matches the verified archive in namaa-odoo20-db-1.",
    "local_react_demo_http": 200,
    "local_qa_evidence_http": 200,
    "local_bff_health_http": 200,
    "local_odoo_login_http": 200,
    "public_demo_http": 200,
    "public_project_archive_screenshot_http": 200,
    "progress_checkpoint_published": 261,
    "external_send": false
  }
}
