49 lines
1.9 KiB
Markdown
49 lines
1.9 KiB
Markdown
# AGENTS.md
|
|
|
|
## Project Overview
|
|
|
|
## Context
|
|
|
|
You can get project context from the following files:
|
|
|
|
- `/backend/AGENTS.md`
|
|
- `/react_frontend/AGENTS.md`
|
|
|
|
## Mandatory Task Completion Rule
|
|
|
|
### Documentation (Skip the legacy docs, we're using obsidian docs-vault now)
|
|
|
|
Update the `/backend/docs` and `/react_frontend/docs` folders with any relevant documentation changes related to the task you completed. This includes API documentation, architectural diagrams, or any other relevant docs.
|
|
|
|
### Documentation (Obsidian Vault Required)
|
|
|
|
You MUST maintain and continuously update the internal project documentation located in `/docs-vault` (Obsidian vault).
|
|
|
|
Rules:
|
|
|
|
- Every meaningful code change MUST include a documentation update in `/docs-vault`.
|
|
- Documentation is considered part of the deliverable: no feature, refactor, or bugfix is complete without updating the vault.
|
|
- Use Obsidian-style Markdown and take advantage of Obsidian features:
|
|
- Use `[[Wiki Links]]` to connect concepts, modules, services, and files.
|
|
- Create a clear network of linked notes instead of isolated documents.
|
|
- Add sections like **Overview**, **Responsibilities**, **Key Flows**, **Important Files**, **Environment Variables**, and **Known Issues**.
|
|
- When adding a new feature/module, create a dedicated note and link it from relevant areas.
|
|
|
|
Vault structure expectations:
|
|
|
|
- Maintain a central `docs-vault/Index.md` (entry point) linking to all major documentation areas.
|
|
- Maintain core notes such as:
|
|
- `docs-vault/Architecture.md`
|
|
- `docs-vault/Frontend.md`
|
|
- `docs-vault/Backend.md`
|
|
- `docs-vault/Electron.md`
|
|
- `docs-vault/Database.md`
|
|
- `docs-vault/Deployment.md`
|
|
- `docs-vault/Env.md`
|
|
|
|
When updating documentation:
|
|
|
|
- Always link to related notes using `[[...]]`.
|
|
- Keep docs concise, structured, and developer-focused.
|
|
- If a change introduces new endpoints, configs, permissions, database models, or breaking changes, update the relevant note(s) immediately.
|