Skip to content

[rig-header] Update rig.ts agentic file-summary header (absent → 7476c6d) - #23

Merged
pelikhan merged 2 commits into
mainfrom
rig-header/7476c6d-7377410a3fab7511
Jul 23, 2026
Merged

[rig-header] Update rig.ts agentic file-summary header (absent → 7476c6d)#23
pelikhan merged 2 commits into
mainfrom
rig-header/7476c6d-7377410a3fab7511

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Adds the agentic file-summary header to skills/rig/rig.ts. The file previously had no header — it started directly with import statements.

What the header contains

The new /** ... */ block (55 lines, fits within the 150-line read window) documents:

  • All exported types and interfacesJson, Schema, InferSchema<T>, AgentInputValue<T>, AgentSpec, AgentFn, AgentFactory, Agent, AgentAddon, AgentError, Tool, PromptIntent, PromptBuilder, ResponseAnalysisResult, and more
  • Schema helpers (s.*)string, number, boolean, unknown, array, object, record, enum, optional
  • Prompt helpers (p.*) — template tag p\...`, p.bash, p.read, p.write`
  • Agent core functionsagent(), copilotEngine(), configureAgent(), launchRigProgram(), runLauncherCli(), defineTool(), analyzeResponse(), defaultRepairPrompt(), toJsonSchema()
  • Key invariants — shape-descriptors promotion, optional-key convention, prompt-intent contract, repair-loop contract, <output> XML tag parsing, schema symbol internals

Change metrics

  • old_lines: 0 (header was absent)
  • new_lines: 55
  • change_ratio: 1.0 (new file)
  • has_new_api: true (all symbols are [NEW])

All exported symbols are new to the header since no prior header existed.

Generated by Daily Rig Header Updater · 28.1 AIC · ⌖ 8.37 AIC · ⊞ 6.2K ·

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread skills/rig/rig.ts
/**
* @file skills/rig/rig.ts @last-analyzed 7476c6d @edit-time 2026-07-23T07:07:59Z
* @purpose Minimal TypeScript agent harness: typed input/output schemas, prompt intents, Copilot SDK runtime
* @deps @github/copilot-sdk (CopilotClient,RuntimeConnection,approveAll); node:path,url,fs/promises,child_process,util

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@copilot rig is multi agent

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Updated the @purpose line to read "multi-agent harness" with "sub-agent delegation", and added agents? with its purpose to the AgentSpec type entry. Commit: Update rig.ts header: multi-agent purpose and agents? field in AgentSpec.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan July 23, 2026 07:16
@pelikhan
pelikhan marked this pull request as ready for review July 23, 2026 07:21
@pelikhan
pelikhan merged commit 49bede0 into main Jul 23, 2026
1 check passed
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.

2 participants