Commit Graph
16 Commits
Author SHA1 Message Date
wdm ca86705646 Translate skill docs (article-deep-summary, llm-summary-review, keyword-cleanup-review) from English to Chinese 2026-03-30 23:14:22 +08:00
wdm 1edbc2b736 Remove __pycache__ files from git tracking 2026-03-30 01:12:18 +08:00
wdm 9aa833d2c8 Move CODE_REVIEW.md to plans/ directory 2026-03-30 01:10:05 +08:00
wdm 40fccbd0cc Update README: add generate_article_summaries tool and single-item format support 2026-03-30 01:06:17 +08:00
wdm d3417e29e1 Support single-item extracted file format in summarize_selected_articles 2026-03-30 01:01:43 +08:00
wdm 8575033528 Relax summary field max_length from 140 to 300 characters 2026-03-29 17:58:19 +08:00
wdm ed0e3a9c7d feat: make article summary prompt independent from daily digest
- Add outputs/prompts/article-summary-prompt.txt with deep knowledge
  note schema (core_conclusion, main_argument, key_methods, etc.)
- Add ArticleSummaryResult Pydantic model for the new schema
- Add validate_article_summary_payload() validator
- Add optional validator param to run_loop_payload(); defaults to
  existing validate_llm_result_payload so daily digest is unaffected
- Update article_summary.py: new prompt path, new validator, new
  Markdown output with Chinese section headers
2026-03-29 16:49:05 +08:00
wdm 79509fd1ba Add detailed step comments to _process_item helper 2026-03-29 16:27:11 +08:00
wdm 3d58408687 Refactor: split run_freshrss_pipeline into internal helpers
Extract three internal helpers to reduce the main function from ~330
lines to ~80 lines:
- _process_item(): handles per-item extract/summarize/filter/build
- _build_and_persist_delivery(): builds payload and persists keyword index
- _build_run_report(): assembles status counts and run report dict

No behavior changes. External signature and return shape unchanged.
2026-03-29 16:27:11 +08:00
wdm 78039eff47 Document drop rule constraint: stop_on_match must be true
Add explicit authoring constraint in filter-rule-engine-usage.md:
all drop rules must set stop_on_match=true to prevent low-priority
drop rules from overriding high-priority keep decisions.
2026-03-29 16:27:11 +08:00
wdm a2f6f8a28d Improve _load_required_env error message clarity
Distinguish between missing argument and missing environment variable
in the RuntimeError message to speed up debugging.
2026-03-29 16:27:11 +08:00
wdm 2d9a38e465 Refactor context passing: pipeline now accepts dict directly
Eliminate the NamedTemporaryFile workaround in server.py by adding a
`context` dict parameter to run_freshrss_pipeline. The pipeline resolves
filter context from the dict first, falling back to context_path, then
defaulting to an empty FilterContext. Remove unused json/tempfile imports.
2026-03-29 16:27:11 +08:00
wdm ced6142b59 Add .idea/ to .gitignore 2026-03-29 16:27:11 +08:00
wdm 9f7b777784 Merge remote-tracking branch 'origin/main' 2026-03-29 00:07:20 +08:00
wdm 40e896fa01 Remove local Claude settings file 2026-03-29 00:02:49 +08:00
wdm 41f7ac0e91 Add inline comments to core modules and code review notes
Added explanatory comments to server.py, freshrss_pipeline.py, pipeline.py,
freshrss.py, keyword_index.py, summary_loop.py, and filters/engine.py.
Also added CODE_REVIEW.md with prioritized improvement suggestions.
2026-03-28 23:59:50 +08:00