Skip to main content

tools-local-artifact pattern

LocalBoundaryBanner

State browser-local storage, account, upload, and review behavior before tool input.

tools/local-artifact · candidate · @sanchika/patterns

Product job

Confirm where work is processed, whether it leaves the browser, and who reviews the output before entering data.

State browser-local storage, account, upload, and review behavior before tool input.

Anatomy and required fields

boundaryClaim

What stays local and what remains a draft.

processingLocation

Browser or device location where work is processed.

accountFact

Whether an account is required.

uploadFact

Whether entered work leaves the browser.

networkTelemetryFact

Named network or telemetry behavior.

reviewFact

Who must review the result.

sourcePolicy

Inspectable source or policy link.

Required fields
  • boundaryClaim
  • processingLocation
  • accountFact
  • uploadFact
  • networkTelemetryFact
  • reviewFact
  • sourcePolicy

Default and edge states

local-only

No upload or account is required.

  • browser-local
  • no upload
  • review named
handoff

A later action leaves the local boundary.

  • handoff
  • destination
  • reason

Composed synthetic exemplar

State coverage

Default and consequential edges remain inspectable.

local onlyNo upload or account is required.browser-local · no upload
handoffA later action leaves the local boundary.handoff · destination

Trust, source, and consumer obligations

Trust boundaries
  • Search terms, entered facts, and draft outputs stay in the browser unless a named adopter action says otherwise.
  • Every tool names its input, output, review requirement, and local or external boundary before opening.
Consumer owns
  • Provide each tool specification, runtime, source mapping, draft generation, export, storage, and any external handoff.
Responsive behavior
  • Stack facts after the claim and before input controls.
  • Keep every fact labelled in text.
Forced colors and reduced motion
  • Retain text status, result boundaries, native focus, link underlines, and selected filters using system colors.
  • Keep directory results, empty state, draft status, and next action understandable without animated filtering or confirmation.

Compact API reference

Package
@sanchika/patterns
CSS
@sanchika/patterns/styles.css
Base class
sk-pattern-local-boundary-banner
Group
tools-local-artifact