Skip to content

feat(server): add guarded prompt retrieval adapter - #3

Merged
lightcloud00 merged 1 commit into
mainfrom
codex/guarded-autorag-adapter-20260825
Aug 25, 2026
Merged

feat(server): add guarded prompt retrieval adapter#3
lightcloud00 merged 1 commit into
mainfrom
codex/guarded-autorag-adapter-20260825

Conversation

@lightcloud00

Copy link
Copy Markdown
Owner

Summary

  • add an optional loopback-only prompt retrieval adapter for OpenMausBot
  • retrieve after durable message handling and append bounded context only to provider-bound text
  • validate the exact no-authority/no-retention response contract and fail open without logging prompts
  • keep the owner-dirty app workspace untouched

Safety boundaries

  • endpoint must be loopback and exact /v1/retrieve
  • 8 KB prompt input, 2.5 second deadline, and 2 KB maximum returned context
  • retrieval context is never written back into OpenMaus chat history
  • no tools, writes, selector authority, or promotion authority

Verification

  • full test floor: 1,676 passed, 13 skipped (1,689 counted; floor 1,070)
  • focused retrieval/index tests: 112 passed
  • both TypeScript configs passed
  • Vite UI, server bundle, packaged-server smoke, updater/viewer, broker, and Electron syntax checks passed
  • exact branch SHA: f3034061fe8eabd01ea90d3f6a31d2a3ab66e8f0

Refs lightcloud00/claudecode-workspace#1498
Refs lightcloud00/claudecode-workspace#1535

@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 203e1600-d122-4a52-bb51-4660e1b57f87


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lightcloud00
lightcloud00 merged commit ca22ad5 into main Aug 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant