terminal · coding agent
Codex
> Fix the bug. Keep the lesson.
Codex reads the bug report from Project Management, checks what you already know about it, and files the fix back as knowledge for next time.
- -Reads bug reports and their linked references
- -Searches past fixes before writing new code
- -Saves new lessons to the Data Base
# what it reads
# an example session
you@codex — mcp session
you ❯ Fix WEB-42 and write down what caused it.
✓projects.get_work_item→ WEB-42 “webhook retries duplicate invoices”
✓data.query_records→ ref: “stripe webhooks” · 2 matches
✓data.create_records→ how-to: “idempotent webhook handlers”
✓projects.update_work_item→ WEB-42 → in review
Fixed: the handler now keys on the Stripe event id. I saved the cause and the pattern as a how-to and moved WEB-42 to review.
# set it up
cat ~/.codex/config.toml
[mcp_servers.cybernetics-data]
url = "https://cybernetics.avarile.com/api/mcp"
bearer_token_env_var = "CYBERNETICS_DATA_TOKEN"
[mcp_servers.cybernetics-projects]
url = "https://projects.avarile.com/api/mcp"
bearer_token_env_var = "CYBERNETICS_PROJECTS_TOKEN"
[mcp_servers.cybernetics-crm]
url = "https://crm.avarile.com/mcp"