pub struct IngestReport {Show 15 fields
pub commits_ingested: u64,
pub commits_skipped_existing: u64,
pub issues_ingested: u64,
pub issues_skipped_existing: u64,
pub prs_ingested: u64,
pub prs_skipped_existing: u64,
pub gh_available: bool,
pub warnings: Vec<String>,
pub done: bool,
pub project_id: Option<String>,
pub project_created: bool,
pub reference_edges_created: u64,
pub reference_edges_unresolved: u64,
pub parent_edges_created: u64,
pub commit_embeddings_truncated: u64,
}Expand description
Outcome of one ingest pass. Serializable so CLI callers can emit it as JSON.
Fields§
§commits_ingested: u64§commits_skipped_existing: u64§issues_ingested: u64§issues_skipped_existing: u64§prs_ingested: u64§prs_skipped_existing: u64§gh_available: boolfalse when the gh CLI was not found on PATH — issues/PRs were
skipped but commits still ingested (ADR-088 §5 graceful-absence rule).
warnings: Vec<String>§done: boolfalse when max_items was exhausted before this pass reached the
end of every included kind’s history — callers loop until true
(ADR-088 Amendment 1). Always true for an unbounded
(max_items: None) pass.
project_id: Option<String>The repo-anchor project entity id this pass resolved (or the
verb-level caller created).
project_created: booltrue when the git.digest verb auto-created the project anchor
because none was found (ADR-088 Amendment 1) — never set by
run_ingest itself, only by the verb handler after it returns.
reference_edges_created: u64annotates edges created from a Closes/Fixes/Resolves #N or bare
#N reference in a commit message or issue/PR body to the referenced
issue/PR note (ADR-088 Amendment 1 ingest enrichment).
reference_edges_unresolved: u64References that named a number this pass could not resolve to an ingested issue/PR note within the same project — skipped, not an error (fail-open).
parent_edges_created: u64precedes edges created from a commit’s parents[] to the commit
itself (ADR-088 Amendment 1 ingest enrichment).
commit_embeddings_truncated: u64Commits whose masked content exceeded MAX_COMMIT_EMBED_BYTES: the
full commit note was stored and FTS-indexed unchanged, but the vector
embedding input was truncated to a UTF-8-safe head prefix at the cap
(issue #764). Only incremented for successfully created commits.