Sign inSign up

nbsbayu/go-mr-reviewer

By nbsbayu

•Updated 3 days ago

Image
0

10K+

nbsbayu/go-mr-reviewer repository overview

.env.example

# GitLab personal access token.
GITLAB_PAT=glpat-xxxx
# Optional for Full RAG/admin indexing when snapshots are started without an MR URL.
# Leave empty for gitlab.com; set for self-hosted GitLab
# GitLab API base URL.
GITLAB_API_BASE_URL=
# Legacy GitLab API base alias.
GITLAB_API_BASE=
# Legacy GitLab token alias.
GITLAB_TOKEN=
# GitHub personal access token.
GITHUB_TOKEN=github_pat_xxxx
# GitHub API base URL.
GITHUB_API_BASE=
# Legacy GitHub token alias.
GH_TOKEN=
# Primary LLM API key.
LLM_API_KEY=your-llm-api-key
# Legacy LLM API key alias.
AI_API_KEY=
# Legacy OpenAI-compatible API key alias.
OPENAI_API_KEY=
# Legacy Kilo API key alias.
KILO_API_KEY=

# Optional provider base URLs/aliases.
# Legacy AI base URL alias.
AI_BASE_URL=
# Legacy Kilo base URL alias.
KILO_BASE_URL=

# Required when STATELESS_MODE=true.
# Must be exactly 32 bytes raw or base64-encoded 32 bytes.
# Generate with: openssl rand -base64 32
# 32-byte app encryption key.
APP_ENCRYPTION_KEY=replace_with_base64_32bytes_key

# HTTP listen port.
PORT=8080
# Optional env file override path.
MR_REVIEWER_ENV_FILE=
# Run in stateless session mode.
STATELESS_MODE=true
# Bootstrap admin username.
ADMIN_USERNAME=admin
# Bootstrap admin password.
ADMIN_PASSWORD=change_this_strong_password
# Bootstrap admin email.
[email protected]

# Legacy fallback only. Prefer ADMIN_* above.
# Legacy auth username fallback.
AUTH_USERNAME=
# Legacy auth password fallback.
AUTH_PASSWORD=

STORAGE_BACKEND=postgres
# Base URL for database URL.
DATABASE_URL=postgres://go_mr_reviewer:go_mr_reviewer@postgres:5432/go_mr_reviewer?sslmode=disable
# Configuration for postgres host.
POSTGRES_HOST=postgres
# Configuration for postgres port.
POSTGRES_PORT=5432
# Configuration for postgres DB.
POSTGRES_DB=go_mr_reviewer
# Configuration for postgres user.
POSTGRES_USER=go_mr_reviewer
# Configuration for postgres password.
POSTGRES_PASSWORD=go_mr_reviewer
# Configuration for postgres sslmode.
POSTGRES_SSLMODE=disable

# Configuration for LLM provider.
LLM_PROVIDER=openai_compatible
# Base URL for LLM base URL.
LLM_BASE_URL=
# Maximum limit for LLM maximum retries.
LLM_MAX_RETRIES=3
# Maximum limit for LLM maximum concurrency.
LLM_MAX_CONCURRENCY=3
# Model selection for planner model.
PLANNER_MODEL=
# Model selection for review model.
REVIEW_MODEL=
# Model selection for typo model.
TYPO_MODEL=
# Model selection for UI similarity model.
UI_SIMILARITY_MODEL=

# Keep bounded to avoid provider rate-limit spikes.
# Configuration for LLM concurrency.
LLM_CONCURRENCY=3
# Timeout or retention setting for LLM retry initial delay.
LLM_RETRY_INITIAL_DELAY=1s
# Timeout or retention setting for LLM retry maximum delay.
LLM_RETRY_MAX_DELAY=15s
# Configuration for LLM retry jitter percent.
LLM_RETRY_JITTER_PERCENT=20
# Timeout or retention setting for http timeout.
HTTP_TIMEOUT=180s
# Timeout or retention setting for job timeout.
JOB_TIMEOUT=10m
# Configuration for job storage async persist.
JOB_STORAGE_ASYNC_PERSIST=true
# Timeout or retention setting for job storage persist timeout.
JOB_STORAGE_PERSIST_TIMEOUT=10s

# Maximum limit for max concurrent jobs.
MAX_CONCURRENT_JOBS=2
# Maximum limit for max concurrent jobs per user.
MAX_CONCURRENT_JOBS_PER_USER=1
# Configuration for job queue size.
JOB_QUEUE_SIZE=32

# Maximum limit for review budget maximum output tokens.
REVIEW_BUDGET_MAX_OUTPUT_TOKENS=36000
# Configuration for review budget strict.
REVIEW_BUDGET_STRICT=false
# Configuration for review evidence required.
REVIEW_EVIDENCE_REQUIRED=true
# Enable or disable review length gate enabled.
REVIEW_LENGTH_GATE_ENABLED=false
# Minimum limit for review minimum confidence.
REVIEW_MIN_CONFIDENCE=0.7
# Configuration for review scope concurrency.
REVIEW_SCOPE_CONCURRENCY=4
# Model selection for review formatter model.
REVIEW_FORMATTER_MODEL=
# Model selection for review verifier model.
REVIEW_VERIFIER_MODEL=
# Review heuristics and runtime gates.
# Configuration for dynamic budget scaling.
DYNAMIC_BUDGET_SCALING=true
# Enable or disable dependency clustering.
ENABLE_DEPENDENCY_CLUSTERING=true
# Enable or disable false positive suppression.
ENABLE_FALSE_POSITIVE_SUPPRESSION=true
# Enable or disable incremental review.
ENABLE_INCREMENTAL_REVIEW=true
# Enable or disable project context.
ENABLE_PROJECT_CONTEXT=true
# Enable or disable runtime agent.
ENABLE_RUNTIME_AGENT=true
# Enable or disable runtime ai enrichment.
ENABLE_RUNTIME_AI_ENRICHMENT=false
# Enable or disable runtime context file.
ENABLE_RUNTIME_CONTEXT_FILE=true
# Enable or disable runtime magic detection.
ENABLE_RUNTIME_MAGIC_DETECTION=true
# Timeout or retention setting for runtime agent cache TTL.
RUNTIME_AGENT_CACHE_TTL=30m
# Maximum limit for runtime agent cache maximum entries.
RUNTIME_AGENT_CACHE_MAX_ENTRIES=256
# Model selection for runtime ai enrichment model.
RUNTIME_AI_ENRICHMENT_MODEL=
# Configuration for settings model test ip rate limit RPM.
SETTINGS_MODEL_TEST_IP_RATE_LIMIT_RPM=0
# Configuration for settings model test user rate limit RPM.
SETTINGS_MODEL_TEST_USER_RATE_LIMIT_RPM=0
# Timeout or retention setting for trigger dedup TTL.
TRIGGER_DEDUP_TTL=10m

# Enable or disable token optimizer.
ENABLE_TOKEN_OPTIMIZER=false
# Maximum limit for token optimizer maximum fragment chars.
TOKEN_OPTIMIZER_MAX_FRAGMENT_CHARS=2000

# Maximum limit for max diff pages.
MAX_DIFF_PAGES=100
# Maximum limit for max diff chars.
MAX_DIFF_CHARS=5000000
# Coverage cap: fetch + deterministic risk triage can inspect up to this many changed files.
# Maximum limit for max changed files.
MAX_CHANGED_FILES=500
# Cost cap: only top-risk + deterministic low-risk sample go to deep LLM review.
# Maximum limit for max deep review files.
MAX_DEEP_REVIEW_FILES=80
# Legacy fallback for MAX_DEEP_REVIEW_FILES when the new env is unset.
# Maximum limit for max files.
MAX_FILES=80
# Maximum limit for max file diff chars.
MAX_FILE_DIFF_CHARS=70000
# Maximum limit for max file diff lines.
MAX_FILE_DIFF_LINES=3500
# Maximum limit for max prompt chars.
MAX_PROMPT_CHARS=450000
# Enable or disable risk triage enabled.
RISK_TRIAGE_ENABLED=true
# If true, code review output becomes an explicit blocking warning when high/medium files exceed deep-review cap.
# Configuration for risk triage strict high medium coverage.
RISK_TRIAGE_STRICT_HIGH_MEDIUM_COVERAGE=false
# Minimum limit for low risk audit minimum files.
LOW_RISK_AUDIT_MIN_FILES=5
# Configuration for low risk audit percent.
LOW_RISK_AUDIT_PERCENT=5
# Minimum limit for planner minimum files.
PLANNER_MIN_FILES=50
# Maximum limit for planner maximum tokens.
PLANNER_MAX_TOKENS=35000
# Maximum limit for review maximum tokens.
REVIEW_MAX_TOKENS=9000

# Enable or disable review rule engine enabled.
REVIEW_RULE_ENGINE_ENABLED=true
# Enable or disable review file bundling enabled.
REVIEW_FILE_BUNDLING_ENABLED=true
# Enable or disable review rules extension filter enabled.
REVIEW_RULES_EXTENSION_FILTER_ENABLED=true
# Configuration for review rules global path.
REVIEW_RULES_GLOBAL_PATH=
# Maximum limit for review rules maximum entries.
REVIEW_RULES_MAX_ENTRIES=200
# Maximum limit for review rules maximum bytes.
REVIEW_RULES_MAX_BYTES=262144
# Maximum limit for review rules maximum rule chars.
REVIEW_RULES_MAX_RULE_CHARS=2000
# Maximum limit for review rules maximum brace expansions.
REVIEW_RULES_MAX_BRACE_EXPANSIONS=64
# Maximum limit for review bundle maximum files.
REVIEW_BUNDLE_MAX_FILES=5
# Maximum limit for review bundle maximum chars.
REVIEW_BUNDLE_MAX_CHARS=40000
# Configuration for review rules prompt budget chars.
REVIEW_RULES_PROMPT_BUDGET_CHARS=4000

# Enable or disable review cache enabled.
REVIEW_CACHE_ENABLED=true
# Timeout or retention setting for review cache TTL.
REVIEW_CACHE_TTL=30m
# Maximum limit for review cache maximum entries.
REVIEW_CACHE_MAX_ENTRIES=200
# Enable or disable semantic cache enabled.
SEMANTIC_CACHE_ENABLED=true
# Timeout or retention setting for semantic cache TTL.
SEMANTIC_CACHE_TTL=30m
# Maximum limit for semantic cache maximum entries.
SEMANTIC_CACHE_MAX_ENTRIES=512
# Enable or disable incremental cache dependency invalidation enabled.
INCREMENTAL_CACHE_DEPENDENCY_INVALIDATION_ENABLED=true
# Configuration for incremental cache dependency depth.
INCREMENTAL_CACHE_DEPENDENCY_DEPTH=1
# Maximum limit for incremental cache dependency maximum files.
INCREMENTAL_CACHE_DEPENDENCY_MAX_FILES=50

# Enable or disable progressive review mode.
ENABLE_PROGRESSIVE_REVIEW_MODE=true
# Enable or disable review debate enabled.
REVIEW_DEBATE_ENABLED=true
# Configuration for review debate mandatory first round.
REVIEW_DEBATE_MANDATORY_FIRST_ROUND=true
# Model selection for review debate model.
REVIEW_DEBATE_MODEL=
# Maximum limit for review debate maximum tokens.
REVIEW_DEBATE_MAX_TOKENS=70000
# Maximum limit for review debate maximum iterations.
REVIEW_DEBATE_MAX_ITERATIONS=3
# Maximum limit for review debate maximum queries.
REVIEW_DEBATE_MAX_QUERIES=500
# Maximum limit for review debate maximum context files.
REVIEW_DEBATE_MAX_CONTEXT_FILES=300
# Configuration for review debate context chars.
REVIEW_DEBATE_CONTEXT_CHARS=1200000
# Configuration for review debate context chars per point.
REVIEW_DEBATE_CONTEXT_CHARS_PER_POINT=0
# Configuration for review debate scope lock mode.
REVIEW_DEBATE_SCOPE_LOCK_MODE=soft
# Configuration for review debate point concurrency.
REVIEW_DEBATE_POINT_CONCURRENCY=2
# Configuration for review debate per point.
REVIEW_DEBATE_PER_POINT=true
# Enable or disable consensus engine.
ENABLE_CONSENSUS_ENGINE=false
# Configuration for consensus point concurrency.
CONSENSUS_POINT_CONCURRENCY=2
# Configuration for consensus specialist hard gated.
CONSENSUS_SPECIALIST_HARD_GATED=true
# Minimum limit for consensus specialist minimum triggers.
CONSENSUS_SPECIALIST_MIN_TRIGGERS=1
# Enable or disable root cause agent.
ENABLE_ROOT_CAUSE_AGENT=true
# Maximum limit for root cause maximum blast radius.
ROOT_CAUSE_MAX_BLAST_RADIUS=5
# Enable or disable architecture drift agent.
ENABLE_ARCHITECTURE_DRIFT_AGENT=false
# Enable or disable security regression agent.
ENABLE_SECURITY_REGRESSION_AGENT=false
# Enable or disable knowledge graph.
ENABLE_KNOWLEDGE_GRAPH=false
# Enable or disable runtime topology.
ENABLE_RUNTIME_TOPOLOGY=true
# Model selection for consensus skeptic model.
CONSENSUS_SKEPTIC_MODEL=
# Model selection for consensus runtime model.
CONSENSUS_RUNTIME_MODEL=
# Model selection for consensus security model.
CONSENSUS_SECURITY_MODEL=
# Model selection for consensus performance model.
CONSENSUS_PERFORMANCE_MODEL=
# Model selection for consensus architecture model.
CONSENSUS_ARCHITECTURE_MODEL=

# Keep disabled unless infra/API key is ready.
# Enable or disable embedding enabled.
EMBEDDING_ENABLED=false
# Model selection for embedding model.
EMBEDDING_MODEL=
# Configuration for embedding model fallback.
EMBEDDING_MODEL_FALLBACK=
# Base URL for embedding base URL.
EMBEDDING_BASE_URL=
# Secret value for embedding API key.
EMBEDDING_API_KEY=
# Enable or disable pgvector enabled.
PGVECTOR_ENABLED=false
# Configuration for embedding context top k.
EMBEDDING_CONTEXT_TOP_K=8
# Maximum limit for embedding context maximum queries.
EMBEDDING_CONTEXT_MAX_QUERIES=6
# Minimum limit for embedding context minimum score.
EMBEDDING_CONTEXT_MIN_SCORE=0.45

# Keep disabled by default; enable gradually per environment.
# Enable or disable full rag enabled.
FULL_RAG_ENABLED=false
# Configuration for full RAG index on review.
FULL_RAG_INDEX_ON_REVIEW=false
# Configuration for full RAG provider tree page size.
FULL_RAG_PROVIDER_TREE_PAGE_SIZE=100
# Maximum limit for full RAG maximum files.
FULL_RAG_MAX_FILES=1000
# Maximum limit for full RAG maximum file bytes.
FULL_RAG_MAX_FILE_BYTES=524288
# Maximum limit for full RAG maximum repo bytes.
FULL_RAG_MAX_REPO_BYTES=104857600
# Maximum limit for full RAG chunk maximum chars.
FULL_RAG_CHUNK_MAX_CHARS=1000
# Configuration for full RAG chunk overlap lines.
FULL_RAG_CHUNK_OVERLAP_LINES=2
# Configuration for full RAG retrieval top k.
FULL_RAG_RETRIEVAL_TOP_K=8
# Minimum limit for full RAG retrieval minimum score.
FULL_RAG_RETRIEVAL_MIN_SCORE=0.45
# Maximum limit for full RAG retrieval maximum chars.
FULL_RAG_RETRIEVAL_MAX_CHARS=12000
# Configuration for full RAG retrieval mode.
FULL_RAG_RETRIEVAL_MODE=dense
# Enable or disable full rag lexical enabled.
FULL_RAG_LEXICAL_ENABLED=false
# Enable or disable full rag rerank enabled.
FULL_RAG_RERANK_ENABLED=false
# Maximum limit for full RAG rerank maximum candidates.
FULL_RAG_RERANK_MAX_CANDIDATES=24
# Configuration for full RAG rerank top k.
FULL_RAG_RERANK_TOP_K=8
# Configuration for full RAG rerank timeout ms.
FULL_RAG_RERANK_TIMEOUT_MS=6000
# Model selection for full RAG reranker model.
FULL_RAG_RERANKER_MODEL=
# Configuration for full RAG code aware chunking.
FULL_RAG_CODE_AWARE_CHUNKING=false
# Configuration for full RAG chunker version.
FULL_RAG_CHUNKER_VERSION=v1
# Configuration for full RAG vector index.
FULL_RAG_VECTOR_INDEX=none
# Enable or disable full rag turbovec spike enabled.
FULL_RAG_TURBOVEC_SPIKE_ENABLED=false
# Configuration for full RAG fetch mode.
FULL_RAG_FETCH_MODE=raw
# Configuration for full RAG concurrent fetches.
FULL_RAG_CONCURRENT_FETCHES=4
# Configuration for full RAG fetch requests per second.
FULL_RAG_FETCH_REQUESTS_PER_SECOND=2
# Minimum limit for full RAG fetch minimum interval.
FULL_RAG_FETCH_MIN_INTERVAL=0s
# Maximum limit for full RAG fetch maximum retries.
FULL_RAG_FETCH_MAX_RETRIES=3
# Timeout or retention setting for full RAG fetch retry delay.
FULL_RAG_FETCH_RETRY_DELAY=2s
# Configuration for full RAG concurrent embeddings.
FULL_RAG_CONCURRENT_EMBEDDINGS=4
# Maximum limit for full RAG maximum embedding requests per job.
FULL_RAG_MAX_EMBEDDING_REQUESTS_PER_JOB=500
# Configuration for full RAG embedding requests per second.
FULL_RAG_EMBEDDING_REQUESTS_PER_SECOND=2
# Minimum limit for full RAG embedding minimum interval.
FULL_RAG_EMBEDDING_MIN_INTERVAL=0s
# Maximum limit for full RAG embedding maximum retries.
FULL_RAG_EMBEDDING_MAX_RETRIES=3
# Timeout or retention setting for full RAG embedding retry delay.
FULL_RAG_EMBEDDING_RETRY_DELAY=2s
# Maximum limit for full RAG maximum estimated cost per job.
FULL_RAG_MAX_ESTIMATED_COST_PER_JOB=5.0
# Configuration for full RAG index forks.
FULL_RAG_INDEX_FORKS=false
# Configuration for full RAG exclude globs.
FULL_RAG_EXCLUDE_GLOBS=
# Configuration for full RAG include globs.
FULL_RAG_INCLUDE_GLOBS=
# Configuration for full RAG retention days.
FULL_RAG_RETENTION_DAYS=30
# Configuration for full RAG selection mode.
FULL_RAG_SELECTION_MODE=review
# Enable or disable full rag selector agent enabled.
FULL_RAG_SELECTOR_AGENT_ENABLED=false
# Model selection for full RAG selector agent model.
FULL_RAG_SELECTOR_AGENT_MODEL=
# Maximum limit for full RAG selector agent maximum files.
FULL_RAG_SELECTOR_AGENT_MAX_FILES=2000
# Configuration for full RAG selector agent batch size.
FULL_RAG_SELECTOR_AGENT_BATCH_SIZE=200
# Maximum limit for full RAG selector agent maximum tokens.
FULL_RAG_SELECTOR_AGENT_MAX_TOKENS=1200
# Timeout or retention setting for full RAG selector agent timeout.
FULL_RAG_SELECTOR_AGENT_TIMEOUT=20s

# Enable or disable codegraph enabled.
CODEGRAPH_ENABLED=false
# Configuration for codegraph binary.
CODEGRAPH_BINARY=codegraph
# Configuration for codegraph project path.
CODEGRAPH_PROJECT_PATH=.
# Timeout or retention setting for codegraph timeout.
CODEGRAPH_TIMEOUT=20s
# Configuration for codegraph query limit.
CODEGRAPH_QUERY_LIMIT=8
# Maximum limit for codegraph maximum queries.
CODEGRAPH_MAX_QUERIES=6
# Maximum limit for codegraph maximum context nodes.
CODEGRAPH_MAX_CONTEXT_NODES=24
# Enable or disable context7 enabled.
CONTEXT7_ENABLED=false
# Secret value for context7 API key.
CONTEXT7_API_KEY=
# Secret value for Context7 API key.
CTX7_API_KEY=
# Base URL for context7 base URL.
CONTEXT7_BASE_URL=https://context7.com/api/v2
# Maximum limit for context7 maximum libraries.
CONTEXT7_MAX_LIBRARIES=2
# Maximum limit for context7 maximum context chars.
CONTEXT7_MAX_CONTEXT_CHARS=6000
# Enable or disable context7 cache enabled.
CONTEXT7_CACHE_ENABLED=true
# Timeout or retention setting for context7 cache TTL.
CONTEXT7_CACHE_TTL=12h
# Maximum limit for context7 cache maximum entries.
CONTEXT7_CACHE_MAX_ENTRIES=256

# Safer default: do not post comments automatically.
# Enable only after review quality is verified in your team.
# GitHub PR review currently supports fetch/review only; posting comments is GitLab-only.
# Configuration for GitLab auto comment.
GITLAB_AUTO_COMMENT=false
# Enable or disable gitlab auto suggestions enabled.
GITLAB_AUTO_SUGGESTIONS_ENABLED=false
# Enable or disable gitlab auto suggestions code enabled.
GITLAB_AUTO_SUGGESTIONS_CODE_ENABLED=true
# Maximum limit for GitLab auto suggestions maximum notes.
GITLAB_AUTO_SUGGESTIONS_MAX_NOTES=20
# Model selection for suggestion model.
SUGGESTION_MODEL=
# Maximum limit for suggestion maximum tokens.
SUGGESTION_MAX_TOKENS=120
# Enable or disable suggestion debate enabled.
SUGGESTION_DEBATE_ENABLED=false
# Model selection for suggestion verifier model.
SUGGESTION_VERIFIER_MODEL=
# Maximum limit for suggestion verifier maximum tokens.
SUGGESTION_VERIFIER_MAX_TOKENS=180

# =========================================================
# Typo / UI similarity
# =========================================================
# Enable or disable typo direction agent.
ENABLE_TYPO_DIRECTION_AGENT=false
# Model selection for typo direction agent model.
TYPO_DIRECTION_AGENT_MODEL=
# Maximum limit for typo direction agent maximum tokens.
TYPO_DIRECTION_AGENT_MAX_TOKENS=120
# Minimum limit for typo direction agent minimum confidence.
TYPO_DIRECTION_AGENT_MIN_CONFIDENCE=75
# Suggestion Direction Agent — validates Before/After direction,
# corrects reversed suggestions (swap), suppresses low-confidence ones.
# Enable or disable suggestion direction agent.
ENABLE_SUGGESTION_DIRECTION_AGENT=false
# Model selection for suggestion direction agent model.
SUGGESTION_DIRECTION_AGENT_MODEL=
# Maximum limit for suggestion direction agent maximum tokens.
SUGGESTION_DIRECTION_AGENT_MAX_TOKENS=120
# Minimum limit for suggestion direction agent minimum confidence.
SUGGESTION_DIRECTION_AGENT_MIN_CONFIDENCE=75
# Timeout or retention setting for suggestion direction agent timeout.
SUGGESTION_DIRECTION_AGENT_TIMEOUT=30s

# Maximum limit for typo maximum tokens.
TYPO_MAX_TOKENS=120000
# Maximum limit for UI similarity maximum tokens.
UI_SIMILARITY_MAX_TOKENS=12000
# Maximum limit for UI similarity maximum prompt chars.
UI_SIMILARITY_MAX_PROMPT_CHARS=250000
# Maximum limit for UI similarity maximum files.
UI_SIMILARITY_MAX_FILES=8
# Configuration for UI scope concurrency.
UI_SCOPE_CONCURRENCY=2
# Configuration for signature risk concurrency.
SIGNATURE_RISK_CONCURRENCY=3
# Configuration for UI similarity vision timeout seconds.
UI_SIMILARITY_VISION_TIMEOUT_SECONDS=30
# Maximum limit for UI similarity vision maximum retries.
UI_SIMILARITY_VISION_MAX_RETRIES=1

LLM_CONTEXT_WINDOW_TOKENS=0
# Enable or disable review agent quality enabled.
REVIEW_AGENT_QUALITY_ENABLED=true
# Configuration for review agent quality rollout percent.
REVIEW_AGENT_QUALITY_ROLLOUT_PERCENT=100
# Maximum limit for review maximum functions per agent.
REVIEW_MAX_FUNCTIONS_PER_AGENT=3
# Maximum limit for review maximum files per agent.
REVIEW_MAX_FILES_PER_AGENT=1
# Maximum limit for review specialist maximum functions per agent.
REVIEW_SPECIALIST_MAX_FUNCTIONS_PER_AGENT=3
# Maximum limit for review specialist maximum files per agent.
REVIEW_SPECIALIST_MAX_FILES_PER_AGENT=1
# Maximum limit for review maximum agent units per job.
REVIEW_MAX_AGENT_UNITS_PER_JOB=8
# Maximum limit for review specialist maximum agents per job.
REVIEW_SPECIALIST_MAX_AGENTS_PER_JOB=5
# Enable or disable review anti truncation agent enabled.
REVIEW_ANTI_TRUNCATION_AGENT_ENABLED=true
# Maximum limit for review output continuation maximum rounds.
REVIEW_OUTPUT_CONTINUATION_MAX_ROUNDS=2
# Enable or disable review suggestion language lock enabled.
REVIEW_SUGGESTION_LANGUAGE_LOCK_ENABLED=true
# Configuration for review optional agent failure policy.
REVIEW_OPTIONAL_AGENT_FAILURE_POLICY=recoverable
# Timeout or retention setting for review agent unit timeout.
REVIEW_AGENT_UNIT_TIMEOUT=45s

# Enable or disable baseline enabled.
BASELINE_ENABLED=true
# Minimum limit for baseline minimum hits.
BASELINE_MIN_HITS=2
# Enable or disable chat signal learning enabled.
CHAT_SIGNAL_LEARNING_ENABLED=true
# Minimum limit for chat signal minimum count.
CHAT_SIGNAL_MIN_COUNT=3
# Enable or disable model ab enabled.
MODEL_AB_ENABLED=false
# Configuration for model ab ratio percent.
MODEL_AB_RATIO_PERCENT=20
# Configuration for review model b.
REVIEW_MODEL_B=
# Configuration for typo model b.
TYPO_MODEL_B=
# Configuration for UI similarity model b.
UI_SIMILARITY_MODEL_B=

# Keep disabled until repository test commands and permissions are ready.
# Enable or disable auto test enabled.
AUTO_TEST_ENABLED=false
# Enable or disable auto test unit enabled.
AUTO_TEST_UNIT_ENABLED=false
# Enable or disable auto test feature enabled.
AUTO_TEST_FEATURE_ENABLED=false
# Configuration for auto test use mocks.
AUTO_TEST_USE_MOCKS=true
# Enable or disable auto test commit enabled.
AUTO_TEST_COMMIT_ENABLED=false
# Enable or disable auto test critic enabled.
AUTO_TEST_CRITIC_ENABLED=false
# Configuration for auto test mode.
AUTO_TEST_MODE=
# Configuration for auto test agent concurrency.
AUTO_TEST_AGENT_CONCURRENCY=2
# Timeout or retention setting for auto test agent timeout.
AUTO_TEST_AGENT_TIMEOUT=45s
# Configuration for auto test model context tokens.
AUTO_TEST_MODEL_CONTEXT_TOKENS=0
# Configuration for auto test prompt budget percent.
AUTO_TEST_PROMPT_BUDGET_PERCENT=0
# Maximum limit for auto test writer maximum tokens.
AUTO_TEST_WRITER_MAX_TOKENS=0
# Maximum limit for auto test maximum files.
AUTO_TEST_MAX_FILES=20
# Maximum limit for auto test maximum context chars.
AUTO_TEST_MAX_CONTEXT_CHARS=60000
# Maximum limit for auto test maximum existing test files.
AUTO_TEST_MAX_EXISTING_TEST_FILES=8

AUTO_TEST_UNIT_DIRS=
# Configuration for auto test feature dirs.
AUTO_TEST_FEATURE_DIRS=
# Configuration for auto test test path patterns.
AUTO_TEST_TEST_PATH_PATTERNS=
# Optional explicit style examples. Empty uses discovered samples bounded by
# AUTO_TEST_MAX_EXISTING_TEST_FILES.
# Configuration for auto test style sample files.
AUTO_TEST_STYLE_SAMPLE_FILES=
# Selected changed functions per plan. Default 3; clamped to 1..10.
# Maximum limit for auto test maximum functions per plan.
AUTO_TEST_MAX_FUNCTIONS_PER_PLAN=3
# Maximum limit for auto test maximum agent calls.
AUTO_TEST_MAX_AGENT_CALLS=0
# Maximum limit for auto test maximum patch chars.
AUTO_TEST_MAX_PATCH_CHARS=20000
# Configuration for auto test quality threshold.
AUTO_TEST_QUALITY_THRESHOLD=0.70
# Model selection for auto test planner model.
AUTO_TEST_PLANNER_MODEL=
# Model selection for auto test writer model.
AUTO_TEST_WRITER_MODEL=
# Model selection for auto test verifier model.
AUTO_TEST_VERIFIER_MODEL=
# Enable or disable auto test migration enabled.
AUTO_TEST_MIGRATION_ENABLED=false
# Enable or disable auto test seed enabled.
AUTO_TEST_SEED_ENABLED=false
# Enable or disable auto test debate enabled.
AUTO_TEST_DEBATE_ENABLED=true
# Maximum limit for auto test debate maximum iterations.
AUTO_TEST_DEBATE_MAX_ITERATIONS=2

# Enable or disable rest trigger enabled.
REST_TRIGGER_ENABLED=false
# Configuration for rest trigger API keys.
REST_TRIGGER_API_KEYS=
# Configuration for rest trigger rate limit RPM.
REST_TRIGGER_RATE_LIMIT_RPM=30
# Enable or disable webhook trigger enabled.
WEBHOOK_TRIGGER_ENABLED=false
# Configuration for webhook GitLab secret.
WEBHOOK_GITLAB_SECRET=
# Configuration for webhook allowed events.
WEBHOOK_ALLOWED_EVENTS=Merge Request Hook
# Configuration for webhook allowed actions.
WEBHOOK_ALLOWED_ACTIONS=open,reopen,update
# Configuration for webhook trigger rate limit RPM.
WEBHOOK_TRIGGER_RATE_LIMIT_RPM=60

# Command gateway. Keep off unless slash-command API UX is needed.
PR_COMMANDS_ENABLED=true

# Review summary section/endpoint. Blends into review history/detail.
PR_DESCRIBE_ENABLED=true

# Whole-review Q&A. Blends into existing review chat/context flow.
PR_ASK_ENABLED=true

# Non-blocking suggestions. Blends into existing suggestion pipeline.
# Enable or disable pr improve enabled.
PR_IMPROVE_ENABLED=true

# GitLab note webhook slash commands. Enable last; highest spam/cost risk.
PR_COMMAND_COMMENT_TRIGGERS_ENABLED=false

# Ticket/issue labels from MR text. Blends into context enrichment only.
TICKET_CONTEXT_ENABLED=false

# GitHub provider writes. Requires explicit publish request and permission.
GITHUB_PUBLISH_ENABLED=false

# Large PR context strategy: legacy, balanced, or summary-only.
LARGE_PR_COMPRESSION_PROFILE=legacy

Tag summary

Content type

Image

Digest

sha256:48a42a7dd…

Size

12.7 MB

Last updated

3 days ago

docker pull nbsbayu/go-mr-reviewer