Skip to content

MK Trade / Cost / Rate / Document Outputs — Lineage And Preflight Validation — 2026-08-09

  • Status: STATIC VALIDATION PASS / CURRENT ENVIRONMENT EVIDENCE NOT RUN
  • Current lineage refresh: MK_TRADE_COST_RATE_DOCUMENT_CURRENT_LINEAGE_REFRESH_2026-08-09.md
  • Current effect matrix: MK_TRADE_COST_RATE_DOCUMENT_CURRENT_EFFECT_MATRIX_2026-08-09.md
  • Read-only preflight: RBR-MK-TRADE-001-READONLY-CURRENT-SURFACE-PREFLIGHT.md
  • Evidence index: MK_TRADE_CURRENT_EVIDENCE_PACKAGE_INDEX_2026-08-09.md
  • Effects: static source and documentation review only

1. Validation Purpose

This document validates:

  1. lineage separation between the detached candidate and the accepted current line;
  2. current source re-anchoring of the MK Trade family;
  3. preservation of capability boundaries;
  4. read-only construction and safety of the current preflight;
  5. absence of unsupported M3/M4 or environment claims.

It does not validate current database rows, current page behavior, role assignments, print behavior or any write command.


2. Lineage Validation

Historical ref

d96498360bb9c3541a1b5f862284596a7ed217b9

Common current ancestor

4f6165bc4c53a7d98b0c246392dd9ed5bd75c21c

Current Runtime-bearing ref reviewed

2163051c30380585f07b9541ccd15cbc28d7e7fe

The detached ref's unique change belongs to the Loader Assign Work / Clock Out candidate. It is not an MK Trade/Cost/Rate/Document capability owner.

Validation result:

CANDIDATE-ONLY FACTS SEPARATED
CURRENT MK LINE RE-ANCHORED

The previous packet remains historical/source-reconciled input. Its detached SHA no longer functions as a current Runtime claim.

Result: PASS.


3. Current Source Family Validation

The refresh examined the current owner families and adjacent current-line changes.

Family Validation result
Trade Summary/report projection current source model retained; environment explanation evidence required
Export Brokerage orchestration/markers current source model retained; child-manifest/duplicate/partial evidence required
Outbound Cost/AP current model retained; shared BMS helper has adjacent Street Turn change and requires targeted row/command evidence
Packing Rate current Booking route block remains present; item-level result/policy evidence required
Packing Document current source present; fallback/provenance/save-print evidence required
Purchase Local Invoice current formula source present; UOM/rounding/role evidence required
Booking Confirmation current page/source present; reference/template/date/role evidence required
Sales Weight Ticket current two-branch model present; order projection and physical ticket must remain separate

No family was classified as Runtime verified merely because the source pattern remains present.

Result: PASS.


4. Authority Separation Validation

The new documents preserve the following authorities:

Trade query
!= source writer

Export Brokerage orchestrator
!= every child owner

Outbound Cost transaction
!= Trade/accounting close

Packing Rate save
!= document print

Document render
!= durable file/email/provider result

Sales-derived Weight Ticket
!= physical Scale evidence

Result: PASS.


5. Current Effect Matrix Validation

The matrix keeps each layer independent:

page/menu
route/handler
actor
tenant/record
record state
local transaction
browser/file/provider effect
business completion
unknown-result recovery

Examples:

Export Brokerage

local child set committed
!= every child process accepted
!= response received
!= safe replay

Outbound Cost

Outbound Order linked to AP rows
!= one unambiguous cost transaction

Packing Rate

aggregate updated count
!= every intended item has a known result

Documents

render/print
!= saved snapshot/delivery/approval

Result: PASS.


6. Preflight SQL Construction Validation

6.1 Inventory

The preflight contains 31 SQL statement templates, plus bounded browser/GET/render observation procedures.

Allowed forms:

SELECT
information_schema read

No SQL template contains a mutating command, row lock, advisory lock or mutating procedure.

Result: PASS.

6.2 Schema-first behavior

The package begins with:

  • DB identity;
  • table inventory;
  • column inventory;
  • index inventory;
  • foreign-key/constraint inventory.

Queries using uncertain historical/current column names are explicitly conditional on schema confirmation.

Result: PASS.

6.3 Placeholder safety

Dynamic identifiers such as:

<CONFIRMED_TABLE>
<MARKER_COLUMN>
<SOURCE_ID_COLUMN>

are permitted only after source and schema review. They are not executable literal SQL.

Result: PASS.

6.4 Tenant scope

Every direct business-table query requires the verified <CLIENT_ID>. Approved IDs are still checked in the same tenant predicate.

Result: PASS.

6.5 Result bounds

Row-level results use one approved ID or bounded limits. Broad population checks return aggregate/grouped results.

Result: PASS.

6.6 Sensitive-data boundary

The package excludes:

  • credentials/tokens;
  • broad customer contacts;
  • full document bodies;
  • full report exports;
  • foreign-tenant rows;
  • unrestricted free-text markers.

Marker excerpts require review before sharing.

Result: PASS.

6.7 Browser scope

The browser portion is restricted to:

GET page/query
control visibility
non-submitting render
print preview only when no server-side effect occurs

Create, Cancel, Save, Delete, Email, Upload, Approve and Finalize are prohibited.

Result: PASS.


7. Trade Derivation Validation

The refresh retains the report-derived nature of OPEN, SHIPPED, CLOSED and CLAIMED while prohibiting interpretation as stored workflow/accounting state.

Required evidence includes:

  • source classes;
  • amount owner;
  • shipping field owner;
  • filters;
  • query timestamp;
  • header/detail reconciliation;
  • conflict explanation.

Result: PASS.


8. Export Brokerage Validation

The refresh retains current generated markers but does not elevate them to a durable Job ID or idempotency token.

Required unknown-result behavior:

reread markers/relations/children
-> classify existing/missing/duplicate/residual
-> resume only approved missing owner step

Result: PASS.


9. Outbound Cost Validation

The refresh explicitly rejects latest-AP compatibility as a target identity rule. It requires exact Transaction ID or an unambiguous create request.

Header/line replacement and omission semantics are included in evidence scenarios.

Result: PASS.


10. Packing Rate Validation

The refresh requires per-item outcomes and preserves the Booking/tenant/outbound-Sales predicate.

Zero, negative, range, UOM, currency, precision and rounding are classified as open policy rather than invented defaults.

Result: PASS.


11. Document Validation

The refresh preserves:

  • Packing source/fallback distinction;
  • Local Invoice formula family;
  • Booking Confirmation reference/template/date questions;
  • Sales Weight Ticket order/physical branch distinction;
  • render/print versus durable effect separation.

Result: PASS.


12. Overclaim Review

The documents do not claim:

  • current DB schema or rows were read;
  • current role/page/API behavior was executed;
  • Export Brokerage duplicate/partial state exists in a named environment;
  • current costs are ambiguous in a named environment;
  • zero/negative rates are valid or invalid;
  • printed output is stored or delivered;
  • source presence establishes M3;
  • this documentation authorizes Phase work.

Result: PASS.


13. Validation Summary

Lineage separation: PASS
Current Runtime re-anchor: PASS
Source family classification: PASS
Authority separation: PASS
Effect/recovery matrix: PASS
Read-only SQL construction: PASS
Schema-first behavior: PASS
Tenant scope: PASS
Result bounding: PASS
Sensitive-data boundary: PASS
Browser no-write boundary: PASS
Overclaim review: PASS

Actual evidence:

DB connections: 0
SQL executed: 0
Authenticated pages: 0
Write commands: 0
Files/emails/providers: 0
M3: NO
M4: NO

---

Source: docs/reconstruction/MK_TRADE_CURRENT_LINEAGE_AND_PREFLIGHT_VALIDATION_2026-08-09.md — ctc repository · This page is an English translation of the source document. Identifiers, file paths and code symbols are unchanged.