11# Agent Workflow (Dev Container)
22
3- All automated work must run inside the Dev Container. Do not run app/test commands directly on the host.
4-
53## Start the Dev Container
64
7- ```
5+ ``` text
86docker compose -f .devcontainer/docker-compose.yml up -d
97```
108
119## Commands (run inside the container)
1210
13- ```
11+ ``` text
1412docker compose -f .devcontainer/docker-compose.yml exec -T app make setup
1513
1614docker compose -f .devcontainer/docker-compose.yml exec -T app make dev
@@ -26,21 +24,22 @@ docker compose -f .devcontainer/docker-compose.yml exec -T app bundle exec rspec
2624
2725Pre-commit gate (required):
2826
29- ```
27+ ``` text
3028docker compose -f .devcontainer/docker-compose.yml exec -T app make ready
3129```
3230
3331If you need an interactive shell:
3432
35- ```
33+ ``` text
3634docker compose -f .devcontainer/docker-compose.yml exec app bash
3735```
3836
3937---
4038
41- # Collaboration Agreement (Agent ↔ User)
39+ ## Collaboration Agreement (Agent ↔ User)
4240
4341## Interview Answers (ID-able) + Expert Recommendations
42+
4443** DoD:** ` make ready ` in Dev Container; if applicable, user completes manual smoke test with agent-provided steps.
4544** Verification:** Always smoke Dev Container + ` make ready ` .
4645** Commits:** Group by logical unit after smoke-tested (feature / improvement / refactor).
@@ -52,26 +51,32 @@ docker compose -f .devcontainer/docker-compose.yml exec app bash
5251Expert recommendation: keep workflows terminal-first and keyboard-focused (clear commands, no GUI-only steps).
5352
5453## Definition of Done
54+
5555- Run ` make ready ` inside the Dev Container.
5656- If applicable, user completes manual smoke test; agent provides clear instructions.
5757
5858## Verification Rules
59+
5960- Always run Dev Container smoke + ` make ready ` for changes.
6061
6162## Commit Granularity
63+
6264- Group commits by logical units after they have grown and been smoke-tested (feature / improvement / refactor).
6365
6466## Response Format
67+
6568- Default: Changes → Commands → Results → Next steps.
6669- End with a concise one-line summary.
6770
6871## KISS vs Refactor
72+
6973- KISS by default.
7074- Boy-scout refactors are allowed when they reduce complexity and are low-risk.
7175
7276## Ambiguity Handling
77+
7378- Proceed with the safest assumption, then confirm.
7479
7580## Non-Negotiables
76- - Dev Container only.
81+
7782- Security first.
0 commit comments