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
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
078b4eaaaf
removed unnecessary test files
2026-04-29 14:39:40 +02:00
9d82d3d353
P0: injection facade
2026-04-29 14:39:40 +02:00
Patrick Motsch
ba21005401
Merge pull request #147 from valueonag/feat/demo-system-readieness
...
Feat/demo system readieness
2026-04-29 01:57:49 +02:00
ValueOn AG
052647a52b
wired infomaniac to ai adapters and tools
2026-04-29 01:52:47 +02:00
ValueOn AG
49f3660d89
fixes infomaniak download
2026-04-29 01:03:40 +02:00
ValueOn AG
9816f13ae9
fixes infomaniac different than in doc
2026-04-29 00:57:28 +02:00
ValueOn AG
b405cebdec
kdrive fix
2026-04-29 00:35:21 +02:00
ValueOn AG
fb3a1f0a51
fixes ai agents parameter flow
2026-04-28 11:58:53 +02:00
Patrick Motsch
4d7ccb0418
Merge pull request #145 from valueonag/feat/demo-system-readieness
...
trustee agent fix
2026-04-27 08:08:32 +02:00
ValueOn AG
d9fcea54ff
trustee agent fix
2026-04-27 08:07:37 +02:00
Patrick Motsch
e8abd553d0
Merge pull request #144 from valueonag/feat/demo-system-readieness
...
Feat/demo system readieness
2026-04-27 00:00:13 +02:00
ValueOn AG
30ea8bbefe
fixed trustee
2026-04-26 23:59:09 +02:00
Patrick Motsch
96e2356ddd
Merge pull request #143 from valueonag/int
...
Int
2026-04-26 23:14:06 +02:00
Patrick Motsch
3507c16055
Merge branch 'main' into int
2026-04-26 23:10:49 +02:00
Patrick Motsch
f8853d23ca
Merge pull request #141 from valueonag/feat/demo-system-readieness
...
Feat/demo system readieness
2026-04-26 22:55:20 +02:00
ValueOn AG
d505ffd9cd
Graph and data class falignment strict
2026-04-26 22:53:44 +02:00
ValueOn AG
60d5062204
fix model registration race locker
2026-04-26 18:13:11 +02:00
ValueOn AG
564a1200c6
datamodel sctirc fk logic in one place
2026-04-26 18:11:42 +02:00
ValueOn AG
8221a0da3e
fixed user references
2026-04-26 08:57:49 +02:00
ValueOn AG
24f0c3e2eb
cleanup internal marked exports
2026-04-26 08:31:35 +02:00
ValueOn AG
794ba36f27
teamsbot
2026-04-25 01:13:01 +02:00
ValueOn AG
b6be8f391e
fixes
2026-04-23 23:09:38 +02:00
269d0fa5ff
fix forgejo env
Deploy Gateway / deploy (push) Successful in 4s
2026-04-22 14:59:19 +02:00
1f5b5b5580
fix: remote ssh uri to pull
Deploy Gateway / deploy (push) Successful in 5s
2026-04-22 14:03:15 +02:00
c42f0403df
added seperate env file for forgejo deployment and updated forgejo yml file
Deploy Gateway / deploy (push) Failing after 2s
2026-04-22 13:58:35 +02:00
e9ceac139a
fix: env file main clickup connector redirect uri
2026-04-22 13:46:30 +02:00
dd2c771cb8
fix env-int file for clickup connector
2026-04-22 13:45:36 +02:00
e8adf18b0f
add forgejo deploy workflow
2026-04-22 13:45:36 +02:00
Stephan Schellworth
ea566c270f
docs: add gateway docs and Cursor plan artifacts
...
Made-with: Cursor
2026-04-22 07:21:43 +02:00
Stephan Schellworth
af68f6a8c8
Merge branch 'main' of https://github.com/valueonag/gateway
2026-04-22 07:21:37 +02:00
Patrick Motsch
d3551f0287
Merge pull request #140 from valueonag/int
...
Int
2026-04-22 00:03:54 +02:00
Patrick Motsch
4dc43b5e8f
Merge pull request #139 from valueonag/feat/demo-system-readieness
...
Feat/demo system readieness
2026-04-22 00:00:57 +02:00
ValueOn AG
71f4265e06
fixes udb, outlook, workflow
2026-04-21 23:49:46 +02:00
ValueOn AG
908be0511b
redmine integrated and fixed
2026-04-21 21:30:11 +02:00
ValueOn AG
dc0346904f
redmine integration
2026-04-21 18:14:21 +02:00
Patrick Motsch
2f1e4a24de
Merge pull request #138 from valueonag/int
...
Int
2026-04-21 10:51:02 +02:00
Patrick Motsch
1a675425a6
Merge pull request #137 from valueonag/feat/demo-system-readieness
...
fix critical trustee db sync
2026-04-21 10:45:50 +02:00
ValueOn AG
be43876461
fix critical trustee db sync
2026-04-21 10:45:14 +02:00
dc8cddf4ed
Merge branch 'main' of github.com:valueonag/gateway
2026-04-21 10:21:28 +02:00
Patrick Motsch
e3c74329e5
Merge pull request #136 from valueonag/feat/demo-system-readieness
...
stripe fix
2026-04-21 08:58:37 +02:00
ValueOn AG
5ef311a82e
stripe fix
2026-04-21 08:57:43 +02:00
Patrick Motsch
67cd15d8ea
Merge pull request #135 from valueonag/int
...
Int
2026-04-21 00:55:47 +02:00
Patrick Motsch
7fd942a1b5
Merge pull request #134 from valueonag/feat/demo-system-readieness
...
Feat/demo system readieness
2026-04-21 00:52:28 +02:00
ValueOn AG
d0735ad342
Merge branch 'feat/demo-system-readieness' of https://github.com/valueonag/gateway into feat/demo-system-readieness
2026-04-21 00:50:41 +02:00
ValueOn AG
cdca242f82
data source fixes
2026-04-21 00:50:36 +02:00
2fe50f648a
trigger deploy
Deploy Gateway / deploy (push) Successful in 5s
2026-04-20 20:04:24 +02:00
56068a8174
trigger deploy
Deploy Gateway / deploy (push) Successful in 5s
2026-04-20 20:03:27 +02:00
1c298528a1
trigger deploy
Deploy Gateway / deploy (push) Failing after 3s
2026-04-20 20:02:47 +02:00