A11y bug: /board contrast violations (since fixed via --text-faint). Wave-Slack: /api/auth/member missing slackInvited (fixed), markSlackInvited non-reactive (fixed), deprecated slackInviteStatus serialization (fixed), spec-vs-UI wave-language mismatch. Known gotchas: /admin/series-management Delete is a no-op for empty series; past-deadline and sold-out events render identically. Simplify follow-ups: STATUS_LABELS dedup completed. E2e infrastructure gaps: other email routes still send live in dev, no dev seeder for arbitrary member status, SSR useFetch blocks page.route mocking, self-cancel paid registrations not e2e-tested, visual snapshot regen process.
14 KiB
Ghost Guild — Open Backlog
Last consolidated: 2026-04-30. Single source of truth for every open issue across the codebase. Pulls from LAUNCH_READINESS.md, TODO.md, the post-launch backlog memory, and a fresh sweep of in-code TODO/FIXME comments.
Cutover has not happened yet. Deploy steps live separately in LAUNCH_READINESS.md.
Pre-cutover (do once)
Operational steps that have to run during cutover. Full details + env-var list in LAUNCH_READINESS.md.
- Provision the Dokploy app, set env vars (full list in LAUNCH_READINESS.md), confirm
BASE_URLexact-matches the public origin andNODE_ENV=production. - Add the daily Dokploy Scheduled Task that POSTs to
/api/internal/reconcile-paymentswithX-Reconcile-Token. - Run
node scripts/migrate-contribution-amount.cjs --applyagainst prod Mongo BEFORE the new code serves traffic. - Set
NUXT_HELCIM_MONTHLY_PLAN_ID=50302andNUXT_HELCIM_ANNUAL_PLAN_ID=50303in Dokploy. - Set
NUXT_RECONCILE_TOKENto a 32+ char random string. - Push local
maintoorigin/main. - Deploy.
- Run
node scripts/reconcile-helcim-payments.mjs --applyagainst prod Mongo AFTER the new code serves traffic. - Audit prod for pre-fix series-pass bypass registrations (registrations on pass-only series children with
registeredAt < 2026-04-20from non-pass-holders). Decide per case. - In Helcim dashboard: disable the default payment-confirmation email for plans 50302 + 50303 (we send our own CRA-safe version via Resend).
- Run one real test charge and verify (a) Payment doc in Mongo and (b) exactly one CRA-compliant confirmation email.
- Rotate
HELCIM_API_TOKENin the Helcim merchant portal and update the Dokploy env var. - Trigger the daily reconcile task once manually in Dokploy to confirm it's wired correctly.
Pilot smoke walks (before first wave)
Once cutover lands, before the first Slack onboarding wave goes out:
- Pilot smoke walk for Slack-invited workflow. One admin manually clicks "Mark as Slack invited" against a real test member in production, confirms the row updates in place, and confirms the dashboard "Slack coming" note disappears for that member. Unit tests cover the pieces; nothing covers the live admin-to-member round-trip.
Bylaws-decoupling (waiting on amendment ratification)
Membership status is being decoupled from payment status. Copy + UI gates already align; behavioral changes below remain.
- B1.
server/api/members/cancel-subscription.post.js:31,48flips status topending_paymenton cancel. Under the new bylaws, cancellation should keep statusactive(just zero contribution). Update thefindByIdAndUpdatepayload + response, the comment at line 26, and add coverage intests/server/api/cancel-subscription.test.js. B3 cancelled.pending_paymentstays.B4 admin "Pending Payment" → "Payment setup incomplete"shipped 2026-04-29 (59d2be2).
Known gotchas (post-launch)
- Admin edit does not sync Helcim
recurringAmount./admin/members/[id]PUT writescontributionAmountdirect to Mongo by design. Admins must PATCH Helcim manually. The admin form already shows an--ember-bordered notice (commite756170); a real sync flow is a future enhancement. - Cadence switch rejected on active subscriptions.
server/api/members/update-contribution.post.js:206refuses cadence changes mid-subscription with a TODO comment pointing here. No UI toggle exists on/member/account. Adding cadence switch requires a Helcim subscription replacement flow, not a plain update. - S2 test fixture id/slug mismatch (local dev only). Seeded S2 series has
id: 'test-s2-drop-in-allowed'butslug: 'test-s2-drop-in-allowed-series'. Doesn't affect prod — fix the seed script if anyone re-runs fixtures. /admin/series-management"Delete" button doesn't actually delete. Click handler iterates events to PUT-unlink each from the series, never callsDELETE /api/admin/series/:id. For an empty series the button is a no-op; for a series with events it just orphans them. Either rename to "Unlink events" or add the actual DELETE call. Surfaced bye2e/admin-series.spec.js(delete test skipped). Flagged 2026-04-30.- Past-deadline events and sold-out events render identically.
EventTicketPurchase.vuefalls through to "Event Sold Out" panel for bothtickets.available.reason === 'Registration deadline has passed'and zero-stock cases. If "Registration closed" is meant to read differently from "Sold out," add a distinct branch. Flagged 2026-04-30 (no e2e written — gated on this UX decision).
Accessibility / a11y
- Button minimum target size. Site-wide
.btnrenders ~35px tall. WCAG AA 2.5.8 (24×24) passes; AAA 2.5.5 (44×44) fails. Bumping padding affects every button — design call, not a drop-in fix. Flagged 2026-04-11. /boardcolor-contrast violations (WCAG AA)..block-label("Offering" tag) and.slack-handleuse#746a58on#e8dfc8→ 4.01:1; AA needs 4.5:1 for small text. Surfaced bye2e/a11y.spec.js(the/boardroute fails; test is intentionally left red until fixed). Likely a single CSS variable adjustment. Flagged 2026-04-30.
Deferred features (own session each)
- Email automation system. Patterned after Tranzac's implementation (separate project, already built). HTML email bodies with template management and drip sequences. Deferred 2026-04-20 — ruled wasted work given the larger system is designed elsewhere. Current transactional email lives in
server/utils/resend.js+ inline inserver/api/auth/login.post.js,server/routes/oidc/interaction/login.post.ts,server/api/admin/{members,pre-registrants}/invite.post.js. Copy dump atdocs/email-copy-dump.md. See memory:project_email_automation_future. - Receipts for event ticket purchases (Phase 2). Phase 1 receipts only cover membership payments. Event tickets — especially guest purchases without member accounts — need a receipt flow. Likely an emailed PDF/HTML receipt at purchase time. Build target: June–Oct 2026, live Jan 2027. See memory:
project_receipts. - Series/event waitlist. Admin can configure
tickets.waitlist.enabledandmaxSize;server/utils/tickets.jsreturnswaitlistAvailable: truewhen full;app/components/SeriesPassPurchase.vue:341andEventTicketPurchase.vuehave stubhandleJoinWaitlistthat toasts "Waitlist Coming Soon." No server endpoint, no confirmation email, noevent_waitlistedactivity hook. Either implement end-to-end or hide the button by removing thev-if="availability?.waitlistAvailable"branches inEventSeriesTicketCard.vue:175andEventTicketCard.vue:73. - ASVS Phase 4. File-upload validation pipeline, granular RBAC, credential encryption.
Wave-Slack pilot follow-ups
/api/auth/memberdoesn't returnslackInvited. Dashboard's Slack-coming note is gated onmemberData.slackInvited, which is alwaysundefinedclient-side, so the note shows for every active member regardless of state. Real bug. AddslackInvited(andslackInvitedAt) to the auth/member response. Surfaced by wave-slack §7.2 e2e (skipped pending this fix). Flagged 2026-04-30.- Admin members list row mutation isn't reactive.
markSlackInvitedinapp/pages/admin/members/index.vuedoesObject.assign(member, res.member)on a plain object inside auseFetcharray; Vue doesn't react, so the "Mark as Slack invited" button stays visible until a manual reload. Fix:members.value[i] = { ...members.value[i], ...res.member }orsplice. Detail page uses the right pattern (covered by §6.6). Surfaced by wave-slack §6.2 e2e (skipped pending this fix). Flagged 2026-04-30. - Deprecated
slackInviteStatusfield still serialized. Removed from UI but still onMemberdocuments and the/api/admin/memberspayload. Project it away in the API response and run a one-shot$unsetcleanup. Surfaced by wave-slack §6.7 e2e. Flagged 2026-04-30. - Spec vs shipped-UI mismatch on wave language.
docs/specs/wave-based-slack-onboarding-tests.md§7.5 asserts "no wave/cohort/batch language" in the dashboard note, but the shipped welcome-email and dashboard copy say "monthly onboarding waves." Decide which side wins; update the other. - E2E coverage for
e2e/wave-slack-onboarding.spec.js. 9 of 16 scaffolded tests now passing (admin Slack-invited button + non-trivial dashboard cases). 7 remain skipped pending the bugs above (7.2, 6.2), seeding gaps (7.4 — no dev endpoint to mint members of arbitrary status), Open Questions (7.8, 6.9), or spec-vs-UI conflicts (7.5, 6.7). - Pilot exit decision (~8 weeks post-launch). Either restore
server/_archive/utils/checkSlackJoins.js+ its plugin if polling is needed, or delete the archive permanently. Driven by whether the manual-invite cadence is sustainable post-pilot. slack_invite_failedenum slug cleanup. Detector and alert removed ind15458b, but the slug remains inserver/models/adminAlertDismissal.jsenum so historical dismissal rows continue to validate. Full removal needs a one-shot cleanup of stale dismissal rows in the DB. Roll into a future schema-tidy pass.
Simplify-pass follow-ups (still open)
Items surfaced during the 2026-04-29 /simplify review. The 2026-04-30 small-wins batch shipped 3 items (STATUS_LABELS dedup, ImageUpload focus, signupBridge rename). Remaining:
- Extract
.tint-candle/.tint-emberutility classes. Thecolor-mix(in srgb, var(--candle) 15%, transparent)+ matching border pattern is now inlined asstyle=""in ~9 sites acrossEventSeriesTicketCard.vue,SeriesPassPurchase.vue,NaturalDateInput.vue,ImageUpload.vue. Promote to utility classes inapp/assets/css/main.cssso future tints don't keep multiplying inline styles (and so:hover/:focusvariants are reachable). - Audit
member &&truthy checks in sibling ticket/subscription routes. Commitf66455efixedserver/api/events/[id]/tickets/available.get.js:115to usehasMemberAccess(member). Same anti-pattern likely exists in adjacent routes (tickets/purchase.post.js, subscription endpoints). Guests/suspended/cancelled members would currently look like full members for any feature gated on truthiness alone. - STATUS_LABELS dedup — verify. The 2026-04-30 small-wins batch claimed STATUS_LABELS dedup, but
e2e/admin-members.spec.jsexpansion found an inline copy still atapp/pages/admin/members/index.vue:491and another atapp/pages/member/account.vue:420. Either the previous dedup was partial or a new copy was reintroduced — confirm and finish dedup into a shared constants module. app/pages/admin/members/[id].vuestatus select still hand-written. Commit441a5f5aligned the index page's status<select>toSTATUS_LABELS, but the detail page ([id].vue) still hand-codes raw status options. Refactor to drive from the same constant.
Optional / low-priority
- Welcome-email Slack-timing mention. Currently the welcome email doesn't mention Slack timing — the dashboard carries that note. Could add a one-line "Slack invitation comes in monthly waves — there may be a short wait" if the dashboard turns out not to be enough signal.
E2e infrastructure gaps
Surfaced during the 2026-04-30 e2e expansion. None block a green suite, but each blocks specific coverage from being added.
- Other email routes still send real emails in dev mode. The
ALLOW_DEV_TEST_ENDPOINTSshort-circuit was added toserver/api/admin/pre-registrants/invite.post.js(which callsnew Resend(...)directly), but the five wrapper functions inserver/utils/resend.js(event registration, cancellation, waitlist, series pass, welcome) still dispatch live. Either add the same gate to each wrapper, or refactor the wrappers into a singlesendEmail({ from, to, subject, text, html })helper holding the gate centrally — would also dedupe ~5 near-identical try/catch blocks. - No dev endpoint to seed members of arbitrary status. Wave-slack §7.4 (note hidden for suspended/cancelled/guest) is gated on this.
/api/dev/test-loginonly mints anactiveadmin. A minimal/api/dev/members.postaccepting{ email, status, slackInvited, ... }would unblock many more dashboard-state e2e tests. - SSR
useFetchblockspage.routemocking. Page-level fetches in[slug].vuefiles run during SSR and can't be intercepted client-side. Affects: hidden-event 404 e2e, any test that needs a mocked event payload before client hydration. Either expose a client-side fetch alternative, add a server-side test mock layer, or accept that DB seeding is required for these cases. - Self-cancel block on paid event registrations not e2e-tested. Requires seeding a logged-in member with a paid registration row. Out of scope for this round.
- Visual snapshot for
join — desktopis stale. 12,676px diff (2% of image) from layout drift. Regenerate vianpx playwright test --update-snapshots e2e/visual/pages.spec.jsonce a designer eyeballs the diff. - E2e cross-file races on admin specs. With
fullyParallel: false+workers: 4+retries: 1, ~1 admin CRUD test still fails per full-suite run (rotates betweenadmin-eventsCRUD,boardpage-loads, and wave-slack §6.4). Each passes 100% in isolation. Root cause: tests anchor on "first row" / "any visible button" rather than uniquely-identified data, so they race when other admin specs mutate the shared dev DB. Proper fix is per-test data isolation: each test creates its own scoped record with aDate.now()suffix and queries by that exact identifier. Out of scope for the e2e expansion.
Deeplink memories
project_post_launch_backlog.md— high-level digest of this fileproject_launch_readiness.md— cutover status (NOT YET happened)project_launch_flow_map.md— onboarding flow + Slack wave modelproject_pre_registrants.md— invitation system + pre-reg lifecycleproject_helcim_plan_model.md— cadence-keyed plan modelproject_contribution_amount_redesign.md— arbitrary $ amount + guidance presetsproject_receipts.md— Phase 1 done, Phase 2 pendingproject_email_automation_future.md— Tranzac reference for full system