Skip to content

feat(agents): share agent roles across project workers - #1504

Merged
nixuuu merged 1 commit into
devfrom
feat/project-level-agents
Nov 30, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/project-level-agents

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 30, 2026

Copy link
Copy Markdown
Member

Project settings now list roles once for the whole project. Owners can create, import, edit and delete definitions before assigning a workspace or while their workers are offline. New threads, mentions and subagents resolve the same project definition and validate the selected worker’s provider, model and tool support.

Migration 0241 records the existing workspace roots and live registered worktrees. On access, the gateway imports their original Markdown in bounded batches. Offline sources can resume later. Conflicts identify the source file, and a deletion prevents a late import from restoring the role. Running threads retain their original instructions. Linked desktop gateways with Share configuration enabled sync definitions and deletions under the shared project identity.

Verification

  • Ran the catalogue and execution integration tests against PostgreSQL and the worker link, including cross-worker launch, offline editing, optimistic revisions, existing roles and owner isolation.
  • Ran the linked-project integration suite, the schema upgrade regression, desktop version-skew and consolidation preflight checks. Checked the consolidation catalogue against a freshly migrated database.
  • Generated contracts, typechecked the gateway, worker, web and mobile packages, and checked formatting and lint on changed files.
  • Exercised project settings in Chromium at 360 px and 1100 px with mocked BFF responses. Checked creation without a workspace, offline worker models, import, edit, deletion and conflict notices. A native mobile device run remains unverified. CI runs the repository-wide gate.

Copy audit

“Each workspace has its own copy of the role files.” became “These roles are available on every worker in this project.” The settings list shows the role ID used in mentions. Import and delete controls refer to the project, and the deletion confirmation names the role. Reviewed long names, warnings and controls at both viewport widths. All ten items in the copy audit passed.

@nixuuu
nixuuu enabled auto-merge (squash) November 30, 2026 18:51
@nixuuu
nixuuu merged commit 6467793 into dev Nov 30, 2026
24 checks passed
@nixuuu
nixuuu deleted the feat/project-level-agents branch November 30, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant