internal/

directory
v1.22.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package adaptertest provides shared conformance assertions for tracker and source-control adapter test suites.
Package adaptertest provides shared conformance assertions for tracker and source-control adapter test suites.
agent
agentcore
Package agentcore provides shared utilities used by agent adapter packages.
Package agentcore provides shared utilities used by agent adapter packages.
agenttest
Package agenttest provides shared test helpers for agent adapter tests.
Package agenttest provides shared test helpers for agent adapter tests.
agenttest/dispositiontest
Package dispositiontest provides the conformance assertion that checks an agent adapter's observed turn disposition against the shared decision in agentcore.DecideTurn.
Package dispositiontest provides the conformance assertion that checks an agent adapter's observed turn disposition against the shared decision in agentcore.DecideTurn.
claude
Package claude implements domain.AgentAdapter for the Claude Code CLI.
Package claude implements domain.AgentAdapter for the Claude Code CLI.
codex
Package codex implements domain.AgentAdapter for the OpenAI Codex CLI.
Package codex implements domain.AgentAdapter for the OpenAI Codex CLI.
copilot
Package copilot implements domain.AgentAdapter for the GitHub Copilot CLI.
Package copilot implements domain.AgentAdapter for the GitHub Copilot CLI.
kiro
Package kiro implements domain.AgentAdapter for the Kiro CLI (the rebranded Amazon Q Developer CLI).
Package kiro implements domain.AgentAdapter for the Kiro CLI (the rebranded Amazon Q Developer CLI).
mcpconfig
Package mcpconfig parses the worker-generated MCP configuration file into a runtime-neutral shape an agent adapter can render into its own runtime's configuration form.
Package mcpconfig parses the worker-generated MCP configuration file into a runtime-neutral shape an agent adapter can render into its own runtime's configuration form.
mock
Package mock implements domain.AgentAdapter as a configurable test double for orchestrator and integration tests.
Package mock implements domain.AgentAdapter as a configurable test double for orchestrator and integration tests.
opencode
Package opencode implements domain.AgentAdapter for the OpenCode CLI.
Package opencode implements domain.AgentAdapter for the OpenCode CLI.
procutil
Package procutil provides subprocess lifecycle utilities shared by agent adapters that manage coding agents as local subprocesses.
Package procutil provides subprocess lifecycle utilities shared by agent adapters that manage coding agents as local subprocesses.
sshutil
Package sshutil provides SSH invocation utilities shared by agent adapters that launch coding agents on remote hosts via SSH.
Package sshutil provides SSH invocation utilities shared by agent adapters that launch coding agents on remote hosts via SSH.
Package blockers resolves the blocker list of a candidate issue whose tracker adapter cannot carry one on the candidate path.
Package blockers resolves the blocker list of a candidate issue whose tracker adapter cannot carry one on the candidate path.
Package config converts raw workflow front matter into typed runtime configuration.
Package config converts raw workflow front matter into typed runtime configuration.
Package domain defines the normalized types and adapter interfaces shared across all orchestration layers.
Package domain defines the normalized types and adapter interfaces shared across all orchestration layers.
Package httpkit provides shared REST transport helpers for integration adapters.
Package httpkit provides shared REST transport helpers for integration adapters.
Package issuekit provides shared issue normalization helpers for integration adapters.
Package issuekit provides shared issue normalization helpers for integration adapters.
Package logging provides structured logging primitives for the Sortie orchestrator.
Package logging provides structured logging primitives for the Sortie orchestrator.
Package maputil provides generic map utility functions shared across internal packages that cannot import each other.
Package maputil provides generic map utility functions shared across internal packages that cannot import each other.
notify
slack
Package slack implements domain.Notifier for a Slack incoming webhook.
Package slack implements domain.Notifier for a Slack incoming webhook.
webhook
Package webhook implements domain.Notifier for a generic outbound HTTP webhook.
Package webhook implements domain.Notifier for a generic outbound HTTP webhook.
Package orchestrator implements the coordination layer: polling, dispatch, concurrency control, retry scheduling, and reconciliation.
Package orchestrator implements the coordination layer: polling, dispatch, concurrency control, retry scheduling, and reconciliation.
Package persistence provides SQLite-backed durable storage for retry queues, run history, session metadata, and aggregate metrics.
Package persistence provides SQLite-backed durable storage for retry queues, run history, session metadata, and aggregate metrics.
Package prompt renders per-issue prompt templates using Go text/template in strict mode.
Package prompt renders per-issue prompt templates using Go text/template in strict mode.
Package registry provides typed adapter registries that map kind strings to constructor functions.
Package registry provides typed adapter registries that map kind strings to constructor functions.
scm
gitea
Package gitea implements domain.TrackerAdapter for the Gitea REST API v1.
Package gitea implements domain.TrackerAdapter for the Gitea REST API v1.
github
Package github provides GitHub SCM adapter implementations for Sortie.
Package github provides GitHub SCM adapter implementations for Sortie.
gitlab
Package gitlab implements domain.TrackerAdapter for the GitLab REST API v4.
Package gitlab implements domain.TrackerAdapter for the GitLab REST API v4.
scmcore
Package scmcore holds the decisions a source-control forge integration makes over normalized domain types rather than wire shapes: the CI verdict a set of check runs implies, the SCM error a tracker error maps to, the merge-conflict promotion and already-merged marker, and the bot-author and event-id primitives.
Package scmcore holds the decisions a source-control forge integration makes over normalized domain types rather than wire shapes: the CI verdict a set of check runs implies, the SCM error a tracker error maps to, the merge-conflict promotion and already-merged marker, and the bot-author and event-id primitives.
Package server implements Sortie's embedded HTTP server for observability and operational control.
Package server implements Sortie's embedded HTTP server for observability and operational control.
tool
budget
Package budget implements domain.AgentTool for the cost_budget tool.
Package budget implements domain.AgentTool for the cost_budget tool.
history
Package history implements domain.AgentTool for the workspace_history tool.
Package history implements domain.AgentTool for the workspace_history tool.
mcpserver
Package mcpserver implements an MCP stdio server that exposes registered domain.AgentTool implementations over JSON-RPC 2.0.
Package mcpserver implements an MCP stdio server that exposes registered domain.AgentTool implementations over JSON-RPC 2.0.
notify
Package notify implements domain.AgentTool for the notify_operator tool.
Package notify implements domain.AgentTool for the notify_operator tool.
status
Package status implements domain.AgentTool for the sortie_status tool, which returns live session runtime metadata to agents: current turn number, remaining turns, session duration, and cumulative token usage.
Package status implements domain.AgentTool for the sortie_status tool, which returns live session runtime metadata to agents: current turn number, remaining turns, session duration, and cumulative token usage.
toolresult
Package toolresult marshals the uniform result envelope every built-in tool returns.
Package toolresult marshals the uniform result envelope every built-in tool returns.
trackerapi
Package trackerapi implements domain.AgentTool for issue tracker operations.
Package trackerapi implements domain.AgentTool for issue tracker operations.
tracker
file
Package file implements domain.TrackerAdapter for a local JSON fixture file.
Package file implements domain.TrackerAdapter for a local JSON fixture file.
jira
Package jira implements domain.TrackerAdapter for Atlassian Jira.
Package jira implements domain.TrackerAdapter for Atlassian Jira.
linear
Package linear implements domain.TrackerAdapter for Linear over its single GraphQL endpoint.
Package linear implements domain.TrackerAdapter for Linear over its single GraphQL endpoint.
Package trackermetrics provides shared tracker-operation metric helpers.
Package trackermetrics provides shared tracker-operation metric helpers.
Package typeutil provides type coercion utilities for loosely-typed values produced by JSON and YAML decoders.
Package typeutil provides type coercion utilities for loosely-typed values produced by JSON and YAML decoders.
Package workflow loads and parses Sortie workflow files.
Package workflow loads and parses Sortie workflow files.
Package workspace manages per-issue workspace directories, path safety, and lifecycle hooks.
Package workspace manages per-issue workspace directories, path safety, and lifecycle hooks.

Jump to

Keyboard shortcuts

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