Skip to content

consolidate agent profile runtime details#1451

Draft
tellaho wants to merge 4 commits into
mainfrom
tho/profile-panel-ia
Draft

consolidate agent profile runtime details#1451
tellaho wants to merge 4 commits into
mainfrom
tho/profile-panel-ia

Conversation

@tellaho

@tellaho tellaho commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Category: improvement
User Impact: Agent profiles present runtime configuration in a cleaner, easier-to-scan Runtime tab.
Problem: Runtime metadata in the agent profile panel had drifted into a redundant, mixed-detail presentation that repeated model/instructions information and did not follow the panel’s existing information architecture. That made it harder to distinguish core runtime facts from configuration provenance.
Solution: Consolidate profile runtime details into the existing icon-row card pattern while preserving the pre-branch provenance copy (Set in Buzz, Inherited from persona, From config file, From ACP session, etc.). Sparse declared-owner cases stay honest instead of rendering empty placeholders.

File changes

desktop/src/features/agents/ui/AgentConfigPanel.tsx
Aligns the runtime config surface with the profile panel card pattern, including copy affordances and read-only lock treatment, while keeping the existing provenance wording.

desktop/src/features/profile/ui/UserProfilePanel.tsx
Updates the profile panel composition so agent-owned runtime details are exposed through the consolidated Runtime tab.

desktop/src/features/profile/ui/UserProfilePanelAgentDetails.tsx
Simplifies the agent-details presentation and removes redundant runtime/instructions dumping from the profile surface.

desktop/src/features/profile/ui/UserProfilePanelFields.tsx
Reuses the shared label/value row treatment for runtime fields and copyable profile metadata.

desktop/src/features/profile/ui/UserProfilePanelSections.tsx
Adjusts the section layout so runtime metadata fits the same visual rhythm as the rest of the profile panel.

desktop/src/features/profile/ui/UserProfilePanelTabs.tsx
Updates tab availability for managed and declared-owned agents so Runtime appears only where it has meaningful content.

desktop/src/testing/e2eBridge.ts
Extends profile/config test fixtures for the runtime metadata states covered by the profile panel.

desktop/tests/e2e/config-bridge-screenshots.spec.ts
Updates screenshot bridge coverage for the consolidated profile panel render path and restored provenance wording.

desktop/tests/e2e/profile.spec.ts
Adds regression coverage for declared-owner runtime visibility and sparse/no-relay-record behavior.

desktop/tests/helpers/bridge.ts
Adds helper support needed by the profile runtime test fixtures.

Reproduction Steps

  1. Open an agent profile for a managed agent and switch to the Runtime tab.
  2. Confirm runtime metadata uses the same icon-row card pattern as the rest of the profile panel.
  3. Confirm provenance text uses the pre-branch wording (Set in Buzz, Inherited from persona, From config file, From ACP session, From environment variable (...)).
  4. Open a declared-owner agent with relay runtime data and confirm the Runtime tab shows populated runtime/config rows.
  5. Open a declared-owner agent without a relay-agent record and confirm the Runtime tab shows only the verified declared-owner signal instead of empty placeholders.
  6. Confirm non-owner viewers do not see owner-only runtime controls or write affordances.

Screenshots/Demos

Runtime-only examples from the final review pass. These are real e2e renders after restoring the pre-branch provenance labels.

Provider / model / env-var / config mix Normal managed runtime — folded config Live runtime override + ACP-session provider
image image image
Advanced flat list — config-file sourced Owner → relay agent Owner → no kind:10100 record
image image image

Final gate validation:

  • biome check . — clean
  • pnpm typecheck — clean
  • playwright config-bridge-screenshots --project=smoke — 6/6 passed

npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w and others added 4 commits July 1, 2026 21:57
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Revert the runtime provenance lower-line copy to the wording on main:
'Set in Buzz', 'Inherited from persona', 'From environment variable (...)',
'From config file (...)', and 'From ACP session' — and stop suppressing
the buzzExplicit provenance line. Restores the matching e2e assertions
and mock-fixture comment. IA consolidation, Runtime tab split, and copy
affordances are unchanged.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
@tellaho tellaho force-pushed the tho/profile-panel-ia branch from a36743e to 2f6d48f Compare July 2, 2026 05:14
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