You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define the production execution-state schema for DataOps V1 so runtime work can move from the current undeployed work-engine prototype into SAM-managed DynamoDB tables without locking us into DynamoDB forever.
Process knowledge, SOPs, task templates, and other durable operating documents stay Git-backed. This issue is only for mutable execution state: what tasks exist, who owns them, what reminders are due, what workflow bundle they belong to, and what runtime metadata is needed to operate the portal.
Task templates and instantiated template metadata.
Recurring task configurations.
File metadata, not file binaries.
Notifications and reminders.
Sessions only where the portal needs server-side session state.
Later-compatible slots for artifacts, assistant jobs, and audit events.
Acceptance Criteria
A schema document or ADR describes each execution entity, required fields, optional fields, ownership, retention expectation, and whether it is user-editable.
Every entity has a stable application-level ID that is not only a DynamoDB key expression.
Relationships are represented with explicit IDs suitable for a future relational migration, for example task_id, bundle_id, template_id, assignee_id, and parent_task_id.
DynamoDB table resources or a precise implementation spec define partition keys, sort keys where used, GSIs, billing mode, tags, PITR, and deletion/retain policy.
The schema includes access patterns needed by V1: today’s tasks, overdue tasks, tasks by owner/status, tasks by bundle/workflow, recurring schedules due soon, notifications due, and task-linked files/artifacts.
Production table lifecycle is owned by SAM/CloudFormation; production handlers do not create tables on cold start.
work-engine table names are configured through environment variables with local-development defaults only.
The schema explicitly distinguishes Git-backed templates/process docs from DynamoDB runtime template instances.
Tests or validation scripts cover table-name configuration, schema serialization assumptions, and at least one representative query path per core entity.
Current deployed V1 does not use DynamoDB yet. lambda-functions/template.full.yaml defines the public full app Lambda and secrets resources, but no execution tables. This issue is where that changes in a controlled way.
Goal
Define the production execution-state schema for DataOps V1 so runtime work can move from the current undeployed
work-engineprototype into SAM-managed DynamoDB tables without locking us into DynamoDB forever.Process knowledge, SOPs, task templates, and other durable operating documents stay Git-backed. This issue is only for mutable execution state: what tasks exist, who owns them, what reminders are due, what workflow bundle they belong to, and what runtime metadata is needed to operate the portal.
Decision Inputs
.goal-v1.mddocs/v1-runtime-architecture.mddocs/operations-manager-platform-jtbd.mddocs/repository-structure-recommendation.mdwork-enginemodel and seed templatesScope
work-enginetable access so production table names come from environment variables.Entities In Scope
Acceptance Criteria
task_id,bundle_id,template_id,assignee_id, andparent_task_id.work-enginetable names are configured through environment variables with local-development defaults only.Out Of Scope
Dependencies
Test Expectations
Notes
Current deployed V1 does not use DynamoDB yet.
lambda-functions/template.full.yamldefines the public full app Lambda and secrets resources, but no execution tables. This issue is where that changes in a controlled way.