بنقرة واحدة
agenthub-acp-rendering
ACP rendering fixes for Team web surfaces.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
ACP rendering fixes for Team web surfaces.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when a Team inbox, channel, thread, or human-visible message must be routed into a direct reply, thread reply, mailbox update, task note, or canonical Team task.
Use before editing Team system prompts, runtime prompt tails, prompt-linked skills, or prompt tests to keep prompts bounded, tool-neutral, and pointer-first.
Backend-first diagnosis for stuck AgentHub agents.
Journal writing for rollout notes and validation evidence.
Canonical feature spec writing for stable contracts.
Focused AgentHub test planning for behavior changes.
| name | agenthub-acp-rendering |
| description | ACP rendering fixes for Team web surfaces. |
Use this skill when Team ACP UI looks blank, partial, duplicated, or stale, especially under web/src/pages/team/, web/src/components/acp_*, and web/src/hooks/use_acp_conversation.ts.
This skill is for:
agent_message history and partial leading repliesDo not use this skill for generic React styling work with no ACP/history behavior involved.
Treat ACP rendering as three separate concerns:
buildAcpView(...) and buildConversationMessages(...) can see before filteringNever collapse these into one vague "has content" boolean.
agent_message is not warm visible content.before_id=... backfill loops.Good direction:
resolveInitialAcpHistoryDecision(...)Avoid:
use_team_actions.ts, use_team_member_acp_view_model.ts, and ACP panel code separatelyagentId + sessionId + mode=replace request is already in flight, coalesce it.agent_acp and member_console, updates should follow member SSE when possible.Before editing:
/api/agents/:id/events?...before_id=... deep backfillRecord concrete evidence:
Do not stop at a synthetic single-chunk fixture.
If the real response contains:
chunk_indexmessage_idsession_updatethen encode that shape into a focused regression test.
Prefer this order:
Do not patch only the displayed text if the decision model is still wrong.
Every ACP bugfix should add focused coverage for the real regression boundary.
Common targets:
web/src/pages/team/acp_history_prefetch.test.tsweb/src/pages/team/use_team_actions.test.tsxweb/src/pages/team_member_acp_panel.test.tsxweb/src/hooks/use_acp_conversation.interaction.test.tsxweb/src/acp.test.tsPreferred test style:
For ACP web changes, prefer this minimal validation set:
cd web && pnpm exec vitest run \
src/pages/team/acp_history_prefetch.test.ts \
src/pages/team/use_team_actions.test.tsx \
src/pages/team_member_acp_panel.test.tsx
cd web && npm run build
Add src/hooks/use_acp_conversation.interaction.test.tsx when scroll/top-edge history loading changes.
After deployment, re-check the same page with Chrome DevTools MCP and confirm: