Some tables record the person who did something only by their display name, or by a fixed word, instead of by their account's identity ID. Display names can change and aren't unique, and a fixed word records nobody, so these records can't show who made a change. AGENTS.md requires the identity ID, with the display name stored beside it only as a label.
The fixed word admin (bootstrapAdmin) is recorded as the author of every change made through these API handlers, whoever is signed in:
publishing a workflow: runs.workflows.created_by (modules/runs/workflows_api.go)
saving a workflow draft: runs.workflow_drafts.updated_by (same file)
saving a policy set: judgement.policy_sets.created_by (modules/judgement/policies.go). The starter set records starter, and a policy added by publishing a draft records draft:<name>.
resetting an action type: judgement.action_type_resets.by (modules/judgement/action_types.go)
Display names stored without an ID:
judgement.action_type_approvals.by: the approver's display name. Each autonomy proposal's evidence (ProposalEvidence.By) copies it.
An action type's history (HistoryEntry.AnsweredBy) shows only the approver's display name, although approvals.requests.answered_by_id has stored the ID since #2102.
Done when
Each of these stores the identity ID of the account that acted (with an _id column where the display name is kept as a label), the API returns the ID, and nothing records a fixed word in place of the person. A change made by Archie itself, such as seeding the starter policies, is recorded under the identity ID of the account Archie acts as.
Some tables record the person who did something only by their display name, or by a fixed word, instead of by their account's identity ID. Display names can change and aren't unique, and a fixed word records nobody, so these records can't show who made a change. AGENTS.md requires the identity ID, with the display name stored beside it only as a label.
The fixed word `admin` (`bootstrapAdmin`) is recorded as the author of every change made through these API handlers, whoever is signed in:
- publishing a workflow: `runs.workflows.created_by` (`modules/runs/workflows_api.go`)
- saving a workflow draft: `runs.workflow_drafts.updated_by` (same file)
- saving a policy set: `judgement.policy_sets.created_by` (`modules/judgement/policies.go`). The starter set records `starter`, and a policy added by publishing a draft records `draft:<name>`.
- resetting an action type: `judgement.action_type_resets.by` (`modules/judgement/action_types.go`)
Display names stored without an ID:
- `judgement.action_type_approvals.by`: the approver's display name. Each autonomy proposal's evidence (`ProposalEvidence.By`) copies it.
- An action type's history (`HistoryEntry.AnsweredBy`) shows only the approver's display name, although `approvals.requests.answered_by_id` has stored the ID since #2102.
## Done when
Each of these stores the identity ID of the account that acted (with an `_id` column where the display name is kept as a label), the API returns the ID, and nothing records a fixed word in place of the person. A change made by Archie itself, such as seeding the starter policies, is recorded under the identity ID of the account Archie acts as.
sam
added the highbug labels 2026-11-23 12:44:32 +00:00
sam
changed title from Attribution columns store display names or fixed labels instead of identity IDs to Some records store a person's display name instead of their account ID2026-11-23 12:49:36 +00:00
Fixed in 4a9f30ef0: added governance.CallerID(ctx) (falling back to SystemID), replaced bootstrapAdmin/starter/draft: across runs, judgement, drafts, and starter install, added judgement.action_type_approvals.by_id (and ProposalEvidence.ByID / HistoryEntry.AnsweredByID), and passed task check.
Fixed in 4a9f30ef0: added governance.CallerID(ctx) (falling back to SystemID), replaced bootstrapAdmin/starter/draft:<name> across runs, judgement, drafts, and starter install, added judgement.action_type_approvals.by_id (and ProposalEvidence.ByID / HistoryEntry.AnsweredByID), and passed task check.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Some tables record the person who did something only by their display name, or by a fixed word, instead of by their account's identity ID. Display names can change and aren't unique, and a fixed word records nobody, so these records can't show who made a change. AGENTS.md requires the identity ID, with the display name stored beside it only as a label.
The fixed word
admin(bootstrapAdmin) is recorded as the author of every change made through these API handlers, whoever is signed in:runs.workflows.created_by(modules/runs/workflows_api.go)runs.workflow_drafts.updated_by(same file)judgement.policy_sets.created_by(modules/judgement/policies.go). The starter set recordsstarter, and a policy added by publishing a draft recordsdraft:<name>.judgement.action_type_resets.by(modules/judgement/action_types.go)Display names stored without an ID:
judgement.action_type_approvals.by: the approver's display name. Each autonomy proposal's evidence (ProposalEvidence.By) copies it.HistoryEntry.AnsweredBy) shows only the approver's display name, althoughapprovals.requests.answered_by_idhas stored the ID since #2102.Done when
Each of these stores the identity ID of the account that acted (with an
_idcolumn where the display name is kept as a label), the API returns the ID, and nothing records a fixed word in place of the person. A change made by Archie itself, such as seeding the starter policies, is recorded under the identity ID of the account Archie acts as.Attribution columns store display names or fixed labels instead of identity IDsto Some records store a person's display name instead of their account IDFixed in
4a9f30ef0: added governance.CallerID(ctx) (falling back to SystemID), replaced bootstrapAdmin/starter/draft: across runs, judgement, drafts, and starter install, added judgement.action_type_approvals.by_id (and ProposalEvidence.ByID / HistoryEntry.AnsweredByID), and passed task check.