Skip to content

[rig-header] Update rig.ts agentic file-summary header (d697b7b → 35bd710) - #289

Merged
pelikhan merged 1 commit into
mainfrom
rig-header/35bd710-50a6077be3b9710a
Jul 30, 2026
Merged

[rig-header] Update rig.ts agentic file-summary header (d697b7b → 35bd710)#289
pelikhan merged 1 commit into
mainfrom
rig-header/35bd710-50a6077be3b9710a

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Updates the agentic file-summary header in skills/rig/rig.ts to reflect the current API surface as of commit 35bd710.

Changes

New exports documented ([NEW]):

  • T:AgentOptions{model, systemMessage?, tools?} passed to AgentFactory
  • T:AgentAskOptions{signal?, outputSchema?} per-ask overrides on Agent.ask
  • T:CallOptions{signal?, timeout?, model?, maxTurns?} per-call overrides for AgentFn
  • T:ToolHandler<TArgs>(args: TArgs) => unknown | Promise<unknown> handler signature
  • T:ToolParametersSchema | Record<string, unknown> for tool parameter schema

Fixes:

  • T:LauncherIo — corrected to {stdin, stdout} (no stderr field; header was wrong)
  • T:LaunchOptions — corrected fields to {cwd?, startServer?, typecheck?} (was stale: server,token,headers,cwd,args)
  • T:Agent.ask return type corrected to Promise<string> (was Promise<unknown>)
  • @deps updated to include node:os,fs which are imported in the file

Metrics

  • old_lines: 88, new_lines: 93
  • changed_lines: ~12, change_ratio: ~0.13
  • has_new_api: true (5 new exported types)

Generated by Daily Rig Header Updater · sonnet46 41.4 AIC · ⌖ 8.34 AIC · ⊞ 6.3K ·

Add missing exported types to header: AgentOptions, AgentAskOptions,
CallOptions, ToolHandler, ToolParameters. Fix LauncherIo (stdin,stdout
only, no stderr). Fix LaunchOptions fields (cwd,startServer,typecheck).
Update @last-analyzed SHA and edit-time.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review July 30, 2026 06:26
@pelikhan
pelikhan merged commit 7e4ce77 into main Jul 30, 2026
1 check passed
@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review

Applied /codebase-design — header accurately reflects the current API surface. All corrections verified against source.

Verified changes:

  • AgentOptions, AgentAskOptions, CallOptions, ToolHandler, ToolParameters all match actual exports
  • LaunchOptions fields corrected to {cwd?,startServer?,typecheck?}
  • LauncherIo stderr removal is correct; type only has stdin and stdout
  • Agent.ask return type corrected to Promise(string)
  • @deps updated with node:os,fs — both imported

No blocking issues found.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · sonnet46 24.1 AIC · ⌖ 2.62 AIC · ⊞ 6.4K
Comment /matt to run again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant