Commit graph

156 commits

Author SHA1 Message Date
Research Assistant
503f3c64bc fix: correct ocr_redo property insertion — find block end, avoid broken YAML 2026-06-01 11:48:14 +08:00
Research Assistant
9c4d150da6 feat: add paperforge ocr redo command for re-running OCR on marked papers 2026-06-01 11:29:06 +08:00
Research Assistant
8cc493967e fix: add ocr_redo to expected frontmatter fields in test 2026-06-01 11:25:24 +08:00
Research Assistant
37768d15be feat: add ocr_redo frontmatter field + sync preservation 2026-06-01 11:23:32 +08:00
Research Assistant
363b0cb962 feat: surgical append missing standard views to existing base files 2026-06-01 11:20:03 +08:00
Research Assistant
e269c0b8d8 fix: correct base filter syntax to Obsidian standard (== and double quotes) 2026-06-01 11:16:53 +08:00
Research Assistant
d10c29bd96 feat: slim base views to 4, add ocr redo view 2026-06-01 11:09:38 +08:00
Research Assistant
dde9c903fe feat: wire layered OCR pipeline into render_page_blocks + fixture-backed integration tests 2026-06-01 00:10:04 +08:00
Research Assistant
8e67557245 feat: add OCR emission layer and regression tests 2026-06-01 00:01:39 +08:00
Research Assistant
7406689746 feat: add OCR layered modules (roles, body spine, layout, attach) 2026-06-01 00:01:05 +08:00
Research Assistant
5d9560d5f1 fix: use REPO_ROOT absolute path in fixture inventory test 2026-05-31 23:55:32 +08:00
Research Assistant
c4af80fd06 test: add OCR reading-order fixture inventory 2026-05-31 23:52:55 +08:00
Research Assistant
3d820ad5c9 fix(sync): avoid prune crash when optional deps are missing 2026-05-31 20:55:17 +08:00
Research Assistant
925b4d0957 test(ocr): add block order rendering regressions 2026-05-31 20:55:17 +08:00
Research Assistant
181f77052c fix(base): use configured folder filter for fresh base views 2026-05-31 20:55:16 +08:00
Research Assistant
537e77c343 test: preserve setup behavior without OCR key 2026-05-31 20:22:38 +08:00
Research Assistant
07d032e420 feat: preserve user tags during sync 2026-05-31 20:01:16 +08:00
Research Assistant
49a8c307c1 test: cover preserved frontmatter tags 2026-05-31 19:52:37 +08:00
Research Assistant
03ad9ce64f feat: stabilize paperforge query planning 2026-05-27 21:20:15 +08:00
Research Assistant
15bf3c6529 test: clean up brittle and low-value tests
- Remove 4 broken Python test files (ld_deep x3, path_normalization)
- Fix 2 vector_db tests to mock get_collection instead of chromadb.PersistentClient
- Remove 2 JS test files (settings-panels, vector-ready — trivial)
- Trim 3 buildRuntimeInstallCommand tests from errors.test.ts
- Narrow CI unit-tests to only run tests/unit/ (gate-level)
2026-05-24 20:00:47 +08:00
Research Assistant
3619fe264f Revert "test: clean up brittle and low-value tests"
This reverts commit 5ad9a54a66.
2026-05-24 19:59:24 +08:00
Research Assistant
5ad9a54a66 test: clean up brittle and low-value tests
- Remove 4 broken Python test files (ld_deep x3, path_normalization)
- Fix 2 vector_db tests to use correct mock target (get_collection)
- Remove 2 JS test files (settings-panels, vector-ready — trivial)
- Trim 3 buildRuntimeInstallCommand tests from errors.test.ts
- Narrow CI unit-tests to only run tests/unit/ (gate-level)
2026-05-24 19:59:14 +08:00
Research Assistant
3044881aeb feat(skill): add version field to SKILL.md frontmatter and bootstrap, with pre-flight version check 2026-05-19 15:54:04 +08:00
Research Assistant
805594d98e test(skill): add skill graph contract tests 2026-05-19 14:44:56 +08:00
Research Assistant
f9cc4ae8a9 refactor(skill): add atoms and molecules directories 2026-05-19 14:42:35 +08:00
Research Assistant
cc5fa0658f fix: add return type annotation to main() and indent=2 to early-exit json.dump calls 2026-05-19 14:41:06 +08:00
Research Assistant
88a3b536c9 feat(bootstrap): add capability probes to bootstrap output
Adds a capabilities block to the bootstrap JSON with runtime probes:
- rg: checks if ripgrep is available
- metadata_search: always True (vault config present)
- paper_context: always True
- semantic_enabled/semantic_ready: derived from plugin data.json

Test verifies the contract with an isolated tmp_path vault.
2026-05-19 14:36:05 +08:00
Research Assistant
02ef2d9b52 feat(sync): auto-detect orphan papers after sync, show modal in Obsidian
- prune.py: _enrich_orphan_preview() reads note frontmatter for metadata
- sync_service.py: always run dry-run prune, include in result
- sync.py: write sync-orphan-state.json for plugin consumption
- main.js: add checkOrphanState() + PaperForgeOrphanModal with select/toggle
- styles.css: orphan modal styles (list, tags, dimmed rows)
- cli.py: add --keys to prune command for targeted deletion
2026-05-19 00:31:19 +08:00
Research Assistant
e2068d2172 test(prune): add SyncService prune integration tests 2026-05-18 21:58:57 +08:00
Research Assistant
63705b4103 fix(prune): protect dir iteration, add OSError handling, improve test coverage 2026-05-18 21:53:14 +08:00
Research Assistant
6facabc8aa feat(prune): core orphan paper cleanup module 2026-05-18 21:48:18 +08:00
Research Assistant
8233cb7aff feat(plugin): render discussion card from .md with MarkdownRenderer 2026-05-18 21:12:06 +08:00
Research Assistant
add220d93c feat(discussion): remove JSON output and markdown escaping 2026-05-18 21:09:54 +08:00
Research Assistant
a599cd930b Merge branch 'paperforge-stabilization'
# Conflicts:
#	paperforge/memory/vector_db.py
2026-05-18 18:47:07 +08:00
Research Assistant
a50a1510bd fix(test): correct patch target in test_retrieve — must patch embedding.get_embed_status, not status.get_embed_status, because retrieve.py imports from __init__ re-export 2026-05-18 17:38:23 +08:00
Research Assistant
a3e8a6e816 test: update vector_db test imports to embedding package 2026-05-18 17:23:37 +08:00
Research Assistant
97a2875d48 docs: reset documentation IA (readme entry pages, tutorial/troubleshooting split, AGENTS agent-only, pure command ref, maintainer guide)
Separate audiences: README as navigation entry, getting-started as canonical tutorial,
troubleshooting as failure recovery, AGENTS as agent-only operating contract,
COMMANDS as pure reference, maintainer-guide for release/versioning/architecture.
2026-05-16 22:47:00 +08:00
Research Assistant
2b552be9e6 feat: runtime contract hardening + skill/command truth alignment (Package A+B)
Atomic snapshots, canonical index mutation serialization, sync post-clean truth,
plugin path config-awareness, embed stop signal honesty, full snapshot bootstrap,
pf_ prefix unification, workflow command/lifecycle/path corrections,
mechanical/cognitive route separation with unknown-command guard.
2026-05-16 22:38:43 +08:00
Research Assistant
245d09e383 feat: add runtime-health CLI command 2026-05-15 01:16:16 +08:00
Research Assistant
fe33470303 feat: add layered runtime health computation 2026-05-15 01:15:39 +08:00
Research Assistant
b21c339227 feat: persist embed lifecycle and add stop command 2026-05-15 01:15:07 +08:00
Research Assistant
64ee50a080 feat: add persistent vector build state helpers 2026-05-15 01:13:12 +08:00
Research Assistant
fd7f7f3278 perf: refresh_paper accepts entry dict, skip full index read 2026-05-13 16:58:39 +08:00
Research Assistant
1ae7e074d8 feat(memory): dashboard reads from SQLite + incremental refresh_paper() 2026-05-12 20:08:46 +08:00
Research Assistant
b7530d5dee feat(memory): add agent context query module 2026-05-12 19:55:58 +08:00
Research Assistant
80d76e6ac2 feat(frontmatter): add citation_key field and alias from BBT citationKey 2026-05-12 18:28:53 +08:00
Research Assistant
38dacbbf12 test(memory): add integration test for memory build/status workflow 2026-05-12 17:59:37 +08:00
Research Assistant
c100423353 feat(memory): add query module for paper lookup and status check 2026-05-12 17:47:30 +08:00
Research Assistant
1407e2606d feat(memory): add builder module that populates SQLite from formal-library.json 2026-05-12 17:44:03 +08:00
Research Assistant
cf919d1801 feat(memory): add schema module with table definitions and tests 2026-05-12 17:40:10 +08:00