Skip to content

refactor(docs): reorganize docs, cleanup orphans, update maturity#188

Merged
jerry609 merged 2 commits into
masterfrom
refactor/docs-cleanup-and-maturity-update
Mar 2, 2026
Merged

refactor(docs): reorganize docs, cleanup orphans, update maturity#188
jerry609 merged 2 commits into
masterfrom
refactor/docs-cleanup-and-maturity-update

Conversation

@jerry609

@jerry609 jerry609 commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Summary

净减 2383 行,文档结构更清晰。

Test plan

  • 文档链接可访问
  • README 表格格式正确
  • 合并后的文档内容完整

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • New Features

    • Paper discovery and batch harvesting modules
    • DeepCode Studio for code analysis
    • BibTeX and Zotero bidirectional synchronization
    • OpenAlex added to data sources
    • Apprise multi-channel newsletter delivery
    • HuggingFace Daily Papers integration
  • Documentation

    • Updated system architecture and feature roadmap
    • Expanded documentation for memory and anchor systems
    • Added Phase 6 roadmap for newsletter optimization
  • Chores

    • Reorganized design documentation
    • Removed legacy test scripts

Copilot AI review requested due to automatic review settings March 2, 2026 10:19
@vercel

vercel Bot commented Mar 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
paper-bot Ready Ready Preview, Comment Mar 2, 2026 10:36am

@coderabbitai

coderabbitai Bot commented Mar 2, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR reorganizes PaperBot documentation by consolidating and streamlining design artifacts. It removes obsolete anchor author, memory proposal, and research page redesign documents, replacing them with unified comprehensive documentation for anchor systems, memory architecture, and P2C optimizations. The README is updated with new feature descriptions and API endpoints. Two utility scripts are also deleted.

Changes

Cohort / File(s) Summary
README Updates
README.md
Added OpenAlex data source reference, expanded DailyPush capabilities (MinerU chart extraction, Apprise integration), documented new feature modules (论文发现, 论文收割, DeepCode Studio), updated API endpoint descriptions, and restructured documentation index with new references to memory_system.md, anchor_system.md, and P2C optimization docs.
Anchor System Documentation
docs/anchor_system.md, docs/anchor_author_implementation.md, docs/anchor_source_authority_model.md, docs/ANCHOR_TODO.md
Consolidated anchor author, authority model, and TODO planning documents into a single unified anchor_system.md (458 lines). Removes fragmented design artifacts (488, 770, 135 lines) and consolidates multi-phase implementation roadmap (P0–P4), formal heterogeneous network model, scoring schema, and UI integration specifications into one comprehensive reference.
Memory System Documentation
docs/memory_system.md, docs/memory.md, docs/memory_module_complete_proposal.md
Replaces outdated memory.md and comprehensive proposal document with new memory_system.md (276 lines). New doc refines architecture with L0–L3 progressive disclosure, hybrid recall pipeline (vector + keyword search), dual-track scoring, and phased migration roadmap (Phase 0–Phase 3).
P2C Optimization Documentation
docs/p2c/P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md
New design document (331 lines) analyzing OpenClaw memory mechanisms and identifying ten concrete gaps (G1–G10) in PaperBot. Proposes prioritized optimizations (P0–P2) with concrete data models and integration points for bridging contexts, semantic search via FTS5, and memory decay.
Research Page Design Documentation
docs/design/research-page-redesign-v2.md, docs/design/research-page-redesign-v3.md
Removes both v2 and v3 research page redesign documents (348, 460 lines) containing detailed UI/UX specifications, component modifications, and phased implementation plans. No replacement provided.
Script Cleanup
scripts/validate_datasets.py, verify_claude.py
Deletes dataset validation script (69 lines) for CSV/metadata checking and Claude agent test script (32 lines). No functional replacements introduced.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

  • [Epic] P2C 记忆与上下文系统优化 #153: The PR directly implements the P2C memory/context optimization initiative by adding P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md and consolidating memory_system.md, addressing the "[Epic] P2C 记忆与上下文系统优化" design goals.

Possibly related PRs

Poem

🐰 In burrows of docs, old threads we untied,
Anchor and memory systems unified,
Scattered designs now consolidated bright,
From many fragments to clarity's light! ✨📚

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'refactor(docs): reorganize docs, cleanup orphans, update maturity' accurately summarizes the main changes: documentation reorganization, removal of orphaned files, and updates to module maturity descriptions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch refactor/docs-cleanup-and-maturity-update

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

此拉取请求主要对文档进行了重大的重构和重新组织,同时更新了项目的路线图和模块成熟度级别。核心目标是提高文档的清晰度,简化信息流,并使项目文档与未来的开发阶段保持一致,特别是关于记忆优化和智能体研究的集成。通过删除冗余文件和合并相关内容,文档结构变得更加精简和易于导航。

Highlights

  • 文件清理: 删除了两个孤立的 Python 脚本文件:validate_datasets.pyverify_claude.py
  • 文档目录重组: 对 docs/ 目录进行了大规模重组,包括合并相关文档、将 P2C 相关文档移入专用子目录,并删除了旧的设计迭代版本。
  • README 更新: 更新了 README.md 中模块的成熟度状态和描述,特别是记忆系统和上下文引擎,并新增了每日推送模块。
  • 路线图扩展: 在 README.md 中新增了路线图的阶段 3-5,并增加了研究文档索引,关联了多个 Epic 问题。
  • 新增核心设计文档: 新增了 AGENTIC_RESEARCH_EVOLUTION.mdOPENCLAW_RESEARCH_REPORT.mdanchor_system.mdmemory_system.md 等关键设计和综述文档,以提供更清晰的架构和演进方案。

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • README.md
    • 更新了记忆系统和上下文引擎的成熟度状态和描述
    • 新增了“每日推送”模块
    • 扩展了路线图,包含了新的阶段和史诗级问题链接
  • asset/paperbot-workflow.drawio
    • docs/ 目录重命名并将工作流图文件移动到 asset/ 目录
  • docs/AGENTIC_RESEARCH_EVOLUTION.md
    • 新增文档,概述了智能体研究的演进计划,包括差距分析、OpenClaw 集成架构和实施路线图
  • docs/ANCHOR_TODO.md
    • 删除了锚点作者系统的待办事项文档
  • docs/OPENCLAW_RESEARCH_REPORT.md
    • 新增文档,提供了 OpenClaw 源代码的全面综述,详细介绍了其架构和模块
  • docs/P2C_MODULE1_BENCHMARK.md
    • 重命名了 P2C 基准测试文档,并将其移至 docs/p2c/ 子目录
  • docs/P2C_MODULE_1_CORE_ENGINE.md
    • 重命名了 P2C 核心引擎文档,并将其移至 docs/p2c/ 子目录
  • docs/P2C_MODULE_2_API_STORAGE.md
    • 重命名了 P2C API 和存储文档,并将其移至 docs/p2c/ 子目录
  • docs/P2C_MODULE_3_FRONTEND.md
    • 重命名了 P2C 前端文档,并将其移至 docs/p2c/ 子目录
  • docs/PAPER_TO_CONTEXT_MODULE_DESIGN.md
    • 重命名了 P2C 模块设计文档,并将其移至 docs/p2c/ 子目录
  • docs/anchor_author_implementation.md
    • 删除了锚点作者系统的实施设计文档
  • docs/anchor_source_authority_model.md
    • 删除了锚点源权威模型的正式建模文档
  • docs/anchor_system.md
    • 新增文档,整合了锚点作者系统的理论模型、实施设计和计划
  • docs/design/research-page-redesign-v2.md
    • 删除了研究页面重新设计的旧设计文档
  • docs/design/research-page-redesign-v3.md
    • 删除了研究页面重新设计的精炼旧设计文档
  • docs/memory.md
    • 删除了跨平台记忆中间件文档
  • docs/memory_module_complete_proposal.md
    • 删除了记忆模块架构的全面提案文档
  • docs/memory_system.md
    • 新增文档,详细介绍了 PaperBot 记忆系统,包括已实现功能、外部系统研究、当前分析和架构设计
  • docs/p2c/P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md
    • 新增文档,分析了 PaperBot 的上下文/记忆优化,基于 OpenClaw 机制
  • docs/p2c/P2C_MODULE1_BENCHMARK.md
    • 重命名了 P2C 基准测试文档,并将其移至 docs/p2c/ 子目录
  • docs/p2c/P2C_MODULE_1_CORE_ENGINE.md
    • 重命名了 P2C 核心引擎文档,并将其移至 docs/p2c/ 子目录
  • docs/p2c/P2C_MODULE_2_API_STORAGE.md
    • 重命名了 P2C API 和存储文档,并将其移至 docs/p2c/ 子目录
  • docs/p2c/P2C_MODULE_3_FRONTEND.md
    • 重命名了 P2C 前端文档,并将其移至 docs/p2c/ 子目录
  • docs/p2c/PAPER_TO_CONTEXT_MODULE_DESIGN.md
    • 重命名了 P2C 模块设计文档,并将其移至 docs/p2c/ 子目录
  • docs/paperbot-workflow.drawio
    • 重命名并将工作流图文件移动到 asset/ 目录
  • validate_datasets.py
    • 删除了用于验证数据集的 Python 脚本
  • verify_claude.py
    • 删除了用于验证 Claude 智能体功能的 Python 脚本
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

本次 PR 对文档进行了重构,删除了过时文件并更新了 README,使得文档结构更加清晰,并更新了项目状态和路线图。将设计文档合并到 anchor_system.mdmemory_system.md 中是一个很好的改进。我在新的文档中发现了一些损坏的链接,请查看具体的审查意见。

# PaperBot → Agentic Research 演进方案

> **版本**: v1.0 · **日期**: 2026-03-02
> **关联文档**: [OpenClaw 源码综述](./OPENCLAW_RESEARCH_REPORT.md) · [P2C 记忆优化](./P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md) · [架构总览](./architecture_overview.md)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

此文件中的链接 [P2C 记忆优化](./P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md) 已损坏。根据本次 PR 的文件结构变更,P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md 文件已被移动到 docs/p2c/ 子目录中。为了修复此链接,请更新其路径。

Suggested change
> **关联文档**: [OpenClaw 源码综述](./OPENCLAW_RESEARCH_REPORT.md) · [P2C 记忆优化](./P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md) · [架构总览](./architecture_overview.md)
> **关联文档**: [OpenClaw 源码综述](./OPENCLAW_RESEARCH_REPORT.md) · [P2C 记忆优化](./p2c/P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md) · [架构总览](./architecture_overview.md)


## Part 4: Agentic Research 演进与 OpenClaw 集成 (2026-03-02 更新)

> 本节为后续调研补充。完整方案见 [AGENTIC_RESEARCH_EVOLUTION.md](./AGENTIC_RESEARCH_EVOLUTION.md)。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

此文件中的链接 [AGENTIC_RESEARCH_EVOLUTION.md](./AGENTIC_RESEARCH_EVOLUTION.md) 已损坏。由于此文件位于 docs/p2c/ 子目录中,而目标文件位于父目录 docs/ 中,因此需要使用相对路径 ../ 来访问。

Suggested change
> 本节为后续调研补充。完整方案见 [AGENTIC_RESEARCH_EVOLUTION.md](./AGENTIC_RESEARCH_EVOLUTION.md)
> 本节为后续调研补充。完整方案见 [AGENTIC_RESEARCH_EVOLUTION.md](../AGENTIC_RESEARCH_EVOLUTION.md)

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (2)
docs/AGENTIC_RESEARCH_EVOLUTION.md (1)

1-549: Comprehensive Agentic Research evolution plan with clear roadmap!

This document provides an excellent strategic blueprint for evolving PaperBot into an Agentic Research platform with OpenClaw integration. The gap analysis is thorough, the integration architecture is well-reasoned (Hybrid Plugin + Bridge approach), and the 4-phase implementation plan has clear milestones and acceptance criteria.

Key strengths:

  • Detailed current-state gap analysis across agent/search/workflow/memory layers
  • Well-justified integration approach (8/10 scoring)
  • Clear memory layering strategy (Layer 0-3) aligned with other docs
  • Concrete code examples for proposed APIs
  • Risk assessment with mitigation strategies

Minor suggestion: Consider adding language identifiers to the fenced code blocks (currently flagged as warnings by markdownlint) to improve syntax highlighting in rendered documentation.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/AGENTIC_RESEARCH_EVOLUTION.md` around lines 1 - 549, The markdown code
fences in this document lack language identifiers causing markdownlint warnings;
update each fenced block that shows sample code or diagrams (e.g., the BaseAgent
ReAct example, ResearchLoopAgent class, CitationGraphClient, DAGPipeline, and
AgentReachClient blocks) by adding the appropriate language tag after the
opening triple backticks (for example python for Python snippets, or
text/mermaid for diagrams) so syntax highlighting and linting warnings are
resolved.
docs/OPENCLAW_RESEARCH_REPORT.md (1)

1-1518: Exceptionally comprehensive OpenClaw architecture analysis!

This 1,518-line document provides deep technical analysis of 22 OpenClaw modules with excellent coverage of:

  • Core subsystems (Memory, Agents, Gateway, Cron, Channels)
  • Infrastructure components (Security, Secrets, Browser, TTS)
  • Plugin architecture and SDK
  • Cross-module patterns and design decisions

The analysis is particularly valuable for:

  • Detailed code-level references with line numbers
  • 25+ identified design patterns (section 22.5)
  • PaperBot integration feasibility assessment (section 23, scored 8/10)
  • Concrete integration points and migration considerations

Suggestion: Given the 18+ code examples throughout the document, consider adding language identifiers (typescript, sql, python, etc.) to fenced code blocks for better syntax highlighting and documentation clarity.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/OPENCLAW_RESEARCH_REPORT.md` around lines 1 - 1518, The doc contains
many fenced code blocks without language tags (e.g., the Memory Schema snippet,
the hybrid.ts / buildFtsQuery() example, the sqlite-vec SQL snippet in
manager-search.ts, and other examples like TTS directives and JSON fragments);
update all triple-backtick fences to include the appropriate language identifier
(for example typescript for TypeScript snippets (Memory Schema, hybrid.ts,
buildAgentSystemPrompt()), sql for raw SQL blocks (sqlite-vec queries), json for
JSON/YAML examples, bash for shell snippets, python where Python is shown) so
tooling/MD renderers get correct syntax highlighting; search for all ``` blocks
across the document and add the language token consistent with surrounding
context and the referenced symbols (MemoryIndexManager, buildFtsQuery,
manager-search.ts SQL, tts/tts.ts directives, includes.ts JSON examples), then
run a markdown linter/preview to verify no malformed fences remain.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@docs/AGENTIC_RESEARCH_EVOLUTION.md`:
- Around line 1-549: The markdown code fences in this document lack language
identifiers causing markdownlint warnings; update each fenced block that shows
sample code or diagrams (e.g., the BaseAgent ReAct example, ResearchLoopAgent
class, CitationGraphClient, DAGPipeline, and AgentReachClient blocks) by adding
the appropriate language tag after the opening triple backticks (for example
python for Python snippets, or text/mermaid for diagrams) so syntax highlighting
and linting warnings are resolved.

In `@docs/OPENCLAW_RESEARCH_REPORT.md`:
- Around line 1-1518: The doc contains many fenced code blocks without language
tags (e.g., the Memory Schema snippet, the hybrid.ts / buildFtsQuery() example,
the sqlite-vec SQL snippet in manager-search.ts, and other examples like TTS
directives and JSON fragments); update all triple-backtick fences to include the
appropriate language identifier (for example typescript for TypeScript snippets
(Memory Schema, hybrid.ts, buildAgentSystemPrompt()), sql for raw SQL blocks
(sqlite-vec queries), json for JSON/YAML examples, bash for shell snippets,
python where Python is shown) so tooling/MD renderers get correct syntax
highlighting; search for all ``` blocks across the document and add the language
token consistent with surrounding context and the referenced symbols
(MemoryIndexManager, buildFtsQuery, manager-search.ts SQL, tts/tts.ts
directives, includes.ts JSON examples), then run a markdown linter/preview to
verify no malformed fences remain.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 559be53 and ba40b5c.

⛔ Files ignored due to path filters (1)
  • asset/notifydemo.pdf is excluded by !**/*.pdf
📒 Files selected for processing (21)
  • README.md
  • asset/paperbot-workflow.drawio
  • docs/AGENTIC_RESEARCH_EVOLUTION.md
  • docs/ANCHOR_TODO.md
  • docs/OPENCLAW_RESEARCH_REPORT.md
  • docs/anchor_author_implementation.md
  • docs/anchor_source_authority_model.md
  • docs/anchor_system.md
  • docs/design/research-page-redesign-v2.md
  • docs/design/research-page-redesign-v3.md
  • docs/memory.md
  • docs/memory_module_complete_proposal.md
  • docs/memory_system.md
  • docs/p2c/P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md
  • docs/p2c/P2C_MODULE1_BENCHMARK.md
  • docs/p2c/P2C_MODULE_1_CORE_ENGINE.md
  • docs/p2c/P2C_MODULE_2_API_STORAGE.md
  • docs/p2c/P2C_MODULE_3_FRONTEND.md
  • docs/p2c/PAPER_TO_CONTEXT_MODULE_DESIGN.md
  • validate_datasets.py
  • verify_claude.py
💤 Files with no reviewable changes (9)
  • docs/memory.md
  • docs/ANCHOR_TODO.md
  • validate_datasets.py
  • docs/design/research-page-redesign-v2.md
  • verify_claude.py
  • docs/design/research-page-redesign-v3.md
  • docs/memory_module_complete_proposal.md
  • docs/anchor_source_authority_model.md
  • docs/anchor_author_implementation.md

…turity table

- Delete orphaned files: validate_datasets.py, verify_claude.py
- Move non-doc assets (notifydemo.pdf, paperbot-workflow.drawio) to asset/
- Remove outdated design iterations (v2, v3)
- Merge 3 anchor docs into docs/anchor_system.md
- Merge 2 memory docs into docs/memory_system.md
- Move 6 P2C docs into docs/p2c/ subdirectory
- Update README module maturity: memory system, context engine, add daily push
- Update README doc index to reflect reorganized docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reorganizes the repository documentation by consolidating overlapping docs (anchor/memory/P2C), moving design assets into asset/, removing orphan scripts/files, and updating the README’s module maturity and roadmap to reflect the new doc structure and planned epics.

Changes:

  • Remove orphan scripts (verify_claude.py, validate_datasets.py) and delete outdated design iteration docs (v2/v3).
  • Add/relocate major documentation sets: P2C design/module docs under docs/p2c/, plus unified docs/memory_system.md and docs/anchor_system.md.
  • Update README.md (maturity table + roadmap + doc index) and add asset/paperbot-workflow.drawio.

Reviewed changes

Copilot reviewed 15 out of 22 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
verify_claude.py Deleted orphan Claude verification script.
validate_datasets.py Deleted dataset validation helper script.
docs/p2c/PAPER_TO_CONTEXT_MODULE_DESIGN.md Added comprehensive P2C module design spec.
docs/p2c/P2C_MODULE_1_CORE_ENGINE.md Added P2C core engine design + data model contract.
docs/p2c/P2C_MODULE_2_API_STORAGE.md Added P2C API/storage/SSE/persistence design.
docs/p2c/P2C_MODULE_3_FRONTEND.md Added frontend integration design for P2C (Papers/Studio/SSE).
docs/p2c/P2C_MODULE1_BENCHMARK.md Added benchmark doc for Module 1 extraction quality.
docs/p2c/P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md Added context/memory optimization analysis and roadmap linkage.
docs/memory_system.md Added consolidated memory system doc (middleware + architecture proposal).
docs/memory_module_complete_proposal.md Removed superseded memory proposal doc.
docs/memory.md Removed superseded memory doc.
docs/design/research-page-redesign-v2.md Removed old design iteration doc.
docs/design/research-page-redesign-v3.md Removed old design iteration doc.
docs/anchor_system.md Added consolidated anchor system doc (theory + implementation plan).
docs/anchor_author_implementation.md Removed superseded anchor implementation doc.
docs/ANCHOR_TODO.md Removed superseded anchor TODO doc.
docs/AGENTIC_RESEARCH_EVOLUTION.md Added Agentic Research evolution plan + OpenClaw integration architecture.
asset/paperbot-workflow.drawio Added workflow diagram asset (draw.io).
README.md Updated maturity table, roadmap phases, and doc index links.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


> 基于 OpenClaw 记忆机制调研 + PaperBot 现有系统诊断,提出 7 项优化建议。
>
> 关联文档:[P2C Overview](./P2C_OVERVIEW.md) · [Module 1 Core Engine](./P2C_MODULE_1_CORE_ENGINE.md) · [Module 2 API & Storage](./P2C_MODULE_2_API_STORAGE.md)

Copilot AI Mar 2, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

该文档顶部的关联链接指向 ./P2C_OVERVIEW.md,但 docs/p2c/ 目录中没有该文件,导致链接失效。建议改为指向现有的总览文档(如 PAPER_TO_CONTEXT_MODULE_DESIGN.md)或补充新增 P2C_OVERVIEW.md

Suggested change
> 关联文档:[P2C Overview](./P2C_OVERVIEW.md) · [Module 1 Core Engine](./P2C_MODULE_1_CORE_ENGINE.md) · [Module 2 API & Storage](./P2C_MODULE_2_API_STORAGE.md)
> 关联文档:[P2C Overview](./PAPER_TO_CONTEXT_MODULE_DESIGN.md) · [Module 1 Core Engine](./P2C_MODULE_1_CORE_ENGINE.md) · [Module 2 API & Storage](./P2C_MODULE_2_API_STORAGE.md)

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +38 to +39
| 记忆系统 | 🟡 基本可用 | `/research/memory/*` | — | FTS5 + BM25 文件记忆优先, Embedding 可选增强; OpenClaw 三层架构参考 |
| Context Engine | 🟡 基本可用 | `/research/context` | — | Track Router + Engine 框架 + 本地 DB 搜索回退; 推荐系统采用文件系统 + BM25 优先策略, 无需重型 ML 模型 |

Copilot AI Mar 2, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README 这里描述“FTS5 + BM25 文件记忆优先 / 文件系统 + BM25 优先策略”,但当前代码库中 memory/context 侧未找到 FTS5/BM25 或基于文件系统的检索实现(SqlAlchemyMemoryStore.search_memories() 仍是 SQLite contains + token overlap)。建议把成熟度描述改为与现状一致,或在同一 PR 里补齐实现再宣称。

Suggested change
| 记忆系统 | 🟡 基本可用 | `/research/memory/*` || FTS5 + BM25 文件记忆优先, Embedding 可选增强; OpenClaw 三层架构参考 |
| Context Engine | 🟡 基本可用 | `/research/context` || Track Router + Engine 框架 + 本地 DB 搜索回退; 推荐系统采用文件系统 + BM25 优先策略, 无需重型 ML 模型 |
| 记忆系统 | 🟡 基本可用 | `/research/memory/*` || 基于 SQLite LIKE + token overlap 的文件记忆索引,Embedding 计划后续接入;FTS5/BM25 检索方案仍在规划中 |
| Context Engine | 🟡 基本可用 | `/research/context` || Track Router + Engine 框架 + 本地 DB 搜索回退;当前使用简单 DB 搜索策略,文件系统 + BM25 推荐方案尚未落地 |

Copilot uses AI. Check for mistakes.
…rity fixes

- Add missing core modules: 论文发现/Discovery, 论文收割/Harvest, DeepCode Studio, 集成导入
- Add missing API endpoints: discovery/seed, collections, bibtex import, zotero sync,
  harvest, jobs, runs, newsletter, studio-chat
- Add missing infra dirs: connectors/, harvesters/, crawling/
- Merge duplicate Push/Notify + 每日推送 rows in maturity table
- Add new maturity rows: Discovery, DeepCode Studio, Harvest, Import/Sync
- Update Push/Notify to reflect Apprise multi-channel plans
- Add data source OpenAlex to header
- Add Roadmap Phase 6 (每日推送优化) and Epic #179
- Add OpenClaw/OpenClaw-RL to 致谢

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 2, 2026 10:35
@jerry609
jerry609 force-pushed the refactor/docs-cleanup-and-maturity-update branch from a0a884f to 0802824 Compare March 2, 2026 10:35

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

337-356: ⚠️ Potential issue | 🟡 Minor

Fix incorrect endpoint path: /api/studio-chat should be /api/studio/chat.

The API endpoint documented for Studio Chat uses a hyphen separator, but the actual implementation uses a forward slash. The route decorator in src/paperbot/api/routes/studio_chat.py defines the endpoint as @router.post("/studio/chat"), which translates to /api/studio/chat when mounted. Update the README table entry to reflect the correct path.

All other 19+ new API endpoints are correctly implemented in the backend and match their README documentation.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 337 - 356, The README lists the Studio Chat endpoint
as `/api/studio-chat` but the actual route is registered as
`@router.post("/studio/chat")`; update the README table entry to
`/api/studio/chat` so it matches the route decorator and mounted path; ensure
only the path string in the table row for Studio Chat is changed and leave the
rest of the row text unchanged.
🧹 Nitpick comments (1)
docs/anchor_system.md (1)

60-60: Add language specifiers to fenced code blocks.

The code blocks at lines 60 and 97 are missing language specifiers, which would improve syntax highlighting and readability. Based on the content, these appear to be plain text/pseudo-code blocks.

📝 Suggested improvement

For line 60:

-```
+```text
 anchor_score(source, domain, time, observer) → [0, 1]

For line 97:
```diff
-```
+```text
 T_E = {authors, published_at, cites, coauthors, belongs_to, listed_on, has_repo, researches}
</details>


Also applies to: 97-97

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against the current code and only fix it if needed.

In @docs/anchor_system.md at line 60, Add a language specifier (e.g., "text") to
the fenced code blocks containing the pseudo-code examples so they render with
proper syntax highlighting and readability; specifically update the blocks that
show "anchor_score(source, domain, time, observer) → [0, 1]" and the block with
"T_E = {authors, published_at, cites, coauthors, belongs_to, listed_on,
has_repo, researches}" to use a leading triple-backtick with the language label
(e.g., ```text) and a closing triple-backtick.


</details>

</blockquote></details>

</blockquote></details>

<details>
<summary>🤖 Prompt for all review comments with AI agents</summary>

Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In @README.md:

  • Around line 337-356: The README lists the Studio Chat endpoint as
    /api/studio-chat but the actual route is registered as
    @router.post("/studio/chat"); update the README table entry to
    /api/studio/chat so it matches the route decorator and mounted path; ensure
    only the path string in the table row for Studio Chat is changed and leave the
    rest of the row text unchanged.

Nitpick comments:
In @docs/anchor_system.md:

  • Line 60: Add a language specifier (e.g., "text") to the fenced code blocks
    containing the pseudo-code examples so they render with proper syntax
    highlighting and readability; specifically update the blocks that show
    "anchor_score(source, domain, time, observer) → [0, 1]" and the block with "T_E
    = {authors, published_at, cites, coauthors, belongs_to, listed_on, has_repo,
    researches}" to use a leading triple-backtick with the language label (e.g.,

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ba40b5c and 0802824.

⛔ Files ignored due to path filters (1)
  • asset/notifydemo.pdf is excluded by !**/*.pdf
📒 Files selected for processing (19)
  • README.md
  • asset/paperbot-workflow.drawio
  • docs/ANCHOR_TODO.md
  • docs/anchor_author_implementation.md
  • docs/anchor_source_authority_model.md
  • docs/anchor_system.md
  • docs/design/research-page-redesign-v2.md
  • docs/design/research-page-redesign-v3.md
  • docs/memory.md
  • docs/memory_module_complete_proposal.md
  • docs/memory_system.md
  • docs/p2c/P2C_MEMORY_AND_CONTEXT_OPTIMIZATION.md
  • docs/p2c/P2C_MODULE1_BENCHMARK.md
  • docs/p2c/P2C_MODULE_1_CORE_ENGINE.md
  • docs/p2c/P2C_MODULE_2_API_STORAGE.md
  • docs/p2c/P2C_MODULE_3_FRONTEND.md
  • docs/p2c/PAPER_TO_CONTEXT_MODULE_DESIGN.md
  • validate_datasets.py
  • verify_claude.py
💤 Files with no reviewable changes (9)
  • docs/design/research-page-redesign-v3.md
  • verify_claude.py
  • docs/design/research-page-redesign-v2.md
  • docs/anchor_source_authority_model.md
  • docs/memory.md
  • docs/anchor_author_implementation.md
  • docs/memory_module_complete_proposal.md
  • validate_datasets.py
  • docs/ANCHOR_TODO.md

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 20 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jerry609
jerry609 merged commit 6d41f40 into master Mar 2, 2026
14 checks passed
@jerry609
jerry609 deleted the refactor/docs-cleanup-and-maturity-update branch March 10, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants