feat(crewing): Phase 2 — requisitions + relief requests (flagged) #65
No reviewers
Labels
No labels
bug
claude-failed
claude-pr
claude-queue
claude-working
epic
feature
interactive
portal
triaged
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: shad0w/pelagia-portal#65
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/crewing-requisitions"
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?
Crewing — Phase 2 (Requisitions + relief)
Second slice of the Crewing module per the wiki Crewing-Implementation-Spec §12 (build order item 2). Stacks on #64 (foundations) — base branch is
feat/crewing-foundations, notmaster, so nothing lands on master until the crewing module is fleshed out. Everything stays behindNEXT_PUBLIC_CREWING_ENABLED(off by default); production is unchanged.Scope (reconciled — see wiki §12 status note)
Ships Epic A (Requisitions + relief) plus the shared
autoRaiseRequisitionbackfill helper. The sign-off/experience portion of Epic K is deferred to Phase 4 (it transitions an assignment / writes anEXPERIENCE_RECORD, which need the onboarding/assignment schema from Phases 3–4). The auto-raised backfill it relies on is already built here.What's in
crewing_requisitionsmigration):Requisition(OPEN→SHORTLISTING→PROPOSING→INTERVIEWING→SELECTED→FILLED,→CANCELLED),ReliefRequest,CrewAction(thePOActionaudit mirror) + enums.lib/requisition-state-machine.ts(mirrorspo-state-machine.ts); selection Manager-only; orthogonal cancel from OPEN/SHORTLISTING bycancel_requisitionholders (§6). CodesREQ-9000…vialib/requisition-number.ts.CrewAction, notify. SharedautoRaiseRequisition()inlib/requisition-service.ts.notifyCrew()PO-independent path +CrewNotificationEvent./crewing/requisitions(list + Raise modal + relief convert) and/crewing/requisitions/[id](detail). Requisitions added to the flag-gated Crewing sidebar (Manager + MPO, §7).Tests & docs
requisition-state-machine.test.ts(11). Integration:requisitions.test.ts(15) — raise/cancel/transition, relief request + convert, auto-raise, permission gating.type-checkclean; full unit (225) + integration (146) suites green.CLAUDE.md"Crewing" section updated; wiki §12/§5.3 updated to record the Epic A / Epic K split.🤖 Generated with Claude Code
Closes Epic A — Requisitions (#75).
3d30155b6cto92a637b74692a637b746to0b2ed9ac072a99333be4to0b2ed9ac07