- CONTEXT.md: Delivery Destination, SQL Delivery, Delivery Operation, ETL Activation - ADR 0023: separate delivery operations from finalized sessions (#41) - ETL integration study and SaaS/MCP feasibility study Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.6 KiB
Markdown
26 lines
1.6 KiB
Markdown
# Separate delivery operations from finalized SQL sessions
|
|
|
|
status: accepted
|
|
|
|
For [Studio integrazione in ETL — ticket #41](https://git.tylconsulting.it/mptyl/ThothII/issues/41),
|
|
SQL file delivery and ETL integration have a lifecycle separate from the session that
|
|
produced the approved SQL. A session can finalize while its linked Delivery Operation
|
|
remains pending or has failed. The operation stays visible and can be retried without
|
|
reopening the session or changing its canonical artifacts or terminal state.
|
|
|
|
Keeping the session incomplete until the destination becomes available was considered
|
|
and rejected: destination failures should not require repeating or reopening completed
|
|
SQL work. The cost of this choice is two explicit outcomes in the user experience and
|
|
persistence model. An approved SQL query or finalized session must never be presented
|
|
as evidence of a successful delivery, activation or execution.
|
|
|
|
ETL Activation requires an explicit choice by a user authorized for the destination.
|
|
It is distinct from artifact delivery and immediate execution. The same user who
|
|
approved the SQL may activate it when authorized; otherwise activation waits for an
|
|
authorized responsible user. There is no universal requirement for a second approver.
|
|
|
|
This records the boundary accepted in interview rounds 1 and 2, not an implementation
|
|
claim. Operation states, durable dispatch, retry semantics, approval binding and the
|
|
remote integration protocol remain to be specified. The existing After-finalize hook
|
|
vocabulary does not by itself provide the required delivery infrastructure.
|