Getting Started Guide
🚀 Getting Started with Tough Day Constitution Manager
Welcome!
The Tough Day Constitution Manager is a system for managing AI assistant constitutions across multiple organizations. This guide will help you get started quickly.
Table of Contents
- What is a Constitution?
- Key Concepts
- Your First Login
- Understanding the Interface
- Quick Start Tasks
- Next Steps
What is a Constitution?
A constitution is a set of instructions and guidelines that define how an AI assistant should behave. Think of it as the AI's "operating manual."
Example Constitution Snippet
# Context
You are a helpful assistant specializing in HR questions.
# Objective
Your primary goal is to help employees with HR-related inquiries
while maintaining confidentiality and professionalism.
# Tone
Be warm, professional, and empathetic.
Why Constitutions Matter
- ✅ Ensures consistent AI behavior across your organization
- ✅ Customizes AI responses for specific use cases
- ✅ Maintains brand voice and company policies
- ✅ Provides guardrails and safety rules
Key Concepts
🏢 Organizations
Organizations are separate entities that each have their own constitution.
Example: - Acme Corp (Sales team) - Acme Corp (HR team) - Justworks (Customer Support)
Each organization can customize their AI's behavior independently.
📚 Modules
Modules are building blocks that make up a constitution. Each module covers a specific aspect:
| Module | Purpose | Example Content |
|---|---|---|
| context | Who is the AI? | "You are a helpful HR assistant" |
| objective | What's the goal? | "Help employees with benefits questions" |
| tone | How should it sound? | "Be warm and professional" |
| safety_rules | What to avoid? | "Never share confidential employee data" |
| knowledge | What does it know? | "Company has 500 employees, founded 2010" |
🌍 Global vs. Override
Global Modules:
- Default templates used by all organizations
- Managed by administrators
- Located in /modules/core/
Overrides:
- Organization-specific customizations
- Only apply to one organization
- Located in /overrides/<org_id>/
Example:
Global "context" module:
"You are a helpful assistant."
Acme Corp override:
"You are a helpful assistant specializing in sales enablement."
🔄 Constitution Template
The default constitution template (customers/default.json) defines:
- Which modules to include
- Default variables
- Module order
New organizations inherit from this template.
Your First Login
Step 1: Access the Application
Open your browser and go to:
http://your-server-address:8000/
Note: Ask your administrator for the correct URL
Step 2: Sign In
Click "Login" button in the top-right corner.
You'll be redirected to Google OAuth for authentication.
Step 3: Welcome Screen
After login, you'll see the homepage showing: - List of organizations - Quick stats (total orgs, modules) - Recent activity
Understanding the Interface
Navigation Bar
📸 Screenshot placeholder (Screenshot will be added here)
Menu Items:
| Item | Purpose |
|---|---|
| Organizations | View and manage all organizations |
| Modules | Edit global module templates |
| Import | Import constitutions from files |
| Constitution | Manage the default constitution template |
| Help | Access documentation (you are here!) |
| Your Name | Logout |
Organizations Page
The main page shows all organizations:
📸 Screenshot placeholder (Screenshot will be added here)
Organization Detail Page
When you click an organization, you see:
Header: - Organization name - Version number - Last updated date
Active Modules: - List of modules in use - Badges showing "Custom" or "Stale" status - Actions: Compare, Edit Override, Revert
Organization-Specific Modules: - Modules unique to this org - Not based on global templates
Quick Start Tasks
Task 1: View an Organization (2 minutes)
- Click "Organizations" in the navbar
- Click on any organization (e.g., "Default Organization")
- Review the modules listed
- Click "Preview Constitution" to see the full text
What you'll learn: How modules combine to form a complete constitution
Task 2: Create a New Organization (5 minutes)
- Go to Organizations page
- Click "Add Organization" button
- Fill in the form:
- Organization ID:
my-first-org(lowercase, no spaces) - Display Name:
My First Organization - Description:
Testing organization for learning - Click "Create Organization"
- View your new organization
What you'll learn: How to set up a new organization
Task 3: Customize a Module (10 minutes)
- Go to your organization (
my-first-org) - Find the "tone" module
- Click "Edit Override"
- Change the content: ```markdown # Tone
Be friendly, casual, and enthusiastic! Use emojis when appropriate. 😊 ``` 5. Click "Save Override" 6. Notice the "Custom" badge appears
What you'll learn: How to override global modules for specific organizations
Task 4: Build and Preview Constitution (5 minutes)
- Stay on your organization page
- Click "Rebuild Constitution" button
- Wait for success message
- Click "Preview Constitution" button
- See your complete constitution with your customization
What you'll learn: How the system combines modules into a final constitution
Task 5: Explore Global Modules (5 minutes)
- Click "Modules" in the navbar
- Browse the list of global modules
- Click "View" on the "context" module
- See which organizations use this module
- See which organizations have overrides
What you'll learn: How global modules work across organizations
Next Steps
For New Users
📖 Read these guides next: 1. Managing Organizations - Deep dive into org management 2. Working with Modules - Understanding modules 3. Managing Stale Overrides - Keep overrides up to date
For Administrators
📖 Advanced topics: 1. Constitution Template Guide - Manage the default template 2. Import/Export Guide - Bulk operations 3. Version Control Guide - Track changes
For Developers
📖 Technical documentation: 1. API Documentation - REST endpoints 2. Module Format Specification - How to write modules 3. Variables Reference - Using template variables
Common Questions
Q: What happens if I make a mistake?
A: Don't worry! You can: - Revert an override - Go back to using the global module - Edit again - Overrides can be modified anytime - View history - See previous versions (if git is enabled)
Q: How do I know if my changes are working?
A: After making changes: 1. Click "Rebuild Constitution" 2. Click "Preview Constitution" 3. Search (Cmd/Ctrl+F) for your changes
Q: Can I break other organizations?
A: No! Overrides only affect the specific organization. Global modules affect all organizations, but you need admin permissions to edit those.
Q: What's the difference between editing a module vs. creating an override?
A: - Edit a module (Modules page) - Changes affect ALL organizations - Create an override (Organization page) - Changes affect ONLY that organization
Tips for Success
✅ Best Practices
- Start small - Override one module at a time
- Test changes - Always preview after editing
- Use descriptive names - Make organization IDs meaningful
- Document customizations - Add comments in modules explaining why you made changes
- Review stale overrides weekly - Keep your overrides up to date
⚠️ Common Pitfalls
- Don't ignore stale badges - They indicate the global module changed
- Don't edit global modules casually - They affect all organizations
- Don't use spaces in organization IDs - Use hyphens instead:
my-orgnotmy org - Don't forget to rebuild - Changes don't take effect until you rebuild
Getting Help
In-App Help
- Help Menu - Click "Help" in navbar for guides
- Tooltips - Hover over icons for quick explanations
Contact Support
- Report Issues - Use "Help" → "Report an Issue"
- Ask Your Team - Check with your administrator
- Documentation - Browse all guides in the Help menu
What You've Learned
After completing this guide, you should understand:
- ✅ What constitutions and modules are
- ✅ How to navigate the interface
- ✅ How to view and customize organizations
- ✅ The difference between global modules and overrides
- ✅ How to preview your changes
Quick Reference Card
Common Actions
| I want to... | How to do it |
|---|---|
| Create new organization | Organizations → Add Organization |
| Customize a module | Organization → Edit Override |
| Reset customization | Organization → Revert to Original |
| See all modules | Modules (navbar) |
| Preview constitution | Organization → Preview Constitution |
| Update stale override | Organization → Compare → Start from Global |
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Cmd/Ctrl + S |
Save (in editor) |
Cmd/Ctrl + F |
Find in page |
Esc |
Close modals |
Ready to dive deeper? Check out the other guides in the Help menu!
Last Updated: February 7, 2026 Version: 1.0.0