Skip to content

V1.4

Choose a tag to compare

@jnamaya jnamaya released this 14 Aug 17:15
· 878 commits to main since this release

V1.4 is the release where SAFi's governance claims became checkable. 425 commits since v1.3.

The verifiable core

  • The License & Governance Agreement (docs/) now formally defines the Core Loop, the Section 7 organization exception, and the trademark policy: anyone may fork SAFi, but representing a deployment as SAFi requires an intact core or upstream review.
  • The integrity check the agreement promises ships in every release. scripts/verify_integrity.py hashes the covered files against a signed manifest, checks the structural invariants (no model call in a deterministic faculty, governance sequence intact), and reports one fingerprint.
  • Measured boot and per-record attestation. The app verifies its own core at startup, and every governance record is stamped with the fingerprint and intact state of the code that produced it. Opt-in SAFI_ENFORCE_INTEGRITY=strict refuses to start on a modified core.
  • The v1.4 core fingerprint: e44db51e48852cd1b81a258538a663410986036613a7ac05ba06f44c9d387459
  • RBAC role semantics joined the covered set; CI fails any push that edits a covered file without regenerating the manifest.

Extend without touching the core

  • Plugin registry. Plugins register for an agent by name; the orchestrator no longer knows any plugin by name.
  • Extension agents. Point SAFI_EXTENSIONS_DIR at a directory of agent definition files and they load through the same compiler, scope gate, and Will as the built-ins. Off by default.
  • New model providers and models are configuration, not core edits.
  • "Persona" is retired everywhere; they were always agents. The Contoso demo agent is gone.

Compliance

  • A per-regime readiness series in docs/: SEC/FINRA, EU AI Act, HIPAA, and ISO/IEC 42001, each stating what ships today and what stays the deployer's.
  • EU AI Act Art. 50 shipped end to end: permanent AI-interaction disclosure linked to the governing policy, and machine-readable provenance marking on every AI-output surface.
  • Regime-keyed incident notification clocks (Reg S-P, Art. 73, HIPAA) with examiner-ready export; Art. 72 monitoring alerts with a signed webhook and a published monitoring plan.
  • Encrypted governance records; audit exports carry the hash chain so a recipient can verify them independently; every turn records the policy id and version that governed it.
  • Per-org provider allow-lists with zero-data-retention and BAA badges, enforced fail-closed at every model dispatch.
  • Per-user right-of-access export and a written erasure position.

Enterprise identity

  • Server-side revocable sessions with an append-only auth journal.
  • TOTP MFA for local accounts; per-tenant OIDC claim enforcement and SSO MFA evidence for Google and Microsoft.
  • Membership lifecycle: invitations, domain auto-join policy, and org claim gating.

Product

  • A dedicated Compliance tab; Audit Hub shows the agent's full tool loop and a per-agent consistency trend; supervisory reviews export per item with the reviewer's written rationale.
  • One design language: a single brand green, standardized buttons, generated agent monograms, date-grouped sidebar history, and a reworked composer.
  • Images in attachments, configurable per-agent memory depth, and knowledge-base management (rename, member inventory, review trail kept to reviewers).

Fixes worth naming

  • Timezones. The agent's date line now follows the user's calendar (the browser sends its zone; UTC is kept alongside for audit), and API timestamps carry explicit offsets so the UI shows local time. Storage stays UTC everywhere.
  • The Docker image dropped from 2.72 GB to 1.26 GB (ONNX embeddings, shared purge image).
  • Spirit baselines are guarded against cross-tenant resets.

Upgrading from v1.3

  1. Pull, rebuild the image (or reinstall requirements on bare metal), restart. Schema migrations run at boot.
  2. Rebuild the safi knowledge-base index; its source docs changed.
  3. New optional .env keys are documented in .env.example (SAFI_EXTENSIONS_DIR, SAFI_ENFORCE_INTEGRITY, SAFI_HISTORY_TURNS, and others). None are required.
  4. Verify your deployment: python scripts/verify_integrity.py should report the fingerprint above.

Known issue, fixed in v1.4.1

Fresh installs configured with any provider other than Cerebras give guest logins no working model (guests were pinned to a hardcoded Cerebras demo model). Use v1.4.1 instead, or set SAFI_DEMO_INTELLECT_MODEL= (blank) in .env as a workaround on v1.4.

TCB Fingerprint: e44db51e48852cd1b81a258538a663410986036613a7ac05ba06f44c9d387459