wloop

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0

README

wloop

CI OpenSSF Scorecard

A work loop for what reaches you on GitHub and Slack: AI coding agents run your reviews, follow-ups and replies in local worktrees, and every behavior and text lives in a profile you can read and change.

Handing a review to an agent is one command. Everything after it is manual: noticing that the author answered, finding the worktree again, moving it to the new head, asking the agent for the next round, keeping track of which of your own pull requests and Slack threads wait on you and which wait on someone else. With a dozen reviews, a few pull requests of your own and the threads around them in flight, that bookkeeping is most of the work. This tool does the bookkeeping and leaves you the decisions.

Documentation: https://wloophq.github.io/wloop/

Features

  • Review rounds in their own worktree. wloop review <url> opens a worktree at the pull request's head and starts an agent on a review judged by your review profile. When the author pushes, replies or re-requests you, the next round goes to the same worktree on its own.
  • Your own pull requests, addressed. When reviews or failing checks arrive on a pull request you develop, an address round triages them: it verifies each comment in the code, applies what holds, replies, and asks for the next look.
  • Questions come back to you. Every round ends with a record: done, a question for you, or what broke. The agent is instructed to hold its draft and ask when it is unsure, touches a risky surface or would contradict another reviewer; otherwise it publishes on GitHub itself, as you. You answer from the cockpit, the terminal client or a notification, and the answer reaches the agent's session. Slack drafts wait in the Outbox for your approval by default.
  • One inbox for what you owe. Review requests, changes requested on your pull requests and, optionally, Slack threads that ask something of you become items with Inbox, Next, Waiting and Someday lists.
  • Your judgment, written down. A review profile is a directory of Markdown blocks: what to look for, labels, voice, per organization, repository or author. The bundled profile is a neutral starting point.
  • Automatic behavior as rules you can read. What runs on its own (follow-up rounds, nudges, closing a settled thread, asking who owns an item, cleanup of finished sessions and worktrees) is a set of workflows over pull requests, Slack threads and your GTD entries. wloop plan shows what would run now and why.
  • Drafts wait for you. A reply, a nudge or a closing message the loop or an agent proposes waits in the Outbox until you approve it, unless a rule of yours lets that kind of draft go on its own or after a delay. A comment on a pull request goes out under your name only when a rule names comments, and an agent never chooses its own approval.
  • Yours to change, without code. Intents (what an agent does, where, with which instructions), workflows (when it runs), their texts and the labels and summaries the clients show all live in the profile. A file of yours replaces a bundled one, and an intent you add is a command: wloop <intent> <url>. The language reference lists every word the profile files and the configuration take.

Requirements

  • macOS (the menu bar, notifications and background service) or Linux (run wloop serve under your init system).
  • A workspace manager: Claude Desktop, Orca (running), or both. It hosts the worktrees and the agent sessions; Orca also provides the board. wloop serves both at once.
  • Claude Code.
  • gh, authenticated, and git.

Install

brew install wloophq/tap/wloop
wloop init

init checks the requirements, asks where your projects live, what to follow and which profile to use, offers to connect Slack, installs the agent hooks and skills and, on macOS, the menu bar app and its background service. Run it again at any time to change an answer.

After brew upgrade, run wloop install and, on macOS, wloop app install again.

wloop uninstall takes out the app, the background service and the agent hooks and skills, and keeps your config and data; --purge deletes those too.

Commands

Command What it does
wloop review <url> [guidance] Start or continue a review of someone else's pull request
wloop address <url> [guidance] Triage the reviews and failing checks of a pull request you develop
wloop take-over <url> Make a pull request someone else opened yours to develop
wloop nudge <url> [guidance] Ask whoever a pull request waits on for the next step, in one comment
wloop <intent> <target> [guidance] Run any intent of your profile on a pull request, a Slack thread or another unit it serves
wloop outbox The drafts that wait for your approval
wloop status What waits on you, then what is stalled, yours and in the loop
wloop tui The same views in the terminal, with one-key actions
wloop open The web cockpit
wloop plan What the workflows would do now, and why
wloop profile try <url> What a review would publish with your profile, without publishing
wloop doctor Diagnose the setup without changing anything

wloop --help lists every command. The command reference has the rest.

Development

make test    # go test -race ./...
make lint    # gofmt and golangci-lint
make build   # binary in ./bin

License

Apache 2.0. See LICENSE.

Directories

Path Synopsis
cmd
wloop command
The command closes the loop between GitHub pull requests and AI coding agents running in local worktrees.
The command closes the loop between GitHub pull requests and AI coding agents running in local worktrees.
internal
adapter/agent/claude
Package claude is the Claude Code agent.
Package claude is the Claude Code agent.
adapter/agent/echo
Package echo is a test-only agent: its sessions answer typed prompts with scripted records, through the same calls a real session makes.
Package echo is a test-only agent: its sessions answer typed prompts with scripted records, through the same calls a real session makes.
adapter/claudedesktop
Package claudedesktop puts the Claude Desktop app's sessions behind the core's ports.
Package claudedesktop puts the Claude Desktop app's sessions behind the core's ports.
adapter/dossier
Package dossier keeps the dossiers' files, their git history and their archives under the state directory.
Package dossier keeps the dossiers' files, their git history and their archives under the state directory.
adapter/facts/entry
Package factentry puts the GTD entries behind the engine's Units, as the core-kept entry provider: every entry neither done nor in the trash, of providers whose plugin is enabled, with its facts in slot entry.
Package factentry puts the GTD entries behind the engine's Units, as the core-kept entry provider: every entry neither done nor in the trash, of providers whose plugin is enabled, with its facts in slot entry.
adapter/facts/github
Package factsgithub is the github source's workflow facts: the pull requests a sweep plans over, as automation.Units, and their author facts, as views.Facts.
Package factsgithub is the github source's workflow facts: the pull requests a sweep plans over, as automation.Units, and their author facts, as views.Facts.
adapter/facts/session
Package factsession puts the agent sessions behind the engine's Units: the open sessions of the turn registry, active or dormant, with their facts in slot session.
Package factsession puts the agent sessions behind the engine's Units: the open sessions of the turn registry, active or dormant, with their facts in slot session.
adapter/facts/slack
Package factslack puts the Slack units the extraction stores behind the engine's Units, the Slack plugin's workflow facts (Module.Facts): every Slack unit a live entry is attached to, with its facts in slot slack.
Package factslack puts the Slack units the extraction stores behind the engine's Units, the Slack plugin's workflow facts (Module.Facts): every Slack unit a live entry is attached to, with its facts in slot slack.
adapter/facts/workspace
Package factworkspace provides the workflow facts of the workspaces the workspace manager lists, from its snapshot, the stored pull requests and local git reads that reach no network.
Package factworkspace provides the workflow facts of the workspaces the workspace manager lists, from its snapshot, the stored pull requests and local git reads that reach no network.
adapter/facts/workspace/factworkspacetest
Package factworkspacetest holds fakes for the workspace facts provider.
Package factworkspacetest holds fakes for the workspace facts provider.
adapter/gitcheck
Package gitcheck reads what removing a checkout would lose, through git and the file system.
Package gitcheck reads what removing a checkout would lose, through git and the file system.
adapter/orca
Package orca puts Orca's sessions and board behind the core's ports.
Package orca puts Orca's sessions and board behind the core's ports.
adapter/source/fakethread
Package fakethread is a provider of chat threads for tests: a unit codec and a rows provider whose rows carry no payload.
Package fakethread is a provider of chat threads for tests: a unit codec and a rows provider whose rows carry no payload.
adapter/source/github
Package ghsource keeps the inventory in step with GitHub: a cheap fast sweep that reads only what changed and a slow sweep that rebuilds the scope and catches what the searches no longer return.
Package ghsource keeps the inventory in step with GitHub: a cheap fast sweep that reads only what changed and a slow sweep that rebuilds the scope and catches what the searches no longer return.
adapter/source/github/ghsourcetest
Package ghsourcetest holds the GitHub plugin's synthetic rows: one per situation kind, viewer's or others' pull request, in or out of scope, muted or not, each derived by prrow's real deriver.
Package ghsourcetest holds the GitHub plugin's synthetic rows: one per situation kind, viewer's or others' pull request, in or out of scope, muted or not, each derived by prrow's real deriver.
adapter/source/slack
Package slack is the Slack source: ingestion, rows, cards and the plugin's capabilities.
Package slack is the Slack source: ingestion, rows, cards and the plugin's capabilities.
adapter/source/slack/eval
Package eval measures the Slack extractor: an oracle reads a conversation and writes the viewer's briefing, a blind reader writes the same briefing from the extractor's ledger alone, and a judge with the conversation compares them.
Package eval measures the Slack extractor: an oracle reads a conversation and writes the viewer's briefing, a blind reader writes the same briefing from the extractor's ledger alone, and a judge with the conversation compares them.
adapter/source/slack/extract
Package extract turns a Slack conversation window into items ledger ops through one agent call.
Package extract turns a Slack conversation window into items ledger ops through one agent call.
adapter/source/slack/rows
Package slackrows serves Slack units as read model rows: threads and DM segments with their extraction verdict and open items.
Package slackrows serves Slack units as read model rows: threads and DM segments with their extraction verdict and open items.
adapter/store/inventory
Package inventory stores the pull requests in scope, their event history and the user's overrides in SQLite.
Package inventory stores the pull requests in scope, their event history and the user's overrides in SQLite.
adapter/store/sqlite
Package sqlite is the loop's one store: a SQLite database with one versioned schema that every repository shares.
Package sqlite is the loop's one store: a SQLite database with one versioned schema that every repository shares.
adapter/store/sqlite/sqlitetest
Package sqlitetest seeds a store with raw SQL in tests.
Package sqlitetest seeds a store with raw SQL in tests.
adapter/store/storetest
Package storetest opens stores for tests: empty, or seeded with a deterministic history the size of the user's live store.
Package storetest opens stores for tests: empty, or seeded with a deterministic history the size of the user's live store.
adapter/view/testsink
Package testsink is a test-only view sink: every status is its own column.
Package testsink is a test-only view sink: every status is its own column.
api
Package api is the schema every client of the daemon speaks: its version, its headers and the wire types it decodes.
Package api is the schema every client of the daemon speaks: its version, its headers and the wire types it decodes.
api/client
Package client is the Go client of the daemon's API, over its Unix socket.
Package client is the Go client of the daemon's API, over its Unix socket.
archtest/cmd/rulesdoc command
Command rulesdoc prints the architecture rules reference page, read from the test sources of internal/archtest.
Command rulesdoc prints the architecture rules reference page, read from the test sources of internal/archtest.
archtest/rulesdoc
Package rulesdoc reads the architecture rules from the test sources of internal/archtest and renders their reference page.
Package rulesdoc reads the architecture rules from the test sources of internal/archtest and renders their reference page.
backup
Package backup keeps a copy of a file the loop is about to change.
Package backup keeps a copy of a file the loop is about to change.
brand
Package brand holds the product name; every user-visible name derives from it.
Package brand holds the product name; every user-visible name derives from it.
brand/brandtest
Package brandtest keeps golden files valid under any brand.
Package brandtest keeps golden files valid under any brand.
brief
Package brief previews each pull request with one headless call of the agent: goal, context, kind, size, risk and open questions.
Package brief previews each pull request with one headless call of the agent: goal, context, kind, size, risk and open questions.
catalog
Package catalog is the action catalog: the actions a pull request's row offers, the builtin ones and the intents', derived from facts the daemon gathers.
Package catalog is the action catalog: the actions a pull request's row offers, the builtin ones and the intents', derived from facts the daemon gathers.
cli
Package cli implements the subcommands.
Package cli implements the subcommands.
client/harness
Package harness is what a client reads from the coding agent and the workspace manager that run it: the agent's hook payloads and the session's identity in its environment.
Package harness is what a client reads from the coding agent and the workspace manager that run it: the agent's hook payloads and the session's identity in its environment.
client/hook
Package hook runs the agent's SessionStart, Stop and prompt hooks and its MCP headers helper.
Package hook runs the agent's SessionStart, Stop and prompt hooks and its MCP headers helper.
client/menubar
Package menubar is the menu bar and notification layer as a client of the daemon's JSON: it decides the title, the menu and the notifications, and turns the user's answers into daemon actions.
Package menubar is the menu bar and notification layer as a client of the daemon's JSON: it decides the title, the menu and the notifications, and turns the user's answers into daemon actions.
client/rowset
Package rowset keeps a client's copy of the daemon's rows, merged from the pages of GET /api/rows.
Package rowset keeps a client's copy of the daemon's rows, merged from the pages of GET /api/rows.
client/tui
Package tui is the terminal view of the daemon: the GTD views of its entries, the plugins' views of their units and the workflows' plan, with the keys of #keys.
Package tui is the terminal view of the daemon: the GTD views of its entries, the plugins' views of their units and the workflows' plan, with the keys of #keys.
client/turncli
Package turncli is the agent's command line for its turn: `turn end` records how the turn ended, `turn answer` reads the user's answer.
Package turncli is the agent's command line for its turn: `turn end` records how the turn ended, `turn answer` reads the user's answer.
config
Package config loads the user's settings and locates the state directory.
Package config loads the user's settings and locates the state directory.
core/automation
Package automation is the engine that plans and runs workflows over units.
Package automation is the engine that plans and runs workflows over units.
core/automation/automationtest
Package automationtest holds in-memory fakes of the engine's ports and the contract suites every implementation runs.
Package automationtest holds in-memory fakes of the engine's ports and the contract suites every implementation runs.
core/change
Package change is the daemon's change log: a generation that every committed write and every in-memory input owner advances, with the topics and units each change touched.
Package change is the daemon's change log: a generation that every committed write and every in-memory input owner advances, with the topics and units each change touched.
core/dossiers
Package dossiers keeps the lifecycle of the unit and project dossiers.
Package dossiers keeps the lifecycle of the unit and project dossiers.
core/gtd
Package gtd is the GTD service: entries derived from items, captured by the user or opened by other services, and the verbs that move them.
Package gtd is the GTD service: entries derived from items, captured by the user or opened by other services, and the verbs that move them.
core/gtd/gtdtest
Package gtdtest holds an in-memory entry store and the contract suite every entry store passes.
Package gtdtest holds an in-memory entry store and the contract suite every entry store passes.
core/headless
Package headless runs a turn as one restricted agent call, with no session.
Package headless runs a turn as one restricted agent call, with no session.
core/ingest
Package ingest drives a source: discovery, change detection by object version, detail reads of what moved, and saves through the source's store.
Package ingest drives a source: discovery, change detection by object version, detail reads of what moved, and saves through the source's store.
core/ingest/ingesttest
Package ingesttest is a fake "thread" provider for driving ingest: a conversation service, a budgeted client, its Source and its SourceStore.
Package ingesttest is a fake "thread" provider for driving ingest: a conversation service, a budgeted client, its Source and its SourceStore.
core/instructions
Package instructions is what a turn's instructions carry from the loop's book: the earlier turns and, for a resume turn, what the stopped session left.
Package instructions is what a turn's instructions carry from the loop's book: the earlier turns and, for a resume turn, what the stopped session left.
core/intake
Package intake runs a turn a user asks for: the request is accepted with a number at once, waits for the first turn's brief, then starts the turn.
Package intake runs a turn a user asks for: the request is accepted with a number at once, waits for the first turn's brief, then starts the turn.
core/intake/intaketest
Package intaketest holds in-memory fakes of the intake ports.
Package intaketest holds in-memory fakes of the intake ports.
core/items
Package items is the items ledger: the only writer of a unit's items.
Package items is the items ledger: the only writer of a unit's items.
core/links
Package links resolves linked items from events on the units they link to.
Package links resolves linked items from events on the units they link to.
core/messages
Package messages keeps the Inbox messages: questions of turns, agent posts and proposals that ask a decision.
Package messages keeps the Inbox messages: questions of turns, agent posts and proposals that ask a decision.
core/messages/messagestest
Package messagestest holds an in-memory message store and the contract every message store meets.
Package messagestest holds an in-memory message store and the contract every message store meets.
core/outbox
Package outbox keeps the drafts the loop proposes and publishes the ones the user, or their approval policy, approved.
Package outbox keeps the drafts the loop proposes and publishes the ones the user, or their approval policy, approved.
core/outbox/outboxtest
Package outboxtest holds fakes of the Outbox's ports.
Package outboxtest holds fakes of the Outbox's ports.
core/placement
Package placement decides where a unit's work happens.
Package placement decides where a unit's work happens.
core/port
Package port holds what every core package's ports share: the event a save writes, the clock and the publisher.
Package port holds what every core package's ports share: the event a save writes, the clock and the publisher.
core/proposals
Package proposals is the job that proposes what each enabled plugin proposes on its own units, such as GitHub's nudge.
Package proposals is the job that proposes what each enabled plugin proposes on its own units, such as GitHub's nudge.
core/setup
Package setup checks, installs and removes what the loop needs in the configuration homes of the coding agents.
Package setup checks, installs and removes what the loop needs in the configuration homes of the coding agents.
core/sweep
Package sweep holds the inputs a sweep plans from, as ports: the stored pull requests, the workspace snapshot, the turn books, the round state and the local checkouts.
Package sweep holds the inputs a sweep plans from, as ports: the stored pull requests, the workspace snapshot, the turn books, the round state and the local checkouts.
core/turns
Package turns holds the core of a turn and the ports it drives.
Package turns holds the core of a turn and the ports it drives.
core/turns/turnstest
Package turnstest holds the fakes of the turns ports and the contracts every implementation passes.
Package turnstest holds the fakes of the turns ports and the contracts every implementation passes.
core/usage
Package usage reads the tokens each ended turn spent, through the reader of the turn's agent, and stores them once.
Package usage reads the tokens each ended turn spent, through the reader of the turn's agent, and stores them once.
core/views
Package views projects every pull request's item view to the sinks that show it.
Package views projects every pull request's item view to the sinks that show it.
core/views/viewstest
Package viewstest holds the contracts every views port implementation passes, and the fakes the core's tests use.
Package viewstest holds the contracts every views port implementation passes, and the fakes the core's tests use.
core/workspaces
Package workspaces removes and unregisters workspaces, refusing whatever would lose work.
Package workspaces removes and unregisters workspaces, refusing whatever would lose work.
core/workspaces/workspacestest
Package workspacestest holds the fakes of the workspaces ports, the checkouts they stand for, and the contracts every implementation passes.
Package workspacestest holds the fakes of the workspaces ports, the checkouts they stand for, and the contracts every implementation passes.
daemon
Package daemon is the resident process behind the serve command: it runs the collector and the sweep on a schedule and serves the API on a Unix socket and on a token-guarded localhost port.
Package daemon is the resident process behind the serve command: it runs the collector and the sweep on a schedule and serves the API on a Unix socket and on a token-guarded localhost port.
designtokens
Package designtokens reads design/tokens.json, the platform-neutral source of the visual tokens, and renders the cockpit's CSS custom properties from it.
Package designtokens reads design/tokens.json, the platform-neutral source of the visual tokens, and renders the cockpit's CSS custom properties from it.
designtokens/cmd/gencss command
Command gencss writes the stylesheets generated from tokens.json: the token region of the cockpit's app.css, then the design system's bundle.css.
Command gencss writes the stylesheets generated from tokens.json: the token region of the cockpit's app.css, then the design system's bundle.css.
domain/card
Package card holds a unit's card: what a plugin shows of one unit.
Package card holds a unit's card: what a plugin shows of one unit.
domain/change
Package change holds the rules that decide what a change to a pull request calls for: a follow-up, a triage round, a board move.
Package change holds the rules that decide what a change to a pull request calls for: a follow-up, a triage round, a board move.
domain/dossier
Package dossier holds the working files the loop keeps per unit or project.
Package dossier holds the working files the loop keeps per unit or project.
domain/draft
Package draft holds the Outbox drafts: posts the loop proposes and the user approves before they reach a provider.
Package draft holds the Outbox drafts: posts the loop proposes and the user approves before they reach a provider.
domain/duration
Package duration is the one grammar of durations in manifests, the configuration, step arguments and the API: a Go duration or <n>d, positive.
Package duration is the one grammar of durations in manifests, the configuration, step arguments and the API: a Go duration or <n>d, positive.
domain/event
Package event holds the natural keys of GitHub events that the collector and the store write, and the layout of an event's time.
Package event holds the natural keys of GitHub events that the collector and the store write, and the layout of an event's time.
domain/facet
Package facet lists the closed values a brief gives a pull request.
Package facet lists the closed values a brief gives a pull request.
domain/github
Package github holds the values the GitHub client reads and the budget its callers spend: pull request states, explore candidates, rate limits and the priority a call is tagged with.
Package github holds the values the GitHub client reads and the budget its callers spend: pull request states, explore candidates, rate limits and the priority a call is tagged with.
domain/gtd
Package gtd holds the GTD entries and their pure rules.
Package gtd holds the GTD entries and their pure rules.
domain/intent
Package intent holds the definition of an intent, as its manifest declares it, and the registry of every loaded intent.
Package intent holds the definition of an intent, as its manifest declares it, and the registry of every loaded intent.
domain/inventory
Package inventory holds the records the inventory stores: pull requests, their events, the user's overrides, brief records and timing records.
Package inventory holds the records the inventory stores: pull requests, their events, the user's overrides, brief records and timing records.
domain/items
Package items holds the cross-source items ledger's types.
Package items holds the cross-source items ledger's types.
domain/jsonschema
Package jsonschema validates structured agent answers against the subset of JSON Schema the profile's schemas may use: type, properties, required, additionalProperties, enum, minLength, maxLength, minItems, maxItems, items, pattern (RE2) and description.
Package jsonschema validates structured agent answers against the subset of JSON Schema the profile's schemas may use: type, properties, required, additionalProperties, enum, minLength, maxLength, minItems, maxItems, items, pattern (RE2) and description.
domain/link
Package link holds the cross-source links between units.
Package link holds the cross-source links between units.
domain/mark
Package mark holds what a unit's triggers already handled: per unit and mark name, the value of the signal a round or a workflow covered.
Package mark holds what a unit's triggers already handled: per unit and mark name, the value of the signal a round or a workflow covered.
domain/message
Package message holds the Inbox messages: questions, agent posts and proposals.
Package message holds the Inbox messages: questions, agent posts and proposals.
domain/placement
Package placement says where a unit's work happens: which repository, checkout and role.
Package placement says where a unit's work happens: which repository, checkout and role.
domain/pr
Package pr names a GitHub pull request.
Package pr names a GitHub pull request.
domain/record
Package record is how an agent says a turn of the loop ended: the state, a one-line summary, and when it stops on a question, the whole question.
Package record is how an agent says a turn of the loop ended: the state, a one-line summary, and when it stops on a question, the whole question.
domain/round
Package round holds the values of the loop's automatic rounds.
Package round holds the values of the loop's automatic rounds.
domain/shell
Package shell quotes words for a POSIX shell command line.
Package shell quotes words for a POSIX shell command line.
domain/slack
Package slack is the Slack plugin's domain: messages, deltas and the facts the source stores.
Package slack is the Slack plugin's domain: messages, deltas and the facts the source stores.
domain/tag
Package tag names what a pull request touches with key:value tags, a matching system and nothing more: nine fixed keys, each value normalized to one spelling.
Package tag names what a pull request touches with key:value tags, a matching system and nothing more: nine fixed keys, each value normalized to one spelling.
domain/turn
Package turn is the book of a pull request's turns: what the loop sent, what the agent recorded and what the user answered.
Package turn is the book of a pull request's turns: what the loop sent, what the agent recorded and what the user answered.
domain/unit
Package unit names a unit of work by its provider and the provider's key.
Package unit names a unit of work by its provider and the provider's key.
domain/usage
Package usage holds the token and cost records of an agent's turns.
Package usage holds the token and cost records of an agent's turns.
domain/view
Package view is the item view the loop projects to every sink: a semantic status, unread and a summary line, never a sink's vocabulary.
Package view is the item view the loop projects to every sink: a semantic status, unread and a summary line, never a sink's vocabulary.
domain/workday
Package workday counts time in working days, Monday to Friday.
Package workday counts time in working days, Monday to Friday.
domain/workflow
Package workflow holds a parsed workflow and what the engine plans from it: triggers, reach, plan items, runs and their idempotency keys.
Package workflow holds a parsed workflow and what the engine plans from it: triggers, reach, plan items, runs and their idempotency keys.
domain/workspace
Package workspace holds what a workspace manager reports, as values, and names its worktree as a unit.
Package workspace holds what a workspace manager reports, as values, and names its worktree as a unit.
e2e
Package e2e holds the loop's live tests, behind the live build tag, and the guards every one of their writes goes through: they touch only what the tests create in Orca and only the sandbox repository on GitHub.
Package e2e holds the loop's live tests, behind the live build tag, and the guards every one of their writes goes through: they touch only what the tests create in Orca and only the sandbox repository on GitHub.
explore
Package explore turns what the user types in Explore into one GitHub search for open pull requests to help on.
Package explore turns what the user types in Explore into one GitHub search for open pull requests to help on.
frontmatter
Package frontmatter splits a leading TOML block off a Markdown file and decodes it strictly, with positions in the file.
Package frontmatter splits a leading TOML block off a Markdown file and decodes it strictly, with positions in the file.
fsx
Package fsx holds file system helpers the adapters and the CLI share.
Package fsx holds file system helpers the adapters and the CLI share.
ghcli
Package ghcli shells out to gh, which owns authentication.
Package ghcli shells out to gh, which owns authentication.
github
Package github reads pull requests over GitHub's HTTPS API, batching every pull request of a sweep into aliased GraphQL queries.
Package github reads pull requests over GitHub's HTTPS API, batching every pull request of a sweep into aliased GraphQL queries.
github/githubtest
Package githubtest serves a github.Client from the ghcli.Runner fakes the tests already have.
Package githubtest serves a github.Client from the ghcli.Runner fakes the tests already have.
gitx
Package gitx runs the few git commands the loop needs.
Package gitx runs the few git commands the loop needs.
intent
Package intent loads intent manifests from the bundled profile and the user's layers into one registry; import it as intentload.
Package intent loads intent manifests from the bundled profile and the user's layers into one registry; import it as intentload.
intent/builtin
Package builtin is the Go vocabulary manifests name: builtins by slot, reserved names and keys, and the facts predicates read.
Package builtin is the Go vocabulary manifests name: builtins by slot, reserved names and keys, and the facts predicates read.
intent/builtin/cmd/factsdoc command
Command factsdoc prints the facts reference page: the intents' facts and the workflow facts, each grouped by slot, the draft approval facts, the workflow steps, then the draft effects.
Command factsdoc prints the facts reference page: the intents' facts and the workflow facts, each grouped by slot, the draft approval facts, the workflow steps, then the draft effects.
intent/builtin/cmd/grammardoc command
Command grammardoc writes what the grammar table derives: the JSON schemas of the profile files and the configuration, the generated tables of the manifest and configuration reference pages, and the language page.
Command grammardoc writes what the grammar table derives: the JSON schemas of the profile files and the configuration, the generated tables of the manifest and configuration reference pages, and the language page.
intent/expr
Package expr compiles and evaluates the predicates of intent and workflow manifests: CEL expressions (cel-go) over typed facts, checked at load.
Package expr compiles and evaluates the predicates of intent and workflow manifests: CEL expressions (cel-go) over typed facts, checked at load.
keys
Package keys is the one keyboard map of every surface: the core bindings and the rule plugin and intent keys follow.
Package keys is the one keyboard map of every surface: the core bindings and the rule plugin and intent keys follow.
meter
Package meter counts what a unit of the loop's work costs at its boundaries.
Package meter counts what a unit of the loop's work costs at its boundaries.
meter/metertest
Package metertest asserts what a unit of work cost, in the manner of assertNumQueries: a failure lists the samples so an N+1 shows.
Package metertest asserts what a unit of work cost, in the manner of assertNumQueries: a failure lists the samples so an N+1 shows.
procgroup
Package procgroup runs child processes that may fork, such as an agent's CLI, so that stopping the child stops what it started.
Package procgroup runs child processes that may fork, such as an agent's CLI, so that stopping the child stops what it started.
profile
Package profile composes the reviewer's guide from blocks: the loop's bundled ones, then the user's profile, each addressed by a path of the conditions under which it applies.
Package profile composes the reviewer's guide from blocks: the loop's bundled ones, then the user's profile, each addressed by a path of the conditions under which it applies.
readmodel
Package readmodel keeps every unit's row derived, encoded and revised in memory, rebuilt from one store snapshot when a row input changes.
Package readmodel keeps every unit's row derived, encoded and revised in memory, rebuilt from one store snapshot when a row input changes.
readmodel/cards
Package cards keeps the units' card snapshots and derived items current with the rows the read model publishes.
Package cards keeps the units' card snapshots and derived items current with the rows the read model publishes.
readmodel/prrow
Package prrow derives the row of a pull request from what the store, the gate and the turns say of it: the github provider of the read model.
Package prrow derives the row of a pull request from what the store, the gate and the turns say of it: the github provider of the read model.
scope
Package scope turns the configured sources into the people, teams and repositories the inventory follows, and the searches that find them.
Package scope turns the configured sources into the people, teams and repositories the inventory follows, and the searches that find them.
situation
Package situation derives who a pull request is waiting on, and since when, from its snapshot and its event history.
Package situation derives who a pull request is waiting on, and since when, from its snapshot and its event history.
slack
Package slack is a thin client for the Slack Web API.
Package slack is a thin client for the Slack Web API.
slack/auth
Package auth keeps the Slack tokens: login, refresh and the Keychain.
Package auth keeps the Slack tokens: login, refresh and the Keychain.
slack/send
Package send posts a message to Slack as the user.
Package send posts a message to Slack as the user.
slack/slacktest
Package slacktest is a fake Slack Web API for tests.
Package slacktest is a fake Slack Web API for tests.
slack/socket
Package socket keeps a Slack Socket Mode connection.
Package socket keeps a Slack Socket Mode connection.
slack/socket/sockettest
Package sockettest is a fake Slack Socket Mode server for tests.
Package sockettest is a fake Slack Socket Mode server for tests.
source
Package source is where a source registers: its unit codec, its ingestion job, its rows and its workflow facts.
Package source is where a source registers: its unit codec, its ingestion job, its rows and its workflow facts.
termfmt
Package termfmt writes text for a terminal: whether to color it, the styles and links, and the width of what it prints.
Package termfmt writes text for a terminal: whether to color it, the styles and links, and the width of what it prints.
transport/mcp
Package mcp serves the loop's MCP endpoint: streamable HTTP on localhost with JSON responses only.
Package mcp serves the loop's MCP endpoint: streamable HTTP on localhost with JSON responses only.
turn
Package turn renders what an agent reads for one turn of the loop: the context of the turn, its instructions and the prompt that points to them.
Package turn renders what an agent reads for one turn of the loop: the context of the turn, its instructions and the prompt that points to them.
web
Package web serves the cockpit's static files.
Package web serves the cockpit's static files.
workspace
Package workspace is the port between the loop and the workspace managers, the tools that host worktrees and agent sessions: Orca and Claude Desktop.
Package workspace is the port between the loop and the workspace managers, the tools that host worktrees and agent sessions: Orca and Claude Desktop.
workspace/claudedesktop
Package claudedesktop implements workspace.Manager over the Claude Desktop app: git worktrees under a root the loop owns and the ones the app made for its sessions, and the Claude Code sessions Desktop runs in them.
Package claudedesktop implements workspace.Manager over the Claude Desktop app: git worktrees under a root the loop owns and the ones the app made for its sessions, and the Claude Code sessions Desktop runs in them.
workspace/fake
Package fake is an in-memory workspace.Manager for tests.
Package fake is an in-memory workspace.Manager for tests.
workspace/orca
Package orca implements workspace.Manager over Orca's runtime socket and the orca CLI.
Package orca implements workspace.Manager over Orca's runtime socket and the orca CLI.
workspace/orca/orcatest
Package orcatest serves a fake Orca runtime on a local socket, for tests that run the real orca.Manager and count its calls.
Package orcatest serves a fake Orca runtime on a local socket, for tests that run the real orca.Manager and count its calls.
Package profiles embeds the bundled profile, the lowest layer of every profile: the judgment blocks, the intents, the workflows, the partials and the prompts.
Package profiles embeds the bundled profile, the lowest layer of every profile: the judgment blocks, the intents, the workflows, the partials and the prompts.
Package skills ships the agent skills the loop installs: a thin skill per user-facing intent that fetches a turn's instructions from the CLI, the operator skill and the one that edits the review profile.
Package skills ships the agent skills the loop installs: a thin skill per user-facing intent that fetches a turn's instructions from the CLI, the operator skill and the one that edits the review profile.

Jump to

Keyboard shortcuts

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