docs: restructure documentation hierarchy and update agent reference map

- Organize architecture, specifications, plans, and guides into dedicated subdirectories under docs/
- Remove legacy and duplicate documents from data/documents/
- Update AGENTS.md, README.md, and agent skills to target canonical docs paths
This commit is contained in:
amirhosein mazaheri
2026-10-07 16:19:24 +03:30
parent baf58da562
commit ca8833dd2f
30 changed files with 6121 additions and 2768 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
## Phase 1 development
Use the [shared reference map](data/documents/agent-reference-map.md) for document authority, current source locations, commands, and unresolved decisions. Read applicable nested instructions before editing.
Use the [shared reference map](docs/agent-reference-map.md) for document authority, current source locations, commands, and unresolved decisions. Read applicable nested instructions before editing.
- Deliver Phase 1 with a modular FastAPI backend and a separate ingestion worker from the same codebase. The current prototype does not yet implement that target.
- Each upload creates an independent document; never overwrite its original content in place. Do not introduce `document_versions`, `version_id`, or `version_no` for document content.
@@ -20,4 +20,4 @@ The Phase 1 plan governs scope, API/database documents govern their contracts, a
Repository skills live in `.agents/skills/`: `implement-feature`, `write-tests`, and `review-change`. Implementation includes necessary validation; tests-only work reports product defects without silently fixing them; review is read-only unless fixes are requested. Do not recursively dispatch between skills.
Verified inspection commands from the repository root: `git status --short`, `git diff --check`, and `rg --files --hidden -g '!.git/**'`. The dependency manifest is pyproject.toml; provider-free checks use .venv/Scripts/python -m pytest -m "not postgres". PostgreSQL acceptance uses .venv/Scripts/python -m pytest -m postgres --require-postgres with an isolated TEST_DATABASE_URL. Missing configuration must fail acceptance; ordinary-suite skips do not prove database behavior. No build/lint pipeline exists. See the reference map and docs/ingestion-foundation-setup.md for setup and actual results. Treat applied revisions as immutable.
Verified inspection commands from the repository root: `git status --short`, `git diff --check`, and `rg --files --hidden -g '!.git/**'`. The dependency manifest is pyproject.toml; provider-free checks use .venv/Scripts/python -m pytest -m "not postgres". PostgreSQL acceptance uses .venv/Scripts/python -m pytest -m postgres --require-postgres with an isolated TEST_DATABASE_URL. Missing configuration must fail acceptance; ordinary-suite skips do not prove database behavior. No build/lint pipeline exists. See the reference map and docs/guides/ingestion-foundation-setup.md for setup and actual results. Treat applied revisions as immutable.