Skip to content

feat(quality): audit-column convention check#481

Open
seonghobae wants to merge 1 commit into
mainfrom
feat/audit-columns
Open

feat(quality): audit-column convention check#481
seonghobae wants to merge 1 commit into
mainfrom
feat/audit-columns

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

Independent PR against main. GET /audit-columns flags tables missing created_at/updated_at (and variants: create_time, reg_dt, modified_at, last_modified…) — but only when the schema's own majority (≥50%, ≥4 tables) follows the convention, so no external style is imposed. Catches the table where "when did this row change?" will be unanswerable. Pure, IDOR-safe. backend +4 tests; mypy clean.

🤖 Generated with Claude Code

Independent feature against main. check_audit_columns(snapshot) flags tables missing created_at/updated_at (incl. variants: create_time, reg_dt, modified_at, last_modified...) ONLY when >=50% of the schema's own tables follow the convention and there are >=4 tables — self-consistency, no external style imposed. GET /api/snapshots/{uuid}/audit-columns, IDOR-safe. +4 tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AxU2xaupAjp912oDNFuWyd
@seonghobae seonghobae enabled auto-merge (squash) July 6, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant