Skip to content

fix(claude): sanitize Pi prompts for OAuth requests - #33

Open
rexdotsh wants to merge 1 commit into
mainfrom
fix/claude-pi-oauth-prompt
Open

fix(claude): sanitize Pi prompts for OAuth requests#33
rexdotsh wants to merge 1 commit into
mainfrom
fix/claude-pi-oauth-prompt

Conversation

@rexdotsh

Copy link
Copy Markdown
Owner

Summary

  • Sanitize Pi's generated Claude OAuth system prompt by removing the two empirically confirmed Anthropic usage-classifier fingerprints.
  • Preserve the rest of Pi's preamble, project context, and user-provided system prompt text.
  • Add focused Claude proxy contract coverage.
  • Remove temporary prompt debugging instrumentation and artifacts.

Verification

  • bun lint
  • bun typecheck
  • bun test tests/providers/proxy-contract.test.ts
  • Live Pi request through local Kleis: CLEANUP_LIVE_OK

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