Skip to content

Conversation

@pelikhan
Copy link
Contributor

@pelikhan pelikhan commented Sep 4, 2025

  • expose missing-tool as a safe output to provide a structured way to report missing tools
  • better error location in frontmatter
  • support for custom env in engine definition to allow custom environments needed to configure agents (there's a ton of those)

Copilot AI and others added 5 commits September 4, 2025 08:38
…efault (#53)

* Initial plan

* Implement missing-tool safe output for reporting unavailable functionality

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Make missing-tool safe output optional instead of always enabled

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…r nested additional properties (#50)

* Remove GITHUB_TOKEN usage from format-and-commit workflow

* Initial plan

* Improve frontmatter error source location logic for additional properties and offsets

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Enhance nested additional properties error location handling

- Modified LocateJSONPathInYAMLWithAdditionalProperties to handle additional properties in nested objects
- Added findAdditionalPropertyInNestedContext function to locate properties within specific JSON path contexts
- Added findNestedSection function to identify YAML sections corresponding to JSON paths
- Added comprehensive test coverage for nested additional properties scenarios
- Maintains backward compatibility with existing root-level additional properties handling

Fixes handling of errors like "at '/on': additional properties 'foobar' not allowed" to point to exact location of 'foobar' rather than the 'on:' line.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Optimize nested additional properties search for JSON paths

When a JSON path is available, search within sub-YAML content instead of entire YAML:
- Extract the YAML content for the specific JSON path section
- Normalize indentation for the sub-content
- Perform additional property search within the extracted sub-YAML
- Map coordinates back to original YAML positions

This improves efficiency by avoiding searches through unrelated YAML sections and provides more precise error location detection as requested in feedback.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…using GitHub Actions syntax (#56)

* Initial plan

* Add support for custom environment variables in engine configuration

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Change env field type from array to map for GitHub Actions compatibility

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Contributor Author

pelikhan commented Sep 4, 2025

/test-claude-command
/test-codex-command

@pelikhan
Copy link
Contributor Author

pelikhan commented Sep 4, 2025

/test-claude-command

@pelikhan pelikhan merged commit 27f6178 into githubnext:main Sep 4, 2025
12 checks passed
@pelikhan pelikhan deleted the pelikhan/missing-tools branch September 4, 2025 16:17
Copilot AI added a commit that referenced this pull request Dec 24, 2025
After reviewing actions/create-github-app-token source code, permission-discussions
is not a valid input (see issue #307). The action only supports permission-team-discussions,
not repository discussions. The original comment was correct - discussions permissions
cannot be requested via the action's permission-* inputs.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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.

1 participant