pkg/

directory
v0.0.0-...-3d60dd8 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package answer is the contract a spawn puts on its own final message.
Package answer is the contract a spawn puts on its own final message.
Package api is the Operator API: viffd's HTTP surface, as the routes it serves and the requests and answers that are its own.
Package api is the Operator API: viffd's HTTP surface, as the routes it serves and the requests and answers that are its own.
Package charterfile is how a charter is read back and handed in, by `viff charter`, viff mcp's viff_charter and viff_charter_check, and the viff system's viff-charter-get and viff-charter-check alike: one way to read GET /charter's tree as the files that install it, to list what is installed, and to read a text of charters, so a task reads the charters as its owner would.
Package charterfile is how a charter is read back and handed in, by `viff charter`, viff mcp's viff_charter and viff_charter_check, and the viff system's viff-charter-get and viff-charter-check alike: one way to read GET /charter's tree as the files that install it, to list what is installed, and to read a text of charters, so a task reads the charters as its owner would.
Package client is how a program outside the viff instance talks to one: the operator API over HTTP, in the wire format, stamped with who is asking and which contract it speaks.
Package client is how a program outside the viff instance talks to one: the operator API over HTTP, in the wire format, stamped with who is asking and which contract it speaks.
Package codec is the one place in viff that knows about serialization formats.
Package codec is the one place in viff that knows about serialization formats.
Package entity is the viff instance as ONE DOCUMENT: a tony tree, addressed by kinded paths.
Package entity is the viff instance as ONE DOCUMENT: a tony tree, addressed by kinded paths.
entitytest
Package entitytest opens entity stores for tests.
Package entitytest opens entity stores for tests.
Package exprs answers, without the values, what go-tony evaluates in a charter's strings: which expressions a string holds, and which names each one reads.
Package exprs answers, without the values, what go-tony evaluates in a charter's strings: which expressions a string holds, and which names each one reads.
Package idptest is an OpenID Connect identity provider for tests: discovery, a JWKS, and id_tokens minted with whatever claims a test asks for, signed with a key it generates.
Package idptest is an OpenID Connect identity provider for tests: discovery, a JWKS, and id_tokens minted with whatever claims a test asks for, signed with a key it generates.
io
github
Package github reflects the collaboration around a repository — its issues, pull requests, discussions, Actions runs and comments — into the `github:*` slice of the entity-viff.
Package github reflects the collaboration around a repository — its issues, pull requests, discussions, Actions runs and comments — into the `github:*` slice of the entity-viff.
iod
Package iod serves the viff-facing source contract over HTTP, so a Source can be a program somebody deploys rather than a library viff has to be built with.
Package iod serves the viff-facing source contract over HTTP, so a Source can be a program somebody deploys rather than a library viff has to be built with.
linear
Package linear reflects Linear teams — their issues and cycles — into the `linear:*` slice of the entity-viff.
Package linear reflects Linear teams — their issues and cycles — into the `linear:*` slice of the entity-viff.
slack
Package slack reflects a Slack workspace into the `slack:*` slice of the entity-viff.
Package slack reflects a Slack workspace into the `slack:*` slice of the entity-viff.
Package launch is the wire form of an action: a declarative, serializable description of a task to launch when a trigger fires — the "action as data", not a Go closure.
Package launch is the wire form of an action: a declarative, serializable description of a task to launch when a trigger fires — the "action as data", not a Go closure.
Package mirror reflects a running Task's state into the entity-viff as a task:instance:<id> entity — one-way, index-not-warehouse.
Package mirror reflects a running Task's state into the entity-viff as a task:instance:<id> entity — one-way, index-not-warehouse.
Package runner is the Runner API: the contract between viff and a runner, as the routes a runner serves and the requests and answers that are its own.
Package runner is the Runner API: the contract between viff and a runner, as the routes a runner serves and the requests and answers that are its own.
client
Package client is viff's HTTP client of a runner: an httpRunner drives a runner at a base URL over the Runner API (package runner), so the engine runs a task wherever a runner serves it: beside viff, on another host, on k8s.
Package client is viff's HTTP client of a runner: an httpRunner drives a runner at a base URL over the Runner API (package runner), so the engine runs a task wherever a runner serves it: beside viff, on another host, on k8s.
runnerd
Package runnerd hosts a runner: the tasks it runs, and what it offers.
Package runnerd hosts a runner: the tasks it runs, and what it offers.
runnerd/apt
Package apt wraps the Debian package manager as the runner's install wrapper: it resolves a package's dependency closure against the signed index of the repositories the operator trusts, reads the fetch plan, fetches each package by the index's SHA256, extracts it with none of its own scripts run, and assembles a self-contained prefix for the cellar under the runpath discipline — `$ORIGIN/../lib` on each executable, `$ORIGIN` on each bundled library, so the prefix runs with no LD_LIBRARY_PATH and collides with nothing.
Package apt wraps the Debian package manager as the runner's install wrapper: it resolves a package's dependency closure against the signed index of the repositories the operator trusts, reads the fetch plan, fetches each package by the index's SHA256, extracts it with none of its own scripts run, and assembles a self-contained prefix for the cellar under the runpath discipline — `$ORIGIN/../lib` on each executable, `$ORIGIN` on each bundled library, so the prefix runs with no LD_LIBRARY_PATH and collides with nothing.
runnerd/calltool
Package calltool is how a PROGRAM in a task's workspace calls the task's tools: `question-ask`, `git-push`, `git-fetch`, `github-create-pr`, `github-update-pr`, `github-list-prs`, `github-read-pr`, `github-comment-pr`, `github-reply-comment`, and whatever the runner offers next.
Package calltool is how a PROGRAM in a task's workspace calls the task's tools: `question-ask`, `git-push`, `git-fetch`, `github-create-pr`, `github-update-pr`, `github-list-prs`, `github-read-pr`, `github-comment-pr`, `github-reply-comment`, and whatever the runner offers next.
runnerd/cellar
Package cellar keeps the prefixes a runner has installed: one directory per package and version, immutable once written, shared across tasks.
Package cellar keeps the prefixes a runner has installed: one directory per package and version, immutable once written, shared across tasks.
runnerd/claude
Package claude is the claude agent: Anthropic's Claude Code as a viff task, with every command, every edit and every question it proposes decided by the task's autonomy and shown on the read plane.
Package claude is the claude agent: Anthropic's Claude Code as a viff task, with every command, every edit and every question it proposes decided by the task's autonomy and shown on the read plane.
runnerd/codex
Package codex is the codex agent: OpenAI's Codex as a viff task, with every command and every patch it proposes decided by the task's autonomy and shown on the read plane.
Package codex is the codex agent: OpenAI's Codex as a viff task, with every command and every patch it proposes decided by the task's autonomy and shown on the read plane.
runnerd/delivery
Package delivery is how a task's work leaves the sandbox: a push is a CAPABILITY the runner holds and the task may ask it to exercise, and the runner exercises it.
Package delivery is how a task's work leaves the sandbox: a push is a CAPABILITY the runner holds and the task may ask it to exercise, and the runner exercises it.
runnerd/mcpclient
Package mcpclient is the runner's side of the mcp system: the client that calls remote MCP servers for a task.
Package mcpclient is the runner's side of the mcp system: the client that calls remote MCP servers for a task.
runnerd/runnerdtest
Package runnerdtest serves a runner for a test: a builder's tasks behind the task-control contract, over HTTP, proving itself to a viff instance with a static token as a registered runner does.
Package runnerdtest serves a runner for a test: a builder's tasks behind the task-control contract, over HTTP, proving itself to a viff instance with a static token as a registered runner does.
runnerd/secretstore
Package secretstore is the runner's secret store: a directory the deployment mounts, one file to a secret, the file's name the secret's name.
Package secretstore is the runner's secret store: a directory the deployment mounts, one file to a secret, the file's name the secret's name.
runnerd/stock
Package stock is the runner viff ships, built on package runnerd: it offers the agents its configuration names under `agents:` (viff's own, package viff; codex; claude) and, where it has a `script:` section, scripts.
Package stock is the runner viff ships, built on package runnerd: it offers the agents its configuration names under `agents:` (viff's own, package viff; codex; claude) and, where it has a `script:` section, scripts.
runnerd/viff
Package viff is the viff agent, viff's own: an LLM agent on top of the viff task loop, an OpenAI-compatible Chat Completions driver (served via Portkey), a filesystem executor confined to a working directory, under the launch's gates.
Package viff is the viff agent, viff's own: an LLM agent on top of the viff task loop, an OpenAI-compatible Chat Completions driver (served via Portkey), a filesystem executor confined to a working directory, under the launch's gates.
runnerd/viff/modeltest
Package modeltest serves a SCRIPTED model on the wire the llm driver speaks (OpenAI-compatible Chat Completions, pkg/runner/runnerd/viff/llm.go), so a test outside package viff can run a real task — a real loop, real tools, a real answer contract — against a model whose every reply the test decides.
Package modeltest serves a SCRIPTED model on the wire the llm driver speaks (OpenAI-compatible Chat Completions, pkg/runner/runnerd/viff/llm.go), so a test outside package viff can run a real task — a real loop, real tools, a real answer contract — against a model whose every reply the test decides.
runnerd/workspace
Package workspace is a task's git working directory: every repository a launch names, cloned off a mirror the runner keeps, side by side under one root, each on the task's own branch.
Package workspace is a task's git working directory: every repository a launch names, cloned off a mirror the runner keeps, side by side under one root, each on the task's own branch.
Package schedule is what a schedule is in the store: a record in viff's own half that holds its period, its phase, the instant the daemon is armed against, and its standing tick.
Package schedule is what a schedule is in the store: a record in viff's own half that holds its period, its phase, the instant the daemon is armed against, and its standing tick.
Package systems is the systems a task acts on, each described once, as data: `git`, `github`, `git-issue`, `github-issue`, `linear-issue`, `slack`, `question`, and the three a runner intercepts inside a run, `files`, `commands` and `agent`.
Package systems is the systems a task acts on, each described once, as data: `git`, `github`, `git-issue`, `github-issue`, `linear-issue`, `slack`, `question`, and the three a runner intercepts inside a run, `files`, `commands` and `agent`.
systemstest
Package systemstest is ceilings for tests.
Package systemstest is ceilings for tests.
Package task is the governed-task substrate for viff: a running unit of work whose actions pass an inter-action boundary, where the steps a gate names (StepOf) ask a person first, through a late-bound, substitutable resolver.
Package task is the governed-task substrate for viff: a running unit of work whose actions pass an inter-action boundary, where the steps a gate names (StepOf) ask a person first, through a late-bound, substitutable resolver.
tasktest
Package tasktest is a conformance suite for producers of task.Snapshot.
Package tasktest is a conformance suite for producers of task.Snapshot.
Package verbs is the viff verbs an agent is offered twice, defined once: by `viff mcp`, to an agent acting as you (viff_data), and by a runner's viff system, to a task acting as the person it runs for (viff-data-get).
Package verbs is the viff verbs an agent is offered twice, defined once: by `viff mcp`, to an agent acting as you (viff_data), and by a runner's viff system, to a task acting as the person it runs for (viff-data-get).

Jump to

Keyboard shortcuts

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