Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
redline
command
Command redline is the CLI entry point.
|
Command redline is the CLI entry point. |
|
e2e
|
|
|
fakellm
Package fakellm provides a deterministic stand-in for the LLM that the e2e tests exercise.
|
Package fakellm provides a deterministic stand-in for the LLM that the e2e tests exercise. |
|
internal
|
|
|
app
Package app orchestrates the full scan pipeline: preflight → crawl → judge → embed/dedup → report.
|
Package app orchestrates the full scan pipeline: preflight → crawl → judge → embed/dedup → report. |
|
config
Package config loads and validates prompts.yaml.
|
Package config loads and validates prompts.yaml. |
|
emb
Package emb defines the EmbeddingClient interface plus Ollama / OpenAI / Voyage implementations.
|
Package emb defines the EmbeddingClient interface plus Ollama / OpenAI / Voyage implementations. |
|
embed
Package embed implements Pass 2 — embedding-based duplicate detection.
|
Package embed implements Pass 2 — embedding-based duplicate detection. |
|
errs
Package errs holds the sentinel errors used across redline so that callers can use errors.Is/As to classify failures, and the CLI can map them to deterministic exit codes.
|
Package errs holds the sentinel errors used across redline so that callers can use errors.Is/As to classify failures, and the CLI can map them to deterministic exit codes. |
|
extract
Package extract converts an HTML document into the two outputs the rest of the pipeline needs: body_text (for the LLM judge) and outbound_links (for crawler BFS).
|
Package extract converts an HTML document into the two outputs the rest of the pipeline needs: body_text (for the LLM judge) and outbound_links (for crawler BFS). |
|
httpx
Package httpx provides the shared HTTP client + universal retry wrapper used for every outbound call (target site, Ollama, Anthropic, OpenAI, Voyage).
|
Package httpx provides the shared HTTP client + universal retry wrapper used for every outbound call (target site, Ollama, Anthropic, OpenAI, Voyage). |
|
judge
Package judge orchestrates the LLM call for every page.
|
Package judge orchestrates the LLM call for every page. |
|
llm
Package llm defines the provider-agnostic LLM client interface used by the judge.
|
Package llm defines the provider-agnostic LLM client interface used by the judge. |
|
llm/anthropic
Package anthropic implements llm.LLMClient against the Anthropic Messages API.
|
Package anthropic implements llm.LLMClient against the Anthropic Messages API. |
|
llm/ollama
Package ollama implements llm.LLMClient against an Ollama HTTP server.
|
Package ollama implements llm.LLMClient against an Ollama HTTP server. |
|
log
Package log provides the structured slog handler used across redline.
|
Package log provides the structured slog handler used across redline. |
|
report
Package report builds the JSON and Markdown report artifacts.
|
Package report builds the JSON and Markdown report artifacts. |
|
report/normalize
Package normalize replaces dynamic fields in reports with stable placeholders so golden-file tests can compare byte-for-byte.
|
Package normalize replaces dynamic fields in reports with stable placeholders so golden-file tests can compare byte-for-byte. |
|
store
Package store is the SQLite repository layer for redline.
|
Package store is the SQLite repository layer for redline. |
|
version
Package version exposes build metadata baked in at link time.
|
Package version exposes build metadata baked in at link time. |
Click to show internal directories.
Click to hide internal directories.