Skip to content

[instructions] Sync github-agentic-workflows.md with v0.40.1#18583

Merged
pelikhan merged 2 commits intomainfrom
instructions-janitor/sync-v0.40.1-5a2fda6dd48ce6c4
Feb 27, 2026
Merged

[instructions] Sync github-agentic-workflows.md with v0.40.1#18583
pelikhan merged 2 commits intomainfrom
instructions-janitor/sync-v0.40.1-5a2fda6dd48ce6c4

Conversation

@github-actions
Copy link
Contributor

Instructions Update - Synchronized with v0.40.1

This PR updates github-agentic-workflows.md based on code audit against the v0.40.1 release. No documentation commits modified the instructions file since the release; changes are derived from comparing code (compiler_types.go, safe_outputs_config.go, main_workflow_schema.json) to the instructions file.

Changes Made

  • Add checkout: frontmatter field — This top-level field was fully implemented in the JSON schema and Go code (checkout_manager.go, compiler_orchestrator_workflow.go) but completely absent from the instructions. Documents single and multiple checkout configurations with all supported sub-fields (repository, ref, path, fetch-depth, sparse-checkout, submodules, lfs, github-token).

  • Expand features: field documentation — Previously listed only as "Feature flags for experimental features (object)" with no details. Now enumerates the four known feature flags from pkg/constants/constants.go: copilot-requests (documented in changeset patch-add-copilot-requests-feature.md), mcp-gateway, dangerous-permissions-write, and disable-xpia-prompt.

  • Add safe-outputs.steps: global field — This field (Steps []any yaml:"steps,omitempty") exists in SafeOutputsConfig and the JSON schema (main_workflow_schema.json lines 6953–6967) but was not documented. It injects custom steps into all safe-output jobs after checkout and before safe-output code runs.

Documentation Commits Reviewed

Code Files Audited

  • pkg/workflow/compiler_types.goSafeOutputsConfig struct
  • pkg/workflow/safe_outputs_config.go — safe-outputs parsing
  • pkg/parser/schemas/main_workflow_schema.json — JSON schema
  • pkg/constants/constants.go — feature flag constants
  • pkg/workflow/checkout_manager.go — checkout config parsing

Validation

  • Followed prompting best practices (imperative mood, minimal examples)
  • Maintained technical tone and brevity
  • Updated only necessary sections
  • Verified accuracy against current codebase
  • Removed no existing content (additions only)

Generated by Instructions Janitor

  • expires on Mar 1, 2026, 12:01 AM UTC

- Add checkout: frontmatter field documentation (single and multi-repo checkout config)
- Expand features: field to list known flags (copilot-requests, mcp-gateway, dangerous-permissions-write, disable-xpia-prompt)
- Add safe-outputs.steps: global field documentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation instructions labels Feb 27, 2026
@pelikhan pelikhan marked this pull request as ready for review February 27, 2026 00:06
Copilot AI review requested due to automatic review settings February 27, 2026 00:06
@pelikhan pelikhan merged commit 4b3e3ba into main Feb 27, 2026
@pelikhan pelikhan deleted the instructions-janitor/sync-v0.40.1-5a2fda6dd48ce6c4 branch February 27, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation instructions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In private repos, events triggered in comments PRs are not able to access the PR branch

1 participant