Commit Graph

55 Commits

Author SHA1 Message Date
cc43fc6409 Offer kinship names in learning review when Detect skips them.
Some checks failed
Test Suite / pytest-backend (push) Waiting to run
Test Suite / smoke-dev (push) Waiting to run
Test Suite / frontend-build (push) Waiting to run
Deploy Development / deploy (push) Has been cancelled
Frau/Sohn mentions in the user line must still reach the popup if OpenRouter only tags the food reading or misses the person.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 08:47:44 +02:00
fa1c11c33e Add transitional learning detect with in-dialog mask review.
Some checks failed
Deploy Development / deploy (push) Successful in 57s
Test Suite / pytest-backend (push) Failing after 2m57s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 16s
Senses grow from confirmations instead of a word list, so a later local pipeline can decide homonyms on a short passage. Default stays semantic. Local detect waits longer, and the reverse-proxy timeout is documented so Dev does not 504 first.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 08:34:43 +02:00
59921fc5b5 Keep the selected LLM profile visible while activating it.
Some checks failed
Deploy Development / deploy (push) Successful in 56s
Test Suite / pytest-backend (push) Failing after 2m48s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 15s
The dropdown was bound to the previous server value, so a profile without a model snapped back to OpenRouter before the error was obvious.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 12:56:22 +02:00
bef422a429 Add selectable LLM profiles and treat LAN Ollama as local.
Some checks failed
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Failing after 2m40s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 16s
Saved presets keep URL and model per stage so detect can switch to Ollama without re-entering settings or sending plaintext to OpenRouter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 12:48:25 +02:00
af6fe55577 Allow remote detect in production until local Ollama is connected.
All checks were successful
Deploy Development / deploy (push) Successful in 54s
Test Suite / pytest-backend (push) Successful in 2m35s
Test Suite / smoke-dev (push) Successful in 1s
Test Suite / frontend-build (push) Successful in 15s
Keep KANSHO_ENV=production and require an explicit operator flag instead of treating Prod as Development. Promote to Prod only via merge commit on main.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 10:02:28 +02:00
dd7858347c Add support for handling non-identity entity types in detection logic
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
- 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
79e4fd0d4b Load the test schema once and truncate data between files.
All checks were successful
Deploy Development / deploy (push) Successful in 56s
Test Suite / pytest-backend (push) Successful in 2m43s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 15s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 15:07:33 +02:00
3c0213ae74 Isolate pytest env per file so fail-closed and setup stay script-accurate.
All checks were successful
Deploy Development / deploy (push) Successful in 50s
Test Suite / pytest-backend (push) Successful in 2m50s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 15s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 15:00:33 +02:00
9d79e3e92f Run backend tests with pytest after Dev deploy.
Some checks failed
Deploy Development / deploy (push) Successful in 51s
Test Suite / pytest-backend (push) Failing after 2m32s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 15s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 14:47:04 +02:00
6ea36f7d1f Mount the Dev checkout so backend tests can read frontend sources.
Some checks failed
Deploy Development / deploy (push) Successful in 56s
Test Suite / backend-postgres (push) Failing after 1m51s
Test Suite / frontend-build (push) Successful in 15s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 14:30:46 +02:00
36b9a2e424 Run the backend suite on Dev Postgres instead of isolated SQLite.
Some checks failed
Deploy Development / deploy (push) Successful in 55s
Test Suite / backend-postgres (push) Failing after 7s
Test Suite / frontend-build (push) Successful in 16s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 14:28:17 +02:00
709370da93 Fix Postgres 500 after a dialogue turn by qualifying usage upsert.
Some checks failed
Deploy Development / deploy (push) Successful in 52s
Test Suite / backend-sqlite (push) Failing after 2s
Test Suite / frontend-build (push) Successful in 15s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 14:11:38 +02:00
0ef3e3bb7a Allow SQLite import onto a freshly seeded Postgres instance.
Some checks failed
Deploy Development / deploy (push) Successful in 58s
Test Suite / backend-sqlite (push) Failing after 2s
Test Suite / frontend-build (push) Successful in 16s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 12:50:54 +02:00
ea38528ecf Fix Postgres 500s on days and entries by dropping SQLite rowid.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 12:50:53 +02:00
9d5befdde9 Fix Postgres prompt seed crashing on CASE WHEN 0/1.
Some checks failed
Deploy Development / deploy (push) Successful in 50s
Test Suite / backend-sqlite (push) Failing after 3s
Test Suite / frontend-build (push) Successful in 15s
SQLite treats integers as booleans; a backend recreate after the API key was added hit that on every start.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 12:35:22 +02:00
07479f6a9f Add Compose, Gitea deploy, and Postgres dual-backend on develop.
Some checks failed
Deploy Development / deploy (push) Successful in 44s
Test Suite / backend-sqlite (push) Failing after 2s
Test Suite / frontend-build (push) Successful in 23s
Use host ports 3006/8005 and 3096/8096 so Kansho does not collide with Bookstack on 3005 or the sister products.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 12:15:08 +02:00
Lars
32acdc220b Ship the laptop journal backup via self-hosted Gitea.
USB and NAS are unavailable on this machine; the zip is the only path for personal SQLite and media. Provider keys stay out of git.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 09:22:24 +02:00
Lars
326a9a44c8 Record that the opening fix and transfer docs are committed on main.
The home clone still needs a Gitea push; personal SQLite stays out of git.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 08:26:38 +02:00
Lars
29e3d0ff74 Document the laptop-to-home transfer without moving personal data into git.
SQLite restore stays wave 1; Docker and Postgres stay wave 2. Session bootstrap for the switch is environment_handover.md plus the laptop and home work orders.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 08:25:20 +02:00
Lars
ec0f8bad55 Keep journal openings from treating finished days as open plans.
A 400-character entry prefix plus plan regex could reopen a completed yesterday as if it were still pending. Openings now take plans only from yesterday's user dialogue, never from saved entries, and skip space recency in the first call.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 08:25:00 +02:00
Lars
e42f751fdc MVP 1.0 2026-08-29 20:28:59 +02:00
Lars
be11f82f84 MVP 0.95 2026-08-29 11:04:34 +02:00
Lars
4f37991ad1 MVP 0.94 2026-08-28 08:40:28 +02:00
Lars
f17b3083e8 MVP 0.93 - stabile, aber Writing Profile ohne erkennbaren Nutzen 2026-08-27 10:03:05 +02:00
Lars
53b1eff833 MVP 0.92 2026-08-26 10:42:20 +02:00
Lars
60f0d2830d MVP 0,91 2026-08-25 17:16:35 +02:00
Lars
fd7102e3b3 MVP 0.9 2026-08-25 13:57:23 +02:00
Lars
a8caeb0dd4 Enhance documentation for the Kanshō project by adding a Foundation-Checkpoint and Continuity Capability Contract. These sections outline the architectural framework and core capabilities necessary for the implementation of the Memory/Continuity-Core, ensuring clarity on critical paths and implementation principles. Historical intent statuses are preserved for reference, while emphasizing a streamlined approach to development. 2026-08-21 18:27:23 +02:00
Lars
662eb78b60 Remove obsolete memory and context documentation from the project. This deletion aligns with the ongoing refinement of the Kanshō project and its focus on relevant and updated content. 2026-08-21 18:12:37 +02:00
Lars
d62673e48b 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
Lars
3a367b7bcc docs: define deep reflection safety boundary 2026-08-20 12:24:05 +02:00
Lars
081a47c68c docs: close reflection continuation concept blocks 2026-08-20 12:13:16 +02:00
Lars
12b715daca docs: clarify reflection closure and continuity model 2026-08-19 13:41:51 +02:00
Lars
548a4db9f8 Lokales Cursor-Setup und Gitignore ergänzen, damit Konzeptarbeit reproduzierbar weitergeführt werden kann.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 09:44:15 +02:00
58321f7ee7 Dateien nach "docs/architecture/functional" hochladen 2026-08-19 08:40:44 +02:00
2e594d1709 Dateien nach "docs/architecture/functional" hochladen 2026-08-19 08:40:19 +02:00
f76fdbbb03 Dateien nach "docs/architecture/functional" hochladen 2026-08-19 08:39:58 +02:00
c4107d5c46 Dateien nach "docs/architecture/functional" hochladen 2026-08-19 08:39:35 +02:00
e448065c14 Dateien nach "docs/architecture/functional" hochladen 2026-08-19 08:39:08 +02:00
f3c916fe96 docs/architecture/functional/archiv/usage_situations.md aktualisiert 2026-08-19 08:37:21 +02:00
de3867c34f docs/architecture/functional/archiv/produktvision_und_produktidentitaet.md aktualisiert 2026-08-19 08:37:08 +02:00
8630e474ad docs/architecture/functional/archiv/guardrails.md aktualisiert 2026-08-19 08:36:51 +02:00
abee55bf8e docs/architecture/functional/archive/guardrails.md aktualisiert 2026-08-19 08:36:19 +02:00
59e92904ab docs/architecture/functional/archiv/fachliche_zielarchitektur.md aktualisiert 2026-08-19 08:36:01 +02:00
053fa98626 Dateien nach "docs/architecture/functional" hochladen 2026-08-18 20:14:39 +02:00
61b23126e4 Dateien nach "docs/architecture/functional" hochladen 2026-08-18 17:12:40 +02:00
ed90291838 Dateien nach "docs/architecture/functional" hochladen 2026-08-18 16:40:00 +02:00
fc2ef37c12 vorläufe belastbare Fassung 2026-08-18 12:26:13 +02:00
c52a0bd810 Dateien nach "docs/architecture/functional" hochladen 2026-08-18 12:16:03 +02:00
13653a4ed1 Dateien nach "docs/architecture/functional" hochladen 2026-08-18 12:10:41 +02:00