Commit Graph
18 Commits
Author SHA1 Message Date
wdm 1edbc2b736 Remove __pycache__ files from git tracking 2026-03-30 01:12:18 +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 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 9f7b777784 Merge remote-tracking branch 'origin/main' 2026-03-29 00:07:20 +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
root 9fd21c59f5 feat: keep per-item extracted outputs by default 2026-03-28 23:14:18 +08:00
root 0a00a97724 feat: add article summary post-processing flow 2026-03-28 00:08:38 +08:00
zhuyongxin 32ad584348 Add keyword cleanup governance workflow 2026-03-27 16:59:52 +08:00
zhuyongxin 100044e1f7 feat: add freshrss openclaw pipeline and clean repo 2026-03-26 16:48:19 +08:00
zhuyongxin 27fe1e8882 Refine OpenClaw payloads and reorganize docs 2026-03-26 10:20:07 +08:00
zhuyongxin cecf4d3ae7 Add markdown sink for filtered knowledge notes 2026-03-25 10:25:26 +08:00
zhuyongxin ff3d15b8c4 Add FreshRSS ingestion and rule filtering 2026-03-24 18:37:14 +08:00
zhuyongxin 1dfae8ca19 first commit 2026-03-24 17:01:35 +08:00