Skip to content

ELCODE Forge v0.9.0 — Collaborative Team Intelligence, Remote Sync & Forge Server

Choose a tag to compare

@luksluki luksluki released this 23 Oct 22:59
· 34 commits to main since this release
7ddf60f

ELCODE Forge (eforge) v0.9.0 — Collaborative Team Intelligence, Remote Sync & Forge Server

Tagline: Know your code. Ship with confidence.
Studio: ELCODE (Independent Software Studio — Bandung, Indonesia)


What's New in v0.9.0 (Phase 9 Completed)

1. Remote Sync Protocol & CLI Client (crates/forge-core & crates/forge-cli)

  • Content-Addressed Sync Protocol: BLAKE3 content-addressed manifest hashing, delta-sync IR structures, and secure multi-server credential store (~/.eforge/credentials.yaml) with permission isolation.
  • Team CLI Commands:
    • eforge login: Authenticate with remote Forge Server and store credentials securely.
    • eforge push: Upload local repository analysis snapshots as a team baseline.
    • eforge pull: Fetch remote baseline snapshot to local cache (.eforge/baseline.json).
    • eforge sync: Bidirectional delta sync comparing local modifications with the remote baseline.
    • eforge auth status | logout: Inspect active server sessions and masked tokens.
  • Remote Cache Sharing & CI Blast Radius:
    • Ingest pre-computed remote AST and dependency index bundles to accelerate local CI and cold checkout scans.
    • eforge diff --remote: Remote baseline change impact analysis comparing working tree against server baseline without requiring local Git history.

2. Self-Hostable Synchronization Backend (crates/forge-server)

  • High-Performance Architecture: Axum HTTP API with zero-panic design, dual-backend persistence (embedded SQLite for zero-setup local/small teams, PostgreSQL 16 for production high-throughput clusters).
  • Authentication & Security: JWT session token issuance and validation, constant-time SHA-256 API key authentication, and role-based route protection.
  • Project Workspace Registry & Multi-Branch History:
    • Workspace registry tracking active branches, commit revisions, and real-time health scores.
    • Historical trend retention computing statistical score deltas, dimension trends, and directional trajectory (Improving, Degrading, Stable).
  • Real-Time Outbound Webhooks:
    • Automated HMAC-SHA256 signature generation (X-Forge-Signature: sha256=<hex>).
    • Pre-formatted payloads for Slack, Discord, and custom JSON HTTP endpoints.
    • Event triggers on snapshot pushes, health score degradation, and critical security vulnerabilities.

3. Containerization, Cloud-Native Deployment & Operational Runbook

  • Production Docker Containers:
    • Dockerfile.server: Multi-stage static unprivileged Alpine container (< 30 MB) running as UID 10001 with native /api/v1/health probes.
    • Dockerfile.dashboard: Optimized SvelteKit SPA container served via Nginx.
    • docker-compose.yml: 1-command startup orchestrating Forge Server, Dashboard, PostgreSQL, and MinIO storage.
  • Kubernetes Manifests (deploy/k8s/): Rolling updates, non-root security context, read-only root filesystems, secret/config management, and ingress rules.
  • Self-Hosting Documentation (docs/SELF_HOSTING.md): Operational runbook covering hardware sizing, PostgreSQL tuning, air-gapped installation, SSL reverse proxy configuration (Nginx & Caddy), and backup/restore procedures.

4. Web Intelligence Dashboard Team Cloud Mode (apps/dashboard)

  • Dual-Mode Intelligence Switcher: Seamless live toggle between Local File Mode and Team Cloud Mode with server connection testing and status badges.
  • Project Switcher Portfolio Grid (/projects): Studio-wide portfolio view showing registered repositories, latest health score rings, branch indicators, and commit metadata.
  • PR Baseline Diff Inspector (/compare): Side-by-side architectural diff of PR branches against production baselines, detailing added findings, resolved findings, and dimension score shifts.

5. Verification & Quality Gates

  • Forge Server CI Workflow (.github/workflows/ci-server.yml): Automated testing against embedded SQLite and live PostgreSQL 16 container service.
  • End-to-End Sync Test (crates/forge-cli/tests/sync_e2e_test.rs): In-process background server integration verifying login, push, pull, sync delta calculation, and logout.
  • Monorepo Version Bump: Synchronized v0.9.0 across all Rust workspace crates, TypeScript packages, schemas, and CLI wrappers.