Skip to content

feat: preserve RecruiterDraft as optional recruiter-reply proposals - #44

Draft
Deep-Sixed wants to merge 3 commits into
mainfrom
feat/optional-recruiter-draft-proposals
Draft

Deep-Sixed wants to merge 3 commits into
mainfrom
feat/optional-recruiter-draft-proposals

Conversation

@Deep-Sixed

Copy link
Copy Markdown
Owner

Purpose

Preserve the useful recruiter-reply generation and preview-screening behavior of the retired Jarvis RecruiterDraft prototype in CareerSignal without importing its FastAPI/Pydantic/SDK stack or weakening CareerSignal's approval safeguards.

Scope

  • Add a dependency-free, explicitly opt-in OpenAI-compatible proposal client (communications/recruiter_proposals.py).
  • Preserve context-to-prompt mapping and heuristic preview flags without hard-coded personal identity.
  • Add six synthetic unit tests and source-provenance / follow-up integration documentation.

Important limitations

  • Not connected to the production workflow yet. This PR is a preservation and isolated adapter PR, not a completed operator-facing AI draft feature.
  • Proposals are not approvals; Gmail creation and sending are not available from this module.
  • Original RecruiterDraft source remains on Jarvis until the future integration is verified.

Verification

  • PYTHONPATH=src python3 -m unittest communications.tests.test_recruiter_proposals -v: 6 passed on Jarvis.
  • uv is not installed on Jarvis, so repository Ruff/uv gates have not yet been run. CI review required.

Follow-up

Integrate into new immutable review records, enforce exact-wording approval, and add end-to-end authorization/rollback tests before exposure in CLI or UI.

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