Skip to Content
00 Getting StartedSolo vs. team mode

Choosing a mode

AlignTrue has two modes optimized for different workflows. This guide helps you choose the right one.

Quick decision

Working alone? → Use solo mode (default)

Collaborating with a team? → Use team mode

Not sure? Start with solo mode. You can always upgrade to team mode later when you need it.

Feature comparison

FeatureSolo modeTeam mode
Lockfile❌ Disabled✅ Enabled (.aligntrue.lock.json)
Auto-pull✅ Enabled (default)❌ Disabled (explicit updates)
Allow lists❌ Not required✅ Required (approved sources)
Drift detection❌ Not available✅ Available (aligntrue drift)
Bundle generation❌ Disabled✅ Enabled (dependency merging)
Backup/restore✅ Available✅ Available
Git integration✅ Optional✅ Recommended
CI/CD validation✅ Basic checks✅ Full validation + drift gates
Setup complexityLow (60 seconds)Medium (5 minutes)
Maintenance overheadMinimalLow to medium
Best forIndividual developersTeams and organizations

Architecture comparison

Solo Mode (default - fast iteration, local-first):

Team Mode (reproducible, collaborative):

Scenario-based recommendations

Solo developer, personal projects

Recommended: Solo mode

Why:

  • Fast iteration with auto-pull
  • No lockfile overhead
  • Simple setup and maintenance
  • Full customization with plugs and overlays

Example use case: You’re building a side project and want consistent AI agent behavior across your development workflow.

aligntrue init # Creates solo mode config by default aligntrue sync # Fast, no validation overhead

Flexible rules for distributed users

Recommended: Solo mode

Why:

  • Solo mode: Fast iteration, each user can customize rules locally
  • Team mode: Reproducible builds, consistent rules for all team members

Example use case: You maintain a project (internal or open source) and want users to adapt rules for their environment without enforcing uniformity.

Solo mode approach:

# Commit rules, users can customize locally git add .aligntrue/ git commit -m "Add AlignTrue rules"

Team mode approach:

# Enable team mode for reproducibility aligntrue team enable aligntrue sync git add .aligntrue/ .aligntrue.lock.json git commit -m "Enable AlignTrue team mode"

2-5 person team

Recommended: Team mode (soft lockfile)

Why:

  • Reproducible builds across team members
  • Drift detection for upstream changes
  • Soft lockfile warns but doesn’t block
  • Allow lists for approved sources

Example use case: Small startup team wants consistent AI agent behavior without strict enforcement.

# Repository owner aligntrue team enable # Edit config: lockfile.mode: soft aligntrue team approve git:https://github.com/AlignTrue/aligntrue/examples/packs/global.yaml aligntrue sync git add .aligntrue/ .aligntrue.lock.json git commit -m "Enable team mode (soft)" # Team members git pull aligntrue sync # Validated against allow list

10+ person team

Recommended: Team mode (strict lockfile)

Why:

  • Strict enforcement prevents drift
  • All changes reviewed before merging
  • Audit trail for compliance
  • Consistent builds across large team

Example use case: Engineering team at a growing company needs consistent AI agent behavior with strict enforcement.

# Repository owner aligntrue team enable # Edit config: lockfile.mode: strict aligntrue team approve git:https://github.com/AlignTrue/aligntrue/examples/packs/global.yaml aligntrue sync git add .aligntrue/ .aligntrue.lock.json git commit -m "Enable team mode (strict)" # Team members git pull aligntrue sync # Fails if lockfile doesn't match

Enterprise with compliance requirements

Recommended: Team mode (strict) + allow lists

Why:

  • Approved sources only (security)
  • Strict lockfile enforcement (compliance)
  • Audit trail (governance)
  • Drift detection (monitoring)

Example use case: Enterprise team needs to ensure all AI agent rules come from approved sources and are consistently applied.

# Security team approves sources aligntrue team approve sha256:abc123... # Vendored pack aligntrue team approve internal-standards@org/rules@v2.0.0 # Development teams aligntrue sync # Only approved sources allowed aligntrue drift --gates # Fail CI if drift detected

When to switch modes

Solo → Team: When you start collaborating

Switch to team mode when:

  • You add team members to your project
  • You need reproducible builds
  • You want drift detection
  • You need approval workflows

How to switch:

# Enable team mode aligntrue team enable # Approve current sources aligntrue team approve git:https://github.com/AlignTrue/aligntrue/examples/packs/global.yaml # Generate lockfile aligntrue sync # Commit team files git add .aligntrue/config.yaml .aligntrue/allow.yaml .aligntrue.lock.json git commit -m "Switch to team mode"

Team → Solo: When forking for personal use

Switch to solo mode when:

  • Forking a team project for personal use
  • Prototyping without team overhead
  • Working on a personal branch

How to switch:

# Edit .aligntrue/config.yaml # Change: mode: team → mode: solo # Remove team files (optional) rm .aligntrue.lock.json .aligntrue/allow.yaml # Sync aligntrue sync

What changes when you switch

Solo → Team changes

What changesBefore (solo)After (team)
Configmode: solomode: team
New filesNone.aligntrue.lock.json, .aligntrue/allow.yaml
Auto-pullEnabledDisabled
ValidationBasic schemaSchema + allow list + lockfile
Sync speedFastSlightly slower (validation)
Git workflowOptionalRecommended (commit lockfile)

Team → Solo changes

What changesBefore (team)After (solo)
Configmode: teammode: solo
Files removedKeep lockfile/allow listCan delete (optional)
Auto-pullDisabledEnabled
ValidationFull validationBasic schema only
Sync speedValidation overheadFast
Git workflowLockfile requiredOptional

Frequently asked questions

Can I try solo mode first and upgrade later?

Yes! This is the recommended approach. Start with solo mode to learn AlignTrue, then upgrade to team mode when you need reproducibility or collaboration features.

What happens to my rules when I switch modes?

Your rules stay the same. Only the validation and workflow change. Your .aligntrue/.rules.yaml file is unchanged.

Do I need team mode for projects with multiple users?

Not necessarily. Solo mode works fine when you want users to customize locally. Use team mode if you want:

  • Reproducible builds for all team members
  • Strict enforcement of approved sources
  • Drift detection in CI

Can team members use different modes?

No. All team members must use the same mode (team mode) for consistent behavior. The mode is set in .aligntrue/config.yaml which should be committed to git.

What’s the performance difference?

Solo mode is slightly faster because it skips lockfile and allow list validation. The difference is typically <1 second per sync.

Can I use team mode without git?

Technically yes, but not recommended. Team mode is designed for git-based collaboration. Without git, you lose the benefits of lockfile versioning and drift detection.

What if I’m unsure?

Start with solo mode. It’s simpler and you can always upgrade later. The switch takes less than 5 minutes.

Summary

Choose solo mode if:

  • You work alone
  • You want fast iteration
  • You don’t need reproducibility
  • You’re just getting started

Choose team mode if:

  • You collaborate with others
  • You need reproducible builds
  • You want drift detection
  • You need approval workflows

Still unsure? Start with solo mode. You can always upgrade to team mode later when you need it.

Last updated on