Artifact Specifications
Every artifact published on Esy carries a specification — structured metadata that describes what it is, how it was made, and who made it. The spec panel makes this provenance inspectable by any reader.
What Is an Artifact Spec?
An artifact spec is the metadata object attached to every published piece — visual essays, briefs, infographics. It appears in the collapsible “Artifact Spec” panel beneath the hero section and includes production details: template, design system, source quality, model, authorship, palette, and visualization inventory.
The spec serves two purposes: it gives readers transparency into how the artifact was produced, and it gives the production pipeline a structured contract to validate against.
Implementation
ESSAY_META object in its page.tsx, passed to the ArtifactDetailWrapper component. The TypeScript interface lives at src/lib/artifact-spec/schema.ts.Schema
Required Fields
Optional Fields
Authorship
The authorship field describes who made the artifact and what role AI played. It separates two things that are often conflated: who is the creative author, and what tools were used in production.
Every artifact falls into one of three modes. The naming encodes directionality — in AI-Assisted, the human is the author and AI is the tool. In AI-Directed, AI is the production engine and the human is the director.
Human
humanA named person wrote the essay. No meaningful AI involvement in the writing.
authorship: {
mode: 'human',
author: { name: 'Zev Uhuru', role: 'Editor-in-Chief' },
}AI-Assisted
ai-assistedA named person wrote the essay. AI assisted with specific contributions like research, visualization code, or fact-checking.
authorship: {
mode: 'ai-assisted',
author: { name: 'Zev Uhuru', role: 'Editor-in-Chief' },
model: 'claude-opus-4.6',
aiContributions: ['research', 'visualization', 'fact-checking'],
}AI-Directed
ai-directedAI produced the artifact under human editorial direction — the standard pipeline. A human chose the topic, approved the brief, reviewed gates, and published.
authorship: {
mode: 'ai-directed',
model: 'claude-opus-4.6',
}AI Contributions
When an essay is ai-assisted, the aiContributions array describes what AI helped with. These render in the spec panel as a comma-separated list.
Backward Compatibility
authorship field is optional. When absent, the system derives { mode: 'ai-directed', model: meta.model } from the legacy model field. Every existing essay works without modification.The Spec Panel
The spec panel is the collapsible detail section rendered by ArtifactDetailWrapper. It exposes five areas of information:
Model Registry
Model IDs follow the pattern {family}-{subfamily}-{version} and are registered in the model registry. The spec panel resolves IDs to display labels at render time.
Legacy essays using unrecognized strings (e.g., 'Claude') display the string as-is for backward compatibility.
Pipeline Enforcement
Artifact specs are validated at multiple gates in the production pipeline: