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-4149To Do

Pending-plans route integration test creates states the plan service now refuses

Reproduction

On current origin/main (including 7ce6d7b38, MOTIR-4106), run:

pnpm exec vitest run --config vitest.config.ts tests/integration/ai/pendingPlansRoute.test.ts

It deterministically fails 6 of 16 tests.

Evidence

The helper planIn() in tests/integration/ai/pendingPlansRoute.test.ts creates a plan, then calls markPlanned, approvePlan, or declinePlan without establishing the proposal state those transitions now require. The failures include PlanNotInExpectedStatusError: Plan … is declined; this action requires it to be planned and pending reads that omit expected generated/planned rows. The same failures occurred in CI run 33624829060, Vitest shard 5/12, and locally after merging origin/main into subtask/MOTIR-4138-deploy-freshness-report.

Where seen

Found while completing MOTIR-4138; the failing test and its pending-plan surface are unrelated to MOTIR-4138’s deploy-freshness workflow change.