khive_pack_git/lib.rs
1//! `khive-pack-git` — the git-lifecycle pack (ADR-088, amended by ADR-088
2//! Amendment 1).
3//!
4//! Contributes three note kinds (`commit`, `issue`, `pull_request`) that make
5//! repository provenance queryable through the KG graph, and one
6//! agent-facing verb, `git.digest(source, project?, max_items?, include?)`
7//! (`handlers`), that drives the batch, cursor-based ingester (`ingest`)
8//! against either a local path or a remote `https://` URL (cloned/fetched
9//! into a daemon-owned scratch cache, `cache`). See
10//! `docs/adr/ADR-088-git-lifecycle-pack.md` and
11//! `docs/adr/ADR-088-amendment-1-git-digest.md`.
12//!
13//! | Verb | Args | What it does |
14//! | ---- | ---- | ------------ |
15//! | `git.digest` | `source`, `project?`, `max_items?`, `include?` | Ingest commit/issue/PR provenance from a local path or `https://` URL, bounded and cursor-resumable |
16//!
17//! `kkernel git-ingest` remains the unbounded, all-kinds admin CLI path over
18//! the same shared `ingest::run_ingest` core.
19
20pub mod cache;
21pub mod handlers;
22pub mod hook;
23pub mod ingest;
24mod pack;
25#[cfg(test)]
26mod recovery_tests;
27pub mod refs;
28pub mod source;
29pub(crate) mod vocab;
30
31pub use pack::GitPack;