Skip to content

refactor: clean agent loop step logging#238

Closed
frostming wants to merge 1 commit into
mainfrom
codex/clean-agent-loop-events
Closed

refactor: clean agent loop step logging#238
frostming wants to merge 1 commit into
mainfrom
codex/clean-agent-loop-events

Conversation

@frostming

Copy link
Copy Markdown
Collaborator

Summary

  • Adds typed stream-event iterable helpers in bub.builtin.agent.
  • Removes a redundant next_prompt initialization before entering the agent loop.
  • Extracts repeated loop.step event payload construction into _append_loop_step.

Validation

  • uv run ruff check src/bub/builtin/agent.py tests/test_builtin_agent.py
  • uv run pytest tests/test_builtin_agent.py
  • uv run pytest
  • uv run ruff check

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bub 73b5697 Commit Preview URL

Branch Preview URL
Jun 16 2026, 11:28 AM

@frostming frostming closed this Jun 16, 2026
@frostming frostming deleted the codex/clean-agent-loop-events branch June 16, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant