Repository navigation
fix(tsuga): correct field names, pagination, and portability across skills - #25
Merged
Merged
Conversation
…kills Several skills read service fields that the API does not return, so the gates built on them could never pass. They now read traceRequestRate / traceErrorRate and distinguish an absent rate (query failed) from zero (service quiet). Resource lists page at 100 rows by default, so monitor-coverage audits built from one page were wrong; they now page to totalCount. Cluster-scoped calls all take the same --cluster, not just the aggregations, and an omitted env no longer scopes an incident sweep to one environment. The health-check scripts gain macOS fixes (empty-array expansion under bash 3.2, a locale abort on binary assets), full ISO timestamp validation, and honest PASS messages. Dashboard and service-health skills pick up the reference tables and gotchas that were only in one place before.
Also brings two skill descriptions into the recommended length: gh was below it, and knowledge-technology sat 34 characters under the 1024 limit where a loader silently drops the skill.
ArthurVerrez
marked this pull request as ready for review
September 3, 2026 13:14
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.
Skills read service fields the API does not return (
sources[],*Count24h), so gates built on them could never pass. They now usetraceRequestRate/traceErrorRate, and treat an absent rate as "query failed" rather than zero. Verified against CLI 1.28.0.totalCountinstead of judging from page one.notification-silences listis not paginated and is excluded.--cluster, not just the aggregations. An omitted environment no longer scopes an incident sweep to one env, since the registry reports only a service's busiest one.check-skill-healthscripts: fix an empty-array crash under macOS bash 3.2, asedlocale abort on binary assets that silently skipped a file's violations, prefix-only ISO timestamp validation, an ignoreddustatus, and PASS lines that claimed sections were present after warning they were missing.knowledge-technologyuse a quote-aware parser;awk -F,mis-parsed rows with commas inside quoted fields.gh: finding PRs by path goes through the commits endpoint, since issue search does not index changed files andgh pr listcaps at 30.Every
tsugacommand, flag, default, and limit referenced across the skills was checked against CLI 1.28.0;lint-all.shreports 71 PASS / 0 WARN / 0 FAIL.