docs: add AGENTS.md with workflow conventions
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Spine — Agent Workflow
|
||||
|
||||
## Branch Strategy
|
||||
|
||||
This project does not use pull requests or feature branches. All work is committed
|
||||
directly to `main` and pushed.
|
||||
|
||||
## Workflow
|
||||
|
||||
1. **Commit early, commit often** — small, focused commits with clear messages.
|
||||
2. **Push after each logical batch** — don't accumulate un-pushed work.
|
||||
3. **Test before push** — run the relevant test suite; don't push known failures.
|
||||
|
||||
## Commit Messages
|
||||
|
||||
Use conventional commits:
|
||||
- `feat:` for new features
|
||||
- `fix:` for bug fixes
|
||||
- `test:` for test additions/changes
|
||||
- `docs:` for documentation
|
||||
- `refactor:` for code restructuring
|
||||
|
||||
## Verification
|
||||
|
||||
Run tests before pushing:
|
||||
```bash
|
||||
emacs --batch -l test/<test-file>.el --eval "(ert-run-tests-batch-and-exit)"
|
||||
```
|
||||
Reference in New Issue
Block a user