Directories
ยถ
| Path | Synopsis |
|---|---|
|
Package blast computes a blast radius from a repo map and a set of changed files.
|
Package blast computes a blast radius from a repo map and a set of changed files. |
|
Package config loads and validates .sieve.yml.
|
Package config loads and validates .sieve.yml. |
|
Package diff parses git unified diffs into an exact line-anchor model.
|
Package diff parses git unified diffs into an exact line-anchor model. |
|
Package filter decides which files of a PR are worth reviewing.
|
Package filter decides which files of a PR are worth reviewing. |
|
Package findings defines the review finding schema, response parsing, anchor validation against the parsed diff, and deterministic sorting.
|
Package findings defines the review finding schema, response parsing, anchor validation against the parsed diff, and deterministic sorting. |
|
Package fingerprint computes content-anchored identifiers for findings so posting can be deduplicated across runs.
|
Package fingerprint computes content-anchored identifiers for findings so posting can be deduplicated across runs. |
|
Package gate is the noise gate: it turns the raw, anchor-valid findings of a review into two posting tiers (inline vs walkthrough notes) plus a list of findings resolved since the last run.
|
Package gate is the noise gate: it turns the raw, anchor-valid findings of a review into two posting tiers (inline vs walkthrough notes) plus a list of findings resolved since the last run. |
|
Package gh is a minimal read-only GitHub REST v3 client for the handful of endpoints sieve needs.
|
Package gh is a minimal read-only GitHub REST v3 client for the handful of endpoints sieve needs. |
|
appauth
Package appauth mints GitHub App installation tokens: it signs a short-lived RS256 JWT with the app's private key, exchanges it for a per-installation access token, and caches that token (with single-flight refresh) until shortly before it expires.
|
Package appauth mints GitHub App installation tokens: it signs a short-lived RS256 JWT with the app's private key, exchanges it for a per-installation access token, and caches that token (with single-flight refresh) until shortly before it expires. |
|
Package grammar runs tree-sitter language parsers inside a pure-Go wazero runtime.
|
Package grammar runs tree-sitter language parsers inside a pure-Go wazero runtime. |
|
Package ignore loads and matches repository-level suppression rules so sieve can drop findings a maintainer has already reviewed and accepted.
|
Package ignore loads and matches repository-level suppression rules so sieve can drop findings a maintainer has already reviewed and accepted. |
|
suggest
Package suggest turns negative review outcomes into concrete ignore-rule proposals for .sieve/ignore.yml.
|
Package suggest turns negative review outcomes into concrete ignore-rule proposals for .sieve/ignore.yml. |
|
Package incremental decides how much of a re-review a run needs: a full re-review, or a delta that re-reviews only the files changed since the last posted walkthrough and carries the rest of the active findings forward.
|
Package incremental decides how much of a re-review a run needs: a full re-review, or a delta that re-reviews only the files changed since the last posted walkthrough and carries the rest of the active findings forward. |
|
Package learnings turns sieve's own negative outcomes (๐ reactions and dismissed threads) into repository-specific review rules.
|
Package learnings turns sieve's own negative outcomes (๐ reactions and dismissed threads) into repository-specific review rules. |
|
Package local reads a git worktree diff and metadata so sieve can review a local branch without a GitHub token or App PEM.
|
Package local reads a git worktree diff and metadata so sieve can review a local branch without a GitHub token or App PEM. |
|
Package memory is sieve's local, append-only outcome store: a JSONL event log per repository under the user's data dir.
|
Package memory is sieve's local, append-only outcome store: a JSONL event log per repository under the user's data dir. |
|
Package metrics provides a minimal Prometheus-compatible metrics registry for sieve serve.
|
Package metrics provides a minimal Prometheus-compatible metrics registry for sieve serve. |
|
Package post performs every GitHub write sieve makes: creating or editing the single walkthrough comment and submitting the inline review.
|
Package post performs every GitHub write sieve makes: creating or editing the single walkthrough comment and submitting the inline review. |
|
Package prompt assembles the system and per-batch user prompts and greedy-packs files into token-budgeted batches.
|
Package prompt assembles the system and per-batch user prompts and greedy-packs files into token-budgeted batches. |
|
Package provider defines the single-shot LLM completion abstraction and the shared retry decorator.
|
Package provider defines the single-shot LLM completion abstraction and the shared retry decorator. |
|
anthropic
Package anthropic adapts the Anthropic Messages API to the provider interface.
|
Package anthropic adapts the Anthropic Messages API to the provider interface. |
|
fake
Package fake is a deterministic provider for tests and offline E2E runs.
|
Package fake is a deterministic provider for tests and offline E2E runs. |
|
openai
Package openai adapts any OpenAI-compatible chat-completions endpoint (OpenAI, OpenRouter, Groq, local Ollama) to the provider interface.
|
Package openai adapts any OpenAI-compatible chat-completions endpoint (OpenAI, OpenRouter, Groq, local Ollama) to the provider interface. |
|
Package queue is the daemon's persistent, coalescing review queue.
|
Package queue is the daemon's persistent, coalescing review queue. |
|
Package render turns gate results into the markdown sieve posts: the single walkthrough comment (with its hidden metadata block) and the inline review comment bodies, including committable suggestion blocks.
|
Package render turns gate results into the markdown sieve posts: the single walkthrough comment (with its hidden metadata block) and the inline review comment bodies, including committable suggestion blocks. |
|
Package repomap builds a repo-wide symbol and import index from source files.
|
Package repomap builds a repo-wide symbol and import index from source files. |
|
Package review assembles the ReviewContext for a PR: metadata + parsed diff + filter decisions.
|
Package review assembles the ReviewContext for a PR: metadata + parsed diff + filter decisions. |
|
Package sarif converts sieve findings into the Static Analysis Results Interchange Format (SARIF) v2.1.0 so they can be uploaded to GitHub's Security tab via github/codeql-action/upload-sarif or consumed by other SARIF-aware tools.
|
Package sarif converts sieve findings into the Static Analysis Results Interchange Format (SARIF) v2.1.0 so they can be uploaded to GitHub's Security tab via github/codeql-action/upload-sarif or consumed by other SARIF-aware tools. |
|
Package server is sieve's daemon: it validates a server.yml, wires GitHub App auth, the webhook receiver, and the persistent review queue, and runs the review pipeline per job against an installation token.
|
Package server is sieve's daemon: it validates a server.yml, wires GitHub App auth, the webhook receiver, and the persistent review queue, and runs the review pipeline per job against an installation token. |
|
Package symbols extracts declarations and references from source files for richer review context.
|
Package symbols extracts declarations and references from source files for richer review context. |
|
Package tui is sieve's interactive, local terminal UI.
|
Package tui is sieve's interactive, local terminal UI. |
|
Package version holds build metadata, stamped at release time via ldflags:
|
Package version holds build metadata, stamped at release time via ldflags: |
|
Package webhook is the daemon's HTTP front door: it verifies GitHub webhook signatures (constant-time, before any parsing), dedupes redeliveries, and turns pull_request events into review jobs.
|
Package webhook is the daemon's HTTP front door: it verifies GitHub webhook signatures (constant-time, before any parsing), dedupes redeliveries, and turns pull_request events into review jobs. |
Click to show internal directories.
Click to hide internal directories.