Inputs4required context
Outputs3expected products
Secrets1credential gates
Tools3declared access
Targets1install surfaces

Contract

Scans stored outputs, dedupes by content hash, and upserts artifact metadata.

ready
Reusable asScheduled indexing automation
Runner adapterworkflow:gemsearch-indexer
Artifact contractArtifacts must include storage_bucket, storage_path, content_hash, source_modified_at, and display metadata.
Event contractEmit indexer-started, report-indexed, report-skipped, completed, and failed events.

Runbook

List source objects, parse metadata, hash content, upsert artifacts, update run totals, and schedule the next run.

GuardrailNever rewrite source files.
GuardrailUse content hashes for dedupe.
GuardrailAttach every changed artifact to a run.

Installations

Project-scoped instances created from this reusable template.

Gemsearch Artifact Indexergemsearch / installed / workflow:gemsearch-indexer

Inputs

What an installation or run must provide.

Inputstorage bucket
Inputsource prefix
Inputmetadata prefix
Inputproject slug

Outputs

What the template should leave behind.

Outputartifact rows
Outputrun summary
Outputtimeline events

Allowed tools

Capabilities this template can use.

Allowed toolSupabase Storage
Allowed toolVercel Workflow
Allowed toolMarkdown parser

Verification

Checks before treating the template as ready.

VerificatioDuplicate content is skipped.
VerificatioChanged metadata updates existing artifacts.
VerificatioRun totals match indexed and skipped files.