Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,215 +13,98 @@ short_description: 'FOIA DECLASSIFIED DOCUMENTS SEARCH '
|
|
| 13 |
|
| 14 |
# ποΈ Federal FOIA Intelligence Search
|
| 15 |
|
| 16 |
-
**Public FOIA Electronic Reading Rooms
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
This application
|
| 21 |
-
All results
|
| 22 |
|
| 23 |
---
|
| 24 |
|
| 25 |
-
##
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
**
|
| 31 |
-
- CIA β FOIA Electronic Reading Room
|
| 32 |
-
- FBI β The Vault
|
| 33 |
-
- DOJ β FOIA Library
|
| 34 |
-
- DHS β FOIA Reading Room
|
| 35 |
-
- State Department β FOIA Search
|
| 36 |
-
- GSA β FOIA Library
|
| 37 |
-
- NSA β FOIA Reading Room
|
| 38 |
-
|
| 39 |
-
All results link directly to official government sources.
|
| 40 |
|
| 41 |
---
|
| 42 |
|
| 43 |
-
|
| 44 |
-
Optional **non-exportable indicators** for agencies where automated access may be restricted or ambiguous.
|
| 45 |
-
|
| 46 |
-
- DIA
|
| 47 |
-
- NGA
|
| 48 |
-
- NRO
|
| 49 |
-
- TEN-CAP
|
| 50 |
-
- AATIP
|
| 51 |
-
- SAP / Special Activities
|
| 52 |
|
| 53 |
-
**
|
| 54 |
-
-
|
| 55 |
-
-
|
| 56 |
-
-
|
| 57 |
-
-
|
| 58 |
-
|
| 59 |
-
This separation is a **deliberate compliance safeguard**.
|
| 60 |
|
| 61 |
---
|
| 62 |
|
| 63 |
-
|
| 64 |
-
For results that link directly to `.pdf` files:
|
| 65 |
-
|
| 66 |
-
- Inline iframe preview (HF-safe)
|
| 67 |
-
- Action buttons:
|
| 68 |
-
- **View**
|
| 69 |
-
- **Download**
|
| 70 |
-
- **Share** (device-native share API if supported)
|
| 71 |
-
- **Ask AI** (safe placeholder β no ingestion)
|
| 72 |
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
---
|
| 76 |
|
| 77 |
-
|
| 78 |
-
Generates a ZIP package for editorial or investigative workflows.
|
| 79 |
|
| 80 |
-
**
|
| 81 |
-
- `README.txt` β scope & disclaimer
|
| 82 |
-
- `citations.txt` β Bluebook-ready citations
|
| 83 |
-
- `links.csv` β agency, title, URL, timestamp
|
| 84 |
-
- `pdf_links.txt` β direct PDF URLs (no files)
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
### π Public Shareable Result Pages
|
| 93 |
-
Generate static, shareable result summaries containing:
|
| 94 |
-
- Agency + title
|
| 95 |
-
- Direct source links
|
| 96 |
-
- Bluebook citations
|
| 97 |
-
- Citation hash for integrity verification
|
| 98 |
|
| 99 |
---
|
| 100 |
|
| 101 |
-
|
| 102 |
-
Each LIVE result includes:
|
| 103 |
-
- SHA-256 citation hash
|
| 104 |
-
- Bluebook citation
|
| 105 |
-
- Retrieval timestamp
|
| 106 |
|
| 107 |
-
|
| 108 |
-
-
|
| 109 |
-
-
|
| 110 |
-
-
|
|
|
|
| 111 |
|
| 112 |
---
|
| 113 |
|
| 114 |
-
|
| 115 |
-
- FAISS + SentenceTransformers (optional)
|
| 116 |
-
- Metadata embeddings only
|
| 117 |
-
- Disabled by default
|
| 118 |
-
- Auto-disabled if dependencies unavailable
|
| 119 |
|
| 120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
-
|
| 123 |
-
-
|
| 124 |
-
-
|
| 125 |
|
| 126 |
---
|
| 127 |
|
| 128 |
-
|
| 129 |
-
Generate a fillable FOIA request PDF using:
|
| 130 |
-
- Requester name
|
| 131 |
-
- Description of records
|
| 132 |
-
- Agencies surfaced in LIVE results
|
| 133 |
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
## π§± What This App Does NOT Do
|
| 137 |
-
|
| 138 |
-
β No scraping
|
| 139 |
-
β No crawling behind authentication
|
| 140 |
-
β No hosting or redistributing documents
|
| 141 |
-
β No classified access
|
| 142 |
-
β No private datasets
|
| 143 |
-
β No surveillance or tracking
|
| 144 |
|
| 145 |
---
|
| 146 |
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
### Compliance Summary
|
| 150 |
-
This Space is intentionally designed to comply with:
|
| 151 |
-
- Hugging Face Spaces policies
|
| 152 |
-
- U.S. FOIA public-access norms
|
| 153 |
-
- Journalism ethics standards
|
| 154 |
-
|
| 155 |
-
### Safety Controls
|
| 156 |
-
- **Link-out only** (no content ingestion)
|
| 157 |
-
- **Explicit STUB labeling**
|
| 158 |
-
- **Export gating (LIVE-only)**
|
| 159 |
-
- **No PDF storage**
|
| 160 |
-
- **No background crawling**
|
| 161 |
-
- **User-initiated queries only**
|
| 162 |
-
|
| 163 |
-
### Risk Mitigation
|
| 164 |
-
- No robots.txt violations (manual user navigation)
|
| 165 |
-
- No automated retrieval of sensitive systems
|
| 166 |
-
- No claims of completeness or authority
|
| 167 |
-
|
| 168 |
-
This Space functions as a **research navigation and citation tool**, not a data collection system.
|
| 169 |
-
|
| 170 |
-
---
|
| 171 |
-
|
| 172 |
-
# βοΈ LEGAL REVIEW MEMO (NON-BINDING)
|
| 173 |
-
|
| 174 |
-
### Scope
|
| 175 |
-
This application operates entirely within:
|
| 176 |
-
- Public FOIA Electronic Reading Rooms
|
| 177 |
-
- User-directed navigation
|
| 178 |
-
|
| 179 |
-
### Key Legal Characteristics
|
| 180 |
-
- No republication of copyrighted works
|
| 181 |
-
- No derivative document creation
|
| 182 |
-
- No alteration of government records
|
| 183 |
-
- No implied agency endorsement
|
| 184 |
-
|
| 185 |
-
### Litigation Safety
|
| 186 |
-
- Citation hashes provide integrity verification
|
| 187 |
-
- Source URLs remain authoritative
|
| 188 |
-
- Export artifacts include disclaimers
|
| 189 |
-
|
| 190 |
-
This tool supports lawful research and reporting, not legal conclusions.
|
| 191 |
-
|
| 192 |
-
---
|
| 193 |
-
|
| 194 |
-
# π° JOURNALIST ONBOARDING GUIDE
|
| 195 |
-
|
| 196 |
-
### Typical Workflow
|
| 197 |
-
1. Enter investigative topic
|
| 198 |
-
2. Review LIVE agency coverage
|
| 199 |
-
3. Examine PDF previews
|
| 200 |
-
4. Export journalist ZIP
|
| 201 |
-
5. Generate FOIA follow-up request
|
| 202 |
-
6. Share result summary with editors
|
| 203 |
-
|
| 204 |
-
### Best Practices
|
| 205 |
-
- Always open documents at the source
|
| 206 |
-
- Use citation hashes for verification
|
| 207 |
-
- Treat STUB indicators as leads only
|
| 208 |
-
- File FOIA requests directly with agencies
|
| 209 |
-
|
| 210 |
-
### Ethical Use
|
| 211 |
-
- Attribute sources accurately
|
| 212 |
-
- Avoid implying classified access
|
| 213 |
-
- Verify context before publication
|
| 214 |
-
|
| 215 |
-
---
|
| 216 |
-
|
| 217 |
-
## β οΈ Disclaimer
|
| 218 |
-
This tool:
|
| 219 |
-
- Is not affiliated with any U.S. government agency
|
| 220 |
-
- Does not guarantee completeness
|
| 221 |
-
- Does not provide legal advice
|
| 222 |
-
|
| 223 |
-
---
|
| 224 |
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
Safe by construction.**
|
|
|
|
| 13 |
|
| 14 |
# ποΈ Federal FOIA Intelligence Search
|
| 15 |
|
| 16 |
+
**Public FOIA Electronic Reading Rooms β Link-Out Search Only**
|
| 17 |
|
| 18 |
+
This Hugging Face Space provides a **federated discovery interface** for official U.S. Government Freedom of Information Act (FOIA) Electronic Reading Rooms.
|
| 19 |
|
| 20 |
+
β οΈ **This application does not scrape, crawl, mirror, store, or redistribute documents.**
|
| 21 |
+
All results link directly to authoritative government sources.
|
| 22 |
|
| 23 |
---
|
| 24 |
|
| 25 |
+
## π― Purpose
|
| 26 |
|
| 27 |
+
- Accelerate public-interest research
|
| 28 |
+
- Support journalism, litigation prep, and academic inquiry
|
| 29 |
+
- Provide court-ready citations and documentation workflows
|
| 30 |
+
- Enable **explicitly gated AI analysis** for public documents
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
+
## βοΈ Core Guarantees
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
+
- π **Link-out only** to official FOIA libraries
|
| 37 |
+
- π **No document hosting or redistribution**
|
| 38 |
+
- π§Ύ **Bluebook-formatted citations**
|
| 39 |
+
- π§ **AI analysis is explicit opt-in**
|
| 40 |
+
- βοΈ **LIVE results only are exportable**
|
| 41 |
+
- π« **STUB coverage is informational only**
|
|
|
|
| 42 |
|
| 43 |
---
|
| 44 |
|
| 45 |
+
## ποΈ Live FOIA Sources
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
| Agency | Official Source |
|
| 48 |
+
|------|----------------|
|
| 49 |
+
| CIA | cia.gov/readingroom |
|
| 50 |
+
| FBI | vault.fbi.gov |
|
| 51 |
+
| DOJ | justice.gov/foia |
|
| 52 |
+
| DHS | dhs.gov/foia |
|
| 53 |
+
| State Dept | foia.state.gov |
|
| 54 |
+
| GSA | gsa.gov |
|
| 55 |
+
| NSA | nsa.gov |
|
| 56 |
|
| 57 |
---
|
| 58 |
|
| 59 |
+
## π§ AI & Semantic Features (Opt-In)
|
|
|
|
| 60 |
|
| 61 |
+
AI functionality is **disabled by default**.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
When enabled by the user:
|
| 64 |
+
- PDFs are processed **only when explicitly selected**
|
| 65 |
+
- AI analysis is **user-initiated**
|
| 66 |
+
- Outputs include:
|
| 67 |
+
- Disclosure footer
|
| 68 |
+
- Integrity hash
|
| 69 |
+
- Source citation
|
| 70 |
+
- AI output **is not a primary source** and **not legal advice**
|
| 71 |
|
| 72 |
+
Optional FAISS semantic indexing operates on **metadata only** unless PDF analysis is explicitly requested.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
---
|
| 75 |
|
| 76 |
+
## ποΈ Exports & Research Tools
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
+
- π§Ύ Bluebook citations
|
| 79 |
+
- π¦ Journalist ZIP (links + citations only)
|
| 80 |
+
- π FOIA request generator (PDF)
|
| 81 |
+
- ποΈ Litigation appendix generator
|
| 82 |
+
- π Entity graphs & timelines
|
| 83 |
|
| 84 |
---
|
| 85 |
|
| 86 |
+
## π Trust & Safety
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
+
- No scraping or crawling
|
| 89 |
+
- No robots.txt bypass
|
| 90 |
+
- No credentialed systems
|
| 91 |
+
- No personal data collection
|
| 92 |
+
- Stateless execution
|
| 93 |
|
| 94 |
+
See:
|
| 95 |
+
- `TRUST_SAFETY.md`
|
| 96 |
+
- `LEGAL_MEMO.md`
|
| 97 |
|
| 98 |
---
|
| 99 |
|
| 100 |
+
## π Deployment
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
|
| 102 |
+
Designed for **Hugging Face Spaces (Gradio)**
|
| 103 |
+
No API keys required.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
|
| 105 |
---
|
| 106 |
|
| 107 |
+
## π Disclaimer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
+
This tool assists discovery and analysis of public records.
|
| 110 |
+
Always verify information against the original government source.
|
|
|