بنقرة واحدة
verify-streaming
Verify the streaming fix is properly implemented in the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Verify the streaming fix is properly implemented in the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Update CHANGELOG.md with new entries following Keep a Changelog format
Run complete CI checks locally (build debug/release, run tests, check warnings)
Run the complete dev server test workflow for the Aura project
Rebuild the trebuchet CLI binary in release configuration
Create a new Trebuchet release tag following semantic versioning (without 'v' prefix)
Run AWS integration tests with LocalStack for local AWS service simulation
| name | verify-streaming |
| description | Verify the streaming fix is properly implemented in the codebase |
Verify that the streaming bug fix is correctly implemented:
Verify observe method generation (around lines 789-804):
grep -A 20 "public func observe" /Users/bri/dev/Trebuchet/Sources/TrebuchetCLI/Commands/DevCommand.swift | head -30
Expected: No nonisolated keyword, direct actor property access
Verify handlers use await (around lines 506-530):
grep -A 5 "let stream = await" /Users/bri/dev/Trebuchet/Sources/TrebuchetCLI/Commands/DevCommand.swift
Expected: let stream = await typedActor.observeXxx()
grep -r "Task.detached" /Users/bri/dev/Trebuchet/Sources/TrebuchetCLI/Commands/DevCommand.swift
Expected: No matches (this was the buggy pattern)
if [ -d /Users/bri/dev/Aura/.trebuchet ]; then
echo "Checking generated code..."
grep -r "nonisolated.*observe" /Users/bri/dev/Aura/.trebuchet/Sources/ 2>/dev/null || echo "✓ No nonisolated observe methods"
grep -r "Task.detached" /Users/bri/dev/Aura/.trebuchet/Sources/ 2>/dev/null || echo "✓ No Task.detached found"
fi
For each check, report:
The streaming bug was caused by:
Task.detached spawned on global executor, not actor executorThe fix:
nonisolated)