Skip to content

[task] Add examples for tools configuration (github, bash, cache-memory, agentic-workflows) #2575

@github-actions

Description

@github-actions

Objective

Add JSON schema examples for the tools configuration section, focusing on commonly used tools: github, bash, cache-memory, and agentic-workflows.

Context

Part of discussion #2571 - enhancing the main_workflow_schema.json. This is chunk 3 of 5, covering tool configurations.

Approach

  1. Extract github tool examples:

    • Simple: github: (basic)
    • With toolset: toolset: [pull_requests, actions, repos] (dev-hawk.md)
    • With allowed functions
    • Read-only mode
  2. Extract bash tool examples:

    • mergefest.md has extensive bash allowed list (git commands, make commands)
    • Other workflows with bash restrictions
  3. Extract cache-memory examples:

    • Simple boolean: cache-memory: true (audit-workflows.md, copilot-agent-analysis.md)
    • Object format with key
    • Array format for multiple caches
  4. Extract agentic-workflows tool examples:

    • dev-hawk.md uses agentic-workflows: tool
  5. Add timeout property examples for tools

Files to Modify

  • pkg/parser/schemas/main_workflow_schema.json (tools section)

Example Workflows to Mine

  • .github/workflows/mergefest.md (extensive bash allowed list)
  • .github/workflows/dev-hawk.md (github toolset, agentic-workflows)
  • .github/workflows/audit-workflows.md (cache-memory: true)
  • .github/workflows/copilot-agent-analysis.md (github, cache-memory)

Acceptance Criteria

AI generated by Plan Command for discussion #2571

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions