Proxied-mode `bd import` (one ImportBatch -> uow/importer.go ->
issueops.CreateIssuesInTxWithResult with SkipDependencyValidationErrors)
still lost every regular<->wisp dependency edge whose both endpoints were
rows of the batch: the engine's in-memory per-batch plane filter
skip-reported it, and since a re-import upserts both rows unchanged the
edge could never be backfilled. The classic path only dodged the same
filter by deferring such edges to a single-plane pass (wy-4276q8).
The filter was never needed on a single-transaction batch. Every row of
BOTH planes is written on the one tx before PersistDependenciesWithOptions
runs, and that pass resolves each target on its own plane, so the edge is
writable. The plane rule is now a REFUSAL only: a strict batch
(BatchCreator's contract, CrossPlaneBatchEdgeError) is still refused
whole; a tolerant batch keeps the edge. doltTransaction.CreateIssues,
which writes the planes on two SQL sessions, already validates up front
and passes one plane per call, so no mixed batch on split sessions can
reach the engine.
- issueops/create.go: CreateIssuesInTxWithContext validates only when
!SkipDependencyValidationErrors; the filter shrinks to a validator.
FilterCreateIssuesMixedBucketDependencies (dead) is gone, and with it
the wy-4276q8 F6 case (a duplicate-ID target tripping the per-batch
filter).
- Contracts flipped to the corrected promise: conformance
RunImporterReportsTheCrossPlaneEdgeItDropped ->
RunImporterWiresTheCrossPlaneEdgeBetweenItsRows (both directions, both
tables, empty skip report); the wisp-batch audit's tolerant arm (b)
asserts the edge is wired; leg-waiver and uow wiring renamed.
- New TestImporterUOW/CrossPlaneInBatchEdgesAreWiredInTheOneCommit: the
proxied Importer wires wisp->durable (wisp_dependencies) and
durable->wisp (dependencies.depends_on_wisp_id) in ONE history entry
with no SkippedDependencies.
- Classic-path comments no longer claim the engine drops these edges;
its same-chunk deferral is now redundant and wy-y52syc retires it.