b5dde2aad9
Fixes applied this session: - frontend/src/api/client.js: noRefreshPaths exclusion prevents auth 401s from triggering session-expired error on login/register/refresh - frontend/src/router/index.js: async beforeEach with silent refresh() restores session from httpOnly cookie on page reload UAT state: 2 pass (cold-start, admin block), 1 open (XHR upload network error), 7 pending. MinIO PUT fails in browser — needs console output to diagnose. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
64 lines
3.4 KiB
JSON
64 lines
3.4 KiB
JSON
{
|
|
"version": "1.0",
|
|
"timestamp": "2026-05-24T19:25:23Z",
|
|
"phase": "3",
|
|
"phase_name": "03-document-migration-multi-user-isolation",
|
|
"phase_dir": ".planning/phases/03-document-migration-multi-user-isolation",
|
|
"plan": "UAT",
|
|
"task": "Test-2-of-10",
|
|
"total_tasks": 10,
|
|
"status": "paused",
|
|
"completed_tasks": [
|
|
{"id": "UAT-1", "name": "Cold Start Smoke Test", "status": "pass"},
|
|
{"id": "UAT-7", "name": "Admin blocked from document content", "status": "pass"},
|
|
{"id": "BUG-1", "name": "Fix login Session expired bug (api/client.js noRefreshPaths)", "status": "done", "commit": "uncommitted"},
|
|
{"id": "BUG-2", "name": "Fix re-login on page reload (router/index.js async beforeEach)", "status": "done", "commit": "uncommitted"}
|
|
],
|
|
"remaining_tasks": [
|
|
{"id": "DIAG-1", "name": "Get browser console output for XHR PUT MinIO failure", "status": "blocked_human_action"},
|
|
{"id": "BUG-3", "name": "Fix XHR PUT to MinIO network error", "status": "not_started"},
|
|
{"id": "UAT-2", "name": "Upload with XHR progress bar", "status": "issue_open"},
|
|
{"id": "UAT-3", "name": "QuotaBar displays in sidebar", "status": "pending"},
|
|
{"id": "UAT-4", "name": "Quota rejection error block", "status": "pending"},
|
|
{"id": "UAT-5", "name": "Quota decrements on document delete", "status": "pending"},
|
|
{"id": "UAT-6", "name": "Cross-user document isolation", "status": "pending"},
|
|
{"id": "UAT-8", "name": "Topics namespace-scoped", "status": "pending"},
|
|
{"id": "UAT-9", "name": "Settings page static placeholder", "status": "pending"},
|
|
{"id": "UAT-10", "name": "AI classification uses per-user provider", "status": "pending"}
|
|
],
|
|
"blockers": [
|
|
{
|
|
"description": "XHR PUT to MinIO fails in browser — 'Network Problem' error on upload",
|
|
"type": "technical",
|
|
"workaround": "Need browser DevTools console output (F12 → Console + Network tab during upload attempt) to confirm if CORS, connectivity, or presigned URL issue"
|
|
}
|
|
],
|
|
"human_actions_pending": [
|
|
{
|
|
"action": "Open browser DevTools, attempt upload, paste Console + Network tab errors",
|
|
"context": "XHR PUT to MinIO fails with network error. Need actual error to diagnose: CORS preflight failure, MinIO not at localhost:9000, or Content-Type mismatch in presigned URL signature.",
|
|
"blocking": true
|
|
}
|
|
],
|
|
"decisions": [
|
|
{
|
|
"decision": "noRefreshPaths exclusion in api/client.js request()",
|
|
"rationale": "Auth endpoints returning 401 for bad credentials (login, register, refresh) must not trigger the auto-refresh-on-401 logic",
|
|
"phase": "3"
|
|
},
|
|
{
|
|
"decision": "router.beforeEach made async with silent refresh attempt",
|
|
"rationale": "Standard SPA pattern for httpOnly refresh token cookies — access token is memory-only and gone on reload; refresh cookie persists",
|
|
"phase": "3"
|
|
}
|
|
],
|
|
"uncommitted_files": [
|
|
"frontend/src/api/client.js",
|
|
"frontend/src/router/index.js",
|
|
".planning/phases/03-document-migration-multi-user-isolation/03-UAT.md",
|
|
".planning/STATE.md"
|
|
],
|
|
"next_action": "Ask user for browser DevTools console output during upload attempt to diagnose MinIO XHR PUT failure",
|
|
"context_notes": "UAT for Phase 3 is in progress. 2 of 10 tests passed, 1 issue open (upload XHR), 7 pending. Two bugs fixed this session (login error message, session restore on reload). The upload XHR failure is the main blocker — once fixed, most remaining tests should pass quickly."
|
|
}
|