Documentation / CORE-003
Issue boardGitLab source
CORE-003 Planned contract

Results, errors and write coordination

Team design: prevalidate mutations, stage changes, and undo partial in-process writes on failure. Crash recovery/WAL and full multi-statement transactions are outside required scope.

Contract

Field Value
Specification CORE-003
Module contracts
Scope Required implementation or delivery
Milestone M1, due 2026-12-06
Owner role Shared — choose one MR owner
Implementation Planned; scaffold only
Contract review Team review required before implementation

Open GitLab issue

Interface

execute(BoundStatement) -> Result; ResultWriter.write(Result)

These are proposed C++ design contracts, not an already implemented API. Shared types and ownership define the intended module boundaries.

Dependencies

Acceptance checklist

  • [ ] Result distinguishes table, affected rows, DDL success and typed error
  • [ ] Define duplicate/foreign/primary error categories without keyword collisions
  • [ ] Reject an invalid single-row change before publishing row/index/catalog mutations

Verification

Use focused module checks plus the integration scenario above; no separate course score is claimed.

Completion rule

Link this spec and its GitLab issue in an MR into develop. Include relevant Linux evidence, obtain the other teammate’s review, merge, delete the feature branch, and close the issue. A page describes intended behavior; the GitLab issue and merged code determine completion.

DBS 005 · Specification v1 · Team review required for proposed interfaces.
Engine behavior is planned; implementation progress lives in GitLab.