Skip to content

[rig-summarizer] Daily file summary — 2026-08-16 #432

Description

@github-actions

Global Summary

Rig is a minimal TypeScript multi-agent harness providing declarative agent construction with typed input/output schemas, prompt intents, and pluggable engine backends (Copilot, Anthropic, Codex, Gemini, Pi). The core runtime lives in skills/rig/rig.ts; engine adapters are in skills/rig/engines/; vitest-based unit and sample tests cover agent definition, invocation, validation, and launcher CLI behaviour.

Individual File Summaries

File Summary
./scripts/haiku.integration.test.ts Integration test that spawns a real Copilot Haiku session to verify end-to-end agent invocation and output parsing.
./scripts/run-sample.test.ts Vitest test runner for all sample agents; stubs the Copilot SDK and synthesises shape-conforming output from each agent's <output_schema> block.
./skills/rig/engines/anthropic.ts Anthropic engine adapter wrapping the @anthropic-ai/sdk client to expose an AgentFactory-compatible interface for rig agents.
./skills/rig/engines/codex.ts Codex engine adapter wrapping @openai/codex-sdk threads to provide an AgentFactory for rig agents.
./skills/rig/engines/gemini.ts Gemini engine adapter that spawns a child Copilot CLI process over stdio and bridges it into the rig AgentFactory interface.
./skills/rig/engines/pi.ts Pi engine adapter wrapping @earendil-works/pi-agent-core to provide an alternative AgentFactory backend.
./skills/rig/engines/utils.ts Shared utility helpers (tool schema conversion, debug logging) used by multiple engine adapters.
./skills/rig/globals.ts Module-level ambient workflow context helpers (call, pipeline, parallel) imported from "rig/globals".
./skills/rig/rig.ts Core runtime: exports agent, workflow, schema helpers (s.*), prompt intents (p.*), engine factories, and the launcher CLI entry point.
./src/engines/anthropic.test.ts Unit tests for the Anthropic engine adapter, verifying session creation, prompt forwarding, and cleanup.
./src/engines/codex.test.ts Unit tests for the Codex engine adapter covering thread lifecycle and response parsing.
./src/engines/copilot.test.ts Unit tests for the Copilot engine factory, covering URI resolution, multi-provider config, and connection-token handling.
./src/engines/gemini.test.ts Unit tests for the Gemini engine adapter verifying stdio transport and session teardown.
./src/engines/pi.test.ts Unit tests for the Pi engine adapter checking tool registration and message routing.
./src/launcher-default-engine.test.ts Tests for the launcher's default engine selection logic across different environment-variable combinations.
./src/launcher.fixture.ts Shared test fixture that loads the launcher module and tracks how many times it has been imported.
./src/launcher.stdin-ambient.fixture.ts Fixture demonstrating the ambient workflow context pattern with phase and log helpers consumed from stdin.
./src/launcher.stdin-default-prompt.fixture.ts Fixture providing a default PromptBuilder export read from stdin to test the launcher's string-mode code path.
./src/launcher.stdin-default-string.fixture.ts Fixture exporting a plain string default to exercise the launcher's string-passthrough output path.
./src/launcher.stdin-json.fixture.ts Fixture exporting an agent with structured JSON input to test the launcher's JSON stdin coercion logic.

Generated by Daily Rig File Summarizer · sonnet46 188.5 AIC · ⌖ 5.37 AIC · ⊞ 4.3K ·

  • expires on Aug 23, 2026, 5:00 AM 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