Date: 2026-02-14
Role: Engineering Team Lead (5-10 developers)
Focus: Standardization, reproducibility, collaboration, governance
As a team lead managing 5-10 developers, OAC needs to solve team coordination problems, not just individual developer productivity. This document outlines critical team workflows, pain points, and must-have features for successful team adoption.
Key Requirements:
Scenario: Sarah joins the team on Monday. She needs to be productive by Wednesday.
Current Reality (Without OAC):
# Day 1: Setup chaos
- Clone repo โ
- Install dependencies (npm install) โ
- Read README... wait, which version of Claude Code?
- Copy .cursorrules from teammate's Slack message
- Manually set up agents... which ones?
- Configure approval gates... how?
- Add custom team agents... where are they?
- Day 1 ends: 50% set up, confused about what's missing
# Day 2: Troubleshooting
- "My agent doesn't have the team's code quality standards"
- "Where do I get the React specialist agent?"
- "Why does my setup look different from John's?"
- Senior dev spends 2 hours helping
# Day 3: Finally productive (maybe)
With OAC (Team Standard Workflow):
# Day 1 Morning: 15 minutes to full setup
cd ~/Projects/company-frontend
oac install --frozen
# OAC reads oac.lock (committed to repo)
๐ฆ Installing Team Configuration
Reading lockfile: oac.lock
Team: Frontend Team
Last updated: 2026-02-10 by john@company.com
Components (exact versions):
โ agent:openagent@0.7.1
โ agent:frontend-specialist@1.2.0
โ agent:tester@2.0.1
โ context:team-standards@1.0.0
โ context:react-patterns@1.5.0
โ skill:git-workflow@0.8.0
Total: 6 components
? Install for which IDE?
โ OpenCode
> Cursor
? Install location?
> Local (this project: ~/Projects/company-frontend/.opencode)
Global (~/.config/oac)
โก Installing...
โ All components installed
โ Team standards applied
โ Approval gates configured
โ Git hooks installed
โ
Setup complete!
๐ Your setup matches team standard (100%)
๐ Next steps:
1. Review team standards: oac context show team-standards
2. Test your setup: oac doctor
3. Start coding!
๐ก Questions? Ask in #engineering-setup
Result: Sarah is productive in 15 minutes. Zero configuration drift.
Scenario: Team lead wants all developers using same agent behavior (approval gates, context loading, etc.)
Challenge: Different developers have different preferences, but team needs consistency
Team Standard Configuration (oac-team.json):
{
"version": "1.0.0",
"team": {
"name": "Frontend Team",
"owner": "john@company.com",
"enforced": true
},
"components": {
"agents": [
{
"name": "openagent",
"version": "0.7.1",
"required": true,
"config": {
"behavior": {
"approvalGates": true,
"contextLoading": "lazy",
"delegationThreshold": 4
},
"permissions": {
"bash": "approve",
"write": "approve",
"edit": "approve",
"task": "approve"
}
}
},
{
"name": "frontend-specialist",
"version": "1.2.0",
"required": true,
"config": {
"frameworks": ["react", "nextjs"],
"typescript": true,
"testingLibrary": "vitest"
}
},
{
"name": "tester",
"version": "2.0.1",
"required": false,
"recommendedFor": ["senior-devs"]
}
],
"contexts": [
{
"name": "team-standards",
"version": "1.0.0",
"required": true,
"description": "Company coding standards and best practices"
},
{
"name": "react-patterns",
"version": "1.5.0",
"required": true,
"description": "Approved React patterns for this project"
}
],
"skills": [
{
"name": "git-workflow",
"version": "0.8.0",
"required": true,
"description": "Company git workflow (branch naming, commit style)"
}
]
},
"policies": {
"allowCustomization": true,
"allowAdditionalAgents": true,
"enforceVersions": true,
"requireLockfile": true,
"auditChanges": true
},
"validation": {
"frequency": "on-install",
"strictMode": false,
"warnOnDrift": true
}
}
Team Lead Workflow:
# 1. Create team configuration
oac team init
? Team name: Frontend Team
? Owner email: john@company.com
? Enforce configuration? (Y/n) y
โ Created: oac-team.json
# 2. Add required components
oac team add agent:openagent@0.7.1 --required
oac team add agent:frontend-specialist@1.2.0 --required
oac team add context:team-standards@1.0.0 --required
# 3. Configure policies
oac team policy set enforceVersions true
oac team policy set allowCustomization true
# 4. Generate lockfile
oac lock
โ Created: oac.lock (based on team config)
# 5. Commit to repo
git add oac-team.json oac.lock
git commit -m "Add team OAC configuration"
git push
# 6. Announce to team
echo "Team: Please run 'oac install --frozen' to sync with team standard"
Developer Experience:
# Developer pulls latest
git pull
# OAC detects team config
โ Team configuration detected
Your setup differs from team standard:
- agent:openagent: 0.6.5 (team: 0.7.1) โ
- context:team-standards: missing โ
- skill:git-workflow: missing โ
? Update to team standard? (Y/n) y
โก Updating to team standard...
โ agent:openagent: 0.6.5 โ 0.7.1
โ context:team-standards: installed
โ skill:git-workflow: installed
โ
Your setup now matches team standard (100%)
Scenario: Senior dev creates amazing custom agent, wants to share with team
Without OAC:
With OAC:
# Senior dev creates custom agent
cd ~/Projects/company-frontend
oac create agent review-specialist
# ... edits agent prompt ...
# Package for team
oac team share agent:review-specialist
? Share with:
> Current team (Frontend Team)
Entire organization
Specific team members
? Access level:
> Recommended (team members can install)
Required (auto-installed for everyone)
Optional (discoverable in team registry)
โ Shared: agent:review-specialist
โ Added to team registry
โ Slack notification sent to #frontend-team
๐ Analytics:
- Available to: 8 team members
- Auto-installed for: 0 (recommended only)
๐ก Team members can install with:
oac team install agent:review-specialist
Team Member Experience:
# Check team-shared components
oac team browse
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Team Components (Frontend Team) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Agents: โ
โ โ review-specialist (recommended) โ
โ By: john@company.com โ
โ Downloads: 3/8 team members โ
โ "Enhanced code review with team standards" โ
โ โ
โ Contexts: โ
โ โ team-standards (required) โ
โ By: john@company.com โ
โ Installed: 8/8 team members โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Install recommended agent
oac team install agent:review-specialist
โ Installed: agent:review-specialist@1.0.0
โ Added to your local config
Scenario: Team lead wants to ensure all code follows team standards
Team Standards Context (.oac/team/contexts/team-standards.md):
# Frontend Team Coding Standards
## React Patterns
### Component Structure
- Use functional components with hooks
- No class components (legacy only)
- Props interface above component
- Export at bottom of file
### State Management
- Use Zustand for global state
- No Redux (legacy projects only)
- Local state with useState for UI state
### Testing
- Vitest for unit tests
- Playwright for e2e tests
- Minimum 80% coverage for new code
- Test files: *.test.tsx
### File Structure
components/ Button/
Button.tsx
Button.test.tsx
Button.stories.tsx
index.ts
## Git Workflow
### Branch Naming
- feature/JIRA-123-short-description
- fix/JIRA-123-short-description
- chore/JIRA-123-short-description
### Commit Messages
- feat: Add user authentication
- fix: Fix login button not working
- chore: Update dependencies
### PR Requirements
- Minimum 1 approval
- All checks must pass
- No merge conflicts
- Linked to Jira ticket
Enforcement Workflow:
# Team lead creates standards context
oac create context team-standards
# ... adds standards content ...
# Make it required
oac team add context:team-standards@1.0.0 --required
# Configure agent to enforce standards
oac team config set agents.openagent.context.required team-standards
oac team config set agents.openagent.strictMode true
# Commit to repo
git add .oac/team/
git commit -m "Add enforced team standards"
git push
Developer Experience:
# Agent automatically loads team standards
> create a new button component
Agent checks team-standards.md:
โ Using functional component (required)
โ Creating test file Button.test.tsx (required)
โ Creating story file Button.stories.tsx (recommended)
โ Props interface above component (required)
Creating:
components/Button/
Button.tsx
Button.test.tsx
Button.stories.tsx
index.ts
โ
Follows team standards
Scenario: New version of openagent released, team lead needs to coordinate update
Without OAC:
With OAC:
# Team lead checks for updates
oac team update --check
๐ฆ Updates Available for Frontend Team
agent:openagent
Current: 0.7.1 (team standard)
Latest: 0.8.0
Changes:
- Improved delegation logic
- Fixed approval gate bug
- New context loading patterns
Impact: 8/8 team members affected
Breaking: No
? How would you like to proceed?
> Review changes
Update team standard
Skip this update
# Review changes
oac diff agent:openagent 0.7.1 0.8.0
[Shows detailed diff]
# Update team standard
oac team update agent:openagent@0.8.0
โก Updating team standard...
โ Updated: agent:openagent 0.7.1 โ 0.8.0
โ Updated: oac.lock
โ Updated: oac-team.json
? Notify team?
> Yes, send Slack notification
No, silent update
โ Slack notification sent to #frontend-team
๐ Update Status:
- Team standard: 0.8.0
- Team members on 0.8.0: 0/8
- Team members on 0.7.1: 8/8
๐ก Track adoption: oac team status
Team Member Experience:
# Pull latest code (next day)
git pull
โ Team standard updated
agent:openagent: 0.7.1 โ 0.8.0 (required)
Changes:
- Improved delegation logic
- Fixed approval gate bug
? Update now? (Y/n) y
โก Updating...
โ agent:openagent: 0.7.1 โ 0.8.0
โ Backup saved: .oac/backups/openagent-0.7.1.md
โ
Up to date with team standard
# Team lead checks adoption
oac team status
๐ Team Configuration Status
Team: Frontend Team
Members: 8
agent:openagent@0.8.0 (required):
โ john@company.com (you)
โ sarah@company.com
โ mike@company.com
โณ jane@company.com (pending)
โณ bob@company.com (pending)
โ alice@company.com (offline)
โ tom@company.com (on vacation)
โ lisa@company.com (needs update)
Adoption: 3/8 (37.5%)
๐ก Send reminder: oac team remind agent:openagent
Persona: John, Senior Frontend Lead, managing 8 developers
Goal: Establish team standards for new React project
Workflow:
# Week 1: Project kickoff
cd ~/Projects/new-frontend
git init
npm init
# Initialize OAC for team
oac team init
Welcome to OAC Team Setup! ๐ฅ
? Team name: Frontend Team
? Owner (your email): john@company.com
? Team size:
> Small (2-10 developers)
Medium (11-50 developers)
Large (50+ developers)
? Primary tech stack:
โ React
โ TypeScript
โ Node.js
โ Python
? Strictness level:
> Balanced (enforce core standards, allow customization)
Strict (enforce all standards, minimal customization)
Flexible (recommend standards, full customization)
โ Created team configuration
๐ฆ Recommended setup for React + TypeScript team:
Core Agents (required):
- openagent@0.7.1
- frontend-specialist@1.2.0
Specialists (recommended):
- tester@2.0.1
- reviewer@1.8.0
Contexts (required):
- core/standards/code-quality
- development/react-patterns
Skills (recommended):
- git-workflow
- testing-workflow
? Install recommended setup? (Y/n) y
โก Installing team setup...
โ Installed 4 agents
โ Installed 2 contexts
โ Installed 2 skills
โ Generated oac.lock
โ Generated oac-team.json
โ
Team setup complete!
๐ Next steps:
1. Review team config: oac team config show
2. Customize standards: oac context edit team-standards
3. Commit to repo: git add .oac/ oac* && git commit
4. Invite team: Share repo URL
๐ก Team members run: oac install --frozen
Customization:
# Customize team standards
oac context edit team-standards
[Opens in editor]
# Configure policies
oac team policy set enforceVersions true
oac team policy set allowCustomization true
oac team policy set auditChanges true
# Set up approval gates
oac team config set agents.openagent.permissions.bash approve
oac team config set agents.openagent.permissions.write approve
# Commit team configuration
git add .oac/ oac-team.json oac.lock
git commit -m "Add team OAC configuration
- Team: Frontend Team
- Core agents: openagent, frontend-specialist
- Required contexts: team-standards, react-patterns
- Policies: enforce versions, allow customization
"
git push origin main
# Announce to team
echo "Team setup complete! Clone repo and run 'oac install --frozen'"
Scenario: New sprint starts, team lead wants to verify everyone is in sync
Team Lead Workflow:
# Check team configuration status
oac team status --detailed
๐ Frontend Team Configuration Status
Updated: 2026-02-10 10:30 AM
Members: 8
โโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโฌโโโโโโโโโโโ
โ Component โ Required โ Version โ Adoption โ
โโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโค
โ openagent โ Yes โ 0.7.1 โ 8/8 โ โ
โ frontend-specialist โ Yes โ 1.2.0 โ 7/8 โ โ
โ tester โ No โ 2.0.1 โ 5/8 โ
โ team-standards โ Yes โ 1.0.0 โ 8/8 โ โ
โ react-patterns โ Yes โ 1.5.0 โ 7/8 โ โ
โโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโ
โ Issues:
- bob@company.com: Missing frontend-specialist@1.2.0
- bob@company.com: Missing react-patterns@1.5.0
? Actions:
> Send reminder to bob@company.com
Generate compliance report
View detailed per-member status
# View per-member status
oac team members
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ Member โ Status โ Compliance โ Last Sync โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโค
โ john@company.com โ โ Active โ 100% โ Today โ
โ sarah@company.com โ โ Active โ 100% โ Today โ
โ mike@company.com โ โ Active โ 100% โ Yesterday โ
โ jane@company.com โ โ Active โ 100% โ Today โ
โ bob@company.com โ โ Drift โ 75% โ 3 days ago โ
โ alice@company.com โ โ Active โ 100% โ Today โ
โ tom@company.com โ โณ Away โ 100% โ Last week โ
โ lisa@company.com โ โ Active โ 100% โ Today โ
โโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโ
# Send reminder to specific member
oac team remind bob@company.com
๐ง Reminder sent to bob@company.com
Subject: Update your OAC setup (Frontend Team)
Missing components:
- frontend-specialist@1.2.0 (required)
- react-patterns@1.5.0 (required)
Please run: oac install --frozen
# Generate compliance report
oac team report --export team-compliance.md
โ Generated: team-compliance.md
๐ Team Compliance Report
Date: 2026-02-14
Team: Frontend Team
Overall Compliance: 93.75% (7.5/8 members)
Required Components:
- All members have: openagent, team-standards
- Missing from 1 member: frontend-specialist, react-patterns
Recommended Actions:
1. Follow up with bob@company.com
2. Consider reminder automation
Compliance Trend:
- Last week: 87.5%
- This week: 93.75%
- Change: +6.25% โ
Developer Self-Check:
# Developer checks their own compliance
oac team validate
๐ Validating your setup against team standard...
Team: Frontend Team
Your compliance: 100% โ
Required components:
โ openagent@0.7.1
โ frontend-specialist@1.2.0
โ team-standards@1.0.0
โ react-patterns@1.5.0
Recommended components:
โ tester@2.0.1
โ git-workflow@0.8.0
โ
Your setup matches team standard
# Developer has drift
oac team validate
๐ Validating your setup against team standard...
Team: Frontend Team
Your compliance: 75% โ
Required components:
โ openagent@0.7.1
โ frontend-specialist: missing (required)
โ team-standards@1.0.0
โ react-patterns: missing (required)
? Fix issues now? (Y/n) y
โก Installing missing components...
โ frontend-specialist@1.2.0
โ react-patterns@1.5.0
โ
Your setup now matches team standard (100%)
Scenario: Team lead wants insights into how team uses agents
Analytics Dashboard:
oac team analytics
๐ Frontend Team Analytics
Period: Last 30 days
Members: 8
Agent Usage:
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ Agent โ Users โ Sessions โ Avg/Day โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโค
โ openagent โ 8/8 (100%)โ 2,340 โ 9.75 โ
โ frontend-specialistโ 7/8 (87%) โ 1,890 โ 7.88 โ
โ tester โ 5/8 (62%) โ 450 โ 1.88 โ
โ reviewer โ 3/8 (37%) โ 210 โ 0.88 โ
โโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโ
Most Used Features:
1. Code generation (frontend-specialist): 890 sessions
2. Test writing (tester): 340 sessions
3. Code review (reviewer): 210 sessions
4. Refactoring (openagent): 180 sessions
Context Access:
- team-standards: 1,200 loads
- react-patterns: 980 loads
- api-docs: 450 loads
Insights:
๐ก reviewer is underused (37% adoption)
โ Consider team training or review workflow update
๐ก tester usage spiking (+40% this week)
โ Positive trend, sprint deadline approaching
๐ก frontend-specialist high usage (87%)
โ Good adoption, consider advanced features
? Actions:
> Export detailed report
Schedule weekly digest
View per-member analytics
Per-Member Analytics:
oac team analytics --member sarah@company.com
๐ Analytics: sarah@company.com
Period: Last 30 days
Activity Summary:
- Total sessions: 342
- Agents used: 4
- Most active: Weekdays 9am-5pm
- Avg sessions/day: 11.4
Agent Breakdown:
1. frontend-specialist: 180 sessions (52%)
2. openagent: 120 sessions (35%)
3. tester: 30 sessions (9%)
4. reviewer: 12 sessions (4%)
Top Actions:
- Component creation: 45 times
- Test writing: 30 times
- Code refactoring: 25 times
- Bug fixing: 20 times
Productivity Metrics:
- Code commits: 87
- PRs created: 23
- Tests added: 156
- Reviews given: 18
Comparison to team average:
- Sessions: +15% above average
- Test coverage: +10% above average
- PR activity: Average
Scenario: Project uses openagent@0.7.1 but new dependency requires openagent@0.8.0
Conflict Detection:
# Developer tries to add new agent
oac add agent:new-specialist
โ Version Conflict Detected
Package: agent:new-specialist
Requires: agent:openagent@^0.8.0
Your setup:
agent:openagent@0.7.1 (from team standard)
Team standard:
agent:openagent@0.7.1 (locked)
? How would you like to resolve?
> Request team update (contact team lead)
Use compatible version (find alternative)
Override locally (breaks team standard)
Cancel installation
# Option 1: Request team update
? Request team update
๐ง Request sent to team lead (john@company.com)
Subject: Version conflict resolution needed
Developer: sarah@company.com
Requested component: agent:new-specialist
Conflict: Requires openagent@0.8.0, team has 0.7.1
Details:
- new-specialist requires openagent@^0.8.0
- Team is on openagent@0.7.1
- Suggested action: Update team standard
# Team lead receives request
oac team requests
๐ฌ Team Requests (1 pending)
1. Version Conflict: openagent@0.7.1 โ @0.8.0
Requested by: sarah@company.com
Reason: Need agent:new-specialist
Impact: All team members (8)
Breaking: No
? Action:
> Approve and update team standard
Check for team impact first
Request more info
Reject (explain why)
# Approve update
oac team approve-request 1
โก Approving request...
โ Updated team standard: openagent@0.8.0
โ Updated oac.lock
โ Sent notifications to team
๐ง Notifications sent:
- sarah@company.com: Approved, you can now install
- Team members (7): Team standard updated, please sync
# Sarah gets notified
โ Your request was approved!
agent:openagent@0.7.1 โ 0.8.0 (team standard updated)
? Install now? (Y/n) y
โก Updating...
โ openagent: 0.7.1 โ 0.8.0
โ new-specialist: installed
โ
Installation complete
Scenario: Team needs to migrate from v0.7.x to v1.0.0 (breaking changes)
Migration Workflow:
# Team lead checks migration path
oac team migrate --check
๐ฆ Migration Available: v0.7.1 โ v1.0.0
Breaking Changes:
โ Approval gates: Configuration format changed
โ Context resolution: New priority system
โ Preset system: New metadata format
Migration Steps:
1. Backup current setup
2. Update configuration files
3. Test with subset of team
4. Roll out to full team
Estimated time: 2-4 hours
Estimated effort: Medium
? View detailed migration guide? (Y/n) y
# View migration guide
๐ Migration Guide: v0.7.1 โ v1.0.0
### Step 1: Backup
```bash
oac team backup
# Creates: .oac/backups/team-backup-2026-02-14.tar.gz
git checkout -b oac-v1-migration
oac team migrate --to v1.0.0
โก Running migration...
โ Backed up current config
โ Updated configuration format
โ Migrated approval gates config
โ Updated context resolution
โ Migrated presets
โ Generated new lockfile
โ Manual steps required:
1. Review updated configs: .oac/team/
2. Test locally: oac doctor
3. Update README with new instructions
? Commit changes? (Y/n) y
โ Changes committed
# Team lead designates pilot group
oac team pilot add sarah@company.com mike@company.com
๐ข Announcement: Pilot Group
Testing v1.0.0 migration
Pilot members:
- sarah@company.com
- mike@company.com
Please:
1. git checkout oac-v1-migration
2. oac install --frozen
3. Test for 1 day
4. Report issues: #oac-migration
? Send notifications? (Y/n) y
# Pilot members test
cd ~/Projects/company-frontend
git checkout oac-v1-migration
oac install --frozen
โ Migration Detected: v0.7.1 โ v1.0.0
Breaking changes:
- Approval gates config updated
- Context resolution changed
- Presets migrated
? Install v1.0.0? (Y/n) y
โก Installing...
โ All components migrated
โ Configuration updated
โ Action required:
- Test approval gates behavior
- Verify context loading
- Check presets
๐ก Report issues: #oac-migration
# After 1 day of testing
oac team pilot report
๐ Pilot Test Results
Duration: 1 day
Participants: 2/2
Feedback:
โ sarah@company.com: No issues, works great
โ mike@company.com: No issues, approval gates clearer
Issues: 0
Recommendation: Ready for full rollout
? Proceed with full team migration? (Y/n) y
# Merge migration branch
git checkout main
git merge oac-v1-migration
git push origin main
# Announce to team
oac team announce
๐ข Team Update: OAC v1.0.0 Migration
What: Upgrading to OAC v1.0.0
When: Now
Impact: All team members
Breaking changes:
- Approval gates config (automatically migrated)
- Context resolution (automatically migrated)
- Presets (automatically migrated)
Action required:
1. git pull
2. oac install --frozen
3. Test your workflow
4. Report issues: #oac-migration
Tested by: sarah@company.com, mike@company.com
Estimated time: 5 minutes
? Send to team? (Y/n) y
โ Sent to #frontend-team
โ Email sent to all members
# Track migration progress
oac team status
๐ Migration Status: v0.7.1 โ v1.0.0
Completed: 2/8 (25%)
In Progress: 3/8 (37.5%)
Pending: 3/8 (37.5%)
Timeline:
- Hour 1: 2 completed (sarah, mike)
- Hour 2: 3 in progress (jane, bob, alice)
- Pending: tom, lisa, you
Issues: 0
๐ก Migration going smoothly
Pain Point:
"Half the team is on openagent 0.7.1, half on 0.8.0. Behavior is inconsistent. Hard to debug issues."
Root Causes:
Solution 1: Version Locking
# Team lead enables strict version enforcement
oac team policy set enforceVersions strict
# oac-team.json
{
"policies": {
"enforceVersions": "strict", // "strict" | "warn" | "off"
"allowOverrides": false
}
}
# Developer tries to install different version
oac add agent:openagent@0.8.0
โ Version Enforcement Error
Team standard requires: agent:openagent@0.7.1
You requested: agent:openagent@0.8.0
Policy: Strict (no overrides allowed)
? Actions:
> Use team version (0.7.1)
Request version update from team lead
Cancel
Solution 2: Automatic Drift Detection
# Enable drift detection
oac team policy set driftDetection enabled
# Developer's setup drifts
# (git pull doesn't update oac)
# On next oac command:
โ Configuration Drift Detected
Your setup differs from team standard:
- agent:openagent: 0.6.5 (team: 0.7.1) โ
This may cause inconsistent behavior.
? Sync with team standard? (Y/n) y
Solution 3: Pre-commit Hooks
# Team lead enables git hooks
oac team hooks install
โ Installed git hooks:
- pre-commit: Check OAC compliance
- pre-push: Validate team standard
# Developer commits code with drift
git commit -m "Add feature"
โ OAC Compliance Check
Your setup differs from team standard:
- agent:openagent: 0.6.5 (team: 0.7.1) โ
? How would you like to proceed?
> Fix now (sync with team)
Commit anyway (not recommended)
Cancel commit
Pain Point:
"Bob customized his agent and now he's getting different code suggestions. His PRs don't match team style."
Root Causes:
Solution 1: Customization Visibility
# Team lead can see customizations
oac team members --show-customizations
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโ
โ Member โ Compliance โ Customizations โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโค
โ john@company.com โ 100% โ None โ
โ sarah@company.com โ 100% โ None โ
โ bob@company.com โ 90% โ โ 2 presets, 1 overrideโ
โ mike@company.com โ 100% โ 1 preset (approved) โ
โโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโ
# View Bob's customizations
oac team member bob@company.com --customizations
๐ Customizations: bob@company.com
Presets:
- custom-openagent (overrides team agent)
- custom-tester (adds extra behavior)
Context Overrides:
- team-standards (local override)
โ Warning: Overrides required context
Impact:
- May generate code not matching team standards
- Test patterns may differ
- PR reviews may flag inconsistencies
? Actions:
> Discuss with bob@company.com
Request alignment with team standards
Approve customizations (if beneficial)
Solution 2: Required vs Optional Contexts
# Team lead marks contexts as required (cannot be overridden)
oac team add context:team-standards@1.0.0 --required --locked
# Bob tries to override
cp team-standards.md .oac/context/override/team-standards.md
# Agent tries to load context
โ Required Context Override Blocked
Context: team-standards
Status: Required and locked by team lead
You cannot override this context.
Reason: Team consistency (enforced)
Using team version: .oac/team/context/team-standards.md
๐ก To suggest changes:
oac team context propose-change team-standards
Solution 3: Preset Approval Workflow
# Enable preset approval requirement
oac team policy set requirePresetApproval true
# Bob creates preset
oac customize agent:openagent --name my-openagent
โ Created preset: my-openagent
โ Team Policy: Preset approval required
Your preset has been created locally but requires team lead approval to use.
? Submit for approval? (Y/n) y
๐ง Approval request sent to john@company.com
# Team lead reviews
oac team approvals
๐ฌ Pending Approvals (1)
1. Preset: my-openagent
By: bob@company.com
Base: agent:openagent
Changes:
- Modified approval gates (auto-approve reads)
- Changed delegation threshold (4 โ 6)
Impact: Individual only (preset is personal)
Risk: Low
? Action:
> Approve for bob@company.com only
Approve and recommend to team
Request changes
Reject
# Approved
โ Approved preset: my-openagent (bob@company.com only)
๐ง bob@company.com notified
Pain Point:
"I have no idea what each team member has installed. Debugging is a nightmare."
Solution: Team Dashboard
# Team lead views comprehensive dashboard
oac team dashboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Frontend Team Dashboard โ
โ Updated: 2026-02-14 3:45 PM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Team Health: 95% โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Component Adoption โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Required: โ
โ โโโโโโโโโโโโโโโโโโโโ 100% openagent@0.7.1 โ
โ โโโโโโโโโโโโโโโโโโโโ 95% frontend-specialist โ
โ โโโโโโโโโโโโโโโโโโโโ 100% team-standards โ
โ โ
โ Recommended: โ
โ โโโโโโโโโโโโโโโโโโโโ 62% tester โ
โ โโโโโโโโโโโโโโโโโโโโ 37% reviewer โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Member Status (8 total) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ Compliant (100%): 6 members โ
โ โ Minor drift (90-99%): 1 member (bob) โ
โ โ Major drift (<90%): 1 member (alice, offline) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Recent Activity (24 hours) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข sarah synced with team standard โ
โ โข mike installed reviewer@1.8.0 โ
โ โข bob created custom preset (pending approval) โ
โ โข jane updated to latest team config โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Alerts (2) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ bob@company.com has configuration drift โ
โ โ alice@company.com offline 3+ days โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
? Actions:
> View detailed member status
Send reminders
Generate report
Schedule weekly digest
Solution: Installation Registry
# Automatic installation tracking
# Every install is logged to team registry
oac team registry
๐ Installation Registry (Last 30 days)
2026-02-14 10:30 AM
sarah@company.com installed frontend-specialist@1.2.0
Location: ~/Projects/company-frontend/.opencode
2026-02-14 09:15 AM
mike@company.com updated openagent@0.7.0 โ 0.7.1
Location: ~/Projects/company-frontend/.opencode
2026-02-13 4:20 PM
bob@company.com created preset:my-openagent
Status: Pending approval
2026-02-13 2:10 PM
jane@company.com installed team standard
Components: 6 (all required)
# Filter by member
oac team registry --member bob@company.com
# Filter by component
oac team registry --component openagent
# Export audit log
oac team registry --export audit-log.csv
Pain Point:
"We updated openagent and everyone's workflow broke. Spent 2 days debugging."
Solution 1: Staged Rollouts
# Team lead enables staged rollouts
oac team policy set rolloutStrategy staged
# Update available
oac team update agent:openagent@0.8.0
? Rollout strategy:
> Staged (pilot โ gradual โ full)
Immediate (all members now)
Scheduled (pick date/time)
# Staged rollout
โก Starting staged rollout: openagent@0.8.0
Stage 1: Pilot (2 members)
Pilot members:
- sarah@company.com
- mike@company.com
Duration: 24 hours
Start: Now
? Proceed? (Y/n) y
โ Pilot stage started
๐ง Notifications sent to pilot members
# 24 hours later: Check pilot results
oac team rollout status
๐ Rollout Status: openagent@0.8.0
Stage 1: Pilot (Complete) โ
Duration: 24 hours
Success: 2/2 members
Issues: 0
Feedback: Positive
? Proceed to Stage 2 (Gradual)?
> Yes, continue (50% of team)
No, pause (investigate)
Rollback (revert pilot)
# Stage 2: Gradual
Stage 2: Gradual (50% of team)
Members: 4 more (sarah, mike already on 0.8.0)
Duration: 48 hours
โ Stage 2 started
# 48 hours later: Final stage
Stage 3: Full (remaining 2 members)
Final members: bob, alice
โ Rollout complete (100%)
Solution 2: Automatic Rollback
# Team lead enables automatic rollback
oac team policy set autoRollback true
oac team policy set rollbackThreshold 30 # 30% failure rate
# Update deployed
oac team update agent:openagent@0.8.0 --rollout staged
# Problems detected
โ Rollback Triggered
Component: agent:openagent@0.8.0
Reason: 40% failure rate (threshold: 30%)
Issues reported:
- sarah@company.com: Approval gates not working
- mike@company.com: Context loading errors
- jane@company.com: Delegation failed
โก Rolling back to openagent@0.7.1...
โ Rollback complete (all members)
๐ง Notifications sent
๐ Issue report created: .oac/issues/rollback-2026-02-14.md
๐ก Review issues before next update attempt
Solution 3: Dry Run / Preview
# Before updating team standard
oac team update --dry-run agent:openagent@0.8.0
๐ Dry Run: Update Preview
Component: agent:openagent
Current: 0.7.1 (team standard)
Target: 0.8.0
Changes:
โ Improved delegation logic
โ Fixed approval gate bug
โ Breaking: Context loading API changed
Impact Analysis:
Affected members: 8/8
Estimated impact: Medium
Breaking changes: Yes
Migration required: Yes
Compatibility:
โ Compatible with: frontend-specialist@1.2.0
โ Compatible with: tester@2.0.1
โ May conflict with: custom-presets (1 member)
Risk Assessment: Medium
- Breaking changes require testing
- Bob's custom preset may need updates
- Migration script available
Recommendations:
1. Test in pilot first
2. Review Bob's custom preset
3. Schedule update during low-activity period
4. Have rollback plan ready
? Proceed with actual update?
> No, just previewing
Yes, start pilot rollout
Pain Point:
"New developers spend half a day just setting up their environment. Then they still ask questions."
Solution: One-Command Onboarding
# New developer (Sarah) - Day 1, Hour 1
cd ~/Projects
git clone git@github.com:company/frontend-app.git
cd frontend-app
# Run single onboarding command
oac onboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Welcome to Frontend Team! ๐ โ
โ Let's get you set up in 5 minutes. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Detecting configuration...
โ Found team config: oac-team.json
โ Found lockfile: oac.lock
โ Team: Frontend Team
โ Owner: john@company.com
๐ฆ Team Configuration:
- 4 agents (2 required, 2 recommended)
- 2 contexts (required)
- 2 skills (recommended)
- Approval gates: Enabled
- IDE: OpenCode (detected .opencode/)
? Confirm installation? (Y/n) y
โก Installing team configuration...
โ agent:openagent@0.7.1
โ agent:frontend-specialist@1.2.0
โ agent:tester@2.0.1 (recommended)
โ agent:reviewer@1.8.0 (recommended)
โ context:team-standards@1.0.0
โ context:react-patterns@1.5.0
โ skill:git-workflow@0.8.0
โ skill:testing-workflow@0.5.0
โ
Installation complete! (4 minutes 32 seconds)
๐ Setup verification...
โ All required components installed
โ Team standards loaded
โ Approval gates configured
โ Git hooks installed
โ IDE configured
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ You're all set! ๐ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Next Steps:
1. Review team standards: oac context show team-standards
2. Read React patterns: oac context show react-patterns
3. Test your setup: oac doctor
4. Start coding: Try creating a component!
๐ก Resources:
- Team wiki: https://wiki.company.com/frontend
- Ask questions: #frontend-team
- Team lead: john@company.com
๐ฏ Your First Task:
Review this PR for practice:
https://github.com/company/frontend-app/pull/123
# Setup is complete - Sarah is ready to code!
# Total time: 5 minutes (vs 4 hours previously)
Solution: Interactive Tutorial
# After onboarding, optional tutorial
oac tutorial
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ OAC Team Tutorial (5 minutes) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Let's learn the basics of working with OAC in a team.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Lesson 1: Your Team Configuration
Your team has a shared configuration (oac-team.json).
This ensures everyone has the same agents and standards.
Try this:
$ oac team validate
[User runs command]
โ Great! You're 100% compliant with team standards.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Lesson 2: Team Standards
Your team has coding standards in: team-standards
Try viewing them:
$ oac context show team-standards
[Shows team standards]
๐ก Agents automatically follow these standards when generating code.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Lesson 3: Staying In Sync
Before each sprint, sync with team standard:
$ oac team sync
Try it now:
$ oac team sync
โ Already in sync! You're good to go.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Lesson 4: Getting Help
If you need help:
- Team commands: oac team --help
- Ask teammates: #frontend-team
- Team lead: john@company.com
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Tutorial Complete! ๐ โ
โ You're ready to work with the team. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Scenario: Bob decides to completely customize his setup, ignoring team standards
Detection:
# Bob's setup
oac list
Installed Components:
โ custom-agent (personal, not from team)
โ openagent@0.5.0 (old version, team: 0.7.1)
โ frontend-specialist: missing (required by team)
โ react-patterns (overridden with custom version)
# Team lead notices in dashboard
oac team status
โ Compliance Alert: bob@company.com
Compliance: 40% โ (critical)
Issues:
- Using old version: openagent@0.5.0 (team: 0.7.1)
- Missing required: frontend-specialist
- Unauthorized override: react-patterns
- Unapproved custom agent: custom-agent
Impact:
- Code may not follow team standards
- PRs may fail review
- Potential bugs
? Actions:
> Send compliance alert to bob@company.com
Schedule 1-on-1 discussion
Enforce team standard (reset bob's setup)
Resolution Workflow:
# Team lead sends alert
oac team alert bob@company.com
๐ง Compliance Alert Sent
To: bob@company.com
Subject: OAC Setup Non-Compliant
Your OAC setup does not match team standards.
Issues:
- Old version: openagent@0.5.0 (team: 0.7.1)
- Missing: frontend-specialist (required)
- Unauthorized override: react-patterns
Impact: Your code may not match team standards
Please run: oac team sync
Questions? Contact john@company.com
# Bob receives alert and syncs
oac team sync
โ Configuration Compliance Issue
Your setup differs significantly from team standard.
Compliance: 40% โ
Required actions:
โ Update openagent: 0.5.0 โ 0.7.1
โ Install frontend-specialist@1.2.0
โ Revert react-patterns override
Optional actions:
โ Remove custom-agent (not approved)
? Sync with team standard? (Y/n) y
โก Syncing...
โ Backed up your custom setup
โ Updated to team standard
โ Removed unapproved customizations
โ
You're now compliant (100%)
๐ฌ Your custom setup was backed up to:
.oac/backups/custom-setup-2026-02-14/
๐ก To use custom agents, request approval:
oac team request-approval custom-agent
Enforcement Options:
# Team lead can enforce different levels
oac team policy set enforcementLevel flexible # warn only
oac team policy set enforcementLevel balanced # warn + block critical
oac team policy set enforcementLevel strict # enforce all
# Strict mode example
# Bob tries to install old version
oac add agent:openagent@0.5.0
โ Enforcement Policy Violation
Policy: Strict enforcement
Team requires: agent:openagent@0.7.1
You requested: agent:openagent@0.5.0
This action is blocked.
? Actions:
> Use team version (0.7.1)
Request exception from team lead
Learn more about team policy
Scenario: Monorepo with 5 projects, each needs different agent setups
Structure:
company-monorepo/
โโโ apps/
โ โโโ frontend/ # React frontend
โ โโโ admin/ # React admin panel
โ โโโ mobile/ # React Native
โ โโโ docs/ # Documentation site
โโโ packages/
โ โโโ ui-components/ # Shared components
โ โโโ api-client/ # API client
โ โโโ utils/ # Utilities
โโโ oac-workspace.json # Workspace config
โโโ package.json
Workspace Configuration (oac-workspace.json):
{
"version": "1.0.0",
"workspace": {
"name": "Company Monorepo",
"owner": "platform-team@company.com",
"root": "."
},
"projects": {
"apps/frontend": {
"profile": "frontend-react",
"team": "Frontend Team",
"agents": ["openagent", "frontend-specialist", "tester"],
"contexts": ["team-standards", "react-patterns"]
},
"apps/admin": {
"profile": "frontend-react",
"team": "Frontend Team",
"agents": ["openagent", "frontend-specialist"],
"contexts": ["team-standards", "react-patterns", "admin-patterns"]
},
"apps/mobile": {
"profile": "react-native",
"team": "Mobile Team",
"agents": ["openagent", "mobile-specialist", "tester"],
"contexts": ["team-standards", "mobile-patterns"]
},
"apps/docs": {
"profile": "documentation",
"team": "Platform Team",
"agents": ["openagent", "technical-writer"],
"contexts": ["team-standards", "docs-style"]
},
"packages/*": {
"profile": "library",
"team": "Platform Team",
"agents": ["openagent", "library-specialist"],
"contexts": ["team-standards", "library-patterns"]
}
},
"shared": {
"contexts": [".oac/shared/contexts"],
"config": ".oac/shared/config.json"
},
"policies": {
"inheritShared": true,
"allowProjectOverrides": true,
"enforceVersions": true
}
}
Developer Workflow:
# Working on frontend app
cd apps/frontend
oac install
๐ข Workspace Detected: Company Monorepo
Project: apps/frontend
Profile: frontend-react
Team: Frontend Team
Shared configuration:
โ Workspace config: ../../oac-workspace.json
โ Shared contexts: ../../.oac/shared/contexts
Project configuration:
โ Agents: openagent, frontend-specialist, tester
โ Contexts: team-standards, react-patterns
? Install project configuration? (Y/n) y
โก Installing...
โ Shared contexts (workspace)
โ Project agents (apps/frontend)
โ Project contexts (apps/frontend)
โ
Frontend project setup complete
# Move to mobile app
cd ../mobile
oac install
๐ข Workspace Detected: Company Monorepo
โ Different project detected
Current setup: apps/frontend (frontend-react)
New project: apps/mobile (react-native)
? Switch to mobile project configuration?
> Yes, switch (keeps both configs)
Yes, switch (remove frontend config)
No, keep current
# Switch (keeps both)
โก Installing mobile configuration...
โ Shared contexts (workspace) [already installed]
โ Mobile agents (mobile-specialist)
โ Mobile contexts (mobile-patterns)
โ
Multi-project setup active:
- apps/frontend (frontend-react)
- apps/mobile (react-native)
๐ก OAC will auto-detect which config to use based on:
- Current directory
- File type
- Context
Workspace Management:
# Team lead manages workspace
oac workspace status
๐ข Company Monorepo - Workspace Status
Projects: 5 active
Teams: 3 (Frontend, Mobile, Platform)
Members: 24
โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ Project โ Team โ Members โ Compliance โ
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโค
โ apps/frontend โ Frontend โ 8 โ 95% โ โ
โ apps/admin โ Frontend โ 5 โ 100% โ โ
โ apps/mobile โ Mobile โ 6 โ 90% โ โ
โ apps/docs โ Platform โ 2 โ 100% โ โ
โ packages/* โ Platform โ 3 โ 100% โ โ
โโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโ
Shared Components:
โ team-standards: 24/24 (100%)
โ workspace config: 24/24 (100%)
? Actions:
> View project details
Update shared configuration
Sync all projects
Scenario: Frontend team needs React specialists, Backend team needs API specialists
Solution: Multi-Team Configuration
// oac-teams.json (workspace root)
{
"version": "1.0.0",
"teams": {
"frontend": {
"name": "Frontend Team",
"owner": "john@company.com",
"members": ["sarah@", "mike@", "jane@", "bob@"],
"config": {
"agents": ["openagent", "frontend-specialist", "tester"],
"contexts": ["team-standards", "react-patterns"],
"skills": ["git-workflow"]
},
"policies": {
"enforceVersions": true,
"allowCustomization": true
}
},
"backend": {
"name": "Backend Team",
"owner": "alice@company.com",
"members": ["tom@", "lisa@", "charlie@"],
"config": {
"agents": ["openagent", "api-specialist", "database-specialist"],
"contexts": ["team-standards", "api-patterns", "database-patterns"],
"skills": ["git-workflow", "api-testing"]
},
"policies": {
"enforceVersions": true,
"allowCustomization": false
}
},
"mobile": {
"name": "Mobile Team",
"owner": "emma@company.com",
"members": ["frank@", "grace@"],
"config": {
"agents": ["openagent", "mobile-specialist"],
"contexts": ["team-standards", "mobile-patterns"],
"skills": ["git-workflow", "mobile-testing"]
}
}
},
"shared": {
"contexts": ["team-standards"],
"skills": ["git-workflow"]
}
}
Cross-Team Developer:
# Sarah works on both frontend and backend
cd ~/Projects/company-monorepo
# Auto-detect team based on project
cd apps/frontend
oac install
๐ข Team Detected: Frontend Team
โ Installing frontend configuration...
cd ../../backend/api
oac install
๐ข Team Detected: Backend Team
โ You're switching teams:
Current: Frontend Team
New: Backend Team
Different configurations:
- Frontend: react-focused agents
- Backend: API-focused agents
? Install backend configuration?
> Yes, add backend config (multi-team mode)
Yes, replace frontend config
No, keep frontend only
# Multi-team mode
โ Multi-team mode enabled
Active configurations:
โ Frontend Team (apps/frontend)
โ Backend Team (backend/api)
๐ก OAC auto-detects correct config based on directory
Scenario: Maintaining old project with agents from 2 years ago
Challenge:
Solution: Version Pinning & Compatibility Mode
# Legacy project setup
cd ~/Projects/legacy-app
oac install --legacy
โ Legacy Project Detected
Project uses old OAC configuration:
- Agent format: v0.3.x (2 years old)
- OAC version: 0.3.2 (current: 1.0.0)
? How would you like to proceed?
> Compatibility mode (use old agents with new OAC)
Migrate to v1.0 (may require changes)
Keep old OAC version (not recommended)
# Compatibility mode
โ Compatibility mode enabled
โก Installing with compatibility layer...
โ Loaded legacy agents (v0.3.x format)
โ Applied compatibility transforms
โ Pinned to legacy versions
โ
Legacy project setup complete
โ Limitations in compatibility mode:
- No new features (skills, plugins)
- Limited context resolution
- No team features
๐ก Consider migration when possible:
oac migrate --check
Version Coexistence:
# Developer works on both legacy and modern projects
cd ~/Projects/legacy-app
oac install --legacy
# Uses OAC v0.3.x compatibility mode
cd ~/Projects/modern-app
oac install
# Uses OAC v1.0.0 with all features
# OAC maintains separate configs
oac config list
Configurations:
โ ~/Projects/modern-app: OAC v1.0.0 (standard)
โ ~/Projects/legacy-app: OAC v0.3.x (legacy compat)
๐ก Each project uses correct version automatically
Scenario: Team spread across US (PST), Europe (CET), and Asia (IST)
Challenge:
Solution: Scheduled Rollouts & Async Notifications
# Team lead schedules update
oac team update agent:openagent@0.8.0 --schedule
? Rollout strategy:
> Timezone-aware (roll out during work hours)
Scheduled (specific date/time)
Immediate (all members now)
# Timezone-aware rollout
๐
Timezone-Aware Rollout
Team members by timezone:
- PST (US West): 3 members
- CET (Europe): 3 members
- IST (Asia): 2 members
? Rollout window:
> During work hours (9am-5pm local time)
Weekdays only
Custom schedule
# During work hours
โ Scheduled rollout:
PST (9am-5pm): Tue Feb 14, 9am PST
- sarah@company.com
- mike@company.com
- bob@company.com
CET (9am-5pm): Tue Feb 14, 9am CET (12am PST)
- alice@company.com
- tom@company.com
- lisa@company.com
IST (9am-5pm): Tue Feb 14, 9am IST (Sat 7:30pm PST)
- frank@company.com
- grace@company.com
๐ง Notifications:
- Email: Sent to all members (async)
- Slack: Posted to #frontend-team (async)
- Calendar: Added to team calendar
? Confirm schedule? (Y/n) y
โ Rollout scheduled
Async Update Process:
# Sarah (PST) starts work Tuesday 9am
cd ~/Projects/company-frontend
โ Team Update Available
Component: agent:openagent@0.8.0
Scheduled: Today 9am PST (now)
? Install update now? (Y/n) y
# Alice (CET) starts work Tuesday 9am (CET time)
cd ~/Projects/company-frontend
โ Team Update Available
Component: agent:openagent@0.8.0
Scheduled: Today 9am CET (now)
? Install update now? (Y/n) y
# Both update during their local work hours
# Team lead sees progress across timezones
oac team rollout status
๐ Rollout Progress: openagent@0.8.0
โโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ Timezone โ Members โ Updated โ Status โ
โโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโค
โ PST โ 3 โ 3/3 โ โ Complete โ
โ CET โ 3 โ 2/3 โณ โ In progressโ
โ IST โ 2 โ 0/2 โ Scheduled โ
โโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโ
Overall: 5/8 (62.5%)
Expected completion: Wed Feb 15, 5pm IST
๐ก All timezone windows respected
Feature: oac.lock ensures exact same setup across all team members
Format:
{
"version": "1.0.0",
"lockfileVersion": 1,
"team": {
"name": "Frontend Team",
"owner": "john@company.com",
"generated": "2026-02-14T10:30:00Z"
},
"components": {
"agent:openagent": {
"version": "0.7.1",
"resolved": "https://registry.openagents.dev/agents/openagent-0.7.1.tar.gz",
"integrity": "sha256-abc123...",
"dependencies": {
"context:core-standards": "^1.0.0"
}
},
"agent:frontend-specialist": {
"version": "1.2.0",
"resolved": "https://registry.openagents.dev/agents/frontend-specialist-1.2.0.tar.gz",
"integrity": "sha256-def456...",
"dependencies": {
"context:react-patterns": "^1.5.0"
}
}
},
"metadata": {
"platform": "darwin",
"oacVersion": "1.0.0",
"node": "18.16.0"
}
}
Usage:
# Generate lockfile
oac lock
โ Generated: oac.lock
# Install from lockfile (exact versions)
oac install --frozen
โ Installing exact versions from oac.lock
# Verify lockfile integrity
oac lock verify
โ All components match lockfile
# Update lockfile after changes
oac lock update
โ Updated: oac.lock
Benefits:
Feature: Team config repository for centralized management
Setup:
# Team lead creates shared config repo
git init oac-team-configs
cd oac-team-configs
# Initialize team configs
oac team init --repo
โ Created team config repository
Structure:
teams/
frontend/
config.json
agents/
contexts/
skills/
backend/
config.json
agents/
contexts/
# Publish to GitHub
git remote add origin git@github.com:company/oac-team-configs.git
git push -u origin main
# Team members link to shared configs
cd ~/Projects/company-frontend
oac team link git@github.com:company/oac-team-configs.git
โ Linked to shared team config
โ Auto-sync enabled
๐ก Changes to team config will auto-update on pull
Auto-Sync:
# Team lead updates shared config
cd oac-team-configs/teams/frontend
oac team add agent:new-specialist@1.0.0
git commit -m "Add new-specialist to team config"
git push
# Team members auto-sync
cd ~/Projects/company-frontend
git pull # Pulls project code
โ Team Configuration Updated
Shared config has new changes:
+ agent:new-specialist@1.0.0
? Sync with team config? (Y/n) y
โ Synced with team configuration
Feature: Complete audit log of all team installations and changes
Audit Log (.oac/team/audit.log):
{
"version": "1.0.0",
"team": "Frontend Team",
"entries": [
{
"timestamp": "2026-02-14T10:30:00Z",
"member": "sarah@company.com",
"action": "install",
"component": "agent:frontend-specialist",
"version": "1.2.0",
"location": "~/Projects/company-frontend/.opencode",
"source": "team-standard",
"success": true
},
{
"timestamp": "2026-02-14T09:15:00Z",
"member": "mike@company.com",
"action": "update",
"component": "agent:openagent",
"versionFrom": "0.7.0",
"versionTo": "0.7.1",
"source": "team-update",
"success": true
},
{
"timestamp": "2026-02-13T16:20:00Z",
"member": "bob@company.com",
"action": "create-preset",
"component": "preset:my-openagent",
"base": "agent:openagent",
"approved": false,
"success": true
}
]
}
Query Audit Log:
# View recent activity
oac team audit
๐ Team Audit Log (Last 7 days)
2026-02-14 10:30 AM - sarah@company.com
Installed: agent:frontend-specialist@1.2.0
Source: team-standard
2026-02-14 09:15 AM - mike@company.com
Updated: agent:openagent 0.7.0 โ 0.7.1
Source: team-update
2026-02-13 4:20 PM - bob@company.com
Created: preset:my-openagent
Status: Pending approval
# Filter by member
oac team audit --member bob@company.com
# Filter by action
oac team audit --action install
# Filter by component
oac team audit --component openagent
# Export audit report
oac team audit --export audit-report-2026-02.csv
Feature: Configurable policies for team governance
Policy Configuration:
{
"policies": {
"versioning": {
"enforceVersions": true, // Require exact versions
"allowBeta": false, // Block beta versions
"requireLockfile": true, // Must use oac.lock
"autoUpdate": false // No auto-updates
},
"customization": {
"allowPresets": true, // Allow personal presets
"requireApproval": true, // Presets need approval
"allowOverrides": false, // No context overrides
"allowCustomAgents": false // No unauthorized agents
},
"compliance": {
"enforceStandards": true, // Enforce team standards
"minimumCompliance": 90, // 90% compliance required
"blockOnDrift": true, // Block commits if non-compliant
"auditAll": true // Audit all actions
},
"security": {
"requireVerified": true, // Only verified components
"blockExternalSources": false, // Allow GitHub sources
"scanComponents": true, // Scan for malware/secrets
"requireSignatures": false // GPG signatures required
}
}
}
Enforcement:
# Developer tries to install beta version
oac add agent:openagent@0.8.0-beta
โ Policy Violation: Beta versions not allowed
Team policy: allowBeta = false
You requested: openagent@0.8.0-beta (beta)
? Actions:
> Use stable version (0.7.1)
Request policy exception
Learn more about team policies
# Developer tries to commit with low compliance
git commit -m "Add feature"
โ Pre-commit Check Failed
OAC Compliance: 85% (minimum: 90%)
Issues:
- Missing: frontend-specialist (required)
- Old version: openagent@0.6.5 (team: 0.7.1)
Policy: blockOnDrift = true
? Actions:
> Fix compliance now (sync with team)
Request exception
Skip pre-commit check (not recommended)
Feature: One-command onboarding with guided setup
Onboarding Command:
oac onboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Welcome to Frontend Team! ๐ โ
โ Let's get you set up in 5 minutes. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Step 1/5: Team Detection
โ Detected team: Frontend Team
โ Team lead: john@company.com
โ Team size: 8 members
Step 2/5: Configuration
โ Found lockfile: oac.lock
โ Components: 6 (4 agents, 2 contexts)
โ IDE: OpenCode
Step 3/5: Installation
โก Installing team configuration...
โ agent:openagent@0.7.1
โ agent:frontend-specialist@1.2.0
โ context:team-standards@1.0.0
โ context:react-patterns@1.5.0
Step 4/5: Verification
โ All components installed
โ Team standards loaded
โ Compliance: 100%
Step 5/5: Resources
๐ Team Wiki: https://wiki.company.com/frontend
๐ฌ Slack: #frontend-team
๐ค Team Lead: john@company.com
โ
Onboarding complete! (4m 32s)
? Start interactive tutorial? (Y/n)
Persona: John, Engineering Manager
Goal: Set up standardized development environment for new team
Team Size: 8 developers
Tech Stack: React, TypeScript, Node.js
Timeline: Week 1 - Project Kickoff
Monday: Initial Setup
# Create new project
mkdir company-frontend && cd company-frontend
git init
npm init -y
# Initialize OAC for team
oac team init
Welcome to OAC Team Setup! ๐ฅ
? Team name: Frontend Team
? Owner (your email): john@company.com
? Team size: Small (2-10 developers)
? Primary tech stack: React, TypeScript, Node.js
? Strictness level: Balanced
๐ฆ Recommended setup for React + TypeScript:
Core Agents:
- openagent@0.7.1 (AI pair programmer)
- frontend-specialist@1.2.0 (React/TS expert)
Specialists:
- tester@2.0.1 (Test generation)
- reviewer@1.8.0 (Code review)
Contexts:
- team-standards (coding guidelines)
- react-patterns (React best practices)
? Install recommended setup? (Y/n) y
โก Installing team setup...
โ 4 agents installed
โ 2 contexts installed
โ Generated oac.lock
โ Generated oac-team.json
โ
Team setup complete!
# Customize team standards
oac context edit team-standards
[Editor opens with template]
# Frontend Team Coding Standards
## React
- Functional components only
- TypeScript strict mode
- Props interfaces above components
## Testing
- Vitest for unit tests
- 80% coverage minimum
- Test files: *.test.tsx
## Git
- Branch naming: feature/JIRA-XXX-description
- Commit messages: Conventional Commits
- PR: Minimum 1 approval
[Save and close]
โ Updated: team-standards
# Configure policies
oac team policy set enforceVersions true
oac team policy set allowCustomization true
oac team policy set minimumCompliance 90
# Commit team configuration
git add .
git commit -m "Initial team OAC setup
- Team: Frontend Team (8 developers)
- Agents: openagent, frontend-specialist, tester, reviewer
- Contexts: team-standards, react-patterns
- Policies: Enforce versions, allow customization, 90% compliance
"
git remote add origin git@github.com:company/frontend.git
git push -u origin main
# Announce to team
echo "Team setup complete! ๐ฆ
Clone the repo and run 'oac onboard' to get started.
Repo: git@github.com:company/frontend.git
" | slack-send #frontend-team
โ Setup time: 30 minutes
Tuesday: First Team Member Onboards (Sarah)
# Sarah joins team
git clone git@github.com:company/frontend.git
cd frontend
# Run onboarding
oac onboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Welcome to Frontend Team! ๐ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Detecting configuration...
โ Team: Frontend Team
โ Lockfile: oac.lock
โ Components: 6
โก Installing...
[Progress bar: 100%]
โ
Setup complete! (3m 45s)
? Start tutorial? (Y/n) y
# Interactive tutorial
# ... (5 minutes) ...
# Sarah starts coding
> create a Button component
Agent (using team-standards):
โ Functional component
โ TypeScript
โ Props interface above
โ Test file included
Created:
components/Button/
Button.tsx
Button.test.tsx
index.ts
โ
Follows team standards
โ Sarah productive in 15 minutes (vs 4 hours previously)
Results:
Persona: Sarah, Junior Developer (first dev job)
Goal: Get productive on first day
Context: Joining established team with existing OAC setup
Hour 1: HR & Setup (9am - 10am)
Hour 2: Development Environment (10am - 11am)
# 10:00 AM - Clone project
cd ~/Projects
git clone git@github.com:company/frontend-app.git
cd frontend-app
# 10:05 AM - Install dependencies
npm install # Takes 3 minutes
# 10:08 AM - Run OAC onboarding
oac onboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Welcome to Frontend Team! ๐ โ
โ Hi Sarah! Let's get you set up. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Detecting your setup...
โ Git: Configured (sarah@company.com)
โ Node: v18.16.0
โ IDE: OpenCode detected
โ Team: Frontend Team (8 members)
โ Team lead: john@company.com
๐ฆ Installing team configuration...
Components (from oac.lock):
โ agent:openagent@0.7.1 [โโโโโโโโโโโโโโ] 80%
โ agent:frontend-specialist@1.2.0
โ agent:tester@2.0.1
โ context:team-standards@1.0.0
โ context:react-patterns@1.5.0
โ skill:git-workflow@0.8.0
โก Configuring...
โ Team standards applied
โ Approval gates configured
โ Git hooks installed
โ
Installation complete! (4m 12s)
๐ Verification...
โ All components installed
โ Team compliance: 100%
โ IDE configured
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ You're all set! ๐ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Resources for you:
- Team wiki: https://wiki.company.com/frontend
- Code standards: oac context show team-standards
- React patterns: oac context show react-patterns
- Slack: #frontend-team
- Your buddy: mike@company.com
๐ฏ Your first task:
Review this PR to learn our code style:
https://github.com/company/frontend-app/pull/456
? Start 5-minute interactive tutorial? (Y/n) y
# 10:12 AM - Interactive tutorial
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Quick Tutorial (5 minutes) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Lesson 1/4: Team Standards
Your team has coding standards in: team-standards
Let's view them:
$ oac context show team-standards
[Shows standards]
โ These are automatically enforced by your agents
Lesson 2/4: Creating Components
Let's create a simple Button component:
> create a Button component with TypeScript
Agent response:
โ Created components/Button/Button.tsx (functional, TS)
โ Created components/Button/Button.test.tsx (Vitest)
โ Follows team standards
๐ก Try it yourself!
Lesson 3/4: Running Tests
$ npm test
โ All tests pass
๐ก Write tests for all new components
Lesson 4/4: Getting Help
- Ask in #frontend-team
- Your buddy: mike@company.com
- Team lead: john@company.com
- OAC help: oac team --help
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Tutorial Complete! ๐ โ
โ You're ready to code! โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# 10:17 AM - Tutorial complete
โ Onboarding time: 17 minutes total
Hour 3: First Tasks (11am - 12pm)
# 11:00 AM - Review PR (learning task)
# Sarah reviews PR #456, learns code style
# 11:30 AM - First commit
> create a simple Avatar component
Agent (using team-standards):
Creating component following team standards...
โ components/Avatar/Avatar.tsx
โ components/Avatar/Avatar.test.tsx
โ components/Avatar/Avatar.stories.tsx
All files follow team standards โ
# Commit
git add components/Avatar
git commit -m "feat: Add Avatar component"
# Pre-commit hook runs
โ OAC compliance check: 100%
โ Tests pass
โ Linting pass
# Push
git push origin feature/JIRA-789-avatar
# Create PR
gh pr create --title "feat: Add Avatar component"
โ PR created: #457
โ CI checks running...
โ All checks pass
# 11:45 AM - First PR merged!
โ PR approved by mike@company.com
โ Merged to main
# Sarah is fully productive by hour 3 of day 1!
Results:
Comparison:
| Metric | Before OAC | With OAC |
|---|---|---|
| Setup time | 4-8 hours | 17 minutes |
| First commit | 1-2 days | 3 hours |
| First PR merged | 2-3 days | 4 hours |
| Setup questions | 10-20 | 0-2 |
| Compliance issues | 5-10 | 0 |
| Onboarding buddy time | 4-6 hours | 30 minutes |
Persona: Mike, Senior Developer
Goal: Add new testing library that requires newer agent
Context: Team on openagent@0.7.1, new library needs @0.8.0
Wednesday Morning: Discovery
# Mike wants to add Playwright specialist
oac add agent:playwright-specialist
โ Dependency Conflict
Component: agent:playwright-specialist@1.0.0
Requires: agent:openagent@^0.8.0
Your current setup:
agent:openagent@0.7.1 (from team standard)
Team standard:
agent:openagent@0.7.1 (locked in oac.lock)
Conflict: Cannot install without updating openagent
? How would you like to resolve?
> Request team update (contact team lead)
Find compatible version (alternative)
Override locally (breaks team standard - not recommended)
Cancel installation
# Mike requests team update
? Request team update
๐ Creating update request...
? Reason for update:
Need Playwright specialist for e2e testing.
Playwright specialist requires openagent@0.8.0.
? Priority:
> Medium (this sprint)
High (blocking)
Low (nice to have)
? Impact:
Will require all team members to update openagent.
No breaking changes expected (checked changelog).
โ Request sent to team lead (john@company.com)
๐ง Request created:
- ID: REQ-001
- Component: agent:openagent 0.7.1 โ 0.8.0
- Requested by: mike@company.com
- Status: Pending review
๐ก Track status: oac team requests
๐ก Team lead notified via Slack and email
Wednesday Afternoon: Team Lead Review
# John reviews request
oac team requests
๐ฌ Pending Update Requests (1)
REQ-001: openagent@0.7.1 โ 0.8.0
Requested by: mike@company.com
Reason: Need Playwright specialist for e2e testing
Priority: Medium (this sprint)
Impact Analysis:
- Affects: 8/8 team members
- Breaking changes: None
- Dependencies: Compatible with all current agents
- Team adoption: Will require sync
Changelog (0.7.1 โ 0.8.0):
โ Improved delegation logic
โ Fixed approval gate bug
โ New context loading patterns
โ No breaking changes
? Action:
> Approve and schedule update
Approve immediately
Request more information
Reject with reason
Test in pilot first
# John approves with schedule
? Approve and schedule update
? Rollout strategy:
> Staged (pilot โ gradual โ full)
Immediate (all members now)
Scheduled (specific date/time)
# Staged rollout
? Pilot members:
โ mike@company.com (requester)
โ sarah@company.com
? Pilot duration: 24 hours
? Full rollout: If pilot successful, roll out to full team
โ Update approved!
๐
Rollout Schedule:
Stage 1: Pilot (2 members)
- mike@company.com
- sarah@company.com
Start: Now
Duration: 24 hours
Stage 2: Gradual (4 members)
- jane@company.com
- bob@company.com
- alice@company.com
- tom@company.com
Start: If pilot successful
Duration: 24 hours
Stage 3: Full (remaining 2)
- lisa@company.com
- charlie@company.com
Start: If gradual successful
๐ง Notifications sent:
- Pilot members: Update available now
- Other members: Update scheduled
- Slack: Posted to #frontend-team
? Proceed with pilot? (Y/n) y
โ Pilot rollout started
Wednesday Evening: Pilot Stage
# Mike gets notification
โ Team Update Available (Pilot)
Component: agent:openagent@0.8.0
Your role: Pilot tester
Status: Approved by john@company.com
Changes:
- Improved delegation logic
- Fixed approval gate bug
- New context loading patterns
? Install pilot update now? (Y/n) y
โก Installing openagent@0.8.0 (pilot)...
โ Backed up current version (0.7.1)
โ Installed openagent@0.8.0
โ Updated dependencies
โ
Pilot update installed
โ You're now in pilot mode
Please test the update and report:
- Any issues: oac team pilot report-issue
- Works well: oac team pilot approve
- Critical problems: oac team pilot reject
Testing period: 24 hours
# Mike tests for a few hours
# Everything works great
# Mike approves pilot
oac team pilot approve
โ Pilot approved by mike@company.com
Feedback:
? Works as expected? โ Yes
? Any issues? โ None
? Comments: Delegation seems faster, no issues
โ Feedback submitted
# Sarah also approves
# (similar process)
# Team lead sees pilot results
oac team rollout status
๐ Pilot Results: openagent@0.8.0
Status: โ Successful
Duration: 24 hours
Participants: 2/2
Feedback:
โ mike@company.com: Approved, no issues
โ sarah@company.com: Approved, works great
Issues: 0
? Proceed to Stage 2 (Gradual rollout)? (Y/n) y
Thursday: Gradual Rollout
# 4 team members get notification
โ Team Update Available
Component: agent:openagent@0.8.0
Status: Pilot successful, rolling out
Pilot results:
โ 2/2 approved
โ 0 issues reported
โ Feedback: Positive
? Install update now? (Y/n) y
# All 4 members install successfully
# Team lead monitors
oac team rollout status
๐ Gradual Rollout Progress
Stage 2: Gradual (4 members)
โ jane@company.com: Installed
โ bob@company.com: Installed
โ alice@company.com: Installed
โณ tom@company.com: Pending (on vacation)
Status: 3/4 completed (75%)
? Action:
> Wait for tom@company.com
Skip tom (complete stage 2)
Pause rollout
# Skip tom (he's on vacation)
โ Stage 2 complete (skipping tom)
? Proceed to Stage 3? (Y/n) y
Friday: Full Rollout Complete
# Final 2 members update
# Rollout complete
oac team status
๐ Team Update Complete: openagent@0.8.0
โ
Rollout successful!
Timeline:
Wed 2pm: Pilot started (2 members)
Thu 2pm: Gradual rollout (4 members)
Fri 10am: Full team (8 members)
Adoption: 7/8 (87.5%)
โ 7 members on 0.8.0
โณ 1 member pending (tom - on vacation)
Issues: 0
Next:
- Tom will auto-update on return
- Mike can now install playwright-specialist
# Mike installs Playwright specialist
oac add agent:playwright-specialist
โ Dependency check: openagent@0.8.0 (satisfied)
โ Installing agent:playwright-specialist@1.0.0
โ
Installation complete!
# Team successfully updated, zero disruption
Results:
Persona: John, Team Lead
Problem: PRs have inconsistent code style, reviews taking too long
Goal: Enforce team standards automatically
Monday: Problem Recognition
# John reviews recent PRs
# Notices issues:
# - Inconsistent component structure
# - Mixed class/functional components
# - No test files
# - Inconsistent file naming
# Current state: Standards documented but not enforced
# Solution: Create enforced team standards context
Tuesday: Create Enforceable Standards
# Create team standards context
oac create context team-standards --required
# Edit with enforceable rules
oac context edit team-standards
# Content:
---
version: 1.0.0
enforcement: strict
rules:
- id: functional-components
level: error
description: Use functional components only
- id: typescript
level: error
description: All components must use TypeScript
- id: test-files
level: error
description: All components must have test files
- id: file-naming
level: error
description: PascalCase for components, camelCase for utils
---
# Frontend Team Coding Standards
## React Components
### Structure (REQUIRED)
```typescript
// components/Button/Button.tsx
import React from 'react';
interface ButtonProps {
label: string;
onClick: () => void;
}
export const Button: React.FC<ButtonProps> = ({ label, onClick }) => {
return <button onClick={onClick}>{label}</button>;
};
// components/Button/Button.test.tsx
import { render, fireEvent } from '@testing-library/react';
import { Button } from './Button';
describe('Button', () => {
it('calls onClick when clicked', () => {
const handleClick = jest.fn();
const { getByText } = render(<Button label="Click me" onClick={handleClick} />);
fireEvent.click(getByText('Click me'));
expect(handleClick).toHaveBeenCalled();
});
});
components/
Button/
Button.tsx # Component (required)
Button.test.tsx # Tests (required)
Button.stories.tsx # Storybook (recommended)
index.ts # Barrel export (required)
Agents will: โ Generate components following this structure โ Create test files automatically โ Use TypeScript with strict mode โ Follow file naming conventions โ Reject class components โ Reject components without tests โ Reject non-TypeScript files
[Save]
oac team add context:team-standards@1.0.0 --required --locked
โ Added as required (cannot be overridden) โ All team members must use this context
oac team config set agents.frontend-specialist.strictMode true oac team config set agents.frontend-specialist.requireTests true
oac lock update git add .oac/ oac.lock oac-team.json git commit -m "feat: Add enforced team standards
slack-send #frontend-team "๐ New Team Standards Enforced
We've added enforced coding standards to improve PR quality.
Changes:
Action: Pull latest and run 'oac team sync'
Agents will automatically follow these standards. Old code is grandfathered in. "
โ Standards deployed
**Wednesday: Team Syncs**
```bash
# Team members pull and sync
git pull
oac team sync
โ Team Configuration Updated
New required component:
+ context:team-standards@1.0.0 (required, locked)
Agent configuration updated:
- frontend-specialist: Strict mode enabled
- frontend-specialist: Tests required
? Sync with team standard? (Y/n) y
โก Syncing...
โ Installed: context:team-standards@1.0.0
โ Updated: agent configuration
โ
Synced with team standard
๐ก Try creating a component to see standards in action:
> create a Card component
Wednesday Afternoon: Standards in Action
# Sarah creates a component
> create a Card component with title and description props
Agent (using team-standards):
Creating component following team standards...
โ Enforcing: Functional component (TypeScript)
โ Enforcing: Test file required
โ Enforcing: File structure
Created:
components/Card/
Card.tsx # Functional component, TypeScript
Card.test.tsx # Vitest tests
Card.stories.tsx # Storybook stories
index.ts # Barrel export
All files follow team standards โ
# Bob tries to create class component (bad habit)
> create a Modal component using class
Agent (using team-standards):
โ Enforcement: Class components not allowed
Team standard requires functional components.
Creating functional component instead...
Created:
components/Modal/
Modal.tsx # Functional (not class)
Modal.test.tsx
index.ts
โ Converted to functional component (team standard)
# Mike forgets to add tests
> create a Dropdown component
Agent (using team-standards):
Creating component...
โ components/Dropdown/Dropdown.tsx
โ components/Dropdown/Dropdown.test.tsx (auto-generated)
โ components/Dropdown/index.ts
โ Test file automatically created (required by team)
Thursday: PR Quality Improves
# John reviews PRs
# All PRs now:
# โ Functional components (TypeScript)
# โ Include test files
# โ Follow file structure
# โ Consistent style
# PR review time drops from 30min to 10min
# Style comments: Eliminated
# Focus shifts to logic and business requirements
# Team velocity increases
Results:
Persona: John, Team Lead
Challenge: Migrate team from OAC v0.7.x to v1.0.0 (breaking changes)
Team Size: 8 developers
Risk: High (breaking changes)
Week 1: Planning & Testing
Monday: Assessment
# Check migration requirements
oac team migrate --check
๐ฆ Migration Available: v0.7.1 โ v1.0.0
โ Breaking Changes Detected:
1. Approval Gates Configuration
- Old format: approval.gates = ["bash", "write"]
- New format: permissions.bash = "approve"
- Impact: All team members (auto-migrated)
2. Context Resolution
- Old: Single context path
- New: Layered resolution (project โ global)
- Impact: Custom context paths need update
3. Preset System
- Old: No presets
- New: Preset metadata required
- Impact: Custom agents need migration
Migration Complexity: Medium
Estimated Time: 2-4 hours (full team)
Auto-Migration: 80% (manual review needed)
? View detailed migration guide? (Y/n) y
Migration Guide:
๐ Migration Guide: v0.7.1 โ v1.0.0
## Step 1: Backup (5 minutes)
```bash
oac team backup
# Creates: .oac/backups/team-backup-2026-02-14.tar.gz
git checkout -b oac-v1-migration
oac team migrate --to v1.0.0
# Auto-migrates: configs, presets, contexts
# Outputs: migration-report.md
Total Time: 3-5 days (cautious approach)
? Start migration planning? (Y/n) y
**Tuesday: Migration Execution**
```bash
# Create backup
oac team backup
โ Backup created: .oac/backups/team-backup-2026-02-14.tar.gz
โ Includes: all configs, agents, contexts, lockfile
# Create migration branch
git checkout -b oac-v1-migration
# Run migration tool
oac team migrate --to v1.0.0
โก Running Migration: v0.7.1 โ v1.0.0
Phase 1: Analysis
โ Scanning configurations...
โ Detecting breaking changes...
โ Planning migrations...
Phase 2: Backup
โ Backed up all configs
Phase 3: Auto-Migration
โก Migrating approval gates config...
โ Converted 8 configurations
โก Migrating context resolution...
โ Updated context paths
โ 2 custom contexts need manual review
โก Migrating presets...
โ Added metadata to 3 custom agents
โก Updating lockfile...
โ Generated new oac.lock (v1.0.0 format)
Phase 4: Validation
โ Validating configurations...
โ 2 warnings (see migration-report.md)
โ No errors
โ
Migration Complete (80% automated)
๐ Migration Summary:
- Configurations migrated: 8/8
- Auto-migrated: 80%
- Manual review needed: 2 items
- Breaking changes handled: 3/3
โ Action Required:
1. Review: migration-report.md
2. Fix: 2 manual migration items
3. Test: oac doctor
4. Commit: git commit -m "Migrate to OAC v1.0.0"
? Open migration report? (Y/n) y
Migration Report (migration-report.md):
# OAC Migration Report: v0.7.1 โ v1.0.0
**Date**: 2026-02-14
**Team**: Frontend Team
**Status**: โ Needs Manual Review
## Summary
โ
Auto-migrated: 80%
โ Manual review: 2 items
โ Errors: 0
## Auto-Migrations Completed
### 1. Approval Gates Configuration
โ
Migrated all 8 team member configurations
Old format:
```json
"approval": {
"gates": ["bash", "write", "edit"]
}
New format:
"permissions": {
"bash": "approve",
"write": "approve",
"edit": "approve"
}
โ Updated context paths for layered resolution
Changes:
โ Added metadata to 3 custom agents
Custom agents migrated:
โ Manual review needed
Issue: Bob has custom context override that conflicts with new layered resolution
Location: /Users/bob/.opencode/context/custom-patterns.md
Action Required:
.oac/context/override/ (new override location)Priority: Medium (affects 1 member)
โ Manual review needed
Issue: Alice has very old custom agent (v0.3.x format)
Location: /Users/alice/.opencode/agent/legacy-agent.md
Action Required:
Priority: Low (custom agent, optional)
Before pilot rollout:
oac doctorIf issues occur:
oac team rollback --to backup-2026-02-14
This will restore all configurations to pre-migration state.
oac doctor to validateWednesday: Fix Manual Items
# Contact Bob
slack-send @bob "Hey Bob, migration to OAC v1.0 needs your help.
You have a custom context that needs updating:
/Users/bob/.opencode/context/custom-patterns.md
Options:
1. Move to new override location (5 min)
2. Integrate into team-standards (15 min)
Can you handle this today? Let me know if you need help.
"
# Bob fixes
# (moves custom context to new location)
# Contact Alice
slack-send @alice "Hey Alice, found an old custom agent during migration:
/Users/alice/.opencode/agent/legacy-agent.md
Is this still needed? If not, we can remove it.
If yes, needs update to v1.0.0 format (I can help).
"
# Alice confirms not needed
# Removed
# Validate migration
oac doctor
โ All configurations valid
โ All agents load correctly
โ Context resolution working
โ Presets migrated successfully
โ
Migration ready for testing
Thursday: Pilot Test
# Designate pilot members
oac team pilot add sarah@company.com mike@company.com
? Pilot duration: 1 day
โ Pilot group created (2 members)
๐ง Sent to pilot members:
"You've been selected for OAC v1.0 pilot test.
Please:
1. git checkout oac-v1-migration
2. oac install --frozen
3. Test for 1 day
4. Report: oac team pilot feedback
Questions? #oac-migration"
# Pilot members test
# Sarah tests, no issues
# Mike tests, no issues
# Collect feedback
oac team pilot report
๐ Pilot Test Results (1 day)
Participants: 2/2
Completion: 100%
Feedback:
โ sarah@company.com:
- No issues
- Approval gates clearer
- Likes new preset system
โ mike@company.com:
- No issues
- Context resolution faster
- No problems
Issues Reported: 0
Critical Bugs: 0
Recommendation: โ
Ready for full rollout
? Proceed with full team rollout? (Y/n) y
Friday: Full Rollout
# Merge migration branch
git checkout main
git merge oac-v1-migration
git push origin main
# Announce rollout
oac team announce
๐ข OAC v1.0 Migration - Ready to Roll Out
What: Upgrade to OAC v1.0.0
When: Now (pull latest from main)
Duration: 5 minutes per person
Breaking Changes (auto-migrated):
โ Approval gates (new format)
โ Context resolution (layered)
โ Presets (new metadata)
Tested By:
โ sarah@company.com (no issues)
โ mike@company.com (no issues)
Action Required:
1. git pull
2. oac install --frozen
3. Test your workflow
4. Report issues: #oac-migration
Estimated time: 5 minutes
Rollback available if needed.
? Send to team? (Y/n) y
โ Sent to #frontend-team
โ Emails sent to all members
# Track rollout
oac team status
๐ Migration Progress: v1.0.0
Completed: 6/8 (75%)
In Progress: 2/8 (25%)
Issues: 0
Timeline:
- 10am: sarah โ
- 10:15am: mike โ
- 11am: jane โ
- 11:30am: bob โ
- 1pm: alice โ
- 2pm: tom โ
- Pending: lisa, charlie
โ
Migration going smoothly
# End of day: 8/8 complete
โ Full team migrated
โ Zero issues
โ Total time: 3 days (cautious approach)
Results:
What OAC Solves:
What OAC Needs:
Must-Have Commands:
oac team init # Set up team standards
oac team status # Check team compliance
oac team sync # Sync with team standard
oac team update # Coordinate updates
oac team dashboard # Team health overview
oac team audit # Installation audit trail
oac team policy # Configure policies
oac onboard # One-command onboarding
oac team migrate # Version migration
oac team rollout # Staged rollout management
Success Metrics:
Next Steps: Use these scenarios to validate OAC design and implementation priorities.