Skip to content

Harden worker file-write routing#103

Merged
pmbstyle merged 2 commits into
mainfrom
harden-a2a-worker-qa-fixes
May 18, 2026
Merged

Harden worker file-write routing#103
pmbstyle merged 2 commits into
mainfrom
harden-a2a-worker-qa-fixes

Conversation

@pmbstyle
Copy link
Copy Markdown
Owner

Summary

  • harden worker routing so file-writing tasks prefer templates with filesystem write tools
  • require workers to actually call fs_write before claiming workspace file completion
  • fix Docker shared-workspace path handling for allowed worker writes
  • add timeout enforcement around provider calls and small Windows/A2A robustness fixes

Root cause

Live A2A QA found that a worker could be selected without write tools, or could report a file as written while only writing inside temporary worker scratch. In Docker mode that scratch was cleaned up, so the parent agent saw a successful worker but the expected workspace artifact was missing.

Validation

  • uv run pytest tests\test_worker_router.py tests\test_worker_launcher_isolation.py tests\test_filesystem_hardening.py tests\test_litellm_provider_payload_hardening.py tests\test_agent_worker_contracts.py tests\test_heartbeat.py
  • full A2A core suite passed on the test instance: 6/6

@pmbstyle pmbstyle self-assigned this May 18, 2026
@pmbstyle pmbstyle marked this pull request as ready for review May 18, 2026 16:08
@pmbstyle pmbstyle merged commit 2e32572 into main May 18, 2026
4 checks passed
@pmbstyle pmbstyle deleted the harden-a2a-worker-qa-fixes branch May 18, 2026 16:15
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