Skip to content

claude-executor: add the tool-use summary step #74

Open

Description

@jdcmsd

autodoc-executor.yml (#70) has a "Summarize Claude's tool use" step. It writes the count of each tool Claude used, plus any refused tool calls, to the job summary. For refused Bash calls it shows only the command's first word, so no prompt or context text reaches a public log. The step reads only the execution file, so nothing in it is autodoc-specific.

It's what showed that the autodoc runs were making 5–16 refused tool calls each, which would otherwise have been invisible. claude-executor has the same blind spot.

Fix: copy the step into claude-executor.yml, reading the execution file from steps.claude-api.outputs.execution_file || steps.claude-bedrock.outputs.execution_file.

Raised in review of #70.

Activity

  1. added
    enhancement
    on Oct 28, 2026
  2. jdcmsd commented on Oct 28, 2026

    @jdcmsd
    ContributorAuthor

    A related addition for the same step: when the session's result has is_error: true, print the first line of the final message, for example the API error. Right now a run that ends this way shows only Claude result reported subtype success with is_error:true in the log. That's enough to fail loudly but not enough to tell a transient Bedrock error from anything else, and the execution file never leaves the executor job. autodoc-executor would benefit too, so whichever executor change comes next can pick this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions