From bac364993a33cd3e54ce525ede74d383d208f1e7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 00:52:28 +0000 Subject: [PATCH 1/3] Initial plan From c49202cc3f38f05deba2027626a1f72fc1641aa9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 01:00:30 +0000 Subject: [PATCH 2/3] Change default cache-memory allowed-extensions to empty (allow all files) and skip validation step when empty Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- actions/setup/js/validate_memory_files.cjs | 18 +++-- .../setup/js/validate_memory_files.test.cjs | 81 ++++++++++--------- pkg/constants/constants.go | 4 +- pkg/workflow/cache.go | 45 +++++++---- 4 files changed, 86 insertions(+), 62 deletions(-) diff --git a/actions/setup/js/validate_memory_files.cjs b/actions/setup/js/validate_memory_files.cjs index fbfcd3b1ba..ae7cec54ae 100644 --- a/actions/setup/js/validate_memory_files.cjs +++ b/actions/setup/js/validate_memory_files.cjs @@ -6,19 +6,25 @@ const path = require("path"); /** * Validate that all files in a memory directory have allowed file extensions - * Default allowed extensions: .json, .jsonl, .txt, .md, .csv + * If allowedExtensions is empty or not provided, all file extensions are allowed * * @param {string} memoryDir - Path to the memory directory to validate * @param {string} memoryType - Type of memory ("cache" or "repo") for error messages - * @param {string[]} [allowedExtensions] - Optional custom list of allowed extensions (defaults to [".json", ".jsonl", ".txt", ".md", ".csv"]) + * @param {string[]} [allowedExtensions] - Optional custom list of allowed extensions (empty array or undefined means allow all files) * @returns {{valid: boolean, invalidFiles: string[]}} Validation result with list of invalid files */ function validateMemoryFiles(memoryDir, memoryType = "cache", allowedExtensions) { - // Use default extensions if not provided or if empty array - const defaultExtensions = [".json", ".jsonl", ".txt", ".md", ".csv"]; - const rawExtensions = allowedExtensions && allowedExtensions.length > 0 ? allowedExtensions : defaultExtensions; + // If allowedExtensions is not provided, undefined, or empty array, allow all files + const allowAll = !allowedExtensions || allowedExtensions.length === 0; + + // If allowing all files, skip validation + if (allowAll) { + core.info(`All file extensions are allowed in ${memoryType}-memory directory`); + return { valid: true, invalidFiles: [] }; + } + // Normalize extensions to lowercase and trim whitespace - const extensions = rawExtensions.map(ext => ext.trim().toLowerCase()); + const extensions = allowedExtensions.map(ext => ext.trim().toLowerCase()); const invalidFiles = []; // Check if directory exists diff --git a/actions/setup/js/validate_memory_files.test.cjs b/actions/setup/js/validate_memory_files.test.cjs index 5767a116aa..cfffaa6716 100644 --- a/actions/setup/js/validate_memory_files.test.cjs +++ b/actions/setup/js/validate_memory_files.test.cjs @@ -43,42 +43,42 @@ describe("validateMemoryFiles", () => { expect(result.invalidFiles).toEqual([]); }); - it("accepts .json files", () => { + it("accepts .json files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "data.json"), '{"test": true}'); const result = validateMemoryFiles(tempDir, "cache"); expect(result.valid).toBe(true); expect(result.invalidFiles).toEqual([]); }); - it("accepts .jsonl files", () => { + it("accepts .jsonl files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "data.jsonl"), '{"line": 1}\n{"line": 2}'); const result = validateMemoryFiles(tempDir, "cache"); expect(result.valid).toBe(true); expect(result.invalidFiles).toEqual([]); }); - it("accepts .txt files", () => { + it("accepts .txt files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "notes.txt"), "Some notes"); const result = validateMemoryFiles(tempDir, "cache"); expect(result.valid).toBe(true); expect(result.invalidFiles).toEqual([]); }); - it("accepts .md files", () => { + it("accepts .md files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "README.md"), "# Title"); const result = validateMemoryFiles(tempDir, "cache"); expect(result.valid).toBe(true); expect(result.invalidFiles).toEqual([]); }); - it("accepts .csv files", () => { + it("accepts .csv files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "data.csv"), "col1,col2\nval1,val2"); const result = validateMemoryFiles(tempDir, "cache"); expect(result.valid).toBe(true); expect(result.invalidFiles).toEqual([]); }); - it("accepts multiple valid files", () => { + it("accepts multiple valid files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "data.json"), "{}"); fs.writeFileSync(path.join(tempDir, "notes.txt"), "notes"); fs.writeFileSync(path.join(tempDir, "README.md"), "# Title"); @@ -87,56 +87,54 @@ describe("validateMemoryFiles", () => { expect(result.invalidFiles).toEqual([]); }); - it("rejects .log files", () => { + it("accepts .log files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "app.log"), "log entry"); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toEqual(["app.log"]); + expect(result.valid).toBe(true); // Now accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); - it("rejects .yaml files", () => { + it("accepts .yaml files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "config.yaml"), "key: value"); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toEqual(["config.yaml"]); + expect(result.valid).toBe(true); // Now accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); - it("rejects .xml files", () => { + it("accepts .xml files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "data.xml"), ""); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toEqual(["data.xml"]); + expect(result.valid).toBe(true); // Now accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); - it("rejects files without extension", () => { + it("accepts files without extension by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "noext"), "content"); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toEqual(["noext"]); + expect(result.valid).toBe(true); // Now accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); - it("rejects multiple invalid files", () => { + it("accepts all files by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "app.log"), "log"); fs.writeFileSync(path.join(tempDir, "config.yaml"), "yaml"); fs.writeFileSync(path.join(tempDir, "valid.json"), "{}"); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toHaveLength(2); - expect(result.invalidFiles).toContain("app.log"); - expect(result.invalidFiles).toContain("config.yaml"); + expect(result.valid).toBe(true); // All files accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); - it("validates files in subdirectories", () => { + it("validates files in subdirectories by default (allow all)", () => { const subdir = path.join(tempDir, "subdir"); fs.mkdirSync(subdir); fs.writeFileSync(path.join(subdir, "valid.json"), "{}"); fs.writeFileSync(path.join(subdir, "invalid.log"), "log"); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toEqual([path.join("subdir", "invalid.log")]); + expect(result.valid).toBe(true); // All files accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); - it("validates files in deeply nested directories", () => { + it("validates files in deeply nested directories by default (allow all)", () => { const level1 = path.join(tempDir, "level1"); const level2 = path.join(level1, "level2"); const level3 = path.join(level2, "level3"); @@ -146,11 +144,11 @@ describe("validateMemoryFiles", () => { fs.writeFileSync(path.join(level3, "deep.json"), "{}"); fs.writeFileSync(path.join(level3, "invalid.bin"), "binary"); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toEqual([path.join("level1", "level2", "level3", "invalid.bin")]); + expect(result.valid).toBe(true); // All files accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); - it("is case-insensitive for extensions", () => { + it("is case-insensitive for extensions by default (allow all)", () => { fs.writeFileSync(path.join(tempDir, "data.JSON"), "{}"); fs.writeFileSync(path.join(tempDir, "notes.TXT"), "text"); fs.writeFileSync(path.join(tempDir, "README.MD"), "# Title"); @@ -159,7 +157,7 @@ describe("validateMemoryFiles", () => { expect(result.invalidFiles).toEqual([]); }); - it("handles mixed valid and invalid files in subdirectories", () => { + it("handles all files in subdirectories by default (allow all)", () => { const subdir1 = path.join(tempDir, "valid-files"); const subdir2 = path.join(tempDir, "invalid-files"); fs.mkdirSync(subdir1); @@ -169,10 +167,8 @@ describe("validateMemoryFiles", () => { fs.writeFileSync(path.join(subdir2, "app.log"), "log"); fs.writeFileSync(path.join(subdir2, "config.ini"), "ini"); const result = validateMemoryFiles(tempDir, "cache"); - expect(result.valid).toBe(false); - expect(result.invalidFiles).toHaveLength(2); - expect(result.invalidFiles).toContain(path.join("invalid-files", "app.log")); - expect(result.invalidFiles).toContain(path.join("invalid-files", "config.ini")); + expect(result.valid).toBe(true); // All files accepted when no restrictions + expect(result.invalidFiles).toEqual([]); }); it("accepts custom allowed extensions", () => { @@ -192,11 +188,22 @@ describe("validateMemoryFiles", () => { expect(result.invalidFiles).toEqual(["data.json"]); }); - it("uses default extensions when custom array is empty", () => { + it("allows all files when custom array is empty", () => { fs.writeFileSync(path.join(tempDir, "data.json"), "{}"); fs.writeFileSync(path.join(tempDir, "notes.txt"), "text"); + fs.writeFileSync(path.join(tempDir, "app.log"), "log"); + fs.writeFileSync(path.join(tempDir, "config.yaml"), "key: value"); const result = validateMemoryFiles(tempDir, "cache", []); - expect(result.valid).toBe(true); // Empty array falls back to defaults + expect(result.valid).toBe(true); // Empty array means allow all + expect(result.invalidFiles).toEqual([]); + }); + + it("allows all files when allowedExtensions is undefined", () => { + fs.writeFileSync(path.join(tempDir, "data.json"), "{}"); + fs.writeFileSync(path.join(tempDir, "app.log"), "log"); + fs.writeFileSync(path.join(tempDir, "config.yaml"), "key: value"); + const result = validateMemoryFiles(tempDir, "cache"); + expect(result.valid).toBe(true); // undefined means allow all expect(result.invalidFiles).toEqual([]); }); }); diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 73c6292450..316b89a47f 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -826,5 +826,5 @@ func GetWorkflowDir() string { } // DefaultAllowedMemoryExtensions is the default list of allowed file extensions for cache-memory and repo-memory storage. -// These file types are considered safe for AI agent memory storage. -var DefaultAllowedMemoryExtensions = []string{".json", ".jsonl", ".txt", ".md", ".csv"} +// An empty slice means all file extensions are allowed. When this is empty, the validation step is not emitted. +var DefaultAllowedMemoryExtensions = []string{} diff --git a/pkg/workflow/cache.go b/pkg/workflow/cache.go index 2e02097406..363345d8d3 100644 --- a/pkg/workflow/cache.go +++ b/pkg/workflow/cache.go @@ -465,6 +465,12 @@ func generateCacheMemoryValidation(builder *strings.Builder, data *WorkflowData) continue } + // Skip validation step if allowed extensions is empty (means all files are allowed) + if len(cache.AllowedExtensions) == 0 { + cacheLog.Printf("Skipping validation step for cache %s (empty allowed-extensions means all files are allowed)", cache.ID) + continue + } + // Default cache uses /tmp/gh-aw/cache-memory/ for backward compatibility // Other caches use /tmp/gh-aw/cache-memory-{id}/ to prevent overlaps var cacheDir string @@ -718,23 +724,28 @@ func (c *Compiler) buildUpdateCacheMemoryJob(data *WorkflowData, threatDetection fmt.Fprintf(&downloadStep, " path: %s\n", cacheDir) steps = append(steps, downloadStep.String()) - // Prepare allowed extensions array for JavaScript - allowedExtsJSON, _ := json.Marshal(cache.AllowedExtensions) - - // Build validation script - var validationScript strings.Builder - validationScript.WriteString(" const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');\n") - validationScript.WriteString(" setupGlobals(core, github, context, exec, io);\n") - validationScript.WriteString(" const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs');\n") - fmt.Fprintf(&validationScript, " const allowedExtensions = %s;\n", allowedExtsJSON) - fmt.Fprintf(&validationScript, " const result = validateMemoryFiles('%s', 'cache', allowedExtensions);\n", cacheDir) - validationScript.WriteString(" if (!result.valid) {\n") - fmt.Fprintf(&validationScript, " core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only %s are allowed.`);\n", strings.Join(cache.AllowedExtensions, ", ")) - validationScript.WriteString(" }\n") - - // Generate validation step using helper - stepName := fmt.Sprintf("Validate cache-memory file types (%s)", cache.ID) - steps = append(steps, generateInlineGitHubScriptStep(stepName, validationScript.String(), "")) + // Skip validation step if allowed extensions is empty (means all files are allowed) + if len(cache.AllowedExtensions) == 0 { + cacheLog.Printf("Skipping validation step for cache %s in update job (empty allowed-extensions means all files are allowed)", cache.ID) + } else { + // Prepare allowed extensions array for JavaScript + allowedExtsJSON, _ := json.Marshal(cache.AllowedExtensions) + + // Build validation script + var validationScript strings.Builder + validationScript.WriteString(" const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');\n") + validationScript.WriteString(" setupGlobals(core, github, context, exec, io);\n") + validationScript.WriteString(" const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs');\n") + fmt.Fprintf(&validationScript, " const allowedExtensions = %s;\n", allowedExtsJSON) + fmt.Fprintf(&validationScript, " const result = validateMemoryFiles('%s', 'cache', allowedExtensions);\n", cacheDir) + validationScript.WriteString(" if (!result.valid) {\n") + fmt.Fprintf(&validationScript, " core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only %s are allowed.`);\n", strings.Join(cache.AllowedExtensions, ", ")) + validationScript.WriteString(" }\n") + + // Generate validation step using helper + stepName := fmt.Sprintf("Validate cache-memory file types (%s)", cache.ID) + steps = append(steps, generateInlineGitHubScriptStep(stepName, validationScript.String(), "")) + } // Generate cache key (same logic as in generateCacheMemorySteps) cacheKey := cache.Key From 3eb5fac43fb6095e538b4c2de6a3f2a86b6086f4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 01:07:02 +0000 Subject: [PATCH 3/3] Recompile all workflows with new default empty allowed-extensions (removes validation steps) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .../agent-performance-analyzer.lock.yml | 2 +- .../workflows/agent-persona-explorer.lock.yml | 27 +--------------- .github/workflows/audit-workflows.lock.yml | 29 ++--------------- .../workflows/chroma-issue-indexer.lock.yml | 15 +-------- .github/workflows/ci-coach.lock.yml | 27 +--------------- .github/workflows/ci-doctor.lock.yml | 27 +--------------- .../claude-code-user-docs-review.lock.yml | 27 +--------------- .../workflows/cli-version-checker.lock.yml | 27 +--------------- .github/workflows/cloclo.lock.yml | 27 +--------------- .../workflows/code-scanning-fixer.lock.yml | 31 ++----------------- .../workflows/copilot-agent-analysis.lock.yml | 29 ++--------------- .../copilot-cli-deep-research.lock.yml | 2 +- .../copilot-pr-nlp-analysis.lock.yml | 29 ++--------------- .../copilot-pr-prompt-analysis.lock.yml | 29 ++--------------- .../copilot-session-insights.lock.yml | 29 ++--------------- .../workflows/daily-cli-performance.lock.yml | 2 +- .github/workflows/daily-code-metrics.lock.yml | 29 ++--------------- .../workflows/daily-compiler-quality.lock.yml | 27 +--------------- .../daily-copilot-token-report.lock.yml | 29 ++--------------- .github/workflows/daily-doc-updater.lock.yml | 27 +--------------- .../workflows/daily-firewall-report.lock.yml | 27 +--------------- .../workflows/daily-issues-report.lock.yml | 27 +--------------- .../daily-mcp-concurrency-analysis.lock.yml | 27 +--------------- .github/workflows/daily-news.lock.yml | 29 ++--------------- .../daily-performance-summary.lock.yml | 27 +--------------- .../workflows/daily-repo-chronicle.lock.yml | 27 +--------------- .../daily-safe-output-optimizer.lock.yml | 27 +--------------- .../daily-testify-uber-super-expert.lock.yml | 2 +- .github/workflows/deep-report.lock.yml | 29 ++--------------- .github/workflows/delight.lock.yml | 2 +- .../developer-docs-consolidator.lock.yml | 27 +--------------- .../workflows/discussion-task-miner.lock.yml | 2 +- .github/workflows/firewall-escape.lock.yml | 29 ++--------------- .../github-mcp-structural-analysis.lock.yml | 27 +--------------- .../github-mcp-tools-report.lock.yml | 27 +--------------- .../workflows/glossary-maintainer.lock.yml | 27 +--------------- .github/workflows/go-fan.lock.yml | 27 +--------------- .github/workflows/go-logger.lock.yml | 27 +--------------- .github/workflows/gpclean.lock.yml | 27 +--------------- .github/workflows/grumpy-reviewer.lock.yml | 27 +--------------- .../workflows/instructions-janitor.lock.yml | 27 +--------------- .github/workflows/jsweep.lock.yml | 27 +--------------- .github/workflows/lockfile-stats.lock.yml | 27 +--------------- .github/workflows/mcp-inspector.lock.yml | 27 +--------------- .github/workflows/metrics-collector.lock.yml | 2 +- .github/workflows/org-health-report.lock.yml | 27 +--------------- .github/workflows/pdf-summary.lock.yml | 27 +--------------- .github/workflows/poem-bot.lock.yml | 27 +--------------- .github/workflows/portfolio-analyst.lock.yml | 27 +--------------- .../workflows/pr-nitpick-reviewer.lock.yml | 27 +--------------- .github/workflows/pr-triage-agent.lock.yml | 2 +- .../prompt-clustering-analysis.lock.yml | 27 +--------------- .github/workflows/python-data-charts.lock.yml | 27 +--------------- .github/workflows/q.lock.yml | 27 +--------------- .../workflows/repo-audit-analyzer.lock.yml | 27 +--------------- .../repository-quality-improver.lock.yml | 27 +--------------- .github/workflows/safe-output-health.lock.yml | 27 +--------------- .../schema-consistency-checker.lock.yml | 27 +--------------- .github/workflows/scout.lock.yml | 27 +--------------- .../workflows/security-compliance.lock.yml | 2 +- .github/workflows/security-review.lock.yml | 27 +--------------- .github/workflows/sergo.lock.yml | 27 +--------------- .../workflows/slide-deck-maintainer.lock.yml | 27 +--------------- .github/workflows/smoke-claude.lock.yml | 27 +--------------- .github/workflows/smoke-codex.lock.yml | 27 +--------------- .github/workflows/smoke-copilot.lock.yml | 27 +--------------- .../workflows/stale-repo-identifier.lock.yml | 27 +--------------- .../workflows/static-analysis-report.lock.yml | 27 +--------------- .../workflows/step-name-alignment.lock.yml | 27 +--------------- .github/workflows/super-linter.lock.yml | 27 +--------------- .../workflows/technical-doc-writer.lock.yml | 27 +--------------- .../test-create-pr-error-handling.lock.yml | 27 +--------------- .github/workflows/unbloat-docs.lock.yml | 27 +--------------- .../workflows/weekly-issue-summary.lock.yml | 27 +--------------- .../workflow-health-manager.lock.yml | 2 +- actions/setup/js/validate_memory_files.cjs | 4 +-- .../docs/reference/frontmatter-full.md | 16 ++++++++++ 77 files changed, 105 insertions(+), 1702 deletions(-) diff --git a/.github/workflows/agent-performance-analyzer.lock.yml b/.github/workflows/agent-performance-analyzer.lock.yml index 4944357b78..ad7f55df29 100644 --- a/.github/workflows/agent-performance-analyzer.lock.yml +++ b/.github/workflows/agent-performance-analyzer.lock.yml @@ -1298,7 +1298,7 @@ jobs: BRANCH_NAME: memory/meta-orchestrators MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "**" with: script: | diff --git a/.github/workflows/agent-persona-explorer.lock.yml b/.github/workflows/agent-persona-explorer.lock.yml index 6eb5288cce..529b3701d8 100644 --- a/.github/workflows/agent-persona-explorer.lock.yml +++ b/.github/workflows/agent-persona-explorer.lock.yml @@ -634,7 +634,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -825,19 +825,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1201,18 +1188,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index 1eb33b7506..b953de480e 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -734,7 +734,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -988,19 +988,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1343,7 +1330,7 @@ jobs: BRANCH_NAME: memory/audit-workflows MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/audit-workflows/*.json memory/audit-workflows/*.jsonl memory/audit-workflows/*.csv memory/audit-workflows/*.md" with: script: | @@ -1434,18 +1421,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/chroma-issue-indexer.lock.yml b/.github/workflows/chroma-issue-indexer.lock.yml index aa88af05a8..0ad7381c96 100644 --- a/.github/workflows/chroma-issue-indexer.lock.yml +++ b/.github/workflows/chroma-issue-indexer.lock.yml @@ -340,7 +340,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_EXAMPLES: '- `/tmp/gh-aw/cache-memory-chroma/notes.txt` - general notes and observations - `/tmp/gh-aw/cache-memory-chroma/notes.md` - markdown formatted notes - `/tmp/gh-aw/cache-memory-chroma/preferences.json` - user preferences and settings @@ -508,19 +508,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types (chroma) - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory-chroma', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload agent artifacts if: always() continue-on-error: true diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index 2dcb8a5c09..e3ce192bb5 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -625,7 +625,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -820,19 +820,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1213,18 +1200,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index 7326de21f1..90903cebdb 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -726,7 +726,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -935,19 +935,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1336,18 +1323,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/claude-code-user-docs-review.lock.yml b/.github/workflows/claude-code-user-docs-review.lock.yml index 1705bb2a90..4849940030 100644 --- a/.github/workflows/claude-code-user-docs-review.lock.yml +++ b/.github/workflows/claude-code-user-docs-review.lock.yml @@ -564,7 +564,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -807,19 +807,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1174,18 +1161,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 1a6986611f..5a55367d7c 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -595,7 +595,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -838,19 +838,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1196,18 +1183,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index fd09fac9d1..aef408757c 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -794,7 +794,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1100,19 +1100,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1578,18 +1565,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/code-scanning-fixer.lock.yml b/.github/workflows/code-scanning-fixer.lock.yml index 5427504d50..3708deb3f1 100644 --- a/.github/workflows/code-scanning-fixer.lock.yml +++ b/.github/workflows/code-scanning-fixer.lock.yml @@ -571,7 +571,7 @@ jobs: - **Automatic Push**: Changes are automatically committed and pushed after the workflow completes - **Merge Strategy**: In case of conflicts, your changes (current version) win - **Persistence**: Files persist across workflow runs via git branch storage - - **Allowed File Types**: Only the following file extensions are allowed: `.json`, `.jsonl`, `.txt`, `.md`, `.csv`. Files with other extensions will be rejected during validation. + - **Allowed File Types**: Only the following file extensions are allowed: ``. Files with other extensions will be rejected during validation. Examples of what you can store: - `/tmp/gh-aw/repo-memory/notes.md` - general notes and observations @@ -640,7 +640,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -840,19 +840,6 @@ jobs: path: /tmp/gh-aw/repo-memory/campaigns retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1221,7 +1208,7 @@ jobs: BRANCH_NAME: memory/campaigns MAX_FILE_SIZE: 10240 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "security-alert-burndown/**" with: script: | @@ -1338,18 +1325,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index ddc3610544..4149693a46 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -622,7 +622,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -897,19 +897,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1237,7 +1224,7 @@ jobs: BRANCH_NAME: memory/copilot-agent-analysis MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/copilot-agent-analysis/*.json memory/copilot-agent-analysis/*.jsonl memory/copilot-agent-analysis/*.csv memory/copilot-agent-analysis/*.md" with: script: | @@ -1327,18 +1314,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/copilot-cli-deep-research.lock.yml b/.github/workflows/copilot-cli-deep-research.lock.yml index 003a003524..9f70efaa3b 100644 --- a/.github/workflows/copilot-cli-deep-research.lock.yml +++ b/.github/workflows/copilot-cli-deep-research.lock.yml @@ -1116,7 +1116,7 @@ jobs: BRANCH_NAME: memory/copilot-cli-research MAX_FILE_SIZE: 204800 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/copilot-cli-research/*.json memory/copilot-cli-research/*.md" with: script: | diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 8738fc594e..64914dc11c 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -679,7 +679,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -884,19 +884,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1219,7 +1206,7 @@ jobs: BRANCH_NAME: memory/nlp-analysis MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/nlp-analysis/*.json memory/nlp-analysis/*.jsonl memory/nlp-analysis/*.csv memory/nlp-analysis/*.md" with: script: | @@ -1309,18 +1296,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 188c03ed91..0c1770847f 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -618,7 +618,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -820,19 +820,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1145,7 +1132,7 @@ jobs: BRANCH_NAME: memory/prompt-analysis MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/prompt-analysis/*.json memory/prompt-analysis/*.jsonl memory/prompt-analysis/*.csv memory/prompt-analysis/*.md" with: script: | @@ -1235,18 +1222,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index 00e1d25fef..f3668447f1 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -686,7 +686,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -943,19 +943,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1293,7 +1280,7 @@ jobs: BRANCH_NAME: memory/session-insights MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/session-insights/*.json memory/session-insights/*.jsonl memory/session-insights/*.csv memory/session-insights/*.md" with: script: | @@ -1383,18 +1370,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-cli-performance.lock.yml b/.github/workflows/daily-cli-performance.lock.yml index ced9b72a23..fecf8e610c 100644 --- a/.github/workflows/daily-cli-performance.lock.yml +++ b/.github/workflows/daily-cli-performance.lock.yml @@ -1302,7 +1302,7 @@ jobs: BRANCH_NAME: memory/cli-performance MAX_FILE_SIZE: 512000 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/cli-performance/*.json memory/cli-performance/*.jsonl memory/cli-performance/*.txt" with: script: | diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index 64db27092b..1e24f00f58 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -665,7 +665,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -917,19 +917,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1272,7 +1259,7 @@ jobs: BRANCH_NAME: daily/default MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "*.json *.jsonl *.csv *.md" with: script: | @@ -1363,18 +1350,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-compiler-quality.lock.yml b/.github/workflows/daily-compiler-quality.lock.yml index 5f8f192dd1..3d08ad2f42 100644 --- a/.github/workflows/daily-compiler-quality.lock.yml +++ b/.github/workflows/daily-compiler-quality.lock.yml @@ -571,7 +571,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -784,19 +784,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1136,18 +1123,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-copilot-token-report.lock.yml b/.github/workflows/daily-copilot-token-report.lock.yml index 12617e6288..e66219bc62 100644 --- a/.github/workflows/daily-copilot-token-report.lock.yml +++ b/.github/workflows/daily-copilot-token-report.lock.yml @@ -691,7 +691,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -895,19 +895,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1235,7 +1222,7 @@ jobs: BRANCH_NAME: memory/token-metrics MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/token-metrics/*.json memory/token-metrics/*.jsonl memory/token-metrics/*.csv memory/token-metrics/*.md" with: script: | @@ -1326,18 +1313,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 3141afdf3d..e2f92f5e5f 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -573,7 +573,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -837,19 +837,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1245,18 +1232,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 349d4a6d40..3ba94fc8eb 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -689,7 +689,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -883,19 +883,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1245,18 +1232,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index 993a7d4695..a2df859d91 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -717,7 +717,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -893,19 +893,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1277,18 +1264,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml index 9094ce1978..1f3802a704 100644 --- a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml +++ b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml @@ -623,7 +623,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -837,19 +837,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1200,18 +1187,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index 4b61112efd..7d61276924 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -752,7 +752,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -957,19 +957,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1297,7 +1284,7 @@ jobs: BRANCH_NAME: memory/daily-news MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/daily-news/*.json memory/daily-news/*.jsonl memory/daily-news/*.csv memory/daily-news/*.md" with: script: | @@ -1388,18 +1375,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index 077ecbf062..ffdf1ad5e9 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -1182,7 +1182,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1367,19 +1367,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1722,18 +1709,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 4b8adf3bd2..0dc7b48392 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -623,7 +623,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -818,19 +818,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1180,18 +1167,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-safe-output-optimizer.lock.yml b/.github/workflows/daily-safe-output-optimizer.lock.yml index 32de98cefa..d4a9d9f352 100644 --- a/.github/workflows/daily-safe-output-optimizer.lock.yml +++ b/.github/workflows/daily-safe-output-optimizer.lock.yml @@ -669,7 +669,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -924,19 +924,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1325,18 +1312,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/daily-testify-uber-super-expert.lock.yml b/.github/workflows/daily-testify-uber-super-expert.lock.yml index 3ab25e052f..e9f13d2926 100644 --- a/.github/workflows/daily-testify-uber-super-expert.lock.yml +++ b/.github/workflows/daily-testify-uber-super-expert.lock.yml @@ -1193,7 +1193,7 @@ jobs: BRANCH_NAME: memory/testify-expert MAX_FILE_SIZE: 51200 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/testify-expert/*.json memory/testify-expert/*.txt" with: script: | diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index 08b6de37d6..f23fe7e6bf 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -821,7 +821,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1004,19 +1004,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1336,7 +1323,7 @@ jobs: BRANCH_NAME: memory/deep-report MAX_FILE_SIZE: 1048576 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/deep-report/*.md" with: script: | @@ -1427,18 +1414,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/delight.lock.yml b/.github/workflows/delight.lock.yml index d3fa60c361..79ad790895 100644 --- a/.github/workflows/delight.lock.yml +++ b/.github/workflows/delight.lock.yml @@ -1201,7 +1201,7 @@ jobs: BRANCH_NAME: memory/delight MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/delight/*.json memory/delight/*.md" with: script: | diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 366f67fbb0..b680130157 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -646,7 +646,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -912,19 +912,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1316,18 +1303,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/discussion-task-miner.lock.yml b/.github/workflows/discussion-task-miner.lock.yml index 0e2eebefb5..e4808a37af 100644 --- a/.github/workflows/discussion-task-miner.lock.yml +++ b/.github/workflows/discussion-task-miner.lock.yml @@ -1167,7 +1167,7 @@ jobs: BRANCH_NAME: memory/discussion-task-miner MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/discussion-task-miner/*.json memory/discussion-task-miner/*.md" with: script: | diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index b6ff36f418..f3a93701c5 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -606,7 +606,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -807,19 +807,6 @@ jobs: path: /tmp/gh-aw/repo-memory/default retention-days: 1 if-no-files-found: ignore - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1197,7 +1184,7 @@ jobs: BRANCH_NAME: memory/firewall-escape MAX_FILE_SIZE: 524288 MAX_FILE_COUNT: 50 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -1287,18 +1274,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index 816d9a751e..7f093b2ecf 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -625,7 +625,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -870,19 +870,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1241,18 +1228,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index 419da11b5b..9f0b41295c 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -633,7 +633,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -874,19 +874,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1278,18 +1265,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 37e77dea95..326c762d4e 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -596,7 +596,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -815,19 +815,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1201,18 +1188,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index 31baeebc32..155ef042e3 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -583,7 +583,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -844,19 +844,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1211,18 +1198,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index f6e436edc1..0cb0eef310 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -727,7 +727,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1003,19 +1003,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1405,18 +1392,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/gpclean.lock.yml b/.github/workflows/gpclean.lock.yml index 77627a88f7..a2ae0e4d7f 100644 --- a/.github/workflows/gpclean.lock.yml +++ b/.github/workflows/gpclean.lock.yml @@ -586,7 +586,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -778,19 +778,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1121,18 +1108,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 263126dbf0..abcdd5b44b 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -647,7 +647,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -846,19 +846,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1254,18 +1241,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 2ba34d3004..cff79e0dfa 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -573,7 +573,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -836,19 +836,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1237,18 +1224,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index 2772d875e6..aa87ab37fb 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -587,7 +587,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -780,19 +780,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1173,18 +1160,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index 8d61e507d7..3f6e1a92f1 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -567,7 +567,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -808,19 +808,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1169,18 +1156,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index f257b40e35..7f7f0f3782 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -931,7 +931,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1138,19 +1138,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1760,18 +1747,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/metrics-collector.lock.yml b/.github/workflows/metrics-collector.lock.yml index 24f7724726..60aefee499 100644 --- a/.github/workflows/metrics-collector.lock.yml +++ b/.github/workflows/metrics-collector.lock.yml @@ -678,7 +678,7 @@ jobs: BRANCH_NAME: memory/meta-orchestrators MAX_FILE_SIZE: 10240 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "metrics/**" with: script: | diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 7c2f97e010..92f02319b1 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -616,7 +616,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -810,19 +810,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1166,18 +1153,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 115fff3155..b90240c2bf 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -665,7 +665,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_EXPR_799BE623: ${{ github.event.issue.number || github.event.pull_request.number }} @@ -873,19 +873,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1285,18 +1272,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index acf7e3e30b..495bd4c43d 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -1151,7 +1151,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1379,19 +1379,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1860,18 +1847,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/portfolio-analyst.lock.yml b/.github/workflows/portfolio-analyst.lock.yml index 35a0b83ff1..28192294d9 100644 --- a/.github/workflows/portfolio-analyst.lock.yml +++ b/.github/workflows/portfolio-analyst.lock.yml @@ -699,7 +699,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -894,19 +894,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1256,18 +1243,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 4365b24008..4db3e14796 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -727,7 +727,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -927,19 +927,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1343,18 +1330,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/pr-triage-agent.lock.yml b/.github/workflows/pr-triage-agent.lock.yml index b0e27a3fc3..6874f2b3c3 100644 --- a/.github/workflows/pr-triage-agent.lock.yml +++ b/.github/workflows/pr-triage-agent.lock.yml @@ -1167,7 +1167,7 @@ jobs: BRANCH_NAME: memory/pr-triage MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "**" with: script: | diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index d9aec5c6c2..456b0e9cec 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -698,7 +698,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -939,19 +939,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1300,18 +1287,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 101c37ff6c..99734e9756 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -688,7 +688,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -884,19 +884,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1240,18 +1227,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index 5626f39723..6eaafb8a8f 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -748,7 +748,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_EXPR_799BE623: ${{ github.event.issue.number || github.event.pull_request.number }} @@ -953,19 +953,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1411,18 +1398,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/repo-audit-analyzer.lock.yml b/.github/workflows/repo-audit-analyzer.lock.yml index dfed5d450c..ea8dc1bf5e 100644 --- a/.github/workflows/repo-audit-analyzer.lock.yml +++ b/.github/workflows/repo-audit-analyzer.lock.yml @@ -569,7 +569,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_EXAMPLES: '- `/tmp/gh-aw/cache-memory-repo-audits/notes.txt` - general notes and observations - `/tmp/gh-aw/cache-memory-repo-audits/notes.md` - markdown formatted notes - `/tmp/gh-aw/cache-memory-repo-audits/preferences.json` - user preferences and settings @@ -770,19 +770,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types (repo-audits) - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory-repo-audits', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact (repo-audits) uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1119,18 +1106,6 @@ jobs: with: name: cache-memory-repo-audits path: /tmp/gh-aw/cache-memory-repo-audits - - name: Validate cache-memory file types (repo-audits) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory-repo-audits', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (repo-audits) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 2510c7b95a..d0b21c4cb4 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -572,7 +572,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_EXAMPLES: '- `/tmp/gh-aw/cache-memory-focus-areas/notes.txt` - general notes and observations - `/tmp/gh-aw/cache-memory-focus-areas/notes.md` - markdown formatted notes - `/tmp/gh-aw/cache-memory-focus-areas/preferences.json` - user preferences and settings @@ -771,19 +771,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types (focus-areas) - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory-focus-areas', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact (focus-areas) uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1117,18 +1104,6 @@ jobs: with: name: cache-memory-focus-areas path: /tmp/gh-aw/cache-memory-focus-areas - - name: Validate cache-memory file types (focus-areas) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory-focus-areas', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (focus-areas) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index 4b3e587d88..64b1ffd24d 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -645,7 +645,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -900,19 +900,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1261,18 +1248,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index 06d6ab2877..daf80fc4f6 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -569,7 +569,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -809,19 +809,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1170,18 +1157,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index 99ec4912c1..7af6f93824 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -678,7 +678,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_EXPR_799BE623: ${{ github.event.issue.number || github.event.pull_request.number }} @@ -955,19 +955,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1389,18 +1376,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index 6d6624fd3b..bd56036a1f 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -1121,7 +1121,7 @@ jobs: BRANCH_NAME: memory/campaigns MAX_FILE_SIZE: 10240 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "memory/campaigns/security-compliance-*/**" with: script: | diff --git a/.github/workflows/security-review.lock.yml b/.github/workflows/security-review.lock.yml index fcf0fb4d21..ffc042497a 100644 --- a/.github/workflows/security-review.lock.yml +++ b/.github/workflows/security-review.lock.yml @@ -729,7 +729,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -928,19 +928,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1336,18 +1323,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/sergo.lock.yml b/.github/workflows/sergo.lock.yml index 8a345e64b7..bff1e18022 100644 --- a/.github/workflows/sergo.lock.yml +++ b/.github/workflows/sergo.lock.yml @@ -584,7 +584,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -843,19 +843,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1210,18 +1197,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index f946bcd48f..308c7d2e4b 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -597,7 +597,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -836,19 +836,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1272,18 +1259,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 7a80608785..d150a5d738 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -1386,7 +1386,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1666,19 +1666,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -2078,18 +2065,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 92ba416632..9e7f202afe 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -950,7 +950,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1134,19 +1134,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1522,18 +1509,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 3000e204aa..9ad3c991b8 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -1347,7 +1347,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1554,19 +1554,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1988,18 +1975,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index c4d070a20c..1bfcfd6dbc 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -679,7 +679,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_ENV_ORGANIZATION: ${{ env.ORGANIZATION }} @@ -878,19 +878,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1234,18 +1221,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index 4765dc366f..03f2a7faf0 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -641,7 +641,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -883,19 +883,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1244,18 +1231,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/step-name-alignment.lock.yml b/.github/workflows/step-name-alignment.lock.yml index c2e4e9bbc7..2082b426c7 100644 --- a/.github/workflows/step-name-alignment.lock.yml +++ b/.github/workflows/step-name-alignment.lock.yml @@ -584,7 +584,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -840,19 +840,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1198,18 +1185,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 5ef4d693ce..c5038701fd 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -593,7 +593,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -790,19 +790,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1179,18 +1166,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index 860577e5de..849b8ec797 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -672,7 +672,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -869,19 +869,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1269,18 +1256,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/test-create-pr-error-handling.lock.yml b/.github/workflows/test-create-pr-error-handling.lock.yml index dc1f51032d..18bd7edd3c 100644 --- a/.github/workflows/test-create-pr-error-handling.lock.yml +++ b/.github/workflows/test-create-pr-error-handling.lock.yml @@ -570,7 +570,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -810,19 +810,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1211,18 +1198,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index a102164d83..e9e1922a85 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -705,7 +705,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -1010,19 +1010,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1485,18 +1472,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 9e2fe7abed..2fe9c1ae78 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -595,7 +595,7 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt - GH_AW_ALLOWED_EXTENSIONS: '.json, .jsonl, .txt, .md, .csv' + GH_AW_ALLOWED_EXTENSIONS: '' GH_AW_CACHE_DESCRIPTION: '' GH_AW_CACHE_DIR: '/tmp/gh-aw/cache-memory/' GH_AW_GITHUB_ACTOR: ${{ github.actor }} @@ -790,19 +790,6 @@ jobs: # AWF runs with sudo, creating files owned by root sudo chmod -R a+r /tmp/gh-aw/sandbox/firewall/logs 2>/dev/null || true awf logs summary | tee -a "$GITHUB_STEP_SUMMARY" - - name: Validate cache-memory file types - if: always() - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found $${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Upload cache-memory data as artifact uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() @@ -1151,18 +1138,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Validate cache-memory file types (default) - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - with: - script: | - const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); - setupGlobals(core, github, context, exec, io); - const { validateMemoryFiles } = require('/opt/gh-aw/actions/validate_memory_files.cjs'); - const allowedExtensions = [".json",".jsonl",".txt",".md",".csv"]; - const result = validateMemoryFiles('/tmp/gh-aw/cache-memory', 'cache', allowedExtensions); - if (!result.valid) { - core.setFailed(`File type validation failed: Found ${result.invalidFiles.length} file(s) with invalid extensions. Only .json, .jsonl, .txt, .md, .csv are allowed.`); - } - name: Save cache-memory to cache (default) uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/workflow-health-manager.lock.yml b/.github/workflows/workflow-health-manager.lock.yml index 9d55c61071..af75e787cb 100644 --- a/.github/workflows/workflow-health-manager.lock.yml +++ b/.github/workflows/workflow-health-manager.lock.yml @@ -1266,7 +1266,7 @@ jobs: BRANCH_NAME: memory/meta-orchestrators MAX_FILE_SIZE: 102400 MAX_FILE_COUNT: 100 - ALLOWED_EXTENSIONS: '[".json",".jsonl",".txt",".md",".csv"]' + ALLOWED_EXTENSIONS: '[]' FILE_GLOB_FILTER: "**" with: script: | diff --git a/actions/setup/js/validate_memory_files.cjs b/actions/setup/js/validate_memory_files.cjs index ae7cec54ae..02930e0020 100644 --- a/actions/setup/js/validate_memory_files.cjs +++ b/actions/setup/js/validate_memory_files.cjs @@ -16,13 +16,13 @@ const path = require("path"); function validateMemoryFiles(memoryDir, memoryType = "cache", allowedExtensions) { // If allowedExtensions is not provided, undefined, or empty array, allow all files const allowAll = !allowedExtensions || allowedExtensions.length === 0; - + // If allowing all files, skip validation if (allowAll) { core.info(`All file extensions are allowed in ${memoryType}-memory directory`); return { valid: true, invalidFiles: [] }; } - + // Normalize extensions to lowercase and trim whitespace const extensions = allowedExtensions.map(ext => ext.trim().toLowerCase()); const invalidFiles = []; diff --git a/docs/src/content/docs/reference/frontmatter-full.md b/docs/src/content/docs/reference/frontmatter-full.md index c1414d47af..04b941f182 100644 --- a/docs/src/content/docs/reference/frontmatter-full.md +++ b/docs/src/content/docs/reference/frontmatter-full.md @@ -2386,6 +2386,14 @@ safe-outputs: # (optional) target-repo: "example-value" + # List of additional repositories in format 'owner/repo' that issues can be closed + # in. When specified, the agent can use a 'repo' field in the output to specify + # which repository to close the issue in. The target repository (current or + # target-repo) is always implicitly allowed. + # (optional) + allowed-repos: [] + # Array of strings + # Option 2: Enable issue closing with default configuration close-issue: null @@ -2752,6 +2760,14 @@ safe-outputs: # (optional) github-token: "${{ secrets.GITHUB_TOKEN }}" + # List of additional repositories in format 'owner/repo' that labels can be added + # to. When specified, the agent can use a 'repo' field in the output to specify + # which repository to add labels to. The target repository (current or + # target-repo) is always implicitly allowed. + # (optional) + allowed-repos: [] + # Array of strings + # Enable AI agents to remove labels from GitHub issues or pull requests. # (optional) # This field supports multiple formats (oneOf):