Skip to content

Latest commit

 

History

History
1277 lines (1030 loc) · 68.2 KB

CHANGELOG.md

File metadata and controls

1277 lines (1030 loc) · 68.2 KB

Changelog

All notable changes to RepoDNA are documented in this file. The format is based on Keep a Changelog, and RepoDNA follows Semantic Versioning.

Changes after v1.6.0 will be documented here.

[1.6.0] - 2026-12-01

RepoDNA v1.6.0 brings expanded repository intelligence, safer analysis lifecycles, and more reliable evidence review. It integrates selected security and browser-retention fixes already published in the v1.5.x maintenance line.

Feature highlights

  • Compare stored analyses with explicit coverage and uncertainty, export comparison data, and review historical trends without implying evidence that the artifacts do not contain.
  • Validate artifact shape and consistency locally and give actionable integrity diagnostics.
  • Discover remote branches and tags, analyze selected Git revisions, and recover interrupted native analysis jobs without uploading repository content.
  • Harden browser folder analysis, bounded work queues, local API transport, report-generation lifecycles, and privacy-safe exports.
  • Preserve browser recent-analysis storage, retention, and restore behavior from the published v1.5.5 maintenance line.

Added

  • Discover bounded remote branch and tag choices on explicit request through native Git, with a searchable desktop/local-server picker and a remote-refs command. The listing is a snapshot, not a verified checkout; manual reference selection remains available for omitted names.

  • Report exact worst, expected and best retrieval metrics under equal-score evidence ordering for frozen native ranker evaluations; no runtime scoring or checkpoint format change (#305).

  • Bound similar-file results to the top 100 with language-specific candidate buckets, cooperative cancellation, and explicit partial coverage (#312).

  • Accept explicit remote branch, tag, and full commit SHA selections in the CLI, local server, and desktop form; verify checked-out revisions, support GitHub /commit/<full-SHA> links, and preview /tree/ candidates without uploading repository data. For slash-containing GitHub tree paths, discover remote refs with bounded Git output, select the longest advertised branch/tag prefix, and verify any trailing directory before whole-repository analysis. GitHub folder links with hidden directories such as .github and percent-encoded spaces are supported without weakening explicit Git ref validation; traversal and control characters remain rejected. Included in v1.6.0, but not in v1.5.1 or v1.5.2 maintenance installers.

  • Show the checked-out Git branch in the Overview and History views when available, distinguishing the analyzed checkout from the remote default (#228).

  • Export a reviewed, counts-only Findings CSV grouped by severity and active/suppressed state without exporting private paths or evidence (#226).

  • Detect contradictory relevance judgments for identical and cosmetically equivalent question/evidence labels in local AI dataset audits, reporting aggregate counts without publishing reviewer annotations (#251).

Fixed

  • Index dependency lockfile joins and package boundaries to avoid repeated repository-wide scans while preserving workspace scope and version unions (#317).

  • Preserve lexical token boundaries around block comments and recognize bounded Rust character escapes; invalidate obsolete per-file cache entries (#318).

  • Reuse repository-level ranking scores for balanced retrieval and stability diagnostics without changing checkpoint weights or output meanings (#319).

  • Skip token generation when the selected analysis stages do not need it, and check cancellation throughout the file pass (#320).

  • Precompute pairwise ranker feature differences instead of repeatedly extracting features in every training epoch (#306).

  • Resolve inherited Cargo dependencies in the selected workspace, rather than a global shared declaration table (#307).

  • Reduce dependency-cycle search scratch memory and deduplicate condensed graph edges without repeated linear membership scans (#308).

  • Select rightmost duplicate-code fingerprint minima in linear time (#309).

  • Reject rooted child paths and drive prefixes exposed by normalization before recording repository-relative entrypoints and references (#310).

  • Keep dependency graph centrality finite for overflowing shortest-path counts using a log-domain fallback, and avoid integer overflow in the normalization denominator (#311).

  • Patch the desktop dependency lockfile to url 2.5.9 and form_urlencoded 1.2.3 for RUSTSEC-2026-0592 (#296). Older v1.5.2 binaries are unaffected by this source update.

  • Reject percent-encoded Git remote hostnames rather than relying on their undecoded spelling when applying private-host checks. Repository path percent-encoding remains supported.

  • Reject special-use literal Git remote IP addresses (including 0/8, benchmarking, documentation, deprecated 6to4 relay, multicast, and reserved ranges) by default, with explicit private-host opt-in for trusted infrastructure.

  • Accept GitHub branch-root /tree/<ref> links in CLI/desktop/server cloning, checking out the requested branch instead of treating a browser URL as a Git remote (#227). The static hosted browser build does not clone Git URLs.

  • Redact HTTP(S) URL userinfo in Git failure diagnostics while keeping useful troubleshooting context; use a credential helper or SSH agent rather than embedding secrets in URLs (#229).

  • Continue draining Git's stderr pipe after the bounded 16 KiB diagnostic capture limit so noisy commands do not block on a full pipe (#230).

  • Drain remaining stdout when a consumer finishes early, and terminate Git promptly on parser errors while retaining the original error (#231).

  • Avoid overflowing history's max_commits + 1 sentinel or passing numbers above Git's signed max-count range; retain correct truncation semantics for ordinary and extremely large requested limits (#232).

  • Reject mixed hexadecimal/octal IPv4 host aliases under the default private-host policy, while retaining the explicit opt-in for private repository servers (#233).

  • Apply overflow-safe cumulative byte budgets when reading historical blobs, with tests for extremely large configured limits and skipped files (#234).

  • Parse remote URL authority before query and fragment separators so an @ outside the authority cannot obscure the validated host (#236).

  • Stream historical Git tree listing records instead of buffering the complete raw ls-tree output before constructing file metadata (#237).

  • Read the first available tracked Git status output to determine dirty state without retaining the complete porcelain output (#238).

  • Stream branch and tag listings one record at a time instead of buffering all for-each-ref text, while preserving branch sorting and annotated tags (#239).

  • Redact password-bearing SSH URL userinfo when Git errors echo a remote URL, without obscuring normal passwordless SSH usernames (#240).

  • Keep caller-supplied Git arguments, configuration values, remote URLs, and local paths out of timeout and failure command labels (#242).

  • Exclude future-dated commits from activity windows so clock skew cannot inflate current repository activity, while keeping historical data (#243).

  • Frame Git history commit boundaries so record-separator bytes in valid filenames or commit subjects do not break historical analysis (#244).

  • Honor Git history parsing cancellation between records and immediately after each emitted commit, rather than waiting for a batch of 256 commits (#246).

  • Preserve valid Git branch names ending in /HEAD; identify symbolic refs using Git metadata instead of guessing from a branch's name (#247).

  • Keep the remote default branch unknown when a single-branch Git clone has no remote default-branch reference, instead of assuming the selected checkout is the remote default (#248).

  • Omit URL queries and fragments from displayed and stored remote URLs and Git failure messages so query-based credentials are not published (#249).

  • Accept one trailing slash in GitHub branch-root /tree/<ref>/ URLs while rejecting malformed refs and repeated trailing separators (#250).

[1.5.5] - 2026-11-28

A focused maintenance update based on the published v1.5.4 source.

Fixed

  • Save a browser reload pointer only after recent-analysis persistence succeeds; do not advertise reload restoration when only volatile memory is available.
  • Serialize local recent-analysis saves and deletion, discard stale reads and selection requests, and finish interrupted retention opt-out on startup.
  • Synchronize retention preference changes between browser tabs and prevent cancelled recent-analysis opens from navigating to the Overview page.
  • Recheck missing analysis text within the deletion transaction so a stale read cannot remove a record repaired by a newer save.

These changes coordinate writes within each tab and synchronize preferences between tabs; they do not establish a cross-tab transactional deletion guarantee.

[1.5.4] - 2026-11-26

A focused maintenance update based on the published v1.5.3 source.

Fixed

  • Save recent-analysis metadata, file text and retention eviction in a single IndexedDB transaction, avoiding interleaved pruning of newer records.
  • Sort retained analyses by actual timestamps, preserve distinct entries on refresh and reject malformed stored metadata and mismatched analysis IDs.
  • Require valid saved metadata and matching file text before restoring an analysis, and honor disabled retention during reload.
  • Run native Windows CLI smoke tests and installer checksum/resource checks for unpublished release trials beyond v1.5.3.

[1.5.3] - 2026-11-24

RepoDNA v1.5.3 is a focused security and Windows installer metadata maintenance update from v1.5.2. The established CLI, browser interface, repository analysis behavior, and installed application identifier are unchanged; unrelated development features on main are not included.

Security

  • Update the packaged desktop dependency url from 2.5.8 to 2.5.9, addressing RUSTSEC-2026-0592; update its required form_urlencoded dependency from 1.2.2 to 1.2.3. The advisory affects the dependency; application-level reachability has not been confirmed.
  • Update the packaged desktop dependency cookie from 0.18.2 to 0.18.3 for RUSTSEC-2026-0594. This addresses a private-cookie nonce-reuse vulnerability in processes that fork. Reachability in the shipped desktop application has not been established; no exception or advisory suppression is used.

Fixed

  • Set the Windows NSIS setup EXE version-resource CompanyName to RepoDNA, alongside the existing product and version fields, for both x64 and ARM64 installers. Keep the application identifier stable so existing installations continue to use the same upgrade identity.

1.5.2 - 2026-11-20

RepoDNA v1.5.2 is a security-focused maintenance update built from the published v1.5.1 source, without merging post-1.5.0 feature development.

Fixed

  • Reject percent-encoded Git remote hostnames so downstream URL decoding cannot reinterpret them after literal private-host checks. Percent-encoded repository paths and explicit trusted literal hosts remain supported.
  • Parse URL authority before query or fragment delimiters, preventing userinfo markers outside the authority from disguising the validated destination.
  • Exclude URL queries, fragments and HTTP(S) userinfo from displayed and stored Git remote metadata; redact corresponding URL secrets echoed in Git failure diagnostics, including password-bearing SSH userinfo.

The published release includes 15 platform binaries/installers/manifests plus SHA256SUMS.txt. See the exact-commit qualification record. GitHub stable publication does not establish WinGet catalog availability.

1.5.1 - 2026-11-16

RepoDNA 1.5.1 is a focused maintenance update built from the published v1.5.0 source. It excludes new branch-root analysis and counts-only exports intended for later minor-version development.

Highlights

  • Keep saved analysis JSON artifacts when resetting the SQLite analysis cache; restore indexing with repodna cache repair.
  • Refuse misleading deletion results when saved artifacts remain unindexed; show unindexed artifact counts for accurate local storage management.
  • Reject malformed analysis artifacts that substitute arrays for required objects.
  • Redact HTTP(S) credentials echoed in Git failure messages before display.
  • Reject mixed-radix private IPv4 aliases and special-use literal IP Git remotes by default, retaining explicit trusted-host opt-in.

Fixed

  • Preserve saved scans, prevent misleading cleanup after cache reset and add regression tests for recovery and deliberate deletion (#221, #222).
  • Validate required artifact object shapes before loading (#264).
  • Redact credential-bearing HTTPS Git diagnostics with regression tests (#229).
  • Block disguised private hosts and reserved/documentation/multicast IP literals without changing the explicit allow-private-host option (#233, #266).

1.5.0 - 2026-11-06

RepoDNA v1.5.0 strengthens evidence-based repository review, safer findings exports, and local control over saved analysis history. It adds confirmed record deletion for desktop and local-server users and improves release reliability, while preserving offline-first operation and avoiding unsupported generative-AI claims.

Highlights

  • Delete saved analysis records or an entire repository's stored history from the desktop or local server, with confirmation and unchanged source code.
  • Preview selected findings locally before exporting CSV, JSON, or Markdown, with explicit confirmation and clear warnings about unreviewed data.
  • Review baseline CI changes with per-file module ownership, immediate dependency context, and bounded, escaped Markdown path hints.
  • Make finding deltas deterministic for repeated IDs and avoid false file modifications from ambiguous duplicate-path hashes.
  • Check the exact Rust workspace dependency inventory and package versions in both Cargo lockfiles before a release can publish.
  • Preserve local-first, opt-in extractive AI evidence and independent evaluation requirements; no generative model capability is claimed.

Added

  • Add confirmed deletion of one saved scan or a repository's complete stored analysis history, available from desktop and local-server History controls. Enforce exact scan ownership and repository IDs, update database history, and clean up local analysis artifacts without deleting original source repositories (#211).
  • Show the first associated file path and remaining-path count for introduced and resolved findings in bounded Markdown CI impact summaries, making review hints easier to locate without asserting an exact source-evidence line.
  • Require a local, bounded preview and explicit save confirmation before downloading filtered Findings CSV, JSON, or Markdown. Show selection counts and explain that unseen data is neither scanned for secrets nor redacted (#195).
  • Include before-and-after per-file module ownership in structured CI baseline impact (changes.architecture.fileOwners), with bounded Markdown summaries and regression tests for changed module boundaries (#198).

Fixed

  • Set the Windows desktop executable and installer publisher to RepoDNA rather than accidentally displaying github in the Explorer Company field. Keep the stable app identifier and enforce publisher metadata in release checks.
  • Verify the exact internal Rust package inventories in both Cargo lockfiles, including the CLI, WebAssembly, desktop and xtask packages. Reject missing, duplicate, unexpected or out-of-sync entries before packaging.
  • Reject a missing, duplicated, or misdirected internal Rust workspace dependency during release metadata checks, rather than relying on a minimum dependency count. Keep the local testkit path intentionally unversioned.
  • Treat conflicting or missing hashes on duplicate imported file paths as unknown in baseline comparisons, preventing input-order-dependent or falsely reported modifications. Keep rename output as separate added/removed paths.
  • Make baseline CI finding deltas and --new-only policy checks deterministic when imported artifacts repeat a finding ID with conflicting severity. Use the highest-severity variant for machine-readable impact and annotations, regardless of input order.
  • Prevent unrelated nested paths from being incorrectly attributed to the root module in baseline CI impact results (#197).

Documentation

  • Explain the stable-vs-development feature boundary, CI review semantics, safe sharing limitations, and required v1.5.0 release gates.

[1.4.5] - 2026-10-30

RepoDNA v1.4.5 focuses on reproducible, privacy-conscious native evidence ranking diagnostics, regression coverage, and local-first reliability.

Highlights

  • Strengthen offline ranker training with deterministic ordering, canonical repository split validation, and rejection of unsafe evidence labels.
  • Add labeled holdout score diagnostics (Brier score, log loss, and calibration bands), baseline retrieval comparisons, and answerability threshold sweeps.
  • Keep native AI extractive and opt-in without third-party model APIs, automatic weight downloads, or unsupported generative claims.
  • Test the complete ranker training CLI, checkpoint generation, output fields, overwrite protection, and repository leakage rejection across platforms.
  • Preserve the existing offline browser, desktop, CLI, and GitHub Action workflows with release-candidate quality and security checks.

Tests

  • Add executable-level regression tests for native ranker training and the versioned checkpoint/report boundary, including deterministic exports and refusal to overwrite output files (#146).

Added

  • Measure native evidence-ranker relevance-score error on independently labeled holdout data with Brier score, binary log loss, and calibration bands. These diagnostics evaluate label relevance, not citation truth or language-model accuracy (#144).
  • Compare hypothetical answerability thresholds and count incorrectly accepted and missed answerable questions without enabling automatic abstention at runtime (#139, #143).

Fixed

  • Reject train/holdout repository aliases despite casing or surrounding whitespace, and apply canonical repository identities to direct retrieval and answerability evaluation (#140, #142).
  • Make local ranker training deterministic across shuffled dataset rows; reject duplicate and missing evidence identities and exclude source excerpts from training datasets (#137, #141).
  • Keep scanning the native offline evidence digest for shorter observations when a preceding fact cannot fit the output token budget. Limit the number of included observations to twelve rather than truncating the candidate search, with a regression test that recovers the thirteenth candidate after twelve oversized ones.

Documentation

  • Update the README and GitHub Action usage examples to the published v1.4.4 tag.

[1.4.4] - 2026-10-28

RepoDNA v1.4.4 strengthens local-first evidence ranking, repository reviews, API reliability, and cross-platform release integrity.

Highlights

  • Native, offline evidence explanations support optional locally trained ranking and retrieval-quality baseline comparisons.
  • Findings confidence filters and consistent CSV, JSON, and Markdown exports enable complete local review.
  • Browser import path safeguards and corrupted-cache recovery prevent unsafe or damaged analysis inputs.
  • Expanded local API response validation rejects malformed repository, scan, and project-card data.
  • npm release publication rejects duplicate or foreign package names, empty stages, and invalid tags.
  • Release-only HTTPS certificate-trust testing strengthens optional AI network security.

Security

  • Add an explicit release-gate HTTPS certificate-trust smoke test using the optional AI provider's ureq/rustls dependency graph. Ordinary offline test runs skip this network-only check; the release workflow runs it without credentials or repository data.

Fixed

  • Strengthen npm release publication preflight: reject empty staging trees, unrelated or duplicate package names, invalid versions and missing/duplicate dist-tag arguments. Respect both --tag beta and --tag=beta overrides without adding conflicting default tags. Include regression tests.

Added

  • Evaluate the optional native evidence ranker against unchanged original evidence ordering on the same repository-disjoint holdout, reporting baseline MRR, precision@k, recall@k and NDCG@k alongside trained metrics, plus signed retrieval deltas and matching cutoff/group-count checks.

Added

  • Filter findings by confidence (high, medium, low, or unavailable) and reset all active filters with one click; filtered CSV, JSON, and Markdown exports share the same complete matching selection.

Fixed

  • Validate local API repository and scan-job responses, including nested items, counts and progress data; reject non-SVG responses to project card requests, with regression tests for malformed and valid responses.

Added

  • Add a local annotation workflow for the RepoDNA evidence ranker: produce human-reviewable templates from real analysis artifacts, require explicit relevance labels, exclude source excerpts, reject duplicate evidence IDs when combining batches, and avoid overwriting existing annotation files. Include offline end-to-end CLI regression tests.

Added

  • Add held-out retrieval metrics for the native evidence ranker: per-repository-and-query MRR, precision@k, recall@k and NDCG@k, with explicit counts for questions lacking relevant labeled evidence. Include retrieval results in local trainer output.

Added

  • Add a CPU-only, locally trainable evidence-relevance ranker and offline CLI for fitting a small versioned JSON checkpoint from licensed, labeled examples. Enforce repository-disjoint holdouts, bound dataset and checkpoint sizes, validate numeric weights, and report explicitly labeled ranking metrics.
  • Allow opt-in native explanation evidence reordering with a user-configured local checkpoint; cache provenance includes the weights hash. Without a checkpoint, the existing extractive evidence ordering is unchanged.
  • Add synthetic training/holdout fixtures and regression tests for malformed checkpoints, citation stability, and spoofed evidence delimiters.

Added

  • Introduce an opt-in built-in ai.provider = "native" evidence digest for repodna explain: offline, keyless, no external model runtime, and explicitly labeled as extractive rather than trained generative AI.
  • Document the development and evaluation plan for a learned native model.

Added

  • Export filtered findings as a standalone Markdown review with evidence, limitations, suppression context, and suggested follow-up steps. Escape repository-supplied Markdown/HTML and preserve the selected display order.

Fixed

  • Ignore corrupted or incomplete recent-analysis entries recovered from browser storage while retaining valid locally saved analyses.

  • Reject unsafe, duplicate or mixed-root paths in browser folder imports, including files returned in separate drag-and-drop reader batches. Add regression coverage for traversal, malformed paths and normal folder imports.

Added

  • Export the current filtered Findings as structured JSON alongside spreadsheet-safe CSV. The JSON includes all matching findings, including results beyond the visible page, and preserves their full evidence for scripting and review without uploading data.

Tests

  • Cover JSON findings export fidelity, nested evidence, empty results, and the web interface's enabled/disabled export controls.

[1.4.3] - 2026-10-23

RepoDNA v1.4.3 improves local-first analysis reliability, desktop startup, release integrity, and secure export workflows.

Highlights

  • Export all currently filtered Findings to spreadsheet-safe CSV, including matching results beyond the visible page.

  • Added a What's New sidebar page and an offline first-launch announcement on installation or update, with notes for the installed version.

  • Opened the Windows desktop in a smaller centered, resizable default window instead of occupying nearly the full display.

  • Added Files explorer filters for generated, vendored, binary, skipped, and ordinary files.

  • Improved local-first browser analysis reliability, including WebAssembly engine discovery, progress events, worker callback handling and export filenames.

  • Strengthened package publication gates and Windows installer validation with safer npm staging, version checks, and checksum/inventory verification.

Added

  • A What's New section in the sidebar showing the current version's highlights from the bundled changelog, with a once-per-version first-launch announcement after installing or updating RepoDNA. The announcement works offline and remains dismissible.

  • Filter the Files explorer by generated, vendored, binary, skipped, or ordinary file state, alongside its existing category, language, and path search filters.

  • Export currently filtered Findings as CSV with inline save-error reporting.

Security

  • Escape formula-like CSV fields even when whitespace or control characters precede the formula, protecting exported tables from spreadsheet evaluation.

  • Check Windows-invalid ZIP filenames in the Windows portable CLI smoke verifier as well as the WinGet manifest generator, with negative-case regression tests on CI.

  • Reject Windows-forbidden characters and reserved COM/LPT device names, including superscript-digit variants, when validating portable CLI ZIP archives for WinGet.

  • Require advisory, source, license, and dependency-ban checks for both the workspace and desktop dependency trees before release jobs publish GitHub packages, npm packages, container images, or release installers.

Fixed

  • The desktop app now starts in a smaller, centered, resizable window instead of occupying nearly the entire screen on common Windows laptop displays.

  • Refuse to clear unrelated, nonempty npm package staging directories or the repository itself; allow repeat builds only for explicitly RepoDNA-owned staging directories.

  • Preserve the original display order of highlighted findings when imported artifacts contain duplicate finding identifiers.

  • Recover from temporary browser database opening failures and validate saved recent-analysis pointers so malformed session state cannot disrupt returning to an analysis.

  • Reject malformed or empty successful responses from the local server API instead of letting invalid JSON cause misleading downstream interface failures.

  • Remove empty or repeated ?token= parameters from local web interface URLs, while retaining valid tokens for the current tab.

  • Make browser-exported analysis filenames portable and predictable: normalize accented repository names, limit the filename length, and use a safe date fallback when metadata contains an invalid date.

Maintenance

  • Verify the complete Windows CLI, desktop installers and WinGet manifest inventory before publication; run the same check in unpublished release trials.

  • Require installers and WinGet manifest validation before npm and container image publication; wait for all published packages and images before creating the GitHub release, reducing the risk of a partial release.

  • Run the cross-platform CI matrix once per pull request rather than again for every feature-branch push, while preserving automatic checks on main and manual workflow dispatch for standalone branches.

  • Lock Razorpay donations to the single official link, https://razorpay.me/@SanskarCodes, across the website, project documentation, and GitHub Sponsors configuration. Run an automated audit and regression tests in CI to reject alternate, insecure, or outdated destinations.

1.4.2 - 2026-10-20

A stability-focused release that improves Windows CLI startup, updates a vulnerable archive dependency, strengthens validation of untrusted archives, and adds checks for packaged Windows executables and installer artifacts.

Fixed

  • Launching the portable repodna CLI without arguments now prints the full command reference and exits successfully instead of returning usage error 2. Invalid options and subcommands continue to return usage error 2. This may improve package-manager executable validation; Microsoft's v1.4.1 CLI validation warning is not yet confirmed to have this cause.

Security

  • Upgrade the core and desktop lockfiles to zip 9.0.4 to address published archive-extraction security advisories affecting zip 8.6.0. ZIP entry-name decoding is now treated as fallible; malformed names are rejected instead of being passed to the extraction path sanitizer.

Packaging

  • Validate all four Windows release artifacts before writing any WinGet manifests; a missing or invalid later artifact no longer leaves partial YAML files that could be mistaken for submission-ready packages.

  • The portable ZIP preflight now rejects out-of-package entries and symbolic links and verifies archive payload integrity, in addition to existing traversal, duplicate-name and executable-path checks.

  • Harden WinGet manifest generation: hash large release installers in fixed-size chunks and reject portable ZIP archives with unsafe or duplicate entry paths, missing executable paths, or empty installer files.

  • Add a Windows portable ZIP smoke verifier: check the nested binary layout, PE machine architecture, and CLI startup, help, version and usage exit codes. ARM64 cross-compiled archives undergo static validation until a native Windows-on-Arm execution test is available.

Tests

  • New WinGet regression tests exercise missing executables, ZIP path traversal, and zero-byte MSI assets. Windows CI now packages and executes the CLI from a clean temporary ZIP extraction, and the release workflow rechecks both x64 and ARM64 archives before they can be uploaded.
  • Regression coverage checks the no-argument launch, help output, and --version exit status. CI and the release pipeline smoke-test the no-argument startup on supported build runners before publishing artifacts.

Release validation

  • The release workflow now runs actual Windows ZIP smoke tests inside the CLI matrix, rather than leaving an inapplicable check in the WebAssembly job.
  • Windows x64 and ARM64 builds must each produce nonempty MSI and setup EXE artifacts before the desktop job succeeds.
  • GitHub release downloads and WinGet catalog publication remain separate: Microsoft's review of the v1.4.1 desktop and CLI package submissions was still pending when this release was prepared. Do not describe WinGet installation of v1.4.2 as available until it is independently indexed.

1.4.1 - 2026-10-16

Added

  • Generate WinGet community manifest sets for the Windows desktop MSI and portable CLI ZIP on both x64 and ARM64. The release workflow calculates SHA-256 hashes directly from built files and checks the nested CLI executable paths before packaging six YAML files in repodna-1.4.1-winget-manifests.zip.
  • An opt-in WinGet submission workflow verifies the published checksum and can submit both packages for Microsoft review with a maintainer-provided secret.
  • Windows installation and upgrade guidance, including the requirement that Microsoft accept and index each version before winget upgrade discovers it.

Tests

  • Regression tests check generated hashes, archive paths, architectures, missing files, and unsupported version strings; release and CI run the tests automatically.

1.4.0 - 2026-10-15

Added

  • A hand-authored, scalable SVG logo combining a DNA helix with graph nodes, plus a matching vector wordmark and platform icon rendering.
  • A branded startup screen for the web version and desktop window, visible before JavaScript loads and while RepoDNA initializes, without forcing an artificial delay.
  • A third official way to support the project, PayPal.Me, in the About page, README, SUPPORT.md, and GitHub Sponsor button.

Changed

  • Updated branded PWA and desktop icons to match the hand-authored source artwork.
  • Updated workspace and packaging versions for the v1.4.0 development line.

Fixed

  • When initialization finished after the splash screen was displayed, keyboard focus was not moved to the content region; the startup transition now restores that focus.

  • The FAQ incorrectly claimed there was no official GitHub Action; it now points to the maintained Action and its documentation.

  • The web deep-link parser now preserves additional question marks in URL query values.

Tests

  • Regression checks verify startup branding and the three supported donation links.
  • The release CI checks Rust, WebAssembly, TypeScript, desktop app, documentation, and dependency advisories before publication.

1.3.3 - 2026-10-15

Fixed

  • The repodna-wasm command line now rejects missing option values, flags for the wrong command, unsupported report formats, themes, and privacy presets, and repeated flags before it loads the WebAssembly program.
  • repodna-wasm refuses to replace the input analysis with a report or card when --output points to the same file, including a hard link to that file.
  • The documentation site rewrites relative links and image paths in raw HTML with either single- or double-quoted attributes.
  • Malformed percent escapes in documentation links produce a build diagnostic instead of making the documentation-site generator crash.

Security

  • Upgraded to rustls 0.23.46 in both Rust lockfiles to resolve RUSTSEC-2026-0346, RUSTSEC-2026-0347, RUSTSEC-2026-0348, and RUSTSEC-2026-0349.

Tests

  • Regression tests for WebAssembly command-line argument validation and input-file preservation run without needing to build a WebAssembly engine.
  • Documentation-site tests cover raw HTML links and malformed URL encodings.

1.3.2 - 2026-10-12

A follow-up to 1.3.1. The documentation is now a site of its own, at https://sanskarin.github.io/RepoDNA/docs/, with every guide, search, and the project's pages; the support links lead to the new Buy Me a Coffee and Razorpay pages; and repodna-wasm says plainly when a file or a folder it is given does not exist.

Added

  • The documentation site, published with the web version: every guide, the changelog, the roadmap, the project's policies, and the examples, benchmarks, and fixtures pages. It has a sidebar that follows the documentation index, search over every section, the sections of each page, previous and next pages, copy buttons on code, and the light or dark theme chosen in the web version. It fits phones and prints cleanly. Links between the guides lead to their pages, and links to other files of the repository to them on GitHub.
  • A Sponsor button on the repository's page on GitHub, with Buy Me a Coffee and Razorpay.

Changed

  • The support links lead to Buy Me a Coffee and https://razorpay.me/@SanskarCodes: on the About page of the web version and the desktop app, in the README, in SUPPORT.md, and in the FAQ.
  • The Documentation link of the About page, the end of repodna --help, and the repodna.toml and config.toml files that RepoDNA writes lead to the documentation site.
  • The web version's offline cache leaves the documentation published beside it to the network, so that offline a guide is never shown as the web version.

Fixed

  • repodna-wasm printed Node's own error for a file or a folder that does not exist (ENOENT: no such file or directory, stat '/full/path'), and read a folder given to report or card as an analysis file. It now says which file or folder does not exist, that report and card need an analysis file, and why it cannot write its output.
  • The GitHub Action gave up on downloading RepoDNA after a few seconds of errors from GitHub's servers, such as 504, and then said that the release had no such file. It now retries for up to two minutes, and when a download fails, says so, with the error, rather than that the file does not exist.
  • The guide to the GitHub Action left the security-only profile out of the profiles its profile input takes.

Documentation

  • The development guide explains how to build, preview, and check the documentation site, and the README and the documentation index link to it. CI and the Web version workflow fail on a broken link or anchor in the documentation.
  • Screenshots of 1.3.2 on the images branch, the documentation site's among them, and the README and the guides show them; the media kit has 1.3.2 promo images and Project DNA cards.

1.3.1 - 2026-10-10

A release about the web version, which now analyzes repositories itself. Choose or drop a folder or a .zip or .tar.gz archive, and RepoDNA analyzes it right in your browser, with its analysis built as WebAssembly: nothing to install and nothing uploaded, though without Git history. The web version also makes reports and Project DNA cards, and keeps working offline once opened. The same program is on npm as @sanskarin/repodna-wasm, RepoDNA has an official GitHub Action, the command line and the desktop app run on Windows on Arm, and the desktop app saves reports and cards better.

Added

  • Analysis in the web version: Analyze a repository in this browser on the start page takes a folder, or a .zip, .tar, .tar.gz, or .tgz archive, and a profile, and a folder or an archive dropped anywhere on the page is analyzed too. The start page shows the stages as they run, the files done, and the time taken, with Stop. The analysis opens like an analysis file and is kept with the recent analyses. Files are read in the page only when the analysis needs them, so files that .gitignore excludes are never read; the repository's own repodna.toml applies, and Git history, which browsers cannot read, is left out.
  • In the web version, Reports & export makes the HTML and Markdown reports of an open analysis, with a theme and a privacy preset, and shows its Project DNA card, with downloads as SVG and PNG, by the same code as repodna report and repodna card.
  • The web version keeps working without a connection once opened: a service worker keeps the page, its files, and the demo, and the analysis program once it has been used. It keeps no analyses, and repodna serve and the desktop app do not use it.
  • @sanskarin/repodna-wasm, on npmjs.com and GitHub Packages: RepoDNA's analysis, reports, and cards as WebAssembly, for Node.js and browsers on any system. npx @sanskarin/repodna-wasm analyze . analyzes a folder or an archive without a native program, and its JavaScript API runs the program on files in a browser.
  • repodna-<version>-wasm32-wasip1.zip with each release: the same program for WASI runtimes such as wasmtime.
  • An official GitHub Action: uses: sanskarIN/RepoDNA@v1.3.1 installs the release on any runner, checked against its checksums, analyzes the repository once, adds the summary to the run's page and the findings as annotations, keeps the analysis and, when asked, the full report, and fails at the severity you choose, against a baseline if you give one.
  • Windows on Arm: repodna-<version>-aarch64-pc-windows-msvc.zip, the desktop installers RepoDNA_<version>_arm64_en-US.msi and RepoDNA_<version>_arm64-setup.exe, and the npm package @sanskarin/repodna-win32-arm64, which @sanskarin/repodna installs there.
  • The desktop app saves the Project DNA card from its own panel, as SVG or PNG, light or dark as its preview shows it.
  • Print this view, or save it as PDF in the command palette (Ctrl/Cmd + K), for the desktop app, which has no print menu, and wherever Ctrl+P opens files instead.

Changed

  • The desktop app names saved reports after the analysis, such as repodna-widget-2026-10-10.html, instead of repodna-report.html, and the report folder repodna-widget-2026-10-10-report.
  • The menus that choose an analysis profile name the profiles, and the chosen profile's description shows under them.
  • With one thread, discovery walks the repository without starting a parallel walk.
  • Analyses made with WebAssembly record their platform as wasi and wasm.
  • The security policy of the web interface, in its page, repodna serve, the web image, and @sanskarin/repodna-web, allows compiling WebAssembly ('wasm-unsafe-eval'), and the web image and the npm server send .wasm files with their type.

Fixed

  • In the desktop app, saving the full report folder replaced the report of another repository saved in the same folder before. Each now gets a folder of its own, and a second one of the same analysis gets -2.
  • In the desktop app, Save the DNA card saved a light card unless the dark report theme was chosen, whatever the card's preview showed.
  • The desktop app's report buttons read Save markdown report and Save jSON artifact.
  • The menus that choose an analysis profile were cut off in the desktop app and in narrow windows.

Documentation

  • The web interface guide describes analyzing in the browser, reports and cards there, offline use, printing, and building and serving the web version with its analysis; a code block that ran into the next sentence is fixed.
  • A guide to the GitHub Action, and the installation guide covers Windows on Arm, WebAssembly, and the new packages.
  • The Privacy Policy and the privacy guide describe the web version's analysis and the files it keeps to work offline.
  • The screenshots, promo images, and Project DNA cards of every release moved from docs/images and docs/media to the images branch, and the release pages from docs/releases to the releases-info branch, which also keeps each release's notes as published and its pull requests. The code is about 42 MB smaller to download and check out. The README, the guides, and the release notes show the images from the images branch, and the release steps add each version's images and pages to these branches.
  • A page for 1.3.0 on the releases-info branch, with its downloads.
  • The README, the architecture and development guides, and the roadmap describe the WebAssembly analysis, the new packages, and the Action.
  • Screenshots of 1.3.1 on a desktop, a phone, and in the desktop app, now also of the web version analyzing in the browser, and the README and the guides show them; the media kit has 1.3.1 promo images and Project DNA cards.

1.3.0 - 2026-10-09

A release about using the web interface. The analysis you had open survives a reload, the last files you opened wait on the start page, and links lead from each view to the next and to each of its panels. The web version can be installed as an app, opens files dropped anywhere on the page, saves any table as CSV, and prints cleanly. A new npm package, @sanskarin/repodna-web, runs it on your own machine.

Added

  • Recent analyses: the web interface keeps the last five analysis files you open in this browser, never uploading them, lists them on the start page and in search, and opens them again in one click. Remove them one by one or all at once, or turn this off, in Settings.
  • Reloading the page opens the same analysis on the same view again, in the web version too. A new tab starts on the start page.
  • Ways through an analysis: the numbers at the top of the overview open the view about them; a view with four panels or more lists them under its title; links under each view lead to the previous and the next one, as do the [ and ] keys; long pages get a Back to top button; and the sidebar shows how many findings the analysis has.
  • Findings are listed 25 at a time, with buttons for more, and open filtered from the address, such as #/findings?severity=warning.
  • Download CSV under every table saves all of its rows, in the order shown, for a spreadsheet: numbers stay numbers, and text that a spreadsheet would run as a formula is written so that it does not run. The desktop app asks where to save the file.
  • An analysis file dropped anywhere on the page opens, also while another one is open. A file dropped on the new drop zone of the Compare view is compared with the open one.
  • The web version can be installed as an app in browsers that offer it, with a window and an icon of its own. Installed in Chrome or Edge on a computer, it can open .repodna files from the file manager. The browser's bars around the page take its color, in the theme chosen in the header.
  • The start page of repodna serve and the desktop app lists the newest eight stored analyses, with a button for the rest and a filter by name or location.
  • The @sanskarin/repodna-web npm package, on npmjs.com and GitHub Packages: the web interface, built, with a small server. npx @sanskarin/repodna-web runs it at http://127.0.0.1:8080/ to open analysis files and the demo offline, and its root export is the directory to serve from your own web server.

Changed

  • A printed view, or one saved as PDF, leaves out the buttons and links made for the screen, shows every column of wide tables, and keeps headings with what follows them.
  • In the desktop app, Download the analysis as loaded opens a save dialog, as the report buttons do, instead of saving the file in a default folder without saying where.
  • The npm packages are published with the command line first: the platform packages, the launcher, and then the libraries and the web interface, so that a package the registry refuses cannot keep the command line from being published.

Fixed

  • Printing in the dark theme gave pale text on white paper, since browsers leave out the dark background. Printouts are now always in the light theme.
  • In the desktop app, the start page's drop zone did nothing: the window took every dropped file before the page could see it.
  • A file dropped beside the start page's drop zone made the browser leave the page to show the file.
  • Choosing the same analysis file again, after it failed to open or after closing it, did nothing.
  • On a phone, a table's Show all button scrolled out of sight with the columns of a wide table.
  • A table wider than the screen could only be scrolled sideways with a finger or a mouse when it held no buttons. It can now be reached with Tab and scrolled with the arrow keys.
  • The two tables of How to run the tests had the same name for screen readers, and their CSV files the same file name.
  • In the module map, a long module name was shortened in the middle of a word inside its node, which accessibility checks report as visible text missing from the node's name. The names are now drawn apart from the nodes, and are never covered by a node drawn later.
  • The Compare view titled its file column "A file or demo" when it listed no demo.
  • The page title named RepoDNA twice for RepoDNA's own analysis.

Documentation

  • The web interface guide describes recent analyses, the ways through an analysis, CSV downloads, printing, dropping files, installing the web version, and the @sanskarin/repodna-web package; the privacy policy says what the web interface keeps in the browser and how to remove it.
  • A page for 1.2.2 in docs/releases, with its downloads, and the 1.2.2 entry of this changelog dated on the day it was published.
  • Screenshots of 1.3.0 in docs/images, with one of the start page and its recent analyses, and the promo images and Project DNA cards of 1.3.0 in docs/media/v1.3.0. The README and the guides show the 1.3.0 screenshots.

1.2.2 - 2026-10-07

A small follow-up to 1.2.1: the shade on tables that scroll sideways on phones shows along the whole edge, and the npm packages of older releases can be published to npmjs.com, which put 1.2.0 there too. The notes of this release show its screenshots.

Fixed

  • On phones, the shade on the edge of a table that scrolls sideways is as strong at the top of the table as in its middle. In 1.2.1 it faded toward the top and bottom of long tables, so the first rows showed almost none.
  • The npm packages workflow can publish a release older than the newest one, such as 1.2.0 after 1.2.1. npm refused to give it the latest tag; it now goes under the previous tag, and latest stays on the newest release. 1.2.0 is on npmjs.com this way, so npm install --global @sanskarin/repodna@1.2.0 works without a token too.

Documentation

  • Screenshots of 1.2.1 and 1.2.2 in docs/images, and the promo images and Project DNA cards of 1.2.1 in docs/media/v1.2.1. Each release has a folder of its own in the media kit, and the README and the guides show the screenshots of 1.2.2.
  • The notes of a release on GitHub show its screenshots, when its tag has them.
  • A page for 1.2.1 in docs/releases, with its downloads and their sizes.
  • The installation guide and the 1.2.0 release page say that 1.2.0 is on npmjs.com too.

1.2.1 - 2026-10-06

The npm packages on npmjs.com, so that npm install --global @sanskarin/repodna works without a token, and a round of small fixes: the Project DNA card in repodna serve, clearer errors when a clone fails, accessibility in the web interface and in reports, and tables and long paths on phones.

Added

  • The npm packages are published to npmjs.com as well as GitHub Packages, so npm install --global @sanskarin/repodna works without a GitHub token. Releases publish them there, with provenance, when the repository has an NPM_TOKEN secret or trusted publishing; prereleases go under the next tag instead of latest.
  • An npm packages workflow publishes the npm packages of a release that is already out, made from the archives attached to it and checked against its SHA256SUMS.txt.

Changed

  • The start page of the web version explains how a repository gets analyzed: in the desktop app, with repodna serve, or with repodna analyze, whose repodna.json opens on the page.
  • On phones, tables that scroll sideways shade each edge that has more of the table beyond it.

Fixed

  • repodna serve shows the Project DNA card on the Reports page again. Its Content Security Policy did not allow the blob: image the page makes; the web interface image sends the same policy and was changed too.
  • A failed clone is reported as git clone failed with Git's reason, instead of every option RepoDNA passes to Git, and says what to do when the repository is private or missing, or its host cannot be reached.
  • repodna ci and the onboarding guide count recent changes "in the last 90 days of history": the window ends at the latest commit, which can be long before today.
  • On phones, the web interface no longer lets the Copy button cover a long command; paths in tables wrap after their slashes and hyphens instead of every few letters, with the table scrolling sideways when it needs more room; and long paths in findings wrap on 320-pixel screens instead of widening the page.
  • Accessibility of the web interface: primary buttons reach 4.8:1 contrast; the top bar with search and the theme menu is a landmark; finding titles keep heading levels in order; command boxes and the output of commands that ran scroll with the keyboard; and each bar and column of a chart is named for screen readers.
  • Accessibility of HTML reports: muted text reaches 4.7:1 contrast or more in light reports and on light Project DNA cards, and 5:1 in dark ones; finding titles keep heading levels in order; and wide tables and preformatted blocks scroll with the keyboard, each table in a region with a name of its own.
  • The web version on GitHub Pages stays up when GitHub Pages deploys from a branch. Until now, every push to main let GitHub's own Pages build publish the repository's files over the interface, which then showed the README. The Web version workflow now publishes the interface again as soon as that build finishes, and warns on its runs until Settings > Pages > Source is set to GitHub Actions.

Documentation

  • A media kit in docs/media: screenshots of the web interface on a desktop and a phone, in light and dark, promo images for the 1.2.0 release, and RepoDNA's own Project DNA cards, sized for social networks.
  • A folder for every release in docs/releases, with its notes, its downloads and their sizes, and the commands that install it.
  • Screenshots of the web interface in every release, 1.0.0 to 1.2.0, in docs/images: each shows that release's own analysis of this repository at its tag, and a gallery page compares them side by side. The screenshots of the media kit moved there too.
  • The README and the guides show screenshots of 1.2.0, including the desktop app and the web interface on a phone, instead of screenshots taken with 1.0.0.
  • The 1.1.1 entry of this changelog is dated on the day it was published.

1.2.0 - 2026-10-05

More ways to get RepoDNA from GitHub Packages, and a round of fixes and refinements to the web interface, the desktop app, and reports, above all on phones and in narrow windows.

Added

  • A container image of the web interface, ghcr.io/sanskarin/repodna-web, to serve the web version on your own network or without an internet connection. nginx serves it as an unprivileged user on port 8080, with the same security headers as repodna serve, on linux/amd64 and linux/arm64.
  • npm packages on the GitHub Packages registry. @sanskarin/repodna installs the repodna command line, with the binary for your platform from @sanskarin/repodna-linux-x64, -linux-arm64, -darwin-x64, -darwin-arm64, or -win32-x64. @sanskarin/repodna-schema has the TypeScript types of the analysis artifact, helpers to load and check it, and the JSON Schemas of the artifact and the configuration file. @sanskarin/repodna-visualization has the chart geometry of the web interface.
  • Copy buttons for the commands on the start page, on the Reports & export page, and in each step of the onboarding guide.
  • In narrow windows, the navigation folds behind a Menu button, and the top bar fits on a phone screen.

Changed

  • Summary tiles are laid out in even rows: six tiles form two rows of three instead of a row of five and one tile on its own.
  • Sortable table columns show a faint arrow, and text columns sort numbers by their value, so file2.rs comes before file10.rs.
  • The severity filters of the Findings view span its width and highlight under the pointer, like the buttons they are.
  • The Hotspots view describes a single hotspot instead of drawing a map with one box.
  • Search shows views, commands, and findings in the interface font, keeps the code font for paths and package names, and says when it lists only the first 60 of its results.
  • Opening a file that is not an analysis names the file, and says in plain words when it is empty or is not JSON.
  • The story of a repository dates a new directory like the other events: "src/ledger/ appeared on 2022-11-07." instead of "(2022-11-07)".

Fixed

  • On phones, the one-column layout shrinks to the screen, long commands scroll inside their box, and long link addresses on the About page wrap, instead of widening the page.
  • HTML reports wrap long paths in findings and onboarding answers, so a phone no longer scrolls the whole report sideways.
  • The chart and table toggle and the commands in the start page's drop zone stay on one line in narrow panels.
  • Chart tooltips stay inside narrow phone screens, and open above the pointer in the lower half of the window instead of being cut off by its bottom edge.
  • Moving through search results with the arrow keys keeps the highlighted result in view, and screen readers hear "No matches." when a search finds nothing.

Documentation

  • The installation guide describes the web interface image and how to install the npm packages from GitHub Packages. The README and the web interface guide mention them, and the development guide lists the packages each release publishes and how to check them.
  • The release steps in the development guide list every file that names the version.
  • The security policy names 1.2.x as the version that receives security fixes; it still named 1.0.x.

1.1.1 - 2026-10-05

A maintenance release: small fixes across the command line, reports, and the web interface, and a link to more open-source projects by RepoDNA's creator.

Added

  • Links to sanskarin.github.io, with more open-source projects by Sanskar, the creator of RepoDNA: on the About & support page and in the sidebar of the web interface and the desktop app, in repodna version, and in the README, the documentation, and the release notes.

Fixed

  • repodna config path prints only the path on standard output, so $(repodna config path) works before the file exists; the note that the file is missing goes to standard error.
  • A local AI program that leaves a background process holding its output open no longer delays the answer until that process exits.
  • A repository without an inferred architecture no longer shows "unavailable confidence" in the terminal summary, in reports, or in the web interface.
  • Counts read correctly in the singular in the command line, reports, badges, the built-in page of repodna serve, plugin messages, and the web interface ("1 module", "1 file", "1 commit", "1 analysis"), and a comparison no longer says "half of the commits by 1" for a repository with one contributor.
  • The first-look answers and the onboarding guide say when no test files were found instead of "0 test files. Run them with …", and a command that ends with a period, such as pip install -e ., no longer gets a second one.
  • Changes to files at the top level are described as being at the repository root instead of in "(root)/".
  • The Architecture view of the web interface names the inferred style instead of saying "Looks like a …".
  • Published release notes keep the link to the web version.

Documentation

  • The README names the network use you can ask for: cloning a URL, or reaching an AI provider you configured.
  • The web interface guide and troubleshooting explain why a copy of the web version on GitHub Pages can show the README instead of the interface.
  • Risky-pattern findings are named security.<rule> in the guide to the RepositoryDNA model, as in the security guide.
  • The 1.1.0 entry of this changelog is dated on the day it was published.

1.1.0 - 2026-10-04

Optional AI explanations: prose about a repository, grounded in the analysis, checked against its evidence, and off until you configure a provider.

Explanations

  • repodna explain explains a repository (--about repository, architecture, history, dependencies, or onboarding), one module (--module), one hotspot (--hotspot), or answers a question (--ask), as text, Markdown, or JSON with its provenance: provider, model, revision, cited evidence, and token use.
  • The model receives a numbered selection of evidence from the analysis, never the repository, and its answer is checked against it: citations of evidence that was not sent are removed, statements without a valid citation are labeled as not supported, and statements the model marks as inferences are labeled as such.
  • Three providers: a local program that reads the prompt on standard input (for example ollama run <model>), any OpenAI-compatible server (Ollama, llama.cpp, LM Studio, vLLM, or a hosted service), and the Anthropic API.
  • --dry-run shows the exact prompt, the evidence, where it would be sent, and the highest cost from prices you set, without contacting anything.
  • Answers are cached on this machine; --fresh asks again and repodna cache clear removes them. When a model declines, RepoDNA reports the reason the provider gives.
  • repodna doctor reports the configured provider without contacting it.

Privacy and safety

  • AI is set only in your user configuration: a repository's own configuration cannot enable it or allow remote providers.
  • A provider whose endpoint is not on this machine is refused unless you allow remote AI with privacy.remote_ai = true or, for one run, --allow-remote-ai.
  • API keys are read from an environment variable you name and never stored. Without one, ANTHROPIC_API_KEY is sent only to Anthropic's own endpoint.
  • No source code is sent unless you enable ai.include_source_excerpts: excerpts are a few lines per file, have likely secrets redacted, and are never read through a link that leads out of the checkout. Contributor names and email addresses are never sent.
  • The model gets no tools: it cannot run commands, read files, or use the network through RepoDNA. Repository text is sent as data, and answers are cleaned of terminal control sequences and escaped in Markdown.
  • RepoDNA uses the network only to clone a Git URL you give and to reach an AI provider you configure.

Web interface and desktop app

  • The start page, the settings, and the analysis details say that explanations are optional and need a provider you configure, and whether an analysis used remote AI.

1.0.0 - 2026-09-27

The first stable release: local-first repository intelligence and code archaeology, with every conclusion backed by evidence.

Analysis

  • One analysis of a directory, a Git URL (cloned into a temporary directory), or an archive (.zip, .tar, .tar.gz, .tgz), with three profiles: quick, standard, and deep.
  • Structure and languages: 65 built-in languages, 25 of them with lexical analysis of imports, symbols, and complexity; file classification that honors .gitignore, .gitattributes (linguist-generated, linguist-vendored), and your own rules; entry points and the directory tree.
  • Architecture: modules from package manifests and directories, import resolution, the file and module dependency graphs, cycles, layers, centrality, and the inferred style with a confidence level.
  • Dependencies: manifests and lockfiles for Cargo, npm, PyPI, Go, Maven and Gradle, NuGet, RubyGems, Composer, pub, and Swift Package Manager, read offline.
  • History and code archaeology: commits, contributors with .mailmap, ownership, releases, quiet periods, file history across renames, recent changes, and ranked change hotspots.
  • The Codebase Time Machine: snapshots rebuilt from Git without a checkout, epochs, events, the architecture at each snapshot (deep profile), and the project's story, with facts and interpretations kept apart.
  • Quality signals: cyclomatic complexity, long and deeply nested functions, large files, duplicated and similar code, markers such as TODO and FIXME, and dead-code candidates.
  • Security signals: 20 secret rules (values are never stored), 18 risky-pattern rules for code, configuration, CI workflows, and containers, and file permission checks.
  • Tests, build, and documentation: test frameworks and files, build systems and commands, CI providers, documentation checks, and a getting-started guide assembled from the repository. Build and test commands run only when execution is enabled in the user configuration.
  • Findings with evidence, method, limitations, and next steps, a severity (critical, warning, attention, info) and a confidence (high, medium, low), and suppressions that require a reason.
  • The DNA fingerprint: eight descriptive dimensions and a DNA hash for each analyzed snapshot.
  • The RepositoryDNA artifact, a versioned JSON document (schema 1.0) with published JSON Schemas, and reproducible output with --reproducible and SOURCE_DATE_EPOCH.

Command line

  • repodna with analyze (alias scan), report, architecture, dependencies, history, hotspots, timeline, findings, show, compare, card, badge, onboarding, ci, export, import, list (alias ls), init, config, plugins, cache, clean, doctor, version, serve, schema, and completions.
  • repodna ci with --fail-on, baselines, --new-only, GitHub Actions annotations, and step summaries; documented exit codes.
  • repodna doctor checks the installation, and --export writes a diagnostics bundle for bug reports that contains no source code.

Reports and sharing

  • Self-contained HTML reports in four themes, Markdown, JSON, and CSV tables, written one at a time or as a bundle.
  • Project DNA cards (SVG and PNG, light and dark), README badges, onboarding guides, and side-by-side comparisons that describe differences without ranking.
  • Portable .repodna exports and imports, and the privacy presets local, share, and public.

Web interface and desktop app

  • repodna serve: a local web interface on 127.0.0.1 with a session token, covering every part of the analysis, with search, a command palette, keyboard shortcuts, light and dark themes, a table view for every chart, and a bundled demo that works offline.
  • A desktop app for Linux, macOS, and Windows, built with Tauri on the same Rust core.
  • A container image with the command line and Git, ghcr.io/sanskarin/repodna, for linux/amd64 and linux/arm64.
  • About & support, Privacy Policy, Terms of Use, and Licenses pages in the web interface and the desktop app; every download includes the licenses of the third-party software it contains (THIRD-PARTY-NOTICES.txt).

Extensibility

  • Plugins: declarative language definitions and analyzers in any language that exchange JSON with RepoDNA, enabled only by the user; two example plugins.
  • Configuration in repodna.toml and a user configuration file, validated strictly; a repository's own configuration cannot enable plugins or command execution.

Safety and privacy

  • No telemetry, no AI, and no network use except cloning a Git URL you give.
  • A hardened Git runner, restricted clone URLs, safe archive extraction with limits, linear-time regular expressions, and local storage in SQLite that can be checked, repaired, and cleaned.