Kansho/backend
Lars dd7858347c
All checks were successful
Deploy Development / deploy (push) Successful in 54s
Test Suite / pytest-backend (push) Successful in 2m37s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 15s
Deploy Production / deploy (push) Successful in 43s
Add support for handling non-identity entity types in detection logic
- Introduced a new set of non-identity entity types (FOOD, DISH, MEAL, CUISINE, FOODSTUFF, INGREDIENT) that are omitted from detection results without causing contract violations.
- Updated the `DetectionStats` class to track omitted non-identity types.
- Modified validation logic to ensure that food-related mentions are not treated as identity types, preserving the context of mentions as either PERSON or omitted.
- Enhanced tests to verify the correct handling of food homonyms and ensure that invalid entity types are recorded appropriately without causing errors.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 07:35:44 +02:00
..
config Add support for handling non-identity entity types in detection logic 2026-09-08 07:35:44 +02:00
migrations Add Compose, Gitea deploy, and Postgres dual-backend on develop. 2026-09-07 12:15:08 +02:00
routers MVP 1.0 2026-08-29 20:28:59 +02:00
tests Add support for handling non-identity entity types in detection logic 2026-09-08 07:35:44 +02:00
.env.example Add Compose, Gitea deploy, and Postgres dual-backend on develop. 2026-09-07 12:15:08 +02:00
auth.py Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project. 2026-08-21 15:48:43 +02:00
context_builder.py Keep journal openings from treating finished days as open plans. 2026-09-07 08:25:00 +02:00
continuity.py Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project. 2026-08-21 15:48:43 +02:00
conversation_signals.py MVP 0.9 2026-08-25 13:57:23 +02:00
data_layer_dialogue.py Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project. 2026-08-21 15:48:43 +02:00
data_layer.py Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project. 2026-08-21 15:48:43 +02:00
db_init.py Load the test schema once and truncate data between files. 2026-09-07 15:07:33 +02:00
db.py Load the test schema once and truncate data between files. 2026-09-07 15:07:33 +02:00
debug_store.py Add support for handling non-identity entity types in detection logic 2026-09-08 07:35:44 +02:00
derived_kinds.py Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project. 2026-08-21 15:48:43 +02:00
dialogue_store.py Fix Postgres 500s on days and entries by dropping SQLite rowid. 2026-09-07 12:50:53 +02:00
dialogue_turn.py MVP 0.95 2026-08-29 11:04:34 +02:00
Dockerfile Add Compose, Gitea deploy, and Postgres dual-backend on develop. 2026-09-07 12:15:08 +02:00
engine.py MVP 0.94 2026-08-28 08:40:28 +02:00
entitlements.py Fix Postgres 500 after a dialogue turn by qualifying usage upsert. 2026-09-07 14:11:38 +02:00
entity_detect_eval.py MVP 0.94 2026-08-28 08:40:28 +02:00
entity_detect.py Add support for handling non-identity entity types in detection logic 2026-09-08 07:35:44 +02:00
env_loader.py MVP 0.9 2026-08-25 13:57:23 +02:00
identity_store.py MVP 0.95 2026-08-29 11:04:34 +02:00
interaction_defaults.py MVP 0.9 2026-08-25 13:57:23 +02:00
interaction_profile_store.py MVP 0.9 2026-08-25 13:57:23 +02:00
journal_body.py MVP 0.9 2026-08-25 13:57:23 +02:00
journal_editorial.py MVP 1.0 2026-08-29 20:28:59 +02:00
journal_eval.py MVP 0.94 2026-08-28 08:40:28 +02:00
journal_generate.py MVP 1.0 2026-08-29 20:28:59 +02:00
journal_generation_policy.py MVP 1.0 2026-08-29 20:28:59 +02:00
journal_opening.py Keep journal openings from treating finished days as open plans. 2026-09-07 08:25:00 +02:00
journal_policy.py MVP 0.9 2026-08-25 13:57:23 +02:00
journal_reconstruct.py MVP 0.92 2026-08-26 10:42:20 +02:00
journal_shape.py MVP 0.95 2026-08-29 11:04:34 +02:00
journal_store.py Fix Postgres 500s on days and entries by dropping SQLite rowid. 2026-09-07 12:50:53 +02:00
local_backup.py MVP 0.92 2026-08-26 10:42:20 +02:00
main.py Add Compose, Gitea deploy, and Postgres dual-backend on develop. 2026-09-07 12:15:08 +02:00
media_store.py MVP 0.92 2026-08-26 10:42:20 +02:00
model_catalog.py MVP 0.92 2026-08-26 10:42:20 +02:00
placeholder_mvp.py MVP 0.94 2026-08-28 08:40:28 +02:00
placeholder_system.py Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project. 2026-08-21 15:48:43 +02:00
placeholders.py Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project. 2026-08-21 15:48:43 +02:00
privacy_gateway.py Add support for handling non-identity entity types in detection logic 2026-09-08 07:35:44 +02:00
privacy_placeholders.py MVP 0.93 - stabile, aber Writing Profile ohne erkennbaren Nutzen 2026-08-27 10:03:05 +02:00
profile_analysis.py MVP 0,91 2026-08-25 17:16:35 +02:00
profile_documents.py MVP 0.9 2026-08-25 13:57:23 +02:00
profile_review.py MVP 1.0 2026-08-29 20:28:59 +02:00
prompt_budget.py MVP 0.93 - stabile, aber Writing Profile ohne erkennbaren Nutzen 2026-08-27 10:03:05 +02:00
pronoun_bind.py MVP 0.9 2026-08-25 13:57:23 +02:00
provenance.py MVP 0.92 2026-08-26 10:42:20 +02:00
provider_settings.py MVP 0.93 - stabile, aber Writing Profile ohne erkennbaren Nutzen 2026-08-27 10:03:05 +02:00
providers.py MVP 1.0 2026-08-29 20:28:59 +02:00
pytest.ini Run backend tests with pytest after Dev deploy. 2026-09-07 14:47:04 +02:00
requirements-dev.txt Run backend tests with pytest after Dev deploy. 2026-09-07 14:47:04 +02:00
requirements.txt Add Compose, Gitea deploy, and Postgres dual-backend on develop. 2026-09-07 12:15:08 +02:00
retrieval.py Fix Postgres 500s on days and entries by dropping SQLite rowid. 2026-09-07 12:50:53 +02:00
schema.sql MVP 1.0 2026-08-29 20:28:59 +02:00
sql_compat.py Run the backend suite on Dev Postgres instead of isolated SQLite. 2026-09-07 14:28:17 +02:00
sqlite_to_postgres.py Allow SQLite import onto a freshly seeded Postgres instance. 2026-09-07 12:50:54 +02:00
startup.sh Add Compose, Gitea deploy, and Postgres dual-backend on develop. 2026-09-07 12:15:08 +02:00
version.py MVP 0.9 2026-08-25 13:57:23 +02:00
writing_profile_infer.py MVP 0.9 2026-08-25 13:57:23 +02:00
writing_profile_schema.py MVP 0,91 2026-08-25 17:16:35 +02:00
writing_profile_store.py MVP 1.0 2026-08-29 20:28:59 +02:00