2.7 KiB
Foldershare handoff
Updated 2026-11-05. TASK-007: Implementation-ready / awaiting Captain validation.
Location and state
Implementation: /home/rob/projects/foldershare/.worktrees/TASK-007, branch task/TASK-007-testtask, base codex / cd6d6b3. Uncommitted; no merge/push/deployment. Primary and TASK-002 worktrees untouched. TASK-002's own handoff remains in its worktree and its acceptance is separate.
Captain action
From /home/rob/projects/foldershare:
./.worktrees/TASK-007/scripts/testtask.sh 002
Choose Firefox. The launcher opens http://127.0.0.1:5503 and prints this session's disposable password for captain (admin), friend, unassigned, disabled. The disabled account must fail login. Confirm admin user-management and folder assignment behavior, then Ctrl-C in the terminal to stop servers and remove session data/snapshot. No live accounts/media are copied. After integration, the shorter command is ./scripts/testtask.sh 002.
Keep TASK-002 stable during testing; rerun after edits. Snapshots are exact safe-file copies under TASK-007's ignored .test-worktrees/task-002, not Git branches or editing sources. Hash manifest and session state are in a private engine temporary directory. Existing snapshots are never overwritten. See scripts/README.md for prerequisites, exclusions, ports, Node/Python overrides and abrupt-exit recovery.
Validation
python3 -m unittest discover -s scripts/tests -v: six pass.bash -n scripts/testtask.sh .roborto/testtask-hook .roborto/testtask.conf: pass.python3 -m py_compile scripts/testtask_adapter.pyandgit diff --check: pass.- Engine runs against TASK-002: 75-file snapshot hash verification; real Flask/Vite readiness; frontend 200, direct/proxied protected API 401; valid fixture logins and disabled rejection; actual headless Firefox startup; automatic cleanup. Repeated sessions succeed. Occupied-port test confirms safe refusal without killing the listener.
- Bounded diff/source review covered shell entry/config, source discovery/copy, exclusions, DB isolation, foreground process ownership, runtime credentials and cleanup. No application source edits.
Limits
Graphical user interaction awaits Captain. Existing local dependencies reused; no installation/container/clean-environment verification. Candidate must support isolated database configuration (TASK-002); TASK-007's baseline application itself lacks that prerequisite until integration. Fresh fixture tokens enable existing login for testing; this does not fix or certify application token issuance. Ordinary-user browse UI and secure downloads remain TASK-003/TASK-004.
Accept TASK-007 only after manual review. Merge/release remain Captain authority; do not start another task automatically.