Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[rig-summarizer] Daily file summary — 2026-10-11

未关闭
#623 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
1/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
github, typescript
领域
tooling

调研方向

The issue contains a generated summary of 20 TypeScript files, but it does not describe a requested change or a way to tell when work is complete. Read .agents/skills/rig/rig.ts and the listed engine, fixture, and integration test files to understand the project; the issue provides no implementation target or acceptance criteria.

由索引模型根据 Issue 内容生成。

描述

ai-agent automation
Global Summary

This workspace is the rig TypeScript agent harness: a single ~3,500-line core runtime (skills/rig/rig.ts) exposes declarative schema builders, prompt intents, and sub-agent/workflow orchestration on top of a Copilot SDK-backed engine, with optional Anthropic, Codex, DeepSeek, Gemini, and Pi engine adapters sharing a common agentLifecycle turn-management helper. Supporting CI/test infrastructure (under .github/drivers and .github/fixtures) wires these engines into a "three judges" evaluation fixture and CLI launch tooling, while integration tests in scripts/ exercise the real launcher and Copilot SDK connection when credentials are available.

Individual File Summaries
File Summary
.agents/skills/rig/engines/anthropic.ts Implements the anthropicEngine AgentFactory, wrapping the Anthropic SDK beta JSON-schema tool-calling API with the shared agentLifecycle helper for turn management and tool execution.
.agents/skills/rig/engines/codex.ts Implements the codexEngine AgentFactory wrapping the OpenAI Codex SDK, creating threads and delegating response-schema normalization to the core rig runtime.
.agents/skills/rig/engines/deepseek.ts Implements the deepseekEngine AgentFactory using the DeepSeek Harness SDK client, reusing agentLifecycle for single-turn sequencing.
.agents/skills/rig/engines/gemini.ts Implements the geminiEngine AgentFactory by spawning and communicating with a local Gemini CLI process rather than an SDK client.
.agents/skills/rig/engines/pi.ts Implements the piEngine AgentFactory built on the Pi agent-core and pi-ai libraries, converting rig tool schemas into Pi tool definitions.
.agents/skills/rig/engines/utils.ts Shared engine utility exporting agentLifecycle, which serializes concurrent turns per engine instance and tracks in-flight promises via an AbortController.
.agents/skills/rig/globals.ts Provides ambient workflow helpers (call, pipeline, parallel) importable from "rig/globals" that delegate to the currently active workflow context for simpler porting of dynamic workflows.
.agents/skills/rig/launch-tool.ts Defines createRigLaunchTool, a Copilot SDK Tool that spawns the rig launcher as a subprocess over a harness-owned connection to run a rig program source.
.agents/skills/rig/rig.ts The core rig runtime (~3500 lines): declarative schema helpers, prompt intents, agent/workflow construction, sub-agent delegation, addons, and the Copilot SDK-backed engine plus CLI launcher.
.agents/skills/rig/run.ts Tiny entrypoint script that imports and invokes runLauncherCli from rig.ts when executed directly as the installed skill binary.
.github/drivers/codex-fixture-mcp.ts Fixture launcher that spawns a process and validates its three-judges-style assertion fixture for Codex-driver MCP integration testing.
.github/drivers/copilot-sdk-driver.ts Driver script reading environment configuration and multi-provider JSON, then wiring the Copilot SDK with a harness-provided rig launch tool for CI integration.
.github/drivers/pi-rig-extension.ts Defines a Pi agent-core tool extension that runs the rig CLI as a child process and validates results against the three-judges fixture.
.github/fixtures/assert-three-judges.ts Shared test helper asserting a judging result object matches expected engine/model fields across engine integration fixtures.
.github/fixtures/pi-gateway.ts Loads and validates the harness-provisioned Pi "aw-gateway" provider configuration and constructs Pi models/providers from it.
.github/fixtures/provider-fixture.ts Builds a provider-engine fixture selecting among codex, deepseek, gemini, and pi engines based on required environment variables for three-judge testing.
.github/fixtures/provider-three-judges.ts Thin entrypoint re-exporting createProviderFixture() as the default export for the provider three-judges integration test.
.github/fixtures/three-judges.ts Defines the three-judges evaluation workflow: a judge agent configured per engine/model that scores a dummy request against clarity, safety, and feasibility criteria.
scripts/haiku.integration.test.ts Vitest integration test that runs real haiku/sonnet/complex rig samples through the launcher CLI, skipped unless a Copilot token or SDK URI is configured.
scripts/rig-launch-tool.integration.test.ts Live-only vitest test (gated by RIG_TOOL_INTEGRATION) that exercises createRigLaunchTool against a real CopilotClient/RuntimeConnection without exposing credential env vars.

Note: This summary was generated by directly reading and analyzing the files listed above rather than by executing the rig program, because the sandboxed Copilot SDK connection token used by the harness is scoped to the parent process and is not available to a nested rig.ts invocation (AUTHENTICATION_FAILED). The project and per-file summaries above reflect the same 20 newest-sorted TypeScript source files (excluding node_modules and .git) that the find command in the rig program would have discovered. The sample input schema shorthand in the given program (input: { path: s.path }) also required the s.object({...}) wrapper to pass rig's schema validation.

Generated by Daily Rig File Summarizer · copilot · auto · 115.9 AIC · ⌖ 5.35 AIC · ⊞ 7.5K · ◷

  • expires on Oct 18, 2026, 2:42 PM UTC
主要语言
TypeScript
星标
13
派生
0
平均合并
1 小时 40 分钟
30 天内合并 PR
26

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/rig 的其他 Issue

查看 githubnext/rig 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。