Skip to content

Commit 10b668f

Browse files
authored
Fix build-and-summarize script and description (#395)
1 parent b3c89da commit 10b668f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.claude/commands/build-and-summarize

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,8 @@ echo
7272
echo "Delegating to gradle-logs-analyst agent…"
7373
# If your CLI supports non-streaming, set it here to avoid verbose output.
7474
# Example (uncomment if supported): export CLAUDE_NO_STREAM=1
75+
76+
# Sub-agents would inherit the full parent env, including CLAUDECODE, which
77+
# apparently causes problems with some versions of Claude (e.g. 4.6).
78+
unset CLAUDECODE
7579
claude "Act as the gradle-logs-analyst agent to parse the build log at: $LOG. Generate the required Gradle summary artifacts as specified in the gradle-logs-analyst agent definition."

.claude/commands/build-and-summarize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# build-and-summarize
22

3-
Execute the bash script `~/.claude/commands/build-and-summarize` with all provided arguments.
3+
Execute the bash script `.claude/commands/build-and-summarize` with all provided arguments.
44

55
This script will:
66
- Run `./gradlew` with the specified arguments (defaults to 'build' if none provided)

0 commit comments

Comments
 (0)