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
@@ -21,7 +21,7 @@ $Base = 'https://git.copse.top/api/v1'
|
||||
if ($Repo -notmatch '^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$') { throw "bad -Repo: $Repo" }
|
||||
$Api = "$Base/repos/$Repo"
|
||||
# Accounts whose issue text and comments are trusted: the product owner and the two agents.
|
||||
$Trusted = @('jesse', 'claude-agent', 'grok-agent')
|
||||
$Trusted = @('jesse', 'Claude', 'Grok')
|
||||
if ($env:GITEA_TRUSTED_USERS) { $Trusted = $env:GITEA_TRUSTED_USERS -split ',' }
|
||||
$Token = ([IO.File]::ReadAllText((Join-Path $HOME '.config\jyotisha-agent\gitea-token'))).Trim()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user