Skip to main content
Export the session report to a local directory, with one file per findings category, per-bug JSON and Markdown, and available evidence. Give the directory to a coding agent to investigate or fix the reported bugs.

Arguments

string
required
The session to export.

Options

string
Directory to write the report and evidence to. Defaults to MOMENTIC_ARTIFACTS_DIR/mo-report-<session-id> when that variable is set, or .momentic-artifacts/mo-report-<session-id> otherwise.
boolean
Only export when Mo is idle and all sub-agents are done. Checks once and exits without writing otherwise; it does not wait.

Output

The command prints the output directory. Add --json to print one JSON object with the absolute outputDirectory and all fields from report.json. Warnings go to stderr in either mode. Inside the directory, report.json is the manifest. This excerpt shows the finding index and an artifact: summary.completed carries the root agent’s explicit completion flag when the server provides it. --require-idle checks that a report can be exported, not that the overall task is complete; partial results can still be exported.
Read every file findings names; newer servers can add categories. artifacts holds each download’s bugName, kind, source, and either a local path or an error. Available artifacts include screenshots, MP4 videos, raw compressed rrweb replays and network logs, and mobile recording metadata and overlapping video segments. A browser replay is not an MP4 video. Follow each bugs entry’s details path for page URLs, reproduction timing, console logs, network entries, annotations, and evidence warnings. Its bug field has the same shape as qa bugs list <session-id> --full and the entries in bugs.json, including status and triage. The issue path contains a Markdown draft for an issue tracker; filing is not required to fix the bug. See report evidence for evidence scope and playback limits.

Examples

Export once the session finishes:
List every bug name:

Notes

Exporting does not rerun anything. To compare a recheck, qa send the recheck request, wait for idle, and export again into a second --output directory.