refactor(assistant): finalize unified governance storage#449
Merged
Conversation
added 20 commits
June 10, 2026 11:57
…ance-data-unification
piorpua
pushed a commit
that referenced
this pull request
Jun 12, 2026
🤖 I have created a release *beep* *boop* --- ## [0.1.29](v0.1.28...v0.1.29) (2026-06-12) ### Features * converge team mode runtime architecture ([#464](#464)) ([abeb9a1](abeb9a1)) * **stt:** streaming transcription proxy over websocket ([#455](#455)) ([1c19a8b](1c19a8b)) ### Bug Fixes * **agent:** validate managed ACP platform binaries ([#462](#462)) ([651c79f](651c79f)) * **cron:** retry busy jobs from runtime state ([#459](#459)) ([9918058](9918058)) * isolate ACP cancel turn completion ([#461](#461)) ([ea01ee6](ea01ee6)) * **office:** probe star-office preferred_url host as given ([#456](#456)) ([3c2149c](3c2149c)) ### Code Refactoring * **assistant:** finalize unified governance storage ([#449](#449)) ([aba2d2a](aba2d2a)) ### Documentation * clarify production logging guidance ([#460](#460)) ([118ed03](118ed03)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
This backend PR is not just adding a few new assistant fields. It restructures assistant data into a unified governance model that can support the phase-1 frontend, conversation creation, runtime restoration, and downgrade compatibility.
Before this change, assistant-related data was split across:
assistantsassistant_overridesassistants.json / rules / avatars)extraThat fragmentation caused several problems:
extraWhat This PR Changes
1. Introduces unified assistant governance storage
This PR formalizes three core storage layers:
assistant_definitionsassistant_overlaysassistant_preferencesautomodeKey points:
assistant_definitionsskills/directory is removed from governance semanticsavatar_type + avatar_value2. Moves assistant snapshots out of conversation
extraThis PR adds:
conversation_assistant_snapshotsThis table is used to:
extraThis also clarifies runtime ownership:
conversation_assistant_snapshotsacp_sessionconversations.model-based runtime path3. Clarifies default semantics as
auto | fixedDefault mode handling is reduced to two supported semantics:
autofixedThe service behavior is now:
auto -> fixedassistant_preferencesfixed -> autoassistant_preferencesfixedvalues are no longer treated as remembered valuesautoparticipates in preference replay semantics4. Aligns assistant conversation creation and runtime updates
assistantrequest objectextramainconversationextrafields remain untouchedconversation_assistant_snapshotsassistant_preferencesonly forautoauto5. Preserves downgrade compatibility
assistants / assistant_overridesare retained as downgrade mirrorsassistants, preventing duplication on old versionsDesign Impact
This PR resolves four core design issues:
conversation.extraVerification
just pushcargo nextest run --workspace