Skip to content

Releases

ELCODE Forge v1.2.0 — Phase 11 Polyglot Precision, OSV Intelligence & Server Hardening

Choose a tag to compare

@luksluki luksluki released this 17 Nov 06:45
4a26d44

Summary of v1.2.0 Release

ELCODE Forge \�1.2.0\ (Phase 11) introduces comprehensive hardening across the parser, analyzer, security scanner, auto-fix engine, and backend server layers:

  • Quote-Aware Config Parsing & Per-File Findings Cache Contract (#257):
    • Robust #\ comment stripping preserving inline hashes inside quoted strings and comments.
    • Standardized \FileFindingsCache\ (.eforge/cache/file_findings_index.json) for file-level findings preservation.
  • UTF-8 & Multiline Import Robustness (#258):
    • Robust regex patterns handling multiline TypeScript/JavaScript imports (\import {\n A,\n B\n} from 'pkg').
    • Safe byte-index UTF-8 comment slicing preventing multi-byte char-boundary panics.
  • TsConfig Path Aliases & Monorepo PHP Parity (#259):
    • Seamless resolution of \ sconfig.json\ path aliases (@/, $lib/, ~/*) without leaking internal paths as external npm packages.
    • Monorepo package boundary inference (\�pps/, \packages/).
    • Full PHP incremental AST caching and architecture graph assembly parity on Laravel projects.
  • Live OSV.dev HTTP Batch Client & Advisory Cache (#260):
    • Live OSV.dev batch querying (\OsvBatchRequest) with bounded reader (4 MiB max) and timeouts.
    • Automatic stub hydration and 24-hour cache TTL for offline-first local audits.
    • Added --offline\ flag to \eforge security\ audit pipeline.
  • Incremental Security Findings Retention & JSON-Safe Autofix (#261):
    • Incremental \eforge scan\ retains cached security findings for untouched files and skips redundant scanning on 0-change runs.
    • Trailing comma removal in \package.json\ when removing the final dependency via \eforge fix.
    • Non-destructive comment-out fallback marked \is_safe_automated: false.
  • Server CORS Allowlist & Asymmetric JWKS Hardening (#262):
    • Configurable \EFORGE_CORS_ALLOWED_ORIGINS\ replacing permissive wildcard defaults.
    • Outbound SSRF URL validation (\is_safe_jwks_url) restricting JWKS endpoints to HTTPS or loopback HTTP.
    • Asymmetric RSA algorithm enforcement (\RS256/384/512) rejecting symmetric algorithms/keys and enforcing expiration checks.
  • Phase 11 End-to-End Regression Suite (#263):
    • Added comprehensive \phase11_hardening_e2e.rs\ covering all Phase 11 invariants.

ELCODE Forge v1.1.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 14:07
d539a41

What's Changed

  • docs(deploy): GitHub Pages deployment workflow & comprehensive documentation expansion by @luksluki in #242
  • docs: deploy GitHub Pages documentation portal & content expansion by @luksluki in #243
  • docs(static): enable full route prerendering, .nojekyll and 404 fallback for GitHub Pages by @luksluki in #244
  • docs(static): sync full prerendering and .nojekyll to main by @luksluki in #245
  • docs(portal): expand apps/docs with installation, configuration, 34 CLI commands, and accurate specs by @luksluki in #246
  • docs(release): promote comprehensive apps/docs expansion & configuration reference to main by @luksluki in #247
  • feat(docs): redesign documentation portal with Tailwind Plus Syntax theme by @luksluki in #248
  • release(docs): deploy Tailwind Plus Syntax documentation portal to main by @luksluki in #249
  • feat(eforge): implement v1.1 tactile TUI, codeframe, watch, autofix, temporal trend, simulate, topology inference, and closed-loop MCP tools by @luksluki in #250
  • release(v1.1): tactile instrument TUI, codeframe, watch radar, surgical autofix, temporal trend, simulate, topology inference, and closed-loop MCP by @luksluki in #251
  • chore(release): bump workspace to v1.1.0, update README and docs portal by @luksluki in #252
  • release(v1.1.0): Tactile Instrument, Active Remediation & Graph Heuristics by @luksluki in #253

Full Changelog: v1.0.0...v1.1.0

ELCODE Forge v1.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 07:50
33335b3

What's Changed

  • feat(forge-rules): implement policy-as-code gate evaluation engine & policy schema by @luksluki in #232
  • feat(forge-cli): implement eforge policy check command & gate exit codes by @luksluki in #233
  • feat(forge-security): implement automated compliance audit engine & eforge audit by @luksluki in #234
  • feat(forge-server): implement multi-repo organization aggregator & materialized rollups by @luksluki in #235
  • feat(forge-server): implement enterprise auth, RBAC & append-only audit logging by @luksluki in #236
  • feat(dashboard): implement enterprise governance UI, policy editor & portfolio rollups by @luksluki in #237
  • ci(security): configure SLSA Level 3 build provenance & verification guide by @luksluki in #238
  • chore(release): enterprise benchmarks, docs site & v1.0.0 GA release by @luksluki in #239
  • Release v1.0.0 — Phase 10: Enterprise Governance, Policy-as-Code & General Availability by @luksluki in #240

Full Changelog: v0.9.0...v1.0.0

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
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.

ELCODE Forge v0.8.0 — Deep Security & Supply-Chain Durability

Choose a tag to compare

@luksluki luksluki released this 22 Oct 16:07

ELCODE Forge (\eforge) v0.8.0 — Deep Security & Supply-Chain Durability

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

What's New in v0.8.0

  1. OSV Dependency Vulnerability Audit (\eforge security --audit):
    • Offline & local-first vulnerability auditing across npm, PyPI, Go, Cargo, and Packagist/Composer.
    • Embedded advisory database and .eforge/cache/osv/\ with CVSS severity scoring, CVE/GHSA links, and recommended upgrade versions.
    • Deterministic OASIS SARIF v2.1.0 JSON exports with \security-severity\ scores for native GitHub Code Scanning tab integration.
  2. Software Bill of Materials (SBOM) Generation (\eforge sbom):
    • Generates compliant CycloneDX v1.5 JSON (--format cyclonedx) and SPDX v2.3 JSON (--format spdx).
    • Canonical Package URLs (PURL) across all language packaging models (\pkg:npm/, \pkg:cargo/, \pkg:pypi/, \pkg:golang/, \pkg:composer/).
    • Deterministic BLAKE3 serial numbers (\urn:uuid:...) for immutable supply chain compliance.
  3. Open-Source License Compatibility & Copyleft Policy Enforcement:
    • Multi-tiered license classifier (\Permissive, \WeakCopyleft, \StrongCopyleft, \Proprietary, \Unknown).
    • Integrated license inventory in \eforge dependencies\ and health score policy enforcement in \eforge scan.
    • \license.disallow_copyleft, \license.allowlist, and \license.denylist\ policies declared in \eforge.config.yaml.
  4. Shannon Entropy Secret Scanner & Verified Credential Recognition:
    • Shannon entropy engine ((H(X) = -\sum P(x) \log_2 P(x))) identifying unclassified high-entropy API secrets (\security/high-entropy-secret).
    • Verified cloud credential patterns (AWS Access Keys, GitHub classic/fine-grained PATs, Slack bot/user tokens, OpenAI keys, Anthropic keys).
    • Mandatory *REDACTED*\ masking across all finding evidences and reports.
    • Configurable path allowlist (\security.allowlist) and automatic lockfile exclusion.
  5. Web Intelligence Dashboard Enhancements (\�pps/dashboard):
    • Security & Vulnerability Screen (/security) with KPI cards, CVE/GHSA advisory inspector, and 1-click upgrade remediation commands.
    • Open-Source License Distribution Bar & summary in /dependencies.
    • Browser 1-click download exporter for CycloneDX v1.5 JSON and SPDX v2.3 JSON.
  6. Authoritative Security Guide (\docs/SECURITY_GUIDE.md):
    • Comprehensive guide for local-first vulnerability audits, SBOM exports, license compliance, and GitHub Actions SARIF policy gates.

ELCODE Forge v0.7.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 11:56
50cc4de

What's Changed

  • feat(distribution): rename npm package to elcode-forge and sync v0.6.0 release checksums by @luksluki in #147
  • chore: sync npm package elcode-forge, publish workflow, and v0.6.0 release checksums by @luksluki in #148
  • feat(forge-analyzer): pyproject.toml, requirements.txt, and lockfile dependency parsers (closes #150) by @luksluki in #161
  • feat(forge-analyzer): Python import graph extractor, module resolver & cycle detector by @luksluki in #162
  • feat(forge-security): Python unsafe pattern rules, framework detectors & fixtures/fastapi-app by @luksluki in #163
  • feat(forge-analyzer): go.mod manifest parser, Go import extractor & Gin/Echo detectors by @luksluki in #164
  • feat(forge-analyzer): Cargo.toml workspace dependency parser & Rust module graph extractor by @luksluki in #165
  • test(fixtures): curated Go (fixtures/go-service) and Rust (fixtures/rust-cli) test repositories by @luksluki in #166
  • feat(forge-analyzer): polyglot repository scanner and unified architecture graph builder by @luksluki in #167
  • feat(dashboard): multi-ecosystem dependency viewer and language badge filter by @luksluki in #168
  • test(e2e): multi-language integration test suite, documentation updates & v0.7.0 release prep by @luksluki in #169
  • feat(forge-analyzer): composer manifest parser, dependency health & lockfile hygiene for PHP by @luksluki in #174
  • feat(forge-analyzer): PHP namespace & use import graph, cycle detection & security pattern scanner by @luksluki in #175
  • feat(fixtures): curated Laravel fixture (fixtures/laravel-app), polyglot integration & dashboard PHP badge by @luksluki in #176
  • Release v0.7.0 — Multi-Language Expansion & PHP/Laravel Intelligence by @luksluki in #177

Full Changelog: v0.6.0...v0.7.0

ELCODE Forge v0.6.0 - Git Hooks, Terminal UX Modernization & Zero-Install Distribution

Choose a tag to compare

@luksluki luksluki released this 21 Oct 03:56
8240823

ELCODE Forge (eforge) v0.6.0

Know your code. Ship with confidence.
"Software should feel like an instrument, not a compromise." — "Deterministic before generative."

We are proud to release ELCODE Forge v0.6.0, marking the complete delivery of Phase 6 (Git Hooks, Terminal UX Modernization & Zero-Install Distribution) under the ELCODE Studio Manifesto.

With v0.6.0, engineering teams gain native Git hooks with sub-200ms staged-diff scanning, a modernized terminal UX with rich ANSI themes and health score meters, and friction-free zero-install distribution via npx @elcode-forge/cli, standalone shell/PowerShell installers, and Homebrew tap.


Highlights in v0.6.0 (Phase 6 Completed)

1. Native Git Hooks Engine (Phase 6A, Epic #129)

  • Hooks Schema & Lifecycle (forge-core & forge-git):
    • Declarative Git hooks configuration via hooks block in eforge.config.yaml (pre-commit, pre-push, commit-msg).
    • Safe hook scripts installation into .git/hooks/ with automated backup of existing non-eforge hooks (.backup).
    • Multi-tier bypass detection supporting standard environment variables (EFORGE_SKIP_HOOKS=1, GIT_EXEC_PATH, --no-verify).
  • CLI Subcommand eforge hook (forge-cli):
    • eforge hook install [--hook-types pre-commit,pre-push,commit-msg]: Installs POSIX-compliant shell wrappers into the target Git repository.
    • eforge hook run <HOOK_TYPE> [--dry-run]: Executes fast pre-commit inspection or full pre-push scan.
    • eforge hook uninstall: Safely restores original user hooks from backups.
    • eforge hook status: Displays hook installation status and active lifecycle stages.
    • Sub-200ms staged-diff scanner filtering uncommitted/staged files against active declarative and built-in rules.

2. Terminal UX Modernization (Phase 6B, Epic #132)

  • TTY-Aware ANSI Theme & Score Meter (theme.rs):
    • Zero-dependency ANSI styling system automatically respecting NO_COLOR, non-TTY streams, and CI environments.
    • Visual 10-segment health score meter ([████████░░] 82/100) with color gradients reflecting repo health.
    • Consistent ELCODE brand badges, severity badges, confidence indicators, and actionable diagnostic boxes.
  • Rich Terminal Formatters (formatters/terminal.rs):
    • Milestone progress headers with microsecond-level timing and execution metrics.
    • Snippet evidence viewer with line numbering, file location links, and highlighted problematic tokens.
    • Structured summaries for eforge scan, eforge review, eforge rules list, and eforge doctor.

3. Zero-Install Distribution & Multi-Platform Delivery Suite (Phase 6C, Epic #135)

  • Zero-Install npm Package @elcode-forge/cli (packages/forge-cli-npm/):
    • Seamless npx @elcode-forge/cli scan execution without requiring a pre-installed Rust toolchain.
    • Dynamic platform and architecture resolution (Linux x86_64, macOS Apple Silicon / Intel, Windows x86_64).
    • SHA256 checksum verification against official release manifests and local caching in ~/.eforge/bin/.
  • Universal Installers & Package Registry Support:
    • Standalone POSIX script scripts/install.sh for Linux and macOS with custom --prefix support.
    • PowerShell script scripts/install.ps1 for Windows with automated User PATH registration.
    • Homebrew tap formula packaging/homebrew/eforge.rb for macOS / Linuxbrew users.
    • Direct binary installation via cargo-binstall configured in root Cargo.toml.
  • E2E Integration Testing & Documentation:
    • Comprehensive Git hooks integration test suite in crates/forge-cli/tests/hooks_e2e.rs.
    • Updated README.md with zero-install commands, hook setup guides, and cross-platform installation matrices.
    • Synchronized workspace version 0.6.0 across Rust crates and npm packages.

Verification & Self-Dogfooding

  • Test Suite: All automated unit and integration tests passing cleanly across the workspace.
  • Zero Linter Warnings: cargo fmt, cargo clippy --all-targets -- -D warnings, pnpm run check, pnpm run lint all exit code 0.
  • Self-Dogfooding Health Score: eforge doctor executes in <100ms with 0 warnings, and eforge scan passes with 100% compliance.

ELCODE Forge v0.5.0 — Ecosystem & Declarative Custom Rules Engine

Choose a tag to compare

@luksluki luksluki released this 21 Oct 01:06
2318ff3

ELCODE Forge (eforge) v0.5.0

Know your code. Ship with confidence.
"Software should feel like an instrument, not a compromise." — "Deterministic before generative."

We are proud to release ELCODE Forge v0.5.0, marking the complete delivery of Phase 5 (Ecosystem & Declarative Custom Rules Engine).

With v0.5.0, engineering teams can define custom architectural boundaries, enforce file naming and test companion policies, restrict dependencies, and catch anti-patterns declaratively in YAML without writing custom compiler plugins or recompiling binaries.


Highlights in v0.5.0 (Phase 5 Completed)

1. Declarative Custom Rule Schema & Deterministic Matchers (Epic #109)

  • Declarative Rule Engine (crates/forge-rules): Project-specific rules defined in .eforge/rules/*.yaml or inside eforge.config.yaml with schema validation and strict type safety.
  • 6 Deterministic Matchers:
    • forbidden_imports: Enforces architecture boundaries via BFS import-graph traversal (e.g. prevent direct DB access in UI layers).
    • required_companion: Guarantees companion files exist (e.g. ensure all services have matching .test.ts files).
    • file_naming: Enforces naming conventions (kebab-case, PascalCase, camelCase, snake_case) using glob patterns.
    • file_size: Maximum line count ceilings with strict file pattern filtering.
    • regex_pattern: Token and anti-pattern matching for banned APIs, deprecated decorators, or hardcoded strings.
    • dependency_restriction: Restricts prohibited third-party package dependencies across npm and Cargo manifests.
  • Hostile Input Boundary: Strict zero-panic guarantee, canonical path resolution preventing directory traversal, and safe regex evaluation.

2. Rule Packs Engine, CLI Rules Management & MCP Catalog (Epic #112)

  • Curated Rule Packs: Ships with 4 built-in packs (recommended, strict, security, clean-architecture) with deterministic inheritance via extends: [...].
  • CLI Subcommand eforge rules: Full rules inspection with eforge rules list, eforge rules check, and eforge rules init supporting terminal table, JSON, and Markdown formatters.
  • Scanner Integration: eforge scan and eforge doctor seamlessly evaluate declarative custom rules alongside built-in rules, deducting from the 8-dimension codebase health score deterministically.
  • Native MCP Tool eforge_get_rules: MCP catalog expanded from 6 to 7 tools, allowing AI coding assistants (Cursor, Claude Desktop, Antigravity) to query active repository rules protected within an untrusted data envelope with prompt-injection defense signal detection.

3. Dashboard Rules Catalog, Fixtures & Release Hardening (Epic #116)

  • ReportBundle Schema Evolution: RuleDescriptor list integrated into ReportBundle with zero schema drift against @elcode-forge/schema.
  • Interactive Rules Screen (/rules): Dedicated page in apps/dashboard with category filtering, rule pack inspection, active status toggles, and direct violation count links into /findings.
  • Curated Fixture fixtures/custom-rules-app: Multi-tiered test application exercising all 6 matchers with zero false positives on baseline code.
  • E2E Integration Test Suite: Comprehensive test harness in crates/forge-cli/tests/custom_rules_e2e.rs adhering strictly to zero-panic test guidelines.
  • Complete Living Guide: Published docs/RULES_GUIDE.md detailing rule syntax, pack inheritance, and best practices.
  • Monorepo Version Bump: Synchronized version across Cargo.toml, package.json, @elcode-forge/schema, @elcode-forge/ui, and @elcode-forge/dashboard to v0.5.0.

Verification & Self-Dogfooding

  • Test Suite: All automated unit and integration tests passing cleanly across the workspace.
  • Zero Linter Warnings: cargo fmt, cargo clippy --all-targets -- -D warnings, pnpm run check, pnpm run lint all exit code 0.
  • Self-Dogfooding Health Score: eforge doctor executes in <100ms with 0 warnings, and eforge scan passes with 100% compliance.

ELCODE Forge v0.4.0 — AI Engine, Grounded Code Review & Local Intelligence

Choose a tag to compare

@luksluki luksluki released this 19 Oct 16:30
364233f

ELCODE Forge (eforge) v0.4.0

Know your code. Ship with confidence.
"Deterministic before generative." — "Precision over decoration."

We are thrilled to release ELCODE Forge v0.4.0, marking the complete delivery of Phase 4 (AI Engine & Codebase Intelligence).

In v0.4.0, eforge bridges deterministic static analysis, import graphs, and blast-radius git impact with an explainable, grounded generative AI layer. Generative AI is positioned strictly as an advisory layer, never an unconstrained authoritative judge: deterministic health scores, security findings, and CI policy exit codes can never be altered or dismissed by AI models.


Highlights in v0.4.0 (Phase 4 Completed)

1. AI Foundation & Multi-Provider Abstraction (Epic #82)

  • crates/forge-ai: Added to workspace DAG, adhering strictly to zero-panic policies and clean trait separation (AiProvider).
  • Local & Offline Inference First: Full support for openai-compatible endpoints, enabling zero-data-exfiltration execution using local models with Ollama (http://localhost:11434/v1) or LM Studio (http://localhost:1234/v1).
  • Cloud Provider Support: Modular adapters for OpenAI (gpt-4o, gpt-4o-mini), Anthropic (claude-3-5-sonnet), and Google Gemini (gemini-1.5-pro, gemini-1.5-flash).
  • Untrusted Data Envelopes: All repository code, commit logs, and AST chunks are wrapped inside <untrusted_repository_data> envelopes with automated detection of prompt-injection signals (role_hijack_attempt, override_previous_instructions, etc.).
  • MockProvider: Offline provider with scripted responses and token usage recording for fast, deterministic unit and CI test execution.

2. Deterministic Context Retrieval & Cost Controls (Epic #83)

  • Token-Budgeted Context Assembler (build_context): Selects, ranks, and fits repository architecture, high/critical security findings, dependencies, and safe source snippets within strict token boundaries.
  • In-Flight Secret Redaction (redact_secrets): Integrated with forge-security to redact high-entropy API tokens, credentials, and PEM private keys ([REDACTED_SECRET]) before prompt generation.
  • Strict Sensitive File Exclusion: Automatically excludes .env*, credentials*, id_rsa*, *.pem, and internal directories (.git/, .eforge/).
  • Multi-Tier Cost Governance:
    • --dry-run: Previews exact context packs and token estimates with zero network calls and zero cost.
    • budget_daily_usd: Enforces daily USD expenditure caps against an append-only ledger (.eforge/ai-usage.jsonl), failing fast to prevent rogue CI loops.
    • Response Cache (.eforge/ai-cache/): SHA-256 prompt hashing for zero-latency, zero-cost deterministic replay.

3. Grounded AI CLI Commands & Deterministic Guard (Epic #84)

  • eforge explain [target] --ai: Explains structural roles, imports, and findings with grounded citations ([verified] vs [unverified]).
  • eforge ai-review: Grounded PR diff review combining blast-radius change risk with structured review insights classified as Confirmed, Probable, or Suggestion.
  • apply_deterministic_guard: Guarantees that Confirmed items require 1:1 backing by deterministic findings, hallucinated file references are discarded, and CI exit codes (--fail-on) are evaluated strictly from deterministic findings.
  • eforge ai status & eforge ai usage: Operational commands for checking AI configuration, testing endpoint latency (--ping), and tracking token spend against daily budgets.

4. Quality Benchmark Suite & Privacy Documentation

  • Golden Benchmark Dataset (fixtures/ai-eval/questions.json): Deterministic evaluation assertions for retrieval recall and anti-hallucination across next-app and vulnerable-ts-app.
  • Comprehensive Quality Test Suite (crates/forge-cli/tests/ai_eval.rs): Automated validation of context recall, secret redaction, and grounding invariants.
  • GitHub Action Update (elcode-id/forge-action): Added opt-in ai-review: 'false' input (defaulting strictly to false for privacy).
  • Privacy Architecture Guide (docs/AI_AND_PRIVACY.md): Complete documentation on local AI setup, security envelopes, secret masking, and cost controls.

Verification & Self-Dogfooding

  • Test Suite: 105 automated unit and integration tests passing cleanly across the workspace.
  • Zero Linter Warnings: cargo fmt --all -- --check and cargo clippy --workspace --all-targets -- -D warnings exit code 0.
  • Self-Dogfooding Health Score: eforge doctor executes in 61ms with 0 warnings, and eforge scan reports 99/100 Health Score on the elcode-forge repository itself.

ELCODE Forge v0.3.0 — Report Bundle, Local Daemon & Web Intelligence Dashboard

Choose a tag to compare

@luksluki luksluki released this 19 Oct 14:04
115bf61

ELCODE Forge (\eforge) v0.3.0

Know your code. Ship with confidence.

Highlights in v0.3.0 (Phase 3 Completed)

1. Deterministic Report Bundle & Schemas (Epic #53)

  • \eforge report: Generates a deterministic, versioned \ReportBundle\ JSON containing repository metadata, inferred modules, dependencies, findings, 8-dimension health scores, Git revision, churn hotspots, and blast radius.
  • Git Revision Introspection: Safely captures HEAD commit SHA and timestamp without wall-clock non-determinism.
  • \eforge schema\ & @elcode-forge/schema: Canonical JSON Schemas via \schemars\ with generated TypeScript typings and runtime Ajv validation.

2. Read-Only Local HTTP Daemon & Trends API (Epic #54)

  • \eforge serve: High-performance, loopback-only (\127.0.0.1) HTTP server exposing /api/v1/health, /api/v1/bundle, and /api/v1/history\ with strict origin checking, \Cache-Control: no-store, and security boundaries.
  • Historical Snapshots & Trends: Idempotently records .eforge/history/-.json\ snapshots via \eforge report --save-history\ for tracking repository health trajectory across Git commits.

3. Web Intelligence Dashboard & UI Primitives (Epic #55)

  • @elcode-forge/ui: Accessible Svelte 5 runes primitives (\ScoreRing, \SeverityBadge, \DataTable, \Card, \EmptyState, \KeyValue) with WCAG AA contrast.
  • \�pps/dashboard: Local-first, zero-telemetry SvelteKit SPA supporting both static standalone JSON files and live daemon connectivity.
  • 7 Comprehensive Dashboard Screens:
    • Overview (/): 8-dimension health ring, dimension breakdown, severity distribution, and repo inventory.
    • Architecture (/architecture): Interactive Cytoscape + Dagre graph canvas, cycle detection highlighting (#ef4444), accessible module list (WCAG AA), and module inspection panel (\eforge explain\ parity).
    • Findings (/findings): URL-synchronized filters, multi-select severity buttons, prefix search, and plain-text evidence envelopes.
    • Security (/security): Secret leakage KPI cards, unsafe patterns, and actionable remediation.
    • Dependencies (/dependencies): Direct/dev inventory with unpinned/unused/duplicate diagnostic flags.
    • Changes & Blast Radius (/changes): Git diff risk score, direct vs transitive impact, missing tests warnings, and churn hotspots.
    • Trends (/trends): Health trajectories and finding severity sparklines over commits.
  • Playwright E2E Suite & Self-Dogfooding: Automated E2E smoke tests across all screens and GitHub Actions self-dogfooding artifact publication.

Engineering Discipline & Guarantees

  • Zero panic policy across all Rust library crates.
  • Deterministic before generative: identical input produces byte-identical output.
  • Untrusted repository text envelope: zero {@html}\ rendering across all UI components.
  • Strict path-traversal boundaries.