{
  "schema": "trinityaccord.gateway-v1-legacy-status.v1",
  "purpose": "Status of Gateway v1 APIs. Gateway v1 is retired as an active runtime and preserved as historical archive only.",
  "legacy_status": {
    "overall": "historical_archive_only",
    "effective_date": "2026-06-01T00:00:00Z",
    "migration_target": "render_record_chain_intake_gateway",
    "status": "historical_archive_only",
    "not_active_runtime": true,
    "not_primary_path": true,
    "not_current_submission_method": true,
    "deprecation_notice": "Gateway v1 has been retired. The only public submission method is the Record-Chain Intake Gateway on Render. External agents must not clone the repository or request GitHub PATs.",
    "migration_guidance_url": "/api/record-chain-intake-gateway.v1.json",
    "backward_compatibility": "not_maintained"
  },
  "affected_apis": [
    {
      "api_file": "api/agent-submit-gateway.json",
      "endpoint": "/agent-submit",
      "legacy_status": "retired_pointer",
      "replacement": "Record-Chain Intake Gateway: /record-chain/submit on Render"
    },
    {
      "api_file": "api/route-selector.v1.json",
      "endpoint": "/api/route-selector.v1.json",
      "legacy_status": "retired_pointer",
      "replacement": "scripts/trinity_record_builder.py CLI with record-type subcommands"
    },
    {
      "api_file": "api/gateway-runtime-contract.v1.json",
      "endpoint": "/gateway/preflight",
      "legacy_status": "retired_pointer",
      "replacement": "Record-Chain Intake Gateway: /record-chain/preflight on Render"
    }
  ],
  "affected_workflows": [
    {
      "workflow_file": ".github/workflows/echo-triage.yml",
      "legacy_status": "archived",
      "note": "Moved to legacy/gateway-v1/workflows/"
    },
    {
      "workflow_file": ".github/workflows/guardian-registry-auto-list.yml",
      "legacy_status": "archived",
      "note": "Moved to legacy/gateway-v1/workflows/"
    },
    {
      "workflow_file": ".github/workflows/run-all-tests.yml",
      "legacy_status": "archived",
      "note": "Moved to legacy/gateway-v1/ci-history/"
    }
  ],
  "native_record_chain_status": {
    "api_file": "api/record-chain-status.json",
    "status": "active",
    "builder": "scripts/trinity_record_builder.py",
    "storage": "record-chain/"
  },
  "boundary": {
    "legacy_apis_still_functional": false,
    "new_submissions_should_use_record_chain": true,
    "no_data_loss": true,
    "existing_records_preserved": true,
    "not_authority": true,
    "not_governance": true,
    "not_attestation": true,
    "not_successor_reception": true,
    "not_amendment": true,
    "bitcoin_originals_prevail": true
  },
  "source_digest_algorithm": "sha256(canonical_json_without_source_digest)",
  "source_digest": null,
  "record_chain_intake_gateway": {
    "api_file": "api/record-chain-intake-gateway.v1.json",
    "base_url": "https://trinity-record-chain-gateway.onrender.com",
    "status": "active_public_submission_interface",
    "is_only_public_submission_method": true
  }
}
