mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Wire onDeleteDefinition/onRemoveFromMyAgents/onShare/isIdentityArchived/ linkedInstanceCount through AgentEditDialog to all three callers (UserProfilePanel, AgentsView, AgentManagementDialogs). Add onShare to AgentEditMergedDialogProps and render Share action in the definition admin section. Fix mislabeled comment above Delete button. Add R6 respondTo regression tests covering definition-only context seed and emit through coordinator. Export FIELD_OWNERS constant as load-bearing source-of-truth map annotating every AgentFormModel field with its FieldOwner. Delete AgentInstanceEditDialog.tsx and agentInstanceEditPinning.test.mjs (zero production consumers). Remove definitionReadOnly prop from AgentDefinitionDialog.tsx. Update agentDialogRouting.test.mjs: remove AgentInstanceEditDialog import; replace is-NOT-reachable test with positive assertion that AgentEditMergedDialog appears in all R1-R7 contexts. Add two e2e tests: team-linked instance D-fields disabled + team-notice names the team; linked agent one-Save persists both D and I layers. 4560/4560 desktop tests pass. TypeScript clean. Biome clean. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>