Commit graph

58 commits

Author SHA1 Message Date
ValueOn AG
a6806dd04b fixed component formgeneratortree and truastee workflows 2026-05-04 09:39:10 +02:00
Ida
06d9910ecd file tree ersetzt durch gruppierung im formgenerator 2026-04-30 12:37:46 +02:00
Ida
72d3175f49 Gruppierung im Formgenerator fertig 2026-04-29 18:16:02 +02:00
Ida
dff3d41845 fix(rag): stable ingestion idempotency across re-extractions (AC4)
Re-indexing the same file always triggered a full embedding run —
ingestion.skipped.duplicate never fired. Two independent causes:

1. _computeIngestionHash included contentObjectId in its payload, but
   extractors generate fresh uuid4() per run, making the hash a
   per-run nonce. Now hashed over (contentType, data) in extractor
   order — stable across re-extractions, sensitive to content,
   ordering, and type changes.
2. _autoIndexFile upserted the fresh pre-scan FileContentIndex before
   requestIngestion's duplicate check, wiping structure._ingestion
   and status=indexed from the prior run. The pre-upsert now merges
   the existing _ingestion metadata and preserves the indexed status.

Verified end-to-end: second PATCH /scope on an already-indexed file
logs  and returns in ~2s
with zero embedding API calls.

Adds test_ingestion_hash_stability.py (5 cases).
2026-04-29 14:39:40 +02:00
Ida
a7f4055130 fix(rag): preserve per-page granularity + remove on-demand extraction fallbacks
The default MergeStrategy concatenates every extracted text part into a
single ContentPart, collapsing a 500-page PDF into one chunk with a
blurred average embedding — RAG retrieval was effectively broken.

- ExtractionOptions.mergeStrategy is now Optional[MergeStrategy]; passing
  None preserves per-part granularity. Default factory kept for
  backward compatibility.
- routeDataFiles._autoIndexFile, _workspaceTools.readFile, and
  _documentTools.describeImage explicitly pass mergeStrategy=None.
- Agent tools no longer carry redundant extraction + requestIngestion
  fallback paths: the unified ingestion lane owns all corpus writes,
  and readFile/describeImage are pure consumers of the knowledge store.
- Unit test asserts runExtraction(mergeStrategy=None) keeps every part.
2026-04-29 14:39:40 +02:00
Ida
9d82d3d353 P0: injection facade 2026-04-29 14:39:40 +02:00
ValueOn AG
d505ffd9cd Graph and data class falignment strict 2026-04-26 22:53:44 +02:00
ValueOn AG
564a1200c6 datamodel sctirc fk logic in one place 2026-04-26 18:11:42 +02:00
ValueOn AG
24f0c3e2eb cleanup internal marked exports 2026-04-26 08:31:35 +02:00
ValueOn AG
f29e0c9edc feature fixes 2026-04-20 17:51:09 +02:00
ValueOn AG
50107a91ba fixed proper splitting sysadmin/platformadmin and proper logic for mandate name(slug) and label(user) 2026-04-19 00:04:03 +02:00
Patrick Motsch
1c3b3ace27
Merge pull request #126 from valueonag/feat/demo-system-readieness
Feat/demo system readieness
2026-04-17 21:46:59 +02:00
Ida
d9f437f63e bugfix(FIL-01 + files verschwunden nach hochladen und reload 2026-04-17 14:09:33 +02:00
ValueOn AG
19be818fbb testing fixes, udb source handling fixes 2026-04-17 11:50:24 +02:00
ValueOn AG
e942770ffc feat db-clean-ui and unified content udm 2026-04-16 23:13:05 +02:00
ValueOn AG
35209f7f80 fixed formgenerator , trustee, sort and filter 2026-04-14 00:15:56 +02:00
ValueOn AG
5780cc0324 cleanup routesintegration view 2026-04-12 18:32:21 +02:00
ValueOn AG
e43b0741ed fixes lang uand issues 2026-04-12 14:04:49 +02:00
ValueOn AG
1b51ee3e1c fixed udb rbac 2026-04-12 10:43:30 +02:00
ValueOn AG
091a3672de fixed udb issues 2026-04-12 10:12:03 +02:00
ValueOn AG
4dfc0afd06 fixed language logic items 2026-04-11 19:44:58 +02:00
ValueOn AG
be9e47caad phase 2 i18n clean 2026-04-10 12:33:27 +02:00
ValueOn AG
7e88005721 unified failsafe neutralization architecture 2026-03-29 21:55:09 +02:00
ValueOn AG
75484c0f73 BREAKING CHANGE
API and persisted records use PowerOnModel system fields:
- sysCreatedAt, sysCreatedBy, sysModifiedAt, sysModifiedBy
Removed legacy JSON/DB field names:
- _createdAt, _createdBy, _modifiedAt, _modifiedBy
Frontend (frontend_nyla) and gateway call sites were updated accordingly.
Database:
- Bootstrap runs idempotent backfill (_migrateSystemFieldColumns) from old
  underscore columns and selected business duplicates into sys* where sys* IS NULL.
- Re-run app bootstrap against each PostgreSQL database after deploy.
- Optional: DROP INDEX IF EXISTS "idx_invitation_createdby" if an old index remains;
  new index: idx_invitation_syscreatedby on Invitation(sysCreatedBy).
Tests:
- RBAC integration tests aligned with current GROUP mandate filter and UserMandate-based
  UserConnection GROUP clause; buildRbacWhereClause(..., mandateId=...) must be passed
  explicitly (same as production request context).
2026-03-28 18:12:37 +01:00
ValueOn AG
efe540b4f9 fixing round 1 2026-03-28 16:59:01 +01:00
ValueOn AG
8b161ed410 unified data - step 1 2026-03-24 14:16:46 +01:00
ValueOn AG
da096bb6e2 rag stats 2026-03-23 00:17:59 +01:00
ValueOn AG
2e7a0a73c7 streamlined formgeneratortable and sort/filter globally 2026-03-22 21:34:54 +01:00
ValueOn AG
6296b79ad0 feat folder download as zip 2026-03-18 14:10:50 +01:00
ValueOn AG
6c8cc843ce file system and stt and ttss reevisions 2026-03-17 19:19:27 +01:00
ValueOn AG
b5dc643dac ai workspace ui fixes 2026-03-16 11:38:18 +01:00
ValueOn AG
7fe6f9bc97 new ai agent 2026-03-15 23:38:21 +01:00
5120fbc503 neutralized pdf files and better pattern recognition 2026-02-26 15:02:01 +01:00
patrick-motsch
8d28f6d77b fiixed feature instance role access 2026-02-08 14:26:01 +01:00
ValueOn AG
a0b9a6e4b5 reference fixes 2026-01-24 00:42:19 +01:00
ValueOn AG
04ba89a0e8 before feature container refactory 2026-01-22 00:23:33 +01:00
Patrick Motsch
abbed64463
Merge pull request #85 from valueonag/feat/real-estate
Feat/real estate
2026-01-11 15:12:16 +01:00
ValueOn AG
4b00e741b3 refactored service center 2025-12-15 21:55:26 +01:00
12dd5aaea6 PEK update 2025-12-15 07:21:56 +01:00
ValueOn AG
1195105b94 cleaned up dependencies and code architecture 2025-12-09 23:25:06 +01:00
ValueOn AG
54246745a9 refactored uam to rbac 2025-12-07 13:48:39 +01:00
ValueOn AG
4d3ca3342a table rendering with proper api controled rendering 2025-11-01 23:00:55 +01:00
ValueOn AG
daddf417be Cleaned all import lists 2025-10-24 23:57:17 +02:00
ValueOn AG
8be9211b28 complete refactory of all dependencies 2025-09-26 23:36:56 +02:00
ValueOn AG
07a2d279df cleaned model space centralized 2025-09-25 16:59:44 +02:00
ValueOn AG
ebfdd9ab03 admin interface 2025-09-22 07:44:39 +02:00
ValueOn AG
168d66d167 cleaned key handling and security 2025-09-22 00:39:15 +02:00
ValueOn AG
a941963e78 neutralizer 1.0 2025-09-17 02:12:34 +02:00
64bb90b0fa Merge branch 'int' of https://github.com/valueonag/gateway into int 2025-09-02 07:04:41 +02:00
bf91207b55 fixed type defintion error in datafiles (issue with fileName) 2025-09-02 07:04:24 +02:00