From b0d0cd4ba62f1538a1e9f05da4ada8ffb4951fbc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:14:42 +0000 Subject: [PATCH 1/3] Initial plan From 4c33973ee82c4f99ef7a07d8bcc027c73d1e7ad3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:19:03 +0000 Subject: [PATCH 2/3] Initial plan for fixing trial command placeholder inconsistency Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com> --- .github/aw/github-agentic-workflows.md | 6 +++--- .github/workflows/release.lock.yml | 4 ++-- pkg/cli/templates/github-agentic-workflows.md | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/aw/github-agentic-workflows.md b/.github/aw/github-agentic-workflows.md index 5c3f889e58a..0b3df484a9c 100644 --- a/.github/aw/github-agentic-workflows.md +++ b/.github/aw/github-agentic-workflows.md @@ -253,10 +253,10 @@ The YAML frontmatter supports these fields: - `read-only:` - Restrict to read-only operations (boolean) - `github-token:` - Custom GitHub token - `toolsets:` - Enable specific GitHub toolset groups (array only) - - **Default toolsets** (when unspecified): `context`, `repos`, `issues`, `pull_requests` (excludes `users` - not supported by GitHub Actions tokens) + - **Default toolsets** (when unspecified): `context`, `repos`, `issues`, `pull_requests`, `users` - **All toolsets**: `context`, `repos`, `issues`, `pull_requests`, `actions`, `code_security`, `dependabot`, `discussions`, `experiments`, `gists`, `labels`, `notifications`, `orgs`, `projects`, `secret_protection`, `security_advisories`, `stargazers`, `users`, `search` - - Use `[default]` or `[action-friendly]` for GitHub Actions-compatible toolsets, `[all]` to enable everything - - Examples: `toolsets: [default]`, `toolsets: [action-friendly]`, `toolsets: [default, discussions]`, `toolsets: [repos, issues]` + - Use `[default]` for recommended toolsets, `[all]` to enable everything + - Examples: `toolsets: [default]`, `toolsets: [default, discussions]`, `toolsets: [repos, issues]` - **Recommended**: Prefer `toolsets:` over `allowed:` for better organization and reduced configuration verbosity - `agentic-workflows:` - GitHub Agentic Workflows MCP server for workflow introspection - Provides tools for: diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index 326a7745951..ff08e762e0e 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -6276,13 +6276,13 @@ jobs: - name: Download Go modules run: go mod download - name: Generate SBOM (SPDX format) - uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0.20.10 + uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0 with: artifact-name: sbom.spdx.json format: spdx-json output-file: sbom.spdx.json - name: Generate SBOM (CycloneDX format) - uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0.20.10 + uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0 with: artifact-name: sbom.cdx.json format: cyclonedx-json diff --git a/pkg/cli/templates/github-agentic-workflows.md b/pkg/cli/templates/github-agentic-workflows.md index 0b3df484a9c..5c3f889e58a 100644 --- a/pkg/cli/templates/github-agentic-workflows.md +++ b/pkg/cli/templates/github-agentic-workflows.md @@ -253,10 +253,10 @@ The YAML frontmatter supports these fields: - `read-only:` - Restrict to read-only operations (boolean) - `github-token:` - Custom GitHub token - `toolsets:` - Enable specific GitHub toolset groups (array only) - - **Default toolsets** (when unspecified): `context`, `repos`, `issues`, `pull_requests`, `users` + - **Default toolsets** (when unspecified): `context`, `repos`, `issues`, `pull_requests` (excludes `users` - not supported by GitHub Actions tokens) - **All toolsets**: `context`, `repos`, `issues`, `pull_requests`, `actions`, `code_security`, `dependabot`, `discussions`, `experiments`, `gists`, `labels`, `notifications`, `orgs`, `projects`, `secret_protection`, `security_advisories`, `stargazers`, `users`, `search` - - Use `[default]` for recommended toolsets, `[all]` to enable everything - - Examples: `toolsets: [default]`, `toolsets: [default, discussions]`, `toolsets: [repos, issues]` + - Use `[default]` or `[action-friendly]` for GitHub Actions-compatible toolsets, `[all]` to enable everything + - Examples: `toolsets: [default]`, `toolsets: [action-friendly]`, `toolsets: [default, discussions]`, `toolsets: [repos, issues]` - **Recommended**: Prefer `toolsets:` over `allowed:` for better organization and reduced configuration verbosity - `agentic-workflows:` - GitHub Agentic Workflows MCP server for workflow introspection - Provides tools for: From ee5513a2fed766654978ec4bb62ea8315d63e525 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:30:33 +0000 Subject: [PATCH 3/3] Fix trial command placeholder: use workflow-spec instead of workflow Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com> --- .github/workflows/release.lock.yml | 4 ++-- pkg/cli/templates/github-agentic-workflows.md | 6 +++--- pkg/cli/trial_command.go | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index ff08e762e0e..326a7745951 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -6276,13 +6276,13 @@ jobs: - name: Download Go modules run: go mod download - name: Generate SBOM (SPDX format) - uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0 + uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0.20.10 with: artifact-name: sbom.spdx.json format: spdx-json output-file: sbom.spdx.json - name: Generate SBOM (CycloneDX format) - uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0 + uses: anchore/sbom-action@fbfd9c6c189226748411491745178e0c2017392d # v0.20.10 with: artifact-name: sbom.cdx.json format: cyclonedx-json diff --git a/pkg/cli/templates/github-agentic-workflows.md b/pkg/cli/templates/github-agentic-workflows.md index 5c3f889e58a..0b3df484a9c 100644 --- a/pkg/cli/templates/github-agentic-workflows.md +++ b/pkg/cli/templates/github-agentic-workflows.md @@ -253,10 +253,10 @@ The YAML frontmatter supports these fields: - `read-only:` - Restrict to read-only operations (boolean) - `github-token:` - Custom GitHub token - `toolsets:` - Enable specific GitHub toolset groups (array only) - - **Default toolsets** (when unspecified): `context`, `repos`, `issues`, `pull_requests` (excludes `users` - not supported by GitHub Actions tokens) + - **Default toolsets** (when unspecified): `context`, `repos`, `issues`, `pull_requests`, `users` - **All toolsets**: `context`, `repos`, `issues`, `pull_requests`, `actions`, `code_security`, `dependabot`, `discussions`, `experiments`, `gists`, `labels`, `notifications`, `orgs`, `projects`, `secret_protection`, `security_advisories`, `stargazers`, `users`, `search` - - Use `[default]` or `[action-friendly]` for GitHub Actions-compatible toolsets, `[all]` to enable everything - - Examples: `toolsets: [default]`, `toolsets: [action-friendly]`, `toolsets: [default, discussions]`, `toolsets: [repos, issues]` + - Use `[default]` for recommended toolsets, `[all]` to enable everything + - Examples: `toolsets: [default]`, `toolsets: [default, discussions]`, `toolsets: [repos, issues]` - **Recommended**: Prefer `toolsets:` over `allowed:` for better organization and reduced configuration verbosity - `agentic-workflows:` - GitHub Agentic Workflows MCP server for workflow introspection - Provides tools for: diff --git a/pkg/cli/trial_command.go b/pkg/cli/trial_command.go index b6b2739a260..0ab2d244687 100644 --- a/pkg/cli/trial_command.go +++ b/pkg/cli/trial_command.go @@ -41,7 +41,7 @@ type CombinedTrialResult struct { // NewTrialCommand creates the trial command func NewTrialCommand(validateEngine func(string) error) *cobra.Command { cmd := &cobra.Command{ - Use: "trial ...", + Use: "trial ...", Short: "Trial one or more agentic workflows as if they were running in a repository", Long: `Trial one or more agentic workflows as if they were running in a repository.