make_pdf: review layout with wide margins and numbered steps #102

Closed
opened 2026-11-27 16:48:37 +00:00 by jfro · 0 comments
Owner

Part of #99 (agent plan review).

Problem: the layout supports margins (reports/layout.ex:22-26, left up to 60 mm) and reports.ex:162-166 accepts them, but the make_pdf schema doesn't expose them (pdf_reports.ex:71-111). There's no layout built for marking up.

Proposal: a review template (or layout option) for make_pdf:

  • Wide right margin (about 60 mm), optionally dot-grid, for notes.
  • Numbered headings/steps (1, 1a, 2…) so notes can say "3b → drop".
  • Footer with a plan id + version (e.g. plan-xyz v2 · p3/5), so a returned PDF maps to its revision.
  • Optionally expose margins in the MCP schema generally.

Done when: an agent can send a plan as a review PDF with a fat margin, numbered steps, and an id/version footer.

Part of #99 (agent plan review). **Problem:** the layout supports margins (`reports/layout.ex:22-26`, left up to 60 mm) and `reports.ex:162-166` accepts them, but the `make_pdf` schema doesn't expose them (`pdf_reports.ex:71-111`). There's no layout built for marking up. **Proposal:** a `review` template (or layout option) for `make_pdf`: - Wide right margin (about 60 mm), optionally dot-grid, for notes. - Numbered headings/steps (1, 1a, 2…) so notes can say "3b → drop". - Footer with a plan id + version (e.g. `plan-xyz v2 · p3/5`), so a returned PDF maps to its revision. - Optionally expose margins in the MCP schema generally. **Done when:** an agent can send a plan as a review PDF with a fat margin, numbered steps, and an id/version footer.
jfro closed this issue 2026-11-27 19:59:24 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer#102
No description provided.