TOK-3: Per-instance token override #759
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#759
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an operator, I want an instance-scoped token override that lets
dev-2use a different Forgejo identity thandev-defaultwithout forking the type, so that I can run multiple agent instances of the same type with separate Forgejo accounts (e.g. for sharded throughput or to isolate audit trails).Acceptance criteria
Schema
agent_type_token_override (instance_id, secret_id)table (or equivalent extension onagent_type_routing/ a newagent_tokentable) lets per-instance rows shadow the agent-type default.instanceoveragent_typeoverglobal.UI
Tests
dev-2, dispatch, assert the commit author resolves to the override identity.Out of scope
References
specs/config-to-db.md§ Story TOK-3.