80 lines
2.0 KiB
Markdown
80 lines
2.0 KiB
Markdown
# MVP Verification
|
|
|
|
## Backend
|
|
|
|
Run:
|
|
|
|
```powershell
|
|
Set-Location backend
|
|
go test ./... -v
|
|
```
|
|
|
|
Expected: all backend tests pass.
|
|
|
|
## PostgreSQL Integration
|
|
|
|
Use this test database URL when live PostgreSQL verification is required:
|
|
|
|
```text
|
|
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:
|
|
|
|
```powershell
|
|
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:
|
|
|
|
```powershell
|
|
Set-Location apps/web
|
|
npm test -- --run
|
|
npm run build
|
|
npx playwright test
|
|
```
|
|
|
|
Expected: component tests, production build, and smoke test pass.
|
|
|
|
## Desktop
|
|
|
|
Run:
|
|
|
|
```powershell
|
|
Set-Location apps/web
|
|
npm run build
|
|
Set-Location ../desktop
|
|
npm run build
|
|
```
|
|
|
|
Expected: Tauri desktop bundle builds when Rust/Cargo is installed and the stable Rust toolchain is complete.
|
|
|
|
Current machine status:
|
|
- `rustup` was installed through winget.
|
|
- The stable toolchain install repeatedly timed out and currently reports `Missing manifest in toolchain 'stable-x86_64-pc-windows-msvc'`.
|
|
- Desktop verification remains blocked until `rustup toolchain install stable-x86_64-pc-windows-msvc --profile minimal --force` completes successfully.
|
|
|
|
## 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.
|