PublicMITGemini-only

Drive File Audit Bot × SlimeTree-RLM (Gemini-only)

▸ Bulk-audit Drive filenames / metadata

Fetch recently changed Drive files → RLM verdict on filename + sharing settings → instant confidentiality-risk detection; high-value items go to Gemini for content-summary audit.

1. Google API authentication (OAuth 2.0)

At console.cloud.google.com create an OAuth client → obtain a User Access Token. Scope: https://www.googleapis.com/auth/drive.readonly

2. Gemini (Google AI) API key

At aistudio.google.com/apikey you can issue a personal free key (15 RPM free; overflow is token-billed).

Platform-native LLM: Google Workspace processing is Gemini-only (managed under the same Google account).

2.5 Operation mode ★ NEW: B (in-Gemini tiering) ― shared module

3. Drive file audit

Fetch the latest 20 modified files → run RLM verdict on name + sharing settings → D=normal / µ=confidentiality risk ("confidential" / "PII" keywords + public sharing) / R=Gemini content-summary audit.

files: 0
D: 0
Confidentiality risk: 0
Needs audit: 0

4. API call log

(not yet run)

5. Benefits

  • Confidential + public = risk: "confidential" / "PII" keywords with public sharing detected mechanically
  • Bulk audit of many files: initial classification of hundreds–thousands of files at 0 tokens
  • High-value items audited by Gemini: content summary + risk-point extraction
  • WAL chain: SHA-256 record of whose file the bot audited and when