Commit Graph
3 Commits
Author SHA1 Message Date
JyongandClaude Fable 5.2 9cbb4e42e3 fix(api): bound upload reference parsing and stop locking keyword reads
- Scan Markdown preview links with linear regexes instead of rendering
  through python-markdown; a 40 KB crafted input took ~45 s before.
- Accept only UUID-shaped ids from free text and treat text-linked files
  as best-effort: lock them when the tenant owns them, ignore them
  otherwise, so foreign or stale preview links no longer fail writes.
  Structured references keep hard validation.
- Drop the exclusive Redis lock from the jieba keyword read path.
- Treat pipeline invoke-entity file cleanup as best-effort.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 15:35:50 +08:00
Byron Wang 5b510efc78 fix(api): reconcile service contracts after merging main 2026-10-30 17:22:43 +08:00
Byron Wang 87c6d94564 refactor(api): clarify knowledge service boundaries and resource lifecycles 2026-10-30 16:13:53 +08:00