Migrate arch-generic-checkout to template-conformant architecture note (or remove from arch namespace) #254
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
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-api#254
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
Discovered during forgejo_admin/claude-custom#239 (mermaid fence enforcement). The hardened hook would deny
arch-generic-checkoutbecause it has no mermaid diagram — it's a legacy HTML-table prose note in thearch-namespace that never followedtemplate-architecture. The dev agent grandfathered it by slug to ship the hook on schedule. This ticket is the proper cleanup.Repo
forgejo_admin/pal-e-apiUser Story
As the Superuser (Lucas)
I want every note in the
arch-namespace to followtemplate-architecture(or be moved out of the namespace if it doesn't fit)So that the architecture triplet axiom holds across the knowledge base and the hook grandfather list shrinks toward zero
Traces to:
story:superuser-maintainonproject-pal-e-docs.Architecture
arch:notes— thenotescomponent inarch-domain-pal-e-docsContext
The hardened
check-note-template.sh(claude-custom#239) requires architecture notes to contain a mermaid fence.arch-generic-checkouthas none — it's a prose explanation of a generic checkout flow rendered as HTML tables.Two valid resolutions:
arch-dataflow-generic-checkout).note_typefromarchitecturetodoc, rename slug todoc-generic-checkout-flow.Recommendation: option 1. The content describes a runtime flow, which is what
sequenceDiagramis for.File Targets
This is content work, not code work.
mcp__pal-e-docs__get_note(slug="arch-generic-checkout")mcp__pal-e-docs__update_notematchingtemplate-architecture(Diagram with sequenceDiagram fence, Components, Key Decisions, Related)arch-generic-checkoutfrom the grandfather list inhooks/check-note-template.sh(claude-custom)Acceptance Criteria
arch-generic-checkout(or renamed successor) contains a valid mermaid fence with the correct facet keywordcheck-note-template.shaccepts the note WITHOUT being on the grandfather listTest Expectations
mcp__pal-e-docs__update_noteagainst the migrated note and verify the hook accepts on first tryarch-generic-checkoutremoved from grandfather — must still passbash /tmp/claude-custom-test/hooks/check-note-template.shagainst fixture inputsConstraints
arch:labels pointing to the slugChecklist
Related
forgejo_admin/claude-custom#239— parent ticket that surfaced thistemplate-architecture— the spec being conformed toarch-domain-pal-e-docs— example of a template-conformant noteScope Review: APPROVED
Review note:
review-968-2026-04-11Ticket is template-conformant, traceability triangle verified (story:superuser-maintain on project-pal-e-docs, arch:notes maps to the
notescomponent in arch-domain-pal-e-docs), file targets check out, 5 machine-verifiable AC. Fits a single agent pass (5-10 min). Ready to advance backlog → todo.Non-blocking guidance for dispatch:
get_note_linksfor inbound refs — prefer in-placeupdate_noteto preserve links.check-note-template.shlocally before committing.