← سند dashboard All docs

Published copy (redacted) of sanad/CV-TAILORING-RULES.md · source updated 29 Oct 2026 18:30 Riyadh · synced 4 Nov 2026 05:16

سند — CV Tailoring Rules (draft, doc only)

Status: draft for Bandar's approval. Applies to the Intake & Matching bot (tailoring) and the Apply Desk (approval and submission).

1. Core rule: every line traces back to the source

2. Allowed

3. Never allowed

4. Automatic checks before review

  1. Every line has a source_ref (the check fails otherwise).
  2. A diff of facts: entity lists (employers, titles, dates, degrees, certificates, numbers) must be a subset of the source.
  3. An LLM "faithfulness" pass flags any claim stronger than its source line. Anything flagged goes to the client, never auto-passes.
  4. The language and RTL layout render correctly in the PDF/DOCX.

5. Side-by-side diff before approval

For each job, the client sees: job title + why it matched (AR/EN) | original CV on one side, tailored CV on the other, with changed lines highlighted and each line's source shown on hover | gaps and flags | buttons: Approve and apply / Edit / Skip. The approved version is frozen (we store its hash) and only that exact file is submitted.

6. Approval modes

7. Logging

Store the source CV version, tailored version, diff, flags, approver, timestamp and submission channel for each application. This is kept under the retention rules in DATA-CONSENT-SPEC.md.