Expand description
Batch, cursor-based git-history ingester (ADR-088 §5).
One-shot: walks local git history plus (optionally) gh-fetched issues
and pull requests, and writes commit / issue / pull_request notes
through the standard create verb (so KindHook validation and
annotates edge creation run exactly as they would for any other
caller). Reuses ADR-087’s operational pattern (cursor table, secret
masking on ingest, cursor advances only on success) — NOT a daemon loop,
NOT a webhook, NOT a poller: one pass per invocation.
Structs§
- Ingest
Include - Which record kinds a
run_ingestpass processes.Defaultselects all three — the CLI’s historical behavior and thegit.digestverb’s default (ADR-088 Amendment 1). - Ingest
Options - Options for one ingest pass.
- Ingest
Report - Outcome of one ingest pass. Serializable so CLI callers can emit it as JSON.
Functions§
- resolve_
project_ id - Public wrapper for the
git.digestverb handler, which needs to resolve (but never auto-create) an explicitly suppliedprojectargument the same wayrun_ingestdoes. - run_
ingest - Run one ingest pass: issues + PRs first (via
gh, when available), then commits (via localgit log). PRs are ingested before commits so a commit’sannotateslist can reference an already-created merging-PR note (the genericcreateverb validatesannotatestargets exist before it writes — seekhive-runtime::operations::create_note_inner).