Skip to content

JGC-473 - Add AI-agent help text to evidence commands#65

Merged
mnsboev merged 1 commit into
jfrog:mainfrom
ehl-jf:JGC-473-ai-context-help
Jun 1, 2026
Merged

JGC-473 - Add AI-agent help text to evidence commands#65
mnsboev merged 1 commit into
jfrog:mainfrom
ehl-jf:JGC-473-ai-context-help

Conversation

@ehl-jf
Copy link
Copy Markdown
Contributor

@ehl-jf ehl-jf commented May 21, 2026

Summary

Adds AI-agent-oriented help text (AIDescription) so commands render richer help when JFROG_CLI_AI_HELP is truthy or an AI agent is auto-detected. Empty AIDescription falls back to Description; human-mode output is unchanged.

Scope: 4 help.go files + 4 components.Command literals in evidence/cli.

Dependency on jfrog-cli-core

jfrog-cli-core's JGC-473 PR (#1563) has MERGED. This PR's go.mod now requires the merged core master pseudo-version v2.60.1-0.20260601130310-8d52a530da18 directly — no temporary replace directive. Ready to merge on its own.

Linked

@ehl-jf ehl-jf force-pushed the JGC-473-ai-context-help branch from e5d88f0 to 28684dc Compare May 27, 2026 07:22
@ehl-jf ehl-jf force-pushed the JGC-473-ai-context-help branch from 28684dc to c2568df Compare May 27, 2026 08:03
@mnsboev mnsboev added the feature New feature or functionality label May 28, 2026
@mnsboev mnsboev added the safe to test Trusted reviewer approves running SaaS E2E on this PR label May 28, 2026
@github-actions github-actions Bot removed the safe to test Trusted reviewer approves running SaaS E2E on this PR label May 28, 2026
@mnsboev mnsboev added the safe to test Trusted reviewer approves running SaaS E2E on this PR label May 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🚨 Frogbot scanned this pull request and found the below:

📗 Scan Summary

  • Frogbot scanned for vulnerabilities and found 1 issues
Scan Category Status Security Issues
Software Composition Analysis ✅ Done Not Found
Contextual Analysis ✅ Done -
Static Application Security Testing (SAST) ✅ Done
1 Issues Found 1 High
Secrets ✅ Done -
Infrastructure as Code (IaC) ✅ Done Not Found

@jfrog jfrog deleted a comment from github-actions Bot May 31, 2026
@ehl-jf ehl-jf force-pushed the JGC-473-ai-context-help branch from c770efb to 879c99d Compare June 1, 2026 13:06
@github-actions github-actions Bot removed the safe to test Trusted reviewer approves running SaaS E2E on this PR label Jun 1, 2026
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.
@ehl-jf ehl-jf force-pushed the JGC-473-ai-context-help branch from 879c99d to b600266 Compare June 1, 2026 13:35
@mnsboev mnsboev added the safe to test Trusted reviewer approves running SaaS E2E on this PR label Jun 1, 2026
@mnsboev mnsboev merged commit 8df6c9a into jfrog:main Jun 1, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or functionality safe to test Trusted reviewer approves running SaaS E2E on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants