feat(miner): add a .gittensory-miner.env.example starter file#5357
Conversation
Add the consolidated, copy-pasteable env starter file that docker-compose.miner.yml and DEPLOYMENT.md already reference but that did not exist yet. It enumerates GITHUB_TOKEN (required), MINER_CODING_AGENT_PROVIDER, and all 19 GITTENSORY_MINER_* path/behavior overrides, mirroring the existing .env.selfhost.example format and pointing at the generated docs/env-reference.md for the always-current table. Closes JSONbored#5173
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-12 14:55:35 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 6 non-blocking
Linked issue satisfactionPartially addressed Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/gittensory-commands 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Adds the consolidated
.gittensory-miner.env.examplestarter file — whichdocker-compose.miner.ymlandpackages/gittensory-miner/DEPLOYMENT.mdalready tell operators tocp, but which did not exist yet. It's the miner counterpart to the repo's existing.env.selfhost.example.What this adds
A single new repo-root file enumerating every operator-facing miner env var in one copy-pasteable place, grouped by purpose:
GITHUB_TOKEN(verified read indiscover-cli.js,manage-poll.js,self-review-context.js,live-issue-snapshot.js).MINER_CODING_AGENT_PROVIDER.GITTENSORY_MINER_*state-dir / per-store-DB-path / behavior vars, commented out with a note that they default underGITTENSORY_MINER_CONFIG_DIR.Accuracy
The var set is taken from the generated authoritative reference (
packages/gittensory-miner/docs/env-reference.md) plusGITHUB_TOKEN(which the prefix-scoped generator doesn't capture but the miner genuinely reads). Coding-agent model/timeout names were deliberately excluded — they are notprocess.envreads anywhere in the tree, so listing them as env vars would be wrong. The file header points atdocs/env-reference.mdas the always-current source.Validation
docs:drift-check,check-miner-package,miner:env-reference:check,git diff --check: all clean. Rebased onto latest main.Closes #5173