René's URL Explorer Experiment


Title: perf(skill): slim incident-summary output + serialize same-host monit-agent probes by ysyneu · Pull Request #68 · flashcatcloud/flashduty-cli · GitHub

Open Graph Title: perf(skill): slim incident-summary output + serialize same-host monit-agent probes by ysyneu · Pull Request #68 · flashcatcloud/flashduty-cli

X Title: perf(skill): slim incident-summary output + serialize same-host monit-agent probes by ysyneu · Pull Request #68 · flashcatcloud/flashduty-cli

Description: Two token-efficiency fixes surfaced by /audit-ai-sre-sessions (audit run audit-2026-06-26). Both touch files kept byte-identical with their embedded copies in fc-safari (logic/runtime/bootstrap/skills/flashduty/) — mirrored in linked PR flashcatcloud/fc-safari#337 (the two must land together). P6 — slim incident-summary.sh (scripts/incident-summary.sh) What: the script dumped ~80K chars of toon per incident (81042 / 79075 in the audited session), most of it empty boilerplate, exceeding the inline output cap and forcing 3-4 sequential read calls to page ~600 lines back in (steps 5,6,8,10,12,21,22,24 of sess_TRdrnq5oA345qF66GgbYrY). Root cause: run() appended --output-format toon to every command. For these read verbs that selects the machine-readable branch, which marshals the full raw response object — every empty field on incident detail (account_locale, account_name, ai_summary: "", …) plus heavy blobs like a change's labels.steps deploy-JSON. Each verb's default (table/summary) renderer is instead a curated projection of exactly the summary-relevant fields (printIncidentFullDetail → id/severity/progress/channel/timestamps/ai_summary/root_cause/resolution/impact/description/labels/responders; change list → id/title/status/channel/time; etc.). Fix: drop --output-format toon from run() so each command uses its lean default renderer — that default is the field projection a fault summary needs. Kept all six commands, set -uo pipefail, the no-errexit intent, and the read-only "print real output" purpose. Adjusted the header note (the lean detail shows the channel by name; to scope post-mortems to the incident's channel, read channel_id via incident info … --output-format toon | grep '^channel_id:'). Tradeoff: the lean change list table omits labels (one correlation signal) along with the noisy steps blob; the incident's own labels still print under detail, and a specific change can be drilled into via the change card's documented toon path. Net: a massive token cut for a fast overview. P8 — serialize same-host monit-agent probes (reference/monit-agent.md) What: in sess_QmoruPkRjrwA2tcHvEbNvT (steps 10,11,12) os.top_processes was rejected with code=overloaded — per-target concurrency limit reached for kind="host" locator="10.101.214.50" — because multiple monit-agent probes were fired in parallel against the same host, forcing an identical retry that re-sent the growing context. Fix: added a Gotchas line steering fan-out to serialize per target (batch a host's tools into a single invoke, whose tools array already runs concurrently agent-side) and parallelize only across distinct targets. Prose outside the GENERATED fence. Verification bash -n scripts/incident-summary.sh # OK shellcheck scripts/incident-summary.sh # no findings env -u GOROOT go build ./... # BUILD OK go run ./internal/cmd/skilldoc check # skilldoc: cards OK (fence unchanged)

Open Graph Description: Two token-efficiency fixes surfaced by /audit-ai-sre-sessions (audit run audit-2026-06-26). Both touch files kept byte-identical with their embedded copies in fc-safari (logic/runtime/bootstrap/ski...

X Description: Two token-efficiency fixes surfaced by /audit-ai-sre-sessions (audit run audit-2026-06-26). Both touch files kept byte-identical with their embedded copies in fc-safari (logic/runtime/bootstrap/ski...

Opengraph URL: https://github.com/flashcatcloud/flashduty-cli/pull/68

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:89f4ca3e-6e86-e6ce-6900-c031f30f6556
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3B2:3E0D60:3EDC1D3:56D9455:6A4F4F0B
html-safe-nonce06e8e3aedf0b312b32d9c9d84e766776fc8437c81c4930816830bc5f0a1097eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0IyOjNFMEQ2MDozRURDMUQzOjU2RDk0NTU6NkE0RjRGMEIiLCJ2aXNpdG9yX2lkIjoiNDQyMDQ3MzY2Mzg3NjE4OTk2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc95a7c79147c498679c7d967714c0f83b9bedfc567e72ee919fbb65c9eaba9ce
hovercard-subject-tagpull_request:3942640683
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/flashcatcloud/flashduty-cli/pull/68/files
twitter:imagehttps://avatars.githubusercontent.com/u/9045284?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9045284?s=400&v=4
og:image:altTwo token-efficiency fixes surfaced by /audit-ai-sre-sessions (audit run audit-2026-06-26). Both touch files kept byte-identical with their embedded copies in fc-safari (logic/runtime/bootstrap/ski...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/flashcatcloud/flashduty-cli git https://github.com/flashcatcloud/flashduty-cli.git
octolytics-dimension-user_id90465697
octolytics-dimension-user_loginflashcatcloud
octolytics-dimension-repository_id1209147161
octolytics-dimension-repository_nwoflashcatcloud/flashduty-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1209147161
octolytics-dimension-repository_network_root_nwoflashcatcloud/flashduty-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/flashcatcloud/flashduty-cli/pull/68/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflashcatcloud%2Fflashduty-cli%2Fpull%2F68%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fflashcatcloud%2Fflashduty-cli%2Fpull%2F68%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=flashcatcloud%2Fflashduty-cli
Reloadhttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
Reloadhttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
Reloadhttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
flashcatcloud https://github.com/flashcatcloud
flashduty-clihttps://github.com/flashcatcloud/flashduty-cli
Notifications https://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli
Fork 2 https://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli
Star 4 https://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli
Code https://github.com/flashcatcloud/flashduty-cli
Issues 0 https://github.com/flashcatcloud/flashduty-cli/issues
Pull requests 3 https://github.com/flashcatcloud/flashduty-cli/pulls
Actions https://github.com/flashcatcloud/flashduty-cli/actions
Projects https://github.com/flashcatcloud/flashduty-cli/projects
Security and quality 0 https://github.com/flashcatcloud/flashduty-cli/security
Insights https://github.com/flashcatcloud/flashduty-cli/pulse
Code https://github.com/flashcatcloud/flashduty-cli
Issues https://github.com/flashcatcloud/flashduty-cli/issues
Pull requests https://github.com/flashcatcloud/flashduty-cli/pulls
Actions https://github.com/flashcatcloud/flashduty-cli/actions
Projects https://github.com/flashcatcloud/flashduty-cli/projects
Security and quality https://github.com/flashcatcloud/flashduty-cli/security
Insights https://github.com/flashcatcloud/flashduty-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fflashcatcloud%2Fflashduty-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fflashcatcloud%2Fflashduty-cli%2Fissues%2Fnew%2Fchoose
ysyneuhttps://github.com/ysyneu
feat/ai-srehttps://github.com/flashcatcloud/flashduty-cli/tree/feat/ai-sre
audit-fix/2026-06-26-skill-token-effhttps://github.com/flashcatcloud/flashduty-cli/tree/audit-fix/2026-06-26-skill-token-eff
Conversation 1 https://github.com/flashcatcloud/flashduty-cli/pull/68
Commits 1 https://github.com/flashcatcloud/flashduty-cli/pull/68/commits
Checks 12 https://github.com/flashcatcloud/flashduty-cli/pull/68/checks
Files changed https://github.com/flashcatcloud/flashduty-cli/pull/68/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
perf(skill): slim incident-summary output + serialize same-host monit-agent probes https://github.com/flashcatcloud/flashduty-cli/pull/68/files#top
Show all changes 1 commit https://github.com/flashcatcloud/flashduty-cli/pull/68/files
b930115 perf(skill): slim incident-summary output and serialize same-host mon… ysyneu Jun 26, 2026 https://github.com/flashcatcloud/flashduty-cli/pull/68/commits/b930115b695cac074a54e148a63f0d6e3b1faba4
Clear filters https://github.com/flashcatcloud/flashduty-cli/pull/68/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
monit-agent.md https://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-b44d7c1dc2bbbf1e0360777e372ea58c96882066cc52807db1de67cebcf465cc
incident-summary.sh https://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-d1261f216fca0ff965ccd168de3e0abec018295f4ce4c034846858bd6c4c6a04
skills/flashduty/reference/monit-agent.mdhttps://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-b44d7c1dc2bbbf1e0360777e372ea58c96882066cc52807db1de67cebcf465cc
View file https://github.com/flashcatcloud/flashduty-cli/blob/b930115b695cac074a54e148a63f0d6e3b1faba4/skills/flashduty/reference/monit-agent.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flashcatcloud/flashduty-cli/pull/68/{{ revealButtonHref }}
https://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-b44d7c1dc2bbbf1e0360777e372ea58c96882066cc52807db1de67cebcf465cc
https://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-b44d7c1dc2bbbf1e0360777e372ea58c96882066cc52807db1de67cebcf465cc
skills/flashduty/scripts/incident-summary.shhttps://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-d1261f216fca0ff965ccd168de3e0abec018295f4ce4c034846858bd6c4c6a04
View file https://github.com/flashcatcloud/flashduty-cli/blob/b930115b695cac074a54e148a63f0d6e3b1faba4/skills/flashduty/scripts/incident-summary.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/flashcatcloud/flashduty-cli/pull/68/{{ revealButtonHref }}
https://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-d1261f216fca0ff965ccd168de3e0abec018295f4ce4c034846858bd6c4c6a04
https://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-d1261f216fca0ff965ccd168de3e0abec018295f4ce4c034846858bd6c4c6a04
https://github.com/flashcatcloud/flashduty-cli/pull/68/files#diff-d1261f216fca0ff965ccd168de3e0abec018295f4ce4c034846858bd6c4c6a04
Please reload this pagehttps://github.com/flashcatcloud/flashduty-cli/pull/68/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.