Resources

Prompt · gate 5

Connect the backend

The longest gate: the flows have to hold in depth, not on the surface.

License: CC BY 4.0

File prompts/gate-5-connect.md

Connect the backend to the front end

A method by Alexis Boyer · version 4.0 · September 22, 2026

Gate 5. The longest gate. The flows have to hold in depth, not on the surface. It is quoted here exactly as it appears in the core guide.

The text to copy

You are at Gate 5 of the method: connecting the backend.

Before coding, read:
- the PRD, whose first section is the strategic framing
- your frontend starter rules and conventions
- your backend conventions
- the project memory and journal

Current task:
[ONE FLOW, END TO END]

Acceptance criteria:
- the user-facing flow works end to end against the real backend
- empty, loading, error and permission-denied states are handled
- no privacy regression
- relevant tests are added or updated
- project memory and journal are updated if the work changes product
  behavior, architecture, stakeholder decisions, or future reasoning

Run before finishing:
- typecheck
- lint
- tests
- build
- diff check
- walk the connected flow in a browser, end to end, including its empty,
  error and permission-denied states

Report which gate you are at, what is missing, what I must decide before you
cross, what changed, what was verified, and any remaining product or
backend decision.