Prune stale docs and update .hermes content
Delete a large set of outdated documentation (many files under docs/ and .hermes/plans/, including audits, design, prd, technical, planning, assets, and todos). Update and consolidate .hermes content: refresh shared-memory pages (decision-log, development-workflow, document-map, pitfalls, project-overview, team-conventions) and several skills/references under .hermes/skills. Also modify AGENTS.md, README.md, UI_CODING_STANDARD.md, docs/README.md and .encoding-check-ignore. Purpose: clean up stale planning/audit material and keep current hermes documentation and related top-level docs in sync.
This commit is contained in:
@@ -3,13 +3,7 @@ import { basename, extname, join, relative } from 'node:path';
|
||||
|
||||
const repoRoot = process.cwd();
|
||||
const writeReport = process.argv.includes('--write-report');
|
||||
const reportPath = join(repoRoot, 'docs', 'audits', 'VN11_NEGATIVE_SCAN_REPORT_2026-05-07.md');
|
||||
|
||||
const codeTargets = [
|
||||
'src',
|
||||
'packages/shared/src',
|
||||
'server-rs/crates',
|
||||
];
|
||||
const reportPath = join(repoRoot, '.tmp', 'VN11_NEGATIVE_SCAN_REPORT_2026-05-07.md');
|
||||
|
||||
const documentTargets = [
|
||||
'docs',
|
||||
@@ -190,11 +184,10 @@ function formatHits(hits) {
|
||||
return hits.map((hit) => ` - ${hit.file}:${hit.lineNumber} ${hit.text}`);
|
||||
}
|
||||
|
||||
const codeFiles = collectFiles(codeTargets);
|
||||
const documentFiles = collectFiles(documentTargets);
|
||||
const visualNovelFiles = collectFiles(visualNovelImplementationTargets);
|
||||
|
||||
const codePlaybackHits = collectLineHits(codeFiles, hasLegacyPlaybackMarker);
|
||||
const codePlaybackHits = collectLineHits(visualNovelFiles, hasLegacyPlaybackMarker);
|
||||
const documentPlaybackHits = collectLineHits(documentFiles, hasLegacyPlaybackMarker);
|
||||
const externalPlatformHits = collectLineHits(
|
||||
visualNovelFiles,
|
||||
@@ -208,7 +201,7 @@ const reportLines = [
|
||||
'',
|
||||
'## 扫描范围',
|
||||
'',
|
||||
'- 工程代码:`src/`、`packages/shared/src/`、`server-rs/crates/`',
|
||||
'- 视觉小说工程代码:视觉小说前端、service、shared contracts、Rust contracts、module、api-server、SpacetimeDB schema 与 facade 路径',
|
||||
'- 文档与共享记忆:`docs/`、`.hermes/shared-memory/`',
|
||||
'- 外部平台误入复核:视觉小说前端、service、shared contracts、Rust contracts、module、api-server、SpacetimeDB schema 与 facade 路径',
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user