Curation, Not Just Observation
A six-stage curation pipeline that turns raw gateway traffic into portfolio decisions. No agent instrumentation. No autonomous actions.
The Curation Pipeline
Six stages from capture to draft spec. Humans always own the decision and draft review steps.
Capture
Gateway middleware emits length-bounded, redacted telemetry events
Cluster
Group similar prompts into Work Patterns with cluster signatures
Match
Compare patterns against approved capability and agent registry
Score
Rank opportunities; classify bypass and overlap; estimate upside ranges
Decide
Record portfolio decisions with action, alternatives, owner, outcome
Draft
Generate capability or agent specs ready for human review (LLM gens next)
Portfolio Surfaces
One dashboard for the whole portfolio — from executive coverage to single-pattern detail.
Coverage
Executive metric: percent of top work patterns served by an approved asset.
Standardization Queue
Prioritized opportunities with action recommendations and upside ranges.
Portfolio Decisions
Recorded human decisions with full audit trail and follow-up state.
Work Pattern Explorer
Drill into a single pattern's org spread, matches, bypass, and decisions.
Bypass & Overlap
Find approved assets being skipped and approved assets covering the same work.
Draft Specs
Capability and agent spec drafts wired to a pluggable generator interface.
Built for Enterprise
Multi-tenant from request one. Optimistic concurrency on every governance write. Confidence ranges, not promises.
Multi-Tenant by Design
Every ClickHouse query scoped by tenant_id; partition pruning by primary key.
Discovery vs Portfolio Modes
Mode inferred from registry state — race-safe cache invalidates on mutation.
Optimistic Concurrency
Every governance write requires expectedUpdatedAt — stale writes throw typed errors.
Snapshot-Versioned Reads
Opportunity reads filter to MAX(snapshot_at) so the queue is always coherent.
Clerk + Admin RBAC
Governance writes gated by Clerk session + SKILLS_TRACE_ADMIN_IDS.
Confidence-Bounded Upside
Upside expressed as ranges with confidence — never single-point ROI promises.
Lightweight at the Capture Layer
Capture middleware is sub-5ms p99. Heavy work happens off the hot path, in batched intelligence and governance jobs.
<5ms
p99 capture latency
Zero
raw prompt content stored
Human
in every decision loop
365d
max coverage window