Congratulations! You've mastered COSMOS. Now it's time to apply those skills to the ROXY-SYSTEMS codebase.
You should already know how to:
git clone to download codec-commit to save changesgit push to share codeIf any of that is fuzzy, review the COSMOS guide first.
Navigate and clone:
Move into the directory:
Verify the structure:
You should see docker/, kubernetes/, deployment/, src/, tests/ directories and setup files.
ROXY-SYSTEMS enforces COSMOS usage. Set it up:
This checks COSMOS, detects your languages, and installs git hooks that prevent bypassing COSMOS.
Verify everything works:
You should see a formatted table of all services with their versions and status.
See the entire ecosystem:
Check the actual directory structure:
You'll see:
Look at src/ to find your service:
This shows you the application code you can edit.
Where you can safely edit:
For your first change, edit something in src/:
Look at what's there:
Open your editor:
Make a small, safe change: Update a comment, add documentation, or modify a string. Keep it simpleβyou're learning the workflow.
β οΈ DO NOT EDIT DOCKER OR KUBERNETES FILES YET. Ask your team lead before touching those.
Return to terminal when done.
Before committing, ensure your code compiles:
Synapse Core (Rust):
WebUI (Node.js):
Scheduler (Go):
System Services (Java/Python):
Success looks like: "Finished successfully" or no errors. If you see errors, fix them and try again.
Navigate back to repo root:
Run the commit tool:
Answer the prompts:
1 (feat), 2 (fix), 4 (docs), etc.y to confirmPush your code to GitHub:
Visit GitHub to see your commit in the activity feed. Your name is now in the team's code history!
ROXY-SYSTEMS is an enterprise monorepo containing microservices, containerization, orchestration, and deployment infrastructure:
roxy-systems/ βββ docker/ (Container images) β βββ Dockerfile.synapse β βββ Dockerfile.webui β βββ Dockerfile.scheduler β βββ Dockerfile.system1-3 βββ kubernetes/ (Orchestration) β βββ base/ (Core configs) β β βββ synapse-core.yaml β β βββ webui.yaml β β βββ scheduler.yaml β β βββ systems.yaml β βββ overlays/ (Env-specific) β β βββ dev/ β β βββ staging/ β β βββ production/ β βββ monitoring/ (Observability) βββ deployment/ (Release tools) β βββ deploy.sh β βββ validate.sh β βββ rollback.sh β βββ config/ βββ src/ (Application code) βββ tests/ (Test suite) βββ README.md
Key directories:
Key architectural points:
Preview a release (non-destructive):
Example:
Execute a release (team lead only, with approval):
Then push the release tags:
How releases work:
c-test creates a release candidate and validates it across all environmentsc-linker finalizes the release and creates immutable git tagsgit push --follow-tags shares the release with the entire teamdeployment/ scripts then use these tags to deploy to kubernetesc-commit, never git commit. The repo blocks direct commits.
git rebase, git reset --hard, or git push --force.
c-linker.
src/ and tests/ directories. Never edit docker/, kubernetes/, or deployment/ without explicit team lead approval.
Q: "command not found: c-commit"
A: COSMOS isn't installed. Go to https://cosmos-welcome.roxy.systems to install or reinstall COSMOS.
Q: My validation failed and I can't commit
A: Fix the errors (run cargo check, npm run lint, etc.) then try c-commit again.
Q: I need to skip validation (docs update)
A: Use c-commit --no-verify or c-commit -n
Q: "This commit would override history"
A: Someone pushed before you. Run git pull, merge, then git push again.
Q: How do I undo my last commit?
A: Ask your team lead. It depends on whether it's been pushed.
Q: I edited docker/ or kubernetes/ by mistake
A: Don't commit it! Use git checkout -- docker/ or git checkout -- kubernetes/ to revert, then ask your team lead if the change was necessary.
Q: Things are broken and I don't know what to do
A: Visit https://cosmos-welcome.roxy.systems for helpβit has detailed troubleshooting guides and reinstall instructions.
SETUP.md for project-specific detailsgit log --oneline -20README.md for detailed architecture documentationYou now understand:
Welcome to the ROXY-SYSTEMS team! You're ready to contribute real code. Start small, ask questions, and grow from there. π