Repository navigation
[rig-header] Update rig.ts agentic file-summary header (8097871 → d5f51c9) - #998
Draft
github-actions[bot] wants to merge 1 commit into
Draft
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Refresh the file-summary header to match the current API surface and correct stale invariants: - launchRigProgram runs the program in-process, not as a subprocess - configureAgent returns void - optional keys use s.optional, not a trailing underscore - shape-descriptor promotion and <output>-tag parsing do not exist - repair() is opt-in; without it failures throw AgentError - normalizeResponseSchema adds additionalProperties:false (does not strip) Change ratio 0.66 (37/56 lines); no new exports. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refreshes the agentic file-summary header at the top of
skills/rig/rig.ts.Change ratio: 0.66 (37 of 56 header lines changed). No new exports, so
has_new_apiis false; the change ratio alone triggered this PR (threshold 0.10).Why stale: the old
@last-analyzedvalue8097871does not resolve in this repository, and the header had drifted from the code.Corrections to the old header:
launchRigProgramimports the program in-process inside a root workflow. It does not run a subprocess.configureAgentreturnsvoid.s.optional(...). The old header's trailing-_rule does not exist.""→ string) and<output>-tag parsing are not implemented. Both invariants are removed.repair()is opt-in. Without it, failures throwAgentError.normalizeResponseSchemaaddsadditionalProperties: falseto objects. It does not strip keywords.toJsonSchemais now listed separately. Thes.*block coversoptional/nullable/literal, plus thenonEmpty*/positiveInt/percentrefinements.ENVline listsCOPILOT_SDK_SEND_TIMEOUT_MSwith its 24h default.Verification: the code body is byte-identical to
HEAD(only the leading comment block changed). The header is 56 lines with no blank lines, within the ≤60 limit, andhead -5starts with/**. No typecheck is needed for a comment-only change.