yuan-lab-llm--clawmanager
41d8d6a629
* chore: ignore local agency and team snapshots * feat: add team agent profile templates * KANBAN * template * prototype * Fix tenant runtime pool deployment * Fix local team profiles runtime override * Update local team profiles testing guide * Adapt local team profiles test deployment * Patch tenant NFS server to ClusterIP * Use NFS export root for workspace mounts * Tighten team task completion projection * Fix team event body map comparison * before modification * temp_peer1 * leadermodel * team_fix * fix(team): harden workflow completion and workspace handling * fix(team): harden redis workflow protocol
2.7 KiB
2.7 KiB
Team Agent Profile Acceptance Criteria
This checklist covers the phase 1/2 implementation for agency-agents inspired Team role profiles in ClawManager.
Scope
- The implementation uses compact ClawManager runtime profiles, not the full agency-agents Markdown files.
- No database migration is required.
- No Team API schema change is required.
- Existing Team
description,team.json, and memberenvironment_overridesfields remain the compatibility layer.
Functional Acceptance
- The Team creation page exposes the existing built-in templates:
- Standard two-member Team
- Delivery three-member Team
- Software Engineering Team
- Each built-in template member has a compact agency profile key.
- Importing a built-in template preserves:
- member id
- display name
- role
- runtime type
- resource preset
- description
- profile key
- Creating a Team sends member-specific
environment_overrides. - Members with a profile key receive all three aliases:
CLAWMANAGER_RUNTIME_AGENTS_JSONCLAWMANAGER_OPENCLAW_AGENTS_JSONCLAWMANAGER_HERMES_AGENTS_JSON
- The generated agents JSON is valid and contains:
schemaVersion: 1- one
agentitem - profile key
- source agency file path
- member id
- role
- runtime type
- system prompt
- collaboration rules
- output contract
- Global environment variables still apply to every member and are merged with member profile env values.
- Existing
descriptionvalues still appear in generated Team roster configuration so older runtimes keep a readable role summary.
Compatibility Acceptance
- A runtime that ignores
*_AGENTS_JSONstill starts normally. - OpenClaw members can inspect
CLAWMANAGER_OPENCLAW_AGENTS_JSON. - Hermes members can inspect
CLAWMANAGER_HERMES_AGENTS_JSONandCLAWMANAGER_RUNTIME_AGENTS_JSON. - Team Redis keys, inbox routing, event stream projection, and
team.jsonschema are unchanged.
Verification Commands
Frontend:
cd frontend
npm run build
Backend Team unit tests:
cd backend
go test ./internal/services/ -run TestTeam -v
Runtime smoke checks after creating a Team:
env | grep AGENTS_JSON
cat /etc/clawmanager/team/team.json
Manual Runtime Acceptance
- Create a two-member OpenClaw Team.
- Verify Leader and Worker receive different profile payloads.
- Dispatch a simple task to the Leader.
- Confirm the Leader can read roster roles and coordinate via Team events.
- Repeat with Hermes runtime members when a Hermes image is available.
- If Hermes receives env values but does not apply the profile, record that as a Hermes runtime loader gap rather than a ClawManager injection failure.