Skip to content

Commit 0256fc3

Browse files
authored
Merge pull request #47 from MachineWisdomAI/chore/copy-workflow-to-agents
docs: copy workflow instructions to AGENTS
2 parents 9417b76 + b3542a8 commit 0256fc3

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

AGENTS.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
Agent-facing reference for FAVA Trails MCP tools. For project setup and configuration, see [README.md](README.md). For the full session protocol with examples, see [AGENTS_USAGE_INSTRUCTIONS.md](AGENTS_USAGE_INSTRUCTIONS.md).
44

5+
## Repository Workflow
6+
7+
- **Development**: `~/git/MachineWisdomAI/fava-trails/` (this repo)
8+
- **Never modify**: `~/git/vendor/fava-trails/` (read-only, pinned for running MCP servers)
9+
- Feature branches use worktrees: `~/git/MachineWisdomAI/fava-trails-{slug}/`
10+
- Never commit directly to `main` — always use a feature branch and PR
11+
- Pre-flight before starting work:
12+
```bash
13+
git worktree list && git branch -r
14+
```
15+
- If another agent or branch is active on this repo, coordinate or use a separate worktree.
16+
517
## Scope Discovery
618

719
Every tool call requires `trail_name` — a slash-separated scope path (e.g. `mw/eng/fava-trails`). Resolve in priority order:
@@ -284,6 +296,10 @@ The actual thought content in markdown.
284296

285297
## Development
286298

299+
PRs must pass:
300+
- `test` — pytest suite (`uv sync --frozen && uv run pytest -v`)
301+
- Semantic PR title — Conventional Commits format, such as `feat:`, `fix:`, or `chore:`
302+
287303
```bash
288304
# Run all tests
289305
uv run pytest -v
@@ -294,4 +310,3 @@ uv run pytest tests/test_tools.py -v
294310
# Run with coverage
295311
uv run pytest --cov=fava_trails
296312
```
297-

0 commit comments

Comments
 (0)