🌟 COSMOS: Your Complete Welcome Guide v5.2

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.

What is COSMOS? A universal 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 membrane generation πŸ†•
  6. Set up cloud infrastructure (optional) πŸ†•
  7. Configure issue tracking (optional) πŸ†•
  8. Make a change and commit it
  9. Create and manage issues
  10. Preview and execute a release

Time needed: 45-60 minutes for complete setup

What you'll learn: The full professional development workflow

πŸ“ 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.

πŸ’» 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/your-org/your-repo.git

βœ… Replace with your actual repository URL!

Press Enter

Move into the folder:

cd your-repo

Press Enter

Verify you're in the right place:

ls

Press Enter

You should see: install.sh, various .sh files, and directories.

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

⚑ Step 4: Install COSMOS (With Intelligent Features)

The installer now includes membrane generation, cloud setup, and issue tracking.

Run the installer:

./install.sh

Press Enter

πŸ†• New in v5.2: Interactive Setup Wizard

The installer will guide you through:

What the installer does:

  1. βœ… Checks Git and Bash are installed
  2. βœ… Detects optional tools (Rust, Go, Node, Java, Python, fzf)
  3. βœ… Makes all scripts executable with verification
  4. βœ… Creates command shortcuts (c-pulse, c-commit, etc.)
  5. βœ… Offers membrane generation πŸ†•
  6. βœ… Offers cloud infrastructure setup πŸ†•
  7. βœ… Offers issue tracking configuration πŸ†•
  8. βœ… Tests everything works

🧠 Step 4.1: Membrane Generation (Recommended)

The installer will ask: "Generate .cosmos-membrane.json?"

What is the Membrane?

The membrane is a global ecosystem configuration that:

When prompted, type y to generate:

The installer will:

  1. Detect your organization from git remote
  2. Scan all repositories (via adapter or GitHub API)
  3. Analyze languages, versions, and structure
  4. Generate .cosmos-membrane.json
  5. Cache to ~/.cosmos/membrane.json

βœ… Membrane created! This powers all intelligent features.

πŸ’‘ Pro Tip: If you have fzf installed, COSMOS will use it for fuzzy repository search with interactive selection!

☁️ Step 4.2: Cloud Infrastructure Setup (Optional)

The installer will ask: "Configure cloud infrastructure?"

Why Configure Cloud?

COSMOS integrates with your cloud provider to:

Supported Providers:

🌩️ Google Cloud (GCP)
Artifact Registry + Cloud Build
us-central1-docker.pkg.dev
☁️ Amazon Web Services
ECR + CodeBuild
*.dkr.ecr.*.amazonaws.com
☁️ Microsoft Azure
Container Registry + DevOps
*.azurecr.io
πŸ‹ Docker Hub
Public/Private registries
docker.io

When prompted, type y to configure:

GCP Setup

  1. Select provider: 1 (GCP)
  2. Enter GCP Project ID: veps-service-480701
  3. Choose region: us-central1
  4. Enter repository name: vepsservice07-stack
  5. Optionally create repository with gcloud

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

πŸ’‘ First-time users: You can skip this and configure later with c-cloud-setup

πŸ“‹ Step 4.3: Issue Tracking Setup (Optional)

The installer will ask: "Configure issue tracking?"

Why Configure Issues?

COSMOS includes a powerful issue management system with:

Supported Platforms:

GitHub Issues
Uses gh CLI
Auto-authenticated
GitLab
Requires PAT
Self-hosted support
Jira
Email + API token
Cloud & Server
Linear
API key + team ID
Modern workflow

When prompted, type y to configure:

Example: GitHub Issues

  1. Select provider: 1 (GitHub)
  2. System detects gh authentication βœ“
  3. Configuration auto-completes

βœ… Saved to .cosmos.issue.env

βœ… Issue templates created in .cosmos/issue-templates/

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

Membrane-aware status monitor showing all services with intelligent discovery

c-pulse
✏️ c-commit

Save changes with automatic validation and conventional formatting

c-commit
πŸ§ͺ c-test

Preview a release before creating itβ€”shows version and changelog

c-test <service>
⚑ c-linker

Cloud-aware release orchestration with GitHub Actions coordination

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

Deep analysis of services with manifest awareness

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

Create and manage issues with intelligent repository discovery

c-issue
☁️ c-cloud-setup

Configure or reconfigure cloud infrastructure

c-cloud-setup
πŸ—‚οΈ cosmos-init.sh

Create cosmos.json manifest for documentation projects

cosmos-init.sh

πŸ”§ 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. It also supports cosmos.json for documentation-only projects!

✏️ Step 6: 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/roxy-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 7: Commit with COSMOS

This is where COSMOS makes your life easier. It validates, formats, and saves your changes properly.

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. "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 did automatically:

  1. Staged your changes
  2. Formatted your message in team standard: docs(scope): your message
  3. Saved it using git

πŸš€ Step 8: Share With the Team

Upload your change to GitHub so everyone can see it.

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!

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!

πŸ“– Your Daily Workflow

Now you know the four-step workflow you'll use every day:

1. Navigate to your code:

cd ~/Code/roxy-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.).

4. Share with team:

git push

That's it! Four simple steps instead of remembering all the git commands.

πŸš€ Ready for More?

Once you're comfortable with the basics, you can explore:

Check overall status:

c-pulse

Shows all services, their versions, and release status

Preview a release:

c-test src/your-service

See what version and changelog would be created (no changes made)

Create a release:

c-linker src/your-service

Release a service version with automatic constraint checking and GitHub Actions coordination. Then push with git push --follow-tags

Deep analysis:

c-audit src/your-service

See detailed history and version information

πŸ’‘ Tip: Ask your team lead before trying releasesβ€”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.

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.

Q: What does c-linker do?
A: It coordinates releases with GitHub Actions. It checks that security scans pass, validates dependencies, and creates release tags. Your workflow triggers the AP (Application Plane) workflow to build Docker images and sign them.

Q: What is cosmos.json?
A: An optional manifest file for documenting projects and custom types. Create it later with cosmos-init.sh when you're ready.

Q: Who do I ask for help?
A: Your team lead or team chat. Everyone was new onceβ€”asking questions is normal!

πŸ’­ Remember

Take your time: No rush. Go at your own pace.

You can't break anything: Seriously. Worst case is an error message and you try again.

Every expert started here: Every great developer was once typing their first terminal command.

You're doing great: If you made it this far, you're already learning!

πŸŽ“ What's Next?

  1. Practice the c-commit β†’ git push workflow several times
  2. Explore c-pulse to see the full project status
  3. Try making a code change (with validation enabled)
  4. Learn about c-test for previewing releases
  5. When ready, ask your team lead about using c-linker
  6. Create a cosmos.json manifest with cosmos-init.sh

You've got this! 🌟


COSMOS Multi-Language Quick Start Guide v2.3
Updated with Manifest-Aware Edition & Defensive Installation