mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 16:01:54 +00:00
Phase 3 — Code Quality: - Deduplicate nowUnix() in lock-ops.mjs (import from utils.mjs) - Promote ESLint no-unused-vars to error, fix all 46 violations - Remove dead code: unused imports, variables, and catch bindings - Add /* global marked */ for CDN-loaded library in dashboard Phase 4 — CI/CD: - Add Node.js version matrix (22, 23) to CI workflow - Add npm audit security scan step to CI - Add innerHTML usage check to CI pipeline - Enable Dependabot for npm and GitHub Actions dependencies - Create PR template Phase 5 — Developer Experience: - Create .env.example documenting all environment variables - Expand CONTRIBUTING.md with commit conventions, agent/prompt creation guide, architecture overview, and test integrity - Add system architecture diagram with Mermaid (docs/architecture/) https://claude.ai/code/session_01GfwUNbgeMgXreFDbsNQMsS
48 lines
2.2 KiB
Bash
48 lines
2.2 KiB
Bash
# TORCH Environment Variables
|
|
# Copy this file to .env and fill in the values for your deployment.
|
|
|
|
# ─── Dashboard ────────────────────────────────────────────────────────
|
|
# Basic Auth credentials for the dashboard (user:password format)
|
|
# TORCH_DASHBOARD_AUTH=admin:changeme
|
|
|
|
# ─── Configuration ────────────────────────────────────────────────────
|
|
# Path to torch-config.json (optional — overrides default lookup)
|
|
# TORCH_CONFIG_PATH=./torch-config.json
|
|
|
|
# ─── Agent Platform Detection ─────────────────────────────────────────
|
|
# Override automatic platform detection (jules | claude | codex | goose)
|
|
# AGENT_PLATFORM=
|
|
# AGENT_MODEL=
|
|
|
|
# Platform-specific API keys (used for automatic platform detection)
|
|
# CLAUDE_API_KEY=
|
|
# JULES_API_KEY=
|
|
# CODEX_API_KEY=
|
|
# GOOSE_API_KEY=
|
|
|
|
# ─── Nostr Lock Configuration ────────────────────────────────────────
|
|
# Comma-separated relay URLs (overrides config file)
|
|
# NOSTR_LOCK_RELAYS=wss://relay.damus.io,wss://nos.lol,wss://relay.primal.net
|
|
|
|
# Lock TTL in seconds (default: 7200)
|
|
# NOSTR_LOCK_TTL=7200
|
|
|
|
# Relay connection timeout in milliseconds (default: 8000)
|
|
# NOSTR_LOCK_TIMEOUT=8000
|
|
|
|
# Minimum relay quorum for successful publish (default: 1)
|
|
# NOSTR_LOCK_QUORUM=1
|
|
|
|
# ─── Memory Subsystem ────────────────────────────────────────────────
|
|
# Master toggle for the memory subsystem
|
|
# TORCH_MEMORY_ENABLED=false
|
|
|
|
# Individual memory feature flags
|
|
# TORCH_MEMORY_INGEST_ENABLED=false
|
|
# TORCH_MEMORY_RETRIEVAL_ENABLED=false
|
|
# TORCH_MEMORY_PRUNE_ENABLED=false
|
|
# TORCH_MEMORY_PRUNE_MODE=off
|
|
|
|
# ─── Telemetry (opt-in) ──────────────────────────────────────────────
|
|
# TELEMETRY=0
|