Skip to content

RailsToolViews v1.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 01:46
· 15 commits to main since this release

[1.0.0] - 2026-10-26

Freezes the public contract. From 1.0.0, releases follow Semantic Versioning for every name the Public Contract lists. No migration or runtime dependency; data saved by 0.1.0 through 0.4.0 upgrades unchanged. See the Upgrading guide.

  • Fix: the Stimulus controller moved focus to the status region of every saved Surface on page load, not only after a Turbo replacement. Focus now moves only for a rendered replacement or an error; a refresh keeps the reader's place.
  • Fix: malformed registrations raised raw Ruby errors. An invalid schema pattern now raises INVALID_SCHEMA, an action definition that is not a Hash or lacks schema: raises INVALID_ACTION, and a non-array expose_to raises INVALID_COMPONENT.
  • Fix: an actor, tenant or other identifier with invalid UTF-8 raised ArgumentError; it now raises the identifier's own code, such as INVALID_SCOPE. Valid identifiers are returned as UTF-8 Strings, so binary-encoded input still matches its stored row.
  • Fix: normalized values kept String subclasses such as ActiveSupport::SafeBuffer. They are now plain Strings, the same as after a reload.
  • Fix: request digests re-applied the payload size and depth limits to their envelope, so props or arguments close to a limit were rejected with PAYLOAD_TOO_LARGE or PAYLOAD_TOO_DEEP after passing validation. Digests of every previously accepted value are unchanged.
  • Fix: a correlated presentation that lost a concurrent insert race raised IDEMPOTENCY_CONFLICT without emitting presentation.rejected.
  • Fix: discovery policies received a mutable Access; it is frozen like every other policy request.
  • Fix: the Engine page's inline stylesheet had no CSP nonce, so a host with a nonce-based style-src policy got an unstyled correction page. It now carries content_security_policy_nonce.
  • Fix: deliver without an adapter marked pending or failed follow-up skipped, irreversibly dropping committed work when a worker booted without adapter configuration. It now raises AGENT_NOT_CONFIGURED (503) and leaves the interaction unchanged. Dispatch without an adapter still records skipped.
  • Add: reconcile_delivery(id, scope:, outcome: :completed | :failed) records the host's attested outcome for an uncertain or expired delivery and clears its uncertainty, so the view can close and be cleaned up. Authorized by the new default-deny reconciliation_policy; a fresh lease raises DELIVERY_ACTIVE; a different outcome with nothing to resolve raises RECONCILIATION_CONFLICT; an invalid outcome raises INVALID_RECONCILIATION. Emits agent_reconciled.
  • Add: purge_closed(after:) and the summary's next_after cursor page past protected views. Before, protected oldest views could fill every batch so newer eligible views were never reached. Strict consumers of the summary must accept the new key.
  • Docs: declare the 1.0 public contract (Ruby API, error codes and statuses, helpers, HTTP fields, browser identifiers, events, delivery keys and persisted data). Label the RubyLLM adapter experimental and exclude MySQL from the supported matrix.
  • Test: the upgrade smoke now starts from data saved by every published release, 0.1.0 through 0.4.0.