feat(project): wire project-bind side branch into owner creation#676
Merged
Conversation
Populate projects/folders/project_explorer and backfill owner project_id/folder_id as a best-effort side branch that never alters existing conversation/team create/read behavior. - owner rows gain nullable project_id/folder_id (+ INSERT/update params) - inject ProjectService into conversation/cron/team via AppServices - bind on create; lazy backfill only on get/get_team (list stays a pure read) - ids via generate_prefixed_id: project_ / folder_ / pe_ Refs feat-project-design/formal/bind/wiring.md
piorpua
pushed a commit
that referenced
this pull request
Jul 24, 2026
🤖 I have created a release *beep* *boop* --- ## [0.1.52](v0.1.51...v0.1.52) (2026-07-24) ### Features * **project:** wire project-bind side branch into owner creation ([#676](#676)) ([300c833](300c833)) ### Bug Fixes * **agent:** unify CLI probe pipeline with classified failures and adaptive slow-probe recheck ([#678](#678)) ([67945d2](67945d2)) * **channel:** quiet WeChat poll log noise with state-transition logging and exponential backoff ([#683](#683)) ([ea4da55](ea4da55)) * **process:** allow whitespace in workspace cwd segments ([#410](#410) parity) ([#674](#674)) ([c344b02](c344b02)) * **session:** restore codex slash commands + recover dead resume anchors on the direct-CLI path ([#679](#679)) ([7b60611](7b60611)) * **team:** converge system/lifecycle wakes into a team run ([#680](#680)) ([38facd7](38facd7)) --- 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.
What
Phase 2 of the Project Explorer creation-binding chain (foundation landed in #672). Wires conversation/team creation through
ProjectServiceas a best-effort side branch that starts populatingprojects/folders/project_explorerand backfills ownerproject_id/folder_id— without changing any existing behavior.Design: side branch, never affects existing functionality
extra.workspace, auto-provision,teams.workspace, agent cwd, delete cleanup, skill symlink) is untouched.warnand swallowed — it can never break conversation/team create or read.resolve_existing(to_file_uri(workspace)): creates no directory; kind is decided by temp_root (work_dir/conversations→ temp, user-picked dir → standard).Behavior
get/ teamget_team.list/list_teams/ lease-renew stay pure reads (no per-row resolve → conversation list and startup session restore stay fast and side-effect free).generate_prefixed_id:project_/folder_/pe_.Layering / DI
aionui-projectsits at the Capability layer;aionui-conversation/aionui-team(Domain) depend down on it. Injected as an optionalProjectService(unset → no-op), constructed inAppServiceswithtemp_root = work_dir/conversationsto mirror the existing on-disk layout.DB
ConversationRow/TeamRowgain nullableproject_id/folder_id(+ INSERT / update params). ExistingSELECT */FromRowunaffected.Testing
just pushgate green: 7426 tests passed, clippy-D warningsclean, fmt clean.list_does_not_backfill_but_get_does, team create binds, no-op when the service is unset (best-effort contract).Refs #672,
feat-project-design/formal/bind/wiring.md.