JGC-473 - Add AI-agent help text to evidence commands#65
Open
ehl-jf wants to merge 2 commits into
Open
Conversation
Populate components.Command.AIDescription on commands. The new field
(added in jfrog-cli-core JGC-473) makes the conversion layer render
agent-oriented text when JFROG_CLI_AI_HELP is truthy or an AI agent is
auto-detected. Empty AIDescription falls back to Description, so
command output is unchanged in human mode.
Scope: 4 help.go files + 4 components.Command literals in evidence/cli/docs/{create,get,verify,generate}/ and evidence/cli/command/command_cli.go.
TEMPORARY go.mod pin: the require for github.com/jfrog/jfrog-cli-core/v2
points at JGC-473-devbase (commit d507b5c6) - a coordination branch
that cherry-picks JGC-473 onto core's pinned commit 908527b4 (the last
commit before core master removed yarn.IsVersionSupported and
IsInstalledYarnVersionSupported, which downstream callers in
jfrog-cli-artifactory still depend on). This require MUST be updated to
the merged master commit's pseudo-version after the jfrog-cli-core
JGC-473 PR merges. Do not merge this PR until the require is re-pinned.
4 tasks
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.
Summary
Adds
AIDescriptionto evidence's 4 commands so they render agent-oriented help whenJFROG_CLI_AI_HELPis truthy or an AI agent is auto-detected. EmptyAIDescriptionfalls back toDescription; human-mode output is unchanged.Scope: 4 help.go files (
evidence/cli/docs/{create,get,verify,generate}/help.go) + 4components.Commandliterals inevidence/cli/command/command_cli.go.TEMPORARY go.mod pin — DO NOT MERGE UNTIL RE-PINNED
go.modrequire forgithub.com/jfrog/jfrog-cli-core/v2points at `JGC-473-devbase` (commit `d507b5c6`) — a coordination branch on jfrog-cli-core that cherry-picks JGC-473 onto core's pre-yarn-removal pinned commit `908527b4`. This is required for downstream builds while the JGC-473 core PR is in review AND the yarn-coordination break between core master and jfrog-cli-artifactory main is resolved upstream (RTECO-1035 follow-up).Before merge: re-pin to the merged jfrog-cli-core master pseudo-version.
Linked
Test plan
go build ./...cleango test ./...812 passed, 0 skipped (38 packages) with the dev replace