repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

Recognize Android as a release platform (#110)

e9b07d785874ab5353627e9dbf76887defd17e47

agent-smith-bugabinga-adc[bot] <306488075+agent-smith-bugabinga-adc[bot]@users.noreply.github.com> ·

SSH signature · not checked

Browse filesCompare with HEAD

## What forced this
PR #98 made Android ARM64 a required release artifact while the
extension-facing guidance still called it source-compatible only.

## The call
Document Android/Termux as a release platform and include the current
target matrix.

## What we deliberately didn't do
We did not prescribe an Android archive format because product code does
not establish one.

## Evidence
`cargo run -p xtask -- doc-test` and `cargo run -p xtask -- verify-docs`
pass.

## Surface touched
`docs/research/CI-PATTERNS-RESEARCH.md` and
`docs/research/RELEASE-BUILD-RESEARCH.md`.

## If this ages badly
Reopen the target guidance if release policy removes Android or changes
its tier.

---------

Co-authored-by: agent-smith-bugabinga-adc[bot] <agent-smith-bugabinga-adc[bot]@users.noreply.github.com>
Co-authored-by: docs-writer <docs-writer@smith.local>
Co-authored-by: Oliver Jan Krylow <oliver@bugabinga.net>

Changed files (2)

+17 / −4 text lines

Diff layout

docs/research/CI-PATTERNS-RESEARCH.md

Modified

+7 / −3 text lines

145145# Full platform matrix (if multi-platform CI)
146146# - Linux x86_64
147# - Linux aarch64 (Termux target)
147# - Linux aarch64
148# - Android ARM64 (Bionic)
148149# - macOS aarch64
149150# - Windows x86_64
150151```
152153### Android/Termux validation lane
154[V] Android/Termux is a supported development environment for smith, especially for agent-in-terminal workflows on mobile devices. It is not a v1 release artifact target; release artifacts target desktop/server platforms first.
155[V] Android/Termux on `aarch64-linux-android` is both a supported development
156environment and a required release-artifact target — canonical in SPEC §14. The
157terminal-first workflow is supported on mobile as well as desktop and server
158platforms.
156160[V] CI should still validate Android/Termux compatibility because prototype evidence found two platform-sensitive integrations:
167171[V] Recommended CI posture:
169173- Run Android/Termux compatibility in slow tier and before releases.
170- Treat failures as release blockers for source compatibility, not artifact publishing blockers.
174- Treat failures as release blockers, including artifact publishing.
171175- Include a focused smoke test: vendored LuaJIT links, Lua sandbox executes, syntastica highlights Rust code, and no `libonig`/external `libtree-sitter` dynamic dependency appears.
173177### Timing budget

docs/research/RELEASE-BUILD-RESEARCH.md

Modified

+10 / −1 text lines

1212| Linux ARM64 (glibc) | `aarch64-unknown-linux-gnu` | Tier 1 | Native or cross | Raspberry Pi 4/5, AWS Graviton |
1313| Linux x86_64 (musl) | `x86_64-unknown-linux-musl` | Tier 2 | cargo-zigbuild | Static binary, Alpine/containers |
1414| Linux ARM64 (musl) | `aarch64-unknown-linux-musl` | Tier 2 | cargo-zigbuild | Static ARM64, containers |
15| OpenBSD x86_64 | `x86_64-unknown-openbsd` | Tier 3 | Native build only | No cross-image available |
15| Android ARM64 (Bionic) | `aarch64-linux-android` | Tier 2 | NDK + `clang_rt.builtins` link flag (§6) | Android/Termux — required release artifact |
16| Linux riscv64 (glibc) | `riscv64gc-unknown-linux-gnu` | Tier 2 | cargo-zigbuild | Best-effort |
17| Linux riscv64 (musl) | `riscv64gc-unknown-linux-musl` | Tier 2 | cargo-zigbuild | Best-effort |
18| FreeBSD x86_64 | `x86_64-unknown-freebsd` | Tier 2 | cargo-zigbuild (experimental) | Best-effort |
19| OpenBSD x86_64 | `x86_64-unknown-openbsd` | Tier 3 | Native build only | No cross-image available — best-effort |
21The Rust-tier column above is upstream toolchain support; the release status in
22the Notes column (required vs best-effort) is canonical in SPEC §14. Android is a
23required release artifact there; riscv64, FreeBSD, and OpenBSD are best-effort.
1725**OpenBSD is Tier 3** — Rust project does not build or test it automatically. `rustup target add` works but std may have bugs. No Docker cross-image from cross-rs. Must build natively or via zig (experimental).
8391├── smith-aarch64-unknown-linux-gnu.tar.gz
8492├── smith-x86_64-unknown-linux-musl.tar.gz
8593├── smith-aarch64-unknown-linux-musl.tar.gz
94├── smith-aarch64-linux-android.tar.gz
8695├── smith-x86_64-unknown-openbsd.tar.gz
8796└── checksums-sha256.txt
8897```