{
  "edition": "20261017-r4",
  "kind": "design_requirements_not_runtime_configuration",
  "routeChoiceRequired": [
    "official_remote_existing_chats",
    "experimental_app_server_new_exercise",
    "separate_audited_native_adapter"
  ],
  "platformChoiceRequired": [
    "windows_native",
    "macos",
    "linux_native",
    "wsl2"
  ],
  "defaults": {
    "bind": "127.0.0.1",
    "singleOwner": true,
    "singleProject": true,
    "newSessionOnly": true,
    "controlTextOnly": true,
    "shellEndpoint": false,
    "uncertainCommandReplay": false,
    "remoteExposure": false,
    "repairEnabledWithoutOwnerOptIn": false,
    "autoInstallServices": false
  },
  "compatibility": {
    "versionNumberOnly": "diagnostic; does not prove compatibility",
    "publicAdapter": "schema + handshake + contract tests for resolved executable",
    "privateAdapter": "audited reachable implementation manifest for this platform; not included"
  },
  "maintenanceWhenAuthorized": {
    "intervalMinutes": 30,
    "maxCyclesPerFingerprint": 3,
    "exclusiveLock": true,
    "journal": [
      "fingerprint",
      "phase",
      "attempts",
      "next_step",
      "previous_release",
      "candidate_revision",
      "test_results",
      "health_verified"
    ],
    "deferIf": [
      "active_delivery",
      "undelivered_result",
      "pending_claim",
      "unknown_state"
    ],
    "automaticRetryUnknownUserTask": false,
    "preserveAccessAndSecurity": true,
    "preservePreviousRelease": true,
    "notify": [
      "recovered_after_failure",
      "owner_action_required"
    ]
  },
  "acceptance": [
    "local_protocol",
    "fault_injection_marked_fake",
    "real_control_if_authorized",
    "target_os_runtime",
    "remote_second_device",
    "restart_sleep_wake",
    "backup_restore",
    "revocation"
  ],
  "implementation": "Use exercise/config.example.json only according to its README; these design requirements do not imply all maintenance/service features are implemented in the sample.",
  "syncMonitoringWhenAuthorized": {
    "intervalMinutes": 30,
    "readPayload": false,
    "routineModelCalls": false,
    "signals": [
      "reader_freshness_and_errors",
      "ready_undelivered_result_age",
      "existing_synthetic_file_length_and_sha256"
    ],
    "existingFileCheckProves": "Existing download integrity only; not new upload or full model round trip",
    "snapshotPublicationTransientRetryMax": 1,
    "partialTransportCycleRetryMaxSecondsPlusRequestDuration": 30,
    "restartOnly": "registered stopped/stale reader",
    "blockRestartOn": [
      "active_delivery",
      "unknown_delivery",
      "authentication_error",
      "certificate_error"
    ],
    "safeDiagnostics": [
      "stage",
      "category",
      "errno",
      "HTTP_code",
      "SSL_code",
      "total_error_count"
    ],
    "fullModelAcceptance": "Separate authorization after relevant repair"
  },
  "ownerBoundaries": [
    "No deleting/archiving chats, projects, history, files or accounts",
    "No changes to access, payments, security settings or credentials",
    "No extraction of secrets, identities, private contacts/documents or financial data",
    "No bypass through tools/commands/files/other chats; propagate restrictions to delegates"
  ],
  "scope": "General requirements, not actual owner settings or runnable config",
  "publication": {
    "allowlistOnly": true,
    "exclude": [
      "state",
      "credentials",
      "auth",
      "work",
      "logs",
      "evidence",
      "config.json"
    ],
    "deviceInventory": "private",
    "serveWorkingTreeAsStatic": false
  }
}
