Skip to content

Context and Scope

Business context

See the architecture overview diagram for a visual summary of the application, Taytay upload path, platform services, and separate Sandbox Loom workflow.

The reference app receives media locally and hands it to Taytay for durable upload. The architecture has two staged source paths: MVP1 file input and MVP2 camera capture.

flowchart LR
  operator[Reference-app developer or edge operator]
  producer[USB camera or external media producer]
  app[USB Camera Taytay Rust CLI]
  taytay[Taytay Artifact, spool, ledger, and uploader]
  lunsaran[Lunsaran identity, authorization, and upload session]
  brutus[Brutus TUS data plane and provider execution]
  loom[Private Sandbox Loom governance workflow]

  operator -->|configures and operates| app
  producer -->|MVP1 completed files| app
  producer -->|MVP2 V4L2 frames| app
  app -->|complete Artifact publication| taytay
  taytay -->|session and authorization| lunsaran
  taytay -->|resumable byte transfer| brutus
  loom -.->|separate intake, policy, review, and evidence| app

Sandbox Loom is shown as a separate project workflow. It does not run in the media path and is not a runtime dependency of USB Camera Taytay.

Technical context

The diagram shows the target integration context. The application currently publishes to the local Taytay spool and ledger; the separately run Taytay uploader performs any remote transfer to Lunsaran.

Boundary Responsibility
USB Camera Taytay Local configuration, filesystem observation or V4L2 capture, and reference-app orchestration.
Taytay Artifact publication, checksums, durable spool and ledger, retries, resume, cancellation, bounded workers, and upload integration.
Lunsaran Identity, organization/project authorization, and upload-session policy.
Brutus TUS data transfer and provider execution.
Sandbox Loom Separate governed intake, policy, harness, quality evidence, review, and approval workflow.

The application integrates with the published Taytay and Entregar crates. It does not build or change Lunsaran or Brutus as part of this project.

Scope boundary

flowchart LR
  subgraph app[USB Camera Taytay — local application]
    mvp1[MVP1: completed-file observer]
    mvp2[MVP2: pure Rust V4L2 capture]
    artifact[Shared Taytay Artifact boundary]
    mvp1 --> artifact
    mvp2 --> artifact
  end
  artifact --> taytay[Taytay durable spool and upload]
  taytay --> platform[Lunsaran / Brutus]

The two MVP source paths converge before publication. Replacing the producer in MVP2 must not create a second upload implementation. The app does not include a hosted camera service, direct object-storage upload, or video analytics.