Skip to content

[rig-summarizer] Daily file summary — 2026-07-28 #251

Description

@github-actions

Global Summary

The rig repository is a minimal TypeScript multi-agent harness that provides typed input/output schemas, prompt intents, and sub-agent delegation. It ships a core runtime (skills/rig/rig.ts), pluggable engine adapters for Anthropic, Codex, Gemini, and Pi, built-in addons, 50+ sample programs, and a comprehensive vitest suite.

Individual File Summaries

File Summary
.github/skills/rig/addons.ts Provides built-in agent addons (steering, timeout, repair) that wrap the core runtime with turn-limit warnings, timeouts, and automatic JSON repair on parse failure.
.github/skills/rig/engines/anthropic.ts Wraps the Anthropic SDK to provide an AgentFactory for Claude models, supporting tool-use and max-token/iteration configuration.
.github/skills/rig/engines/codex.ts Adapts the OpenAI Codex SDK into an AgentFactory with configurable thread options for multi-turn Codex sessions.
.github/skills/rig/engines/gemini.ts Spawns a Gemini CLI subprocess and wraps it as an AgentFactory, communicating over stdio with UUID-tagged sessions.
.github/skills/rig/engines/pi.ts Integrates the Pi agent SDK as an AgentFactory, mapping rig tool definitions to Pi tool schemas and configuring model/provider options.
.github/skills/rig/rig.ts Mirror/snapshot of the core rig runtime used by .github workflows, identical in purpose to skills/rig/rig.ts.
scripts/haiku.integration.test.ts Integration test that spawns the haiku sample as a subprocess against a real Copilot SDK endpoint; skipped when credentials are absent.
scripts/run-sample.test.ts Vitest harness that runs all rig sample programs against a stub Copilot SDK client, validating shape-conforming output and timing constraints.
skills/rig/engines/anthropic.ts Same Anthropic engine adapter as the .github copy — authoritative source for the Anthropic AgentFactory implementation.
skills/rig/engines/codex.ts Authoritative Codex engine adapter providing AgentFactory over the OpenAI Codex SDK.
skills/rig/engines/gemini.ts Authoritative Gemini engine adapter that launches a CLI subprocess as an agent backend.
skills/rig/engines/pi.ts Authoritative Pi engine adapter bridging rig tool definitions to the Pi agent SDK.
skills/rig/rig.ts Core rig runtime: exports agent, p, s, copilotEngine, configureAgent, and runLauncherCli; implements schema validation, prompt intent resolution, sub-agent delegation, and the Copilot SDK session lifecycle.
src/engines/anthropic.test.ts Unit tests for the Anthropic engine adapter using a mocked Anthropic SDK client.
src/engines/codex.test.ts Unit tests for the Codex engine adapter with a stubbed Codex SDK.
src/engines/copilot.test.ts Unit tests for the Copilot engine covering session creation, prompt dispatch, and error handling.
src/engines/gemini.test.ts Unit tests for the Gemini engine adapter, mocking the spawned subprocess with EventEmitter streams.
src/engines/pi.test.ts Unit tests for the Pi engine adapter with a mocked Pi agent SDK.
src/launcher-default-engine.test.ts Tests the launcher CLI default engine selection and configuration path resolution.
src/rig.test.ts Comprehensive unit tests for the rig runtime: agent definition, invocation, schema validation, prompt intent coverage, and repair/steering addon behavior.

Generated by Daily Rig File Summarizer · sonnet46 54.5 AIC · ⌖ 8.19 AIC · ⊞ 4.3K ·

  • expires on Aug 4, 2026, 3:18 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions