Add the CrossOver-based hybrid roadmap and archive the native-first plan

Add docs/roadmap.md (phases H0 to H7, critical path), ADR 0005 (accepted direction; proposed architecture and unverified assumptions kept separate), the deferred native roadmap and the project board setup guide. Archive the native-first plan and the seven retired milestones. Mark the PortWatch review as superseded in part.
This commit is contained in:
atharvranjan committed 2026-11-25 14:20:55 -06:00
1 parent ffc7056d26
commit 60ad6c779e
7 files changed
+316 -11

No files matched your search

@@ -0,0 +1,37 @@
# ADR 0005: CrossOver-based hybrid direction
Status: **Accepted (strategic direction).** Accepted by the maintainers' planning directive of 2026-11-25. The proposed technical architecture below is **not** accepted or verified; each integration still needs validation.
## Context
BetterXen was developed native-first: an independent x86-64 decoder, interpreter, ARM64 translator, runtime, shader compiler and Metal backend, verified only on synthetic programs and shaders. No Xbox title runs on it. The maintainers decided to focus all active engineering on a hybrid architecture and to pause native work.
## Accepted strategic direction
- CrossOver is the primary compatibility foundation, installed externally.
- Hybrid is the only active development direction. Native research is preserved (local tag `native-first-final`, code in the workspace) and paused; resuming needs an explicit maintainer decision.
- Reuse established infrastructure; build independent replacements only for demonstrated limitations.
- The engineering rules in `AGENTS.md` (and `CLAUDE.md`, a symlink) were rewritten accordingly, replacing the former prohibition on Wine, CrossOver, Rosetta and MoltenVK.
## Proposed technical architecture (not accepted)
BetterXen provides integration, configuration, environment management, diagnostics, reproducible testing, benchmarking and measured optimization around CrossOver. Within CrossOver, the intended layers are Wine-based runtime APIs, Rosetta 2 for x86-64 translation and D3DMetal or DXMT for graphics, on Apple Silicon (ARM64, Metal, unified memory). The exact responsibility boundary is decided in #351.
## Unverified integration assumptions
- That CrossOver, Rosetta 2, D3DMetal or DXMT run any authorized workload BetterXen needs. Assumed not until measured (#355).
- That CrossOver offers supported interfaces for bottle management, configuration, launching and diagnostics (#350).
- Rosetta 2's support lifetime and D3DMetal's license terms (#349, #354).
- That any of this provides Xbox runtime compatibility. It is assumed not to.
## Verified implementation capabilities
None for the hybrid architecture. Verified native-research capabilities (synthetic evidence only) are unchanged and listed in `docs/progress.md`.
## Consequences
Positive: reuse of mature infrastructure. Negative: dependence on a proprietary vendor and on Rosetta 2 availability; limited ability to modify closed components; the former "No Wine, No CrossOver, No Rosetta" project identity is retired for active work. Anything derived from leaked or unauthorized material stays excluded, including projects built for such inputs (see the upstream registry).
## Alternatives considered
Continue native-first; maintain both tracks at 75/25; a generic Wine-based stack without CrossOver.
@@ -1,3 +1,5 @@
> **Archived 2026-11-25 (superseded). Not the active plan.** Native-first plan retained for history; the active roadmap is [../roadmap.md](../roadmap.md). Relative links below were written for `docs/` and may need `../`.
# BetterXen development phases
This is BetterXen's working development plan. Each phase ends with a reproducible
@@ -26,10 +28,10 @@ Historical results below remain evidence for their recorded candidates only.
| Native app | Swift app, Rust C interface, controller input and audio/virtual-filesystem fixtures | Existing fixtures do not establish one integrated threaded C++ 3D application. |
| Quality tools | CPU/runtime inventories, shader coverage reconciliation, task queue, PR checks and acceptance records | Some inventories and ledgers contain stale limitation text. A successful tool invocation does not prove every catalog entry is current. |
Sources: [CPU registry](cpu/instruction-registry.md),
[runtime registry](runtime/registry.md), [guest threads](runtime/threads.md),
[interfaces](interfaces.md), [shader coverage](shaders/semantic-coverage.md),
[Gate A](testing/gate-a.md), and [QA tooling](testing/infrastructure/README.md).
Sources: [CPU registry](../cpu/instruction-registry.md),
[runtime registry](../runtime/registry.md), [guest threads](../runtime/threads.md),
[interfaces](../interfaces.md), [shader coverage](../shaders/semantic-coverage.md),
[Gate A](../testing/gate-a.md), and [QA tooling](../testing/infrastructure/README.md).
The read-only shader reconciliation reported zero mismatches during this task;
that result is inventory consistency, not new GPU verification.
@@ -40,18 +42,18 @@ but their phase numbers are not the sequence for new BetterXen work.
| Existing record or name | Meaning | How to use it now |
| --- | --- | --- |
| [Phase 01 checkpoints and assurance](testing/phase01-assurance.md), [risk register](risk-register.md), [review log](testing/review-log.md) and [mutation record](testing/mutation.md) | Earlier bounded shader research and candidate-specific gates | Consult the original gate definitions and unresolved findings; do not relabel them as current acceptance. |
| [Phase 02 GPU/guest baseline](testing/phase-02-baseline.md) and [CPU feasibility](research/phase02-cpu-feasibility.md), [ecosystem](research/phase02-ecosystem.md), [collaboration](research/phase02-collaboration.md) research | Early graphics expansion and CPU feasibility work | Reuse documented public sources and evidence limits, checking them against current source. |
| [CPU/runtime campaign ledger](coordination/cpu-campaign-ledger.md) | Implementation batches and local evidence | Its older limitations are not a current feature inventory: scheduler, atomic and string work has since landed. |
| [Infrastructure Phase II/III tooling](testing/infrastructure/README.md) and [compatibility ledger](testing/infrastructure/phase3-compat-ledger.md) | A separate QA campaign | Tool code now includes compatibility-gap analysis and verification profiles beyond the ledger's early checkpoint. Coordinate with existing issue #219 rather than starting another QA framework. |
| [Gate A](testing/gate-a.md) | Compiled C execution, split into A1 and hosted-C A2 | A1 has a main-branch test. A2 is under review in PR #283; the document's “not started” description predates that PR. Neither is independently accepted by this plan. |
| [Phase 01 checkpoints and assurance](../testing/phase01-assurance.md), [risk register](../risk-register.md), [review log](../testing/review-log.md) and [mutation record](../testing/mutation.md) | Earlier bounded shader research and candidate-specific gates | Consult the original gate definitions and unresolved findings; do not relabel them as current acceptance. |
| [Phase 02 GPU/guest baseline](../testing/phase-02-baseline.md) and [CPU feasibility](../research/phase02-cpu-feasibility.md), [ecosystem](../research/phase02-ecosystem.md), [collaboration](../research/phase02-collaboration.md) research | Early graphics expansion and CPU feasibility work | Reuse documented public sources and evidence limits, checking them against current source. |
| [CPU/runtime campaign ledger](../coordination/cpu-campaign-ledger.md) | Implementation batches and local evidence | Its older limitations are not a current feature inventory: scheduler, atomic and string work has since landed. |
| [Infrastructure Phase II/III tooling](../testing/infrastructure/README.md) and [compatibility ledger](../testing/infrastructure/phase3-compat-ledger.md) | A separate QA campaign | Tool code now includes compatibility-gap analysis and verification profiles beyond the ledger's early checkpoint. Coordinate with existing issue #219 rather than starting another QA framework. |
| [Gate A](../testing/gate-a.md) | Compiled C execution, split into A1 and hosted-C A2 | A1 has a main-branch test. A2 is under review in PR #283; the document's “not started” description predates that PR. Neither is independently accepted by this plan. |
| Native app numbered gates in `crates/ffi` and `app` | Bounded session, graphics, audio and filesystem fixtures | Inspect their tests before proposing integration. Gate numbers are separate from shader acceptance gates. |
| README X1–X25 milestones | Broad capability map | Retain as a capability reference; use the phases below for the next work order. |
| Supplied Discord III, III-B, IV, V and VI excerpts | Broad runtime, graphics, application and performance objectives | Only excerpts were supplied. Their omitted requirements and completion status are unknown; they are not execution instructions. |
Bare issue numbers in historical documents may refer to the source repository.
All issue and PR links in the work sections below refer to **MacosPorters/betterxen**.
Use [migration records](migration.md) to resolve historical references.
Use [migration records](../migration.md) to resolve historical references.
## Phase 1 — Establish a trustworthy working baseline
@@ -0,0 +1 @@
[{"closed_issues":15,"description":"G1–G15 for the bounded native ARM64 and Metal graphics foundation. Release acceptance requires all gates on the exact candidate.","html_url":"https://github.com/MacosPorters/betterxen/milestone/1","number":1,"open_issues":0,"state":"open","title":"Phase 01 - Native Graphics Foundation"},{"closed_issues":7,"description":"Develop independently authored interoperability tests and fixtures from public specifications. External emulator results may inform test selection. Xenora owns its Rust ARM64 runtime, decoder, typed IR, shader compiler and Metal backend. Emulator code, ports, decoder tables, internal metadata and platform-specific dependencies are outside scope.","html_url":"https://github.com/MacosPorters/betterxen/milestone/2","number":2,"open_issues":0,"state":"open","title":"Phase 02 - Ecosystem Integration"},{"closed_issues":8,"description":"Expand independently verified gfx1030 semantics, resource access, wave behavior and native offscreen drawing.\n\n### Deferred engineering\n- [#25](https://github.com/ranveersoni98/Xenora/issues/25) · Verify Wave64 pairing on native Metal. Exercise both halves, cross-half operations, asymmetric masks and barrier safety with 64-lane readback.\n- [#27](https://github.com/ranveersoni98/Xenora/issues/27) · Translate bounded vertex and fragment fixtures. Define stage IO and interpolation from public specifications; verify exact offscreen pixels.","html_url":"https://github.com/MacosPorters/betterxen/milestone/3","number":3,"open_issues":0,"state":"open","title":"Phase 03 - Graphics Maturation"},{"closed_issues":6,"description":"Measure correctness-gated CPU, translation and GPU behavior under reproducible host conditions. Track capability and failure evidence.\n\n### Deferred engineering\n- [#33](https://github.com/ranveersoni98/Xenora/issues/33) · Measure Metal pipeline reuse and cache identity. Separate cold and warm timing; test cache invalidation and verify shared output expectations.","html_url":"https://github.com/MacosPorters/betterxen/milestone/4","number":4,"open_issues":0,"state":"open","title":"Phase 04 - Performance and Compatibility"},{"closed_issues":7,"description":"Grow the bounded interpreter and independently demonstrate ARM64 recompilation, with precise state and fault behavior.\n\n### Deferred engineering\n- [#40](https://github.com/ranveersoni98/Xenora/issues/40) · Choose first measured recompilation target. Use interpreter profiles to choose one bounded basic block and document precise state and fault requirements.\n- [#41](https://github.com/ranveersoni98/Xenora/issues/41) · Execute one translated ARM64 guest basic block. Execute emitted ARM64 code natively, compare registers, flags, memory and traps with interpreter and independent vectors.\n- [#42](https://github.com/ranveersoni98/Xenora/issues/42) · Verify code cache and executable memory policy. Validate mapping permissions, publication, invalidation and dependency provenance on macOS.\n- [#43](https://github.com/ranveersoni98/Xenora/issues/43) · Measure ARM64 translation performance. Compare correctness-gated translated and interpreted inputs with matched native runs and resource records.","html_url":"https://github.com/MacosPorters/betterxen/milestone/5","number":5,"open_issues":0,"state":"open","title":"Phase 05 - CPU Recompilation"},{"closed_issues":6,"description":"Build isolated guest loading, memory, services and checked CPU-to-GPU commands using original inputs.\n\n### Deferred engineering\n- [#49](https://github.com/ranveersoni98/Xenora/issues/49) · Expand synthetic services and authorized runtime boundaries. Define explicit service ABI, faults and lifetimes with original inputs. Document evidence gaps for authentic Xbox platform contracts.\n\nFuture import behavior is tracked in [#55](https://github.com/ranveersoni98/Xenora/issues/55). Compatibility checks do not inspect user acquisition or ownership.","html_url":"https://github.com/MacosPorters/betterxen/milestone/6","number":6,"open_issues":0,"state":"open","title":"Phase 06 - Runtime Infrastructure"},{"closed_issues":5,"description":"Validate the integrated execution path and exact release candidate. Project-run title testing requires suitable inputs and independent evidence. The loader evaluates format and compatibility without checking where user files came from.","html_url":"https://github.com/MacosPorters/betterxen/milestone/7","number":7,"open_issues":1,"state":"open","title":"Phase 07 - Integrated Validation"}]
+9
View File
@@ -0,0 +1,9 @@
# Project board setup: BetterXen Development
Status: **not configured.** The automation token used for this transition lacks the GitHub `project` scope, and GitHub's API cannot create views. Tracked by [#346](https://github.com/MacosPorters/betterxen/issues/346).
1. `gh auth refresh -s project`, then create an organization project named "BetterXen Development".
2. Fields (single select unless noted): Track (hybrid, shared, native), Phase (H0 to H7), Status (Backlog, Ready, In Progress, In Review, Validation, Blocked, Done), Priority (P0, P1, P2), Area (text), Complexity (S, M, L), Validation (none, local, independent), Blocked (text). Use the built-in Milestone, Assignees and Labels instead of duplicate fields.
3. Add all open issues and pull requests with `gh project item-add`.
4. Views (web UI): Active Development (`-label:"track: native"`), Hybrid Roadmap (group by Phase), Critical Path (`label:"status: blocked"` plus those blocking H1), Ready for Development (`label:"status: ready"`), In Progress, Review and Validation, Performance (Area), Deferred Native Research (`label:"track: native"`; clearly secondary).
5. Do not import old priority labels; priorities must be re-set by maintainers.
+27
View File
@@ -0,0 +1,27 @@
# Native research roadmap
**Deferred — not part of the active development roadmap.** The active direction is the [CrossOver-based hybrid roadmap](../roadmap.md). Native work resumes only after an explicit maintainer decision, with no date.
## Existing implementation (preserved in the workspace)
Rust crates under `crates/` and `app/`, tests under `tests/`, fixtures, fuzz targets and benchmarks. Last pre-transition `main` commit is tagged `native-first-final` (local tag; pushing requires authorization). Contributor history is untouched.
## Verified achievements (synthetic evidence only)
Per [docs/progress.md](../progress.md) and the [status registry](../status.toml): translated gfx1030 shaders executing on native Metal on Apple M5 for synthetic fixtures, bounded x86-64 guest execution, an ARM64 dynamic binary translator for supported instruction subsets, a deterministic scheduler running guest threads serially on one host thread. No Xbox title runs. These are the original evidence classes, not new verification.
## Known limitations
See the archived [native-first plan](../archive/development-phases-native-first.md) and [README current limitations](../../README.md#current-limitations): serial guest threading, partial runtime services, partial RDNA2 coverage, unknown console launch ABI.
## Previously planned work
The native-first phases 1 to 6 (trustworthy baseline, hosted C application, threaded behavior, translated rendering, integrated interactive application, measured bottlenecks) and the X1 to X25 capability map, kept in the archive. About 110 open GitHub issues carry `track: native` and `status: deferred`.
## Potential future architecture
Independent CPU translation and Metal components that could replace or complement CrossOver, Rosetta 2 or D3DMetal where a demonstrated limitation or availability risk justifies it.
## Conditions for resuming (maintainer decision, not automatic)
Hybrid reaches verified maturity; reliable baselines exist; a native component solves a demonstrated hybrid limitation; a dependency imposes an unavoidable constraint or becomes unavailable; or resources allow it without slowing hybrid work.
+3 -1
View File
@@ -1,3 +1,5 @@
> **Superseded in part (2026-11-25).** This review recommended against Rosetta, Wine and CrossOver under the native-first plan. BetterXen's direction is now the CrossOver-based hybrid architecture ([roadmap](../roadmap.md), [ADR 0005](../adr/0005-crossover-hybrid-direction.md)); the screening facts below remain useful, the native-first recommendations do not. See the [upstream registry](upstream-registry.md) for the current provenance decision on VIctory-family projects.
# PortWatch review and a native macOS execution plan
Reviewed November 24, 2026 (America/Chicago). This is a public-documentation and
@@ -199,7 +201,7 @@ texture inventory respectively. Runtime PRs #263/#290 overlap substantially;
their author/maintainer must resolve them before new runtime edits. These
references are destination-repository numbers, not imported source numbers.
The replacement [development phases](../development-phases.md) define the sole
The replacement [development phases](../archive/development-phases-native-first.md) define the sole
active work order, from compiled guest boot through modular workers, a
guest-controlled Metal scene, an interactive application, a compatibility
corpus, sustained native execution and conditional Xbox experiments.
+227
View File
@@ -0,0 +1,227 @@
# BetterXen roadmap
**This is the single authoritative active roadmap.** GitHub Issues are the task backlog, the GitHub project board tracks operational state, and this file explains strategy, phases, dependencies and completion criteria. If another document disagrees, this one governs, except [ADR 0005](adr/0005-crossover-hybrid-direction.md) for the decision itself.
## Direction
BetterXen's active direction is a **CrossOver-based hybrid architecture for Apple Silicon**. CrossOver is the intended compatibility foundation and is treated as an **externally installed dependency**. BetterXen's own work is the layer around it: integration, configuration, diagnostics, reproducible testing, benchmarking and measured optimization. The independent native implementation (x86-64 decoder, ARM64 translator, runtime, gfx1030 shader compiler, Metal backend) is **preserved but paused**; see the [deferred native roadmap](research/native-roadmap.md).
This is the intended architecture, **not a verified Xbox compatibility stack**. Nothing in this repository demonstrates that CrossOver, Rosetta 2 or D3DMetal run any Xbox title, and CrossOver is not assumed to provide Xbox runtime compatibility. All workloads must be independently authored, publicly licensed or otherwise authorized.
```
BetterXen: integration, configuration, diagnostics, benchmarking, optimization
|
CrossOver (external): Wine-based runtime APIs | Rosetta 2 CPU translation | D3DMetal / DXMT graphics
|
Apple Silicon: ARM64, Metal, unified memory
Independent native implementation: paused, preserved for research and component reuse
```
Priorities, in order: practical compatibility, functional integrated execution, rendering correctness, stability, performance, Apple Silicon-specific optimization, long-term independence. Reuse before reinvention; measure before optimizing; evidence before claims.
## Engineering rules
The former rules forbidding Rosetta, Wine, CrossOver and MoltenVK belonged to the native-first plan. [AGENTS.md](../AGENTS.md) (with `CLAUDE.md` as a symlink to it) was rewritten to match this roadmap and [ADR 0005](adr/0005-crossover-hybrid-direction.md): CrossOver, Wine-based infrastructure, Rosetta 2 (where supported), D3DMetal (subject to license) and open-source components are permitted; MoltenVK, DXMT, DXVK, VKD3D-Proton and FEX may be evaluated; proprietary components are never bundled; leaked or unauthorized material stays excluded. This resolves [#345](https://github.com/MacosPorters/betterxen/issues/345).
## How progress is reported
Phase status is one of: Not started, Researching, In development, Blocked, In validation, Verified complete, Retired. A phase is Verified complete only with the evidence its exit conditions name. Progress is **not** derived from commits, lines of code, closed issues, instruction counts or passing isolated fixtures. No phase is currently Verified complete. Percentages, where used for task counts, are never compatibility or readiness figures.
## Planning hierarchy
Project, Phase, GitHub milestone, engineering deliverable, GitHub issue, pull request, validation evidence. Milestones H0 to H7 exist on GitHub with the text below.
## Phases
### H0 — CrossOver Architecture Transition
**Status:** In development
**Objective:** Make CrossOver the single authoritative active compatibility foundation across the repository and GitHub planning surfaces.
**Scope:** README, architecture docs, ADR 0005, rewritten engineering rules, roadmap, upstream research registry, technical plans, labels, milestones, issue and PR templates, issue triage, project board, preservation of the native implementation.
**Dependencies:** None.
**Deliverables:** Updated README and docs; ADR 0005; docs/roadmap.md; deferred docs/research/native-roadmap.md; rebuilt issues and milestones; project board; preserved native code.
**Validation:** Repository link/terminology check; GitHub consistency check.
**Exit conditions:** Repository, documentation, issues, milestones and board consistently state the CrossOver-based direction. The project board requires a token with the project scope and is not yet configured.
**Known risks:** Project board cannot be configured without the GitHub project token scope (#346). The engineering rules conflict was resolved by rewriting AGENTS.md (#345).
### H1 — CrossOver Research and Baseline
**Status:** Not started
**Objective:** Establish what the installed CrossOver version actually provides and a reproducible baseline, without assuming it provides Xbox runtime compatibility.
**Scope:** CrossOver architecture, supported macOS versions, Apple Silicon support, relationship to upstream Wine, CPU translation mechanism, graphics backends (D3DMetal, DXMT and others), supported Direct3D versions, configuration interfaces, documented command-line interfaces, bottle management, diagnostics and profiling options, licensing and redistribution, supported integration mechanisms, long-term maintenance. Open-source and proprietary components distinguished.
**Dependencies:** Engineering rules rewritten (#345, done). CrossOver is an externally installed dependency until its license says otherwise; nothing is bundled.
**Deliverables:** CrossOver capability and integration-boundary report; licensing and dependency assessment; reproducible environment; baselines of CPU, GPU, memory and stability on authorized workloads.
**Validation:** Every claim cites vendor or upstream documentation, or a recorded observation on the installed version. Unknown stays unknown. Equivalent workloads, settings, hardware and software versions.
**Exit conditions:** Capabilities and integration boundaries are documented for the installed version; environment is reproducible by another contributor; baselines recorded; BetterXen vs CrossOver responsibilities proposed.
**Known risks:** CrossOver is proprietary: bundling, modifying or redistributing may be prohibited; integration interfaces may be undocumented; Xbox titles may not run at all.
### H2 — BetterXen Integration Foundation
**Status:** Not started
**Objective:** Build the BetterXen layer around CrossOver: integration boundaries, configuration, diagnostics, reproducible test workflows and host integration.
**Scope:** Environment and configuration management, diagnostics, test workflows, verified host integration, regression testing. Only what CrossOver does not already provide adequately.
**Dependencies:** H1.
**Deliverables:** Boundary document; configuration and environment management where justified; diagnostic infrastructure; reproducible test workflows; verified host integration; regression tests.
**Validation:** Independent contributor reproduces the workflows; no placeholder components.
**Exit conditions:** Integration foundation builds, tests and reproduces on a second setup.
**Known risks:** Reliance on undocumented or changing CrossOver behavior.
### H3 — Compatibility Validation
**Status:** Not started
**Objective:** Evaluate authorized workloads and document verified behavior and limitations.
**Scope:** Authorized workloads, documented limitations, runtime behavior, graphics correctness, input and interaction, reproducible failures, integrated validation criteria.
**Dependencies:** H2.
**Deliverables:** Validation criteria; per-workload results; reproducible failure reports; verified runtime, graphics and input results.
**Validation:** Independent verification of rendering and behavior. Startup or a screenshot alone is not proof.
**Exit conditions:** Selected workloads show verified integrated behavior under documented criteria; failures reproducible.
**Known risks:** Failures may originate in CrossOver or its components outside project control.
### H4 — Graphics and Performance Engineering
**Status:** Not started
**Objective:** Evaluate graphics backends and optimize only demonstrated bottlenecks.
**Scope:** Supported backends, CPU/GPU utilization, unified memory, frame-time consistency, synchronization, shader compilation and caching. Metrics: average FPS, 1% low, frame-time percentiles, CPU and GPU utilization, unified memory, memory pressure, translation overhead where measurable, shader compile latency, startup, thermals, long-duration stability. Reference machine: M4 Mac, 24 GB.
**Dependencies:** H3; measurement protocol.
**Deliverables:** Backend comparison; profiling reports; bottleneck list; before/after results; regression tests.
**Validation:** Equivalent workloads, rendering settings, hardware and versions; correctness and rendering equivalence verified.
**Exit conditions:** Improvements measurable, reproducible and without loss of correctness or stability. No improvement is promised before measurement.
**Known risks:** Many components are closed and not modifiable; single reference machine.
### H5 — Stability and Hardware Scaling
**Status:** Not started
**Objective:** Evaluate Apple Silicon configurations, memory pressure, thermals and long-duration stability.
**Scope:** Available Apple Silicon configurations, memory pressure, thermal behavior, long-duration tests, hardware documentation, regression coverage.
**Dependencies:** H3; hardware access.
**Deliverables:** Hardware compatibility documentation; memory-pressure and thermal reports; long-duration results; expanded regression coverage.
**Validation:** Each documented configuration backed by a test run on it.
**Exit conditions:** Tested configurations documented; untested hardware never claimed.
**Known risks:** Only one reference machine currently available.
### H6 — Hybrid Architecture Maturity
**Status:** Not started
**Objective:** Maintainable integration infrastructure and contributor workflows.
**Scope:** Contributor workflows, verified-capability documentation, reproducible performance results, complexity reduction, long-term dependency risk (CrossOver, Rosetta 2, D3DMetal).
**Dependencies:** H3 to H5 evidence.
**Deliverables:** Maintainable infrastructure; contributor documentation; verified capability list; reproducible results; dependency risk assessment.
**Validation:** Contributors other than the authors maintain the workflow.
**Exit conditions:** The architecture shows demonstrated value and the team can maintain it.
**Known risks:** Vendor decisions (CrossOver licensing, Rosetta lifetime) are outside project control.
### H7 — Future Native Reassessment (deferred)
**Status:** Not started
**Objective:** Deferred. Reassess independent native components only on an explicit maintainer decision or when one offers a demonstrated benefit to the active architecture.
**Scope:** See docs/research/native-roadmap.md.
**Dependencies:** Explicit maintainer decision.
**Deliverables:** Reassessment record.
**Validation:** Maintainer decision recorded in an ADR.
**Exit conditions:** A recorded decision to continue, resume specific native work, or archive components.
**Known risks:** Premature reinvention of mature infrastructure.
## Phase tracking issues
| Phase | Tracker |
| --- | --- |
| H0 | [#344](https://github.com/MacosPorters/betterxen/issues/344) |
| H1 | [#347](https://github.com/MacosPorters/betterxen/issues/347) |
| H2 | [#352](https://github.com/MacosPorters/betterxen/issues/352) |
Trackers for H3 to H7 are created when their prerequisites are close, to avoid placeholder tasks.
## Research already done
The [upstream registry](research/upstream-registry.md) and [component reuse matrix](research/component-reuse-matrix.md) record what public sources say about CrossOver, Wine, DXMT, DXVK, VKD3D-Proton, MoltenVK, FEX, VIctory-macOS, VIctory and PortWatch (evidence class D, nothing executed). Findings that shape the plan: FEX targets ARM64 Linux and is not a macOS option on that evidence; D3DMetal and Rosetta 2 are not in CodeWeavers' list of FOSS components, so they are external and non-redistributable until their terms are verified; VKD3D-Proton needs a Vulkan 1.3 provider that MoltenVK may not offer; VIctory-family projects are built for a specific commercial game's Xbox Series build and are excluded from reuse on provenance grounds. Independent verification is [#363](https://github.com/MacosPorters/betterxen/issues/363).
## Critical path
Priority order, with parallelism marked:
1. **Engineering policy transition**: done in this branch ([#345](https://github.com/MacosPorters/betterxen/issues/345), closed once the branch is reviewed).
2. **Parallel desk research** (no execution needed): CrossOver architecture [#348](https://github.com/MacosPorters/betterxen/issues/348); Rosetta 2, D3DMetal and Direct3D coverage [#349](https://github.com/MacosPorters/betterxen/issues/349); supported integration interfaces [#350](https://github.com/MacosPorters/betterxen/issues/350); licensing and redistribution [#354](https://github.com/MacosPorters/betterxen/issues/354); independent check of the upstream registry [#363](https://github.com/MacosPorters/betterxen/issues/363).
3. **Authorized workload selection and measurement protocol** [#353](https://github.com/MacosPorters/betterxen/issues/353), in parallel with step 2.
4. **Reproducible environment and baselines**: [#303](https://github.com/MacosPorters/betterxen/issues/303) capability receipt and [#355](https://github.com/MacosPorters/betterxen/issues/355) baseline. Needs #353.
5. **Responsibility boundary ADR** [#351](https://github.com/MacosPorters/betterxen/issues/351): needs steps 2 and 4.
6. **Implementation tasks justified by the ADR**: created under H2 ([#352](https://github.com/MacosPorters/betterxen/issues/352)); shared items already triaged there are [#257](https://github.com/MacosPorters/betterxen/issues/257) (output-path guards). Later: [#145](https://github.com/MacosPorters/betterxen/issues/145) frame-time capture (H4), [#204](https://github.com/MacosPorters/betterxen/issues/204) memory pressure (H5).
Hard dependencies are GitHub blocked-by relationships; everything else is preferred order. The shortest legitimate path to a verified baseline is steps 2 (the CrossOver parts), 3 and 4.
## Immediate work
| Issue | Track | Phase | Priority | Depends on | Expertise | Deliverable |
| --- | --- | --- | --- | --- | --- | --- |
| [#348](https://github.com/MacosPorters/betterxen/issues/348) | hybrid | H1 | p1 | none | research | CrossOver architecture, versions, Wine relationship, sourced |
| [#349](https://github.com/MacosPorters/betterxen/issues/349) | hybrid | H1 | p1 | none | research | Rosetta 2, D3DMetal, Direct3D coverage, sourced |
| [#350](https://github.com/MacosPorters/betterxen/issues/350) | hybrid | H1 | p1 | none | research | Supported integration interfaces |
| [#354](https://github.com/MacosPorters/betterxen/issues/354) | hybrid | H1 | p1 | none | licensing | Licensing and redistribution assessment |
| [#353](https://github.com/MacosPorters/betterxen/issues/353) | shared | H1 | p1 | none | test engineering | Workload set and measurement protocol |
| [#363](https://github.com/MacosPorters/betterxen/issues/363) | hybrid | H1 | p2 | none | reviewer | Independent check of registry and matrix |
| [#303](https://github.com/MacosPorters/betterxen/issues/303) | shared | H1 | p1 | none (design); run after #353 | test engineering | Host and dependency capability receipt |
| [#346](https://github.com/MacosPorters/betterxen/issues/346) | shared | H0 | p2 | project token scope | repo admin | Configured project board |
Parallelizable now: all of the above. Next cycle: [#355](https://github.com/MacosPorters/betterxen/issues/355) baseline, then [#351](https://github.com/MacosPorters/betterxen/issues/351). Later: H2 tasks from the ADR, H3 validation, H4 performance. No deadlines are set for research and none are inferred from contributor availability.
## Existing issues
The native backlog was reviewed individually. 84 native issues were closed as consolidated into seven "[Deferred native research]" umbrella issues ([#356](https://github.com/MacosPorters/betterxen/issues/356) CPU, [#357](https://github.com/MacosPorters/betterxen/issues/357) DBT performance, [#358](https://github.com/MacosPorters/betterxen/issues/358) GPU, [#359](https://github.com/MacosPorters/betterxen/issues/359) integration workloads, [#360](https://github.com/MacosPorters/betterxen/issues/360) runtime, [#361](https://github.com/MacosPorters/betterxen/issues/361) compiled launch and app, [#362](https://github.com/MacosPorters/betterxen/issues/362) roadmap research); issue text is preserved and each can be reopened. 27 native issues with discussion, an assignee or a linked open pull request stay open as `track: native` and `status: deferred`, without milestone or priority. The eight former shared-infrastructure issues were triaged: [#303](https://github.com/MacosPorters/betterxen/issues/303) to H1, [#257](https://github.com/MacosPorters/betterxen/issues/257) to H2, [#145](https://github.com/MacosPorters/betterxen/issues/145) to H4 and [#204](https://github.com/MacosPorters/betterxen/issues/204) to H5 (rewritten for the hybrid stack); [#173](https://github.com/MacosPorters/betterxen/issues/173), [#174](https://github.com/MacosPorters/betterxen/issues/174) and [#219](https://github.com/MacosPorters/betterxen/issues/219) to H6 as useful but not currently necessary; #158 closed as obsolete and consolidated into #357. Nothing was deleted.
The native-first plan is archived at [archive/development-phases-native-first.md](archive/development-phases-native-first.md); retired milestones are in [archive/native-first-milestones.json](archive/native-first-milestones.json). Open pull requests that target native work remain open for their authors and maintainers to decide.