{
  "schemaVersion": "1.0",
  "frozenAt": "2026-10-02T16:45:40.621394+00:00",
  "status": "frozen_pending_parent_review",
  "product": "Khoj self-hosted open-source app",
  "scope": "Full native app, exact official source, original native HTTP index/chat routes. Cloud service was sunset; no hosted-demo claim.",
  "executionGate": "Parent must review this exact contract SHA and coordinate resources before any Khoj full server, Ollama server, retrieval model constructor, indexing or frozen answer case starts.",
  "source": {
    "commit": "ae229ca894c0b80ad84664afcfdde523b5e87057",
    "archiveUrl": "https://codeload.github.com/khoj-ai/khoj/tar.gz/ae229ca894c0b80ad84664afcfdde523b5e87057",
    "archiveBytes": 74329609,
    "archiveSha256": "0f5f46ed6a15fa635db10cbdbf99455ece1103a31dee301b8be8457a38cd277a",
    "officialLockSha256": "c57e8ccd67f2986be5f42ddd78edab875ec6b315b2d0469654cac8828d912250",
    "officialSourceModified": false,
    "officialDependencyDeclarationsModified": false,
    "distributionLabel": "2.0.0.dev0+gae229ca894c0",
    "distributionLabelMeaning": "Archive has no .git. SETUPTOOLS_SCM_PRETEND_VERSION only supplies local wheel metadata; source identity is commit plus archive digest, not a claimed official release.",
    "installedSourceComparison": {
      "path": "installed-source-byte-comparison-frozen-v1.json",
      "bytes": 59385,
      "sha256": "6ccf4d7118f2d20b87b697436e29d5c10ac8ad1f3b25a3ee84ee612a2a29d579"
    },
    "allOriginalPythonFilesMatchInstalledBytes": true,
    "originalPythonFileCount": 222
  },
  "runtime": {
    "pythonVersion": "3.12.14",
    "platform": "Windows-11-10.0.26200-SP0",
    "pythonRoot": "<task-D-venv>",
    "installedInventory": {
      "path": "installed-package-inventory-frozen-v1.json",
      "bytes": 9553,
      "sha256": "954e40dc2be100c6be4c8bd01766a8163d2b0d7c0784942c11aea634896c8c19"
    },
    "fullOfficialBaseAndLocalExtraInstalled": true,
    "installMethod": "uv0.9.28 --no-config sync --locked --no-dev --extra local --no-editable; exact official uv.lock",
    "optionalNativeTracingDependency": "GitPython 3.1.50 from same official lock",
    "nativeCompatibilityCheckReturncode": 0,
    "sourceOrLockChangesForInstall": false,
    "preparationFailuresRetained": [
      "Unlocked pip dependency resolution conflicted with official websockets==13; exact official uv.lock installation succeeded.",
      "Original pgserver0.1.4 Windows wheel omitted timezone data; first UTC native migrate failed. Exact declared tzdata supplement enabled unchanged native migration.",
      "Configuration helper v1 timed out; v2 using an in-process ownership observer exited 0xC0000005 during Django import. Same native configuration v3 without that observer succeeded. No asserted root cause."
    ]
  },
  "ui": {
    "buildReceipt": "native-ui-build-v1.json",
    "officialBunVersion": "1.4.2",
    "officialNextVersion": "15.5.18",
    "installCommand": "bun install --frozen-lockfile",
    "buildCommand": "bun run build",
    "installAndBuildExitCodes": [
      0,
      0
    ],
    "originalPackageLockAndNextConfigUnchanged": true,
    "originalExportCopiedToInstalledInterfaceBuilt": true,
    "claim": "Official UI build only; no served UI/business-interaction success yet.",
    "reverifiedNativeExportFileCount": 224
  },
  "database": {
    "backend": "Official supported standard PostgreSQL config using original native binaries supplied by pgserver0.1.4 wheel",
    "usesEmbeddedDb": false,
    "postgresVersion": "16.2",
    "actualPgvectorExtensionVersion": "0.6.2",
    "host": "127.0.0.1",
    "port": 54376,
    "database": "khoj_lab_20261002",
    "pgdata": "<task-D>/db/standard-postgres",
    "auth": "Trust limited to loopback task database; synthetic local account only",
    "timezoneSupplement": {
      "source": "Khoj exact declared tzdata==2023.3",
      "fileCount": 597,
      "bytes": 337912,
      "location": "<task-D-venv>/Lib/site-packages/pgserver/pginstall/share/postgresql/timezone",
      "allCopiedBytesMatchOriginal": true,
      "disclosure": "Native wheel runtime was supplemented with fixed TZif assets and is not a pristine wheel. Khoj source and SQL timezone request remained unchanged.",
      "receipt": "native-timezone-supplement-v1.json",
      "reverifiedAssetCount": 597
    },
    "lastNativeMigrationExitCode": 0,
    "lastNativeConfiguration": {
      "checkedAt": "2026-10-02T16:30:44.810202+00:00",
      "status": "native_supported_admin_configuration_prepared_without_model_calls",
      "before": {
        "corpusEntries": 0,
        "apiProviders": 0,
        "chatModels": 0,
        "searchModels": 0,
        "users": 0
      },
      "after": {
        "corpusEntries": 0,
        "apiProviders": 1,
        "chatModels": 1,
        "searchModels": 1,
        "users": 1
      },
      "nativeModelConfig": {
        "chat": {
          "name": "uagentkit-qwen-coder:1.5b",
          "type": "openai",
          "max_prompt_size": 8192,
          "subscribed_max_prompt_size": 8192,
          "tokenizer": null,
          "vision_enabled": false,
          "api_base_url": "http://127.0.0.1:11481/v1/",
          "providerName": "Ollama",
          "apiKeyKind": "non-billable local placeholder; value omitted"
        },
        "server": {
          "memory_mode": "disabled",
          "allSixChatSlotsUseSameLocalModel": true
        },
        "search": {
          "name": "default",
          "bi_encoder": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\models\\huggingface\\thenlper--gte-small\\17e1f347d17fe144873b1201da91788898c639cd",
          "cross_encoder": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\models\\huggingface\\mixedbread-ai--mxbai-rerank-xsmall-v1\\b5c6e9da73abc3711f593f705371cdbe9e0fe422",
          "bi_encoder_model_config": {
            "device": "cpu",
            "local_files_only": true,
            "revision": "17e1f347d17fe144873b1201da91788898c639cd",
            "cache_folder": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\hf-cache"
          },
          "cross_encoder_model_config": {
            "device": "cpu",
            "local_files_only": true,
            "revision": "b5c6e9da73abc3711f593f705371cdbe9e0fe422",
            "cache_dir": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\hf-cache"
          },
          "bi_encoder_query_encode_config": {},
          "bi_encoder_docs_encode_config": {},
          "bi_encoder_confidence_threshold": 0.18,
          "embeddings_inference_endpoint_type": "local",
          "embeddings_inference_endpoint": null,
          "cross_encoder_inference_endpoint": null
        }
      },
      "stateResolution": {
        "profileExpandedHome": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\profile",
        "expandedKhojState": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\profile\\.khoj",
        "temp": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\temp",
        "HF_HOME": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\hf-cache",
        "TORCH_HOME": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\torch-cache",
        "TIKTOKEN_CACHE_DIR": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\tiktoken-cache",
        "OLLAMA_MODELS": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\models\\ollama"
      },
      "onlySyntheticTaskAdmin": true,
      "privateCredentialValuesPrinted": false,
      "magikaInitialization": "Authorized no-fixture native django settings import only; no identify/predict call",
      "classifierPredictionCalls": 0,
      "chatGenerationCalls": 0,
      "embeddingModelConstructorsCalled": 0,
      "crossEncoderConstructorsCalled": 0,
      "caseFixturesUsed": 0,
      "modelsMetadata": {
        "khoj": "2.0.0.dev0+gae229ca894c0",
        "torch": "2.6.0",
        "sentence-transformers": "3.4.1",
        "transformers": "4.53.3",
        "magika": "0.5.1",
        "psycopg2-binary": "2.9.9",
        "pgserver": "0.1.4",
        "pgvector": "0.2.4",
        "tiktoken": "0.9.0"
      }
    },
    "databaseStopped": true,
    "lastKnownCorpusEntries": 0,
    "reverifiedNativeBinaries": [
      {
        "name": "initdb.exe",
        "bytes": 296408,
        "sha256": "5f0e6a9485d367fd5b821dfb4a06c4c423f003bda26ec172820c3ebc4b755cf9"
      },
      {
        "name": "pg_ctl.exe",
        "bytes": 203675,
        "sha256": "ece3536fd177b0b0125ca8078579d0013041ea741d0033089394269d9382ecf7"
      },
      {
        "name": "postgres.exe",
        "bytes": 9836191,
        "sha256": "d2890647c2090fdd6f7afa34e727022c0a4048360690027b0197879c8130f1c7"
      },
      {
        "name": "psql.exe",
        "bytes": 655936,
        "sha256": "3fe181b3040ba73d6e7bf593b012fea7369bfb47f0cb9b477426c8a518b46335"
      },
      {
        "name": "createdb.exe",
        "bytes": 201561,
        "sha256": "c4bf53ce6f18a43434bfc94fe94e68c715c15d34b448d6ec68861956455ce933"
      }
    ]
  },
  "magika": {
    "packageVersion": "0.5.1",
    "onnxWeightSha256": "71892ac28ffe028b9512561584970417f8cee1f2fbb7624634f4032cb92a0a5a",
    "license": "Apache-2.0 at official tag python-v0.5.1",
    "preparationInitialization": "Parent-authorized no-fixture native Django settings import initialized bundled CPU ONNX session. This is disclosed separately from chat/retrieval model loading.",
    "identifyOrPredictCalls": 0
  },
  "chatModel": {
    "taskAlias": "uagentkit-qwen-coder:1.5b",
    "aliasIsUpstreamRegistryTag": false,
    "identity": "Qwen2.5 Coder 1.5B Instruct",
    "quantization": "Q4_K_M",
    "manifestSha256": "86f7b8b4029674a27afb81e2d867395d88fe666494f7774c588ffd4b9bb34458",
    "weightBytes": 986048576,
    "weightSha256": "29d8c98fa6b098e200069bfb88b9508dc3e85586d20cba59f8dda9a808165104",
    "manifestParameters": {
      "num_ctx": 8192,
      "num_predict": 1024,
      "temperature": 0
    },
    "nativeProviderApiBase": "http://127.0.0.1:11481/v1/",
    "apiKeyKind": "non-billable local placeholder; actual value omitted",
    "nativeGenerationParameters": {
      "temperature": 0.6,
      "top_p": 0.95,
      "seed": 42,
      "readTimeoutSeconds": 300,
      "nativeMaxCompletionTokens": 16000,
      "context": 8192,
      "manifestNumPredict": 1024,
      "disclosure": "Native temperature 0.6 and max_completion_tokens 16000 override manifest temperature 0 and may override manifest num_predict 1024. Public API stream=false still uses native provider streaming. Native seed42 is fixed; determinism is not claimed. Actual native call settings/counts remain execution evidence.",
      "nativeProviderStreaming": true,
      "publicApiStreaming": false,
      "nativeAutomaticRetryPolicy": {
        "helperCompletion": "up to 2 original attempts",
        "asyncChatCompletion": "up to 3 original attempts",
        "disclosure": "No evaluator retry to improve outcome. Unchanged product-internal retry policy remains enabled and every observed native attempt must be counted."
      }
    },
    "serverSlots": "All six native chat/think slots point to the exact local task alias",
    "memoryMode": "disabled",
    "tokenBudgetEstimator": "Native fallback gpt-4o/o200k_base; alias is not recognized by tiktoken. It is a native approximation, not the Qwen vocabulary.",
    "license": {
      "embedded": "Apache-2.0",
      "embeddedSha256": "b907c8234b565e5ecefff8232dbb6f1d603fbf9a47a3176db734dcae27175d08",
      "upstreamPinnedRepo": "Qwen/Qwen2.5-Coder-1.5B-Instruct",
      "upstreamPinnedRevision": "2e1fd397ee46e1388853d2af2c993145b0f1098a",
      "upstreamLicenseSha256": "832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e",
      "quantizedDownloadProvenanceLimit": "Existing permitted GGUF bytes are identified by digest and embedded metadata. Separate upstream license receipt does not establish original GGUF download/quantization provenance."
    }
  },
  "retrievalModels": [
    {
      "repo": "thenlper/gte-small",
      "revision": "17e1f347d17fe144873b1201da91788898c639cd",
      "license": "mit",
      "assetCount": 10,
      "bytes": 67759155,
      "allAssetsReverified": true,
      "immutableOfficialMetadataPreviouslyMatched": true
    },
    {
      "repo": "mixedbread-ai/mxbai-rerank-xsmall-v1",
      "revision": "b5c6e9da73abc3711f593f705371cdbe9e0fe422",
      "license": "apache-2.0",
      "assetCount": 9,
      "bytes": 152862657,
      "allAssetsReverified": true,
      "immutableOfficialMetadataPreviouslyMatched": true
    }
  ],
  "retrievalSettings": {
    "name": "default",
    "bi_encoder": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\models\\huggingface\\thenlper--gte-small\\17e1f347d17fe144873b1201da91788898c639cd",
    "cross_encoder": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\models\\huggingface\\mixedbread-ai--mxbai-rerank-xsmall-v1\\b5c6e9da73abc3711f593f705371cdbe9e0fe422",
    "bi_encoder_model_config": {
      "device": "cpu",
      "local_files_only": true,
      "revision": "17e1f347d17fe144873b1201da91788898c639cd",
      "cache_folder": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\hf-cache"
    },
    "cross_encoder_model_config": {
      "device": "cpu",
      "local_files_only": true,
      "revision": "b5c6e9da73abc3711f593f705371cdbe9e0fe422",
      "cache_dir": "D:\\uAgentKit-lab\\khoj-native-2026-10-02\\hf-cache"
    },
    "bi_encoder_query_encode_config": {},
    "bi_encoder_docs_encode_config": {},
    "bi_encoder_confidence_threshold": 0.18,
    "embeddings_inference_endpoint_type": "local",
    "embeddings_inference_endpoint": null,
    "cross_encoder_inference_endpoint": null
  },
  "ollamaRuntime": {
    "version": "0.35.0",
    "nativeRuntimeReceipt": "ollama-runtime-preparation-v1.json",
    "sourceLicense": "MIT at official v0.35.0 / cc4069396f3ad2c370c53eed2e4a42ac13adab84",
    "runtimePath": "<task-D>/runtime/ollama/bin",
    "modelStore": "<task-D>/models/ollama",
    "serverStarted": false,
    "weightLoaded": false,
    "reverifiedAssetCount": 82,
    "reverifiedRuntimeBytes": 1930244406
  },
  "environment": {
    "builder": "native-state-env.py",
    "builderSha256": "dc44fcaab963725ddb3d225446428264ea1700cf72ca87aa6aefa4d19bcbbc5a",
    "windowsEssentialInheritanceAllowlist": [
      "SystemRoot",
      "WINDIR",
      "SystemDrive",
      "COMSPEC",
      "PROCESSOR_ARCHITECTURE",
      "NUMBER_OF_PROCESSORS"
    ],
    "inheritedProviderVariables": [],
    "explicitNonSecretControls": {
      "USE_EMBEDDED_DB": "False",
      "POSTGRES_HOST": "127.0.0.1",
      "POSTGRES_PORT": "54376",
      "POSTGRES_DB": "khoj_lab_20261002",
      "KHOJ_TELEMETRY_DISABLE": "True",
      "KHOJ_NO_HTTPS": "True",
      "KHOJ_DOMAIN": "localhost",
      "KHOJ_LLM_SEED": "42",
      "HF_HUB_OFFLINE": "1",
      "TRANSFORMERS_OFFLINE": "1",
      "HF_HUB_DISABLE_TELEMETRY": "1",
      "CUDA_VISIBLE_DEVICES": "-1",
      "TOKENIZERS_PARALLELISM": "false",
      "OMP_NUM_THREADS": "2",
      "MKL_NUM_THREADS": "2",
      "NO_PROXY": "127.0.0.1,localhost,::1",
      "OPENAI_BASE_URL": "http://127.0.0.1:11481/v1/",
      "KHOJ_DEFAULT_CHAT_MODEL": "uagentkit-qwen-coder:1.5b",
      "OLLAMA_HOST": "127.0.0.1:11481",
      "OLLAMA_NUM_PARALLEL": "1",
      "OLLAMA_MAX_LOADED_MODELS": "1",
      "OLLAMA_CONTEXT_LENGTH": "8192",
      "OLLAMA_KEEP_ALIVE": "0",
      "GIT_CONFIG_GLOBAL": "nul",
      "GIT_CONFIG_NOSYSTEM": "1"
    },
    "allWritableRoots": "Task-owned D profile/home/log/temp/cache/model/db/trace directories",
    "credentialVariables": [
      "KHOJ_ADMIN_EMAIL",
      "KHOJ_ADMIN_PASSWORD",
      "KHOJ_DJANGO_SECRET_KEY"
    ],
    "credentialFile": "<task-D>/profile/synthetic-local-credentials.json",
    "credentialFileSha256": "fd21913bc1ec43fbdce140a2cb72991841ea7d67a5511bfb7b4395b28c31be85",
    "credentialValuesPublic": false,
    "readOnlyGitReferenceSha256": "bc7a3d8b606b077baaa82e6b51bc58d50fd8d3c735c172f2053837ac0199f452",
    "gitExecutableSha256": "c53279919fdea03474bb23b465b3a82287157491f1bd69a5eb82dd9831582333",
    "gitActualAccountPathDisclosure": "Private task-D reference only; public contract omits actual host account path"
  },
  "nativeTracing": {
    "feature": "Official PROMPTRACE_DIR / commit_conversation_trace implementation, unmodified",
    "directory": "<task-D>/private-native-trace",
    "captureRequirement": "Retain native per-provider-call prompt/response history and actual generation settings; reconcile with local Ollama HTTP request counts and native app logs. Missing trace is disclosed and not counted as verified generation evidence.",
    "rawVisibility": "Private because native trace can contain hidden thinking and full internal prompts. Public evidence retains unedited final answer and native references; no hidden thinking, credentials or host account path."
  },
  "frozenOriginalCaseContract": {
    "path": "khoj-case-suggestions-frozen-v1.json",
    "sha256": "a1bc165315996a5951205cc72cdb449c9609dfaee41d2c09789bc1883bd67848",
    "unchangedOriginalCases": 2,
    "unchangedOriginalPassConditions": 8,
    "unchangedOriginalFixtures": [
      {
        "path": "fixtures/juniper-inventory-2026-09-30.md",
        "bytes": 358,
        "sha256": "e370946255b6e9c82ee946b73cef0f06002d8dfe6b819211f96c7a0d03f8ac7a",
        "encoding": "UTF-8",
        "lineEndings": "LF",
        "synthetic": true,
        "unchangedAgainstOriginalResearchBytes": true
      },
      {
        "path": "fixtures/juniper-dispatch-2026-09-30.md",
        "bytes": 500,
        "sha256": "235b051a8a68a39fc09b98c0ff6e93dbb622300d8f3cc0135f3b88ee17794759",
        "encoding": "UTF-8",
        "lineEndings": "LF",
        "synthetic": true,
        "unchangedAgainstOriginalResearchBytes": true
      },
      {
        "path": "fixtures/juniper-policy-archive-2025-05-01.md",
        "bytes": 472,
        "sha256": "8b68d8dc247e5cd7010c05e4e32d3f74936f97f44d2ae07448f87763a0e1d8bd",
        "encoding": "UTF-8",
        "lineEndings": "LF",
        "synthetic": true,
        "unchangedAgainstOriginalResearchBytes": true
      }
    ],
    "requests": [
      {
        "caseId": "khoj-proposed-primary",
        "method": "POST",
        "url": "http://127.0.0.1:42191/api/chat",
        "contentType": "application/json",
        "path": "frozen-requests-v1/khoj-proposed-primary.json",
        "bytes": 742,
        "sha256": "a640e8c82c5c2084d0e43568236d31d293ce5929329ebd1f7c6af19c6aec9c62",
        "matchesOriginalFrozenBody": true
      },
      {
        "caseId": "khoj-proposed-boundary",
        "method": "POST",
        "url": "http://127.0.0.1:42191/api/chat",
        "contentType": "application/json",
        "path": "frozen-requests-v1/khoj-proposed-boundary.json",
        "bytes": 773,
        "sha256": "9b04432297efe09a000ef9bf049ea9fa89e195a8a156ad3c41eb881562afc7c2",
        "matchesOriginalFrozenBody": true
      }
    ],
    "indexRequest": {
      "method": "PUT",
      "url": "http://127.0.0.1:42191/api/content",
      "queryParameters": {},
      "nativeTDefault": "All; t intentionally omitted",
      "contentType": "multipart/form-data; boundary=uAgentKitKhojNativeFrozen20261002",
      "path": "frozen-requests-v1/index-three-original-files.multipart",
      "bytes": 1853,
      "sha256": "538a25db3fba49d231c0d12ab54488429783c4ce61818eca88239ff16a8aeaa2",
      "repeatedFieldName": "files",
      "originalFileCount": 3
    },
    "acceptanceMetrics": {
      "currency": "Exact intended value in USD cents; no tolerance that permits a wrong shipping fee or total. Formatting such as USD 66 or USD 66.00 is equivalent when units are explicit.",
      "stocks": "Exact integer units.",
      "sourceQuotes": "Compare retained quoted evidence to corresponding frozen UTF-8 file text; only line-ending/whitespace normalization is allowed for display formatting, not changing words, numbers or dates.",
      "citations": "Actual native reference.file and reference.compiled fields or native UI equivalent; citation presence alone does not prove answer grounding.",
      "unknownFacts": "Arrival date and refund-processing deadline are separately absent; unsupported answers remain failures.",
      "outcome": "Any failed original condition makes that case failed; missing native generation or citation evidence remains unverified/blocked rather than a passed product case."
    },
    "criteria": "Any failed original condition fails its case; no question/fixture/model/parameter changes after observing output. Preparation, search, readiness and UI build do not pass original cases."
  },
  "executionPlan": {
    "order": [
      "Parent reviews exact frozen contract SHA and finishes website build scheduling",
      "Recheck memory/disk and unused loopback ports",
      "Start owned original PostgreSQL via native pg_ctl, record external PID/executable/command/port ownership",
      "Start owned Ollama serve using exact frozen runtime, D model storage and explicit isolated env",
      "Start full native khoj executable using exact CLI; this performs first approved retrieval constructors",
      "Save native /chat and /search HTTP readiness evidence separately from answer cases",
      "PUT exact frozen three-file multipart once; retain native unedited result and corpus/fixture digests",
      "POST each exact frozen JSON body once in separate new native conversations; preserve native unedited raw JSON privately, final response/references publicly, provider trace and request counts",
      "Evaluate original eight conditions against final response and real source references; no retries intended to improve case outcome",
      "Stop and verify every task-owned server and listener"
    ],
    "nativeCli": [
      "<task-D-venv>/Scripts/khoj.exe",
      "--host",
      "127.0.0.1",
      "--port",
      "42191",
      "--anonymous-mode",
      "--non-interactive",
      "--log-file",
      "<task-D>/logs/khoj-native.log"
    ],
    "ollamaCli": [
      "<task-D>/runtime/ollama/bin/ollama.exe",
      "serve"
    ],
    "postgresStart": [
      "<task-D-venv>/Lib/site-packages/pgserver/pginstall/bin/pg_ctl.exe",
      "-D",
      "<task-D>/db/standard-postgres",
      "-l",
      "<task-D>/logs/postgresql.log",
      "-o",
      "-h 127.0.0.1 -p 54376",
      "-w",
      "start"
    ],
    "bounds": {
      "startupSeconds": 180,
      "indexSeconds": 180,
      "eachChatSeconds": 600,
      "controllerTotalSeconds": 1800,
      "communicationIntervalSeconds": 60
    },
    "stop": "Terminate only verified owned Khoj/Ollama process trees through controller; native pg_ctl -D exact task PGDATA -w stop; verify owned children exited and three loopback ports closed. Never stop unrelated apps.",
    "ownershipObserver": "External controller only; no psutil observer inserted in Khoj/Django native process",
    "resourceRule": "No concurrent website build or other delegated model inference. Parent coordinates after current resource snapshot."
  },
  "preExecutionSnapshot": {
    "checkedAt": "2026-10-02T16:45:40.621394+00:00",
    "ports": [
      {
        "host": "127.0.0.1",
        "port": 54376,
        "bindCheck": "unused; probe socket immediately closed"
      },
      {
        "host": "127.0.0.1",
        "port": 11481,
        "bindCheck": "unused; probe socket immediately closed"
      },
      {
        "host": "127.0.0.1",
        "port": 42191,
        "bindCheck": "unused; probe socket immediately closed"
      }
    ],
    "memory": {
      "totalPhysicalBytes": 34205044736,
      "availablePhysicalBytes": 5708017664,
      "physicalLoadPercent": 83
    },
    "DDrive": {
      "totalBytes": 664096731136,
      "usedBytes": 494310920192,
      "freeBytes": 169785810944
    }
  },
  "readinessNotYetVerified": [
    "Full native retrieval model construction",
    "Ollama server/model loading",
    "Full native Khoj startup and HTTP readiness",
    "Native content indexing",
    "Both original answer-quality cases"
  ],
  "caseExecutionCounters": {
    "fullKhojServerStarts": 0,
    "ollamaServerStarts": 0,
    "chatModelLoads": 0,
    "retrievalModelConstructors": 0,
    "originalFixtureIndexRequests": 0,
    "originalChatCaseRequests": 0,
    "generationCalls": 0
  },
  "supportingReceiptDigests": [
    {
      "path": "official-lock-install-v1.json",
      "bytes": 895,
      "sha256": "4860e77a998e52c45a0ce458679786d265ca6d4572f8a143eed96bd4bff4a4ec",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "native-ui-build-v1.json",
      "bytes": 43522,
      "sha256": "32aaf109e8c5bd7cf418e93cd4eca8d3e083a1d1224ae7c89b0214d957b5d78f",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "bundled-magika-static-review-v1.json",
      "bytes": 2711,
      "sha256": "f041b8c8905366a57c5b5cc7388f2aa9debb44f54626cadfe9e40dff409b8b71",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "native-timezone-supplement-v1.json",
      "bytes": 113575,
      "sha256": "396c5f0d6d7cd9c415e62c5e39a444ae34e87ff1acabb55ff1872a4333acc921",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "native-db-config-before-model-v3.json",
      "bytes": 3321,
      "sha256": "bc1ad0fbccc32eec5c489f99e2a6515185d23fd9edacc83316b495da5ca3ddea",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "native-db-config-lifecycle-v3.json",
      "bytes": 851,
      "sha256": "e212eff8339ad4ad340ebcaa831da000e4944a2974d4ad8e0e6421762819d409",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "native-tokenizer-and-chat-license-v1.json",
      "bytes": 3516,
      "sha256": "eb49dc9b593f43d4823888964287e9174ad1b68c987b279f1587a383a47ae6ba",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "chat-model-static-review-v1.json",
      "bytes": 4599,
      "sha256": "57e1f3527760f76ae80fa93a782b6d47cdd7e74f9e69db63c7690daf63fa8dcc",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "ollama-runtime-preparation-v1.json",
      "bytes": 18679,
      "sha256": "78ec3272ce4b3ef9cfbf4dfc03f2067c580be0c3f26a4ab515211253b98bb6bb",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "retrieval-model-assets-static-v1.json",
      "bytes": 10554,
      "sha256": "aedf7be40bbe61dfe95ede19882c6bba4b71e8a9c1191d98758a9c76f9a83485",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "native-tracing-preparation-v1.json",
      "bytes": 1062,
      "sha256": "87d2618021de37e39c3e71e071c2cc679d153f352f5413d99d5bb5067cb72ec9",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "native-state-env.py",
      "bytes": 2986,
      "sha256": "dc44fcaab963725ddb3d225446428264ea1700cf72ca87aa6aefa4d19bcbbc5a",
      "visibility": "technical preparation receipt"
    },
    {
      "path": "private-preparation-receipt-v1.json",
      "bytes": 3109,
      "sha256": "27bf095a0ead69284761b27506fe26b0fd3cd1c3f72616493cbd56efad42f8ea",
      "visibility": "private technical receipt"
    },
    {
      "path": "private-standard-native-db-readiness-v2.json",
      "bytes": 4611,
      "sha256": "15b2dde1d097cb6b9fdd695f19e9aede69ec5e9ce34ef055a937249eef092118",
      "visibility": "private technical receipt"
    },
    {
      "path": "private-native-db-config-v1.log",
      "bytes": 112,
      "sha256": "6edf3a6f97d7a613ab8d90f0eabeeb0a57adb883d2508f8cb72312fb7f871518",
      "visibility": "private technical receipt"
    },
    {
      "path": "private-native-db-config-v2.log",
      "bytes": 452,
      "sha256": "8309bb896d44d8bce31463d9e19c217bfd0e8b6152be57da0fccc60506065ad0",
      "visibility": "private technical receipt"
    },
    {
      "path": "private-native-db-config-v3.log",
      "bytes": 1039,
      "sha256": "674424aee7e1763d4b49410331e759a53a2a5ed3fa06691a12138b8b1ced6ed1",
      "visibility": "private technical receipt"
    },
    {
      "path": "private-full-install-v1.log",
      "bytes": 44837,
      "sha256": "c364d8de1e30b46f375bbcdae22c4103ec65a16571767bb8b6a34f7d62fef66a",
      "visibility": "private technical receipt"
    },
    {
      "path": "private-standard-native-db-readiness-v1.json",
      "bytes": 5449,
      "sha256": "cac2056d826ee1cae33d6bbb4f91c546b38a10efa5ba94ec9f810bb53ddd30be",
      "visibility": "private technical receipt"
    }
  ],
  "supersedes": {
    "path": "native-execution-contract-frozen-v1.json",
    "sha256": "2ef179bd7e112c1609c100aea521b645f47ef210b25fcb785489077a7d77ffe1",
    "reason": "Pre-execution precision revision fixes native max_completion_tokens=16000, provider streaming and original retry defaults, and revalidates runtime/UI/database asset bytes. Original cases/fixtures/model/config unchanged; no case executed."
  }
}
