Add CI, test suite, team templates, and fix config bugs#1
Merged
tjb-tech merged 3 commits intoHKUDS:mainfrom Mar 18, 2026
Merged
Add CI, test suite, team templates, and fix config bugs#1tjb-tech merged 3 commits intoHKUDS:mainfrom
tjb-tech merged 3 commits intoHKUDS:mainfrom
Conversation
CI: - GitHub Actions workflow: ruff lint + pytest on Python 3.10/3.11/3.12 across ubuntu and macos Templates: - code-review: multi-perspective review team (security, performance, architecture reviewers coordinated by a lead) - research-paper: academic research team (PI, literature surveyor, methodology designer, data analyst) Bug fixes: - config show: display all 7 config keys instead of only 3 - get_effective: compare against default instead of checking truthiness, so explicitly-set falsy values (like skip_permissions=False) aren't silently replaced by defaults - config show: handle boolean values in display (str() instead of or)
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds foundational quality infrastructure and new features to ClawTeam:
Test Suite (112 tests, 0.3s)
test_config.py— config load/save roundtrip,get_effectiveenv/file/default prioritytest_models.py— Pydantic model defaults, alias serialization, JSON roundtripstest_tasks.py— TaskStore CRUD, dependency resolution, task locking and dead-agent releasetest_mailbox.py— send/receive/broadcast, consume semantics, peek, event loggingtest_manager.py— team create/cleanup, member management, leader lookuptest_templates.py— variable substitution, builtin template validation, user overrideAll tests use
tmp_pathwithCLAWTEAM_DATA_DIRisolation — no filesystem side effects.CI (GitHub Actions)
New Team Templates
code-review— multi-perspective code review (security, performance, architecture reviewers)research-paper— academic research team (PI, lit survey, methodology, data analysis)Bug Fixes
config showonly displayed 3 of 7 config keys — now shows allget_effectiveused truthiness check (if file_val:), soskip_permissions=Falsewould fall through to defaultTrue— now compares against default value insteadconfig showdisplay: boolean values rendered properly withstr()instead ofor "(empty)"Test plan
pytest tests/ -v— 112 passed in 0.32sruff check tests/— all checks passed