curu-memory 0.3.0__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {curu_memory-0.3.0 → curu_memory-0.5.0}/.gitignore +1 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/CHANGELOG.md +35 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/PKG-INFO +114 -15
- {curu_memory-0.3.0 → curu_memory-0.5.0}/README.md +112 -14
- {curu_memory-0.3.0 → curu_memory-0.5.0}/pyproject.toml +4 -2
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/__init__.py +19 -1
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/__main__.py +49 -5
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/access.py +14 -6
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/browser.py +1 -1
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/config.py +4 -0
- curu_memory-0.5.0/src/curu_memory/crypto.py +159 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/embedders.py +2 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/errors.py +13 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/indexing.py +67 -35
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/library.py +34 -5
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/okf.py +50 -1
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/expected.toml +57 -0
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid/link-in-code.md +8 -0
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid/no-closing-line.md +4 -0
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid/not-a-mapping.md +5 -0
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid/not-utf-8.md +4 -0
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/valid/all-fields.md +28 -0
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/valid/code-is-not-a-link.md +9 -0
- curu_memory-0.5.0/src/curu_memory/okf_v0_2/schema.json +56 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/ports.py +31 -9
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/server.py +1 -1
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/store_sqlite.py +174 -74
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/conftest.py +30 -7
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/contract/public_api.txt +7 -0
- curu_memory-0.5.0/tests/contract/test_okf_conformance.py +159 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/contract/test_store_spaces.py +14 -14
- curu_memory-0.5.0/tests/contract/test_tool_schemas.py +223 -0
- curu_memory-0.5.0/tests/contract/tool_schemas.json +548 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_browser.py +5 -5
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_browser_media.py +4 -4
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_cli_access.py +13 -4
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_cli_index.py +7 -7
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_cli_search.py +4 -3
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_concept_tools.py +2 -2
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_core_install.py +3 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_http_agents.py +3 -1
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_http_oidc.py +3 -1
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_leak_paths.py +13 -9
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_library.py +19 -19
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_library_access.py +14 -14
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_no_secrets.py +2 -2
- curu_memory-0.5.0/tests/e2e/test_private_encryption.py +454 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_search_by_media_tool.py +4 -4
- curu_memory-0.5.0/tests/fixtures/eval_corpus/README.md +21 -0
- curu_memory-0.5.0/tests/fixtures/eval_vectors/README.md +14 -0
- curu_memory-0.5.0/tests/fixtures/eval_vectors/accepted.toml +6 -0
- curu_memory-0.5.0/tests/fixtures/eval_vectors/curu_rankings.json +389 -0
- curu_memory-0.5.0/tests/fixtures/eval_vectors/embeddinggemma-2.sqlite +0 -0
- curu_memory-0.5.0/tests/fixtures/eval_vectors/meta.json +9 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/search_eval.toml +1 -1
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/conftest.py +9 -9
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_rauthy.py +3 -2
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_access.py +10 -9
- curu_memory-0.5.0/tests/unit/test_encryption.py +540 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_index_determinism.py +3 -3
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_indexing.py +23 -19
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_indexing_images.py +3 -3
- curu_memory-0.5.0/tests/unit/test_okf.py +248 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_okf_faults.py +3 -3
- curu_memory-0.5.0/tests/unit/test_parity.py +324 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_readme.py +28 -2
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_retrieval.py +12 -12
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_search_eval.py +6 -6
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_spaces.py +4 -3
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_store_threads.py +3 -2
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_store_v1.py +3 -2
- curu_memory-0.3.0/tests/fixtures/curu_concepts/README.md +0 -8
- curu_memory-0.3.0/tests/unit/test_okf.py +0 -119
- {curu_memory-0.3.0 → curu_memory-0.5.0}/LICENSE +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/audit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/auth.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/media.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/oidc.py +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/bad-yaml.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/dup/same-name.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/link-no-kind.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/link-unknown-kind.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/no-description.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/no-front-matter.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/same-name.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/invalid}/wiki-link.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/bad_corpus → curu_memory-0.5.0/src/curu_memory/okf_v0_2/fixtures/valid}/valid.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/render.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/src/curu_memory/retrieval.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/__init__.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/contract/__init__.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/contract/test_index_store.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/__init__.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_cli_browse.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_search_tool.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_stdio_process.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/e2e/test_transports.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/1272-128104-0008.flac +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/1272-128104-0010.flac +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/1272-135031-0003.flac +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/1272-135031-0004.flac +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/1272-135031-0015.flac +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/1272-135031-0023.flac +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/README.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/query-1272-128104-0008.mp3 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/query-1272-128104-0010.mp3 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/query-1272-135031-0003.mp3 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/query-1272-135031-0004.mp3 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/query-1272-135031-0015.mp3 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/query-1272-135031-0023.mp3 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/tiny.flac +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/tiny.mp3 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/tiny.ogg +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio/tiny.wav +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/audio_eval.toml +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-calibration-delta-without-its-coverage-is-a-claim-the-reader-cannot-audit.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-calibration-run-scored-an-embellished-phrase-a-template-header-and-numbered-criteria.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-check-nobody-has-executed-is-not-a-check-that-works.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-cold-load-cut-by-the-proxy-keeps-loading-behind-the-auth-gate-and-api-ps-cannot-say-otherwise.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-crop-check-that-reports-the-subject-absent-caps-nothing-when-the-box-is-grounded.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-declared-manifest-filename-nothing-checks-is-a-rented-pod.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-declared-pin-is-not-applied-until-something-converges-to-it.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-documented-procedure-is-a-capability-that-does-not-exist.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-dropped-connection-is-not-an-answer-so-it-is-not-a-permanent-failure.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-grounded-box-off-its-subject-is-the-models-aim-not-the-coordinate-mapping.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-grounding-question-that-states-the-place-gets-the-place-back.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-hermetic-test-that-races-the-machine-decides-nothing.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-hermetic-tests-isolation-stops-at-the-process-boundary.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-holder-that-cannot-serve-is-not-a-holder.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-keep-set-derived-by-its-own-rule-deletes-the-file-it-meant-to-keep.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-manifest-family-name-is-not-an-atom-family-name.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-pairwise-judge-is-qualified-against-human-labels-in-both-orders-before-a-campaign-trusts-it.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-pod-curu-can-name-is-terminated-by-id-not-found-by-listing.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-pod-that-outlives-its-process-needs-a-third-word-for-who-owns-it.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-positive-control-that-passes-is-not-evidence-the-judge-can-finish-the-run.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-pull-request-body-closes-an-issue-you-only-meant-to-name.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-reasoning-phase-is-charged-to-the-same-output-budget-so-an-empty-answer-is-a-budget-symptom.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-record-that-names-a-cause-its-own-evidence-contradicts.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-repair-of-a-run-whose-pod-is-gone-rents-its-family-like-generate.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-reporting-path-is-handed-liveness-never-left-to-infer-it.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-requirement-that-says-explicit-can-ship-inferred-and-pass-every-test.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-research-conclusion-is-a-record-checked-against-the-trace-not-prose.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-role-binds-when-its-work-runs-not-when-the-plane-is-built.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-role-model-still-arriving-is-not-a-model-that-is-unavailable.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-rubric-scored-one-image-at-a-time-saturates-so-compare-pairs-blind-in-both-orders.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-rule-stated-twice-is-a-rule-that-will-disagree.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-run-journal-is-a-projection-of-one-file-per-run.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-run-time-union-is-invisible-to-every-resolver-that-does-not-consult-it.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-runpod-volume-reports-the-cluster-not-the-volume.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-scene-is-not-a-controlled-base-until-its-rubric-and-prompt-are-shared.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-second-entrypoint-does-not-inherit-a-fix-and-nothing-says-so.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-specialist-model-that-falls-back-to-the-workstation-is-not-slow-it-is-unusable.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-structural-usability-criterion-cannot-tell-whether-a-model-looked-at-the-image.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-subgraph-hides-the-nodes-a-workflow-really-needs.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-substring-substantiation-check-cannot-tell-a-quote-from-an-echo.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-usable-rate-collapses-silent-vacuity-with-loud-constraint-violation.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-word-from-the-prose-is-not-a-value-in-the-enum.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/a-worktree-venv-repoint-hijacks-the-main-checkouts-editable-install.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/adr-061s-family-gate-covers-only-the-curated-topology-path.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/after-provisioning-a-run-is-unreported-not-unbounded.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/an-api-workflow-does-not-announce-itself-in-its-name.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/an-atom-without-a-manifest-is-a-family-that-can-be-chosen-and-never-served.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/an-empty-artefact-can-be-an-answer-not-a-gap-to-fill.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/an-idle-parent-is-not-a-stalled-run.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/an-index-pass-must-record-and-verify-the-revision-it-read.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/an-interrupted-ollama-pull-resumes-so-a-stalled-transfer-is-worth-retrying.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/an-unreachable-backend-is-not-an-empty-one-so-preflight-before-reading-inventory.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/analyse-intent-context-window-gap.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/analyse-intent-failure-observability-gap.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/anatomy-crop-exemplars-are-operator-labelled-balanced-and-never-the-image-checked.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/anima-qwen-image.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/anna-frozen.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/architecture-family-recognition-is-filename-pattern-only.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/artifact-presence-confidence-is-not-real-calibration.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/artifact-presence-style-classification-prestep-dead-end.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/artifact-presence-stylization-wording-dead-end.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/bounding-a-comfyui-generation-on-silence-not-on-elapsed-time.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/cheap-deterministic-gate-shipped-inert.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/checkpoint-larger-than-vram-degrades-not-fails.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/chroma.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/comfyui-rescans-model-directories-by-mtime.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/comfyui-textgen-node.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/comfyui-upgrade-reaches-latest-not-a-named-version.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/comfyui-workflow-templates-catalogue.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/ae-vae.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/anima-turbo-checkpoint.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/anima-turbo-lora.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/chroma-hyper-flash-turbo.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/chroma1-hd-fp8mixed.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/clip-g-hidream.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/clip-l-hidream.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/flux2-dev-fp8mixed.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/flux2-vae.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/gemma-2-2b-fp16.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/gemma-3-12b-it-fp4-mixed.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/hidream-ae-vae.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/hidream-i1-dev-bf16.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/hunyuan-image-2.1-vae-fp16.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/hunyuanimage2.1-bf16.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/krea2-turbo-checkpoint.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/krea2-turbo-lora-rank64.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/krea2-turbo-projector-lora.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/llama-3.1-8b-instruct-fp8-scaled.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/ltx23-distilled-lora.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/mistral-3-small-flux2-fp8.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/omnigen2-fp16.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-2.5-vl-7b-fp8-scaled.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-2.5-vl-7b.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-2.5-vl-fp16.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-3-06b-base.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-3-4b.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-3-8b-fp8mixed.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-image-fp8-e4m3fn.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen-image-vae.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/qwen3vl-4b-fp8-scaled.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/t5xxl-fp8-e4m3fn-scaled.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/umt5-xxl-fp8-e4m3fn-scaled.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/wan22-a14b-moe-high-noise-diffusion-model.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/wan22-a14b-moe-low-noise-diffusion-model.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/wan22-lightx2v-high-noise-lora.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/wan22-lightx2v-low-noise-lora.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/wan22-ti2v-5b-diffusion-model.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/wan22-vae-dual-expert.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/wan22-vae-unified.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/components/z-image-turbo-bf16.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/configured-versus-provisioned-model-cross-check.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/content-frame-fraction-low-key-investigation.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/corpus-replay-artifact-presence-yield.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/could-not-do-it-and-nothing-to-do-returned-the-same-value.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/decompose-shots-native-transport-gap.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/deterministic-gate-opacity-and-best-attempt-selection-bug.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/dry-run-provisioning-claims-come-from-the-live-path.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/eager-role-model-resolution-rents-a-pod-before-any-backend-exists.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/fft-psd-periodicity-halftone-detector-dead-end.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/first-last-frame-video-conditioning.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/flux-klein.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/flux2.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/giving-a-rented-pod-back-is-defence-in-depth.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/graph-prompt-refiner-content-fidelity-gap.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/hidream.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/hpsv3-is-an-uncalibrated-second-preference-instrument.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/hunyuan-image.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/illustrious.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/installed-from-a-working-copy-drifts-from-its-source.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/karras-and-exponential-ignore-flux2s-shift-so-flux2-declares-its-known-good-schedulers.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/knowledge-is-three-file-tiers-and-the-database-is-only-their-projection.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/krea2.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/ltx2-3.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/lumina2.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/manifest-tables-must-be-read-through-the-include-chain.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/minimax-h3.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/omnigen2.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/one-backend-per-selection-is-not-one-per-run-so-nothing-stopped-a-second-comfyui-backend.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/pinning-the-base-image-does-not-pin-what-the-build-installs.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/pixel-quality-gate-content-class-generalization.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/pod-volume-must-be-sized-against-the-inherited-llm-set.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/ponyxl.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/prompt-refiner-draft-quality-gap.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/prompt-refiner-loop-convergence-gap.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/provision-model-civitai-multi-file-version-silent-wrong-pick.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/quantised-embedding-serving-llama-server.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/qwen-image.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/rank-fusion-starves-the-single-best-answer.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/reported-success-beside-real-failure.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/revision-seed-patch-mechanism.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/rife-frame-interpolation.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/runpod-comfyui-image-missing-zstd-breaks-ollama-install.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/sam3-multi-entity-disambiguation-limit.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/sam3-text-grounding-is-the-primary-grounder-the-vlm-its-fallback.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/saracen9-style-classification-gate-positive-signal.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/sddb-benchmark-campaign.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/sddb-video-benchmark-fixtures.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/seedvr2-rife-combined-pipeline.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/seedvr2-upscale.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/shared-gpu-ollama-comfyui-memory-contention.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/small-decision-encoders-do-not-replace-curus-llm-judgement-calls.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/some-models-ship-thinking-as-a-separate-tag-so-think-false-cannot-switch-it-off.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/streaming-does-not-cover-the-wait-for-the-first-byte-and-the-runpod-proxy-cuts-it-at-100s.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/streaming-ollama-pull-through-runpod-proxy-and-auth-gate.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/structured-output-field-order-required-fields-affect-decoding-quality.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/style-aware-artifact-gate-shipped-inert.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/testcontainers-ephemeral-port-forwarding-failure-mimics-a-red-suite.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/the-embedder-that-served-a-command-is-not-the-placement-its-config-names.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/the-glimmer-judge-answered-each-pair-with-one-position-in-both-orders.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/the-log-that-settles-a-wedge-was-truncated-by-the-next-start.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/the-second-sigterm-is-the-window-the-first-one-opened.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/the-three-saracen9-models-are-two-27b-siblings-and-a-9b.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/the-vlm-branch-measured-capture-provenance-where-the-cheap-gate-measured-style.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/timeout-discards-the-only-evidence-there-is.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/two-files-can-claim-one-atom-pairing-filename.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/two-seed-unanimity-is-not-evidence-and-more-seeds-make-it-credit-less.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/video-frame-defect-gate-fresh-generation-stress-test.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/wan22-5b.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/wan22-a14b-moe.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/wd14-tagging-structural-malformation-discrimination.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/whole-corpus-reconciliation-is-incoherent-under-concurrency.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/workflow-planner-emitted-no-patches-because-the-field-was-optional.md +0 -0
- {curu_memory-0.3.0/tests/fixtures/curu_concepts → curu_memory-0.5.0/tests/fixtures/eval_corpus}/z-image.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/image_eval.toml +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/blue-circle.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/checkerboard.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/green-triangle.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/not-an-image.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/query-blue-circle.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/query-checkerboard.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/query-green-triangle.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/query-rainbow-stripes.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/query-red-square.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/query-sunset.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/rainbow-stripes.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/red-square.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/sunset.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/tiny.jpg +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/tiny.png +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/images/tiny.webp +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/meaning_eval.toml +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/small_corpus/.obsidian/workspace.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/small_corpus/README.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/small_corpus/alpha-family.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/small_corpus/alpha-turbo.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/small_corpus/cfg-finding.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/small_corpus/components/alpha-vae.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/small_corpus/sdxl_base_1.0.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/README.md +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/blue-circle-grows.mp4 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/checkerboard-flashes.mp4 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/green-triangle-turns.mp4 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/query-blue-circle-grows.webm +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/query-checkerboard-flashes.webm +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/query-green-triangle-turns.webm +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/query-rainbow-scrolls.webm +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/query-red-square-moves.webm +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/query-sun-sets.webm +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/rainbow-scrolls.mp4 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/red-square-moves.mp4 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/sun-sets.mp4 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/tiny.mkv +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/tiny.mov +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/tiny.mp4 +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video/tiny.webm +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/fixtures/video_eval.toml +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/__init__.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_audio_limit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_audio_query_limit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_image_limit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_image_query_limit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_real_embedder.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_similarity_limit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_video_limit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/integration/test_video_query_limit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/support/__init__.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/support/fake_issuer.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/support/http_server.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/__init__.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_adr_019.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_audit.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_auth.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_cli_help.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_config.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_embedder_http.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_embedders.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_errors.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_fusion.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_media.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_oidc.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_packaging.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_prompts.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_public_api.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_release_check.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_render.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_units.py +0 -0
- {curu_memory-0.3.0 → curu_memory-0.5.0}/tests/unit/test_workflows.py +0 -0
|
@@ -4,6 +4,41 @@ All notable changes to this project are in this file. The format follows [Keep a
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.5.0] - 2026-11-02
|
|
8
|
+
|
|
9
|
+
### Upgrade
|
|
10
|
+
|
|
11
|
+
- Each team space and each personal space gives `index_unreadable` until you do these steps.
|
|
12
|
+
- Make a key file with `curu-memory key new PATH`. Keep the key file out of the data directory.
|
|
13
|
+
- Set `CURU_MEMORY_KEK_FILE` to that path for the server and for the index command.
|
|
14
|
+
- Index each team space and each personal space again.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- The index of each team space and each personal space is encrypted on disk with AES-256-GCM. Each index run makes a new data key, and the key file wraps it (ADR-002). A reader decrypts the index into memory only.
|
|
19
|
+
- `curu-memory key new PATH`: writes a new key file with mode 0600. `CURU_MEMORY_KEK_FILE` names it.
|
|
20
|
+
- `IndexUnreadable` in `curu_memory.__all__`, and the error code `index_unreadable`. A private space gives it for a missing or wrong key file, a changed file or a plaintext index of an older version. `TOOL_SCHEMA_VERSION` is 2.
|
|
21
|
+
- `cryptography` is a core dependency.
|
|
22
|
+
- `tools/parity.py report`: the recall@1, recall@5 and recall@10 of curu-memory on the evaluation corpus, with no network and no model. It reads the frozen vectors of EmbeddingGemma 2 in `tests/fixtures/eval_vectors/`. With the file of curu, `curu_rankings.json`, it also gives the recall of curu, each lower question and each different 2-hop reach of the links. It exits with 1 when no ADR in `accepted.toml` accepts a lower question.
|
|
23
|
+
- `tests/fixtures/eval_vectors/curu_rankings.json` from curu. The first report gives recall@1 0.800, recall@5 0.960 and recall@10 0.960 for curu-memory, and 0.760, 0.960 and 0.960 for curu. No question is lower, and the 2-hop reach of each judged answer is equal.
|
|
24
|
+
- `tools/parity.py vectors --device <device>`: makes the frozen vectors again from a real embedder, and records the device in `meta.json`.
|
|
25
|
+
- `--device` in the development embedder, for a GPU: `mps` on a Mac. `cuda` needs a Torch with CUDA.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- The index of a private space is `<space>.sqlite.enc`. A read refuses a plaintext private index of an older version, and the next index run of the space deletes it.
|
|
30
|
+
- An index run of a private space does not use the embedding cache. It stops with exit code 78 for an `http://` embedder that is not on loopback.
|
|
31
|
+
|
|
32
|
+
## [0.4.0] - 2026-11-01
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- `validate(path)` in `curu_memory.__all__`: the faults of a concept file or a directory, with the rules of the index command. Each `OkfFault` has `path`, `line` and `message`.
|
|
37
|
+
- `OKF_VERSION`, `LINK_KINDS` and `conformance_fixtures()` in `curu_memory.__all__`. The package ships `okf_v0_2/schema.json`, a JSON Schema of the front matter, and valid and invalid conformance fixtures with their expected faults.
|
|
38
|
+
- ADR-020: the copy of the curu concepts is a frozen evaluation corpus, not a reference of the format.
|
|
39
|
+
- `TOOL_SCHEMA_VERSION` in `curu_memory.__all__`: the version of the MCP tool schemas and the error codes. It is 1 for the tools of 0.3.0.
|
|
40
|
+
- `tests/contract/tool_schemas.json` and `tools/tool_schemas.py`. A test fails when a tool, a field or an error code changes and `TOOL_SCHEMA_VERSION` does not go up. A changed description needs no new version.
|
|
41
|
+
|
|
7
42
|
## [0.3.0] - 2026-11-01
|
|
8
43
|
|
|
9
44
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: curu-memory
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: A shared knowledge base and GraphRAG store for ComfyUI and generative media, served to agents over MCP.
|
|
5
5
|
Project-URL: Repository, https://github.com/darth-veitcher/curu-memory
|
|
6
6
|
Project-URL: Documentation, https://github.com/darth-veitcher/curu-memory#readme
|
|
@@ -8,6 +8,7 @@ Project-URL: Changelog, https://github.com/darth-veitcher/curu-memory/blob/main/
|
|
|
8
8
|
License-Expression: MIT
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Python: >=3.12
|
|
11
|
+
Requires-Dist: cryptography>=46
|
|
11
12
|
Requires-Dist: httpx2>=2.10
|
|
12
13
|
Requires-Dist: markdown-it-py>=4.0
|
|
13
14
|
Requires-Dist: pydantic>=2.12
|
|
@@ -29,9 +30,11 @@ curu-memory is a shared knowledge base for ComfyUI and generative media. It read
|
|
|
29
30
|
| Task | Command | Section |
|
|
30
31
|
|---|---|---|
|
|
31
32
|
| Write a concept for the index | Add `<name>.md` with front matter | [Write a concept file](#write-a-concept-file) |
|
|
33
|
+
| Check concept files before you index them | `curu_memory.validate("knowledge")` | [Check concept files](#check-concept-files) |
|
|
32
34
|
| Add images, audio and video to a concept | Add a `media:` list to the front matter | [Add media to a concept](#add-media-to-a-concept) |
|
|
33
35
|
| Build the index from your concept files | `curu-memory index --concepts ./knowledge` | [Index your knowledge](#index-your-knowledge) |
|
|
34
36
|
| Keep team notes and personal notes apart from the global knowledge | `curu-memory index --space personal/me` | [Keep team and personal knowledge apart](#keep-team-and-personal-knowledge-apart) |
|
|
37
|
+
| Keep the team and the personal spaces encrypted on disk | `curu-memory key new ~/.config/curu-memory/kek` | [Keep private knowledge encrypted](#keep-private-knowledge-encrypted) |
|
|
35
38
|
| Give each person their own spaces, and see who reads which space | `curu-memory access person add me` | [Give each person their own spaces](#give-each-person-their-own-spaces) |
|
|
36
39
|
| Connect agents with tokens of Authentik or of the shipped rauthy | Set `CURU_MEMORY_OIDC_ISSUER` | [Connect agents with OIDC tokens](#connect-agents-with-oidc-tokens) |
|
|
37
40
|
| Give an agent a role in one space for some days | `curu-memory access grant scout --space team/look --role read` | [Give an agent its own access](#give-an-agent-its-own-access) |
|
|
@@ -58,7 +61,7 @@ This installs the `curu-memory` command with the `server` [extra](#glossary). `s
|
|
|
58
61
|
To install a release from PyPI, give a version range:
|
|
59
62
|
|
|
60
63
|
```bash
|
|
61
|
-
uv tool install "curu-memory[server]>=0.
|
|
64
|
+
uv tool install "curu-memory[server]>=0.5,<0.6"
|
|
62
65
|
```
|
|
63
66
|
|
|
64
67
|
A program that uses curu-memory as a library pins a range in its `pyproject.toml`, with no extra. A new minor version can change the Python API or the MCP tools, so the range stops before the next minor version.
|
|
@@ -121,6 +124,25 @@ A concept file is a Markdown file with YAML front matter between two `---` lines
|
|
|
121
124
|
- A link resolves by file name in all the subdirectories, so two concept files must not have the same name.
|
|
122
125
|
- Write each `##` heading for one topic. Search by meaning compares each section separately.
|
|
123
126
|
|
|
127
|
+
### Check concept files
|
|
128
|
+
|
|
129
|
+
Check a file or a directory before you index it. The check uses the rules of the index command, and it writes nothing.
|
|
130
|
+
|
|
131
|
+
```python
|
|
132
|
+
import curu_memory
|
|
133
|
+
|
|
134
|
+
for fault in curu_memory.validate("knowledge"):
|
|
135
|
+
print(fault.path, fault.line, fault.message)
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
- `validate` gives a list of [faults](#glossary). An empty list means that the index command indexes each file of the directory, unless an identifier is also in another space.
|
|
139
|
+
- `path` is relative to the directory that you give. For one file, it is the file name. `line` counts from the first `---` line, and it is None when the fault has no line. `message` is the reason that the index command reports.
|
|
140
|
+
- A warning of the index command is not a fault, for example a missing `type` or a link to a missing concept.
|
|
141
|
+
- A Markdown link in a code block still needs a link kind. A wiki-link `[[...]]` in code is text.
|
|
142
|
+
- `curu_memory.LINK_KINDS` holds the link kinds. `curu_memory.OKF_VERSION` is `0.2`, the version of the format.
|
|
143
|
+
- The package ships the format: `schema.json`, a JSON Schema of the front matter, and conformance fixtures. `curu_memory.conformance_fixtures()` gives the directory of the fixtures. Its parent directory holds `schema.json`.
|
|
144
|
+
- To test a parser in another language, give it each file of `valid/` and of `invalid/`. Compare its faults with `expected.toml`.
|
|
145
|
+
|
|
124
146
|
### Add media to a concept
|
|
125
147
|
|
|
126
148
|
Add example outputs, reference images, audio clips or videos to a concept with a `media` list. Each path is relative to the concept file:
|
|
@@ -201,7 +223,8 @@ curu-memory index --concepts ./my-notes --space personal/me
|
|
|
201
223
|
|
|
202
224
|
- A space is `global`, `team/<slug>` or `personal/<handle>`. The default is `global`.
|
|
203
225
|
- The [team slug](#glossary) is the short name of the team, and the [handle](#glossary) is the short name of the person. Each has 1 to 40 characters from `a` to `z`, `0` to `9` and `-`. The first character is a letter.
|
|
204
|
-
- Each space has its own index file. An index run changes only the index file of its space.
|
|
226
|
+
- Each space has its own index file. An index run changes only the index file of its space. The index of a team space or a personal space is encrypted. See [Keep private knowledge encrypted](#keep-private-knowledge-encrypted).
|
|
227
|
+
- The global space uses the embedding cache. A team space or a personal space does not use it, so each index run of that space embeds its text again.
|
|
205
228
|
- A concept identifier must be unique in all spaces. The command skips a concept whose identifier is in another space, and the report names that space.
|
|
206
229
|
- All spaces must use one embedder model. When the embedder model is not the model of another space, the command stops with exit code 1 and changes no index. The command accepts a space with no embeddings. A search of that space uses words only.
|
|
207
230
|
- Only one index run can run at a time. A second run stops with exit code 1 and the message "Another index run holds the lock".
|
|
@@ -209,7 +232,30 @@ curu-memory index --concepts ./my-notes --space personal/me
|
|
|
209
232
|
|
|
210
233
|
A caller reads only its readable spaces: the spaces where its principal has a role. A caller with no principal reads `global` only. See [Give each person their own spaces](#give-each-person-their-own-spaces). A search finds concepts in each readable space, and each result names its space. `concept_neighbours` and the browser resolve a link to a concept in another readable space.
|
|
211
234
|
|
|
212
|
-
|
|
235
|
+
## Keep private knowledge encrypted
|
|
236
|
+
|
|
237
|
+
The index of each [private space](#glossary) (a team space or a personal space) is encrypted on disk. A copy of the data directory then does not show the private knowledge. Make a [key file](#glossary) one time, outside the data directory:
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
curu-memory key new ~/.config/curu-memory/kek
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Then name it in the environment of each `index`, `serve`, `browse` and `search` process. A Python program that calls `build_space` or `open_knowledge` also needs it:
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
export CURU_MEMORY_KEK_FILE=~/.config/curu-memory/kek
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
- The command writes one line with mode 0600: 32 random bytes in base64url. Only you can read the file. It does not replace a file that exists, because the old key opens the old indexes.
|
|
250
|
+
- Keep the key file out of the data directory, out of each repository and out of each backup of the data. A copy of the data and the key together is a copy of the private knowledge.
|
|
251
|
+
- Keep a copy of the key file in a safe place, for example a password manager. Without the key file, nobody can read the private indexes. If you lose it, delete each `*.sqlite.enc` file in the data directory. Then make a new key file, and index each private space again.
|
|
252
|
+
- `index` of a private space stops with exit code 78 when the key file is not set or does not exist. It also stops when the file holds no key. It stops when the key file is in the data directory, has another hard link, belongs to another user, or other users can read it. It also stops when it cannot read the file. The message names the cause.
|
|
253
|
+
- A read of a private space with a wrong or missing key file gives the error `index_unreadable`. The message names the space and the cause. For a missing or unsafe key file, the message names no path, and the log of the process names the full cause.
|
|
254
|
+
- The global space is not encrypted. A read of it needs no key file. An index run reads each other space for its checks. Thus each index run needs the key file when the data directory has a private space. An index run of a private space checks the key file first, so a bad key file gives exit code 78. In an index run of the global space, a wrong, missing or unsafe key file gives exit code 1 and the error `index_unreadable`.
|
|
255
|
+
- The index of a private space is `team--look.sqlite.enc` or `personal--me.sqlite.enc`. An older version of curu-memory wrote `team--look.sqlite` as plaintext. A read refuses that file. The next index run of the space deletes it. Index each private space again after the upgrade.
|
|
256
|
+
- An index run of a private space sends its text only to an embedder on loopback or with `https://`. It stops with exit code 78 for an `http://` embedder on another computer.
|
|
257
|
+
|
|
258
|
+
> **Warning:** The concept files of a private space are still plaintext on disk and in git. Keep their directory and their remote private. The encryption protects a stolen copy of the data directory. It does not protect against a person who has the key file and the data.
|
|
213
259
|
|
|
214
260
|
## Give each person their own spaces
|
|
215
261
|
|
|
@@ -236,7 +282,7 @@ Then set `CURU_MEMORY_PRINCIPAL` to the handle of the person of each `serve`, `b
|
|
|
236
282
|
- A running server reads the access store at each request. When you remove a person, that person reads nothing from the next request. A tool then gives the error `access_refused`, and the browser shows the page "No access" with HTTP 403. A media request gets HTTP 404. Each such request writes a refused line to the audit log.
|
|
237
283
|
- `curu-memory access person add HANDLE --owner` registers another instance owner. The command refuses to remove the last instance owner.
|
|
238
284
|
- `curu-memory access person remove`, `access team remove` and `access member remove` remove a person, a team or a member. When you remove a person or a team, the command also removes its team memberships.
|
|
239
|
-
- A removed person or team keeps the index of its space. The command says so. Delete its index file in the data directory, for example `personal--me.sqlite` or `team--look.sqlite`. Else a new person or team with the same handle or slug reads it.
|
|
285
|
+
- A removed person or team keeps the index of its space. The command says so. Delete its index file in the data directory, for example `personal--me.sqlite.enc` or `team--look.sqlite.enc`. Else a new person or team with the same handle or slug reads it.
|
|
240
286
|
- A bad handle or slug gives exit code 2. A change that the rules refuse, for example a new member of a team that does not exist, gives exit code 1.
|
|
241
287
|
|
|
242
288
|
Show the persons, the teams and the role of each person in each space:
|
|
@@ -577,6 +623,7 @@ A tool failure is an error result. Its text is one JSON object with `code`, `mes
|
|
|
577
623
|
|---|---|---|
|
|
578
624
|
| `index_missing` | The data directory has no index. | Run `curu-memory index`. |
|
|
579
625
|
| `concept_not_found` | No concept has the identifier. | Use an identifier from `search_knowledge`. |
|
|
626
|
+
| `index_unreadable` | A team space or a personal space cannot be read. The cause is a missing or wrong key file, a changed file, or a plaintext index of an older version. The message names the space. | Set `CURU_MEMORY_KEK_FILE` to the key file of the space, or index the space again. |
|
|
580
627
|
| `access_refused` | The principal can read no space, for example a person that the operator removed, or an agent with no live grant. | Ask the operator to register the person, or to give the agent a grant. |
|
|
581
628
|
| `invalid_argument` | A value does not obey a rule, for example a question of only spaces. `details.field` names the field. | Correct the value. |
|
|
582
629
|
|
|
@@ -589,11 +636,11 @@ The `curu-memory` command uses these exit codes:
|
|
|
589
636
|
| 0 | Success. |
|
|
590
637
|
| 1 | `index` skipped a file, the embedder failed, another index run held the lock, or the embedder model was not the model of another space. `search` found no index, or no readable space. `access` refused a change. |
|
|
591
638
|
| 2 | A usage error, for example `--limit 51`. |
|
|
592
|
-
| 78 | A configuration error, for example HTTP with no token,
|
|
639
|
+
| 78 | A configuration error, for example HTTP with no token, `serve` with no `server` extra, or a private space with no safe key file. `key new` refused a path. |
|
|
593
640
|
|
|
594
641
|
## Use curu-memory from Python
|
|
595
642
|
|
|
596
|
-
Use the library to build a space and to read it from a Python program, with no server. Import each name from `curu_memory` only. The names of `curu_memory.__all__` are the public API. Each other name can change in any release. The public API starts with version 0.3.0, so a program pins `curu-memory>=0.
|
|
643
|
+
Use the library to build a space and to read it from a Python program, with no server. Import each name from `curu_memory` only. The names of `curu_memory.__all__` are the public API. Each other name can change in any release. The public API starts with version 0.3.0. `validate` starts with 0.4.0. `IndexUnreadable` starts with 0.5.0, so a program pins `curu-memory>=0.5,<0.6`.
|
|
597
644
|
|
|
598
645
|
```python
|
|
599
646
|
from pathlib import Path
|
|
@@ -629,19 +676,27 @@ Each error is in `curu_memory`:
|
|
|
629
676
|
| `build_space` | Another index run holds the lock. | `IndexLocked` |
|
|
630
677
|
| `build_space` | The embedder model is not the model of another space. | `IndexRefused` |
|
|
631
678
|
| `build_space` | The embedder failed. The old index stays. | `EmbedderFailed` |
|
|
679
|
+
| `build_space` | Another private space in the data directory cannot be read. The message names the space. | `IndexUnreadable` |
|
|
632
680
|
| `build_space`, `open_knowledge` | A `CURU_MEMORY_*` variable is not valid. | `ConfigError` |
|
|
681
|
+
| `build_space` | A private space has no safe key file, or its embedder is not on loopback and does not use TLS. | `ConfigError` |
|
|
682
|
+
| `validate` | The path does not exist. `details.field` is `path`. | `InvalidArgument` |
|
|
633
683
|
| `open_knowledge` | No person has the handle, or `person` and `grant` are both given. | `InvalidArgument` |
|
|
634
684
|
| each read | The principal can read no space. | `NoReadableSpace` |
|
|
635
685
|
| `get_concept`, `neighbours` | No readable space holds the concept. | `ConceptNotFound` |
|
|
636
686
|
| `search` | The question is empty or too long, or the limit is not from 1 to 50. | `InvalidArgument` |
|
|
637
687
|
| each read | No readable space has an index. | `IndexMissing` |
|
|
688
|
+
| each read | A readable private space cannot be decrypted. The message names the space. | `IndexUnreadable` |
|
|
638
689
|
|
|
639
690
|
Each error except `IndexLocked` and `ConfigError` is a `CuruMemoryError`. Its `code` is the code that a tool gives, for example `concept_not_found`.
|
|
640
691
|
|
|
641
692
|
## Limits
|
|
642
693
|
|
|
643
694
|
- On stdio, in the browser and with the static token, one process reads as one person (`CURU_MEMORY_PRINCIPAL`). In Python, each `Knowledge` reads as the principal of its `open_knowledge`. On stdio, `serve --grant` makes the process read as the agent of one grant. Only the OIDC mode of HTTP gives each request its own person or agent.
|
|
644
|
-
-
|
|
695
|
+
- Only the index of a private space is encrypted. Its concept files are plaintext on disk and in git.
|
|
696
|
+
- A key cannot rotate yet. Each encrypted index names its key, so a later version can rotate it.
|
|
697
|
+
- The key file is the only source of the key. An OS keyring and a key management service are not supported.
|
|
698
|
+
- A search of a private space sends its question to the embedder. The check of loopback or TLS is for an index run only, so use a loopback or TLS embedder for the server too.
|
|
699
|
+
- A reader decrypts the whole index of a private space into memory. A private space with many media files uses memory for each file.
|
|
645
700
|
- The browser has no OIDC login.
|
|
646
701
|
- Agents and persons cannot write knowledge through curu-memory yet. Edit the concept files, then run the index command.
|
|
647
702
|
- The browser accepts one static token. Without `CURU_MEMORY_OIDC_ISSUER`, the HTTP transport also accepts only one static token. Neither has TLS.
|
|
@@ -658,11 +713,12 @@ Each error except `IndexLocked` and `ConfigError` is a `CuruMemoryError`. Its `c
|
|
|
658
713
|
- A match between a question in words and a clip needs 0.68 or more with EmbeddingGemma 2. The limit comes from speech clips. Speech test clips scored from 0.73 with their own questions. Wrong clips and unrelated questions reached 0.64. Music and sound effects can score lower.
|
|
659
714
|
- The index holds a copy of each media file. One hundred files of 2 MB make the index about 200 MB larger.
|
|
660
715
|
- There is no file watcher. Run the index command after each change.
|
|
716
|
+
- `validate` does not read the index, so it does not find an identifier that is also in another space. For one file, it does not find a duplicate identifier.
|
|
661
717
|
- The Python API cannot search with media, and it cannot write a concept. Use `curu-memory search --media` or the tool `search_knowledge_by_media` for media.
|
|
662
718
|
|
|
663
719
|
## Technical notes
|
|
664
720
|
|
|
665
|
-
- The index is one SQLite file for each space in the data directory, for example `~/.local/share/curu-memory/global.sqlite`. The file of `team/look` is `team--look.sqlite`. `CURU_MEMORY_DATA_DIR` changes the directory. `XDG_DATA_HOME` also changes the default. See [ADR-001](project-management/ADRs/ADR-001-sqlite-index-per-tier-space.md). The space names and the readable spaces come from [ADR-016](project-management/ADRs/ADR-016-spaces-roles-and-agent-grants.md).
|
|
721
|
+
- The index is one SQLite file for each space in the data directory, for example `~/.local/share/curu-memory/global.sqlite`. The file of `team/look` is `team--look.sqlite.enc`. `CURU_MEMORY_DATA_DIR` changes the directory. `XDG_DATA_HOME` also changes the default. See [ADR-001](project-management/ADRs/ADR-001-sqlite-index-per-tier-space.md). The space names and the readable spaces come from [ADR-016](project-management/ADRs/ADR-016-spaces-roles-and-agent-grants.md).
|
|
666
722
|
- The index lock uses `fcntl.flock`, so curu-memory runs on Linux and macOS, not on Windows.
|
|
667
723
|
- The OIDC mode follows [ADR-015](project-management/ADRs/ADR-015-oidc-resource-server.md) and [ADR-017](project-management/ADRs/ADR-017-oidc-settings-for-authentik.md). The contract is [specs/012-oidc-tokens-with-the-shipped-rauthy/contracts/oidc.md](specs/012-oidc-tokens-with-the-shipped-rauthy/contracts/oidc.md).
|
|
668
724
|
- Agents, grants and the Basic exchange follow [ADR-018](project-management/ADRs/ADR-018-agents-grants-and-the-basic-exchange.md). The contract is [specs/013-agent-grants/contracts/agents.md](specs/013-agent-grants/contracts/agents.md). The exchange sends `grant_type=client_credentials`, `client_id`, `username`, `password` and `scope=openid profile`. The cache keeps at most 1,000 tokens, and it removes the oldest first.
|
|
@@ -671,14 +727,16 @@ Each error except `IndexLocked` and `ConfigError` is a `CuruMemoryError`. Its `c
|
|
|
671
727
|
- The browser makes its pages on the server, with no JavaScript. A [content security policy](#glossary) blocks each script. See [ADR-004](project-management/ADRs/ADR-004-server-rendered-read-only-browser.md).
|
|
672
728
|
- The limit of the match of meaning comes from a measurement of EmbeddingGemma 2. See [ADR-005](project-management/ADRs/ADR-005-similarity-limit-for-each-model.md). The limit for images has its own measurement. See [ADR-008](project-management/ADRs/ADR-008-image-similarity-limit.md). The limits for audio and for video also have their own measurements. See [ADR-011](project-management/ADRs/ADR-011-audio-in-concepts.md) and [ADR-013](project-management/ADRs/ADR-013-video-in-concepts.md). A search with media has its own limits and its own measurement, and one tool takes all media. See [ADR-010](project-management/ADRs/ADR-010-search-with-an-image.md), [ADR-012](project-management/ADRs/ADR-012-one-tool-for-a-media-question.md) and [ADR-014](project-management/ADRs/ADR-014-limits-of-a-video-question.md).
|
|
673
729
|
- curu-memory sends each image to the embedder in an item `{"image": "data:..."}`, each clip in an item `{"audio": "data:..."}` and each video in an item `{"video": "data:..."}`. The value is a `data:` URI: a text that holds the file bytes in base64, with their MIME type. See [ADR-007](project-management/ADRs/ADR-007-media-references-and-transport.md). The index keeps the bytes of each media file one time for each SHA-256. See [ADR-009](project-management/ADRs/ADR-009-media-bytes-in-the-index.md).
|
|
674
|
-
- The
|
|
730
|
+
- The keys and the encryption of private knowledge follow [ADR-002](project-management/ADRs/ADR-002-server-held-envelope-keys.md). Each index run of a private space makes a new [data key](#glossary). The key in the key file wraps it with AES key wrap, and AES-256-GCM encrypts the index. The format is in [specs/019-encrypted-private-indexes/contracts/encrypted-index.md](specs/019-encrypted-private-indexes/contracts/encrypted-index.md). The audit line of a refused read names a hidden private space too, so that check decrypts it. See [ADR-021](project-management/ADRs/ADR-021-the-audit-check-of-a-hidden-private-space.md).
|
|
675
731
|
- The word match uses SQLite FTS5 (the full-text search of SQLite) with the `unicode61` tokenizer (the rule that splits a text into words). The tokenizer keeps `.`, `_` and `-` in a word. A word of three or more characters also matches as a prefix.
|
|
676
732
|
- Search fuses the two rankings with reciprocal rank fusion, with k = 60. The lower of the two values counts one tenth. So ten rivals that are a little worse in both rankings do not push out the best answer of one ranking. See [ADR-006](project-management/ADRs/ADR-006-damped-rank-fusion.md). The identifier breaks a tie, so the order is stable.
|
|
677
|
-
- The concept rules are the same as the rules of the curu index, so each curu concept file indexes here.
|
|
733
|
+
- The concept rules are the same as the rules of the curu index, so each curu concept file indexes here. The index command and `validate` use one implementation of them. The schema and the fixtures are in `src/curu_memory/okf_v0_2/`. See [specs/017-the-okf-v0-2-schema/contracts/okf.md](specs/017-the-okf-v0-2-schema/contracts/okf.md). The copy of the curu concepts in `tests/fixtures/eval_corpus/` is a frozen evaluation corpus, not a reference of the format. See [ADR-020](project-management/ADRs/ADR-020-a-frozen-evaluation-corpus.md).
|
|
678
734
|
- The tool contracts are in [specs/001-okf-index-mcp-search/contracts/](specs/001-okf-index-mcp-search/contracts/).
|
|
679
735
|
- curu-memory uses the official MCP Python SDK. It never loads model weights.
|
|
680
736
|
- curu uses curu-memory as a library, and the version range of a release follows a version policy. See [ADR-019](project-management/ADRs/ADR-019-curu-uses-curu-memory-as-a-library.md). `tests/contract/public_api.txt` holds the names of `curu_memory.__all__`. The contract is [specs/015-the-public-library-api/contracts/public-api.md](specs/015-the-public-library-api/contracts/public-api.md).
|
|
681
|
-
- The core install has `pydantic`, `httpx2`, `markdown-it-py` and `
|
|
737
|
+
- The core install has `pydantic`, `httpx2`, `markdown-it-py`, `pyyaml` and `cryptography`. The `server` extra adds `mcp`, `starlette` and `uvicorn`.
|
|
738
|
+
- `curu_memory.TOOL_SCHEMA_VERSION` is the version of the MCP tool schemas and the error codes. The value is 1 for the tools of 0.3.0, and 2 since the error code `index_unreadable`. It goes up by 1 in each pull request that changes a tool, a field or an error code. A change of a description or a title does not change it. It is not the package version.
|
|
739
|
+
- A Python program that imports `curu_memory` can compare `TOOL_SCHEMA_VERSION` with the version that it expects. A different value means that a tool, a field or an error code is different. The MCP server does not send the value. `tests/contract/tool_schemas.json` holds the schemas of the current version.
|
|
682
740
|
|
|
683
741
|
## Develop
|
|
684
742
|
|
|
@@ -689,7 +747,7 @@ uv sync
|
|
|
689
747
|
uv run pytest
|
|
690
748
|
```
|
|
691
749
|
|
|
692
|
-
`uv sync` installs the `server` extra, because the development group names it. The default tests need no network, no GPU and no model. They use a fake embedder and a copy of
|
|
750
|
+
`uv sync` installs the `server` extra, because the development group names it. The default tests need no network, no GPU and no model. They use a fake embedder and the frozen evaluation corpus in `tests/fixtures/eval_corpus/`, a copy of 183 curu concept files. The corpus is for the search measurements only. The shipped fixtures are the reference of the format. The tests with a real embedder have the `integration` marker. With no GPU embedder server, start the [development embedder](#glossary) first, as [tools/embedder_server/README.md](tools/embedder_server/README.md) says. Then run:
|
|
693
751
|
|
|
694
752
|
```bash
|
|
695
753
|
CURU_MEMORY_EMBEDDER_URL=http://127.0.0.1:30000 CURU_MEMORY_EMBEDDER_TIMEOUT=300 uv run pytest -m integration
|
|
@@ -697,6 +755,34 @@ CURU_MEMORY_EMBEDDER_URL=http://127.0.0.1:30000 CURU_MEMORY_EMBEDDER_TIMEOUT=300
|
|
|
697
755
|
|
|
698
756
|
The rauthy test of the integration tier also needs Docker and a free port 6480.
|
|
699
757
|
|
|
758
|
+
To measure the search on the evaluation corpus, run the parity report. It compares the search of curu-memory with the search of curu. It needs no network and no model, because it reads the frozen vectors of EmbeddingGemma 2 in `tests/fixtures/eval_vectors/`:
|
|
759
|
+
|
|
760
|
+
```bash
|
|
761
|
+
uv run tools/parity.py report
|
|
762
|
+
```
|
|
763
|
+
|
|
764
|
+
The report gives recall@1, recall@5 and recall@10 of curu-memory. Recall@k is the part of the judged answers in the first k results, from 0 to 1. The report gives the mean of the 25 judged questions. A higher value is better: 1 means that each judged answer is in the first k results.
|
|
765
|
+
|
|
766
|
+
curu sends its results for the same questions in a file. Put it at `tests/fixtures/eval_vectors/curu_rankings.json`. The file contains the first 10 concepts that curu finds for each question. Without this file, the report gives only the line of curu-memory. When the file exists, the report also gives these items:
|
|
767
|
+
|
|
768
|
+
- The recall of curu.
|
|
769
|
+
- Each question where curu-memory has a lower recall@5 than curu.
|
|
770
|
+
- Each judged answer with a different 2-hop reach: the concepts within 2 links of it, in both directions.
|
|
771
|
+
|
|
772
|
+
The report exits with 1 when a lower question is not in `tests/fixtures/eval_vectors/accepted.toml`. Each question in that file names the decision record that accepts it. The report also exits with 1, and gives the cause, in these conditions:
|
|
773
|
+
|
|
774
|
+
- A frozen vector is missing.
|
|
775
|
+
- `curu_rankings.json` is for a different corpus.
|
|
776
|
+
- `curu_rankings.json` has a question that is not judged.
|
|
777
|
+
|
|
778
|
+
Without `curu_rankings.json`, it exits with 0.
|
|
779
|
+
|
|
780
|
+
When the corpus, the model, the task prompts or the units of a concept change, make the frozen vectors again. Start the [development embedder](tools/embedder_server/README.md). On a Mac, add `--device mps`, because the CPU is much slower. Then run:
|
|
781
|
+
|
|
782
|
+
```bash
|
|
783
|
+
CURU_MEMORY_EMBEDDER_URL=http://127.0.0.1:30000 uv run tools/parity.py vectors --device mps
|
|
784
|
+
```
|
|
785
|
+
|
|
700
786
|
Before a pull request, run the gates:
|
|
701
787
|
|
|
702
788
|
```bash
|
|
@@ -722,12 +808,23 @@ The CI runs the same gates on each pull request and on each push to `main`. A re
|
|
|
722
808
|
- **Cosine similarity**: a value from -1 to 1 that tells how near two embeddings are. A higher value is a nearer meaning.
|
|
723
809
|
- **Data URI**: a text that holds the bytes of a file in base64, with their MIME type, for example `data:image/png;base64,...`.
|
|
724
810
|
- **Data directory**: the directory of the index, the embedding cache, the access store `access.sqlite` and the audit log `audit.jsonl`. The default is `~/.local/share/curu-memory`, or `$XDG_DATA_HOME/curu-memory`. `CURU_MEMORY_DATA_DIR` changes it.
|
|
725
|
-
- **
|
|
811
|
+
- **Data key**: the random key that encrypts one private index. Each index run of a private space makes a new one.
|
|
812
|
+
- **Development embedder**: the server in `tools/embedder_server/` that serves EmbeddingGemma 2 on the CPU or a GPU, for the integration tier and the frozen vectors.
|
|
813
|
+
- **Conformance fixtures**: the valid and invalid concept files that the package ships, with the expected faults in `expected.toml`.
|
|
814
|
+
- **Frozen vectors**: the stored embeddings of the evaluation corpus and the judged questions in `tests/fixtures/eval_vectors/`.
|
|
815
|
+
- **Judged question**: a question of `search_eval.toml` or `meaning_eval.toml` with its correct concepts.
|
|
816
|
+
- **Lower question**: a judged question where curu-memory has a lower recall@5 than curu.
|
|
817
|
+
- **Recall@k**: the part of the judged answers of a question in the first k results, from 0 to 1.
|
|
818
|
+
- **2-hop reach**: the concepts within 2 links of a concept, in both directions.
|
|
819
|
+
- **Evaluation corpus**: the frozen copy of 183 curu concept files in `tests/fixtures/eval_corpus/`, for the search measurements.
|
|
726
820
|
- **Extra**: a named set of optional packages of a Python package, for example `server` in `curu-memory[server]`.
|
|
727
821
|
- **Embedder**: a server that changes a text, an image, a clip or a video into an embedding.
|
|
728
822
|
- **Embedding**: a list of numbers that holds the meaning of a text, an image, a clip or a video. Items with a near meaning have near embeddings.
|
|
823
|
+
- **Fault**: one problem that makes the index command skip a concept file. `validate` gives each fault with its `path`, `line` and `message`.
|
|
729
824
|
- **GraphRAG**: retrieval that uses a search and the links between concepts to give an agent its context.
|
|
730
825
|
- **Index**: the searchable copy of the concept files that the index command makes.
|
|
826
|
+
- **JSON Schema**: a standard JSON document that gives the fields and the types of a JSON or YAML value.
|
|
827
|
+
- **Key file**: the file that holds the key-encryption key. This key encrypts the data key of each private index. `curu-memory key new` makes the file, and `CURU_MEMORY_KEK_FILE` names it.
|
|
731
828
|
- **Link kind**: the type of a link between two concepts, for example `USES_COMPONENT`.
|
|
732
829
|
- **MCP**: the Model Context Protocol, which lets an agent find and call tools.
|
|
733
830
|
- **Minor version**: the second number of `X.Y.Z`. Below 1.0, a new minor version can remove or change a name or a tool field.
|
|
@@ -738,14 +835,16 @@ The CI runs the same gates on each pull request and on each push to `main`. A re
|
|
|
738
835
|
- **Task prompt**: a fixed text that curu-memory puts around a question or a section before it sends the text to the embedder.
|
|
739
836
|
- **Stdio**: the standard input and output of a process. A local MCP client talks to the server through them.
|
|
740
837
|
- **Streamable HTTP**: the MCP transport over HTTP, for remote agents.
|
|
838
|
+
- **Wiki-link**: a link of the form `[[name]]`. OKF does not accept it outside code.
|
|
741
839
|
- **Web browser**: the program that shows web pages, for example Firefox.
|
|
742
840
|
- **SHA-256**: a hash of 64 hexadecimal characters that the bytes of a file give. Different bytes give a different SHA-256.
|
|
743
841
|
- **Unit**: one part of a concept that has its own embedding: the summary, the overview, a `##` section, an image, a clip or a video.
|
|
744
|
-
- **Version range**: the lowest version and the first version to exclude, for example `>=0.
|
|
842
|
+
- **Version range**: the lowest version and the first version to exclude, for example `>=0.5,<0.6`.
|
|
745
843
|
- **Space**: a part of the knowledge with its own index: `global`, `team/<slug>` or `personal/<handle>`. Each request reads only the spaces that its caller can read.
|
|
746
844
|
- **Team slug**: the short name of a team in a space name, for example `look` in `team/look`.
|
|
747
845
|
- **Instance owner**: a person with `admin` on `global` and on each team space. The first registered person is an instance owner.
|
|
748
846
|
- **Principal**: the person or the agent of a request, or `anonymous` with no principal. It comes from `CURU_MEMORY_PRINCIPAL`, `serve --grant`, the OIDC token on HTTP or `open_knowledge`.
|
|
847
|
+
- **Private space**: a team space or a personal space. Its index is encrypted on disk.
|
|
749
848
|
- **Operator**: the person who runs `curu-memory access` and `curu-memory index` on the computer of the server.
|
|
750
849
|
- **Access store**: `access.sqlite`, with the persons, the teams, the members, the agents and the grants.
|
|
751
850
|
- **Audit log**: `audit.jsonl`, with one line for each change of access, each refused read and each refused token.
|