Repository navigation
v3.4.0
A minor release from master, following v3.3.0 (2026-10-08). The interface
contract moves from 1.31.0 to 1.50.0 without leaving major version 1: no tool,
action or input is removed or renamed, and the one retyped input
(delegate_inference's host_id, from an enum to a bounded string) accepts
every value it accepted before; consult gains an optional host_id. Several
behaviors change; each is listed below
with the step or setting it needs, where one exists. Five database migrations
land, and two of them make rollback forward-only. The full list of changes is
the 3.4.0 changelog entry; this page covers what an operator
needs to upgrade, what an existing install will notice, and what is not
claimed.
Upgrade order
Apply the migrations before any 3.4.0 process starts, with the writers stopped.
-
Before you start, with the old release still running, check that no
dialectic resolution saga is in flight. On Docker Compose:echo "SELECT count(*) FROM coordination.session_resolution_sagas WHERE state IN ('reserved', 'paused_agent_applied', 'both_agents_applied', 'reverting');" \ | docker compose exec -T postgres-age sh -c 'psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -At'
An operator install runs the same query with
psql. It should print 0.
These states are transient in a running deployment; let the old release
finish or revert them first. Drain every live file-write executor too, and
do not run old and new executors side by side. -
Docker Compose. In a checkout of v3.0.0 to v3.3.0,
scripts/unitares updateis that release's script. It cannot pass the attestation that
migrations 077 and 078 require, so its upgrade refuses and rolls back. Move
the code once by hand and let the 3.4.0 script do the rest:git fetch --depth 1 --no-tags origin "+refs/tags/v3.4.0:refs/tags/v3.4.0" git checkout --detach v3.4.0 ./scripts/unitares update --to v3.4.0The 3.4.0
updatestopsgovernance-mcpandlease-plane, writes a backup
(to~/.unitares/backupsunlessUNITARES_BACKUP_DIRsays otherwise),
applies migrations 074 to 078 with the attestation, then starts the new
images. Do not start the 3.4.0 server or lease plane any other way before
the migrations are applied. From a release before v3.3.0, also read the
Upgrading notes of each release in between: they still apply, and some fail
silently, such as v3.3.0's removed model setting names. Ifupdatestops before migration 077 is
applied, it restarts the stack from the checked-out 3.4.0 Compose file; to
run the previous release's images instead, check that release out and run
docker compose up -d --wait. Once 077 or 078 is applied, it keeps both
writers stopped for forward repair. -
Operator install. Follow the frontier rollout order in
docs/operations/lease-plane-operator-runbook.md:
block dialectic submissions and stop both writer runtimes, back up the
database (withpg_dump, orscripts/ops/backup_governance.shon a
Homebrew PostgreSQL@17 host; see Rollback for what such a dump gives you),
apply the
migrations, restart the Python server on 3.4.0, then the lease plane on the
same revision, verify both revisions, and only then restore dialectic
traffic. With both writers stopped,
python3 scripts/dev/apply_migrations.py --apply --dialectic-writers-quiesced
applies the migrations. Without the flag the run refuses before applying
anything while 077 or 078 is pending; with it, the run refuses at 077 while
a resolution saga is in flight, after 074 to 076 have applied. Apply the
migration files only throughapply_migrations.pyorunitares update:
loading them withpsql -fskips both checks. -
Every install needs migration 076 before the 3.4.0 lease plane starts:
its lease queries read 076's column even with execute flags off. Retained
reservations and their recovery are described in
docs/operations/effect-custody-recheck.md. -
Native BEAM services (the agent orchestrator, and a lease plane started
bystart.sh) keep their Erlang cookie off the command line from their next
restart. The Compose lease plane does not start throughstart.sh.
If an upgrade refuses on an in-flight saga anyway, bring the previous release
back up so its writers can finish or revert it, then run the upgrade again. If a saga stays in
flight, stop and investigate: this release ships no tool that reconciles a saga
while both writers are stopped.
| Migration | What it adds |
|---|---|
| 074 | knowledge change notices |
| 075 | dialectic resolution effects |
| 076 | effect custody reservations for file writes |
| 077 | dialectic transcript revisions |
| 078 | dialectic resolution saga revisions; drops the old same-payload uniqueness constraint |
Rollback
Before migrations 077 and 078 are applied, return to the previous release by
checking it out and starting it as before (on Compose, check out its tag, then
docker compose up -d --wait). On Compose, unitares update --to an older
release refuses as soon as the database schema is newer than that release's
last migration (073 for v3.3.0).
Once 077 or 078 has been applied, recovery is forward-only. Python
sweepers from before 3.4.0 are not generation-fenced, and BEAM writers from
before 3.4.0 rely on the uniqueness constraint that 078 removes, so earlier
code must not run on the migrated schema. scripts/unitares update refuses an automatic code rollback
across that frontier and leaves both writers stopped. Going back after that
means replacing the database with its pre-upgrade state. update writes a
gzipped plain-SQL dump before migrating, but no shipped command restores it,
and a dump that has never been restored is unverified. A dependable way back is
a restore-tested snapshot taken with the stack stopped before upgrading: on
Compose, the postgres-age-data, redis-data and governance-data volumes,
since Redis holds most session bindings. TROUBLESHOOTING.md
describes restoring the named Postgres volume from a verified backup.
What an existing install will notice
- Verdict mix for behavioral agents. Two repairs to the EISV decision path
change which decision a warmed behavioral agent receives. The basin now
reads S against the same setpoint Φ uses, and the Φ-derived fast-trip is
skipped when the behavioral assessment owns the verdict (#2831); the ODE's E
and I equations read S − σ (#2834). Expectsub_action: approvewhere
sub_action: guideused to appear; the policy action staysproceed.
#2834's estimate also moves physical-sensor rows from BOUNDARY to HIGH. The
changelog gives
each estimate with its own method and limits: #2831's is a one-step replay of
14 days of persisted inputs that does not model the closed loop; #2834's is
an equilibrium-shift estimate over the same frozen export that models
neither the transient nor the closed loop, and depends on how many rows the
Φ fast-trip still covers. Rows from either side of each change belong to
different instrument eras: new rows carrystate_json.eisv_instrument, and
the era-guarded analysis readers refuse a window that crosses a change unless
given a reason. - Lineage needs a declared
spawn_reason. The server no longer infers
subagentorcompactionfrom thread context orclient_hint. An onboard
that passesparent_agent_idwithoutspawn_reasonis recorded as
new_session; while that parent is live, the lineage is rejected
(rejected_coincidental) and the identity is minted without it. No setting
restores the inference: a dispatched child passesspawn_reason="subagent".
unitares onboardandscripts/client/onboard_helper.pyno longer declare
the cached identity as parent. observe(action="agent")redacts for other callers. A caller that is
neither the operator nor the observed agent gets the identifier the agent
listing prints instead of the UUID, and a target that names more than one
agent is refused withAMBIGUOUS_TARGET.- A paused agent cannot resume itself with
agent(action="resume"). It
getsPAUSE_SELF_RESUME_REFUSEDand the same recovery block a paused write
gets.self_recovery, dialectic, an operator, a safety net and expiry still
end a pause, and an operator token still resumes a paused agent. An expired
pause reports writes held until its token-fenced resume commits; state reads
exposeexpiry_eligibleseparately. - Archived, disabled, deleted and paused proposers are vetoed by
POST /v1/effect-vetoon every path, including the unknown-proposer branch. - CIRS auto-emit runs again. The void-alert, state-announce and resonance
emitters had not fired since 2026-03-09. They run during check-ins again:
state announces every fifth update, void and resonance alerts on
transitions. - Knowledge search ranks by semantic relevance before fusion. On the AGE
knowledge backend (UNITARES_KNOWLEDGE_BACKEND=age), semantic and hybrid
search no longer down-weight resolved, older or weakly linked records before
fusion, so results reorder andsimilarity_scorescarry the cosine score;
passrecency_half_life_daysfor a recency preference. The default backend
has no semantic search, so its ranking does not change.
search_shared_memory's lean and compact tiers list further results under
more_resultswhenlimitis unset (pass alimitof 3 for the old shape),
and its hints nameuse_tool(tool_name='knowledge', ...). - Imported memory is classified only by
source-<provider>-memorytags.
Queryless knowledge listings and check-in memory suggestions omit unpromoted
imported memory;authority_mode='all'or asource-<provider>-memorytag
filter still reads that lane. A row tagged only with a bare topic word such
asmemory-syncorimported-memoryno longer counts as imported, in
listings or in query search. - Health reports a missing Postgres extension. When
age,vector,
pgcryptoorpg_trgmis absent,health_checkand/health/deepreport
overallstatus: moderate(washealthy), withprimary_dbamong the
degraded checks andstatus: degradedandmissing_extensionsin its info. call_modelis deprecated. It still works and is removed no earlier than
2026-12-02. Move callers toconsult(effort='standard'), which reaches the
same local host;call_model's model, temperature and max_tokens controls
retire with it. The SDK'scall_model()emits aDeprecationWarning.- Inference host discovery lists configured hosts.
list_inference_hosts
returns only configured hosts by default;include_unconfigured=truereturns
the full inventory. The SDK's default follows. - The local fallback reviewer no longer approves when reviewer hosts are
set. When orchestrated dispatch fails and a reviewer host list (or a
dialectic_reviewerjob in the inference hosts file) is set, the session
waits for facilitation instead. With no list, or the local floor named as the
single host, the fallback runs as before. - Codex lanes run with reads denied. The codex host adapter and the
dialectic reviewer's codex backend run under a generated permission profile
that denies reads outside the runtime's own paths. An administrator codex
configuration refuses the lanes, and a codex that does not honor permission
profiles refuses rather than runs unconfined.
Compatibility
- Interface contract 1.50.0. Every step from 1.31.0 adds surface, records
a documented behavior change, or changes descriptions only. New surface includes replayable knowledge
notices (1.35.0), host selection and diagnostics forconsult(1.36.0,
1.37.0, 1.41.0), the operator-onlydialectic(action="reconcile_effect")
and thereviewed_work_author_agent_idsreview parameter (1.47.0), and
response_toonstore_finding(1.48.0). See
docs/INTERFACE_CONTRACT.md. - Python, Compose and dependencies. The Python floors are unchanged.
docker-compose.ymlchanges only its three image tags, which now name
v3.4.0.constraints.txtpinsmcp==2.3.0(was 2.2.0); an existing
environment keeps its installed version until it is reinstalled with the pin. unitares-sdk0.5.0 is published from this release commit. It is a
behavioral minor over 0.4.0, as 0.3.0 and 0.4.0 were, and removes nothing
public. Since 0.4.0 it negotiates progressive tool listings on connect and
sends calls to unadvertised tools throughuse_tool, fills
CheckinResult.metrics, addsconsult(),ConsultResultand aretry
keyword oncall_tool, sendsconsult()anddelegate_inference()once
without retrying, raisesGovernanceToolRefusedfrom the sync client too,
adds the lease plane'seffect_in_progressresult, carries Relay's
OpenTelemetry trace and span ids on outcome events, narrows
list_inference_hosts()to configured hosts, and deprecatescall_model().
The v3.2.0 and v3.3.0 trees declared an in-tree 0.4.1 that was never
published; this release skips that number so that one version names one
artifact.- Governance plugin. This release's skills bundle is cut as plugin v0.4.21.
Evidence and known limits
- The EISV repairs are numerical and decision-path fixes. They make no claim
about outcome prediction. The 2026-12-01 registered outcome read is amended
after interim exposure: it admits only outcomes before the first instrument
change (2026-10-15T13:45:00Z), so no outcome recorded under these repairs
enters it. observe's redaction is not yet a boundary on every surface:
observe(action="similar"),observe(action="anomalies")and
knowledge-graph writer fields still carry peer UUIDs.- A file-write reservation coordinates cooperating writers. It is not an OS
sandbox and does not cancel a filesystem operation already admitted. - Container images, SBOMs and provenance are verified by the Promote Release
workflow after publication;latestmoves only after that verification. scripts/unitares updateruns the copy of itself that the install already
has, so a release whose migrations need a new update step needs the manual
checkout above. Handing over to the target release's copy is follow-up work
(#2891).
Publication record
The release PR (#2888) records the version choice, the changelog coverage, the
Docker quickstart evidence for the container inputs that changed in this
range, and the independent review of these notes, the version choice, the
compatibility claims and the upgrade path. Publishing this release page
archives the tagged tree on Zenodo, which mints a software DOI.