Skip to content

moooon

Motir

Vibe your whole project. Bring an idea — Motir's three AI layers plan it, track it, and ship it, end to end. You're looking at Motir, built in Motir.

  • Vibe Project
  • Open Source
  • AI Agent
  • AI Loop
1
requests
0
upvotes
145
planned
1,361
shipped

Motir · Work items

MOTIR-356Done

6.4.7 Seed — enroll the moooon team in the `motir` project (close the project-gating loop)

Estimate: 12m · Depends on: 6.4.2, 6.4.4

Now that ProjectMembership exists, update pnpm db:seed to enroll the team in the motir project — the project-gating half of the original "add the team to the workspace AND the project" ask (the workspace half already shipped). Add each seed user as a ProjectMembership (zhuyue@motir.co = project admin, the rest = member) and set the motir project’s accessLevel (keep open so the demo tenant is browsable, OR private to showcase gating — pick one and document it; default open for a friendly demo). Idempotent with the existing clear/reseed.

Acceptance criteria

  • pnpm db:seed creates a ProjectMembership for every seed user on the motir project (zhuyue = admin, others = member) and sets the project access level explicitly; re-running stays idempotent.
  • A note in seed.ts (and the MOTIR.md Plan-seed section) records the chosen access level + the per-user project roles.

Context refs

  • scripts/plan-seed/seed.ts — the team/workspace seeding to extend (the per-item reporter/assignee/priority work already landed); Story 6.4.2/6.4.4 (the model + service)