Welcome! You're about to learn something powerful and exciting. COSMOS is your complete automation suite for multi-language monoreposβhandling everything from code validation to cloud deployments, issue tracking, and intelligent release orchestration with SOC2-compliant immutable audit trails.
What is COSMOS? A universal, production-ready toolkit that seamlessly integrates:
π Pluggable adapter system (switch repo sources seamlessly)
β‘ Smart release orchestration (coordinates with GitHub Actions)
π SOC2-compliant audit system (immutable, distributor-bound ledgers)
π Atomic global ID assignment (linearized, cloud-backed consensus)
π― What You're Going to Do
You'll complete your first complete workflow:
Create a GitHub account (if needed)
Get repository access
Open your terminal
Download the codebase
Install COSMOS with cloud infrastructure configurationπ
Verify C-MOS compliance and atomic sealer setupπ
Make a change and commit it
Create and manage issues
Preview and execute a release
Time needed: 45-60 minutes for complete setup
What you'll learn: The full professional development workflow with production-grade compliance
π Step 0: Create Your GitHub Account
Before anything else, you need a GitHub account. GitHub is where all our code lives online.
If you already have a GitHub account:
Skip to Step 1! π
If you need to create an account:
Open your web browser and go to: https://github.com/signup
Enter your email address
Create a password (make it strong!)
Choose a username (pick something professionalβyour team will see it)
Verify you're human (solve the puzzle)
Check your email for a verification code and enter it
Complete the setup (you can skip optional questions)
β You now have a GitHub account!
π¨ Important: Request Repository Access
Don't skip this! Once your account is created, you need permission:
Contact your team lead with your GitHub username
Wait for confirmation (usually within 24 hours)
Check your email for an invitation from GitHub
Click the link to accept access
π‘ Tip: Don't continue until you've been granted access! You'll get an error if you try without it.
ποΈ Understanding COSMOS Architecture
COSMOS is built on several core systems that work together to provide industrial-grade automation:
π§ C-MOS: Cryptographic Multi-Ordering System
The heart of COSMOS - an immutable, append-only event ledger with Merkle chain verification. Every operation (commits, releases, config changes) is recorded with cryptographic proof. This ensures:
Complete audit trail (SOC2 compliance)
Replay capability (recover any state)
Tamper-proof evidence (legal defensibility)
π Atomic Sealer: Global ID Assignment
Assigns permanent, globally-unique IDs to events using your cloud provider's consensus mechanism. Supports:
Google Firestore (recommended, $3/month, fastest)
AWS DynamoDB (~$5/month)
Azure Cosmos DB (~$25/month)
Local file-based (development only)
π Cloud Integration: Multi-Provider Support
All systems can work with your existing cloud provider (GCP, AWS, Azure). Configuration happens automatically during install. Data is:
Encrypted in transit (TLS)
Immutable once written (append-only)
Archived after 7 days (cost optimization)
π» Step 1: Open Your Terminal
The terminal is how you talk to your computer using text commands instead of clicking.
On Mac:
Press Command + Space (opens Spotlight)
Type: terminal
Press Enter
On Windows:
Use Git Bash (not Command Prompt or PowerShell):
Go to: https://git-scm.com/downloads
Download "Git for Windows"
Run the installer (defaults are fine)
Search for "Git Bash" in the Start menu and open it
What you'll see:
A window with text ending in a $ or > symbol. This is your promptβwhere you type commands.
π» Step 1.5: Choose Your Editor (Recommended)
COSMOS works in any editor. But for your first mission, we recommend Visual Studio Code because:
π Debugging β When validation fails, Code shows you exactly why
π§ Intelligence β Language servers understand 6 languages, give real-time hints
π Integration β Git, terminals, extensions all built-in
π Learning β Tons of tutorials, extensions, community help
Using Sublime, Vim, or another editor? That works too. COSMOS validates outside the editor, so your choice doesn't matter. But we recommend Code for the best first experience.
π‘ Tip: COSMOS detects your language automatically by looking at manifest files.
βοΈ Step 5: Make Your First Change
Let's practice the daily workflow. You'll edit a file and use COSMOS to save it properly.
Navigate to the repository:
cd ~/Code/cosmos-systems
Press Enter
Create or edit a file:
For this example, create a simple text file:
echo "Your Name - COSMOS Onboarding - $(date)" >> NEWCOMERS.md
Press Enter
Verify your change:
cat NEWCOMERS.md
Press Enter
β You've modified a real file!
πΎ Step 6: Commit with COSMOS
This is where COSMOS makes your life easier. It validates, formats, and saves your changes properly while recording everything to the C-MOS ledger.
Run the commit tool:
c-commit --no-verify
Press Enter
The --no-verify flag: Skips validation since we're changing documentation, not code.
Answer COSMOS's questions:
1. "Selection:"
β Type 4 and press Enter (documentation change)
2. "Commit message:"
β Type: add myself to newcomers registry
β Press Enter
3. "Scope:"
β Just press Enter (auto-fills)
4. "Finalize?"
β You'll see your formatted message
β Type y and press Enter
β Success! You'll see: "β Commit successful!"
π What COSMOS Just Did (Behind the Scenes)
Several critical things happened automatically:
Staged your changes to git
Formatted your message in team standard: docs(scope): your message
Recorded event to C-MOS ledger with cryptographic hash
Created Merkle chain proof linking this commit to previous ones
Saved to audit trail with your machine ID and timestamp
Queued for cloud sync (will sync on next push)
What COSMOS did automatically:
Staged your changes
Formatted your message in team standard: docs(scope): your message
Saved it using git
Recorded the event in C-MOS with cryptographic proof
π Step 7: Share With the Team
Upload your change to GitHub so everyone can see it. This will also sync C-MOS events to the cloud.
Set upstream branch (first time only):
git branch --set-upstream-to=origin/main main
Press Enter
Upload your change:
git push
Press Enter
β Your change is now on GitHub!
π Cloud Sync in Progress
Your C-MOS events are being synced to your cloud provider in the background:
Events are uploaded to your configured bucket (Firestore, DynamoDB, etc.)
Merkle chain is verified for integrity
Archive process begins (7-day hot storage, then cold archive)
See your change online:
Open the repository on GitHub
Click "Commits" near the top
Your commit should appear at the very top!
π You Did It!
You just completed your first real workflow:
Created a GitHub account
Requested repository access
Opened a terminal
Connected to GitHub
Downloaded a real monorepo
Installed COSMOS with cloud configuration
Made a change
Committed with COSMOS (automatic C-MOS recording)
Shared with the team
That's genuinely impressive! You're now using an industrial-grade development system with:
β Multi-language validation
β Immutable audit trails
β Cloud-backed event ordering
β Cryptographic proof of changes
β SOC2 compliance ready
π Your Daily Workflow
Now you know the four-step workflow you'll use every day:
1. Navigate to your code:
cd ~/Code/cosmos-systems
2. Make changes (use your editor)
Edit files however you normally would
3. Commit with validation:
c-commit
This time without --no-verify. COSMOS will validate your code before saving. For code changes, it will run language-specific checks (cargo check, npm lint, etc.).
π What Happens During Validation
COSMOS automatically:
Detects your project language (Rust, Node, Go, Java, Python)
Runs language-specific validators (cargo check, npm lint, go build, etc.)
Blocks commit if validation fails (with helpful error messages)
Records validation result to C-MOS ledger
Only allows commit if all checks pass
This ensures every commit in your repository is known-good code.
4. Share with team:
git push
That's it! Four simple steps instead of remembering all the git commands.
Each time you follow this workflow:
β Your code is validated
β Your message is formatted correctly
β An event is recorded to C-MOS with cryptographic proof
β The event is synced to cloud storage
β Your team can see the change immediately
π Creating Issues
COSMOS makes it easy to create and track issues across your organization.
Create a new issue:
c-issue
Press Enter
Answer the prompts:
1. Repository selection:
β COSMOS will show available services
β Select one or create in current repo
2. Issue title:
β Type a clear, descriptive title
3. Issue description:
β Explain what needs to be done
Phase 7: Release Commit β Creates version bump commit
Phase 8: Release Tag β Creates immutable git tag
Phase 9: Post-Release Snapshot β Captures final state with Merkle verification
Phase 10: Cloud Finalization β Syncs all events to cloud with verification
If any phase fails, the entire release is rolled back.
After the release completes:
You'll see a summary showing:
Service name and new version
Git tag that was created
Commit hash for the version bump
Cloud status: [OK] Recorded (Merkle-verified)
β Release complete and verified in cloud!
Push the release tag to GitHub:
git push --follow-tags
Press Enter
This uploads your release tag so GitHub Actions can pick it up and deploy.
π Congratulations!
You just created a production release with:
β Full compliance verification
β Cryptographic proof of ordering
β Cloud-backed global IDs
β Complete audit trail
β Merkle chain verification
β Automatic changelog generation
π Ready for More?
Once you're comfortable with the basics, you can explore advanced features:
Check overall status:
c-pulse
Shows all services, their versions, and release status with C-MOS event counts
Deep analysis of a service:
c-audit src/your-service
Shows commit history, C-MOS events, machines that changed it, and trace lineage
Check distributed tracing:
c-audit machines
See all machines that contributed events and how they correlate
Verify C-MOS compliance:
cosmos-cmos-verify verify
Run all 7 compliance guarantees manually (normally runs before release)
Manage cloud configuration:
cosmos-cloud-config-manager setup
Reconfigure cloud provider or atomic sealer
π‘ Tip: Ask your team lead before exploring advanced featuresβthey'll guide you through the workflow!
β Common Questions
Q: What if I make a mistake?
A: Don't panic! Everything is tracked and reversible. You can't break anything permanently because:
All commits are in git (can be reverted)
All events are in C-MOS ledger (immutable but complete)
Cloud has backups of everything
C-MOS verification catches most errors before release
Q: What if I see an error?
A: Read it carefullyβmost errors tell you exactly what's wrong. Common fixes:
Wrong folder? Use cd ~/Code/cosmos-systems
Permissions issue? Re-run ./install.sh
Script won't run? Scripts are made executable during install
Cloud error? Check credentials with cosmos-cloud-config-manager verify
Q: Can I practice the commit workflow again?
A: Absolutely! Make more changes and repeat the c-commit β git push flow. Each one records to C-MOS.
Q: What does c-linker do exactly?
A: It orchestrates a complete, compliant release. It checks tombstones, verifies C-MOS compliance, updates versions, generates changelogs, creates git tags, verifies Merkle chains, and syncs everything to cloud. Nothing is left to chance.
Q: What is the atomic sealer?
A: It assigns globally-unique, linearized IDs to events using your cloud provider's consensus. This guarantees:
No two events ever get the same ID
Complete ordering across all machines
Cryptographic proof of ordering (for compliance)
Q: What if I want to use a different cloud provider?
A: Easy! Reconfigure anytime with cosmos-cloud-config-manager setup. COSMOS supports GCP, AWS, and Azure (or local for development).
Q: Who do I ask for help?
A: Your team lead or team chat. Everyone was new onceβasking questions is normal! COSMOS has extensive built-in help:
c-audit --help β Show available commands
cosmos-cloud-config-manager help β Cloud setup help
cosmos-cmos-verify help β Compliance verification help
c-issue help β Issue creation help
π Remember
Take your time: No rush. Go at your own pace. You're learning production-grade systemsβthat's not trivial.
You can't break anything: Seriously. Worst case is an error message and you try again. Everything is backed up.
Every expert started here: Every great developer at your company was once typing their first terminal command with COSMOS.
You're doing great: If you made it this far, you're already learning! You now understand:
β How to use version control properly
β How to write proper commit messages
β How to validate code before committing
β How to release software safely
β How immutable audit trails work
β How cloud-backed consensus systems function
β What SOC2 compliance actually means
π What's Next?
Practice the c-commit β git push workflow several times
Run c-pulse daily to see the system status
Try making a code change (with validation enabled)
Run c-audit to inspect C-MOS events
When ready, ask your team lead about creating your first real release
Explore c-audit --debug to see what's happening under the hood
Read through cosmos-cmos-verify help to understand the 7 guarantees
You've got this!π
π§ Complete Command Reference
Daily Commands:
c-pulse β Show all services status
c-commit β Commit changes with validation
git push β Push commits and sync C-MOS events
c-audit [service] β Inspect service or system status
Benefits: Enterprise support, if already using Azure
Local (Development)
Cost: Free
Limitation: Single machine only, no distributed consensus
Perfect for: Learning, testing, small teams
π‘ Cost Optimization: COSMOS automatically archives events after 7 days of hot storage. Old events move to cheaper cold storage (S3 Glacier, GCS Archive, etc.), reducing costs significantly.
π The 7 C-MOS Guarantees
Before every release, COSMOS verifies these 7 guarantees:
Global Total Ordering β Events are strictly ordered (no ties or conflicts)
50ms Deterministic Finality β Any validation completes in β€50ms (enforced mechanically)
Immutable Append-Only Evidence β Ledger is write-once, no deletions allowed
Deterministic Stateless Validation β Same input always produces same output
Recorded Negative Flow β Failures and rollbacks are tracked
Decoupled Read Model β Audit trail is separate from operational data
Auditor-Verifiable Truth β Complete replay capability for verification
If any guarantee fails, the release is automatically blocked.
Why These Guarantees Matter
These guarantees ensure COSMOS is:
β Tamper-proof (immutability)
β Verifiable (replay-capable)
β Compliant (SOC2-ready)
β Fast (50ms hard deadline)
β Reliable (mechanical enforcement)
Run cosmos-cmos-verify help to learn more about each guarantee.
π Learning Path
Week 1: Get Comfortable
Complete installation and first commit
Practice the daily workflow (commit β push)
Run c-pulse to understand the system
Create a few issues with c-issue
Week 2: Go Deeper
Run c-audit to see C-MOS events
Study your C-MOS ledger: cat .cosmos/cmos/event-ledger.log
Verify compliance: cosmos-cmos-verify verify
Preview releases with c-test
Week 3: Create a Release
Ask your team lead for guidance
Preview with c-test <service>
Execute with c-linker <service>
Push tags: git push --follow-tags
Month 2+: Advanced Topics
Understand atomic sealer internals
Explore cloud configuration options
Learn about tombstone management
Generate compliance reports for audits
π You're Ready!
You now have everything you need to:
Install and configure COSMOS
Make commits that are automatically validated and recorded
Create releases that are compliant and auditable
Use cloud storage for immutable event trails
Verify SOC2 compliance at any time
Debug issues with complete audit trails
Collaborate with confidence knowing everything is tracked
π Congratulations!
You've learned an industrial-grade development and release automation system. Most teams spend years building these capabilitiesβyou now have it ready to use.
Welcome to COSMOS. You're part of something special.
π Getting Help
Built-in Help:
c-commit --help β Commit help
c-linker --help β Release help
c-audit --help β Audit help
cosmos-cmos-verify help β Compliance help
cosmos-cloud-config-manager help β Cloud setup help
External Resources:
Your team lead (first choice)
Team documentation and wiki
GitHub issues (tagged #cosmos)
Team chat (cosmos-help channel if it exists)
File Issues When:
Scripts don't work as expected
Cloud configuration fails
Release gets blocked and you don't understand why
You have suggestions for improvements
Remember: Every error is recorded to C-MOS and can be recovered. There's no such thing as a permanent mistake.
π Final Thoughts
COSMOS is more than a tool. It's a philosophy:
Automation first: Reduce human error through systematic process
Verification always: Verify every critical operation before committing
Audit everything: Complete history for compliance and debugging
Open by default: Make your entire workflow transparent and verifiable
By using COSMOS, you're not just shipping code. You're creating verifiable, auditable, compliant software delivery. That's enterprise-grade development.
You should be proud of yourself. Welcome to the team! π
COSMOS Complete Welcome Guide v5.3
Installation β’ Workflow β’ Releases β’ Compliance
Your complete onboarding to industrial-grade development automation