beads/backend
plato 85b07f9be5 wy-a648lq: import wires in-batch regular<->wisp edges instead of dropping them
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.
2026-09-01 06:43:07 -07:00
..
conformance wy-a648lq: import wires in-batch regular<->wisp edges instead of dropping them 2026-09-01 06:43:07 -07:00
backend.go refactor: delete the dead orphan-handling capability (bd-gwryr) (#5497) 2026-08-09 12:03:18 -07:00
completeness_test.go RunRoleContracts: make the semantic conformance tier callable (#5456) 2026-08-08 23:47:30 -07:00
errors.go fix(dolt): preserve transaction outcome boundaries (#5341) 2026-08-06 04:34:46 -07:00
errors_test.go fix(dolt): preserve transaction outcome boundaries (#5341) 2026-08-06 04:34:46 -07:00
types.go Add append-only provenance_events log and bd provenance CLI (#4461) 2026-08-07 09:43:20 -07:00