Commit History

  1. Improve diagram layout, relationship correctness and validation; patch dependencies Running

    DONG-WEI-YANG
    6ec5c72
  2. fix: harden privacy, access limits, drafts and graceful shutdown

    DONG-WEI-YANG
    f609b94

  1. docs: document the raw-SQL DB init gotcha in feedback.ts and ragStore.ts⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    720b4c5
  2. docs(security): document sharp/adm-zip vulnerability reachability analysis⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    64365fc
  3. fix(react): resolve stale-closure bugs surfaced by exhaustive-deps⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    c61e606
  4. chore(lint): add ESLint, fix mechanical violations, remove dead code⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    01fbb71
  5. perf(rag): cache the BM25 index instead of rebuilding it on every search⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    f72e57d
  6. test: add coverage for cmsQuota, complianceRules, crawlTargets, wordExport⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    80f80eb

  1. fix(security): derive consent-log IP from tRPC context, never client input⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    beda5a1
  2. fix(ai): inject genogram/ecomap RAG context for all 7 record types⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    4650a6f
  3. refactor(backend): extract shared findRecordByKey helper⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    8c43020
  4. fix(backend): cap ltc3.match/search input length⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    fcd5907
  5. fix(backend): wire up crawl scheduler + RAG expiry purge; add missing test coverage⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    0da068d
  6. fix(security): mount retrieveLimiter/createLimiter; make batch matching robust⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    fa1fd00
  7. fix(feedback): log when the Google Sheets sync fails instead of swallowing it⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    5010774
  8. fix(ai): nlpCorrector HF request format was broken; remove dead AI modules⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    faec29b
  9. fix(security): patch critical vulnerabilities from full-app audit⁠

    DONG-WEI-YANG +1: Claude Sonnet 5
    b81c93f

  1. fix(offline-ai): 2 more bugs found via live browser inference (CSP wasm-eval, OPFS cache reporting)⁠

    DONG-WEI-YANG +1: Claude Fable 5
    03d636e
  2. fix(offline-ai): wllama never actually worked in production (3 bugs)⁠

    DONG-WEI-YANG +1: Claude Fable 5
    2258f1d
  3. fix(db): repair key_prefix column after migrations on fresh databases⁠

    DONG-WEI-YANG +1: Claude Fable 5
    a8dc994

  1. fix(deploy): run DB migrations on server startup + copy drizzle to image⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    3861e0f
  2. fix(rag): test isolation + hasFailed() semantic accuracy⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    c17e2b9
  3. feat(server): auto-seed genogram RAG on first startup⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    f84a165
  4. feat(ai): inject genogram/ecomap RAG context into 3 endpoints⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    330eb07
  5. feat(ai): ragContext.ts — genogram + ecomap RAG helpers⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    3cdaead
  6. feat(rag): genogram coding-guide seed + ragStore helpers⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    ba6cdcd
  7. feat(rag): add source+category filters to ragSearch.search⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    53962cc
  8. fix(ai): offline ecomap extraction uses institution-keyword dictionary, not substring slicing⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    c07e5f3
  9. fix(ai): offline genogram extraction uses relation-word dictionary, not substring slicing⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    41b1465
  10. fix(ai): tighten supplementGenogram prompt — gender/health from relation+condition words, relationship.from = named person⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    714d323

  1. feat(llm): add DeepInfra provider to cloud-llama tier⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    4fae6d6
  2. fix(api): apiStatus reports cloud-llama / local-server tiers⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    bb6dec8
  3. test(device-ai): concurrent getWllamaSession dedup test; fix stale buildRegistry comment⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    42e62a0
  4. fix(deps): migrate @xenova /transformers v2 -> @huggingface/transformers v4⁠

    DONG-WEI-YANG +1: Claude Opus 4.7 (1M context)
    eafa87d

  1. feat(llm): register local-server llama provider from LLAMA_SERVER_URL env⁠

    DONG-WEI-YANG +1: Claude Sonnet 4.6
    bde8c5f
  2. feat(llm): register OpenRouter cloud-llama providers from env vars

    DONG-WEI-YANG
    dd470e4
  3. feat(llm): register Groq cloud-llama providers from env vars

    DONG-WEI-YANG
    0312753
  4. feat(llm): _clearCircuitBreaker resets all provider families

    DONG-WEI-YANG
    2a2a1b2
  5. feat(llm): CloudLlamaProvider class for OpenAI-compat endpoints⁠

    DONG-WEI-YANG +1: Claude Sonnet 4.6
    7055a3a
  6. fix(llm): cooldown last-resort loop bails on non-retryable 4xx

    DONG-WEI-YANG
    104ee08
  7. docs(llm): explain magic-number constants in provider configs

    DONG-WEI-YANG
    df78735
  8. refactor(llm): export callOpenAICompat for sibling provider modules

    DONG-WEI-YANG
    e84b08c
  9. feat(llm): add cloud-llama tier with JSDoc on Tier type

    DONG-WEI-YANG
    0eaa75b
  10. refactor(llm): extract shared extractJson to utils.ts (DRY fix)

    DONG-WEI-YANG
    4292060
  11. fix(llm): race-batch prioritizes non-retryable in AggregateError flattening⁠

    DONG-WEI-YANG +1: Claude Sonnet 4.6
    4673bbe
  12. refactor(llm): hfInference.ts retains multimodal, re-exports chat from llmProviders

    DONG-WEI-YANG
    300ae55
  13. feat(llm): move chatAndReturn and chatAndParse to llmProviders.ts

    DONG-WEI-YANG
    20655a4
  14. feat(llm): buildRegistry from env vars (Gemini x3 keys, HF 8 models x3 keys)

    DONG-WEI-YANG
    f20a677
  15. feat(llm): HFProvider with 120s circuit breaker per provider name⁠

    DONG-WEI-YANG +1: Claude Sonnet 4.6
    d15e911
  16. feat(llm): GeminiProvider with model override and 4xx status preservation⁠

    DONG-WEI-YANG +1: Claude Sonnet 4.6
    5e63838