feat(#241): render thinking, result, and system events in progress stream#270
feat(#241): render thinking, result, and system events in progress stream#270fullsend-ai-coder[bot] wants to merge 2 commits into
Conversation
…ream Extend the progress parser to handle additional Claude Code stream-json event types beyond tool_use. The parser now emits progress for thinking content blocks (safe indicator, no content leaked), result events (completion status with subtype for errors), and system events (session initialization). Error results use ::warning:: in CI and StepWarn formatting. Sensitive data from thinking blocks and result messages is never surfaced. Closes #241
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
|
🤖 Finished Review · ❌ Failure · Started 12:58 PM UTC · Completed 12:59 PM UTC |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 3:57 PM UTC · Completed 4:05 PM UTC |
ReviewVerdict: approve Clean feature addition that extends the progress parser to handle thinking, result, and system events from the Claude Code stream-json output. The implementation correctly avoids leaking sensitive data from thinking blocks and result messages. Error-path sanitization via Findings[sanitization-consistency] [json-tag-divergence] [test-gap] No test verifies that an assistant event with both a Labels: PR adds new event type handling in internal runtime progress parser Previous runReviewVerdict: approve Clean extension of the progress parser to handle thinking, result, and system events. The change is well-scoped, correctly handles sensitive content (thinking text and result bodies are never surfaced), and includes thorough test coverage for all new code paths. What was reviewed
ObservationsSanitization pattern: |
|
/fs-fix |
|
🤖 Finished Fix · ✅ Success · Started 5:38 PM UTC · Completed 5:50 PM UTC |
…Progress Apply sanitizeOutput to the composed message instead of individual fields, matching the pattern used in emitToolProgress. This ensures consistency across all emit functions so future untrusted fields are automatically covered. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🔧 Fix agent — iteration 1 (human-triggered)Addressed reviewer observation about sanitization pattern consistency. Changed emitResultProgress and emitSystemProgress to sanitize the full composed message instead of individual fields, matching the existing emitToolProgress pattern. Fixed (1):
Tests: passed Updated by fullsend fix agent |
|
🤖 Finished Review · ✅ Success · Started 5:51 PM UTC · Completed 5:59 PM UTC |
Extend the progress parser to handle additional Claude Code stream-json event types beyond tool_use. The parser now emits progress for thinking content blocks (safe indicator, no content leaked), result events (completion status with subtype for errors), and system events (session initialization). Error results use ::warning:: in CI and StepWarn formatting. Sensitive data from thinking blocks and result messages is never surfaced.
Closes #241
Post-script verification
agent/241-render-event-stream-progress)c776c248ac9a91f10998ca7107e974a6c9d76514..HEAD)