Add 4 new NoteTypes + validation BoardColumn #223
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#223
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).Part of Wave 1: foundation enum changes.
Repo
forgejo_admin/pal-e-apiUser Story
As a PM (Betty Sue)
I want review, architecture, validation, and user-story as first-class note types
So that each type can have its own template, SOP, and enforcement hook
Context
The note type audit (claude-custom #180) identified that 70% of doc notes are actually reviews, architectures, or validations with consistent structure. Promoting them to types enables the enforcement chain: type → template → SOP → hook.
Also adds
validationto the BoardColumn enum to match the kanban SOP which documents it but the code doesn't have it.File Targets
Files to modify:
src/pal_e_docs/schemas.py-- addreview,architecture,validation,user-storyto NoteType Literal; addvalidationto BoardColumnType Literalsrc/pal_e_docs/models.py-- addvalidationto BoardColumn enumsrc/pal_e_docs/routes/notes.py-- add VALID_STATUSES entries for new typesalembic/versions/r8m9n0o1p2q3_add_validation_board_column.py-- Alembic migration for BoardColumn enum expansionFiles NOT to touch:
Acceptance Criteria
create_note(note_type="review")succeedscreate_note(note_type="architecture")succeedscreate_note(note_type="validation")succeedscreate_note(note_type="user-story")succeedsupdate_board_item(column="validation")succeedsTest Expectations
pytest tests/ -vConstraints
validationvalue.Checklist
Related
project-pal-e-agencyforgejo_admin/claude-custom #180-- parent spikeReview History