Skip to content
ghqc

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.

Terminal window
ghqc milestone record

Run ghqc milestone record with no milestone or output arguments to enter the full prompt flow.

Terminal window
ghqc milestone record

Interactive record generation starts by asking whether to include all milestones or pick a subset.

  • Select All Milestones includes every milestone returned by the repository
  • Choose Specific Milestones opens 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)

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)

You can provide an explicit output name or press Enter to accept the default.

  • Interactive output names are turned into .pdf files 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):

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, ghqc skips this step
  • Each selected PDF is marked as prepend or append
  • Files are rendered in the order you add them

When rendering succeeds, ghqc prints the final output path.

✅ Record successfully generated at /path/to/project/my-analysis-PK-Review.pdf

To skip interactive mode, either:

  • provide one or more milestone names as positional arguments
  • use --all-milestones
Terminal window
ghqc milestone record "PK Review" --record-path pk-review.pdf
Terminal window
ghqc milestone record \
--all-milestones \
--prepended-context cover.pdf \
--appended-context appendix.pdf
Argument / FlagDescription
[milestones...]Milestone names to include.
--all-milestonesInclude all milestones.
-r, --record-pathOutput path for the record PDF.
--only-tablesInclude only summary tables.
--prepended-contextPDF to prepend before the record content. Repeatable.
--appended-contextPDF to append after the record content. Repeatable.
  • --all-milestones cannot be combined with milestone names
  • If context PDFs are supplied in CLI mode, you must also provide milestone selection
  • record_path always 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, ghqc generates one from the repo name and milestone names

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