Repository navigation
Closed
Labels
documentationImprovements or additions to documentation
Description
A review of every markdown file in the repo (about 8,400 lines in 24 files) found these problems.
Wrong or stale
docs/design/TESTING_STRATEGY.md(1,073 lines) describes an E2E suite that was removed, test files that never existed (AIChat.test.tsx,ai_tests.rs,tests/e2e/*.e2e.ts) and an inline copy of a CI workflow. Its principles ("every user workflow must have E2E tests") are not how the repo works. The real layout (jsdom unit tests,*.browser.test.tsxin Chromium,#[ignore]integration tests,agent_end_to_end.rs, the command-contract test and the mock backend) is not described.docs/design/TECH_DECISIONS.md: ADR-007 (Copilot SDK) reads as current although ADR-011 replaced it. ADR-009 (Docker E2E) reads as current although the E2E suite is gone. The ADR-010 tree still listscopilot.rs.docs/design/ARCHITECTURE.md(2,293 lines): section 10 is a speculative v2.0 plugin design; Appendix B repeats ADRs; it linkssrc/mcp/endpoint.rs, which does not exist..github/copilot-instructions.md: about 50 lines of "Caveman Mode" naming/caveman-*skills that do not exist; saysjust test-rustneeds Docker (it does not; integration tests are#[ignore]d); calls the browser tests "E2E"..claude/agents/implementer-frontend.md: the store template imports@/lib/tauri-api. CLAUDE.md pitfall 6 says app code must not use the@/alias becausevite.config.tsdoes not resolve it, so code written from the template breaksnpm run devand the build..claude/agents/implementer-rust.mdlinkssrc/lib.rs(the file issrc-tauri/src/lib.rs)..claude/agents/issue-reviewer.mdand/reviewissuesdepend on an optional "cognee" MCP that nothing in the repo provides.docs/SECURITY.mdends with an empty## ci/path-filtersheading.
Structure
- The same conventions are copied into CLAUDE.md,
copilot-instructions.md, each agent prompt and the README dev section, which is how they drifted apart. - CLAUDE.md (316 lines) loads in every session but carries task-specific procedures (release flow, cloud notes, dispatch table).
- Slash commands live in
.claude/commands/; the current Claude Code format is.claude/skills/<name>/SKILL.md. - No
docs/index; README mixes user and contributor content.
Fix
Reorganize along these lines (agreed with the maintainer):
AGENTS.mdholds the shared rules for any coding agent;CLAUDE.mdimports it and adds Claude-specific parts;copilot-instructions.mdbecomes a pointer.- Folder conventions move to
src/CLAUDE.mdandsrc-tauri/CLAUDE.md; implementer agents keep only their lane and gates. - Commands become skills; new skills for
release(replacingrelease-cutterand/bump),add-tauri-command,file-issue,integration-testsandui-preview.scoutis dropped in favour of the built-in Explore agent. - Design docs rewritten to describe the current code; superseded ADRs kept but marked.
docs/README.mdindex; contributor content moves toCONTRIBUTING.md.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity
docs: reorganize agent instructions
docs: reorganize project documentation (#874)