Skip to content

chore(abi): move api/v/src/abi/Types.idr → ffi/zig/abi/Types.idr#73

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/move-vapi-abi-types-idr
May 28, 2026
Merged

chore(abi): move api/v/src/abi/Types.idr → ffi/zig/abi/Types.idr#73
hyperpolymath merged 1 commit into
mainfrom
chore/move-vapi-abi-types-idr

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Follow-up to #72 (V-lang→Zig remediation). The Idris2 ABI verification module that previously lived under api/v/src/abi/ had a misleading path (legacy V-lang convention) but a correct content type — Idris2 owns ABIs per estate-wide policy.

This PR relocates the file to colocate with the Zig FFI it now verifies:

  • Move: api/v/src/abi/Types.idrffi/zig/abi/Types.idr
  • Rename module: VApi.ABI.TypesZigFfi.ABI.Types
  • Update header comment: "V API surface" → "Zig FFI surface"
  • Delete now-empty parent api/v/src/abi/, api/v/src/, api/v/, api/

No call-site updates needed — grep finds no consumers of VApi.ABI.Types elsewhere in the repo (round-trip proofs are compile-time-only).

Test plan

  • Idris2 still typechecks the relocated module
  • api/ directory tree is gone (was V-lang specific)

🤖 Generated with Claude Code

Follow-up to #72 (V-lang→Zig remediation). The Idris2 ABI verification
module that previously lived under api/v/src/abi/ had a misleading path
(legacy V-lang convention) but a correct content type — Idris2 owns ABIs
per estate-wide policy. This commit relocates the file to colocate it
with the Zig FFI it now verifies.

Changes:
* Move file: api/v/src/abi/Types.idr → ffi/zig/abi/Types.idr
* Rename module: VApi.ABI.Types → ZigFfi.ABI.Types
* Update header comment: "V API surface" → "Zig FFI surface"
* Delete now-empty parent api/v/src/abi/, api/v/src/, api/v/, api/

No call-site updates needed: grep finds no consumers of VApi.ABI.Types
elsewhere in the repo (the round-trip proofs are compile-time-only
checks, not invoked at runtime).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath merged commit 66119ab into main May 28, 2026
7 of 18 checks passed
@hyperpolymath hyperpolymath deleted the chore/move-vapi-abi-types-idr branch May 28, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant