Skip to content

Repo cleanup: archive plans, remove stale eslint config, sync AGENTS.md#121

Merged
rogerdigital merged 1 commit into
mainfrom
chore/repo-cleanup
Jun 25, 2026
Merged

Repo cleanup: archive plans, remove stale eslint config, sync AGENTS.md#121
rogerdigital merged 1 commit into
mainfrom
chore/repo-cleanup

Conversation

@rogerdigital

Copy link
Copy Markdown
Owner

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:

  • `2026-05-30-core-simplification-plan.md`
  • `2026-06-05-product-design-optimization-plan.md`
  • `2026-06-17-fixed-header-scroll-container-plan.md`
  • `2026-06-18-manual-save-design.md`
  • `vite-hono-migration.md`

2. Remove stale .eslintrc.json

It 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

  • `pnpm build` passes
  • `pnpm lint` clean

仓库清理:归档已完成的计划文档、删除 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,不涉及提交)。
@rogerdigital rogerdigital merged commit 13b333d into main Jun 25, 2026
3 checks passed
@rogerdigital rogerdigital deleted the chore/repo-cleanup branch June 25, 2026 04:37
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.

1 participant