From 278858ed11ef34a89a0b4e6faca70c822c1045ac Mon Sep 17 00:00:00 2001 From: Christian Gunderman Date: Wed, 13 May 2026 09:54:50 -0700 Subject: [PATCH] fix(bot): satisfy YAML lint rules and clarify monorepo build order --- .github/workflows/gemini-cli-bot-brain.yml | 8 ++++---- tools/gemini-cli-bot/brain/scheduled.md | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gemini-cli-bot-brain.yml b/.github/workflows/gemini-cli-bot-brain.yml index 04f3479c69..5abcd29f7e 100644 --- a/.github/workflows/gemini-cli-bot-brain.yml +++ b/.github/workflows/gemini-cli-bot-brain.yml @@ -32,10 +32,10 @@ on: description: 'Mandate to execute' type: 'choice' options: - - auto - - issue-fixer - - metrics - - interactive + - 'auto' + - 'issue-fixer' + - 'metrics' + - 'interactive' default: auto concurrency: diff --git a/tools/gemini-cli-bot/brain/scheduled.md b/tools/gemini-cli-bot/brain/scheduled.md index c9add92aae..dc731e63ba 100644 --- a/tools/gemini-cli-bot/brain/scheduled.md +++ b/tools/gemini-cli-bot/brain/scheduled.md @@ -83,6 +83,10 @@ For any detected bugs, bottlenecks, or opportunities: - **Delegation Guidelines**: Do NOT delegate to the 'generalist' agent. Delegate data-intensive tasks (like repository metrics collection) to the 'worker' agent. +- **Monorepo Build Order**: When verifying the workspace or diagnosing errors, + you MUST run `npm run build` BEFORE running `npm run typecheck`. In a clean + state, `tsc` will report widespread errors (TS6305) if the project's build + artifacts do not yet exist. These are environment issues, not code bugs. - **Strict Read-Only Reasoning**: You cannot push code or post comments via API. Your only way to effect change is by writing to specific files and explicitly staging file changes using the `git add` command.