g1t/services/identity/migrations/0024_g1t_name.sql
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| g1t is one name: its agent's work, commits and comments show as @g1t, and nobody can claim g1t or g1t-agent | 1 | -- g1t's agent is shown as g1t. A run credential made before names its |
| 2 | -- agent g1t-agent in its scope's JSON (`"agent":"g1t-agent"`), which the | |
| 3 | -- token's principal carries; renamed so a run still going says g1t too. | |
| 4 | UPDATE access_tokens | |
| 5 | SET agent_scope = replace(agent_scope, '"g1t-agent"', '"g1t"') | |
| 6 | WHERE agent_scope LIKE '%"g1t-agent"%'; |