🌟 COSMOS: Your Complete Welcome Guide v5.3

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:

🎯 What You're Going to Do

You'll complete your first complete workflow:

  1. Create a GitHub account (if needed)
  2. Get repository access
  3. Open your terminal
  4. Download the codebase
  5. Install COSMOS with cloud infrastructure configuration πŸ†•
  6. Verify C-MOS compliance and atomic sealer setup πŸ†•
  7. Make a change and commit it
  8. Create and manage issues
  9. 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:

  1. Open your web browser and go to: https://github.com/signup
  2. Enter your email address
  3. Create a password (make it strong!)
  4. Choose a username (pick something professionalβ€”your team will see it)
  5. Verify you're human (solve the puzzle)
  6. Check your email for a verification code and enter it
  7. 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:

  1. Contact your team lead with your GitHub username
  2. Wait for confirmation (usually within 24 hours)
  3. Check your email for an invitation from GitHub
  4. 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:

πŸ” Atomic Sealer: Global ID Assignment

Assigns permanent, globally-unique IDs to events using your cloud provider's consensus mechanism. Supports:

πŸ“Š Cloud Integration: Multi-Provider Support

All systems can work with your existing cloud provider (GCP, AWS, Azure). Configuration happens automatically during install. Data is:

πŸ’» Step 1: Open Your Terminal

The terminal is how you talk to your computer using text commands instead of clicking.

On Mac:

  1. Press Command + Space (opens Spotlight)
  2. Type: terminal
  3. Press Enter

On Windows:

Use Git Bash (not Command Prompt or PowerShell):

  1. Go to: https://git-scm.com/downloads
  2. Download "Git for Windows"
  3. Run the installer (defaults are fine)
  4. 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:

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.

πŸ”₯ Download Visual Studio Code:
https://code.visualstudio.com

Installation takes 2 minutes. Choose the "User" installer for your OS.

πŸ” Step 2: Connect to GitHub

You need to authenticate with GitHub before you can download code.

Type this command:

gh auth login

Press Enter

Answer the prompts:

1. "What account do you want to log into?"
β†’ Type 1 and press Enter (GitHub.com)

2. "What is your preferred protocol?"
β†’ Type 1 and press Enter (HTTPS)

3. "Authenticate Git with your GitHub credentials?"
β†’ Type y and press Enter

4. "How would you like to authenticate?"
β†’ Type 1 and press Enter

In your browser:

  1. Copy the code shown (looks like: ABCD-1234)
  2. Paste it in the browser window
  3. Log in and authorize

βœ… Success! Terminal shows: "βœ“ Logged in as [your username]"

πŸ“₯ Step 3: Download COSMOS

Now we're getting the actual code to your computer.

Create a Code folder:

mkdir -p ~/Code && cd ~/Code

Press Enter

Download COSMOS:

git clone https://github.com/vepsservice07-stack/cosmos.git

βœ… Replace with your actual repository URL!

Press Enter

Move into the folder:

cd cosmos-systems

Press Enter

Verify you're in the right place:

ls

Press Enter

You should see: install.sh, cosmos-*.sh files, and directories.

βœ… Perfect! You're in the repository.

⚑ Step 4: Install COSMOS (With Cloud Configuration)

The installer now includes C-MOS initialization, atomic sealer setup, and cloud configuration.

Run the installer:

./install.sh

Press Enter

πŸ†• New in v5.3: Complete Production Setup

The installer will guide you through:

What the installer does:

  1. βœ… Checks Git, Bash, and required tools
  2. βœ… Detects installed languages (Rust, Go, Node, Java, Python)
  3. βœ… Makes all scripts executable with verification
  4. βœ… Creates command shortcuts (c-pulse, c-commit, c-linker, etc.)
  5. βœ… Initializes C-MOS ledger system πŸ†•
  6. βœ… Sets up SOC2-compliant audit trail πŸ†•
  7. βœ… Configures cloud provider and atomic sealer πŸ†•
  8. βœ… Installs git hooks for automatic event recording πŸ†•
  9. βœ… Tests everything works

πŸ” Step 4.1: Cloud Provider Selection (Interactive)

During install, you'll be asked to select your cloud provider. This powers the atomic sealer.

Why Cloud Configuration Matters

The atomic sealer uses your cloud provider to assign globally-unique IDs to events. This ensures:

Supported Providers & Costs:

🌩️ Google Cloud (GCP)
Firestore + Cloud Build
~$3/month (recommended)
Fastest, free tier available
☁️ Amazon Web Services
DynamoDB + CodeBuild
~$5/month
Generous free tier
☁️ Microsoft Azure
Cosmos DB + DevOps
~$25/month
Enterprise option
πŸ’» Local (Development)
File-based counter
Free
Single-machine only

What to do when prompted:

  1. Choose your cloud provider (1-4)
  2. Log in when prompted (gcloud/aws/az)
  3. Allow the installer to create resources
  4. The system will auto-configure the atomic sealer

βœ… Configuration saved to .cosmos.cloud.env and .cosmos.atomic.env

πŸ’‘ Can't choose now? You can always reconfigure later with cosmos-cloud-config-manager setup

πŸŽ‰ Installation Complete!

You now have access to:

Verify installation:

c-pulse

Press Enter

You should see: A formatted table showing the status of all services with language badges, versions, and sync status.

πŸ“‹ Your Complete COSMOS Toolkit

πŸ“Š c-pulse

Real-time status monitor for all services

c-pulse
✏️ c-commit

Save changes with validation, records to C-MOS ledger

c-commit
πŸ§ͺ c-test

Preview a release before creating it

c-test <service>
⚑ c-linker

Execute release with cloud sync and merkle verification

c-linker <service>
πŸ” c-audit

Deep analysis with C-MOS ledger inspection

c-audit <service>
πŸ“ c-issue

Create and manage issues

c-issue
☁️ cosmos-cloud-config-manager

Manage cloud configuration and atomic sealer

cosmos-cloud-config-manager setup
πŸ” cosmos-cmos-verify

Verify C-MOS compliance before release

cosmos-cmos-verify verify

πŸ”§ Supported Languages & Detection

COSMOS automatically detects and validates multiple programming languages plus documentation:

πŸ¦€ Rust
File: Cargo.toml
Check: cargo check
Badge: [RUST]
βš™οΈ Node.js
File: package.json
Check: npm run lint
Badge: [NODE]
πŸ”Ή Go
File: go.mod
Check: go build ./...
Badge: [GO]
β˜• Java (Maven)
File: pom.xml
Check: mvn compile
πŸ“¦ Java (Gradle)
File: build.gradle
Check: gradle build
🐍 Python
File: pyproject.toml
Check: python -m py_compile
πŸ’‘ 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:

What COSMOS did automatically:

  1. Staged your changes
  2. Formatted your message in team standard: docs(scope): your message
  3. Saved it using git
  4. 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:

See your change online:

  1. Open the repository on GitHub
  2. Click "Commits" near the top
  3. Your commit should appear at the very top!

πŸ† You Did It!

You just completed your first real workflow:

That's genuinely impressive! You're now using an industrial-grade development system with:

πŸ“– 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:

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:

🌟 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

4. Labels (optional):
β†’ Add labels like: bug, feature, documentation, help-wanted

βœ… Issue created and visible on GitHub!

πŸ’‘ Pro Tip: Reference issues in commits with #123 to auto-link them. COSMOS will track the relationship in C-MOS.

πŸš€ Creating Your First Release

Releases are the most important part of COSMOS. They coordinate with your entire system to ensure a safe, audited deployment.

⚠️ Important: Releases are Compliance Events

When you create a release, COSMOS performs:

Nothing can go wrong without being detected and recorded.

Preview what will be released:

c-test src/my-service

Press Enter

This shows you the new version and changelog without making any changes.

Review the preview:

βœ… Everything looks good? Proceed to release.

Execute the release:

c-linker src/my-service

Press Enter

πŸ”’ What Happens During Release (Production Grade)

COSMOS runs through a multi-phase release process:

  1. Phase -1: Cloud Availability – Verifies cloud is available (mandatory)
  2. Phase 0: Tombstone Check – Ensures service wasn't previously deleted
  3. Phase 0.5: C-MOS Verification – Runs all 7 compliance guarantees
  4. Phase 1: Input Validation – Checks service path is valid
  5. Phase 2: Pre-Release Snapshot – Captures current state
  6. Phase 3: Git Validation – Ensures no uncommitted changes
  7. Phase 4: Version Calculation – Determines semantic version
  8. Phase 5: Manifest Update – Updates package.json/Cargo.toml
  9. Phase 6: Changelog Generation – Creates release notes
  10. Phase 7: Release Commit – Creates version bump commit
  11. Phase 8: Release Tag – Creates immutable git tag
  12. Phase 9: Post-Release Snapshot – Captures final state with Merkle verification
  13. 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:

βœ… 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:

πŸš€ 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:

Q: What if I see an error?
A: Read it carefullyβ€”most errors tell you exactly what's wrong. Common fixes:

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:

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:

πŸ’­ 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:

πŸŽ“ What's Next?

  1. Practice the c-commit β†’ git push workflow several times
  2. Run c-pulse daily to see the system status
  3. Try making a code change (with validation enabled)
  4. Run c-audit to inspect C-MOS events
  5. When ready, ask your team lead about creating your first real release
  6. Explore c-audit --debug to see what's happening under the hood
  7. Read through cosmos-cmos-verify help to understand the 7 guarantees

You've got this! 🌟

πŸ”§ Complete Command Reference

Daily Commands:

Release Commands:

Administration:

Debugging & Analysis:

Cloud Operations:

Audit & Compliance:

⚑ Quick Reference Guide

First Day Setup (in order):

  1. ./install.sh – Install COSMOS
  2. c-pulse – Verify installation
  3. Make a test change
  4. c-commit – Commit with COSMOS
  5. git push – Push to GitHub
  6. c-audit – Check what was recorded

Before Every Release:

  1. c-test <service> – Preview the release
  2. cosmos-cmos-verify verify – Verify compliance (optional, runs automatically)
  3. Review the changelog and version

Executing a Release:

  1. c-linker <service> – Create release
  2. Wait for all 13 phases to complete
  3. git push --follow-tags – Push tags to GitHub
  4. GitHub Actions picks up the tag and deploys

When Something Goes Wrong:

  1. c-audit <service> – See what happened
  2. c-audit --debug – Get more details
  3. cosmos-cmos-verify verify – Check compliance status
  4. Ask your team lead – everything is recorded and recoverable

Weekly/Monthly Tasks:

🎯 By the Numbers: What COSMOS Does

Every Commit:

Every Push:

Every Release:

Every Month:

🌍 Cloud Provider Costs (Monthly Estimate)

Assuming 1000 events per day (typical team):

Google Cloud Platform (Recommended)

Amazon Web Services

Microsoft Azure

Local (Development)

πŸ’‘ 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:

  1. Global Total Ordering – Events are strictly ordered (no ties or conflicts)
  2. 50ms Deterministic Finality – Any validation completes in ≀50ms (enforced mechanically)
  3. Immutable Append-Only Evidence – Ledger is write-once, no deletions allowed
  4. Deterministic Stateless Validation – Same input always produces same output
  5. Recorded Negative Flow – Failures and rollbacks are tracked
  6. Decoupled Read Model – Audit trail is separate from operational data
  7. 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:

Run cosmos-cmos-verify help to learn more about each guarantee.

πŸŽ“ Learning Path

Week 1: Get Comfortable

Week 2: Go Deeper

Week 3: Create a Release

Month 2+: Advanced Topics

πŸš€ You're Ready!

You now have everything you need to:

πŸŽ‰ 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:

External Resources:

File Issues When:

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:

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