From de51e172c4f7278b61b17e225981e5b0826ca3df Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Thu, 28 May 2026 10:01:45 +0100 Subject: [PATCH] =?UTF-8?q?chore(v=E2=86=92zig):=20delete=20legacy=20V-lan?= =?UTF-8?q?g=20API=20shim=20(api/v/laminar.v)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per estate-wide owner directive (2026-05-28): Zig is the default for APIs/FFIs; Idris2 owns ABIs. The deleted file was a thin V wrapper around the existing Zig FFI at ffi/zig/. With V removed from the estate, the Zig FFI is the canonical API surface — no replacement needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- api/v/laminar.v | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 api/v/laminar.v diff --git a/api/v/laminar.v b/api/v/laminar.v deleted file mode 100644 index 1231e2f..0000000 --- a/api/v/laminar.v +++ /dev/null @@ -1,33 +0,0 @@ -// SPDX-License-Identifier: MPL-2.0 -// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) -// -// Laminar zig API — Pipeline orchestration client. -module laminar - -pub enum StageState { - pending - running - succeeded - failed - skipped -} - -pub struct Stage { -pub: - name string - state StageState - retries int -} - -fn C.laminar_can_transition(from int, to int) int -fn C.laminar_clamp_retries(count int) int - -// can_transition checks if a stage state transition is valid. -pub fn can_transition(from StageState, to StageState) bool { - return C.laminar_can_transition(int(from), int(to)) == 1 -} - -// clamp_retries ensures retry count is within bounds [0, 10]. -pub fn clamp_retries(count int) int { - return C.laminar_clamp_retries(count) -}