# Q1 Pipeline Audit — generated by AI Agent import pandas as pd def compute_error_rate(df, connector): subset = df[df['connector'] == connector] errors = subset['status'] == 'error' return errors.sum() / len(subset) * 100 df = pd.read_csv('Q1-pipeline-errors.csv') for conn in ['salesforce', 'workday']: rate = compute_error_rate(df, conn) print(f"{conn}: {rate:.1f}% error rate")
artifact-document — text document or report, with edit and export controlsartifact-code — code file with syntax display, copy, and download controlsartifact-chart — data visualization with underlying data accessibleartifact-data — structured table or export (CSV, JSON) with download controlrole="region" with an aria-label that includes the artifact name and typearia-label attributes — "Export", "Edit", and "Copy" alone are insufficient when multiple artifacts are on the pagerole and language indicators for screen readersaria-expanded with aria-controls pointing to the collapsible contentAI Artifacts are first-class objects. They must be visually distinct from conversational AI responses — a different container, different controls, and a clear identity (name, type, generation timestamp). An artifact that looks like a paragraph of chat text is not an artifact.
Override these CSS custom properties to apply your own visual treatment without touching the component's behavioral contracts.
| Token | Controls |
|---|---|
--rad-surface-card |
Artifact body background |
--rad-border-subtle |
Fallback border |
--rad-color-text-primary |
Artifact name and preview title |
--rad-color-text-secondary |
Preview body text |
--rad-color-text-meta |
Footer metadata |
--rad-color-approve |
Primary export button and focus ring |
--rad-color-approve-hover |
Export button hover |
--rad-radius-card |
Card border radius |
| Token | Controls |
|---|---|
--rad-artifact-header-bg |
Header area background |
--rad-artifact-header-border |
Header and card border |
--rad-artifact-type-color |
Type label text |
--rad-artifact-name-color |
File name text |
--rad-artifact-ctrl-color |
Secondary control text |
--rad-artifact-ctrl-border |
Secondary control border |
--rad-artifact-ctrl-hover |
Secondary control hover text |
--rad-artifact-footer-bg |
Footer background |
--rad-artifact-footer-border |
Footer top border |
--rad-artifact-expand-color |
"View full document" link |
--rad-artifact-fade-start |
Preview gradient transparent stop |
--rad-artifact-fade-end |
Preview gradient opaque stop |
"*An AI that produces something worth keeping deserves a UI that treats it as something worth keeping.*"
RAD is the original work of Jackie Curry. All rights reserved. No portion may be reproduced, adapted, or incorporated into any product or system without express written permission.
Permitted: citation in academic or editorial contexts with full attribution.
© 2025 Jackie Curry. All rights reserved. Publication date: 2025.
For licensing inquiries, connect on LinkedIn →