From nisse-review's own review of #155: a failed run, a posted one and crash recovery rebuilt the item without seen_at, so a retry skipped the CI wait. seen_at now carries through, renewed when the head moved during the review. Also: a test for checks Gitea can't report, and the example config lists ci_wait_s and ci_grace_s. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
# Example configuration for nisse-review (Part R). Copy to nisse-review.yaml
|
|
# (or point NISSE_CONFIG at your copy) and edit.
|
|
#
|
|
# - Secrets are ${VARIABLE} references, resolved from the environment (or the
|
|
# .env file NISSE_ENV names) at startup. Nothing else goes there.
|
|
# - Unknown keys are errors.
|
|
# - Its Gitea account must have read access only to every repository it
|
|
# reviews: it refuses to start, and stops, if it can push to one (R3).
|
|
|
|
state_db: ~/nisse-review/state.db
|
|
|
|
llm: # L9: LiteLLM is the only LLM destination
|
|
base_url: http://litellm.example:4000
|
|
token: ${NISSE_LLM_TOKEN}
|
|
# max_output_tokens: 8192
|
|
# request_timeout_s: 600
|
|
|
|
roles:
|
|
reviewer: qwen3.8-27b # drives the review: the local model (R5)
|
|
expert: claude-opus-5-5 # ask_expert's
|
|
|
|
gitea:
|
|
url: https://gitea.example
|
|
token: ${NISSE_GITEA_TOKEN} # the nisse-review account's
|
|
operators: [operator] # whose comments are the operator's (R4)
|
|
|
|
# repositories: ["dev/*"] # patterns: owner/name, owner/*, */*;
|
|
# # public repositories included. Unset:
|
|
# # every one its account was given.
|
|
|
|
# vault: # L10; memory/nisse-review rw for its memory
|
|
# root: ~/vault
|
|
# folders:
|
|
# memory/nisse-review: rw
|
|
# notes: ro
|
|
|
|
# tuning: # docs/Tuning-Guide.md
|
|
# review: {poll_s: 60, max_turns: 40, diff_chars: 60000, attempts: 2,
|
|
# ci_wait_s: 3600, ci_grace_s: 120}
|
|
# expert: {consult_budget: 3}
|
|
# context: {keep_recent_turns: 6, safety_margin: 0.1}
|