Get started with VersionGuard in 5 minutes, tailored to your role.
- IRIS Quick Start
- NEXUS Quick Start
- BOLT Quick Start
- FORGE Quick Start
- CLIO Quick Start
- PORTER Quick Start
- Common Commands
Why VersionGuard Matters to You: You requested this tool after losing 2 hours to Socket.IO v4/v5 incompatibility. Never again.
# Clone to your tools directory
cd C:\Users\logan\OneDrive\Documents\AutoProjects
# VersionGuard is already here!Before starting ANY development session:
# Check your project
cd path/to/your/project
python "C:\Users\logan\OneDrive\Documents\AutoProjects\VersionGuard\versionguard.py" scan .COMPATIBLE → Proceed with development
WARNING → Review warnings, then proceed carefully
INCOMPATIBLE → STOP! Resolve issues first, notify FORGE
Add to your PowerShell profile:
function versionguard { python "C:\Users\logan\OneDrive\Documents\AutoProjects\VersionGuard\versionguard.py" $args }Now just use:
versionguard scan .1. Receive development task
2. Run: versionguard scan ./project
3. If INCOMPATIBLE → Stop, notify via Synapse
4. If OK → Start development
Why VersionGuard Matters to You: Catch dependency issues before they manifest as confusing runtime errors.
Create .vscode/tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"label": "Check Version Compatibility",
"type": "shell",
"command": "python",
"args": [
"C:\\Users\\logan\\OneDrive\\Documents\\AutoProjects\\VersionGuard\\versionguard.py",
"scan",
"${workspaceFolder}"
],
"group": "build",
"presentation": {
"reveal": "always"
}
}
]
}Press Ctrl+Shift+P → "Tasks: Run Task" → "Check Version Compatibility"
In launch.json, add preLaunchTask:
{
"name": "Debug with Version Check",
"type": "node",
"request": "launch",
"preLaunchTask": "Check Version Compatibility"
}1. Open project in VS Code
2. Run version check task (Ctrl+Shift+B if configured)
3. Review output panel
4. Proceed with development
Why VersionGuard Matters to You: Prevent failed builds due to version incompatibilities.
#!/bin/bash
# build.sh
echo "=== Version Compatibility Check ==="
python versionguard.py scan . --json -o .versionguard.json
if grep -q '"status": "incompatible"' .versionguard.json; then
echo "BUILD BLOCKED: Version incompatibilities!"
python versionguard.py scan .
exit 1
fi
echo "Version check passed"
rm .versionguard.json
# Continue with build...
npm install
npm run build# .github/workflows/build.yml
jobs:
build:
steps:
- name: Version Check
run: |
python versionguard.py scan . --json -o report.json
if grep -q '"incompatible"' report.json; then exit 1; fi - name: Upload Version Report
uses: actions/upload-artifact@v3
with:
name: version-report
path: report.json
if: always()1. Build triggered
2. Run version check first
3. If INCOMPATIBLE → Fail build immediately
4. If OK → Continue pipeline
Why VersionGuard Matters to You: Validate task environments before assigning work to agents.
from pathlib import Path
from versionguard import VersionGuard, CompatibilityStatus
def validate_before_assignment(task: dict) -> bool:
"""Check project compatibility before assigning task."""
project = task.get("project_path")
if project:
guard = VersionGuard(Path(project))
guard.scan_project()
guard.check_compatibility()
report = guard.generate_report()
if report.status == CompatibilityStatus.INCOMPATIBLE:
# Log blocker
print(f"[FORGE] Task blocked: {report.summary}")
return False
return TrueWhen receiving task requests:
def process_task_request(task_request):
# Validate environment first
if not validate_before_assignment(task_request):
# Return task to queue with "BLOCKED" status
task_request["status"] = "BLOCKED"
task_request["blocker"] = "version_incompatibility"
return task_request
# Assign to agent
assign_to_agent(task_request)1. Receive task request
2. Validate project with VersionGuard
3. If INCOMPATIBLE → Block task, request resolution
4. If OK → Assign to appropriate agent
Why VersionGuard Matters to You: Track "Clean Stack" achievements and version hygiene.
from pathlib import Path
from versionguard import VersionGuard, CompatibilityStatus
def check_clean_stack(project_path: str) -> dict:
"""Award Clean Stack trophy for compatible projects."""
guard = VersionGuard(Path(project_path))
guard.scan_project()
guard.check_compatibility()
report = guard.generate_report()
return {
"trophy": "CLEAN_STACK_TROPHY",
"awarded": report.status == CompatibilityStatus.COMPATIBLE,
"points": 25 if report.status == CompatibilityStatus.COMPATIBLE else 0,
"details": {
"frontend_deps": len(guard.frontend_deps),
"backend_deps": len(guard.backend_deps),
"issues": len(guard.issues)
}
}def audit_all_projects(project_dirs: list) -> dict:
"""Generate compatibility report for all projects."""
results = {}
for project in project_dirs:
guard = VersionGuard(Path(project))
guard.scan_project()
guard.check_compatibility()
report = guard.generate_report()
results[project] = {
"status": report.status.value,
"issues": len(guard.issues)
}
return results1. Periodically audit all projects
2. Award Clean Stack trophies
3. Track version hygiene trends
4. Report to team
Why VersionGuard Matters to You: Mobile development often involves complex native + JS version requirements.
# Check your mobile project
cd your-mobile-app
python versionguard.py scan .- React Native version vs React version
- Native module compatibility
- iOS/Android SDK version requirements
# Before building
python versionguard.py scan . --json -o .version-check.json
cat .version-check.json | grep status1. Before any mobile build
2. Run version check
3. Watch for React/React Native mismatches
4. Proceed when clear
# Current directory
python versionguard.py scan .
# Specific path
python versionguard.py scan ./my-project
# With JSON output
python versionguard.py scan . --json -o report.json# Frontend + Backend combo
python versionguard.py check -f socket.io-client@4.7.2 -b python-socketio@5.8.0
# Multiple frontend packages
python versionguard.py check -f react@18.2.0 -f react-dom@17.0.0# See the Socket.IO issue that started it all
python versionguard.py demo| Status | Meaning | Action |
|---|---|---|
COMPATIBLE |
All clear | Proceed |
WARNING |
Potential issues | Review, then proceed |
INCOMPATIBLE |
Critical issues | STOP, resolve first |
UNKNOWN |
No deps found | Check file paths |
- Make sure you're in the right directory
- Check for
package.json,requirements.txt, orpyproject.toml - Files in
node_modulesare ignored
Use full path:
python "C:\Users\logan\OneDrive\Documents\AutoProjects\VersionGuard\versionguard.py" scan .Or create an alias (see IRIS Quick Start).
- Check
EXAMPLES.mdfor detailed examples - Check
README.mdfor full documentation - Contact ATLAS via SynapseLink
VersionGuard - Pre-validate. Don't waste time.