chore(v→zig): delete V-lang API layer, collapse into Zig FFI block#72
Merged
Conversation
Per estate-wide owner directive (2026-05-28): Zig is the default for APIs/FFIs; Idris2 owns ABIs. Deletes api/v/src/ecm_api.v + ecm_api_test.v (V-lang wrappers around the existing ffi/zig/ adapter). Doc sweep: TOPOLOGY.md collapses the two-layer "V API + Zig FFI" diagram into a single Zig API+FFI block; Trustfile.a2ml drops the V language entry. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2 tasks
hyperpolymath
added a commit
that referenced
this pull request
May 28, 2026
## 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.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 (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](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Estate-wide V-lang→Zig remediation per the 2026-05-28 owner directive.
api/v/src/ecm_api.v+ecm_api_test.v(V-lang wrappers around the existingffi/zig/adapter)TOPOLOGY.md: collapses the two-layer "V API + Zig FFI" diagram into a single Zig API+FFI blockTrustfile.a2ml: drops the V language entry; the Zig FFI is now the canonical consumer-facing APITest plan
🤖 Generated with Claude Code