Development Workflow Rules
Source of Truth
- Shared agent workflow rules are defined in
AGENTS.md. - Use this file for repository-level workflow details and executable command patterns.
Git Management
- Use a branch for every change (including docs-only updates).
- Open a PR for every branch.
- Never push directly to
main. - Follow conventional commit messages.
- Keep commits atomic and focused.
Standard Workflows
1. Feature Work
- Create branch:
git checkout -b feature/<short-name> - Implement and update relevant docs
- Run checks (lint/tests, and Docker verification when integration is affected)
- Commit and push
- Open PR and wait for review/CI
- Merge after maintainer approval
2. Bug Fixes
- Create branch:
git checkout -b fix/<short-name> - Reproduce and fix
- Add/adjust tests
- Update
docs/bugs.mdwhen tracking changes are needed - Commit, push, and open PR
3. Tech Debt
- Pick an item from
docs/tech-debt.md - Create branch:
git checkout -b refactor/task-<N>-<short-name> - Implement and verify
- Update
docs/tech-debt.mdstatus/details - Commit, push, and open PR
Useful Repository Scripts
./scripts/setup-hooks.sh- Install local git hooks./scripts/agent-docker.sh- Manage isolated Docker stacks./scripts/quick-idea.sh- Capture quick feature ideas./scripts/add-idea.sh- Capture structured feature ideas
Development Phases
Phases 1–5 are complete. Current work spans Phases 5b–7. See docs/development-plan.md for details.
Testing Strategy
- Implement unit tests for services and utilities
- Use integration tests for API endpoints
- Use end-to-end tests for critical UI flows
- Verify integration changes in Docker
Code Quality
- Use linting and formatting tools
- Implement proper error handling
- Follow coding standards for each technology stack
- Favor strongly typed interfaces/models where possible
Security Best Practices
- Never commit sensitive credentials
- Use environment variables for configuration
- Validate input and constrain file/path operations
- Run regular security reviews
Documentation
- Keep
README.mdand setup docs current - Document API/model/behavior changes in docs under
docs/ - Keep roadmap and tracking docs synchronized with current status
Deployment
- Use Docker for consistent environments
- Keep CI green before merge
- Use environment-specific configuration management