Skip to content

Recover a live or suspended back campaign whose receiving account became unusable #92

Closed

Description

@JOY

Goal

Found by #85 (DOS/DOS.Me#1549). Since #85 a back campaign is resumed (suspended -> live) or un-suspended (suspended -> approved) only with a usable receiving account. A live or suspended back campaign whose account stops being usable (bank closed it, fraud check, legal name change) has no recovery: the #55 finance-approved swap is give-only, a suspended campaign neither binds nor releases an account, and it is never sent back for changes. Today it goes on only if its account is usable again; otherwise a moderator cancels it, which cancels every pledge.

Cases:

  • A back campaign suspended before its start (never live, no pledge) with a permanently disabled account: cancel is the only exit, though it could be repaired.
  • A back campaign suspended across its end that reached its goal: if its account cannot be re-enabled, cancel kills a successful campaign.
  • A live back campaign whose account becomes unusable: backers keep pledging, and if it succeeds they cannot pay (pledge_payment returns no account).

Requirements (needs a PO decision first)

Acceptance

  • pgTAP for each allowed path and the refusals; app tests.

Follow-up of #85.

Activity

  1. JOY commented on Nov 3, 2026

    @JOY
    ContributorAuthor

    PO decision: extend #55's finance-approved account swap to back campaigns (suspended and live, and succeeded with payments still due), with the same atomic binding switch and booking-time attribution; pledges with payment_due get a notice with the new payment details. Until then, staff can only cancel.

  2. added
    po:agyOwned by Antigravity PO (mutual-exclusion parallel PO label)
    on Nov 22, 2026
  3. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    claim: executor=Antigravity session=54e8b5fd-fa59-4243-8f6f-b05985912fba scope="DOS/DOS.Me + DOS/Give #92 extend #55 account swap to back campaigns + payment_due pledge notices" branch=antigravity/give-92-back-account-swap target=2026-11-23

  4. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    checkpoint: Phase 1 DB PR opened at https://github.com/DOS/DOS.Me/pull/1873 (head 3b5d07315, migration 20261130140000_give_back_campaign_account_swap.sql, 65 pgTAP tests). Required CI checks and fresh-context money-domain security review running.

  5. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    checkpoint: Phase 1 DB PR https://github.com/DOS/DOS.Me/pull/1873 ready for PO money-domain security review & acceptance at head SHA 5014b62b4e71f0ace055ba4f594537960fc16bd9. All 4 required CI checks pass (Give pgTAP tests (dev) 51/51 suites including 66/66 new tests, Supabase migration replay (dev), Repository integrity, Validate pnpm lockfile), Give role lock run-time check passes, dos[bot] APPROVED on final head SHA, all 3 Gemini threads fixed and replied, and fresh-context independent money-domain review returned CLEAN_PASS on 5014b62b4e71f0ace055ba4f594537960fc16bd9. Holding merge pending PO acceptance.

  6. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    PO acceptance: merge at 5014b62b4e71f0ace055ba4f594537960fc16bd9 (DOS/DOS.Me#1873 -> dev)

  7. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    checkpoint: Phase 1 DB PR DOS/DOS.Me#1873 squash-merged into dev (19b18614f820fce9e99a4920bef3ca3eabb1bbd6), Supabase Preview (Beta) is completed / success, DOS.Me worktree cleaned up. Proceeding to Phase 2 (DOS/Give app PR on antigravity/give-92-back-account-swap).

  8. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    checkpoint: executor=Antigravity session=54e8b5fd-fa59-4243-8f6f-b05985912fba pr=#310 head=804578288ef922dca0c4195fda0cee415831654d status="Phase 2 DOS/Give app PR #310 opened targeting dev; local format:check, lint, typecheck, test (181/181, 2675 tests), and build green; awaiting CI and independent security review"

  9. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    checkpoint: executor=Antigravity session=54e8b5fd-fa59-4243-8f6f-b05985912fba status="Both Phase 1 (DOS/DOS.Me#1873, dev merge 19b18614f820fce9e99a4920bef3ca3eabb1bbd6, Supabase Preview green) and Phase 2 (#310, dev merge 581915e, Vercel Beta green) are merged and live on Beta; keeping #92 open awaiting Production promotion."

    handoff: executor=Antigravity session=54e8b5fd-fa59-4243-8f6f-b05985912fba to=83b36fa6-8c08-49d6-aeec-63bab02a5e52 reason="Phase 1 (DOS/DOS.Me#1873, 19b18614) and Phase 2 (#310, 581915e) merged into dev and verified green on Beta; handing off to PO for Production promotion."

  10. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    claim: session=83b36fa6-8c08-49d6-aeec-63bab02a5e52 agent=antigravity worktree=none branch=dev status=waiting
    checkpoint: Phase 1 (DOS/DOS.Me#1873, commit 19b18614, migration 20261130140000_give_back_campaign_account_swap.sql, Supabase Preview green) and Phase 2 (#310, commit 581915e, Vercel Beta https://beta.give.vn green) are both merged on dev and verified on Beta. Keeping #92 open under PO waiting claim pending owner approval for Wave 2 Production promotion (DOS/DOS.Me main + DOS/Give dev -> main).

  11. JOY commented on Nov 22, 2026

    @JOY
    ContributorAuthor

    done: session=83b36fa6-8c08-49d6-aeec-63bab02a5e52 agent=antigravity
    Promoted to Production (2026-11-22):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    line:campaignsProduct line: campaignspo:agyOwned by Antigravity PO (mutual-exclusion parallel PO label)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions