Data migration: retype doc notes to new types (review, architecture, validation) #224
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api#224
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?
Type
Feature
Lineage
Related to
forgejo_admin/claude-custom #180(spike: note type system audit).Depends on pal-e-api#223 (merged via PR #226).
Repo
forgejo_admin/pal-e-apiUser Story
As a PM (Betty Sue)
I want doc notes retyped to their correct types
So that the type system reflects actual note categories and enables enforcement
Context
The audit found 70% of doc notes are actually reviews, architectures, or validations. With the new NoteTypes deployed (PR #226 merged), notes can now be migrated to their correct types. Also folds deprecated types (reference, journal, incident, post, issue) into doc.
File Targets
Files to create:
alembic/versions/{hash}_retype_notes_to_new_types.py-- Alembic data migrationAcceptance Criteria
Test Expectations
alembic upgrade headalembic upgrade head && pytest tests/ -vConstraints
agent-paradigm,tf-environment-strategy)Checklist
Related
project-pal-e-agencyforgejo_admin/claude-custom #180-- parent spikeforgejo_admin/pal-e-api #223-- prerequisite (merged)Review History