Skip to main content

axal-workspace pattern

AuditTrailPreview

Show a bounded chronological trace of source, owner, and review events.

axal/workspace · candidate · @sanchika/patterns

Product job

Understand the recent sequence of source, ownership, and review-state changes.

Show a bounded chronological trace of source, owner, and review events.

Anatomy and required fields

events

Time, action, actor, and evidence reference.

resultingState

State produced by each event.

optionalNote

Bounded context that does not replace the source reference.

scope

What the preview includes and omits.

inspectAction

Route to the authoritative trail.

Required fields
  • events
  • resultingState
  • scope
  • inspectAction

Default and edge states

compact

A bounded chronological excerpt is available.

  • time
  • actor
  • action
expanded

Events expose source, resulting state, and note context.

  • source
  • resulting state
  • chronological order
empty

No events are recorded.

  • no events
  • scope
  • last checked

Composed synthetic exemplar

AX-031 audit trail

This bounded preview omits the permanent system trail and remains synthetic.

  1. Source linkedSystem evidence · AvailableSynthetic notice reference only
  2. Owner assignedReview coordinator · CA review neededAssigned to synthetic reviewer AK
  3. CA checkpoint openedAK · Under reviewNo approval recorded
Inspect the authoritative audit-trail contract

State coverage

Default and consequential edges remain inspectable.

compactA bounded chronological excerpt is available.time · actor
expandedEvents expose source, resulting state, and note context.source · resulting state
emptyNo events are recorded.no events · scope

Trust, source, and consumer obligations

Trust boundaries
  • Workspace context may persist only inside the adopter's tenant and authorization boundary.
  • Generated or extracted content remains a draft until a named human review checkpoint is complete.
Consumer owns
  • Provide authorization, tenant isolation, real sources, persistence, assignment, decision effects, and audit storage.
Responsive behavior
  • Keep time, actor, and action in one semantic list item.
  • Do not rely on a visual timeline line for event order.
Forced colors and reduced motion
  • Retain text state, selection outline, panel boundaries, focus, and chronological order using system colors.
  • Keep queue order, selected work, evidence, checkpoint, and audit state understandable without animation.

Compact API reference

Package
@sanchika/patterns
CSS
@sanchika/patterns/styles.css
Base class
sk-pattern-audit-trail-preview
Group
axal-workspace