Skip to content

Commit 083a3d6

Browse files
committed
Clean up stale annotations, set CLAUDE_CODE_ENTRYPOINT for observability
1 parent 2f96870 commit 083a3d6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

bashclaw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ cmd_tool() {
673673
fi
674674
fi
675675

676-
# Fire pre_tool hook (parity with builtin engine's per-tool hooks)
676+
# Fire pre_tool hook
677677
if declare -f hooks_run &>/dev/null; then
678678
local hook_data
679679
hook_data="$(jq -nc --arg tn "$tool_name" --arg ti "$tool_input" \

gateway/http_handler.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ handle_request() {
374374
esac
375375
}
376376

377-
# ---- Legacy Route Implementations ----
377+
# ---- Route Implementations ----
378378

379379
_handle_status() {
380380
require_command jq "status handler requires jq"

lib/cron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ _cron_next_match() {
853853
printf '0'
854854
}
855855

856-
# Migrate legacy individual JSON job files into the consolidated store
856+
# Migrate individual JSON job files into the consolidated store
857857
_cron_migrate_legacy() {
858858
local dir="$1"
859859
local store="$2"

lib/engine_claude.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ ${message}"
282282
response_file="$(tmpfile "claude_engine")"
283283
error_file="$(tmpfile "claude_engine_err")"
284284

285-
(export BASHCLAW_STATE_DIR BASHCLAW_CONFIG LOG_LEVEL
285+
(export BASHCLAW_STATE_DIR BASHCLAW_CONFIG LOG_LEVEL CLAUDE_CODE_ENTRYPOINT="bashclaw"
286286
claude -p "$full_message" "${args[@]}" > "$response_file" 2>"$error_file") &
287287
local claude_pid=$!
288288

lib/process.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ process_status() {
154154
'{pending: $p, processing: $r, completed: $c}'
155155
}
156156

157-
# Check if an agent has available concurrency lanes (legacy per-agent check)
157+
# Check if an agent has available concurrency lanes
158158
process_lanes_check() {
159159
local agent_id="${1:?agent_id required}"
160160

tests/test_engine.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ result="$(printf '{"tool_name":"Read"}' | bash "${BASHCLAW_ROOT}/bashclaw" hooks
10361036
assert_eq "$result" "{}"
10371037
teardown_test_env
10381038

1039-
# ---- Phase D: New parity tests ----
1039+
# ---- Extended engine tests ----
10401040

10411041
test_start "is_subagent=true blocks SOUL.md in prompt"
10421042
setup_test_env

0 commit comments

Comments
 (0)