[rig-tasks] Daily rig evaluation — 2026-12-01 — 3/3 passed

未关闭 适合新手
#1,013 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
64/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

阅读 SKILL.md 中的 prompt 意图参考,并检查 prompt helper 的示例模式,尤其是示例 573、463、561 和 562。添加一个使用运行时路径数组的 p.readAllInput 简短示例和一个 p.region 示例,并说明 ctx.response 是模型的原始字符串。当这些文档缺漏都由符合现有参考文档风格的示例补齐后,任务即完成。

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

描述

ai-agent automation

Summary

Theme seed: 6bcccb4a759cb818fbe91b1ecf05da65. The cache had no pending backlog entries, so all 3 accepted tasks came from new proposals. The task designer returned 3 of a possible 10 candidates, because the remaining seeded themes had no supported gap.

Seeded combinations:

Theme ID Outcome
media production/nested catalogs/incremental updates Accepted as sample 586
food and recipes/event timelines/incremental updates Unused
travel planning/tabular measurements/unit conversion Unused
weather and climate/linked records/bounded resource budgets Accepted as sample 585
manufacturing/nested catalogs/unit conversion Accepted as sample 587
ecology/tabular measurements/conflicting sources Unused
inventory and logistics/resource schedules/bounded resource budgets Unused
education/free-form reports/unit conversion Unused
energy usage/resource schedules/multilingual labels Unused
accessibility/event timelines/unit conversion Unused
Task Description Typecheck Novelty / closest sample Key finding
1 (new) Weather-station link auditor with a custom AgentAddon attached via agent.use() that sets ctx.nextPrompt and ctx.completed/ctx.output ✅ pass New lesson. Closest: 55 (wraps next() only), 126 Addon short-circuit pattern is clean. JSON.parse(ctx.response) needs a try/catch fallback.
2 (new) Catalog digest over a runtime s.array(s.path) via p.readAllInput ✅ pass New lesson. Closest: 573 (fixed p.readAll literal list), 463 p.readAllInput has no sample. It renders an instruction, so reads happen at runtime through the model and cannot be verified offline.
3 (new) Inch-to-mm BOM normalizer with the CSV table wrapped in p.region("csv", ...) ✅ pass New lesson. Closest: 561 (no fenced region), 562 p.region has no sample. The fenced block gives the model clear table delimiters.

Problems encountered

No typecheck failures this run.

Expander draft issue (task 2): the first draft used illustrative fixtures/media/catalogs/*.json paths that do not exist in the repo. I replaced them with repo files (package.json, tsconfig.json, and a missing path) so the sample covers the unparseable and missing branches. The workflow still needs a tool-capable engine to read files at runtime.

Unit suite: npm test shows 6 failures in src/launcher-default-engine.test.ts, all about COPILOT_SDK_URI and API-key engine selection. This run changed only markdown samples and samples.md, so these failures are unrelated. AGENTS.md requires passing unit tests before committing, so a human should review the launcher failures before merging.


Improvement opportunities

Missing or undiscoverable schema helpers (s.*)

None hit. The s.nonEmptyString, s.nullable, and s.path helpers all resolved.

Missing or undiscoverable prompt helpers (p.*)
  • p.readAllInput and p.region have zero samples. SKILL.md routes to readAllInput only in the caller-supplied-path row, with no example of the runtime-array shape.
Error message quality

No unclear messages surfaced at typecheck.

API ergonomics
  • ctx.response is a raw string, so addons must JSON.parse it themselves. A typed or parsed accessor would remove that boilerplate and the try/catch.
Candidate lint rules
  • addon-completed-requires-output: flag ctx.completed = true in an addon body with no matching ctx.output = assignment in the same block. Invalid: ctx.completed = true; alone. Valid: set both. Autofix: not safe, since the output value is task-specific. The harness already rejects this at runtime (rig.ts around line 2174), so a lint would move the error earlier.
Documentation gaps
  • Add a short p.region and p.readAllInput example to the prompt-intent reference, since neither has a sample.
  • Document that ctx.response is the raw string from the model, not parsed output.

Tasks run today

  • (new) weather-addon-link-gate: agent / custom-addon-gate, lesson: ctx.nextPrompt/ctx.completed addon gating via agent.use(). Closest samples 55, 126. Novelty: no sample sets nextPrompt, completed, output, or error.
  • (new) media-readall-input-digest: context / readall-input-digest, lesson: p.readAllInput over a runtime path array. Closest samples 573, 463. Novelty: p.readAllInput has zero samples.
  • (new) manufacturing-region-unit-converter: context / region-unit-converter, lesson: p.region fenced evidence before unit conversion. Closest samples 561, 562. Novelty: p.region has zero samples.
  • Seven seeded themes were unused because no supported gap was found. Pool entries were not revalidated because none were pending.

Generated by Daily Rig Task Generator · copilot · routed: haiku55 high · ~17 AIC · ⌖ ~2 AIC · ⊞ 7.2K · history

主要语言
TypeScript
星标
16
派生
0
平均合并
2 小时 7 分钟
30 天内合并 PR
44

环境准备

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

从这里开始

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

githubnext/rig 的其他 Issue

查看 githubnext/rig 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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