lllin000_PaperForge/paperforge/memory
LLLin000 8dca070b75 feat: PR 2 — Memory Builder incremental update
- Replace _read_result_hash with _resolve_ocr_result_hash (3-level fallback:
  result-hash.txt → SHA-256 of structured artifacts → meta.json derived_version)
- Change fast-path to incremental mode: hash-match calls _incremental_units_only
  instead of early return
- _incremental_units_only: per-paper OCR hash comparison, rebuild only changed
- _rebuild_paper_units: DELETE + rebuild + insert + FTS refresh
- _upsert_body_units updated with schema v4 columns
2026-07-06 16:42:28 +08:00
..
__init__.py chore: commit session work before hotfix switch 2026-05-18 22:47:30 +08:00
_columns.py chore: commit session work before hotfix switch 2026-05-18 22:47:30 +08:00
builder.py feat: PR 2 — Memory Builder incremental update 2026-07-06 16:42:28 +08:00
chunker.py fix: add missing chunker module; restore deleted vector_db.py 2026-05-15 21:27:22 +08:00
CONTEXT.md docs: design Layer 4 retrieval substrate 2026-07-05 02:05:27 +08:00
context.py feat(memory): add agent context query module 2026-05-12 19:55:58 +08:00
db.py feat: runtime contract hardening + skill/command truth alignment (Package A+B) 2026-05-16 22:38:43 +08:00
events.py fix: import_reading_log to JSONL, correction JSONL-first, events.py wrapper 2026-05-14 22:37:55 +08:00
fts.py fix: improve search accuracy with multi-token LIKE and guided agent search queries 2026-05-25 16:42:11 +08:00
permanent.py chore: commit session work before hotfix switch 2026-05-18 22:47:30 +08:00
query.py feat: make paper lookup decomposed and coverage-scored 2026-07-05 14:14:03 +08:00
refresh.py fix: refresh_paper FTS delete-before-upsert, import error checking 2026-05-14 22:47:48 +08:00
runtime_health.py chore: commit session work before hotfix switch 2026-05-18 22:47:30 +08:00
schema.py feat: PR 1 — nested structure tree + body_units correctness 2026-07-06 16:42:08 +08:00
state_snapshot.py chore: commit session work before hotfix switch 2026-05-18 22:47:30 +08:00
vector_db.py chore: commit session work before hotfix switch 2026-05-18 22:47:30 +08:00