Skip to content

feat(agenthelp): runtime agent-doc collection from the cobra tree - #137

Merged
steve-calvert-glean merged 1 commit into
mainfrom
sc/platform-08-agenthelp-pkg
Nov 10, 2026
Merged

steve-calvert-glean merged 1 commit into
mainfrom
sc/platform-08-agenthelp-pkg

Conversation

@steve-calvert-glean

Copy link
Copy Markdown
Collaborator

internal/agenthelp derives agent-facing usage from the live command tree (cobra is truth for structure, flags, defaults) merged with the schema registry, which gains WhenToUse and Surface (platform|legacy|raw|local) fields — populated for all registered commands. Context reports version, server, auth state (presence only, never token material), and whether legacy mode is active via GLEAN_LEGACY_APIS or X_GLEAN_INCLUDE_EXPERIMENTAL=false.

No user-visible command yet; wired up in the next PR as glean agent-help.

Part 7/9.

🤖 Generated with Claude Code

@steve-calvert-glean
steve-calvert-glean marked this pull request as ready for review July 20, 2026 00:17
@steve-calvert-glean
steve-calvert-glean requested a review from a team as a code owner July 20, 2026 00:17
@steve-calvert-glean
steve-calvert-glean force-pushed the sc/platform-06-agents-migration branch from cdcefab to 78f3b3e Compare July 27, 2026 17:05
@steve-calvert-glean
steve-calvert-glean force-pushed the sc/platform-08-agenthelp-pkg branch from ce787c6 to c2f421e Compare July 27, 2026 17:05
@steve-calvert-glean
steve-calvert-glean force-pushed the sc/platform-06-agents-migration branch from 78f3b3e to 67145f7 Compare July 27, 2026 17:12
@steve-calvert-glean
steve-calvert-glean force-pushed the sc/platform-08-agenthelp-pkg branch from c2f421e to 256c2f7 Compare July 27, 2026 17:12
@steve-calvert-glean
steve-calvert-glean force-pushed the sc/platform-06-agents-migration branch from 67145f7 to 02430f1 Compare July 27, 2026 17:15
@steve-calvert-glean
steve-calvert-glean force-pushed the sc/platform-08-agenthelp-pkg branch 2 times, most recently from eed9ca6 to 60affa8 Compare July 27, 2026 17:19
Base automatically changed from sc/platform-06-agents-migration to main July 27, 2026 17:22
internal/agenthelp derives agent-facing usage from the live command tree
(cobra is truth for structure, flags, defaults) merged with the schema
registry, which gains WhenToUse and Surface (platform|legacy|raw|local)
fields — populated for all 17 registered commands. Context reports
version, server, auth state (presence only, never token material), and
whether legacy mode is active via GLEAN_LEGACY_APIS or
X_GLEAN_INCLUDE_EXPERIMENTAL=false.

No user-visible command yet; wired up next as glean agent-help.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@steve-calvert-glean
steve-calvert-glean force-pushed the sc/platform-08-agenthelp-pkg branch from 9d06ebc to cc8646e Compare November 10, 2026 21:08
@steve-calvert-glean
steve-calvert-glean merged commit ed802e7 into main Nov 10, 2026
8 checks passed
@steve-calvert-glean
steve-calvert-glean deleted the sc/platform-08-agenthelp-pkg branch November 10, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants