Migration & provenanceParité E2E

Migration — Parité E2E

État de la restauration du harnais Playwright contre l’Orbit canonique.

The Playwright harness and the still-current Orbit flows are being restored from the frozen source baseline.

Restored unchanged in intent

  • existing auth / phase / Studio specs already present in this repository
  • step6-generations.spec.ts
  • step7-onboarding.spec.ts
  • shared support.ts
  • development and production Playwright configs

Rewritten against canonical Orbit

  • step8-brain-files.spec.ts (the removed /studio/<product>/brain branch panel) is replaced by brain.spec.ts: open sign-up lands on the empty Brain, a site is read live (its nodes appear one by one as each Memory is persisted; nothing skips the spawn), a Memory written through the REST API or the database while the page is open appears without a reload, the pillar feeds, memory read/edit/delete, files, a connected source, the activation paywall (server-driven: a new workspace holds 0 CU, and a signed Stripe event delivered to the real webhook activates it), the capacity paywall (driven by Workspace.brainCapacityCu, only once active), the context rings that fill, /billing (one Orbit plan, +60 CU steps, cancellation keeps the Memories), the Orbit overview and « Nouvel espace », and the smallest desktop viewport.
  • step9-team-surfaces.spec.ts uses the canonical /academy; its Guidelines rule is a Memory of a Space bound to the project (BrainSpace, SpaceBinding) instead of a BrainEntry.
  • step7-onboarding.spec.ts: a code lands on /brain (the empty Brain is a newcomer's onboarding); an invited member walks /onboarding explicitly; adding a project reads nothing and creates no Space.
  • Nobody is unlimited (ADR 0017): support.ts#fundMember allocates credits to a member (the founder included) like the allocation form does; phase2.spec.ts grants the workspace its monthly Studio credits.
  • A code lands on the Brain (the default from): specs that need the studio navigate to it.