AI LEGAL · VERSION 1.16.3
Dashboard
What gets processed
PDFs, text, HTML, RTF, DOCX/PPTX/XLSX text layers, PST/MBOX/EML/EMLX email sources, Maildir-style ZIP backups, images, audio/video, and unknown files. Live email can also be imported read-only through IMAP or provider APIs. Unsupported/media files are still cataloged rather than discarded.
Conservative triage
AI Legal never automatically deletes a photo or document merely because it looks irrelevant. It tags system junk, exact duplicates, unsupported binaries, OCR-needed images, and transcription-needed media so you can review them later.
Matters / Cases
Bulk / Backup Import
Upload ordinary files, an entire folder, or ZIP backups. Raw backup intake stores and deduplicates first; processing can be run later after triage.
Recent import batches
Email Sources
Universal mailbox intake: upload PST/MBOX/EML/EMLX through Bulk Import, or connect a live mailbox. Live imports are read-only and preserve messages as source-linked EML records.
Connect an IMAP mailbox
OAuth connections
For commercial Gmail and Microsoft 365/Outlook.com connections, OAuth is preferred. These buttons become active after the corresponding OAuth application credentials are configured on AI Legal.
Supported intake families
Mailbox files: PST, MBOX/MBX, EML, EMLX, and Maildir-style messages inside ZIP backups.
Live IMAP: Yahoo, AOL, iCloud, Gmail app-password mode, and standards-based private/business mail servers.
Provider APIs: Gmail API and Microsoft Graph through OAuth when commercial app credentials are configured.
Attachments: extracted automatically, deduplicated, and routed to normal text extraction/OCR only when needed.
AI Legal uses read-only mailbox access. The importer does not delete, move, expunge, or send messages.
Connected mailboxes
Evidence Catalog
Browse, securely preview, inspect integrity/status, and add exact pages to a working evidence packet.
Trial Binder / Exhibit Reconciliation
Process 1 — Preserve. Physical trial scans remain authoritative while AI Legal links cleaner native Word/PDF copies as traceable supporting sources. Verified relationships feed Process 2 — Understand.
Mission / Backlog
The permanent carry-forward list. This screen derives what still needs work from the live repository, so deferred work is not dependent on memory or chat notes.
PERMANENT NORTH STAR
Preserve → Understand → Synthesize → Test
Original evidence remains authoritative. Automation creates traceable derivative work and relationships; it does not silently replace source evidence.
What still needs attention
Automatic carry-forward
Recent adaptive-governor decisions
Processing Queue
Jobs checkpoint their progress and resume after application restarts.
Level-1.5 Production OCR
RapidOCR at 150 DPI with 180/300 DPI rescue, two-page structure reuse, concurrency 4, adaptive CPU scheduling, and an 85% RAM safety pause. Historical OCR is preserved; promotion remains separate.
Ready to inventory 19,442 OCR-needed pages, including 232 native images.
Android Rescue OCR
Use an Android phone as a free secondary OCR worker for pages the Hostinger OCR engine marked low-confidence.
Rescue Devices
The token is shown once and can only access the rescue OCR queue. It is not a Supabase or Legal Vault secret.
Data Health / System Check
Repository integrity, OCR/search coverage, safe cleanup candidates, and repair tools in one place.
Evidence health
Maintenance
These actions never delete a stored original. Orphan cleanup is limited to empty records with no Vault object, hash, batch, pages, jobs, or occurrences.
Actual failures requiring attention
Search Evidence
Search extracted content while preserving page/CP/source locators.
Clients / Intake
Commercial-ready intake foundation: organize clients and associate them with matters before importing files or prior AI context.
Attorney / Counsel Access
Grant future counsel secure, revocable, read-only access to one matter without handing over your evidence repository. You keep the master switch and can revoke access at any time.
Master Attorney Access Switch
When OFF, every counsel portal grant and counsel-scoped AI key stops working immediately. Your owner account and your own AI keys are unaffected.
Create Matter Access Grant
Full original-file download is disabled in counsel mode. AI Bridge source-page PDFs are optional and must be explicitly enabled.
How this works
The attorney gets a secure counsel portal link for the single matter you choose. The token is stored only as a cryptographic hash and is shown to you once.
For compatible legal or AI software, you can also create a separate read-only API/MCP key tied to the same grant. That key can see only the granted matter and automatically stops working if you revoke the grant or turn off the master switch.
Accessing information remotely still transmits the information needed to display or analyze it. What stays under your control is the master repository: no bulk handoff or transfer of ownership is required.
The workspace/client foundation remains in the database for a future multi-firm product. Your current installation stays owner-controlled unless you deliberately expand it later.
Active / Previous Grants
Revoke a grant to shut down its portal and any AI keys linked to it.Recent Counsel Activity
Case Context / Prior AI Handoff
Import a client’s or attorney’s existing roadmap without confusing it with evidence. Then reconcile it against the processed source record.
1. Generate Context Request
2. Import Response
Paste the JSON response from the AI, or upload a JSON/Markdown/text file. Context remains labeled as roadmap information until evidence corroborates it.
Context Reconciliation
Case Intelligence Layers 2–4
Versioned, source-linked analysis built on top of the OCR corpus. New evidence makes the prior intelligence stale until an incremental update and global reconciliation are completed.
AI LEGAL FOUNDATION v1
Mission & Method
AI Legal exists to preserve, organize, process, connect, and analyze a complete evidentiary record so people and AI systems can understand what happened, why it matters, and what the underlying evidence actually supports. Original evidence remains the source of truth, and AI analysis must test competing explanations rather than force a predetermined conclusion.
North star: Preserve → Understand → Synthesize → Test. New features and conclusions must stay traceable to this method.
Layer 2 — Understanding
Extracts document summaries, people/entities, material statements, dates and timeline events with page-level provenance.
—Layer 3 — Case Synthesis
Builds the chronology, procedural history, issue map, positions, corroboration, contrary evidence and unresolved questions.
—Layer 4 — Evidence Testing
Tests propositions and apparent inconsistencies against supporting and contrary evidence, alternatives, gaps and materiality.
—Run / Rebuild
Use Incremental Update after adding evidence. It analyzes new/changed page hashes first, then Layers 3–4 globally reconcile the story before export. Full Rebuild rereads every processed source page.
When you export, the server will build the ZIP in the background and this line will show progress until the download starts.
LAYER 4B — SYSTEM IMPROVEMENT
Self-Improvement & Resource Optimization
Measures all four layers, CPU/RAM/throughput, database footprint and Vault tiering. AI Legal can continuously diagnose and benchmark improvements while protected changes remain approval-gated.
Protected core: loading…
Self-improvement history will show whether each version is actually getting better.
Improvement Proposals
0 openAnalysis Revisions
Every handoff can be tied back to the exact corpus revision and analysis template that produced it.AI Bridge / Evidence Packets
Use AI Legal with ChatGPT, Claude, Gemini, Copilot, Grok, local models, or any AI that can exchange normal files/text — no direct connector required.
1. Give the AI the instructions
Either copy the instructions into the AI conversation or download the complete instruction pack and upload it there.
2. Bring the AI request back here
Paste the request JSON/text below, or upload the .json/.txt/.md request file the AI created.
3. Run the private evidence query
AI Legal searches the processed dataset. The outside AI does not receive your entire repository.
4. Download the response package
The ZIP can contain research results, JSON, citations, timeline data, source manifest, the actual extracted source PDF pages, and a combined evidence packet PDF. Upload the ZIP back into the same AI chat.
Recent AI Bridge requests
AI Access / MCP
Create revocable read-only credentials for external AI systems. The evidence database remains independent of the AI vendor.
Connection endpoints
REST API: Loading…
MCP: Loading…
Authentication uses Authorization: Bearer ailive_…. External access is read-only.
Active OCR Archives
Copy older OCR runs into directly accessible Vault files and verify them before any live rows are removed.
Safety order: Copy → verify → search test → purge duplicate live copy. Original evidence and promoted canonical OCR are protected.
Current OCR runs: “Move Heavy Payloads Now” preserves searchable OCR and progress in Supabase while moving verified bulky processing details to the Vault.