DRILLS.ai · Chapter 08
Documents, the dossier and tracking
After the assessment come the documents: a CV and a personal pitch that the candidate reviews and edits. Then tracking: which postings, which status, which sending date. All without an account, in the browser.
The concept
The human stays in charge of what goes out in their name. The system offers a draft; the candidate corrects it, confirms the export, and declares the sending themselves. Opening a link never counts as a sent application. This Human-in-the-loopA step where a person reviews, corrects or confirms before the action goes out. In DRILLS.ai, the candidate reviews their documents and applies themselves.See in the glossary → step is at the heart of the product.
From a block of text to a CV
Feedback from the first tries led to:
- separating target title, profile, projects, experience, education and SkillAn instruction sheet the assistant loads only when the task matches. It's judged by the difference it makes, with evidence.See in the glossary →, when the data exists;
- keeping the dates, project names, contributions and results actually provided;
- avoiding generic phrases and invented qualities;
- offering bold, italic, underline, links and alignment, with Tiptap;
- fixing the formatting buttons, which did not toggle off;
- restoring sections in old drafts that had too little structure;
- keeping the edited document and its layout;
- asking for a review before export.
PDF export goes through the browser’s print function. “ATSApplicant Tracking System: a recruiter's software for sorting applications. "ATS-friendly" describes an intent of readability, not certified compatibility.See in the glossary →-friendly” describes an intent of readability and structure, not certified compatibility with every ATS. The written pitch is still available. A full cover letter and personalised outreach were in the first brief: they are not MVP deliverables.
The dossier in the browser
Everything goes through Browser storagesessionStorage keeps data for the life of the tab; localStorage keeps it between visits. Both stay in that browser, on that device.See in the glossary →:
- sessionStorage by default, with a logical expiry of one day;
- a copy in localStorage when opted in, which expires 30 days after saving;
- ZodA TypeScript library that validates data at runtime, for example a dossier read back in the browser.See in the glossary → validation on every read;
- the same dossier in FR and EN;
- a history of at most 100 entries;
- statuses
analysed,sent,interview,offer,rejected; - the sending date and notes kept when an analysis is run again.
Expiry is checked on read: it is not a server purge. Switching language keeps the data, but does not translate an old text. The dossier keeps one set of documents at a time: the history does not archive every CV version sent to every company.
The “manage my dossier” button erases the dossier in this browser. It deletes neither PDFs already downloaded nor processing already done by a provider. Contacts typed only in the export editor stay in the browser; those in the imported CV are part of the processed document.
What I keep
- A fluent draft is not a correct draft: the review is part of the product.
- The action that commits the candidate (sending) stays theirs, and it is declared, not inferred from a click.
- A memory has an owner and an end date, even in a browser.
The Python mechanisms
This chapter is mostly on the browser side, in TypeScript. The Python counterpart of “read back and validate what was stored” is in My Python for AI 101, chapter 9 · Agents and their interfaces: card 47, copies and memory filed per user.
The defense question
What does the system do when the draft over-reads a project?
Nothing on its own: the candidate corrects it. That is what the editor is for, and the export asks for confirmation. References are checked for presence, not for the truth of every sentence.
What happens to blocked or corrupted storage?
The dossier read back goes through a strict Zod SchemaThe required shape of a piece of data: its fields, their types, their bounds.See in the glossary →: invalid or expired content is not used. And if saving fails, the candidate can still move on in the open page.