internal/

directory
v0.21.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: Apache-2.0

Directories

Path Synopsis
Package audit records who changed what.
Package audit records who changed what.
Package contest decides which of two or more candidate skill versions is better, from runs measured side by side.
Package contest decides which of two or more candidate skill versions is better, from runs measured side by side.
eval
agent
Package agent defines the interface every coding-agent CLI is driven through.
Package agent defines the interface every coding-agent CLI is driven through.
derive
Package derive builds an eval suite for a skill that has none, by recovering a spec from the bundle and drafting evals from it.
Package derive builds an eval suite for a skill that has none, by recovering a spec from the bundle and drafting evals from it.
lint
Package lint validates a skill bundle across three layers: spec conformance, quality, and injection (security scan).
Package lint validates a skill bundle across three layers: spec conformance, quality, and injection (security scan).
llm
Package llm is the single seam through which every model call passes.
Package llm is the single seam through which every model call passes.
llm/api
Package api implements the LLM gateway against an HTTP endpoint that speaks either Anthropic's Messages API or OpenAI's Chat Completions API.
Package api implements the LLM gateway against an HTTP endpoint that speaks either Anthropic's Messages API or OpenAI's Chat Completions API.
llm/fake
Package fake provides an in-memory Gateway for tests.
Package fake provides an in-memory Gateway for tests.
propose
Package propose turns what a candidate missed in a contest into one change to the skill's prose.
Package propose turns what a candidate missed in a contest into one change to the skill's prose.
provider
Package provider resolves an LLM backend: the server's providers for a worker (Session, Judge), and one Anthropic-format endpoint from the environment for the local `whetstone` CLI (Resolve).
Package provider resolves an LLM backend: the server's providers for a worker (Session, Judge), and one Anthropic-format endpoint from the environment for the local `whetstone` CLI (Resolve).
report
Package report defines the machine-readable result of an eval run: the schema a CI job reads, the worker posts, and the UI charts.
Package report defines the machine-readable result of an eval run: the schema a CI job reads, the worker posts, and the UI charts.
runner
Package runner plans and executes an evaluation: which sessions to run, in what environment, with what resumed from a previous attempt.
Package runner plans and executes an evaluation: which sessions to run, in what environment, with what resumed from a previous attempt.
sandbox
Package sandbox is the seam every evaluation run executes through.
Package sandbox is the seam every evaluation run executes through.
sandbox/docker
Package docker implements the sandbox driver on the Docker CLI.
Package docker implements the sandbox driver on the Docker CLI.
sandbox/imagespec
Package imagespec renders everything an image needs as text: the base Dockerfile, a per-skill layer over it, the proxy configuration that enforces a network allowlist, and the digest that makes a layer cacheable.
Package imagespec renders everything an image needs as text: the base Dockerfile, a per-skill layer over it, the proxy configuration that enforces a network allowlist, and the digest that makes a layer cacheable.
sandbox/kubernetes
Package kubernetes implements the sandbox driver on the Kubernetes API.
Package kubernetes implements the sandbox driver on the Kubernetes API.
sandbox/northflank
Package northflank implements the sandbox driver on Northflank's API.
Package northflank implements the sandbox driver on Northflank's API.
sandbox/resolve
Package resolve is the one place the environment becomes a sandbox driver.
Package resolve is the one place the environment becomes a sandbox driver.
sandbox/sandboxtest
Package sandboxtest holds the contract every sandbox.Driver must satisfy.
Package sandboxtest holds the contract every sandbox.Driver must satisfy.
spec
Package spec holds the SkillSpec IR that generation, suite drafting, and scoring all derive from.
Package spec holds the SkillSpec IR that generation, suite drafting, and scoring all derive from.
store
Package store owns the .whetstone/ workspace: SQLite index, completion cache, and the on-disk artifact layout.
Package store owns the .whetstone/ workspace: SQLite index, completion cache, and the on-disk artifact layout.
suite
Package suite is a skill's eval set: the evals/evals.json tasks it is measured against, the evals/triggers.json queries its description is measured against, and a shipped distractor pack that makes a trigger measurement discriminating.
Package suite is a skill's eval set: the evals/evals.json tasks it is measured against, the evals/triggers.json queries its description is measured against, and a shipped distractor pack that makes a trigger measurement discriminating.
suite/assets
Package assets embeds the static suite assets.
Package assets embeds the static suite assets.
tune
Package tune optimizes a skill's description for trigger accuracy.
Package tune optimizes a skill's description for trigger accuracy.
Package evalqueue is the eval job queue, backed by Postgres claim/lease/heartbeat.
Package evalqueue is the eval job queue, backed by Postgres claim/lease/heartbeat.
Package evalsuite is the registry-side counterpart to internal/eval/suite: evaluation task-suites become content-addressable artifacts stored alongside skill bundles, so a quality score can be re-run later against the exact same tasks with a different model panel.
Package evalsuite is the registry-side counterpart to internal/eval/suite: evaluation task-suites become content-addressable artifacts stored alongside skill bundles, so a quality score can be re-run later against the exact same tasks with a different model panel.
Package gate decides whether a skill version may be published, held for review, or refused outright.
Package gate decides whether a skill version may be published, held for review, or refused outright.
Package gitsync keeps git-bound skills in step with their repositories through one GitHub App per instance.
Package gitsync keeps git-bound skills in step with their repositories through one GitHub App per instance.
Package mcp serves the registry's tools over the stateless Streamable HTTP transport of the Model Context Protocol.
Package mcp serves the registry's tools over the stateless Streamable HTTP transport of the Model Context Protocol.
Package onboarding is a new instance's first run: the claim code that makes the first owner, the getting-started checklist, and the sample data.
Package onboarding is a new instance's first run: the claim code that makes the first owner, the getting-started checklist, and the sample data.
Package ownership resolves who owns a skill name and who may manage a pattern.
Package ownership resolves who owns a skill name and who may manage a pattern.
Package pattern is the one grammar Skael uses to name a group of skills: an exact skill name, a prefix ending in "*" such as "payments:*", or "*" for every skill.
Package pattern is the one grammar Skael uses to name a group of skills: an exact skill name, a prefix ending in "*" such as "payments:*", or "*" for every skill.
Package providers holds the LLM backends the server names for its workers, their keys, and the judge and panel every worker runs.
Package providers holds the LLM backends the server names for its workers, their keys, and the judge and panel every worker runs.
Package quality stores and retrieves per-version quality scores.
Package quality stores and retrieves per-version quality scores.
Package runs records what each automated run loaded and how it ended.
Package runs records what each automated run loaded and how it ended.
Package sets holds named lists of skills and their immutable resolutions.
Package sets holds named lists of skills and their immutable resolutions.
Package settings is the one source of every setting: its env name, type, default, help, and whether the UI may change it.
Package settings is the one source of every setting: its env name, type, default, help, and whether the UI may change it.
Package submissions holds skill archives that agents send for human review.
Package submissions holds skill archives that agents send for human review.
Package testutil provides the Postgres a DB-backed test runs against.
Package testutil provides the Postgres a DB-backed test runs against.
Package webhooks sends signed events to endpoints that owners register.
Package webhooks sends signed events to endpoints that owners register.
Package worker implements the eval queue worker's run loop: claim, materialise, evaluate, report.
Package worker implements the eval queue worker's run loop: claim, materialise, evaluate, report.
Package workers records each eval worker's check-in and tells the owner whether it is online and on the common sandbox image.
Package workers records each eval worker's check-in and tells the owner whether it is online and on the common sandbox image.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL