Files
agent/docs/mvp-verification.md

1.7 KiB

MVP Verification

Backend

Run:

Set-Location backend
go test ./... -v

Expected: all backend tests pass.

PostgreSQL Integration

Use this test database URL when live PostgreSQL verification is required:

postgres://postgres:Weidong2023~!@8.137.107.29:19432/agent_dev?sslmode=disable

Do not hardcode this value into application source files. Pass it through DATABASE_URL.

Run:

Set-Location backend
$env:DATABASE_URL='postgres://postgres:Weidong2023~!@8.137.107.29:19432/agent_dev?sslmode=disable'
go test -tags integration ./internal/db -run TestPostgresPing -v

Expected: TestPostgresPing passes.

Web

The frontend is Svelte-only.

Run:

Set-Location apps/web
npm test -- --run
npm run build
npx playwright test

Expected: component tests, production build, and smoke test pass.

Desktop

Run:

Set-Location apps/web
npm run build
Set-Location ../desktop
npm run build

Expected: Tauri desktop bundle builds when Rust/Cargo is installed. On this machine, verification currently fails before compilation because cargo is not available in PATH.

Manual MVP Flow

  1. Open the client and enter the server IP or domain on the login screen.
  2. Create or log in as a private-deployment user.
  3. Create a project.
  4. Add text to project inbox.
  5. Click Analyze/Organize.
  6. Confirm one task and one note from the suggestion list.
  7. Assign the task to another system user.
  8. Explicitly share one note with the task.
  9. Search for text from the note body in global search.
  10. Open an AI session under the project and reference the note.
  11. Use Tauri quick capture to send text into the active project inbox.