Skip to content

Releases

RepoDNA v1.0.2 — MCP Registry & Distribution Compatibility

Choose a tag to compare

@Cihanak1 Cihanak1 released this 01 Dec 20:00
2717861

Packaging and distribution compatibility patch release for RepoDNA (Python distribution repodna-engine v1.0.2).

Scope note: This is strictly a packaging, distribution, and official MCP Registry compatibility update for the Python repodna-engine package. The VS Code Marketplace extension (Cihanak1.repodna-vscode) remains at v1.0.1 with full compatibility. Existing v1.0.1 release artifacts and tags are unchanged.

What Changed

  • Official MCP Registry Metadata (server.json): Added root server.json conforming to official schema 2025-12-11/server.schema.json for namespace io.github.cihanak1/repodna (stdio transport, uvx runtime, optional fail-closed --allowed-root / REPODNA_ALLOWED_ROOTS and REPODNA_MCP_TOOL_PROFILE).
  • PyPI Package Ownership Verification Marker (README.md): Embedded <!-- mcp-name: io.github.cihanak1/repodna --> into the package long description (METADATA and PKG-INFO) for official MCP Registry verification.
  • Direct uvx & Backwards-Compatible CLI Alias (pyproject.toml): Preserved repodna = "repodna.cli.main:main" and added repodna-engine = "repodna.cli.main:main" so MCP clients can invoke uvx repodna-engine==1.0.2 mcp directly without --from.

Verification Summary

  • Built from verified main commit 271786186e1dbd704216ddf900afe86e370bcfaf with the compiled production React Workstation UI bundled inside.
  • twine check --strict: PASSED for wheel and sdist.
  • Clean isolated Wheel & SDist installations verified: repodna --version, repodna-engine --version, repodna doctor, bundled WebUI assets, live stdio MCP initialize, 47 read-only tools, representative tool execution, and fail-closed authorized-root isolation.

Checksums (SHA256SUMS.txt)

482058833080151e893fb6897041ebb368a2e06c0b63d3be818f2dde4e9e4fba  repodna_engine-1.0.2-py3-none-any.whl
70a9e5fb6a0694413563812c9d8b2181d99a7a653a4436bb564ea3b574a04bea  repodna_engine-1.0.2.tar.gz
1fc68d68c2bba910ea9c9dcd6a4942907de22694b0bc7de97a4dedbf62ee4d40  repodna-1.0.2-cyclonedx-sbom.json

RepoDNA v1.0.1 — Security & Reliability Update

Choose a tag to compare

@Cihanak1 Cihanak1 released this 30 Nov 19:50
e445211

RepoDNA v1.0.1 — Security & Reliability Update

Recommended security and reliability release closing all 15 security findings (SEC-01–SEC-15) and 4 correctness findings (COR-01–COR-04) identified during independent post-v1.0.0 verification.

Upgrade Guidance for v1.0.0 Users

All v1.0.0 users should upgrade to v1.0.1:

pip install --upgrade https://github.com/Cihanak1/RepoDNA/releases/download/v1.0.1/repodna_engine-1.0.1-py3-none-any.whl
repodna --version
repodna start --open-browser
  • Local API Authentication: repodna start now generates a per-launch cryptographic REPODNA_API_TOKEN by default. The bundled same-origin WebUI bootstraps via a distinct HttpOnly; SameSite=Strict browser session cookie (never exposing REPODNA_API_TOKEN in cookies or URLs). Automation clients calling /api/* directly should pass Authorization: Bearer <token> or X-RepoDNA-Token: <token>.
  • CLI Command Note: Use repodna start --port 8000 (replacing the erroneous repodna serve note in v1.0.0).
  • Immutability: The v1.0.0 tag (65f02ba) and its release artifacts remain untouched for audit traceability.

Security & Reliability Highlights

  • Workspace & MCP Authorization (SEC-01, COR-01): Fail-closed authorized_roots enforcement across all 5 MCP workspace tools (allowed_roots) and all REST workspace routes (including cached freshness checks), plus canonical resolved root propagation to SymbolIndexer.
  • Contract & Historical Evidence Containment (SEC-02, SEC-03): Symlink, containment, size, and binary guards on architecture contracts (safe_read_evidence_file); centralized sensitive-path blocking (.env*, private keys, credential files/dirs) on Git historical blobs.
  • Unified Secret Redaction & Bounded Expansion (SEC-04, SEC-11, SEC-12): Centralized redact_secrets_unified (full multiline PEM blocks, modern PAT/API keys, Bearer headers, DB URI credentials, quoted/unquoted assignments) across Brain, History, Legacy Context, Agent Context, REST, and MCP; bounded safe_read_evidence_file in ProgressiveContextExpander.
  • Local API Auth, Host/Origin & VS Code Identity (SEC-05, SEC-13, SEC-14): Per-launch session token, exact-origin validation, strict Host validation, HMAC-SHA256 instance_proof handshake verification and redirect: 'error' in VS Code extension, localResourceRoots: [] in Webview, and realpathSync path containment.
  • Bounded YAML, OpenAPI Containment, Live SQLite Recovery & Plugin ReDoS (SEC-07–SEC-10): Alias-disabled bounded YAML loader across all untrusted repo YAML inputs, symlink/containment guards on OpenAPI discovery, non-blocking exclusive revalidate-quarantine-rebuild recovery in LiveStatePersistence, and structural linear-time regex validation.
  • Correctness, Cache Lifecycle & UI Stability (COR-02–COR-04): Closed MCP/REST/Workspace snapshot freshness blind spots, integrated quality_reports into SQLite cache migration/clear/quota/eviction/stats, and fixed frontend /api/health mount hydration race.
  • Supply Chain, SBOM & Distribution (SEC-06, SEC-15): Transitive CycloneDX 1.5 SBOM (68 components, 42 dependency nodes, including watchfiles and exact package-lock.json versions with RFC %40 PURLs), 0 CVEs via pip-audit and npm audit --omit=dev, SHA-pinned GitHub Actions, root action.yml with branding: and self-contained install, and a 128×128 PNG VS Code extension icon.

Verification Summary

  • Main Commit: e44521187219146a9b82aba585eb710e8d820193 (300 commits, PR #15 standard merge)
  • CI Status: PR #15 (46496911744) 8/8 PASS, Main CI 8/8 PASS
  • Independent Security Review: PASS (0 remaining Critical/High findings)
  • Installed Wheel & SDist Full E2E + 20-Run Playwright: PASS (20/20, 0 errors)
  • Genuine 60-Minute Live Soak: PASS (3600.53s, 50 analyses, 0 failures, rss_max=48.2 MB, 1,204 SSE events)
  • Large Repo Stress: PASS (504 real, 1,050 synthetic, 5,050 synthetic files)
  • Held-Out AI Abstention: 91.67% File Recall@5, 86.67% (13/15) negative-task abstention
  • External Registries (PyPI, VS Code Marketplace, Open VSX, GHCR, GitHub Marketplace): NOT PUBLISHED (requires maintainer authorization)

Release Artifacts & SHA-256 Checksums

  • repodna_engine-1.0.1-py3-none-any.whl — 94fdd6826624ca7174ea6633df4a8adb05ca63160015e67228d24e82f00c990c
  • repodna_engine-1.0.1.tar.gz — e1da283a9ce3e3a701401f561c8724be950b3ac1ee4ba1bf2bdd2828a4858a6f
  • repodna-1.0.1.vsix — 8ecefa80438f4332262b2b79bde68cae5d2a4926323dad72d5291113902c6f4c
  • repodna-1.0.1.cdx.json — 8b7d8f788b0452c26d56cb1d45e3ff8b674ffa21b9f35b682f4025061158deed
  • SHA256SUMS.txt

RepoDNA v1.0.0 — Architecture & Code Intelligence

Choose a tag to compare

@Cihanak1 Cihanak1 released this 30 Nov 16:07
65f02ba

RepoDNA v1.0.0 — Architecture & Code Intelligence

First production-hardened public release of RepoDNA — a local-first, evidence-based architecture, code quality, multi-repository, and AI agent intelligence platform.

Highlights

  • Zero-Execution Static Analysis Engine: Multilingual AST extraction (Python, TypeScript/JavaScript, Go, Java, Rust) with SQLite content-hash incremental cache (<1s warm analysis), architectural layer detection, dependency graph, cycle detection, and evidence-backed findings.
  • Architecture Governance & Quality: Architectural contracts (repodna-contract.yml), PR Guardian with SARIF 2.1.0 output, Refactoring Advisor, complexity hotspots, clone detection, unused candidate detection, and test relationship mapping.
  • Live Architecture & Time Machine: Real-time local filesystem watch/diff/alert loop and Git commit snapshot evolution explorer.
  • AI Agent Intelligence & MCP: 47 frozen read-only MCP JSON-RPC tools (repodna mcp) for task-conditioned context packing, progressive expansion, preflight/postflight verification, and evidence inspection.
  • Multi-Repository Intelligence: Cross-repository workspace graph (repodna-workspace.yml), OpenAPI/HTTP & package dependency edge detection, and cross-repo impact analysis — validated on real Pallets (markupsafe + jinja + flask, 402 files) and Encode (httpcore + httpx, 205 files) OSS stacks with 1.0000 precision/recall on declared package edges.
  • Professional Workstation UI: Unified React + Vite workstation bundled directly inside the Python wheel/sdist (repodna serve), with Command Palette (Ctrl+K), keyboard shortcuts, Inspector Drawer, dark/light themes, EN/TR localization, and 0 Axe accessibility violations across Playwright E2E checks.
  • Developer Ecosystem: VS Code extension (repodna-1.0.0.vsix, live-verified in Electron Code.exe 1.145.2 against loopback FastAPI), declarative YAML plugin system, Composite GitHub Action, and multi-stage non-root Docker runtime.
  • Production Hardening & Supply Chain: Threat model, security audit, SECURITY.md, adversarial test suite (path traversal, symlink escape, malformed AST, secret redaction, SQLite cache corruption, MCP policy), CycloneDX 1.5 SBOM (repodna-1.0.0.cdx.json), and PyPI-ready distribution name repodna-engine (preserving import repodna and repodna CLI).

Quick Install (from GitHub Release Assets)

# Python package (CLI + API + MCP + Bundled Web Workstation)
pip install https://github.com/Cihanak1/RepoDNA/releases/download/v1.0.0/repodna_engine-1.0.0-py3-none-any.whl
repodna --version
repodna serve --port 8000

# VS Code Extension
code --install-extension repodna-1.0.0.vsix

Distribution Channel Status

Channel Status
GitHub Release (v1.0.0) PUBLISHED
PyPI (repodna-engine) Not published yet (requires maintainer Trusted Publisher setup)
VS Code Marketplace / Open VSX Not published yet (requires maintainer publisher PAT)
GitHub Container Registry (GHCR) Not published yet (Dockerfile verified in CI)

Verification Summary

  • Main Commit: 65f02ba52f33328b3639bd40c9a07afd8de93ccf (274 commits, PR #14 standard merge)
  • CI Status: 8/8 PASS (Backend, Frontend, Playwright E2E, VS Code Extension, Ecosystem + Non-Root Docker, Linux/Windows/macOS Matrix)
  • Test Suites: 365 passed (1 skipped) Backend Pytest, 56 passed Frontend Vitest, 9 passed VS Code Extension Vitest + live Electron Host workflow, 0 Ruff/Mypy/ESLint/Axe errors.
  • Clean Install Verification: Isolated Wheel, SDist, and VSIX installs verified outside the workspace.

Release Artifacts & SHA-256 Checksums

  • repodna_engine-1.0.0-py3-none-any.whl — 1f39ebddf35063fba0991b5402cd2256189092b7904757cf51fe26178a513d55
  • repodna_engine-1.0.0.tar.gz — 71d7a369dc81ead559c17d922eed72bb86b48c228fc7e21af11ece64eef5ada7
  • repodna-1.0.0.vsix — 470ecdc03fec0def70600c4225663c28c1ba64321a9636416bf926ccc75d6c3e
  • repodna-1.0.0.cdx.json — e24a719d6bc3b06c62f8a3b5634cb7a132eac60c548a662642b7894fa84db3b1
  • SHA256SUMS.txt

RepoDNA v0.14.0 — Professional Workstation

Choose a tag to compare

@Cihanak1 Cihanak1 released this 30 Nov 14:53
0e8b6f3

RepoDNA v0.14.0 — Professional Workstation

Unifies every RepoDNA capability into a coherent, keyboard-first, accessible developer workstation and closes carryover verification debt ahead of v1.0.0.

Highlights

  • IDE-Inspired Docked Workstation Shell (WorkstationActivityRail, WorkstationStatusBar): Organizes all capabilities into 7 coherent domains (Architecture, Code Intel, Findings, Changes, Agent, Workspaces, Reports) with Light/Dark/High-Contrast themes (tokens.css), reduced-motion support, TR/EN localization, and versioned corruption-safe layout persistence (LAYOUT_SCHEMA_VERSION = 2).
  • Unified Findings Investigation & Report Center (UnifiedFindingsView, ReportCenterView): Bounded (25 rows/page) architecture + code quality findings investigation table with direct graph navigation, plus unified deterministic JSON, HTML, SARIF 2.1.0, and Repository Passport exports.
  • Bundled Production WebUI inside the Python Wheel (repodna/webui/): Official release wheels now bundle the compiled production React Workstation UI and serve it directly at http://127.0.0.1:8000/ via repodna start (strict asset path containment).
  • Real VS Code Extension Host Verified: Genuine isolated Electron VS Code Extension Host (1.145.2) activated repodna-dev.repodna-vscode and verified all 12 registered repodna.* commands.
  • Real Interconnected Open-Source Multi-Repository Validation: Validated on pallets/markupsafe@3.0.2 + pallets/jinja@3.1.5 + pallets/flask@3.1.0 (402 real files) with 1.0000 precision / 1.0000 recall, 3/3 warm incremental reuse, and 0.053 ms cross-repo impact (markupsafe -> jinja -> flask).

Release Artifacts & SHA-256 Checksums

  • repodna-0.14.0-py3-none-any.whl — c533ed35e6c5a8adc718c4016d4d3a552612cde69a4072cc9f61fc3523674bce (includes bundled production WebUI!)
  • repodna-0.14.0.tar.gz — 54a02995172fb71b66f9b68e3545eca375ecb0b8c527be8df1f231854dd55ee3
  • repodna-0.14.0.vsix — bdcfcbc8ee2ba42b2e61adc063f4e48d118b69dc4e6aaed728735f15b30c6870
  • SHA256SUMS.txt

Safe Installation & Distribution Status

  • GitHub Release: PUBLISHED — install via pip install repodna-0.14.0-py3-none-any.whl && repodna start and VS Code via code --install-extension repodna-0.14.0.vsix.
  • PyPI: NOT PUBLISHED — repodna on PyPI is occupied by an unrelated project (github.com/repodna/repodna). Do NOT run pip install repodna.
  • VS Code Marketplace / Open VSX / GitHub Marketplace / GHCR: NOT PUBLISHED (no external publishing tokens in this environment).

RepoDNA v0.13.0 — Multi-Repository Intelligence

Choose a tag to compare

@Cihanak1 Cihanak1 released this 30 Nov 12:59
0483eec

RepoDNA v0.13.0 — Multi-Repository Intelligence

Extends RepoDNA's local-first, zero-execution architecture, quality, and AI agent intelligence across multiple explicitly authorized local repositories via repodna-workspace.yml.

Highlights

  • Canonical Repository Identity & Secure Workspace Manifests (backend/repodna/workspace/identity.py, manifest.py): Canonical path hashing prevents same-basename repository collisions; blocks executable keys and duplicate aliases; marks missing repositories honestly as MISSING / INCOMPLETE / INCONCLUSIVE.
  • Multilingual Package Resolution & Version Constraints (packages.py): Static metadata across Python, JS/TS, C#, Java, Go, Rust, and C/C++ with ecosystem-aware constraints and AMBIGUOUS_PROVIDER detection.
  • Zero-Execution Static Service Catalog & SSRF-Safe OpenAPI 3.0/3.1 Contracts (services.py, contracts.py, compatibility.py): Extracts static routes/specs, blocks remote $ref SSRF and bounds circular $ref, and evaluates variance-aware structural compatibility (BREAKING, POTENTIALLY_BREAKING, NON_BREAKING, UNKNOWN).
  • Federated Incremental Orchestration, Topology, Impact & Policies (federation.py, topology.py, impact.py, policies.py): Bounded concurrency, per-repository incremental reuse (9/10 repos reused on single-repo edit in 10-repo benchmark), verified vs candidate edges/cycles, bounded hop impact propagation, and declarative workspace policies.
  • Workspace Agent Context, CLI, REST API, 47 Read-Only MCP Tools & Workstation UI: Adds 5 new read-only workspace MCP tools preserving all 42 legacy tools (47 total), repodna workspace ... CLI, /api/workspaces/* REST API, WorkspaceIntelligenceView React Workstation (TR/EN), VS Code multi-root client helpers (9/9 tests), and GitHub Action optional workspace-manifest mode.

Release Artifacts & SHA-256 Checksums

  • repodna-0.13.0-py3-none-any.whl — b3fd16ab6eaf04bea38fa29d32f216e09ac93dd63563f84d0ee79c2688ae114c
  • repodna-0.13.0.tar.gz — adb241d4f05596853b9e4606da033b18a95868bcbe7a9945e1eb853342122b03
  • repodna-0.13.0.vsix — ce406cf67f64d3acdac4a352108d342b6a2205528b23079dc7272fa85e3a9768
  • SHA256SUMS.txt

Safe Installation & Distribution Status

  • GitHub Release: PUBLISHED — install Python wheel via pip install repodna-0.13.0-py3-none-any.whl and VS Code extension via code --install-extension repodna-0.13.0.vsix.
  • PyPI: NOT PUBLISHED — repodna on PyPI is occupied by an unrelated project (github.com/repodna/repodna). Do NOT run pip install repodna.
  • VS Code Marketplace / Open VSX / GitHub Marketplace / GHCR: NOT PUBLISHED (no external publishing tokens in this environment).

RepoDNA v0.12.0 — Developer Ecosystem

Choose a tag to compare

@Cihanak1 Cihanak1 released this 30 Nov 11:17
d946e7e

RepoDNA v0.12.0 — Developer Ecosystem

Integrates RepoDNA's local-first, zero-execution architecture, quality, and AI agent intelligence into developers' daily environments.

Highlights

  • Shared Ecosystem Protocol (1.0) & Expanded Doctor (backend/repodna/ecosystem/): GET /api/ecosystem/handshake, GET /api/ecosystem/doctor, standardized CLIExitCode (0–4), and repodna doctor --format json. All 42 read-only MCP tools preserved.
  • Zero-Execution Declarative Plugin SDK (backend/repodna/plugins/, sdk/, examples/plugins/): Pure YAML/JSON schema 1.0, ReDoS guard, executable-key rejection, repo-boundary containment, bounded evaluation (8 rule kinds, 0.925 ms median overhead on 388 files), SHA-256 cache fingerprinting, repodna plugin ... CLI, and 4 validated example packs.
  • VS Code Extension (extensions/vscode/): repodna-dev.repodna-vscode with untrustedWorkspaces.supported = "limited", loopback-only backend URL validation, 6 TreeViews, 12 commands, UTF-16 Unicode diagnostics, CSP-nonce-hardened Architecture Webview, Vitest security suite (7/7), and clean-profile verified repodna-0.12.0.vsix.
  • Hardened Composite GitHub Action & Reusable Templates (integrations/github-action/, examples/workflows/): Zero shell interpolation, strict Git ref validation, randomized GITHUB_OUTPUT delimiters, honest shallow-clone INCONCLUSIVE reporting, validated SARIF 2.1.0 output, and 4 fork-safe workflow templates.
  • Hardened Multi-Stage Non-Root Docker Distribution (docker/): Node 22 + Python 3.12 non-root (10001:10001) image with read_only: true, /workspace:ro, cap_drop: ALL, and 127.0.0.1:8000:8000 loopback binding (verified live in GitHub Actions ubuntu-latest CI).

Release Artifacts & SHA-256 Checksums

  • repodna-0.12.0-py3-none-any.whl — b33811934c91a36dfd5a22a076e5d5bad3877932e755ea2d9d605d393d9e1a15
  • repodna-0.12.0.tar.gz — 4b75f3cd81e5cc047c0c053185f1004b68faeaf56e9a01abce956945f36cadfe
  • repodna-0.12.0.vsix — 8b513f85b0f167aac1bb510e21f96b5c494cd2ac64a7a9ff0393d93065179632
  • SHA256SUMS.txt

Honest Distribution Channel Status

  • GitHub Release: PUBLISHED
  • PyPI: NOT PUBLISHED (package name repodna is occupied on PyPI by unrelated project github.com/repodna/repodna; OIDC Trusted Publishing workflow ready in .github/workflows/publish-release.yml)
  • VS Code Marketplace / Open VSX / GitHub Actions Marketplace / GHCR: NOT PUBLISHED (no external publishing tokens in this environment; installable VSIX and Action path Cihanak1/RepoDNA/integrations/github-action@v0.12.0 provided)

RepoDNA v0.11.0 — AI Agent Intelligence

Choose a tag to compare

@Cihanak1 Cihanak1 released this 29 Nov 21:33
4071080

RepoDNA v0.11.0 — AI Agent Intelligence

Deterministic, local-first, read-only, zero-execution repository intelligence infrastructure for AI coding agents (Antigravity, Codex, and standard MCP clients).

Highlights

  • Hybrid Task Localization (
    epodna.agent.task,
    anking, localization)
    : Bilingual EN/TR deterministic task normalization, identifier-aware BM25, bounded task-seeded Personalized PageRank (verified edges > candidate edges, hub damping, misleading-comment guard, honest abstention).
  • 6-Mode Repository Map & Token-Budgeted Context Compiler (
    epodna.agent.repo_map, context, oken_budget)
    : Signature-first maps, content-addressable ContextBlocks, strict exact vs estimated tokenizer disclosure (10% safety margin), final payload verification, and HMAC-signed repository+snapshot-bound cursors.
  • Progressive Expansion & Acknowledged Delta Packs (
    epodna.agent.expansion, deltas)
    : 8 expansion targets + explicit known_block_ids delta packs with safe ull_fallback and verified reconstruction equivalence (-95.5% repeated payload tokens on unchanged follow-ups).
  • Change Preflight, Read-Only Patch Intelligence & Postflight (
    epodna.agent.preflight, patch, postflight)
    : Explicitly labeled is_hypothetical=true preflight risks, fail-closed in-memory unified diff projection (never mutates disk), and static snapshot-backed postflight verification (PASS/WARNING/FAIL/INCONCLUSIVE) with coverage-loss guard.
  • 42 Read-Only MCP Tools & Opt-In Tool Profiles: Preserves all 34 legacy tools + 8 new v0.11.0 tools ( ull default); --tool-profile minimal (9 tools) cuts ools/list metadata by 77.0%.
  • Agent Intelligence Workstation UI: 7-section Workstation (AgentIntelligenceWorkstationView.tsx), TR/EN localization, WCAG 2.2 AA verified via real-browser Playwright E2E across 5 viewports.

Verified Benchmarks (11 Repositories, 104 Tasks)

  • Held-Out Split (52 tasks): 92.68% File Recall@5 (+3.66 pp vs v0.10.0), 95.24% Symbol Recall@5,

RepoDNA v0.10.0 — Deep Code Intelligence

Choose a tag to compare

@Cihanak1 Cihanak1 released this 29 Nov 18:30
3787d24

RepoDNA v0.10.0 — Deep Code Intelligence

Highlights

  • 9-Language Tree-sitter AST & Safe Metadata Readers: Added MIT-licensed tree-sitter-c-sharp, tree-sitter-java, tree-sitter-c, and tree-sitter-cpp grammars alongside Python, TypeScript, JavaScript, Go, and Rust, plus XXE-safe / path-bounded read-only readers for .csproj, pom.xml, build.gradle, and compile_commands.json.
  • Deep Code Intelligence Quality Engines (repodna.quality):
    • Iterative depth-capped Complexity Engine (cyclomatic, nesting-weighted, max nesting depth, line-level ComplexityContributor; returns None for unsupported languages).
    • Bounded Winnowing Type-1 / Type-2 Clone Detector with exact normalized token verification and incomplete_coverage disclosure.
    • Conservative Unused Code Candidates protecting public APIs, overrides, framework/DI annotations, and WinForms Control_Event handlers.
    • Static Test Relationship Mapping across 9 languages / 8 test ecosystems (explicitly disclosing it is NOT runtime code coverage).
    • AST Security Signals (QUAL-008..QUAL-010) ignoring comments/strings with strict [REDACTED] credential masking.
    • Configurable Rule Engine (.repodna/quality.yml, ruleset_fingerprint cache invalidation, line-movement-resistant qf_<hash> IDs, explicit SUPPRESSED status), explainable Technical Debt Index, Symbol Impact with coverage-loss guard, and SARIF 2.1.0 export.
  • SQLite WAL Cache, Live Quality Freshness, API, CLI, 34-Tool MCP & Web UI:
    • Ruleset-fingerprinted quality_reports SQLite WAL cache table and independent quality_freshness in Live sessions.
    • Paginated REST endpoints, 5 CLI commands (quality, complexity, duplicates, unused, test-map), 7 new read-only MCP tools (34 total), and full TR/EN WCAG 2.2 AA Code Quality Workstation UI.
  • Verification:
    • 319 passed, 1 skipped backend pytest, ruff=0, mypy=0 (150 files), 48/48 Vitest, Chromium + Edge Playwright E2E (0 Axe violations), 11-repository OSS benchmarks (60x–306x warm speedup, 322.78 MB peak RSS), and 6/6 3-OS GitHub Actions CI green.

Release Artifacts (SHA-256)

16164fdc5811fe817f57803c14a4c50e3a35cfc48770f35e84dc2cf7bb49a9fd  repodna-0.10.0-py3-none-any.whl
703918919cc0aa9319d815c244065e66e166a6870697443ec00596ecc99ac38e  repodna-0.10.0.tar.gz

RepoDNA v0.9.0 — Live Architecture Engine

Choose a tag to compare

@Cihanak1 Cihanak1 released this 29 Nov 16:57
a02d504

RepoDNA v0.9.0 — Live Architecture Engine

RepoDNA v0.9.0 introduces the Live Architecture Engine — an opt-in, local-first, loopback-only, zero-execution real-time architecture monitoring engine built directly on top of the v0.8.0 Performance Engine.

Highlights

  • Cross-Platform Native Watching + Resilient Fallback (repodna.live):
    • Uses watchfiles (Rust notify: ReadDirectoryChangesW on Windows, inotify on Linux, FSEvents on macOS) with an automatic pure-Python polling fallback and bounded exponential backoff recovery.
    • Strict repository boundary, symlink, Windows NTFS junction (os.path.isjunction), traversal, IDE atomic-save scratch, and self-event loop prevention.
    • Targeted .git metadata monitoring (.git/HEAD, .git/index, .git/packed-refs, .git/refs/heads/*, external Git worktree gitdirs) while suppressing .git/objects/* and .git/*.lock storms.
  • Authoritative Freshness & Single-In-Flight Scheduling:
    • Coalesces burst saves via debounce (300 ms) + anti-starvation ceiling (2,000 ms) and verifies disk truth via parallel SHA-256 file manifests, ordered resolver/workspace config hashes, and read-only Git status.
    • Rejects superseded in-flight runs (analysis_superseded) cleanly so outdated snapshots are never published as VERIFIED_CURRENT.
    • Bounded queue overflow triggers explicit reconciliation_required recovery rather than silently dropping edits.
  • Typed SSE Event Protocol & Loopback Security (repodna.api.app):
    • Versioned Server-Sent Events (GET /api/live/sessions/{id}/events) with <generation>:<sequence> IDs, bounded replay ring (500), Last-Event-ID replay, explicit stream_reset on replay gap or slow-subscriber overflow, and recursive raw-source/secret redaction (64 KB payload cap).
    • FastAPI @asynccontextmanager lifespan shutdown and loopback_security_middleware blocking DNS rebinding (403 FORBIDDEN_HOST) and untrusted browser Origin CSRF (403 FORBIDDEN_ORIGIN), replacing wildcard CORS with an explicit loopback regex.
  • CLI Watch & 27 Read-Only MCP Tools:
    • repodna watch [target] --format {table,jsonl} with clean stdout JSONL and graceful Ctrl+C teardown.
    • 4 new cross-process read-only MCP tools (repodna_live_status, repodna_live_changes, repodna_live_alerts, repodna_live_context) backed by PID- and heartbeat-verified SQLite WAL persistence (repodna_live_state.sqlite3), preserving all 23 existing MCP tools.
  • Live Architecture Workstation UI & Stable Incremental Graph:
    • Dedicated Live tab with Simple/Advanced progressive disclosure, honest Freshness & Connection badges, Pause/Resume/Reconcile/Stop controls, Live Working-Tree Timeline, deduplicated Live Guardian Alerts with honest Acknowledge (is_underlying_issue_present=true) and coverage-drop guards (unknown_coverage_drop), and full TR/EN localization + WCAG 2.2 AA accessibility.
    • Incremental React Flow graph updates preserve existing node positions and user viewport/zoom without jarring fitView resets.

Verified Empirical Benchmarks (docs/live/BENCHMARKS.md)

  • 5-Minute Native Idle: 0.1094% of 1 logical core (0.33 s CPU / 300 s), +0.07 MB RSS, 0 leaked threads/handles.
  • 30-Minute Continuous Soak (60 real edits): 60/60 converged (0 failures), 0.8281% avg CPU, +2.67 MB bounded RSS plateau, 1 -> 3 -> 1 threads, 0 handle leaks.
  • 7-Repository End-to-End Save-to-SSE P95 Latency:
    • Small/medium repos (psf/requests, go-chi/chi, pallets/flask, BurntSushi/ripgrep, expressjs/express, RepoDNA): 738.5–915.0 ms
    • Large TypeScript monorepo (colinhacks/zod, 632 files / 124,255 LOC): 1,726.9 ms

Release Checksums (SHA-256)

44a7606c5ca05c6aab9baf9cd02e099f42c81e75dfc9e1684c1a6ce89da45cbb  repodna-0.9.0-py3-none-any.whl
b77ad58cd1c0d6f65134128aa642a85479339b60f743dc66aea0318dc981bae7  repodna-0.9.0.tar.gz

RepoDNA v0.8.0 — Performance Engine

Choose a tag to compare

@Cihanak1 Cihanak1 released this 29 Nov 00:57
e14c0b7

RepoDNA v0.8.0 — Performance Engine

RepoDNA v0.8.0 introduces a persistent, security-hardened Performance Engine featuring a multi-layer SQLite WAL content-addressable cache, incremental dependency-closure analysis, bounded parallelism, and large-graph UI optimizations — preserving 100% deterministic semantic equivalence with clean full scans.


Highlights

1. Persistent SQLite WAL Content-Addressable Cache (repodna.performance.cache)

  • Schema v2 & Zero Repo Pollution: Stored strictly outside analyzed repositories (configurable via REPODNA_CACHE_DIR), using pure JSON + bounded streaming zlib decompression + SHA-256 payload verification (zero pickle).
  • Three Cache Layers:
    • Layer-1A (file_artifacts): Per-file AST parse and import-extraction cache.
    • Layer-1B (brain_artifacts): Deep SymbolIndexer symbol & cross-reference extraction cache with Pydantic v2 Rust TypeAdapter hydration.
    • Layer-2 (repo_snapshots): Full repository snapshot cache for sub-second warm scans.
  • Cross-Process RW Lock & Active WAL Reader Safety:
    • Coordinated shared/exclusive cross-process advisory locking (fcntl.flock on POSIX, Win32 kernel32.LockFileEx on Windows). All normal cache operations hold a shared lock (LOCK_SH); recovery requires a non-blocking exclusive lock (LOCK_EX | LOCK_NB) held continuously across probe → unlink → schema re-init to eliminate TOCTOU races.
    • Strict SQLite error classification distinguishes genuine corruption (SQLITE_CORRUPT, SQLITE_NOTADB) from transient lock contention / operational errors (SQLITE_BUSY, SQLITE_LOCKED, SQLITE_FULL, SQLITE_READONLY, SQLITE_IOERR, SQLITE_CANTOPEN).
    • Before any destructive recovery, an exclusive WAL probe (PRAGMA wal_checkpoint(TRUNCATE) + PRAGMA locking_mode = EXCLUSIVE + BEGIN EXCLUSIVE + PRAGMA quick_check(1)) verifies no active external uncoordinated WAL readers exist — degrading safely to non-destructive fallback when busy.
  • Physical + Logical 512 MB Quota: Enforces LRU eviction against both physical SQLite DB + WAL + SHM disk usage and logical compressed payload bytes, with bounded WAL checkpointing and controlled compaction.

2. Incremental Analysis Engine & Freshness Binding (repodna.performance.incremental, identity)

  • Content SHA-256 manifest hashing paired with order-preserving resolver alias fingerprinting and hidden/workspace config hashing (.repodna/architecture.yml, .gitignore, .repodnaignore, .mailmap, tsconfig.json, jsconfig.json, go.mod, pyproject.toml, package.json).
  • Single-call git status --porcelain=v2 --branch freshness binding guarantees dirty working trees, untracked files, and branch/HEAD switches never return stale snapshots.
  • Transitive reverse-dependency closure recomputes only affected modules, falling back conservatively to full analysis with explicit machine-readable FallbackReason telemetry when global invariants change.

3. Algorithmic Speedups & Bounded Parallelism

  • Eliminated $O(R \times F)$ linear Path.stem scans in repodna.brain via pre-built $O(1)$ stem indexes and memoized specifier resolution.
  • Integer-indexed GraphIndex adjacency structures in repodna.graph.engine for Tarjan SCC, weakly connected components, and Johnson cycle enumeration.
  • Empirically calibrated ThreadPoolExecutor I/O + hashing and threshold-gated ProcessPoolExecutor coarse batching (--workers auto).

4. API, CLI, MCP & Workstation UI Integration

  • FastAPI: GET /api/cache/stats, POST /api/cache/clear, GET /api/analyses/{analysis_id}/performance, plus in-flight duplicate scan coalescing and live ScanProgress cache/reused/reparsed telemetry.
  • CLI: repodna analyze --mode {auto,incremental,full} --no-cache --workers N, repodna cache stats|clear, and repodna performance report.
  • MCP: Exposes snapshot_freshness and persistent_cache_hit while preserving all 23 MCP tools and strict stdout cleanliness.
  • Workstation UI: Simple-mode latency/mode pill, Advanced-mode Performance Engine diagnostics card, Guardrails & Performance Cache controls modal (TR/EN localized), separated React Flow base layout vs selection styling, honest compact-mode edge truncation disclosure, and CSS content-visibility: auto containment.

Verified 7-Repository Benchmark Results (Post-Hardening)

Measured unmocked on Windows 11 (10.0.26300), Python 3.12.10, 16 logical CPUs, 32 GB RAM with exact commit SHA parity against v0.7.0 baseline (benchmarks/run_v08_benchmarks.py, 49/49 incremental & recovery semantic equivalence checks passed):

Repository Language Files / LOC v0.7.0 E2E v0.8.0 Cold E2E (--no-cache) Cold Speedup v0.8.0 Warm E2E (Cached) Warm Speedup Warm Core Snapshot
colinhacks/zod TypeScript 641 / 124,857 42,798.0 ms 3,186.3 ms 13.43× 1,177.8 ms 36.34× 377.9 ms
expressjs/express JavaScript 194 / 20,640 3,357.2 ms 797.1 ms 4.21× 327.5 ms 10.25× 153.3 ms
BurntSushi/ripgrep Rust 221 / 59,537 2,948.3 ms 1,156.7 ms 2.55× 323.8 ms 9.11× 189.4 ms
RepoDNA@v0.7.0 Python/TS 197 / 43,354 3,049.0 ms 1,477.9 ms 2.06× 451.2 ms 6.76× 228.4 ms
go-chi/chi Go 110 / 10,977 1,339.7 ms 445.6 ms 3.01× 193.1 ms 6.94× 119.6 ms
psf/requests Python 123 / 14,660 1,012.1 ms 561.0 ms 1.80× 248.2 ms 4.08× 140.6 ms
pallets/flask Python 225 / 25,359 1,518.9 ms 766.8 ms 1.98× 371.2 ms 4.09× 172.3 ms

Verification & Release Gates

  • Merge Commit (main): e14c0b703d90d46cd1ae8ecb0d47375da3f96920 (PR #7 merged via standard merge commit)
  • Post-Merge CI (main): GitHub Actions Run #46208270533 — 6 / 6 jobs passed:
    • Backend (Python 3.12 — Ruff, Mypy, Pytest) — PASS
    • Frontend (TypeScript, Vitest, Vite Build) — PASS
    • Performance Engine Cross-Platform (ubuntu-latest) — PASS
    • Performance Engine Cross-Platform (macos-latest) — PASS
    • Performance Engine Cross-Platform (windows-latest) — PASS
    • Playwright E2E (Chromium — Live Intelligence & Workstation) — PASS
  • Clean Virtualenv Verification: Both repodna-0.8.0-py3-none-any.whl and repodna-0.8.0.tar.gz verified in isolated Python 3.12 virtual environments (repodna --version == 0.8.0, repodna cache stats schema v2, repodna analyze, and RepoDNAMCPServer registering 23 tools).

Distribution Artifacts & SHA-256 Checksums

File Size SHA-256
repodna-0.8.0-py3-none-any.whl 390,979 bytes d4ede0b447fa4efa04a2f651adf1494a9f5253ce7df679e11f8d6607784f11f7
repodna-0.8.0.tar.gz 369,716 bytes f1f1e51ab24e60323d4bcea956bfbe558262959b323206e822fca3d6fbb3f991
d4ede0b447fa4efa04a2f651adf1494a9f5253ce7df679e11f8d6607784f11f7  repodna-0.8.0-py3-none-any.whl
f1f1e51ab24e60323d4bcea956bfbe558262959b323206e822fca3d6fbb3f991  repodna-0.8.0.tar.gz