Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
p7
command
Command p7 is a thin entry point.
|
Command p7 is a thin entry point. |
|
p7-worker
command
Command p7-worker is a thin entry point.
|
Command p7-worker is a thin entry point. |
|
p7acpshim
command
Command p7acpshim is a thin entry point.
|
Command p7acpshim is a thin entry point. |
|
pkg
|
|
|
domain
Package domain holds the plain types that cross a process boundary in protocol7: activity inputs and results, session events and stream frames.
|
Package domain holds the plain types that cross a process boundary in protocol7: activity inputs and results, session events and stream frames. |
|
domain/navi
Package navi is the contract between navi, the platform's web UI, and an app's selfdev worker.
|
Package navi is the contract between navi, the platform's web UI, and an app's selfdev worker. |
|
domain/scope
Package scope is what a chat may do on GitHub: a project, its repositories and GitHub App permissions.
|
Package scope is what a chat may do on GitHub: a project, its repositories and GitHub App permissions. |
|
execution/acpshim
Package acpshim is protocol7's ACP shim: one detached process per agent session that starts the agent harness, owns its process group, serves ACP on a unix socket in the session's shim directory and journals every frame.
|
Package acpshim is protocol7's ACP shim: one detached process per agent session that starts the agent harness, owns its process group, serves ACP on a unix socket in the session's shim directory and journals every frame. |
|
execution/artifact
Package artifact keeps the files that should not be in git, such as mockups, reference code, screenshots and reports, in a bucket of their own, and shares them across chats and jobs by reference.
|
Package artifact keeps the files that should not be in git, such as mockups, reference code, screenshots and reports, in a bucket of their own, and shares them across chats and jobs by reference. |
|
execution/design
Package design is the design board of a chat: a directory in one of the chat's clones that holds web pages and a board.json, which lays the pages out as artboards.
|
Package design is the design board of a chat: a directory in one of the chat's clones that holds web pages and a board.json, which lays the pages out as artboards. |
|
execution/journal
Package journal decodes a session's journal, the ordered record of the JSON-RPC messages that crossed its ACP connection, into session events.
|
Package journal decodes a session's journal, the ordered record of the JSON-RPC messages that crossed its ACP connection, into session events. |
|
execution/kubeop
Package kubeop places a short-lived Kubernetes credential in a session's workspace.
|
Package kubeop places a short-lived Kubernetes credential in a session's workspace. |
|
execution/session
Package session runs agent sessions on the host backend: one directory per session that holds its workspace, its shim and its record.
|
Package session runs agent sessions on the host backend: one directory per session that holds its workspace, its shim and its record. |
|
execution/snapshot
Package snapshot keeps a copy of a session's directory in S3-compatible object storage, so that a session whose machine or pod is lost can go on on another.
|
Package snapshot keeps a copy of a session's directory in S3-compatible object storage, so that a session whose machine or pod is lost can go on on another. |
|
execution/snapshot/snapshottest
Package snapshottest is an in-process S3 server for tests of code that keeps snapshots.
|
Package snapshottest is an in-process S3 server for tests of code that keeps snapshots. |
|
orchestration/activity
Package activity holds the activities of the core worker.
|
Package activity holds the activities of the core worker. |
|
orchestration/build
Package build is the contract between a tenant's workflows and its image builder (protocol7-selfdev docs/image-builder.md).
|
Package build is the contract between a tenant's workflows and its image builder (protocol7-selfdev docs/image-builder.md). |
|
orchestration/chat
Package chat is the base chat of a p7 app: one workflow per conversation between a person and an agent session that works in clones of repositories.
|
Package chat is the base chat of a p7 app: one workflow per conversation between a person and an agent session that works in clones of repositories. |
|
orchestration/coreworker
Package coreworker is the core Temporal worker of one machine: it serves the session activities for the host backend on the queue local-<host>.
|
Package coreworker is the core Temporal worker of one machine: it serves the session activities for the host backend on the queue local-<host>. |
|
orchestration/kubernetes
Package kubernetes is the kubernetes backend: one pod per session, or the worker pods of a pool that many sessions share (see pool.go).
|
Package kubernetes is the kubernetes backend: one pod per session, or the worker pods of a pool that many sessions share (see pool.go). |
|
orchestration/learning
Package learning is the learnings log: what went wrong, why, and what worked, recorded once so that no chat finds it out again.
|
Package learning is the learnings log: what went wrong, why, and what worked, recorded once so that no chat finds it out again. |
|
orchestration/learning/learningtest
Package learningtest is an in-memory learnings log behind a Temporal client mock, so that tests of an app's tools, prompts and navi's page run against the real Store.
|
Package learningtest is an in-memory learnings log behind a Temporal client mock, so that tests of an app's tools, prompts and navi's page run against the real Store. |
|
orchestration/panel
Package panel runs a panel of participants through rounds of independent and then mutual work, inside one workflow.
|
Package panel runs a panel of participants through rounds of independent and then mutual work, inside one workflow. |
|
orchestration/rollout
Package rollout makes a worker build the deployment's current version.
|
Package rollout makes a worker build the deployment's current version. |
|
orchestration/upgrade
Package upgrade is how the long-lived workflows (chat, issue and review) leave a worker build that is being replaced.
|
Package upgrade is how the long-lived workflows (chat, issue and review) leave a worker build that is being replaced. |
|
p7
Package p7 is the protocol7 library.
|
Package p7 is the protocol7 library. |
|
p7/p7fx
Package p7fx composes protocol7 processes with go.uber.org/fx.
|
Package p7fx composes protocol7 processes with go.uber.org/fx. |
|
support/config
Package config reads a command's settings from a YAML file.
|
Package config reads a command's settings from a YAML file. |
|
support/embedding
Package embedding is a client for an OpenAI-compatible /v1/embeddings server, such as llama.cpp's llama-server running Qwen3-Embedding, and the vector helpers that go with it.
|
Package embedding is a client for an OpenAI-compatible /v1/embeddings server, such as llama.cpp's llama-server running Qwen3-Embedding, and the vector helpers that go with it. |
|
support/ids
Package ids makes identifiers for sessions, turns and other records.
|
Package ids makes identifiers for sessions, turns and other records. |
|
support/prompt
Package prompt builds model prompts: markdown sections, paragraphs written as indented raw strings, bullet lists, fenced untrusted text and text/template placeholders ({{.name}}), without strings.Builder and fmt.Fprintf boilerplate.
|
Package prompt builds model prompts: markdown sections, paragraphs written as indented raw strings, bullet lists, fenced untrusted text and text/template placeholders ({{.name}}), without strings.Builder and fmt.Fprintf boilerplate. |
|
transport/cli
Package cli holds the commands of the p7 and p7-worker binaries.
|
Package cli holds the commands of the p7 and p7-worker binaries. |
|
transport/egress
Package egress sends a process's own HTTP requests through PDP with the process's SPIFFE identity, with no forwarder container in the pod.
|
Package egress sends a process's own HTTP requests through PDP with the process's SPIFFE identity, with no forwarder container in the pod. |
|
transport/githubapi
Package githubapi makes GitHub REST calls with an installation token.
|
Package githubapi makes GitHub REST calls with an installation token. |
|
transport/githubapp
Package githubapp keeps a short-lived GitHub App installation token in a file.
|
Package githubapp keeps a short-lived GitHub App installation token in a file. |
|
transport/hooks
Package hooks reads verified GitHub and Linear webhook deliveries from the webhook bus, a JetStream stream that the protocol7-selfdev receiver fills.
|
Package hooks reads verified GitHub and Linear webhook deliveries from the webhook bus, a JetStream stream that the protocol7-selfdev receiver fills. |
|
transport/linear
Package linear calls Linear's GraphQL API.
|
Package linear calls Linear's GraphQL API. |
|
transport/navichat
Package navichat drives navi chats over A2A from a person's own machine.
|
Package navichat drives navi chats over A2A from a person's own machine. |
|
transport/stream
Package stream carries session journal frames to viewers over NATS JetStream.
|
Package stream carries session journal frames to viewers over NATS JetStream. |
Click to show internal directories.
Click to hide internal directories.