Skip to main content

Crate index_capture

Crate index_capture 

Source
Expand description

Local capture artifact and redaction workflow.

This crate prepares deterministic, local-only artifacts for unsupported page reports. It validates the source URL and redacts credential-shaped content, but it does not fetch network content, parse HTML, render terminal UI, or share artifacts.

Structs§

ArtifactStore
Filesystem-backed canonical artifact store.
CaptureArtifact
Sanitized capture artifact ready for local review.
CapturePreview
Local preview for reviewing a capture before sharing.
CaptureRequest
Local capture request.
CaptureReviewBundle
Review bundle combining capture preview, repair hints, and catalog guidance.
IndexArtifact
Versioned canonical runtime artifact for rendering without raw page HTML.
RedactionSummary
Summary of local redaction categories removed from a capture.

Enums§

ArtifactContext
Capture context for canonical artifact runtime entries.
ArtifactFreshness
Freshness state for stale-while-revalidate policy.
ArtifactStoreError
Errors returned by canonical artifact persistence.
CaptureError
Errors returned by capture artifact preparation.

Functions§

capture_document
Creates a redacted capture artifact from the current semantic document.
capture_redacted
Creates a redacted local capture artifact.
capture_review_bundle
Creates a local capture review bundle for fixture intake.
catalog_entry_for_fixture
Creates a coverage catalog entry for an accepted local fixture.
preview_document
Creates a local capture preview from the current semantic document.
preview_redacted
Creates a local capture preview with summary and checklist.
validate_capture_bundle
Validates a serialized local capture bundle.