Skip to content

feat: add s.path schema helper, improve addon error messages, document tools field - #80

Merged
pelikhan merged 2 commits into
mainfrom
copilot/rig-tasks-daily-evaluation-2026-07-24-again
Jul 24, 2026
Merged

feat: add s.path schema helper, improve addon error messages, document tools field#80
pelikhan merged 2 commits into
mainfrom
copilot/rig-tasks-daily-evaluation-2026-07-24-again

Conversation

Copilot AI commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Three usability gaps surfaced in the daily rig evaluation: missing s.path schema helper, opaque addon validation errors, and undocumented tools spec field.

Changes

s.path schema helper (skills/rig/rig.ts)

New constrained string schema with format: "path" — semantically equivalent to s.url for URIs but for file system paths. Improves readability and hints to the runtime for path-based context resolution.

input: s.object({ filePath: s.path })
// serializes to { type: "string", format: "path" }

Improved addon error messages (skills/rig/rig.ts)

normalizeAddons now reports the failing index and actual type instead of a generic message:

// before
Agent addon entries must be functions.

// after
Agent addon entries must be functions (entry at index 0 is null).

Documentation (skills/rig/SKILL.md, README.md)

  • Added tools to the agent(spec) spec fields table — it was entirely absent despite being a first-class spec field
  • Added s.path to schema helper reference and examples in both docs

…docs

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Review daily rig evaluation for 2026-07-24 feat: add s.path schema helper, improve addon error messages, document tools field Jul 24, 2026
Copilot AI requested a review from pelikhan July 24, 2026 03:46
@pelikhan
pelikhan marked this pull request as ready for review July 24, 2026 03:52
@pelikhan
pelikhan merged commit be7f7a3 into main Jul 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[rig-tasks] Daily rig evaluation — 2026-07-24 — 5/5 passed

2 participants