From 7c6bc1a848d5b63eb49edaf1628d3e797d9919cd Mon Sep 17 00:00:00 2001 From: "coding-agent-loop[bot]" Date: Sat, 29 Aug 2026 20:21:08 -0400 Subject: [PATCH 1/2] Usage is very high Closes #18 Generated by coding-agent-loop run b328b7bb-cc7a-451c-b698-00fbcad54205. --- README.md | 22 +++++++- internal/claude/runner.go | 34 ++++++++++++ internal/claude/runner_test.go | 36 ++++++++++++ internal/discord/notifier.go | 3 +- internal/orchestrator/loop.go | 17 ++++-- internal/orchestrator/prcomments.go | 17 ++++-- internal/orchestrator/prompt.go | 51 ++++++++++++++--- internal/orchestrator/prompt_test.go | 82 ++++++++++++++++++++++++++++ internal/store/store.go | 38 ++++++++++--- internal/store/store_test.go | 43 ++++++++++++++- internal/web/assets/app.js | 15 ++++- 11 files changed, 328 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 41dff03..6d639d5 100644 --- a/README.md +++ b/README.md @@ -310,7 +310,13 @@ built by one function apiece: `issueContext` (also in `prompt.go`) renders the shared issue-body/comment block all the task prompts embed, truncating at `maxBodyChars`/`maxCommentChars`/`maxCommentsInclu` so a very long -issue thread can't blow the prompt out. +issue thread can't blow the prompt out. It also drops the harness's own comments (the plan, the +PR announcement, failure notes — anything carrying the `