2026-03-15 17:57:12 +01:00
|
|
|
# Disinto — Environment Configuration
|
2026-03-12 12:44:15 +00:00
|
|
|
# Copy to .env and fill in your values.
|
|
|
|
|
# NEVER commit .env to the repo.
|
|
|
|
|
|
2026-03-14 13:49:09 +01:00
|
|
|
# ── Target project ────────────────────────────────────────────────────────
|
|
|
|
|
CODEBERG_REPO=johba/yourproject # org/repo slug on Codeberg
|
|
|
|
|
PROJECT_REPO_ROOT=/home/you/yourproject # local clone of the target repo
|
|
|
|
|
PRIMARY_BRANCH=main # main or master
|
|
|
|
|
# PROJECT_NAME=yourproject # optional — auto-derived from CODEBERG_REPO
|
|
|
|
|
|
|
|
|
|
# ── Auth tokens ───────────────────────────────────────────────────────────
|
2026-03-18 17:59:36 +00:00
|
|
|
# Dev-agent token: push branches, create PRs, merge PRs.
|
|
|
|
|
# Use the dedicated bot account (e.g. factory_bot / disinto_dev).
|
|
|
|
|
# Branch protection: this account must be in the merge whitelist.
|
|
|
|
|
CODEBERG_TOKEN=
|
2026-03-12 12:44:15 +00:00
|
|
|
|
2026-03-18 17:59:36 +00:00
|
|
|
# Review-agent token: post review comments and submit formal approvals.
|
|
|
|
|
# Use the human/admin account (e.g. johba).
|
|
|
|
|
# Branch protection: this account must be in the approvals whitelist.
|
2026-03-12 12:44:15 +00:00
|
|
|
REVIEW_BOT_TOKEN=
|
|
|
|
|
|
2026-03-14 13:49:09 +01:00
|
|
|
# ── Woodpecker CI ─────────────────────────────────────────────────────────
|
2026-03-12 12:44:15 +00:00
|
|
|
WOODPECKER_TOKEN=
|
|
|
|
|
WOODPECKER_SERVER=http://localhost:8000
|
2026-03-14 13:49:09 +01:00
|
|
|
WOODPECKER_REPO_ID=2 # numeric repo ID in Woodpecker DB
|
2026-03-12 12:44:15 +00:00
|
|
|
|
|
|
|
|
# Woodpecker Postgres (for direct DB queries)
|
|
|
|
|
WOODPECKER_DB_PASSWORD=
|
|
|
|
|
WOODPECKER_DB_USER=woodpecker
|
|
|
|
|
WOODPECKER_DB_HOST=127.0.0.1
|
|
|
|
|
WOODPECKER_DB_NAME=woodpecker
|
|
|
|
|
|
2026-03-14 16:25:33 +01:00
|
|
|
# ── Matrix (optional — real-time notifications & escalation replies) ──────
|
|
|
|
|
MATRIX_HOMESERVER=http://localhost:8008 # Dendrite/Synapse URL
|
|
|
|
|
MATRIX_BOT_USER=@factory:your.server # bot's Matrix user ID
|
|
|
|
|
MATRIX_TOKEN= # bot's access token
|
|
|
|
|
MATRIX_ROOM_ID= # coordination room ID (!xxx:your.server)
|
|
|
|
|
|
2026-03-14 13:49:09 +01:00
|
|
|
# ── Tuning ────────────────────────────────────────────────────────────────
|
|
|
|
|
CLAUDE_TIMEOUT=7200 # max seconds per Claude invocation
|