Skip to content

quest: plan the exporter spike and pause the fork's feature quests - #38

Merged
kixelated merged 4 commits into
mainfrom
plan/ffi-exporter
Oct 25, 2026
Merged

kixelated merged 4 commits into
mainfrom
plan/ffi-exporter

Conversation

@kixelated

@kixelated kixelated commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The maintainer decided on 2026-10-24 to try replacing UniFFI's macros with an opinionated exporter, where a crate's pub API alone defines what gets exported. The quest tree has no quest for it, and the fork's feature quests still read as next up.

Approach

  • Adds quest/m1/ffi-export-spike.md [L], carrying every decision below, ranked in m1 ahead of the quests it blocks.
  • Pauses the fork's feature quests (uniffi-c-first-spike, uniffi-contract, ffi-bytes, ffi-bytes-return, ffi-async, ffi-checksums, ffi-code-size, kt-ffi-calls, ffi-poll-protocol) by listing the spike under each one's Required. None are deleted; the spike's report decides whether each is folded into the exporter. uniffi-ci-msvc-macos stays unpaused: it is CI coverage, not a fork feature.
  • Records the decision in quest/m1/README.md's Plan, with a pointer from quest/m2/README.md for the paused m2 quests, and names the exporter spike in the m1 descriptions.
  • ffi-bench (kixelated/rust2#19) is untouched: it continues as the exporter's baseline.

Decisions

  • Source: ✅ rustc driver / rustdoc JSON / Parse source
  • Output: UniFFI metadata + shims / ✅ Own IR, own generators
  • Opinions: ✅ Pub API, fail loud / Pub API, skip silently / Opt-in attribute
  • Target: Re-export moq-ffi / ✅ Export moq-net directly
  • UniFFI fork: ✅ Spike first, fork maintained / Both in parallel / Freeze the fork now
  • First output: ✅ C ABI + C header / Kotlin/Swift / Python
  • Milestone: ✅ m1, since it blocks m1 consumer work / m2

Impact

  • None: quests only. The spike's own Public API is a new tool.

Alternatives

The unchosen options above.

Follow-ups

  • None.

(written by Opus 5.5)

🤖 Generated with Claude Code

https://claude.ai/code/session_0115AT2ue6x9cT5e5J9SZtCn

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T01:32:20.222123Z 62f5f2c New commits
🔒 Security Review ✅ Completed 2026-10-25T01:32:52.417822Z 62f5f2c New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kixelated
kixelated merged commit 8b30a58 into main Oct 25, 2026
1 check passed
@kixelated
kixelated deleted the plan/ffi-exporter branch October 27, 2026 20:32
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