diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..96a290e --- /dev/null +++ b/.env.example @@ -0,0 +1,21 @@ +# BilHej Environment Variables +# Copy this file to .env and fill in your keys. + +# PostgreSQL +POSTGRES_DB=bilhej +POSTGRES_USER=bilhej +POSTGRES_PASSWORD=change_me + +# JWT +JWT_SECRET=change_me_to_a_random_64_char_string + +# Stripe +STRIPE_SECRET_KEY=sk_test_... +STRIPE_WEBHOOK_SECRET=whsec_... +STRIPE_PRICE_ID=price_... + +# Trello (for OpenCode MCP integration) +# API Key: https://trello.com/app-key +# Token: https://trello.com/1/authorize?expiration=never&name=BilHej&scope=read,write&response_type=token&key=YOUR_API_KEY +TRELLO_API_KEY= +TRELLO_TOKEN= \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md index 3d7ca14..fe76931 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -191,6 +191,18 @@ public vehicle info) must be excluded from the Spring Security filter chain. --- +## Task Tracking + +Project tasks live in Trello (imported from `trello-import.csv`). +Before starting work, use the `trello` tool to check the board for the next +pending card in priority order. When a task is complete, move its card to a +"Done" list. + +Trello integration is configured via MCP in `opencode.json`. Requires +`TRELLO_API_KEY` and `TRELLO_TOKEN` env vars (see `.env.example`). + +--- + ## External References For detailed conventions, load `@CODING_GUIDELINES.md`. diff --git a/opencode.json b/opencode.json index a14c34e..c7221f5 100644 --- a/opencode.json +++ b/opencode.json @@ -4,5 +4,16 @@ "permission": { "edit": "ask", "bash": "ask" + }, + "mcp": { + "trello": { + "type": "local", + "command": ["npx", "-y", "@delorenj/mcp-server-trello"], + "environment": { + "TRELLO_API_KEY": "{env:TRELLO_API_KEY}", + "TRELLO_TOKEN": "{env:TRELLO_TOKEN}" + }, + "enabled": true + } } }