Skip to content

Plan: community-threads priorities and evidence-led pgflow adoption #710

Open

Description

@jumski

Outcome

Use community-threads to decide whether pgflow removes enough orchestration code, without weakening application behavior or safety. Keep application rollout and pgflow adoption separate: onboarding users and collecting feedback must not wait for a pgflow migration or a new engine roadmap.

This is the ordered coordination plan, not an implementation specification or approval for production changes. No deadline is assigned to pgflow adoption.

Priority and delivery order

Order Deliverable Exit check
1 — current product priority Support use of the existing community-threads behavior and collect real feedback. Keep route-changing Move/Ignore corrections disabled initially. The application team can onboard users without a pgflow migration or correction enablement. Record concrete problems and repeated feedback before selecting further product changes.
2 — next pgflow action Agree one bounded, throwaway application proof and its behavior matrix. A scoped execution issue names the exact application/pgflow revisions, preserved semantics, deterministic checks, and exclusions. The expanded proof proposal below is not yet an approved scope.
3 — evidence Run that proof against one exact pgflow candidate and measure orchestration removed versus adapters and domain guards retained. Runnable evidence covers the selected success, failure, retry, ambiguity, concurrency, and worker-loss cases. Publish an explicit adopt / revise / stop recommendation with known gaps. A failed parity check is a valid result.
4 — conditional fixes Implement only the smallest demonstrated blockers, one delivery at a time; repeat affected proof checks. Each fix links to a failed behavior check or a concrete operational requirement. No broad feature bundle becomes an implicit prerequisite.
5 — adoption/release decision Reconcile the result with #653's exact-candidate validation and release gate. Decide separately whether to propose a production migration. The candidate, package versions, final migration artifact, operational changes, and remaining gaps are explicit. Any release, hosted migration, deployment, or correction enablement needs its own approval.

The application team's deployment preparation remains outside this pgflow issue. Keeping corrections disabled does not cancel or close the application's correction work; it separates implementation/readiness from enablement. Collect feedback for a period before reconsidering product behavior; this does not set a pgflow delivery deadline.

First proof: scope decision, not a migration promise

The earlier Help/Ignore-only spike in supabase-community/community-threads#27 closed without an evaluation result. It is historical input, not evidence that pgflow fits the application.

The proposed stronger first proof is one thin intake-to-delivery slice that checks transactional acceptance, independent Support/Help outcomes, and Support's first recorded attempt before Help, not Support success before Help. Include classified retry/stop/uncertainty and honest terminal recovery. Choose explicitly between that proposal, a deliberately narrower experiment, or broader workflow coverage before implementation.

Retain authoritative business state, exact receipts, exclusive claims, uncertainty, and transition guards in the application. Existing transition queries include old queue effects: do not reuse message IDs against the wrong queue or copy those effects unchanged. Measure the adapter cost rather than hiding it.

Keep feedback/Boost and the planned correction post/activate/delete workflow in the fit matrix. A narrow proof does not certify their migration. Do not run live Slack writes, paid classifiers, hosted repairs, production cutover, or historical replay as part of the proof.

Existing work: completed, conditional, and parked

Private per-step queues already exist in the inspected candidate; #653 still owns downstream evidence and the combined release gate. Neither shared queues nor aliases are prerequisites. Shared concurrency is not provider pacing, cooldown coordination, or proof of safe replay.

Completion checklist

This issue coordinates order and evidence. It does not replace linked implementation specs, approve unfinished design decisions, automatically reopen community-threads#27, or authorize releases or production operations.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions