Skip to content

v6.5.0

Choose a tag to compare

@magicdrive magicdrive released this 15 Oct 03:13
· 221 commits to main since this release
03cc2d5

Ark v6.5.0 — Web Semantic Fidelity

Ark v6.5.0 significantly expands semantic code intelligence for modern web projects, introducing HTML and CSS support, improving JavaScript and TypeScript resolution, and connecting symbols and references across language boundaries.

This release focuses on a fundamental principle: semantic confidence must reflect what static analysis can actually prove.

Rather than maximizing high-confidence matches at the expense of correctness, Ark distinguishes verified relationships from plausible candidates, making code exploration more reliable for developers and AI coding agents.

Highlights

HTML and CSS Semantic Support

Ark now provides semantic analysis for HTML and CSS, extending its code intelligence capabilities beyond programming languages into web documents and stylesheets.

Key capabilities include:

  • HTML element and attribute analysis.
  • CSS symbol and reference extraction.
  • Semantic relationships between HTML and CSS.
  • Support for embedded language regions.
  • Conservative handling of malformed HTML and ambiguous references.

These capabilities enable richer exploration of web applications and their associated assets.

Improved JavaScript and TypeScript Resolution

JavaScript and TypeScript semantic analysis has been strengthened with improved symbol identity, scope awareness, and reference resolution.

The improvements focus on:

  • More accurate symbol and reference relationships.
  • Better handling of lexical bindings and module boundaries.
  • Reduced false-positive high-confidence resolutions.
  • More reliable navigation across JavaScript and TypeScript codebases.

Conservative CommonJS Confidence Boundaries

This release introduces an important refinement to CommonJS resolution confidence.

Static analysis can identify CommonJS export mappings, but it cannot always prove that exported values remain unchanged at runtime.

Ark now applies a conservative confidence boundary:

  • Lexically proven bindings can retain Exact confidence.
  • Cross-CommonJS export-value references are capped at Candidate.
  • Static export mappings remain available for discovery.
  • Existing ESM and TypeScript confidence guarantees are preserved.

This is an intentional correctness improvement, not a loss of discovery capability.

Consumers that filter results exclusively by Exact or Strong may observe fewer high-confidence CommonJS results. Candidate-inclusive discovery remains available.

Cross-Language Asset Relationships

Ark now provides improved semantic connections across web languages and assets.

This enables code exploration workflows to discover relationships that span HTML, CSS, JavaScript, and TypeScript rather than treating each language in isolation.

For AI coding agents, these relationships help provide more relevant context when investigating web application behavior and dependencies.

Semantic Fidelity and Validation

The Web Semantic Fidelity work includes extensive regression testing and independent validation.

Highlights include:

  • Independent TypeScript Oracle validation across 20 corpora.
  • Zero observed false Exact, Strong, or Outside classifications in the validated corpus.
  • Preservation of candidate-inclusive discovery recall.
  • Regression coverage for CommonJS confidence boundaries.
  • Additional HTML, CSS, JavaScript, and TypeScript correctness tests.
  • Validation of cross-language semantic relationships.

The CommonJS confidence refinement eliminated 290 previously unsafe Strong classifications in the evaluated corpus without reducing candidate-inclusive recall.

These figures describe the evaluated corpus and are not a universal accuracy guarantee.

CI and Reliability

The release also improves the efficiency and reliability of Ark's validation pipeline.

Improvements include:

  • Reduced unnecessary work in race-enabled MCP tests.
  • Rebalanced race-test shards.
  • Improved validation of HTML semantic behavior.
  • Strengthened regression testing and CI stability.

The existing validation coverage remains in place, including unit tests, race detection, fuzz smoke tests, filesystem security tests, and TypeScript compiler differential testing.

Compatibility Notes

CommonJS Confidence Changes

The most important behavioral change is the conservative classification of cross-CommonJS export-value references.

Integrations relying exclusively on high-confidence results should review whether Candidate results are appropriate for their discovery workflows.

No equivalent confidence downgrade is intended for lexically proven bindings or established ESM and TypeScript resolution guarantees.

Index Cache

The release incorporates updated JavaScript and TypeScript semantic index cache generations (js-12 and ts-16).

Existing indexes may require rebuilding as Ark adopts the updated semantic representation.

Looking Ahead

Web Semantic Fidelity establishes a stronger foundation for future improvements in cross-language code intelligence, semantic precision, and AI-assisted code exploration.

Ark continues to prioritize reliable static analysis, explicit confidence boundaries, and efficient context retrieval.


Ark v6.5.0 — Broader web intelligence. Stronger semantic guarantees.