Milestone Record
ghqc milestone record generates a PDF QC record for one or more milestones.
The record summarizes issue history, approvals, comments, and checklist progress in a document suitable for review packages or handoff.
ghqc milestone recordInteractive
Section titled “Interactive”Run ghqc milestone record with no milestone or output arguments to enter the full prompt flow.
ghqc milestone record1. Choose How to Select Milestones
Section titled “1. Choose How to Select Milestones”Interactive record generation starts by asking whether to include all milestones or pick a subset.
Select All Milestonesincludes every milestone returned by the repositoryChoose Specific Milestonesopens a multi-select picker- At least one milestone must be selected
📄 Welcome to GHQC Milestone Record Mode!? 📄 How would you like to select milestones for the record? 📋 Select All Milestones> 🎯 Choose Specific Milestones? 📄 Select milestones for the record:> [x] PK Review (12) [ ] Round 2 (18) [ ] Final Report (24)2. Choose Record Detail Level
Section titled “2. Choose Record Detail Level”Before naming the file, ghqc asks whether to generate only the summary tables.
- The default is No, which includes the full detailed issue content
- Choosing Yes creates a lighter-weight record focused on summary tables
? 📋 Generate only tables without detailed issue content? (y/N)3. Name the Output File
Section titled “3. Name the Output File”You can provide an explicit output name or press Enter to accept the default.
- Interactive output names are turned into
.pdffiles automatically - If no path is provided, the default is
<repo>-<milestones>.pdf - Relative paths are resolved from the selected project directory
? 📁 Enter record file name (Enter for default):4. Add Context PDFs
Section titled “4. Add Context PDFs”After milestone selection, interactive mode scans the current project directory for .pdf files that can be prepended or appended to the record.
- If no PDFs are found,
ghqcskips this step - Each selected PDF is marked as
prependorappend - Files are rendered in the order you add them
5. Record Generated
Section titled “5. Record Generated”When rendering succeeds, ghqc prints the final output path.
✅ Record successfully generated at /path/to/project/my-analysis-PK-Review.pdfNon-interactive
Section titled “Non-interactive”To skip interactive mode, either:
- provide one or more milestone names as positional arguments
- use
--all-milestones
ghqc milestone record "PK Review" --record-path pk-review.pdfghqc milestone record \ --all-milestones \ --prepended-context cover.pdf \ --appended-context appendix.pdfOptions
Section titled “Options”| Argument / Flag | Description |
|---|---|
[milestones...] | Milestone names to include. |
--all-milestones | Include all milestones. |
-r, --record-path | Output path for the record PDF. |
--only-tables | Include only summary tables. |
--prepended-context | PDF to prepend before the record content. Repeatable. |
--appended-context | PDF to append after the record content. Repeatable. |
Validation and Defaults
Section titled “Validation and Defaults”--all-milestonescannot be combined with milestone names- If context PDFs are supplied in CLI mode, you must also provide milestone selection
record_pathalways ends with.pdf, even if you omit the extension- Relative output paths are resolved under the selected project directory
- If no output path is supplied,
ghqcgenerates one from the repo name and milestone names
What the Record Includes
Section titled “What the Record Includes”The generated PDF can include:
- repository and milestone metadata
- issue-level QC history
- approval commit information
- checklists and checklist summaries
- reviewer and comment history
- optional prepended or appended PDF context
- configuration-driven assets such as the project logo