{
  "schema_version": "legipro.saas_0048.cegid_technical_screening_pack.v1",
  "roadmap_task_id": "SAAS-0048",
  "generated_at": "2026-06-29T08:12:49Z",
  "status": "public_safe_screening_pack",
  "screening_thesis": "LegiPro can be screened as a source-backed e-invoicing/VAT regulatory knowledge layer behind an existing accounting product: partner context goes in, a review-gated evidence packet plus draft dossier/export/audit IDs come back, and live Cegid credentials are not required for the first proof.",
  "first_thing_to_open": {
    "local_path": "site/legipro-fr/assets/legipro-einvoicing-vat-partner-proof-path-2026-06-29.json",
    "public_url": "https://legipro.fr/assets/legipro-einvoicing-vat-partner-proof-path-2026-06-29.json",
    "task_id": "SAAS-0049"
  },
  "likely_cegid_touchpoints": [
    {
      "touchpoint": "Loop / Expert cabinet and company-file workflows",
      "fit": "Use LegiPro's review packet as supporting evidence for invoice/e-invoicing or VAT review inside the existing Cegid workflow."
    },
    {
      "touchpoint": "Document management / Store Document style handoff",
      "fit": "Map the draft export bundle and audit id to a partner document or dossier reference after sandbox credentials exist."
    },
    {
      "touchpoint": "Cegid Pulse / internal AI assistant surfaces",
      "fit": "Use REST/GraphQL/MCP/SDK surfaces as the source-backed regulatory evidence provider without adopting the Bureau UI."
    },
    {
      "touchpoint": "Partner / ISV screening path",
      "fit": "Start with credential-free fixtures, then promote only after security, source-rights and sandbox scope are agreed."
    }
  ],
  "asset_index": {
    "screening_pack_json": {
      "local_path": "site/legipro-fr/assets/legipro-cegid-technical-screening-pack-2026-06-29.json",
      "public_url": "https://legipro.fr/assets/legipro-cegid-technical-screening-pack-2026-06-29.json",
      "task_id": "SAAS-0048"
    },
    "einvoicing_vat_partner_proof_path": {
      "local_path": "site/legipro-fr/assets/legipro-einvoicing-vat-partner-proof-path-2026-06-29.json",
      "public_url": "https://legipro.fr/assets/legipro-einvoicing-vat-partner-proof-path-2026-06-29.json",
      "task_id": "SAAS-0049"
    },
    "partner_integration_pack": {
      "local_path": "site/legipro-fr/assets/legipro-partner-integration-pack-2026-06-28.json",
      "public_url": "https://legipro.fr/assets/legipro-partner-integration-pack-2026-06-28.json",
      "task_id": "SAAS-0037"
    },
    "openapi_snapshot": {
      "local_path": "site/legipro-fr/assets/legipro-openapi-2026-06-27.json",
      "public_url": "https://legipro.fr/assets/legipro-openapi-2026-06-27.json",
      "task_id": "SAAS-0033"
    },
    "api_contract": {
      "local_path": "site/legipro-fr/assets/legipro-api-contract-2026-06-27.json",
      "public_url": "https://legipro.fr/assets/legipro-api-contract-2026-06-27.json",
      "task_id": "SAAS-0009"
    },
    "cegid_loop_expert_adapter_stub": {
      "local_path": "site/legipro-fr/assets/legipro-cegid-loop-expert-einvoicing-adapter-stub-2026-06-29.json",
      "public_url": "https://legipro.fr/assets/legipro-cegid-loop-expert-einvoicing-adapter-stub-2026-06-29.json",
      "task_id": "SAAS-0047"
    }
  },
  "runnable_commands": [
    {
      "name": "api_contract_smoke",
      "purpose": "Verify static OpenAPI, quickstart, API guide links and partner proof-path publication.",
      "command": "python3 -m pytest tests/test_static_openapi_snapshot.py tests/test_partner_quickstart.py tests/test_einvoicing_vat_partner_proof_path.py -q"
    },
    {
      "name": "sdk_metadata_smoke_typescript",
      "purpose": "Load the repo-only TypeScript SDK metadata without a bearer token or network call.",
      "command": "node -e \"import('./sdk/legipro-typescript-beta/dist/index.mjs').then(m=>console.log(m.SDK_METADATA.name, m.SDK_METADATA.version, m.SDK_METADATA.status))\""
    },
    {
      "name": "sdk_metadata_smoke_python",
      "purpose": "Load the repo-only Python SDK metadata without a bearer token or network call.",
      "command": "PYTHONPATH=sdk/legipro-python-beta/src python3 -c \"from legipro_sdk_beta import SDK_METADATA; print(SDK_METADATA['name'], SDK_METADATA['version'], SDK_METADATA['status'])\""
    },
    {
      "name": "adapter_proof_path_smoke",
      "purpose": "Regenerate the credential-free e-invoicing/VAT proof path and verify ID continuity.",
      "command": "python3 scripts/build_legipro_saas0049_partner_proof_path.py --json"
    },
    {
      "name": "cegid_stub_fail_closed_smoke",
      "purpose": "Verify credentialed Cegid-shaped mode fails closed when the token file is absent.",
      "command": "python3 scripts/build_legipro_cegid_loop_expert_adapter_stub.py --mode credentialed --credential-file /tmp/legipro-missing-cegid-token --receipt /tmp/legipro-cegid-fail-closed.json --json || test $? -eq 2"
    }
  ],
  "proof_summary": {
    "status": "machine_verified_dry_run_proof_path",
    "answerability": "partially_answerable",
    "source_count": 3,
    "missing_fact_count": 3,
    "risk_flag_count": 2,
    "adapter_identity_checks": {
      "expected_ids": {
        "dossier_id": "dos_959f0ad96197",
        "export_bundle_id": "exp_959f0ad96197",
        "audit_id": "aud_959f0ad96197"
      },
      "proof_handoff_match": true,
      "shared_adapter_match": true,
      "cegid_stub_match": true
    },
    "acceptance_summary": {
      "single_bounded_workflow": true,
      "public_safe_command_receipts": true,
      "answerability_status_present": true,
      "sources_present": true,
      "applicability_present": true,
      "missing_facts_or_risk_flags_present": true,
      "draft_dossier_export_and_audit_present": true,
      "source_snapshot_present": true,
      "partner_handoff_payload_present": true,
      "shared_adapter_consumes_dossier_export_metadata": true,
      "cegid_stub_consumes_dossier_export_metadata": true,
      "no_live_third_party_api_call": true,
      "no_third_party_mutation": true,
      "readiness_flags_false": true
    }
  },
  "cegid_public_doc_note": {
    "source_note": "docs/product/cegid-api-integration-check-2026-06-28.md",
    "known_public_signals": [
      "Cegid Developers portal exists.",
      "Loop API references subscription key, x-apikey key/secret, LoopHub activation and CEGIDPARTENAIRES test environment.",
      "Document Store style handoff is a plausible proof target."
    ],
    "not_claimed": [
      "No Cegid credentials.",
      "No LoopHub activation.",
      "No approved Cegid partnership.",
      "No live Cegid API call."
    ]
  },
  "risk_register_link": {
    "local_path": "site/legipro-fr/assets/legipro-architecture-risk-register-2026-06-29.json",
    "public_url": "https://legipro.fr/assets/legipro-architecture-risk-register-2026-06-29.json",
    "risk_count": 10
  },
  "acceptance_summary": {
    "single_pack_exists": true,
    "proof_path_machine_verified": true,
    "openapi_snapshot_static": true,
    "partner_pack_references_saas0049": true,
    "sdk_betas_documented": true,
    "cegid_stub_dry_run": true,
    "runnable_commands_present": true,
    "no_live_third_party_call_claimed": true,
    "readiness_flags_false": true
  },
  "boundaries": {
    "scenario_ready": false,
    "answer_ready": false,
    "promotion_allowed": false,
    "human_review_complete": false,
    "client_reliance": false,
    "semantic_search_active": false,
    "professional_certification": false
  }
}
