Skip to content

Releases

legends-jev v0.3.0

Choose a tag to compare

@avalonreset avalonreset released this 04 Dec 05:22

legends-jev v0.3.0 (2026-12-03)

Signage Receipt v2 & Core Brand Derivation

  • Upgraded signage to legends-jev/signage-receipt-v2 with state.core_brand, core_brand_shown, verdict_confidence, and a fourth verdict (different_business) so readable storefronts belonging to a different business no longer pass as omits_suspect_terms.
  • Added derive_core_brand() with whole-phrase stripping (longest phrase first, unmatched delimiter cleanup) and explicit --core-brand / core_brand=... override support.
  • Enforced frozen signage v2 confidence gates (is_confident_signage(), SPEC-V2-FROZEN-20261123) while preserving default schemas and rubrics across decide, direct, preview, readiness, ocr, models, and benchmark.

Opt-In 262k Long-Context & Performance

  • Added explicit opt-in 262k long-context support via --long-context (preview, decide, ocr, signage) and long_context=False in Python helpers, attaching TypeSafe-Danger-Zone-Long-Context: true only when requested and surfacing explicit latency/accuracy/cost warnings.
  • Preferred Pillow C-accelerated BICUBIC resampling (Pillow>=10.0.0,<14) ahead of the pure-Python fallback with non-deprecated Resampling enum lookups and zero deprecation warnings.

Security & Hardening

  • Enforced strict 13-byte PNG IHDR invariants, duplicate IHDR rejection, chunk-walk acTL detection, and streaming zero-copy PNG IDAT decompression-bomb bounds across all PNG entry points.
  • Hardened refuse_symlink_tree() across --output, --api-key-file, --input, and --image against Windows NTFS junctions (Python 3.11-3.13), unnormalized .. traversals, and NUL-byte paths; added atomic sibling-temp --overwrite writes and strict is not None handling for --api-key-file / --output.
  • Added deterministic O(N) JSON nesting-depth guards (MAX_JSON_DEPTH = 64), parse_constant + parse_float non-finite/overflow (1e500) rejection, _ALLOWED_IMAGE_ASSET_KEYS allowlist validation, bounded usage token counts (<= 1_000_000_000), and benchmark --execute abort handling on "response_" and "Inverted".

Verification

  • Multi-OS CI (checks run 47273182722): 78/78 passed plus wheel build and scripts/check_wheel.py across Ubuntu, Windows, and macOS on Python 3.11 and 3.13 (plus Python 3.12 locally). Note: live HTTPS execution against api.typesafe.ai was not run on this build host (TYPESAFE_API_KEY not provisioned).
  • Attached deterministic legends-jev-0.3.0-bundle.tar.gz, legends_jev-0.3.0-py3-none-any.whl, legends_jev-0.3.0.tar.gz, and SHA256SUMS.txt.

legends-jev v0.2.7

Choose a tag to compare

@avalonreset avalonreset released this 02 Dec 19:07

legends-jev v0.2.7

Highlights

  • Ship canonical cto-legends.com homepage/documentation URLs, sync vendored cto-legends router skill pin (ff90a8bd2348), and standardize release artifact checksums.

Install or Upgrade via cto-legends

cto-legends update legends-jev --apply
cto-legends doctor legends-jev

All release artifacts are verified in SHA256SUMS.txt.

legends-jev v0.2.6

Choose a tag to compare

@avalonreset avalonreset released this 22 Nov 17:20

legends-jev v0.2.6 (2026-11-22)

  • Sync vendored cto-legends router skill pin (69ddc4f68faa) with LF normalization via .gitattributes.
  • Attach verified release package artifacts and SHA256SUMS.txt.

legends-jev v0.2.5

Choose a tag to compare

@avalonreset avalonreset released this 21 Nov 21:28

Release legends-jev v0.2.5: outlined r1 Legends Font architecture, plain-english workflow, and comparison SVG cards, expanded 280..1568 px in-process normalization and original-image pixel_box coordinate documentation, and evergreen collapsible reference documentation.

legends-jev v0.2.4

Choose a tag to compare

@avalonreset avalonreset released this 11 Nov 03:34

v0.2.4 - 2026-11-10

  • Image Decompression & Pixel Ceiling Hardening (legends_jev/core.py, legends_jev/provider.py): Enforced a 50 MiB file size cap, 64-megapixel (64,000,000 pixel) and 16,384 px dimension limits in parse_image_header(), bounded zlib.decompressobj().decompress(raw, max_length) in _decode_simple_png_rgb(), and Pillow Image.MAX_IMAGE_PIXELS + post-open width * height checks in _normalize_image_for_vision() with clean DecompressionBombError/OSError handling.
  • Credential Redaction & Transport Hardening (legends_jev/provider.py): Added control-character validation on TYPESAFE_API_KEY, caught http.client.InvalidHeader/HTTPException without echoing header values, and enforced _NoRedirectHandler with ProxyHandler({}) and TLS 1.2+ on authenticated API calls.
  • Ancestor Symlink & Overwrite Guards (legends_jev/cli.py, legends_jev/core.py): Added ancestor-chain symlink refusal (with macOS /var//tmp//etc system symlink exemptions), --overwrite protection on --output, and control-character/delimiter sanitization in ocr_request().
  • Packaging & Release Gate (pyproject.toml, README.md, docs/AGENT-RECIPE.md, scripts/check_release.py): Fixed documentation links, achieved 1:1 CLI flag parity in docs/AGENT-RECIPE.md, added explicit license-files, and upgraded scripts/check_release.py to build and verify .whl and .tar.gz distributions.

legends-jev v0.2.3

Choose a tag to compare

@avalonreset avalonreset released this 05 Nov 19:04

Highlights

  • Ecosystem Gold Standard & EDR Gate: Added docs/AGENT-RECIPE.md, scripts/check_release.py, THIRD_PARTY_NOTICES.md, MANIFEST.in, and assets/manifest.json aligned with the CTO Legends public release standard.
  • Strict Explicit Credential Loading: Removed Windows DPAPI store lookups (CryptUnprotectData) and PowerShell wrapper scripts; credentials are now resolved strictly from TYPESAFE_API_KEY or an explicit --api-key-file <path> with symlink refusal across --input, --image, --output, and --api-key-file.
  • Documentation & Asset Hygiene: Sanitized assets/banner.json, fixed the GitHub Actions workflow badge link, and documented Pillow>=10.0.0 runtime image normalization in README.md.

legends-jev v0.2.2: native Pillow image normalization and zero-subprocess runtime

Choose a tag to compare

@avalonreset avalonreset released this 04 Nov 14:57

Highlights

  • Pure-Python Image Normalization (pyproject.toml, legends_jev/core.py): added Pillow>=10.0.0 to package dependencies and removed the Windows powershell -NoProfile -NonInteractive -Command "Add-Type -AssemblyName System.Drawing..." image-resizing subprocess fallback from legends_jev/core.py, eliminating child PowerShell process creation during JPEG/PNG normalization and leaving zero subprocess calls anywhere in the legends_jev runtime package.
  • Direct Credential Readiness (legends_jev/cli.py): added credential_present to doctor and readiness JSON output so agents detect provisioned credentials directly in Python without invoking PowerShell wrapper scripts.
  • Verification: 25 automated unit tests (tests/test_core.py, including native 1920x1080 JPEG normalization) and isolated wheel verification (scripts/check_wheel.py) pass across Python 3.11+.

legends-jev v0.2.1

Choose a tag to compare

@avalonreset avalonreset released this 29 Oct 21:07

legends-jev v0.2.1

  • Raise minimum supported Python runtime to Python 3.11+ (requires-python = ">=3.11").
  • Harden GitHub Actions CI workflows with 40-character commit SHA action pins, explicit contents: read permissions, and pip>=26.2.2 before package installation.

legends-jev v0.2.0

Choose a tag to compare

@avalonreset avalonreset released this 22 Oct 14:54

legends-jev v0.2.0

Highlights

  • General-purpose optical recognition (ocr / ocr_request): Typed structured text extraction, claims_evaluation, and 0..1000 normalized + original-image pixel_box bounding boxes across 1..6 local images (PNG, JPEG, WEBP, GIF).
  • Storefront signage & logo verification (signage / signage_request): Structured visual comparison of a published Google Business Profile title against physical storefront signage, multi-vantage Street View captures (streetview, streetview_v1, streetview_v2), and logo badges, returning visual_verdict, best_streetview, physical_sign_visible, and per-observation pixel_box coordinates.
  • Multimodal decide: Optional images (--image label=path) support on decide for visual candidate action selection, with automatic aspect-preserving image normalization (280..1568 px) via Pillow when available.
  • Pure-Python Windows DPAPI credential resolution: Reads TYPESAFE_API_KEY from process environment or ~/.cto-legends/credentials/typesafe_api_key.dpapi via ctypes.windll.crypt32.CryptUnprotectData without spawning a PowerShell subprocess.

Verification

  • Commit: 18b4b2867f226e175f10dc042b389f6c38602fb2
  • Unit & schema validation suite: 25 / 25 passed
  • Isolated wheel smoke check (scripts/check_wheel.py): passed

legends-jev v0.1.0

Choose a tag to compare

@avalonreset avalonreset released this 30 Sep 01:20

legends-jev v0.1.0

An MIT-licensed decision adapter for TypeSafe Jev. It compares explicitly
supplied action candidates against small text observations and returns reviewed
suggestions or an operator fallback.

  • Text-only Choice, Score and Noul helpers with strict response validation.
  • Offline previews and deterministic freshness/eligibility guards.
  • Explicit single-request API calls, sanitized errors and no automatic retries.
  • Portable environment credentials and a Windows DPAPI pilot wrapper.
  • Labeled synthetic comparison and packaged operator recipe.

This release does not capture screens, ground images, click controls or navigate
browsers. Operators validate results and use their existing action tools. The
hosted Jev service is separate from the open-source adapter. See the benchmark
report for observed performance and limits; no general speedup is claimed.