Repo cleanup: archive plans, remove stale eslint config, sync AGENTS.md#121
Merged
Conversation
仓库清理:归档已完成的计划文档、删除 Next.js 遗留配置、同步过时的指令文档。 - docs/plans/*.md(5 篇,均已落地完成)移入 docs/archives/。 - 删除 .eslintrc.json(Next.js 的 next/core-web-vitals 配置,已被 eslint.config.js 的 ESLint 9 flat config 取代,eslint-config-next 不在依赖里)。 - AGENTS.md 内容同步自 CLAUDE.md:原文描述的是旧 Next.js 15 App Router 架构('use client'、next/dynamic、route.ts、scripts/dev-safe.ts、 pnpm verify 等),与当前 Vite SPA + Hono API monorepo 矛盾。 本地 .publio-data/ 下已删除功能的残留数据(ai-news-desk/signals/topics) 另行清理(gitignored,不涉及提交)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repository hygiene pass — archiving completed plans, removing a stale config leftover from the Next.js era, and correcting the workspace instructions to match the current Vite + Hono architecture.
1. Archive completed plans
Moved 5 plan docs from `docs/plans/` to `docs/archives/`. All five have been fully implemented and were acting only as historical records:
2. Remove stale
.eslintrc.jsonIt contained `{"extends": ["next/core-web-vitals"]}` — a Next.js config. The project now uses ESLint 9 flat config (`eslint.config.js`), and `eslint-config-next` is not a dependency. ESLint 9 ignores `.eslintrc.json` anyway; deleting it removes a misleading dead file.
3. Sync AGENTS.md with CLAUDE.md
AGENTS.md described the old Next.js 15 App Router architecture (mentions `'use client'`, `next/dynamic`, `route.ts`, `scripts/dev-safe.ts`, `pnpm verify`, `eslint-config-next`, `.next/`), which contradicts the current Vite SPA + Hono API monorepo. Its content now mirrors CLAUDE.md, which is already accurate and authoritative, so the two instruction docs no longer drift.
Local-only cleanup (not in this PR)
Also deleted gitignored leftovers under the root `.publio-data/` (data for removed features: `ai-news-desk.json`, `signals.json`, `topics.json`, and a stale migration backup). These were local-only and never committed; the live data lives in `apps/api/.publio-data/` and is unaffected.
Verification