Skip to content

feat(agent-config): plugin summary card [17/21] - #338

Merged
gusfcarvalho merged 3 commits into
agent-config/16-policy-data-treefrom
agent-config/17-plugin-card
Oct 6, 2026
Merged

gusfcarvalho merged 3 commits into
agent-config/16-policy-data-treefrom
agent-config/17-plugin-card

Conversation

@gusfcarvalho

Copy link
Copy Markdown
Contributor

Part 17 of 21 of the stacked split of #318 (agent remote configuration). Every layer adds the final version of its files from #318, and only imports from layers below it, so each layer passes make reviewable on its own. Nothing is reachable in the app until layer 20 wires the Configuration tab in.

What

The per-plugin summary card that composes the field editors, policy sources and policy_data section.

Tests

PolicyDataSection.spec.ts, which mounts the card.

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings October 5, 2026 10:52
@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: a173a232-64c1-467d-aac2-39aef9258cf9
📥 Commits

Reviewing files that changed from the base of the PR and between 4cc87d3 and feadb4f.

📒 Files selected for processing (3)
  • src/components/agents/config/PluginSummaryCard.vue
  • src/components/agents/config/__tests__/PluginSummaryCard.spec.ts
  • src/components/agents/config/__tests__/PolicyDataSection.spec.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Plugin actions and field validation feedback have unresolved functional issues.

Review effort: Balanced
Findings: 3 Medium severity

Open (3)
What changed in this PR

Adds the per-plugin summary card for agent remote configuration, ahead of app integration in layer 20.

Changes:

  • Composes field editors, policy sources, policy data, status badges, and plugin actions.
  • Adds policy-data interaction tests and a card display smoke test.
File Description
src/​components/​agents/​config/​PluginSummaryCard.vue Adds the plugin summary and editing card.
src/​components/​agents/​config/​__tests__/​PolicyDataSection.spec.ts Tests structured/raw editing, masking, and read-only display.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

</header>
<div class="grid grid-cols-1 gap-x-6 gap-y-2 text-sm md:grid-cols-2">
<div class="md:col-span-2">
<EditableField :ptr="p('source')" label="source">
Comment on lines +324 to +326
const canManage = computed(
() => !!ws && ws.ready.value && ws.canConfigure.value,
);
function undoPlugin() {
if (!ws) return;
if (props.removed && !ws.draft.pendingAt(p())) ws.draft.unset(p());
else ws.draft.revertPointer(p());
@gusfcarvalho
gusfcarvalho force-pushed the agent-config/17-plugin-card branch from a7ae772 to 9eb60ad Compare October 5, 2026 16:32
@ccf-lisa
ccf-lisa Bot force-pushed the agent-config/17-plugin-card branch from 9eb60ad to 0fad0b6 Compare October 6, 2026 09:40
@ccf-lisa
ccf-lisa Bot force-pushed the agent-config/17-plugin-card branch from 0fad0b6 to e96f68b Compare October 6, 2026 11:38
@ccf-lisa
ccf-lisa Bot force-pushed the agent-config/17-plugin-card branch from e96f68b to c4ad1cb Compare October 6, 2026 11:51
ianmiell
ianmiell previously approved these changes Oct 6, 2026

@ianmiell ianmiell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ccf-review: APPROVE

no findings.

Stack (gh stack 343): #322 → #323 → #324 → #325 → #326 → #327 → #328 → #329 → #330 → #331 → #332 → #333 → #334 → #335 → #336 → #337 → #338 → #339 → #340 → #341 → #342

gusfcarvalho and others added 3 commits October 6, 2026 12:14
Layer 17 of 21 in the stacked split of #318.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ntegers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…is loaded

- pendingRemoval reads the draft's plugins as own properties (getOwn):
  a plugin named "constructor" (a valid name) read Object#constructor,
  so its removal showed no pending state and no Undo
- Remove is disabled, with the workspace's reason, until every
  reporting instance's file is loaded: removal nulls the plugin where
  any file has it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gusfcarvalho
gusfcarvalho force-pushed the agent-config/17-plugin-card branch from 6932cff to feadb4f Compare October 6, 2026 15:14
@gusfcarvalho
gusfcarvalho merged commit a2fd7b8 into main Oct 6, 2026
4 checks passed
@gusfcarvalho
gusfcarvalho deleted the agent-config/17-plugin-card branch October 6, 2026 16: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.

3 participants