From 53744012578f0390c6976ee1def3cf352e203708 Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Sat, 25 Jul 2026 19:10:49 +0400 Subject: [PATCH] docs: consolidate documentation and archive temporary reports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 1-2 (audit + plan): classified 35 project markdown files into Core/Architecture/ADR/Temporary-audit/Sprint-report/Generated-review/ Duplicate/Obsolete/Historical. Agent-tooling files (.agents/skills/**, .superpowers/**, docs/context/**, CLAUDE.md/GEMINI.md/AGENTS.md/ .github/copilot-instructions.md) explicitly out of scope — intentional per-tool duplication, not documentation debt. Step 3 (merge, no information lost): - docs/PROJECT.md -> docs/PROJECT_INDEX.md, rewritten as the single entry point: system overview, living-doc index, archive pointer, current status, and a critical-finding callout up top. - docs/backend/BACKEND-INTEGRATION.md -> docs/BACKEND_API.md, docs/backend/REMAINING-BACKEND-WORK.md -> docs/BACKEND_API_REMAINING_WORK.md (also folded in a legitimate uncommitted status update that had been sitting unstaged all session: categories marked DONE, order-creation endpoint noted done). - RELEASE-NOTES.md merged into CHANGELOG.md (was a near-duplicate of the same release content in friendlier prose), then deleted. - KNOWN-ISSUES.md: added item 13 (see below) and item 14 (missing canDeactivate on admin/products edit, from the archived PROJECT-STATE audit, re-verified still true); added a correction note to Fixed item 7. - All cross-references to renamed/moved files fixed across every kept doc (grep+sed pass, then verified with a link-existence check across all 58 in-scope markdown files -> 0 broken links). Step 4 (archive, nothing deleted without merging first): created docs/archive/, moved 19 files there (3 root sprint reports, 1 platform report, SPRINT-PLAN.md, and 14 one-off audit/review/report docs). Added correction headers to the 3 archived docs whose conclusions were affected by the finding below, rather than silently leaving them misleading. Step 5: docs/PROJECT_INDEX.md rewritten per the mission brief - someone opening the repo should understand the whole system from it. IMPORTANT FINDING (surfaced during this audit, not the mission's primary goal but too significant to bury): pages/category/*, pages/search/*, pages/item-detail/*, pages/info/**, pages/legal/** (40+ files) are entirely unrouted dead code - app.routes.ts's cmsContentRoutes is a literal empty array, and category/search/product routes redirect to CatalogContainerComponent/ ProductDetailsContainerComponent, not these files. Confirmed against app.routes.ts directly and cross-checked against FRONTEND.md's own routing description. This means several fixes from earlier this cycle (RC-Premium-01, RC STORE-01) and the dead-code cleanup sprint's conclusion that these files were live were all wrong - documented as KNOWN-ISSUES.md item 13, flagged at the top of PROJECT_INDEX.md, and noted on the 3 archived docs whose conclusions it affects. No application code was changed to fix this (out of scope per this session's 'documentation only' constraint) - it needs a wire-it-up-or- delete-it decision first. Verification: tsc --noEmit clean, npm run build green, all markdown links across 58 in-scope files resolve (checked programmatically). No application/Angular/backend code modified. Co-Authored-By: Claude Sonnet 5 --- CHANGELOG.md | 12 ++- RELEASE-NOTES.md | 18 ---- docs/ADMIN.md | 8 +- docs/ANGULAR22_PLAN.md | 2 +- docs/ARCHITECTURE.md | 4 +- docs/AUTH.md | 8 +- .../BACKEND-INTEGRATION.md => BACKEND_API.md} | 2 +- docs/BACKEND_API_REMAINING_WORK.md | 90 +++++++++++++++++++ docs/EDITOR.md | 8 +- docs/FRONTEND-ROADMAP.md | 19 ++-- docs/FRONTEND.md | 2 +- docs/KNOWN-ISSUES.md | 59 ++++++++++-- docs/PROJECT-STRUCTURE.md | 4 +- docs/PROJECT.md | 85 ------------------ docs/PROJECT_INDEX.md | 87 ++++++++++++++++++ docs/StaticPages.md | 2 +- ...tion-bootstrap-and-provider-abstraction.md | 4 +- ...tibility-for-auth-payment-authorization.md | 4 +- docs/{ => archive}/ACCESSIBILITY_REPORT.md | 0 docs/{ => archive}/ADMIN-UX-AUDIT.md | 4 +- docs/{ => archive}/ADMIN_REVIEW.md | 0 docs/{ => archive}/CLEANUP_REPORT.md | 2 + docs/{ => archive}/PERFORMANCE_REPORT.md | 0 docs/{AUDIT => archive}/PROJECT-STATE.md | 0 .../Platform-Standardization-Report.md | 0 docs/{ => archive}/RELEASE-CANDIDATE-AUDIT.md | 0 docs/{ => archive}/RELEASE_REPORT.md | 0 docs/{ => archive}/SPRINT-PLAN.md | 0 docs/{ => archive}/STORE_FRONT_REVIEW.md | 0 docs/{ => archive}/STORE_FRONT_UX_REVIEW.md | 2 + docs/{ => archive}/STORE_REVIEW.md | 2 + .../Sprint-10-Advanced-Search-Report.md | 0 .../Sprint-11-User-Experience-Report.md | 0 .../Sprint-9-Product-Engagement-Report.md | 0 docs/{ => archive}/UI-COMPOSITION-REVIEW.md | 0 docs/{ => archive}/UI-DESIGN-REVIEW.md | 0 docs/{ => archive}/UI-ICON-AUDIT.md | 0 docs/backend/REMAINING-BACKEND-WORK.md | 75 ---------------- 38 files changed, 281 insertions(+), 222 deletions(-) delete mode 100644 RELEASE-NOTES.md rename docs/{backend/BACKEND-INTEGRATION.md => BACKEND_API.md} (99%) create mode 100644 docs/BACKEND_API_REMAINING_WORK.md delete mode 100644 docs/PROJECT.md create mode 100644 docs/PROJECT_INDEX.md rename docs/{ => archive}/ACCESSIBILITY_REPORT.md (100%) rename docs/{ => archive}/ADMIN-UX-AUDIT.md (98%) rename docs/{ => archive}/ADMIN_REVIEW.md (100%) rename docs/{ => archive}/CLEANUP_REPORT.md (90%) rename docs/{ => archive}/PERFORMANCE_REPORT.md (100%) rename docs/{AUDIT => archive}/PROJECT-STATE.md (100%) rename Platform-Standardization-Report.md => docs/archive/Platform-Standardization-Report.md (100%) rename docs/{ => archive}/RELEASE-CANDIDATE-AUDIT.md (100%) rename docs/{ => archive}/RELEASE_REPORT.md (100%) rename docs/{ => archive}/SPRINT-PLAN.md (100%) rename docs/{ => archive}/STORE_FRONT_REVIEW.md (100%) rename docs/{ => archive}/STORE_FRONT_UX_REVIEW.md (95%) rename docs/{ => archive}/STORE_REVIEW.md (93%) rename Sprint-10-Advanced-Search-Report.md => docs/archive/Sprint-10-Advanced-Search-Report.md (100%) rename Sprint-11-User-Experience-Report.md => docs/archive/Sprint-11-User-Experience-Report.md (100%) rename Sprint-9-Product-Engagement-Report.md => docs/archive/Sprint-9-Product-Engagement-Report.md (100%) rename docs/{ => archive}/UI-COMPOSITION-REVIEW.md (100%) rename docs/{ => archive}/UI-DESIGN-REVIEW.md (100%) rename docs/{ => archive}/UI-ICON-AUDIT.md (100%) delete mode 100644 docs/backend/REMAINING-BACKEND-WORK.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ed546..abe5fed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,16 @@ Format loosely follows [Keep a Changelog](https://keepachangelog.com/). Dates ar - `refactor: marketplace release polish` — accessibility pass (explicit `aria-label` on every previously-unlabeled filter `