diff --git a/.github/workflows/daily-repo-goals.lock.yml b/.github/workflows/daily-repo-goals.lock.yml index 1f1d35a..8e596ba 100644 --- a/.github/workflows/daily-repo-goals.lock.yml +++ b/.github/workflows/daily-repo-goals.lock.yml @@ -13,7 +13,7 @@ # \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \ # \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/ # -# This file was automatically generated by gh-aw (v0.48.1). DO NOT EDIT. +# This file was automatically generated by gh-aw (v0.48.4). DO NOT EDIT. # # To update this file, edit the corresponding .md file and run: # gh aw compile @@ -26,12 +26,12 @@ # general-purpose workflows from Peli's Agent Factory (github/gh-aw) that could # be adapted for broader use. At most one new workflow is proposed per run. # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"e43ab5e396fb1e625d6bf32f99344b72b51d4510f360bc2a08be21e3bf7f02e9","compiler_version":"v0.48.1"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"e43ab5e396fb1e625d6bf32f99344b72b51d4510f360bc2a08be21e3bf7f02e9","compiler_version":"v0.48.4"} name: "Daily Repo Goal Achiever" "on": schedule: - - cron: "20 1 * * *" + - cron: "46 20 * * *" # Friendly format: daily (scattered) workflow_dispatch: @@ -52,7 +52,7 @@ jobs: comment_repo: "" steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Validate context variables @@ -223,8 +223,6 @@ jobs: GH_AW_GITHUB_RUN_ID: ${{ github.run_id }} GH_AW_GITHUB_WORKFLOW: ${{ github.workflow }} GH_AW_GITHUB_WORKSPACE: ${{ github.workspace }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: ${{ needs.pre_activation.outputs.activated }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: ${{ needs.pre_activation.outputs.matched_command }} with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -247,9 +245,7 @@ jobs: GH_AW_GITHUB_REPOSITORY: process.env.GH_AW_GITHUB_REPOSITORY, GH_AW_GITHUB_RUN_ID: process.env.GH_AW_GITHUB_RUN_ID, GH_AW_GITHUB_WORKFLOW: process.env.GH_AW_GITHUB_WORKFLOW, - GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND + GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE } }); - name: Validate prompt placeholders @@ -293,7 +289,7 @@ jobs: secret_verification_result: ${{ steps.validate-secret.outputs.verification_result }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Checkout repository @@ -349,8 +345,8 @@ jobs: engine_name: "GitHub Copilot CLI", model: process.env.GH_AW_MODEL_AGENT_COPILOT || "", version: "", - agent_version: "0.0.412", - cli_version: "v0.48.1", + agent_version: "0.0.414", + cli_version: "v0.48.4", workflow_name: "Daily Repo Goal Achiever", experimental: false, supports_tools_allowlist: true, @@ -387,7 +383,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Install awf binary run: bash /opt/gh-aw/actions/install_awf_binary.sh v0.20.2 - name: Determine automatic lockdown mode for GitHub MCP Server @@ -983,7 +979,7 @@ jobs: total_count: ${{ steps.missing_tool.outputs.total_count }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact @@ -1035,6 +1031,8 @@ jobs: GH_AW_WORKFLOW_ID: "daily-repo-goals" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} + GH_AW_CODE_PUSH_FAILURE_ERRORS: ${{ needs.safe_outputs.outputs.code_push_failure_errors }} + GH_AW_CODE_PUSH_FAILURE_COUNT: ${{ needs.safe_outputs.outputs.code_push_failure_count }} GH_AW_GROUP_REPORTS: "false" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} @@ -1087,7 +1085,7 @@ jobs: success: ${{ steps.parse_results.outputs.success }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent artifacts @@ -1129,7 +1127,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1193,13 +1191,15 @@ jobs: GH_AW_WORKFLOW_ID: "daily-repo-goals" GH_AW_WORKFLOW_NAME: "Daily Repo Goal Achiever" outputs: + code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} + code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} create_discussion_error_count: ${{ steps.process_safe_outputs.outputs.create_discussion_error_count }} create_discussion_errors: ${{ steps.process_safe_outputs.outputs.create_discussion_errors }} process_safe_outputs_processed_count: ${{ steps.process_safe_outputs.outputs.processed_count }} process_safe_outputs_temporary_id_map: ${{ steps.process_safe_outputs.outputs.temporary_id_map }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact @@ -1272,7 +1272,7 @@ jobs: GH_AW_WORKFLOW_ID_SANITIZED: dailyrepogoals steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download cache-memory artifact (default) @@ -1287,9 +1287,9 @@ jobs: shell: bash run: | if [ -d "/tmp/gh-aw/cache-memory" ] && [ "$(ls -A /tmp/gh-aw/cache-memory 2>/dev/null)" ]; then - echo "has_content=true" >> $GITHUB_OUTPUT + echo "has_content=true" >> "$GITHUB_OUTPUT" else - echo "has_content=false" >> $GITHUB_OUTPUT + echo "has_content=false" >> "$GITHUB_OUTPUT" fi - name: Save cache-memory to cache (default) if: steps.check_cache_default.outputs.has_content == 'true' diff --git a/.github/workflows/daily-workflow-sync.lock.yml b/.github/workflows/daily-workflow-sync.lock.yml index b6b37af..1c3375c 100644 --- a/.github/workflows/daily-workflow-sync.lock.yml +++ b/.github/workflows/daily-workflow-sync.lock.yml @@ -13,7 +13,7 @@ # \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \ # \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/ # -# This file was automatically generated by gh-aw (v0.48.1). DO NOT EDIT. +# This file was automatically generated by gh-aw (v0.48.4). DO NOT EDIT. # # To update this file, edit the corresponding .md file and run: # gh aw compile @@ -22,7 +22,7 @@ # For more information: https://github.github.com/gh-aw/introduction/overview/ # # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"068302ca63b78de339e97eaa487ed2e135c959d41657583fa1fe7bbc325dbe73","compiler_version":"v0.48.1"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"068302ca63b78de339e97eaa487ed2e135c959d41657583fa1fe7bbc325dbe73","compiler_version":"v0.48.4"} name: "Daily Workflow Sync from github/gh-aw" "on": @@ -47,7 +47,7 @@ jobs: comment_repo: "" steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Validate context variables @@ -218,8 +218,6 @@ jobs: GH_AW_GITHUB_REPOSITORY: ${{ github.repository }} GH_AW_GITHUB_RUN_ID: ${{ github.run_id }} GH_AW_GITHUB_WORKSPACE: ${{ github.workspace }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: ${{ needs.pre_activation.outputs.activated }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: ${{ needs.pre_activation.outputs.matched_command }} with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -238,9 +236,7 @@ jobs: GH_AW_GITHUB_EVENT_PULL_REQUEST_NUMBER: process.env.GH_AW_GITHUB_EVENT_PULL_REQUEST_NUMBER, GH_AW_GITHUB_REPOSITORY: process.env.GH_AW_GITHUB_REPOSITORY, GH_AW_GITHUB_RUN_ID: process.env.GH_AW_GITHUB_RUN_ID, - GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND + GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE } }); - name: Validate prompt placeholders @@ -284,7 +280,7 @@ jobs: secret_verification_result: ${{ steps.validate-secret.outputs.verification_result }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Create gh-aw temp directory @@ -336,8 +332,8 @@ jobs: engine_name: "GitHub Copilot CLI", model: process.env.GH_AW_MODEL_AGENT_COPILOT || "", version: "", - agent_version: "0.0.412", - cli_version: "v0.48.1", + agent_version: "0.0.414", + cli_version: "v0.48.4", workflow_name: "Daily Workflow Sync from github/gh-aw", experimental: false, supports_tools_allowlist: true, @@ -374,7 +370,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Install awf binary run: bash /opt/gh-aw/actions/install_awf_binary.sh v0.20.2 - name: Determine automatic lockdown mode for GitHub MCP Server @@ -977,7 +973,7 @@ jobs: total_count: ${{ steps.missing_tool.outputs.total_count }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact @@ -1029,6 +1025,8 @@ jobs: GH_AW_WORKFLOW_ID: "daily-workflow-sync" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} + GH_AW_CODE_PUSH_FAILURE_ERRORS: ${{ needs.safe_outputs.outputs.code_push_failure_errors }} + GH_AW_CODE_PUSH_FAILURE_COUNT: ${{ needs.safe_outputs.outputs.code_push_failure_count }} GH_AW_GROUP_REPORTS: "false" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} @@ -1081,7 +1079,7 @@ jobs: success: ${{ steps.parse_results.outputs.success }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent artifacts @@ -1123,7 +1121,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1188,13 +1186,15 @@ jobs: GH_AW_WORKFLOW_ID: "daily-workflow-sync" GH_AW_WORKFLOW_NAME: "Daily Workflow Sync from github/gh-aw" outputs: + code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} + code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} create_discussion_error_count: ${{ steps.process_safe_outputs.outputs.create_discussion_error_count }} create_discussion_errors: ${{ steps.process_safe_outputs.outputs.create_discussion_errors }} process_safe_outputs_processed_count: ${{ steps.process_safe_outputs.outputs.processed_count }} process_safe_outputs_temporary_id_map: ${{ steps.process_safe_outputs.outputs.temporary_id_map }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact diff --git a/.github/workflows/import-workflow.lock.yml b/.github/workflows/import-workflow.lock.yml index 66b5526..c2a8f73 100644 --- a/.github/workflows/import-workflow.lock.yml +++ b/.github/workflows/import-workflow.lock.yml @@ -13,7 +13,7 @@ # \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \ # \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/ # -# This file was automatically generated by gh-aw (v0.48.1). DO NOT EDIT. +# This file was automatically generated by gh-aw (v0.48.4). DO NOT EDIT. # # To update this file, edit the corresponding .md file and run: # gh aw compile @@ -26,7 +26,7 @@ # page following the established pattern, updates the README, and compiles the # workflow lock file. Triggered manually with the workflow identifier as input. # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"08382fa0d8a5b881d418a1ca45b2beddb8e756133320b364e62594937f4ea127","compiler_version":"v0.48.1"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"08382fa0d8a5b881d418a1ca45b2beddb8e756133320b364e62594937f4ea127","compiler_version":"v0.48.4"} name: "Import Workflow from Prompt Repository" "on": @@ -59,7 +59,7 @@ jobs: comment_repo: "" steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Validate context variables @@ -225,8 +225,6 @@ jobs: GH_AW_GITHUB_REPOSITORY: ${{ github.repository }} GH_AW_GITHUB_RUN_ID: ${{ github.run_id }} GH_AW_GITHUB_WORKSPACE: ${{ github.workspace }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: ${{ needs.pre_activation.outputs.activated }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: ${{ needs.pre_activation.outputs.matched_command }} with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -247,9 +245,7 @@ jobs: GH_AW_GITHUB_EVENT_PULL_REQUEST_NUMBER: process.env.GH_AW_GITHUB_EVENT_PULL_REQUEST_NUMBER, GH_AW_GITHUB_REPOSITORY: process.env.GH_AW_GITHUB_REPOSITORY, GH_AW_GITHUB_RUN_ID: process.env.GH_AW_GITHUB_RUN_ID, - GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND + GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE } }); - name: Validate prompt placeholders @@ -293,7 +289,7 @@ jobs: secret_verification_result: ${{ steps.validate-secret.outputs.verification_result }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Checkout repository @@ -339,8 +335,8 @@ jobs: engine_name: "GitHub Copilot CLI", model: process.env.GH_AW_MODEL_AGENT_COPILOT || "", version: "", - agent_version: "0.0.412", - cli_version: "v0.48.1", + agent_version: "0.0.414", + cli_version: "v0.48.4", workflow_name: "Import Workflow from Prompt Repository", experimental: false, supports_tools_allowlist: true, @@ -377,7 +373,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Install awf binary run: bash /opt/gh-aw/actions/install_awf_binary.sh v0.20.2 - name: Determine automatic lockdown mode for GitHub MCP Server @@ -892,7 +888,7 @@ jobs: total_count: ${{ steps.missing_tool.outputs.total_count }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact @@ -944,6 +940,8 @@ jobs: GH_AW_WORKFLOW_ID: "import-workflow" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} + GH_AW_CODE_PUSH_FAILURE_ERRORS: ${{ needs.safe_outputs.outputs.code_push_failure_errors }} + GH_AW_CODE_PUSH_FAILURE_COUNT: ${{ needs.safe_outputs.outputs.code_push_failure_count }} GH_AW_GROUP_REPORTS: "false" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} @@ -996,7 +994,7 @@ jobs: success: ${{ steps.parse_results.outputs.success }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent artifacts @@ -1038,7 +1036,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1102,13 +1100,15 @@ jobs: GH_AW_WORKFLOW_ID: "import-workflow" GH_AW_WORKFLOW_NAME: "Import Workflow from Prompt Repository" outputs: + code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} + code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} create_discussion_error_count: ${{ steps.process_safe_outputs.outputs.create_discussion_error_count }} create_discussion_errors: ${{ steps.process_safe_outputs.outputs.create_discussion_errors }} process_safe_outputs_processed_count: ${{ steps.process_safe_outputs.outputs.processed_count }} process_safe_outputs_temporary_id_map: ${{ steps.process_safe_outputs.outputs.temporary_id_map }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact diff --git a/.github/workflows/link-checker.lock.yml b/.github/workflows/link-checker.lock.yml index aadcac7..8108f49 100644 --- a/.github/workflows/link-checker.lock.yml +++ b/.github/workflows/link-checker.lock.yml @@ -13,7 +13,7 @@ # \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \ # \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/ # -# This file was automatically generated by gh-aw (v0.48.1). DO NOT EDIT. +# This file was automatically generated by gh-aw (v0.48.4). DO NOT EDIT. # # To update this file, edit the corresponding .md file and run: # gh aw compile @@ -23,12 +23,12 @@ # # Daily automated link checker that finds and fixes broken links in documentation files # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"2760c9d0dbb1d411d902eeb0d943246fc10aac4e3c8f14bf279daf575e6b6cfe","compiler_version":"v0.48.1"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"2760c9d0dbb1d411d902eeb0d943246fc10aac4e3c8f14bf279daf575e6b6cfe","compiler_version":"v0.48.4"} name: "Daily Link Checker & Fixer" "on": schedule: - - cron: "41 14 * * 1-5" + - cron: "51 18 * * 1-5" # Friendly format: daily on weekdays (scattered) workflow_dispatch: @@ -49,7 +49,7 @@ jobs: comment_repo: "" steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Validate context variables @@ -213,8 +213,6 @@ jobs: GH_AW_GITHUB_REPOSITORY: ${{ github.repository }} GH_AW_GITHUB_RUN_ID: ${{ github.run_id }} GH_AW_GITHUB_WORKSPACE: ${{ github.workspace }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: ${{ needs.pre_activation.outputs.activated }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: ${{ needs.pre_activation.outputs.matched_command }} with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -236,9 +234,7 @@ jobs: GH_AW_GITHUB_EVENT_PULL_REQUEST_NUMBER: process.env.GH_AW_GITHUB_EVENT_PULL_REQUEST_NUMBER, GH_AW_GITHUB_REPOSITORY: process.env.GH_AW_GITHUB_REPOSITORY, GH_AW_GITHUB_RUN_ID: process.env.GH_AW_GITHUB_RUN_ID, - GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND + GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE } }); - name: Validate prompt placeholders @@ -282,7 +278,7 @@ jobs: secret_verification_result: ${{ steps.validate-secret.outputs.verification_result }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Create gh-aw temp directory @@ -344,8 +340,8 @@ jobs: engine_name: "GitHub Copilot CLI", model: process.env.GH_AW_MODEL_AGENT_COPILOT || "", version: "", - agent_version: "0.0.412", - cli_version: "v0.48.1", + agent_version: "0.0.414", + cli_version: "v0.48.4", workflow_name: "Daily Link Checker & Fixer", experimental: false, supports_tools_allowlist: true, @@ -382,7 +378,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Install awf binary run: bash /opt/gh-aw/actions/install_awf_binary.sh v0.20.2 - name: Determine automatic lockdown mode for GitHub MCP Server @@ -904,7 +900,7 @@ jobs: total_count: ${{ steps.missing_tool.outputs.total_count }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact @@ -956,6 +952,8 @@ jobs: GH_AW_WORKFLOW_ID: "link-checker" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} + GH_AW_CODE_PUSH_FAILURE_ERRORS: ${{ needs.safe_outputs.outputs.code_push_failure_errors }} + GH_AW_CODE_PUSH_FAILURE_COUNT: ${{ needs.safe_outputs.outputs.code_push_failure_count }} GH_AW_GROUP_REPORTS: "false" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} @@ -1008,7 +1006,7 @@ jobs: success: ${{ steps.parse_results.outputs.success }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent artifacts @@ -1050,7 +1048,7 @@ jobs: env: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} - name: Install GitHub Copilot CLI - run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.412 + run: /opt/gh-aw/actions/install_copilot_cli.sh 0.0.414 - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1114,13 +1112,15 @@ jobs: GH_AW_WORKFLOW_ID: "link-checker" GH_AW_WORKFLOW_NAME: "Daily Link Checker & Fixer" outputs: + code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} + code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} create_discussion_error_count: ${{ steps.process_safe_outputs.outputs.create_discussion_error_count }} create_discussion_errors: ${{ steps.process_safe_outputs.outputs.create_discussion_errors }} process_safe_outputs_processed_count: ${{ steps.process_safe_outputs.outputs.processed_count }} process_safe_outputs_temporary_id_map: ${{ steps.process_safe_outputs.outputs.temporary_id_map }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact @@ -1193,7 +1193,7 @@ jobs: GH_AW_WORKFLOW_ID_SANITIZED: linkchecker steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download cache-memory artifact (default) @@ -1208,9 +1208,9 @@ jobs: shell: bash run: | if [ -d "/tmp/gh-aw/cache-memory" ] && [ "$(ls -A /tmp/gh-aw/cache-memory 2>/dev/null)" ]; then - echo "has_content=true" >> $GITHUB_OUTPUT + echo "has_content=true" >> "$GITHUB_OUTPUT" else - echo "has_content=false" >> $GITHUB_OUTPUT + echo "has_content=false" >> "$GITHUB_OUTPUT" fi - name: Save cache-memory to cache (default) if: steps.check_cache_default.outputs.has_content == 'true' diff --git a/.github/workflows/maintainer.lock.yml b/.github/workflows/maintainer.lock.yml index be2328e..77a18d0 100644 --- a/.github/workflows/maintainer.lock.yml +++ b/.github/workflows/maintainer.lock.yml @@ -13,7 +13,7 @@ # \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \ # \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/ # -# This file was automatically generated by gh-aw (v0.48.1). DO NOT EDIT. +# This file was automatically generated by gh-aw (v0.48.4). DO NOT EDIT. # # To update this file, edit the corresponding .md file and run: # gh aw compile @@ -22,7 +22,7 @@ # For more information: https://github.github.com/gh-aw/introduction/overview/ # # -# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"c9d3199e024a917728d562076393f7d9b925c140e379451ce7b58b9a6f6d3390","compiler_version":"v0.48.1"} +# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"c9d3199e024a917728d562076393f7d9b925c140e379451ce7b58b9a6f6d3390","compiler_version":"v0.48.4"} name: "Agentic Workflow Maintainer" "on": @@ -50,7 +50,7 @@ jobs: comment_repo: "" steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Validate context variables @@ -218,7 +218,6 @@ jobs: GH_AW_GITHUB_WORKFLOW: ${{ github.workflow }} GH_AW_GITHUB_WORKSPACE: ${{ github.workspace }} GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: ${{ needs.pre_activation.outputs.activated }} - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: ${{ needs.pre_activation.outputs.matched_command }} with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -239,8 +238,7 @@ jobs: GH_AW_GITHUB_RUN_ID: process.env.GH_AW_GITHUB_RUN_ID, GH_AW_GITHUB_WORKFLOW: process.env.GH_AW_GITHUB_WORKFLOW, GH_AW_GITHUB_WORKSPACE: process.env.GH_AW_GITHUB_WORKSPACE, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED, - GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_MATCHED_COMMAND + GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED: process.env.GH_AW_NEEDS_PRE_ACTIVATION_OUTPUTS_ACTIVATED } }); - name: Validate prompt placeholders @@ -284,7 +282,7 @@ jobs: secret_verification_result: ${{ steps.validate-secret.outputs.verification_result }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Create gh-aw temp directory @@ -341,8 +339,8 @@ jobs: engine_name: "Claude Code", model: process.env.GH_AW_MODEL_AGENT_CLAUDE || "", version: "", - agent_version: "2.1.49", - cli_version: "v0.48.1", + agent_version: "2.1.50", + cli_version: "v0.48.4", workflow_name: "Agentic Workflow Maintainer", experimental: false, supports_tools_allowlist: true, @@ -386,7 +384,7 @@ jobs: - name: Install awf binary run: bash /opt/gh-aw/actions/install_awf_binary.sh v0.20.2 - name: Install Claude Code CLI - run: npm install -g --silent @anthropic-ai/claude-code@2.1.49 + run: npm install -g --silent @anthropic-ai/claude-code@2.1.50 - name: Determine automatic lockdown mode for GitHub MCP Server id: determine-automatic-lockdown uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 @@ -1014,7 +1012,7 @@ jobs: total_count: ${{ steps.missing_tool.outputs.total_count }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact @@ -1066,6 +1064,8 @@ jobs: GH_AW_WORKFLOW_ID: "maintainer" GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }} + GH_AW_CODE_PUSH_FAILURE_ERRORS: ${{ needs.safe_outputs.outputs.code_push_failure_errors }} + GH_AW_CODE_PUSH_FAILURE_COUNT: ${{ needs.safe_outputs.outputs.code_push_failure_count }} GH_AW_GROUP_REPORTS: "false" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} @@ -1118,7 +1118,7 @@ jobs: success: ${{ steps.parse_results.outputs.success }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent artifacts @@ -1165,7 +1165,7 @@ jobs: node-version: '24' package-manager-cache: false - name: Install Claude Code CLI - run: npm install -g --silent @anthropic-ai/claude-code@2.1.49 + run: npm install -g --silent @anthropic-ai/claude-code@2.1.50 - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1224,9 +1224,10 @@ jobs: runs-on: ubuntu-slim outputs: activated: ${{ steps.check_membership.outputs.is_team_member == 'true' }} + matched_command: '' steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Check team membership for workflow @@ -1259,13 +1260,15 @@ jobs: GH_AW_WORKFLOW_ID: "maintainer" GH_AW_WORKFLOW_NAME: "Agentic Workflow Maintainer" outputs: + code_push_failure_count: ${{ steps.process_safe_outputs.outputs.code_push_failure_count }} + code_push_failure_errors: ${{ steps.process_safe_outputs.outputs.code_push_failure_errors }} create_discussion_error_count: ${{ steps.process_safe_outputs.outputs.create_discussion_error_count }} create_discussion_errors: ${{ steps.process_safe_outputs.outputs.create_discussion_errors }} process_safe_outputs_processed_count: ${{ steps.process_safe_outputs.outputs.processed_count }} process_safe_outputs_temporary_id_map: ${{ steps.process_safe_outputs.outputs.temporary_id_map }} steps: - name: Setup Scripts - uses: github/gh-aw/actions/setup@26b6572ae210580303087bc3142fe58d140bf65c # v0.48.1 + uses: github/gh-aw/actions/setup@v0.48.4 with: destination: /opt/gh-aw/actions - name: Download agent output artifact diff --git a/docs/daily-backlog-burner.md b/docs/daily-backlog-burner.md index c27cc48..2824373 100644 --- a/docs/daily-backlog-burner.md +++ b/docs/daily-backlog-burner.md @@ -2,7 +2,7 @@ > For an overview of all available workflows, see the [main README](../README.md). -The [daily backlog burner workflow](../workflows/daily-backlog-burner.md?plain=1) performs systematic backlog management by working through issues and pull requests. It operates in two phases: first researching the entire backlog to categorize and prioritize items, then systematically closing, resolving, or advancing selected items. Creates discussions to track progress and gather maintainer feedback, helping reduce technical debt. +The [daily backlog burner workflow](../workflows/daily-backlog-burner.md?plain=1) performs systematic backlog management by working through issues and pull requests. It operates in two phases: first researching the entire backlog to categorize and prioritize items, then systematically closing, resolving, or advancing selected items. It uses repo-memory to maintain a backlog cursor across runs, ensuring steady progress through the full issue list without repeating work. Creates discussions to track progress and gather maintainer feedback, helping reduce technical debt. ## Installation @@ -36,7 +36,7 @@ graph LR ## Configuration -This workflow requires no configuration and works out of the box. It will automatically analyze your backlog and suggest items for closure or resolution. You can edit it to customize prioritization criteria and decision-making logic. +This workflow requires no configuration and works out of the box. It uses repo-memory to track a backlog cursor and work history across runs, allowing it to systematically advance through issues and PRs without repeating work. You can edit it to customize prioritization criteria and decision-making logic. After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. @@ -46,6 +46,7 @@ After editing run `gh aw compile` to update the workflow and commit all changes - Issue and PR comments, labels, and activity history - Repository policies and contribution guidelines - Discussions and community feedback +- Its own memory from previous runs (stored in a repo-memory branch) ## What it creates diff --git a/docs/daily-perf-improver.md b/docs/daily-perf-improver.md index 2414614..38a3df0 100644 --- a/docs/daily-perf-improver.md +++ b/docs/daily-perf-improver.md @@ -46,6 +46,8 @@ graph LR 2. The first run of the workflow will also create an issue in the repository with a plan for improving performance. You can comment on this issue to provide feedback or adjustments to the plan. Comments will not be picked up until the next run. +3. The workflow uses **repo-memory** to persist notes about attempted optimizations, outcomes, and remaining ideas across runs. These are stored in the `memory/daily-perf-improver` branch, so each run builds on the work of previous runs without repeating failed approaches. + After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. ## What it reads from GitHub @@ -54,6 +56,7 @@ After editing run `gh aw compile` to update the workflow and commit all changes - Existing issues and pull requests related to performance - Build scripts and project configuration files - CI/CD configurations and workflow results +- Its own memory from previous runs (stored in a repo-memory branch) ## What it creates diff --git a/docs/daily-qa.md b/docs/daily-qa.md index b3eee7a..f685f9f 100644 --- a/docs/daily-qa.md +++ b/docs/daily-qa.md @@ -35,7 +35,7 @@ graph LR ## Configuration -This workflow requires no configuration and works out of the box. You can edit it to specify QA tasks, testing scenarios, reporting format, and frequency. +This workflow requires no configuration and works out of the box. It uses repo-memory to track QA history across runs—recording issues already created and areas previously checked—so it avoids filing duplicate issues and focuses on new findings. You can edit it to specify QA tasks, testing scenarios, reporting format, and frequency. After editing run `gh aw compile` to update the workflow and commit all changes to the default branch. @@ -46,6 +46,7 @@ After editing run `gh aw compile` to update the workflow and commit all changes - Discussions and community content - Actions workflow runs and results - Checks and status information +- Its own memory from previous runs (stored in a repo-memory branch) ## What it creates diff --git a/workflows/daily-backlog-burner.md b/workflows/daily-backlog-burner.md index 9da1d4d..1b29a87 100644 --- a/workflows/daily-backlog-burner.md +++ b/workflows/daily-backlog-burner.md @@ -32,6 +32,12 @@ tools: github: toolsets: [all] bash: true + repo-memory: + - id: daily-backlog-burner + description: "Tracks backlog progress cursor, processed items, and work history across runs" + file-glob: ["memory/daily-backlog-burner/*.md", "memory/daily-backlog-burner/*.json"] + max-file-size: 10240 # 10KB + max-file-count: 4 --- @@ -86,13 +92,17 @@ To decide which phase to perform: 1. **Goal selection**. Build an understanding of what to work on and select a backlog item to pursue - a. Read the plan in the discussion mentioned earlier, along with comments. + a. **Read your repo memory** from `/tmp/gh-aw/repo-memory-daily-backlog-burner/` to understand what work has already been done across previous runs. In particular: + - Read `progress.md` for a summary of completed work, known in-progress items, and the backlog cursor (last issue/PR number processed) + - This ensures you continue from where the previous run left off rather than restarting from the top of the backlog - b. Check for existing open pull requests (especially yours with "${{ github.workflow }}" prefix). Avoid duplicate work. + b. Read the plan in the discussion mentioned earlier, along with comments. + + c. Check for existing open pull requests (especially yours with "${{ github.workflow }}" prefix). Avoid duplicate work. - c. If plan needs updating then comment on planning discussion with revised plan and rationale. Consider maintainer feedback. + d. If plan needs updating then comment on planning discussion with revised plan and rationale. Consider maintainer feedback. - d. Select a goal to pursue from the plan. Ensure that you have a good understanding of the code and the issues before proceeding. Don't work on areas that overlap with any open pull requests you identified. + e. Select a goal to pursue from the plan. Use the backlog cursor from memory to continue processing from where you left off rather than always restarting. Ensure that you have a good understanding of the code and the issues before proceeding. Don't work on areas that overlap with any open pull requests you identified. 2. **Work towards your selected goal**. For the backlog item you selected, do the following: @@ -125,4 +135,11 @@ To decide which phase to perform: 5. **Final update**: Add brief comment (1 or 2 sentences) to the discussion identified at the start of the workflow stating goal worked on, PR links, and progress made. -6. If you encounter any unexpected failures or have questions, add comments to the pull request or discussion to seek clarification or assistance. \ No newline at end of file +6. **Update your repo memory**: Write updated notes to `/tmp/gh-aw/repo-memory-daily-backlog-burner/progress.md` with: + - The backlog item you worked on this run (issue/PR number and short description) + - The outcome (PR created, closed, commented, etc.) + - The updated backlog cursor (the next item to process in the next run) + - Any items you identified as high priority or needing future attention + This helps the next run continue from where you left off and avoids duplicate work. + +7. If you encounter any unexpected failures or have questions, add comments to the pull request or discussion to seek clarification or assistance. \ No newline at end of file diff --git a/workflows/daily-perf-improver.md b/workflows/daily-perf-improver.md index d3407dd..6b5a2bb 100644 --- a/workflows/daily-perf-improver.md +++ b/workflows/daily-perf-improver.md @@ -32,6 +32,12 @@ tools: github: toolsets: [all] bash: true + repo-memory: + - id: daily-perf-improver + description: "Tracks performance optimization history, tried approaches, and outcomes across runs" + file-glob: ["memory/daily-perf-improver/*.md", "memory/daily-perf-improver/*.json"] + max-file-size: 10240 # 10KB + max-file-count: 4 steps: - name: Checkout repository @@ -149,15 +155,19 @@ To decide which phase to perform: a. Repository is now performance-ready. Review `build-steps/action.yml` and `build-steps.log` to understand setup. If build failed then create fix PR and exit. - b. Read the plan in the discussion mentioned earlier, along with comments. + b. **Read your repo memory** from `/tmp/gh-aw/repo-memory-daily-perf-improver/` to understand what optimizations have already been attempted across previous runs. In particular: + - Read `progress.md` for a summary of optimization areas tried, their outcomes, and what remains to explore + - Use this to avoid repeating approaches that didn't improve performance and to continue systematically through the plan - c. Check for existing performance PRs (especially yours with "${{ github.workflow }}" prefix). Avoid duplicate work. + c. Read the plan in the discussion mentioned earlier, along with comments. + + d. Check for existing performance PRs (especially yours with "${{ github.workflow }}" prefix). Avoid duplicate work. - d. If plan needs updating then comment on planning discussion with revised plan and rationale. Consider maintainer feedback. + e. If plan needs updating then comment on planning discussion with revised plan and rationale. Consider maintainer feedback. - e. Select a performance improvement goal to pursue from the plan. Ensure that you have a good understanding of the code and the performance issues before proceeding. + f. Select a performance improvement goal to pursue from the plan that you have **not** already attempted (per your memory). Ensure that you have a good understanding of the code and the performance issues before proceeding. - f. Select and read the appropriate performance engineering guide(s) in `.github/copilot/instructions/` to help you with your work. If it doesn't exist, create it and later add it to your pull request. + g. Select and read the appropriate performance engineering guide(s) in `.github/copilot/instructions/` to help you with your work. If it doesn't exist, create it and later add it to your pull request. 2. **Work towards your selected goal**. For the performance improvement goal you selected, do the following: @@ -208,4 +218,11 @@ To decide which phase to perform: b. If failed or lessons learned then add more files to the PR branch to update relevant performance guide in `.github/copilot/instructions/` with insights. Create a new guide if needed, or split, merge or delete existing guides as appropriate. This is your chance to improve the performance engineering documentation for next time, so you and your team don't make the same mistakes again! Make the most of it! -5. **Final update**: Add brief comment (1 or 2 sentences) to the discussion identified at the start of the workflow stating goal worked on, PR links, and progress made. \ No newline at end of file +5. **Update your repo memory**: Write updated notes to `/tmp/gh-aw/repo-memory-daily-perf-improver/progress.md` with: + - The optimization goal attempted this run and the approach taken + - The outcome (improvement achieved, no improvement found, partial progress, etc.) + - Any performance areas you have now exhausted or found unproductive + - Suggestions for what to try next run + This ensures future runs don't repeat failed approaches and build systematically on prior work. + +6. **Final update**: Add brief comment (1 or 2 sentences) to the discussion identified at the start of the workflow stating goal worked on, PR links, and progress made. \ No newline at end of file diff --git a/workflows/daily-qa.md b/workflows/daily-qa.md index 8f77747..774a5df 100644 --- a/workflows/daily-qa.md +++ b/workflows/daily-qa.md @@ -31,6 +31,12 @@ tools: toolsets: [all] web-fetch: bash: true + repo-memory: + - id: daily-qa + description: "Tracks QA history, created issues, and inspected areas to avoid duplicate work across runs" + file-glob: ["memory/daily-qa/*.md", "memory/daily-qa/*.json"] + max-file-size: 10240 # 10KB + max-file-count: 4 --- @@ -42,6 +48,10 @@ tools: Your name is ${{ github.workflow }}. Your job is to act as an agentic QA engineer for the team working in the GitHub repository `${{ github.repository }}`. +0. **Read your repo memory** from `/tmp/gh-aw/repo-memory-daily-qa/` before doing anything else. In particular: + - Read `history.md` for a log of issues you've already created and areas you've recently checked + - Use this to avoid creating duplicate issues and to identify areas that are already known to be working or broken + 1. Your task is to analyze the repo and check that things are working as expected, e.g. - Check that the code builds and runs @@ -68,4 +78,10 @@ Your name is ${{ github.workflow }}. Your job is to act as an agentic QA enginee 5. Search for any previous "${{ github.workflow }}" open discussions in the repository. Read the latest one. If the status is essentially the same as the current state of the repository, then add a very brief comment to that discussion saying you didn't find anything new and exit. Close all the previous open Daily QA Report discussions. -6. Create a new discussion with title starting with "${{ github.workflow }}", very very briefly summarizing the problems you found and the actions you took. Use note form. Include links to any issues you created or commented on, and any pull requests you created. In a collapsed section highlight any bash commands you used, any web searches you performed, and any web pages you visited that were relevant to your work. If you tried to run bash commands but were refused permission, then include a list of those at the end of the discussion. \ No newline at end of file +6. Create a new discussion with title starting with "${{ github.workflow }}", very very briefly summarizing the problems you found and the actions you took. Use note form. Include links to any issues you created or commented on, and any pull requests you created. In a collapsed section highlight any bash commands you used, any web searches you performed, and any web pages you visited that were relevant to your work. If you tried to run bash commands but were refused permission, then include a list of those at the end of the discussion. + +7. **Update your repo memory**: Write updated notes to `/tmp/gh-aw/repo-memory-daily-qa/history.md` with: + - Issues you created or commented on in this run (number and short description) + - Areas you checked and found to be working correctly + - Any known open problems to avoid re-reporting next run + This helps future runs skip already-reported problems and focus on new findings. \ No newline at end of file