Commit Graph

25 Commits

Author SHA1 Message Date
FFXN
644a9b96a6 fix(knowledge-fs): harden semantic chunking and deletion cleanup
- retry semantic chunking when the LLM returns an invalid schema
- add corrective schema instructions to retry prompts
- remove capability grant foreign keys from durable deletion records
- preserve capability grant IDs as immutable audit provenance
- add migration and regression coverage
2026-09-03 16:59:57 +08:00
Jyong
afa771dcac feat(knowledge-fs): keep query images with retrieval test history
Query images attached to a retrieval test vanished as soon as the run's
history record was selected, and were never shown again after a reload,
because nothing persisted them: the gateway dropped `queryImages` when writing
`answer_traces`, the console trace/research responses had no image field, and
the composer cleared its images on every record selection.

- knowledge-fs: add a nullable JSON `query_images` column to `answer_traces`
  (migration 0049 for postgres and tidb), persist and read it in the answer
  trace repository, and expose `queryImages` on quality trace list items.
- api: enrich trace and research task responses with
  `KnowledgeFSQueryImageResponse`, resolving file names and short-lived signed
  preview URLs only for files the acting account still owns; regenerate the
  console and service contracts.
- web: keep composer images scoped to the selected record like the query
  text, remember images per run in this session, fall back to persisted
  previews (with a labelled placeholder when the file is gone), show them in
  the result panel and as a count on history records, and carry them into
  retests.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015zw5G5SX3HmVfnZof6YWAc
2026-09-02 09:17:36 -04:00
Jyong
7876f6e670 fix(knowledge-fs): scope child deletion conflicts 2026-09-01 05:18:38 -04:00
Jyong
4f3a2952d6 perf(knowledge-fs): harden cross-format document ingestion 2026-08-31 07:48:35 -04:00
FFXN
c1b5d09196 fix(knowledge-fs): remove provider mode from sync policies and update related constraints 2026-08-28 14:43:22 +08:00
FFXN
4db73de307 fix(knowledge-fs): remove provider mode from sync policies and update related constraints 2026-08-28 14:24:20 +08:00
FFXN
ae495d3f97 fix(knowledge-fs): remove provider mode from sync policies and update related constraints 2026-08-28 14:06:49 +08:00
Jyong
66e3ae951f feat(knowledge): add golden question evaluations 2026-08-19 05:54:05 -04:00
Jyong
627c80b09a feat(knowledge-fs): optimize document ingestion pipeline 2026-08-17 02:40:21 -04:00
Jyong
ffd2a7094d restore semantic document compilation pipeline 2026-08-13 13:10:39 -04:00
Jyong
d064bf036c feat: capture workflow retrieval misses 2026-08-12 13:31:02 -04:00
Stephen Zhou
668b122632
style(knowledge-fs): format availability changes 2026-08-11 11:26:36 +08:00
Stephen Zhou
dabd74ac44
fix(knowledge-fs): align availability schema migration 2026-08-11 11:04:00 +08:00
FFXN
26544610ff feat(knowledge_fs): add document availability management with bulk update support 2026-08-11 10:01:33 +08:00
Jyong
1ac8c9e434 feat(knowledge-fs): add durable metadata management 2026-08-10 02:55:09 -04:00
Jyong
1d990de7e7 Refactor application components and update related functionality 2026-08-09 12:19:56 -04:00
Stephen Zhou
b88a8933ed
fix(knowledge-fs): allow zero-revision logical document deletion 2026-08-06 18:49:11 +08:00
Jyong
13ddabf832 Update application functionality and related components 2026-08-06 06:10:09 -04:00
Jyong
923507baeb Stream research task answer deltas through durable progress events 2026-08-02 12:45:51 -04:00
Jyong
e052b2e27f Support emoji icons and map Knowledge FS bad requests 2026-07-30 01:34:56 -04:00
Jyong
5869016c42 Restore Research answer synthesis routing 2026-07-29 13:32:01 -04:00
Stephen Zhou
ab0b2282ab
fix(dataset): complete New RAG connected source flows 2026-07-28 12:58:18 +08:00
Jyong
90b6a7f012 Expand workflow features and update related components 2026-07-23 22:53:41 -04:00
Jyong
29858d0db0 Expand application capabilities and refactor core workflows 2026-07-22 05:09:09 -04:00
Jyong
4ee43b8afc chore: migrate knowledge-fs source tree
Import the committed KnowledgeFS snapshot dc4072ee302317145612087ce7440851dc329fd0 under knowledge-fs/ without its Git history, local IDE settings, or build artifacts.
2026-07-20 04:54:20 -04:00