Enterprise feature
Files and comments
Keep comments and edit requests on each version of a document, and send them to the session writing it.
Files keeps the drafts an AI writes for you together, holds your comments on each one, and sends your edit requests to the session doing the writing.
What Files shows for a document
Files groups the saved versions of one document, such as report_v3.pdf and report_v4.pdf, into one family. Each version has a chip with its comment count, such as "v4 · 6 comments", and the line under the chips gives its pages and save date. Compare with… opens the changes between two versions.
Three tabs beside the document hold the comments:
| Tab | What it holds |
|---|---|
| Review | Comments from a review of the version on screen, each tied to a passage |
| Your asks | Your edit requests on the document, in every state until you resolve them |
| Resolved | Comments and asks you marked resolved, newest first, each with Reopen |
Each review comment has one of eight kinds. The chips above the list filter by kind: Needs evidence, Wrong place, Factually wrong, Reviewer says cut, Say more, Wrong tone, Reads machine-written and Good, keep.
Work through review comments
- Open a document in Files and pick a version chip. Review lists that version's comments in page order.
- Click a comment's number to show its passage.
- When a later version fixes the passage, choose it under Mark fixed in…, or press Won't fix.
- Press Mark resolved to move the comment to Resolved.
All N comments on this file lists every comment the document has had, version by version, with its status.
Send your own edit requests to a session
An ask is an edit request you write yourself, such as "say how many tutors we have".
- Select a passage on the page and press Queue an ask about this.
- Write what should change, then press Add to the queue. You can Edit or Remove the ask while it waits.
- Under Send to, choose the open session that is writing the document.
- Press Send N queued to the session. Every waiting ask goes in one numbered message with its page and quote.
- When the session answers an ask, it reads Answered, with Read the reply. When a later version no longer holds an ask's quote, the ask reads Fixed in that version.
Judge a fix and say why it was needed
When a fixed comment has the passage before and after the change, the card shows Now reads: with the new text. Press Accept the fix or Not right. After Accept the fix, you can answer Why did the draft need this fix? and add one line. One answer is It used the wrong source.
Example: a program report through two versions
Grace writes the annual program report for the Lakeview Adult Learning Center, and every name in this example is invented. A review of program-report_v3.pdf leaves six comments.
- She opens the v3 chip, labelled "v3 · 6 comments". Comment 2, marked Needs evidence, quotes "attendance doubled this year" on page 4.
- She queues an ask on page 5. She selects "our tutors meet weekly" and writes "Say how many tutors and how many learners each one has."
- She sends it to the session writing the report with Send 1 queued to the session.
- The session replies "1. Added: 14 tutors, about 6 learners each." The ask now reads Answered.
- Version 4 arrives. Page 4 now reads "attendance rose from 212 to 431 learners". She marks comment 2 fixed in v4, presses Accept the fix, and chooses It missed context or left something out.
How it works in detail
How comments are stored and reused
All comments and asks live in one file, feedback.json, in Mehtagent's data folder on your Mac. A replacement longer than 4 KB goes in its own file in feedback-blobs beside it.
A comment stores its exact quote and about 120 characters on either side. When a new version arrives, Mehtagent finds the quote again, or falls back to the surrounding text, so a comment stays with its passage. Edits to the document itself are left to you and your AI.
A fixed comment with its new text forms a pair: the passage as written, the comment against it and the passage as it became. Mehtagent can export these pairs as JSON Lines to comment-training.jsonl in its data folder, as material for teaching a model your standards. Your reasons for each fix stay with the pair.
Sending asks
The message to the session asks it to answer each number on its own line. A reply line that starts with an ask's number marks that ask Answered. Asks go to a session only when you press the send button.
Numbers and cards
- A comment keeps its number on its version, so numbers stay with their passages after other comments are resolved.
- A card you just judged stays in place until you leave the file, so the next card's buttons stay where they were under your pointer.
- Asks stay apart from review comments, and out of the review counts and the exported pairs.
Read next
- File Previews: compare two saved versions of a file.
- Research runs and decision traces: feedback on the steps of a research session.
- Session logs and telemetry: what else Mehtagent keeps on your Mac.
Mehtagent