Directories
¶
| Path | Synopsis |
|---|---|
|
Package action is the GitHub Action entrypoint: it routes a workflow event to scoring or to the human-approval flip.
|
Package action is the GitHub Action entrypoint: it routes a workflow event to scoring or to the human-approval flip. |
|
Package ci reads whether a commit's required checks failed.
|
Package ci reads whether a commit's required checks failed. |
|
Package config loads and validates .github/lgtm.toml.
|
Package config loads and validates .github/lgtm.toml. |
|
Package dataset keeps what replay reads from GitHub and the model in local Parquet files, so later runs can skip those calls.
|
Package dataset keeps what replay reads from GitHub and the model in local Parquet files, so later runs can skip those calls. |
|
Package engine scores one PR: fetch, plan calls, ask, and decide.
|
Package engine scores one PR: fetch, plan calls, ask, and decide. |
|
Package ghout publishes results to GitHub: the LGTM check run, the sticky comment, and the needs-human label.
|
Package ghout publishes results to GitHub: the LGTM check run, the sticky comment, and the needs-human label. |
|
Package ghtest serves a fake GitHub REST API over httptest for tests.
|
Package ghtest serves a fake GitHub REST API over httptest for tests. |
|
Package jev is a client for System One decision models such as TypeSafe's Jev, served at POST {base}/systemone by OpenRouter and TypeSafe.
|
Package jev is a client for System One decision models such as TypeSafe's Jev, served at POST {base}/systemone by OpenRouter and TypeSafe. |
|
Package prstate fetches a PR's diff at pinned SHAs and builds the state the decision model sees.
|
Package prstate fetches a PR's diff at pinned SHAs and builds the state the decision model sees. |
|
Package replay scores past PRs, compares the scores with what humans decided, and fits the approve and deny thresholds.
|
Package replay scores past PRs, compares the scores with what humans decided, and fits the approve and deny thresholds. |
|
Package report renders a scoring result as a PR comment, check-run output, JSON, or terminal text.
|
Package report renders a scoring result as a PR comment, check-run output, JSON, or terminal text. |
|
Package rubric defines the questions LGTM asks about a PR, how repo config changes them, and how each answer becomes a 0-1 value.
|
Package rubric defines the questions LGTM asks about a PR, how repo config changes them, and how each answer becomes a 0-1 value. |
|
Package trust decides whose PRs and reviews count.
|
Package trust decides whose PRs and reviews count. |
|
Package verdict turns normalised answers into approve, deny, or needs-human.
|
Package verdict turns normalised answers into approve, deny, or needs-human. |
Click to show internal directories.
Click to hide internal directories.