Repository navigation
Commit b628491
feat(issues): add protocol-gated typed consolidated issue tools (#3393)
* feat(repos): complete typed repository tool outputs
Migrate the remaining 17 repository tools to concrete inputs and outputs. Preserve existing content, mutations, scopes, filtering, and protocol gating; add wire and schema conformance coverage.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore(repos): exclude unrelated snapshot formatting drift
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* refactor(repos): compact typed repository outputs
Replace raw REST output schemas with compact repository DTOs, retain one canonical snapshot per tool, and align modern JSON text with structured output while pinning legacy content.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* feat(issues): add typed consolidated issue tool contracts
Preserve raw helper APIs and exact legacy text while exposing concrete output unions for modern protocols. Retain explicit awaiting statuses and real null responses without exposing SDK-generated error fallbacks.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore: regenerate license files
Auto-generated by license-check workflow
* refactor(issues): minimize consolidated typed outputs
Project compact method-discriminated DTOs from API responses while preserving the separate legacy text formatter and explicit app-awaiting status. Cache strict schemas and keep only canonical snapshots. Strengthen null-member presence, schema size, and lockdown projection regressions.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(issues): keep union property schemas portable
Preserve forbidden variant properties as annotated schema objects rather than boolean schemas emitted by jsonschema-go. Cover Inspector's input paths and IFC labels on every issue-read method across protocols.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(issues): cover strict sub-issue output variants
Reject unknown methods, states, field types, opaque values and API URL properties while covering nullable and empty method data.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* test(issues): pin compact comment user redaction
Pin unchanged legacy profile/avatar fields separately from compact modern user projections and assert identical lockdown filtering and sanitization across protocols.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(issues): restore main-identical advertised input schema
Remove added custom-field union constraints and sentinel enums from the advertised issue-write input. Preserve runtime exactly-one validation and private strict-schema tests. All three scoped input schemas compare exactly equal to main.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* fix(issues): restore protocol output parity
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* chore: regenerate license files
Auto-generated by license-check workflow
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 7894659 commit b628491
15 files changed
Lines changed: 2490 additions & 1371 deletions
File tree
- docs
- pkg
- github
- __toolsnaps__
- inventory
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
60 | 83 | | |
61 | 84 | | |
62 | 85 | | |
| |||
0 commit comments