Skip to content

docs: reorganize project documentation - #874

Merged
EVWorth merged 12 commits into
mainfrom
claude/hopeful-bardeen-1k4d1h
Oct 24, 2026
Merged

EVWorth merged 12 commits into
mainfrom
claude/hopeful-bardeen-1k4d1h

Conversation

@EVWorth

@EVWorth EVWorth commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Reorganizes the project's documentation and agent setup into one consistent structure, and rewrites the docs to describe the code as it is today. The problems are listed in #872.

Agent instructions

  • AGENTS.md holds the shared rules for any coding agent: layout, commands, gates, the pitfalls worth knowing, working rules and commit conventions. CLAUDE.md imports it and adds the Claude-specific parts: working agreements, the skill and subagent tables, file ownership and cloud-session notes. It goes from 316 to 95 lines. .github/copilot-instructions.md is now a pointer; the "Caveman Mode" section and its outdated facts are gone.
  • src/CLAUDE.md and src-tauri/CLAUDE.md hold the folder conventions and load only when work touches that folder.
    • The store template now imports relatively. The old one used the test-only @/ alias, which breaks the dev server and the build.
    • The command pattern matches the code: #[specta::specta], registered in collect_commands! in specta_builder().
    • Types that use #[serde(rename_all = "camelCase")] are now called out as exceptions to snake_case.
  • REVIEW.md is the review checklist that the reviewer agent and /review-prs use.
  • Skills in .claude/skills/ replace .claude/commands/. The /name commands keep working. New: release (replaces the Release Flow section, release-cutter and /bump), add-tauri-command, integration-tests, ui-preview and file-issue.
  • Agents:
    • scout is removed; the built-in Explore agent covers it.
    • The implementer agents shrink to their area and their gates.
    • ci-doctor uses the real ci.yml job names. Its "deps-age" job and scripts/check-deps.mjs don't exist.
    • issue-reviewer no longer depends on the optional cognee MCP.
  • Settings:
    • A SessionStart hook sets CHROMIUM_PATH in cloud containers.
    • Permissions deny git stash, because worktrees share one stash list, and deny edits to the generated src/lib/bindings.ts.
  • CI: the docs path filter now includes AGENTS.md, REVIEW.md, CONTRIBUTING.md and every CLAUDE.md.

Design docs and README

File Lines before → after Main fixes
TESTING_STRATEGY.md 1073 → 220 Rewritten around the real setup: jsdom and browser Vitest, the mock backend, the contract checks, #[ignore] integration tests, and which tests run where. The removed E2E suite is no longer described.
ARCHITECTURE.md 2293 → 855 Section 5 signatures rebuilt from the code. Plugin section and Appendix B removed. Credential storage, events, storage and the stack corrected.
TECH_DECISIONS.md 946 → 720 Every ADR has a status; ADR-007 and ADR-009 are marked superseded. Versions, crate tree and data model corrected.
DESIGN_REQUIREMENTS.md 884 → 832 Status flags corrected: FR-6 → partial, FR-5 → planned. The "outstanding" lists cited issues that are now closed. Competitive matrix fixed.
AI_INTEGRATION.md, CI.md, RELEASING.md, SECURITY.md Drift fixed. CI.md gains a path-filter table, and RELEASING's TL;DR now matches the release PR flow. SECURITY no longer claims localhost is removed from the production CSP.
README.md → README.md + CONTRIBUTING.md 427 → 206 + 169 User content and contributor content are split. Claims for features that aren't implemented (SSH tunnels) are removed, the run shortcut is F9, and counts that go stale are removed.
docs/README.md new Index of docs/.

The design-docs rewrite was done by the doc-keeper subagent and spot-checked against the code.

Closes #872. Issues filed from the review: #873, #875, #876, #877, #878, #879.

Test plan

  • npx dprint check --list-different is clean.
  • scripts/check-documented-commands.sh passes.
  • Every relative link and repo path in the changed docs resolves.
  • The session-start hook writes CHROMIUM_PATH when CLAUDE_CODE_REMOTE=true and does nothing otherwise.
  • CI is green on the head commit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g

claude added 11 commits October 24, 2026 00:57
Shared rules move to AGENTS.md, which CLAUDE.md imports and Copilot reads.
Folder conventions move to src/CLAUDE.md and src-tauri/CLAUDE.md so they
load with the code they describe, and the review checklist to REVIEW.md.

Slash commands become skills, plus new release, add-tauri-command,
integration-tests, ui-preview and file-issue skills. The scout agent
(covered by Explore) and release-cutter (now the release skill) are gone,
and the implementer agents shrink to their lane and gates.

A session-start hook sets CHROMIUM_PATH in cloud containers, and the
permissions deny git stash and edits to the generated bindings.

Part of #872.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
@EVWorth
EVWorth merged commit 3cc2545 into main Oct 24, 2026
12 checks passed
@EVWorth
EVWorth deleted the claude/hopeful-bardeen-1k4d1h branch October 24, 2026 02:01
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.

docs: project documentation has drifted from the code

2 participants