文件历史

7 次代码提交

作者 SHA1 备注 提交日期
yu de9f9c05ca fix(agent): honor spawn overrides and harden task cleanup (#148) 2026-04-16 14:33:46 +08:00
tjb-tech 76d91fdfa1 fix(swarm): run subprocess teammates in headless worker mode 2026-04-10 09:50:07 +00:00
tjb-tech 27abeae3eb Merge #88 and fix agent team creation 2026-04-10 03:59:44 +00:00
tjb-tech 86a067cb01 fix(swarm): make subprocess agents pollable in real runs 2026-04-08 12:16:45 +00:00
Jiri Puc 90b68b98fe test(agent-tool): add regression tests for subprocess backend fix (#60)
Two tests covering the fix from PR #60:

1. test_agent_tool_uses_subprocess_backend_and_task_is_pollable
   - Spawns an agent via AgentTool
   - Asserts backend=subprocess in the output (not in_process)
   - Asserts the returned task_id has no "in_process_" prefix
   - Asserts get_task_manager().get_task(task_id) finds the record,
     proving that task tools (TaskGet, TaskOutput, etc.) would succeed

2. test_send_message_swarm_path_uses_subprocess_backend
   - Patches SubprocessBackend.send_message as an AsyncMock
   - Calls SendMessageTool with a name@team task_id
   - Asserts the mock was called (i.e. SubprocessBackend was used,
     not InProcessBackend)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 17:19:48 +02:00
tjb-tech 8abe47603e fix(ci): update tests for new system prompt, agent definitions, and CI compatibility
- Update prompt assertions to match new OpenHarness system prompt
- Update agent definition tests (verification not verifier, tools=['*'])
- Add pytest.mark.skipif for tests needing real API or AutoAgent workspace
- Fix agent tool test for InProcessBackend same-name spawn conflict
- Fix flaky worktree test for CI environments
2026-04-04 10:14:22 +00:00
tjb-tech 5dd8b952ec Initial release: oh — OpenHarness: Open Agent Harness v0.1.0
A lightweight open-source Python implementation of the Agent Harness architecture.
44x lighter than Claude Code (11K vs 512K lines), 98% core tool coverage.

- 43 tools with Pydantic validation and parallel execution
- Skills system compatible with anthropics/skills (17+ tested)
- Plugin system compatible with claude-code/plugins (12+ tested)
- API retry with exponential backoff
- Multi-level permissions with path rules
- React/Ink TUI with "Oh my Harness!" branding
- 114 unit tests + 6 E2E test suites
- MIT License
2026-04-01 16:32:25 +00:00