- Nov 14, 2026
- 2 min read
Truthful Tailoring: The Model Picks, the Validator Checks
The contract the model gets
The tailoring output is structured JSON, and every line carries a reference:
{"headline": "Senior BI Engineer",
"summary": [{"ref": "summary.senior_bi_engineer.0", "text": "..."}],
"experience": [{"key": "example-corp", "title": "BI Technical Lead",
"bullets": [{"ref": "exp.example-corp.metrics-platform.b07", "text": "..."}]}],
"skills": [{"group": "Power BI", "items": ["Power BI", "DAX"]}],
"gaps": ["Azure Data Factory"]}
With the API engine, that’s a JSON-schema structured output (output_config.format) on Claude Opus, with
fallbacks: "default" for refusals. Requirements the offer asks for that he doesn’t meet go into gaps, never into the CV.
The validator: drop, never repair
outbound/validator.py drops a line if:
- the reference is missing, belongs to another employer, or is a duplicate;
- it contains a number that isn’t in the source (37% → 45% is caught);
- it names a tool not in the source or that employer’s systems (Looker on a Power BI-only job);
- it mentions another employer;
- fewer than 60% of its content words come from the source.
Headlines and titles must come from MASTER’s title lists, and skills from its vocabulary. Dates, employers and contact details are filled in by code. On his real data, all 85 facts pass verbatim (no false rejections), and every CV sent that day passed 100%.
Two interchangeable engines
outbound tailor offer.md: the Claude API (for scheduled runs).- Claude Code, with me driving: the agent reads
outbound factsandoffer.md, writestailored.input.json, and runs the sameoutbound validate. A project skill (.claude/skills/outbound-apply/SKILL.md) gives any session the full flow and the rules.
The truthfulness guarantee lives in the validator, not in the engine, so both are equally safe. In practice the Claude Code path was great for the first applications: I could watch it reason (“lead with schema-contract validation for this governance-heavy role”) and ask for changes before anything rendered.
After validation: the CV policy
Parallel roles are dropped unless relevant, roles go newest first, and gaps in the timeline refuse to render (post #2).
validation.json records every dropped line and every policy decision.
Lesson: don’t ask a model not to lie. Give it references and check them in code.
Next in this series: From Three Pages to Two: Rendering CVs With Typst
Part 4 of 7. Start with the series overview.