From 8e9d89ca73c4c23d69b8a547e34259e416a76f43 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Thu, 26 Feb 2026 07:24:37 -0800 Subject: [PATCH] docs-review: print file path instead of content for LLM usage The LLM should read the file itself using its tools rather than receiving it inline in the task output. Co-Authored-By: Claude Opus 4.6 --- docs/changelog.d/docs-review-no-print.ai.md | 1 + mise-tasks/docs-review | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 docs/changelog.d/docs-review-no-print.ai.md diff --git a/docs/changelog.d/docs-review-no-print.ai.md b/docs/changelog.d/docs-review-no-print.ai.md new file mode 100644 index 0000000..112789f --- /dev/null +++ b/docs/changelog.d/docs-review-no-print.ai.md @@ -0,0 +1 @@ +docs-review task now prints the file path instead of the file content, so the LLM reads it directly. diff --git a/mise-tasks/docs-review b/mise-tasks/docs-review index f218aa8..6d07b4b 100755 --- a/mise-tasks/docs-review +++ b/mise-tasks/docs-review @@ -139,8 +139,8 @@ def main( )) console.print() - content = top_file.read_text() - console.print(Markdown(content)) + console.print(f"[bold]Read the file:[/bold] {top_file.resolve()}") + console.print() console.print() console.print(Panel(