Stack position
Summary
The correction log records when, why and from where a change was made, but not
who made it
(corrections.py:236-249).
Add a user field to every log entry. The backcheck attribution log in #301
uses the same identity.
Scope
- Reviewer identity.
- Default to the OS login (
getpass.getuser()).
- Add a "Reviewer name" setting that overrides the default and is remembered
across sessions. It holds a display name only, never credentials.
- Expose one helper, for example
get_reviewer_name(), used by every
logging path.
user column in corr_log_{alias}.
- The shared correction form and
apply_correction_entries fill it on
every entry, from any source.
- Backfill existing logs with an empty value, extending the existing
column backfill.
- Correction Log display shows the User column.
correction_log.csv in the replication package includes it.
Acceptance criteria
Stack position
feat/321-correction-log-user, fromfeat/318-backcheck-target-metricsfeat/318-backcheck-target-metrics(retarget tomainonce Backchecks: track progress against the backcheck target #318 merges)Summary
The correction log records when, why and from where a change was made, but not
who made it
(corrections.py:236-249).
Add a
userfield to every log entry. The backcheck attribution log in #301uses the same identity.
Scope
getpass.getuser()).across sessions. It holds a display name only, never credentials.
get_reviewer_name(), used by everylogging path.
usercolumn incorr_log_{alias}.apply_correction_entriesfill it onevery entry, from any source.
column backfill.
correction_log.csvin the replication package includes it.Acceptance criteria