tools(agent-loop): trusted bot accounts are Gitea logins Claude and Grok
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Ad9rqAB8pXXvyzh7f4X8v
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
05f8800531
commit
7ac2fa63da
@@ -10,7 +10,7 @@ TOKEN_FILE="${JYOTISHA_AGENT_TOKEN_FILE:-$HOME/.config/jyotisha-agent/gitea-toke
|
||||
API="$GITEA_URL/api/v1/repos/$GITEA_REPO"
|
||||
# Accounts whose issue text and comments are trusted: the product owner and the two agents.
|
||||
# Everyone else's text is dropped before it reaches a model.
|
||||
TRUSTED="${GITEA_TRUSTED_USERS:-jesse,claude-agent,grok-agent}"
|
||||
TRUSTED="${GITEA_TRUSTED_USERS:-jesse,Claude,Grok}"
|
||||
_trusted_jq='($t | split(",")) as $ok | ($ok | index($u)) != null'
|
||||
|
||||
_token() {
|
||||
|
||||
Reference in New Issue
Block a user