tjb-tech
17d1fcad77
fix(test): increase teammate max_turns to 20 and timeout to 120s
...
Task 5 (concurrent teammates with skills) was failing because
import-finder hit max_turns=8 before writing results. Increased to
max_turns=20 and timeout=120s. Both teammates now pass (37s).
2026-04-04 09:38:28 +00:00
tjb-tech
d6ed87d4b9
test: real agent loop tests for hooks, skills, and plugins
...
5 tasks where hooks/skills/plugins are ACTIVELY used by the model in
the agent loop (not passive logging or manual injection):
1. Hook blocks bash → model sees error, adapts to glob (8s) PASS
- pre_tool_use hook returns exit 1 for bash, model switches tool
2. Model invokes skill tool → follows checklist instructions (16s) PASS
- skill tool returns code-review checklist, model greps for TODO/FIXME
3. Plugin skill → security scan in agent loop (80s) PASS
- Plugin-provided scan-secrets skill loaded via skill tool, 28 tool calls
4. Hook gates writes + skill guides refactoring (17s) PASS
- Hook blocks config.py writes, skill provides refactoring steps
5. Swarm teammates each use skills (45s) 4/5 PARTIAL
- class-counter invoked skill and wrote result, import-finder timed out
2026-04-04 08:11:47 +00:00
tjb-tech
860f4f610d
test: real large multi-feature tasks on unfamiliar AutoAgent codebase
...
6 end-to-end tasks combining 3+ features each, all using real Kimi K2.5 API
on the AutoAgent project (an unfamiliar 17K LOC Python codebase):
1. Security audit: hooks (35 logged entries) + grep + web_fetch + permissions
- 34 tool calls, found real eval/exec/shell injection issues (204s)
2. Coordinator code review: swarm (2 concurrent workers) + team + mailbox
+ agent definitions (verification agent) + task notifications (51s)
3. Migration plan: skills + memory (add/list) + session save/export
+ Plan agent prompt + 3-turn analysis (295s, 176KB markdown export)
4. Bug fix in worktree: git worktree create + file edit + bash test
- Fix verified, original untouched, worktree cleaned up (17s)
5. Full pipeline: coordinator + 2 research workers + permission sync
(request→resolve) + team lifecycle (27s)
6. Refactoring with session: 3-turn edit + session save/load + cost tracking
- Helper function extracted, valid Python, 18 messages saved (46s)
2026-04-04 07:34:13 +00:00
tjb-tech
eff7d60df3
test: comprehensive integration tests for all previously untested features
...
15 tests covering: hooks (command block, post_tool_use, agent loop integration),
skills (load from dir, registry), plugins (manifest loading), memory (add/list/
search/remove lifecycle), session storage (save/load/export), config (settings,
overrides, paths), commands (registry, lookup, 55 default commands), web_fetch
(real httpbin.org URL), worktree (real git create/list/remove), MCP (type
validation), and combined tests (hooks+skills+agent, full swarm+team on
AutoAgent project).
All tests use real Kimi K2.5 API where agent loops are needed.
2026-04-04 07:15:18 +00:00
tjb-tech
c366cdc714
test: add comprehensive unit tests for swarm and coordinator components
...
Adds 156 tests across 9 new test files covering:
- coordinator_mode: TaskNotification XML, is_coordinator_mode, WorkerConfig
- agent_definitions: AgentDefinition model, built-ins, load_agents_dir
- swarm/types: TeammateIdentity, SpawnResult, TeammateExecutor protocol
- swarm/registry: BackendRegistry register/detect/get_executor
- swarm/mailbox: TeammateMailbox write/read/mark_read/clear + factories
- swarm/in_process: InProcessBackend spawn/shutdown/send_message, contextvars
- swarm/permission_sync: create/send/poll/handle permission flow
- swarm/team_lifecycle: TeamLifecycleManager CRUD with tmp_path fixtures
- swarm/worktree: validate_worktree_slug edge cases, flatten/branch helpers
2026-04-03 09:28:24 +00:00
tjb-tech
b9f1151ee6
docs: add repo docs and CI scaffolding
2026-04-03 04:58:40 +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