Spensara Spensara Knowledge Base & Documentation Repository

Repository Docs & Knowledge Base

Consolidated Spensara documentation repository (722 Markdown & architecture documents in ../repository)
Built Word Documents (.docx): Spensara Overview (.docx) Capability Assessment (.docx) Brink POS Ingestion Analysis (.docx) The Borg Ingestion Architecture (.docx)

Implementation Specs (157)

Detailed engineering and feature implementation specifications.
implementation-specs/specs/RedshiftFoundation/TASK3.3.md 1,589 bytes · Updated Oct 23, 2026 10:44 AM EDT
Raw File

TASK 3.3: Physically Create Source-Mirror Labpos Curated Tables

Summary

Physically create the Labpos source-mirror curated tables in every tenant database.

This task follows the same source-mirror branch direction as the KDS and Aloha bootstrap artifacts.

Status: implemented as part of TASK 2.2 so the tenant bootstrap creates the full phase-1 curated surface in one pass.

Dependencies

  • TASK 2.2 (internal warehouse structures)

Files to Create

1. Curated DDL/bootstrap artifacts for Labpos objects

Create the physical Labpos source-mirror curated tables.

The Labpos table definitions should live as explicit SQL artifacts in Kds.Ai.Warehouse.

Files to Modify

2. Bootstrap workflow artifacts as needed

Extend bootstrap creation so Labpos source-mirror curated objects are created for every tenant database.

Required Behavior

  • Physically create Labpos source-mirror curated.<table> objects
  • Preserve Labpos source table names with the labpos_ prefix in Redshift
  • Keep the definitions aligned with the generated source model rather than inventing canonical projections

Acceptance Criteria

  • [x] Labpos source-mirror curated tables are physically created
  • [x] The Labpos objects are included in the repeatable tenant bootstrap workflow
  • [x] Redshift object names use the labpos_ prefix
  • [x] The table definitions exist as SQL artifacts in Kds.Ai.Warehouse
  • [x] Solution builds without errors

Notes

  • This task is source-mirror bootstrap work for Labpos.
  • Canonical monitor-facing modeling belongs to a later phase.