Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
Library, file entry paths and search
Verify that users can organize and find the same authorized Document across product surfaces.
Use the shared execution and evidence rules.
The current Workspace route is /t/{tenantId}/library.
Create, import and organize
Reuse: room-document-*.spec.ts covers real Document editing, uploads and previews; Library unit tests cover Workspace actions.
The real Document baseline proves direct-link editing and reopening, not every Library action.
Journey: Open Workspace and create a Markdown page in My pages. Import a known file, open it, rename it, and reopen it through the tree and its existing link. My pages Import uploads a versioned file, including Markdown, rather than creating an editable native page. On Workspace home, New file directly creates a native Markdown page; in the Document sidebar, choose New file → md. HTML import is supported as a file with an isolated preview, not as a BlockNote body. When folder or deletion behavior changes, exercise the current supported action and its owning contract. Do not infer a storage deletion from removing a placement or Room binding.
An apparently empty folder can retain a trashed Document's placement.
The current lifecycle deliberately rejects deleting that folder with
DOCUMENT_FOLDER_NOT_EMPTY; restoration keeps the Document's location.
Reuse TestUnifiedDocumentLifecycleTrashesAndRestoresBindings for this contract.
Verify the rejected deletion leaves the folder intact. Record the misleading
empty-state or missing recovery UI separately from backend contract violations.
For fixture cleanup only, use the supported Restore API, move the restored
Document to the root, delete the now-empty folder, then trash the owned Document.
Do not change the rejection assertion merely to make this recipe pass.
Pass: The created/imported content is readable and persists across a fresh session. Rename updates the appropriate views while retaining the same Document identity. Ownership, placement and access remain consistent with the current Document contract. A failed import or rename reports the failure without presenting an unsaved object as complete.
For Duplicate, require a new Document ID and the same source content after a fresh read. Delete that copy through the UI, confirm its read is rejected, and confirm the original remains readable. Verify Restore through the supported API when no UI entry is exposed, then read the restored copy in a fresh browser context. Label the API restoration separately from UI actions. Delete only this recipe's owned copies during cleanup; do not infer that Trash is immediate physical erasure.
Evidence: Keep the source filename/content, Document ID, visible tree, resulting metadata and fresh read.
Current UI hints include Create in My pages on the Workspace home and Create in Owned by Me in the Document sidebar.
Other hints include Import, Actions for <filename> and More Document actions.
Verify current labels before driving a refactored build.
Cross-entry reading and previews
Journey: Attach an authorized Document to a Room and open it from the message, Documents panel and Workspace. Use representative supported text, image and Office files when those preview paths change. For download-only formats, download and inspect the expected bytes.
Pass: Entry paths resolve the intended Document and content under their actual permissions. A visible breadcrumb is not proof of preview support. ZIP and unknown binaries can remain download-only when that is the supported behavior. Loading or failure states remain distinguishable from an empty file.
Evidence: Record each exercised entry, its Document identity, the visible body or downloaded file, and a fresh-session read. Use Documents for editing, collaboration and actual Agent-produced file delivery.
Search and return to context
Reuse: apps/web/src/features/search/global-search-dialog.test.tsx covers the search UI and its supported targets.
Journey: Create an authorized Room message and Document with distinct unique markers. Search through the product, open each result, and confirm the intended context and content. For a Thread result, use the Room recipe. After trashing the Document, repeat its search. For Room messages, test a principal without Room access separately; losing Room access does not withdraw an active Agent’s Space-wide Document access.
Pass: Supported searches find the intended saved objects and open usable destinations. A result from another fixture object must not substitute for the new marker. Search does not disclose bodies or navigation targets beyond current visibility rules. Substring matching does not promise semantic or fuzzy search.
For a denial comparison, inspect result identities and types. An authorized Room with the same marker may still appear while the protected Message or Document stays absent. Do not require the entire Search dialog to be empty. Pair a positive owner read with a separate-session negative read of the exact object.
Evidence: Keep the query, result identities, opened body and the authorized/denied comparison when exercised.
Meetings and personal visibility
Journey: Open an authorized archived meeting with distinct participants and a unique transcript marker.
Inspect its recording and transcript, attribution and source Document identity.
Delete it from the current Human's Meetings, then reopen the list and calendar.
Use another authorized Human to check the same meeting.
For a fresh recording, summary.md appears only after the meeting's Wiki refresh publishes. The meeting page has no refresh action.
Pass: The meeting disappears from only the first Human's meeting views. The other Human still sees it; the underlying Documents and published summary remain readable under their existing permissions. Changing personal visibility does not delete the shared meeting or another user's archive.
Evidence: Keep both Human identities, Capture/Document IDs, deletion confirmation and fresh reads.
Reuse apps/web/src/features/memory/meeting-page.test.tsx and the current meeting integration tests.
The UI action is owned by apps/web/src/features/memory/hide-meeting-dialog.tsx.
Seeded archived media proves browsing and hiding, not real recording or transcription.
Sources
Organization and representative formats
Use a disposable folder tree and uniquely marked files to create, rename, move, copy, share and delete through available UI controls. Check the same Document from My Documents, Shared with me, Room and Task bindings. Distinguish a new copy from another binding to the same Document; compare IDs and fresh content. Test a denied destination and a deleted source; failed operations must not leave an apparent success or an orphaned visible entry.
Inspect representative PDF, DOCX, XLSX, PPTX, image, text, Markdown, HTML and Mermaid previews where supported. Compare rendered content with known source facts, including a table/image and a non-ASCII filename. An unsupported format needs an honest download/unavailable state, not a blank successful preview. HTML/Mermaid content must not gain parent-page scripting or private API access. Use existing preview fixtures for deterministic cases and retain one real user open/download per relevant format. Record unavailable viewers, uncalculated spreadsheet formulas and unsupported rendering explicitly.
Meeting archive separation
Run Meetings and personal visibility with disposable Alice and Bob. A seeded archive validates browsing and personal visibility only; actual recording, transcription and recovery use the Voice recipe.