Audit date: 2026-11-19
Repository baseline: release source tag v2.0.1 at 5be29360c9ca7e4516366711ec09f7a9b4d56940; current main may include later generated state
Status: v2.0.1 published and verified; stable APT remains withdrawn.
This report reconciles audit and project records against the source, GitHub history, exact-commit CI, device records, and the owner's current product decision. Its publication evidence is recorded in the final section; dated evidence below remains bounded to the state it describes.
For the version-specific installation guides, see the release guide index.
Audit inputs and authority
- The complete Codex audit is stored at
/sdcard/Ternux_Full_Audit_2026-11-18.md. Its original repository snapshot predates the current main commit; this report reconciles the later release changes and records newer evidence. - The independent ChatGPT audit named in the task was not present in the current attachment directory or repository. Its findings are therefore unavailable and are not inferred or attributed.
AI_ASSISTANT.md, the current source, the release records, the feature matrix, the device verification log, and exact-main CI were reviewed. Dated audit reports remain historical snapshots unless explicitly updated.- The owner's latest scope decision controls where an earlier record conflicts: v2 is the current implementation, frozen to existing functionality; new architecture and capabilities stay in v3.
Release and version reconciliation
| Item | Verified state |
|---|---|
| Release source | Tag v2.0.1 resolves to 5be29360c9ca7e4516366711ec09f7a9b4d56940; exact-commit checks passed before publication |
| v1.4.0 | Immutable tag 3e6c07e2afcb5f1e65ecd57af19b0382a948835a; the published release has no binary assets and links to its dedicated exact-version guide |
| v2.0.0 | Release object and stable APT channel withdrawn; tag 9106b04fc8627ae98b1d63c9912a28c8a4677441 remains for provenance and must not be moved or reused |
| v2.0.1 | Published GitHub Release with source archive and SHA256SUMS; downloaded source checksum verified |
| Stable APT | Withdrawn and not part of v2.0.1; the APT build workflow's unsigned package is a CI artifact, not publication of a stable package channel |
The PR #297 release follow-up merged as 4f96802576fab1f1806e4ea0db052de6719a4b47. Exact-main workflows passed on that merge commit: Validate 44328593196, Termux APT package artifact 44328592790, and Repo Knowledge Sync 44328593206. The generated-state PR #280 then merged as 1f8ffabaab7fe982f5bfc91759b14b921e6ebd8f; .repo/STATUS.md now records the merge commit, successful build/test signals, and sync time. It was generated by the workflow and was not hand-edited.
Version 2 scope and qualification
The owner-confirmed v2 desktop baseline is Debian, Ubuntu, Kali Linux, and Alpine Linux. The level of evidence differs:
- Debian, Ubuntu, and Alpine are included in the clean guest/browser CI matrix and have detailed reference-device records.
- Kali has an installed reference-device qualification record covering the existing guest and the checks listed in device verification. It does not have the same clean-install/browser CI evidence.
- The current phone session has Debian installed and running.
tx distro listreports the other three baseline guests as qualified profiles but not currently installed. Historical device records are evidence for those earlier installed guests; they do not describe the current session. - The other eleven named recipes are outside the v2 support promise. Recipe generation or source presence alone does not qualify a distribution.
| Area | Current evidence and maturity | Boundary / remaining check |
|---|---|---|
| Installer and bootstrap | Standalone and CLI fallback use one immutable source commit (024fd260ac11e5b93786c5ecfcb7e5b045fc7b3e) and matching codeload SHA-256 0fe66a54a0071f1539c638b25756f644e348ffc17d85e74f038601d34668392a; local archive, hosted full-commit codeload bytes, and bootstrap sync test match |
Published v2.0.1 source archive and checksum manifest verified after download |
| CLI, PRoot lifecycle, uninstall/update/recovery | Exact-main CI and focused tests pass; updater rollback/recovery and data-preservation cases are covered in the suite | CI fixtures do not prove every real-device failure mode; preserve guest data and existing public commands |
| Xfce and Termux:X11 | Existing Xfce/X11 integration is retained. Live Debian confirmed the Ctrl zoom event reaches the focused application; zoom-in changed the screenshot by 13.55%, and zoom-out returned to an exact pixel match | Intermittent X11 stalls were not reproduced; a short round-trip sample cannot rule them out |
| Window placement and resizing | The corrected helper preserves pointer-resized size/position in the live Debian test. A separate reversible helper-on/helper-paused Xmessage comparison produced the same move and resize geometry in both states | The reported move-to-center symptom was not reproduced by that synthetic comparison. Removing the entire helper would also remove launch-time fit/clamp and Ctrl zoom. Touch-driven/device-specific behavior remains open |
| Graphics | Device records cover Debian, Ubuntu, Kali, and Alpine on Xiaomi 25053RT47C, Android 16, Adreno 825, Zink/Turnip; current Debian tx verify passed |
Evidence is device/profile-specific and does not qualify other SoCs, GPUs, Android builds, or workload performance |
| Audio | On 2026-11-18 a controlled Debian stop/start cleared two pre-existing PulseAudio daemons; a single Ternux daemon (--exit-idle-time=-1) then served the configured 4713 port and the launch-selected 4714 port. The guest receives the selected port. After 30 seconds idle, host status still reported pulseaudio_ready=yes; the owner confirmed hearing the subsequent VLC test. Historical device records also show concurrent Debian/Ubuntu/Alpine audio routes and a Kali paplay loopback capture. |
The fresh start was on the existing Debian installation, not a clean Android installation. Ubuntu/Kali/Alpine are not installed on this current device, so they have not been retested after this incident. Recovery if Android kills PulseAudio while XFCE remains running is also unverified |
| Bengali input | Owner reports physical-keyboard switching in installed distros; device records include focused Avro checks | Does not establish every app/widget or every keyboard |
| Camera and microphone | Termux:API-backed integration and lifecycle paths exist; tests cover permission and failure handling | This audit did not capture a new photo or microphone recording in the current session |
| AI and optional workloads | llama.cpp CPU/Vulkan and Stable Diffusion CPU/Vulkan are optional/preview paths; HTP/HMX and QNN remain experimental/research-only | Do not market experiments as stable base features; workload/model/device qualification stays narrow |
| Blender GPU MCP | Repository implementation and documentation exist | Keep claims scoped to the separately recorded device tests; do not infer broad Blender compatibility from source presence |
| Manager and Control Center | Current source contains partial manager/read-only and dashboard slices with CI coverage | Full Manager, service supervision, complete Control Center, cancellation, and v3 orchestration are not v2 release promises |
Security and maintainability findings
- The startup-password verifier uses a salted single SHA-256 pass. The feature is explicitly documented as a convenience gate, not a security boundary; the Termux app owner can access guest files and bypass shell startup checks. A slow-KDF migration needs compatibility and recovery design and belongs in the v3 security plan unless a critical exploit is established.
- When
uninstall.shis invoked as a direct pipe without a local checkout or installed CLI, its fallback downloads implementation files from mutablemain, syntax-checks them, then runs the scoped uninstaller. This is a reproducibility/supply-chain weakness; no evidence in this audit shows it crosses the documented scoped deletion safeguards. Prefer the exact release archive for versioned recovery, and design immutable pinning for a future security improvement. - GitHub Actions use version tags rather than full commit-SHA pins, and no ShellCheck job is configured. These are supply-chain and analysis improvements, but no compromise or critical defect was verified here.
- Large shell modules and a broad aggregate test runner increase maintenance cost. Their size alone is not a v2 release blocker; modularization and test partitioning remain v3 work.
- The website dependency audit recorded nine high-severity paths through Picomatch in the build tree; the prior review found no verified patched version and did not add an unverified override. Recheck the dependency advisory state before release publication and do not claim the build toolchain is risk-free.
No confirmed critical security vulnerability was established by the available source/device/CI evidence. The independent audit is absent, so this is not a claim that two audits found none.
Documentation, release pages, and README
- The v1.4.0 release page now links to a guide that downloads the immutable
v1.4.0archive, checks its recorded SHA-256, and verifies the archived installer reports1.4.0. The guide was tested against tag3e6c07e2…; the release has no attached binary asset. - The v2.0.1 guide is version-specific and uses the exact tag/source asset/checksum manifest rather than
main; the published GitHub release page and downloaded assets were verified. - README keeps its card-wise layout and reflects the current source, four owner-confirmed baseline distros, experimental feature boundaries, and the published v2.0.1 state. Website cards are source-built from the current repository, not a frozen v1.4/v2.0.0 snapshot.
- English and Bengali v2 installation/readiness/troubleshooting pages are paired. The current CLI pages were corrected to state the four-distro owner baseline and distinct evidence depth; the v3 workspace document now points to the same feature matrix.
- Historical v2.0.0 reports and dated audit snapshots still describe the facts at their stated dates; their historical three-distro release scope must not be read as the new v2.0.1 baseline.
Verification recorded for the candidate
- Local window-fit suite: 13 cases passed; Python syntax check passed.
- Local
bash tests/focused.sh: 211 passed, 0 failed. - Local documentation checker after current factual corrections: 6,518 assertions, 621 internal links, 24 bilingual page pairs passed.
tests/bootstrap_source_sync.sh: passed against the pinned archive. Local archive and actual GitHub short-SHA codeload archive both hash tob5234738…3ce83and have rootternux-024fd260ac11e5b93786c5ecfcb7e5b045fc7b3e/.- PR #297 head
d792c254c51fcedc29925e6d6ba2c1a6cf3eafab: Validate, unsigned package-artifact, repo-contract, test, and sync checks passed. The automated review's keyboard-freeze finding was fixed by replaying before preference I/O, then its conversation was resolved. - Exact-main Validate, package-artifact, and Repo Knowledge Sync passed on merge commit
4f968025…; the generated-state PR passed the same required checks and merged as1f8ffab…. - Local
npm run format:checkcould not launch because the Termux Node executable has an Android C++ runtime symbol mismatch. Exact-main website build/format validation passed in GitHub Actions; no Astro source changed in this release PR.
Remaining v2 release gates
- Generate the source archive from the final release commit, verify its root/version and SHA-256 manifest, and inspect its contents.
- Publish v2.0.1 with the exact release commit and version-specific guide; do not publish a stable APT channel.
- Verify the published v2 page, exact tag, assets, checksums, install commands, and v1.4.0 page link from GitHub.
- Update release status and this reconciliation with the final release SHA and evidence; verify generated
.repo/state after any source merge.
Version 3 boundary
No new v3 implementation or APT feasibility work is included in this v2 release change. Start that work only after v2.0.1 is published and verified. The initial eight-distribution target can be the four v2 baseline distros plus Arch Linux, Fedora, Void Linux, and openSUSE Tumbleweed; each new profile must pass its own qualification matrix. Ten is a stretch goal, not a promise. APT return requires a separate v3 feasibility study and owner decision.
Other v3 topics retained for later planning include installer/module boundaries, test architecture, Manager and Control Center completion, service supervision, device/display management, Ternux-native workload and compute lifecycle, extension/API design, security/supply-chain hardening, and repository-state/documentation governance.
Local follow-up — fresh guest audio and bootstrap archive identity (2026-11-19)
- Fresh local installs of Ubuntu Resolute, Kali rolling, and Alpine v3.24 completed on the Android 16 reference device. All three desktops reached Ternux
READY; each guest used Xfce4 and the shared Ternux PulseAudio route. - In each guest,
pactl inforesolvedtcp:127.0.0.1:4714andOpenSL_ES_sink.paplayreturned exit code 0 for a two-second test tone, and the owner independently confirmed hearing the tone in all three desktops. Ubuntu, Kali, and Alpine audio playback is therefore device-verified for this session. - The multi-guest install refreshed Termux package indexes/upgrades. No host PulseAudio configuration was changed and no host PulseAudio daemon restart was performed during this fresh-install/audio sequence. At the end of the sequence all three guest reports showed
pulseaudio_ready=yes. - A live Ubuntu bootstrap failure exposed the reason a pinned source archive did not verify: the codeload URL used a seven-character commit prefix, which changes the archive root directory and SHA-256 from the full-commit URL. The standalone bootstrap and CLI fallback now use the full immutable commit SHA and the observed full-URL digest
060dbfa8489bc581ffa996d20b585616e628e227c6cc88d20a4429aa6fd4f3b5. - This source change remains local. The existing pinned commit does not contain the changed URL/tests, so
tests/bootstrap_source_sync.shreports the expected parity difference until the owner approves repository synchronization and the source pin is advanced to a committed snapshot. Focused suite: 211 passed. Shell syntax andgit diff --check: passed. - After the fresh installs, the local CLI phase was explicitly run against the live host. The previous host CLI/modules were backed up under
~/.cache/ternux-v2-local-live-backup-2026-11-19/; the installedcore.shandphases.shhashes now exactly match the local source, bothternuxandtxreport v2.0.1, andtx verify alpinepasses. - Live
tx verifypassed for Debian, Ubuntu, Kali, and Alpine after deployment.tests/docs_check.pypassed 6,638 assertions, 629 internal links, and 24 bilingual page pairs. Focused suite remains 211/211 passing. The source-sync test was rerun and fails only because the old pinned archive still contains the abbreviated URLs; retain this as an open approval-gated pin refresh, not a passing gate. - Installation caveat: Kali's requested Xfce profile installed 606 base desktop packages plus its profile-selected applications; Alpine installed 547 base packages and additional locale/Avro/GPU/browser packages. The storage check afterward reported about 60 GiB free. The installer incorrectly reported Termux:API as undetected; a later host check confirmed the companion app and
termux-apipackage are installed. No camera capture or microphone permission request was performed during these installs. Android child-process setting could not be read. - These installs establish fresh guest setup on the existing Termux host, not a clean Android or Termux reinstall. PulseAudio recovery after Android kills it while a desktop remains open is still unverified. Intermittent X11 stalls were not reproduced or eliminated by this audio/install check.
Termux:API detection correction (2026-11-19)
- The installation log's claim that the Termux:API companion was unavailable was incorrect. Android package lookup (
pm path com.termux.apiandcmd package path com.termux.api) and Termux package state confirm the companion app andtermux-apiclient package are installed on the reference device. - Root cause: the installer only queried Android's
cmd package path; a failed query was treated as proof of absence. Localtnx_termux_api_app_installednow tries that query and falls back to Termux'spm path, and reports “could not be detected” rather than claiming the app is absent. bash -n lib/phases.sh tests/focused.shpassed. The focused regression test stubs a failingcmdquery and a successfulpmquery. Fullbash tests/focused.shpassed 212/212. The live installedphases.shSHA-256 matches the local source, and the installed detector confirms Termux:API on this device.- Earlier skipped camera/microphone probes were installer behavior caused by the false negative, not evidence the companion app was missing. Camera capture and microphone permission status remain untested in this follow-up.
Local scope-audit and final test update (2026-11-19)
The earlier v3 ADR proposing an LAI adapter contradicted the owner's Ternux-only boundary. ADR-0003 now remains as a rejected historical proposal with its identifier preserved; the v3 architecture, roadmap, AI runtime and component maps now cover Ternux-owned workloads and no unrelated product integration. English and Bengali scope summaries were aligned.
The current device/feature matrix now records the fresh three-distro audio playback, the Termux:API detector correction, and the limited window-helper evidence. Interactive window movement/resizing remains directly tested only in Debian, even though hashes match in all four guests.
Final local checks:
bash tests/focused.sh212/212;python3 tests/docs_check.py6,638 assertions, 632 internal links, 24 bilingual pairs;bash -nandgit diff --checkpass.bash tests/bootstrap_source_sync.shwas rerun and fails because the old immutable pinned snapshot still has abbreviated codeload refs and no current source changes. This must be advanced to an exact committed snapshot after approval; the failure is an open gate.Read-only GitHub check: PR #298 remains open and its current remote commit has one failing shell/documentation job. The failure is
git show --checkfinding trailing whitespace on four pre-existing header lines in the reconciliation documents. Those lines are trimmed in this local working tree; the remote PR check will only rerun after an approved repository update.v1.4.0's live release page is published and links its dedicated v1.4.0 guide. The tag remains
3e6c07e2afcb5f1e65ecd57af19b0382a948835a, with no attached binary assets; its version/commands were checked against that tag. v2.0.1 was subsequently published; see the release evidence below.Latest read-only host status: Debian
:1, Ubuntu:2, Kali:3, and Alpine:4all reportREADY, X11 running, and PulseAudio route-ready. Individualtx verifypasses for all four. No guest lifecycle or audio service was changed for this status check; it does not rule out intermittent X11 stalls.
Initial optional-workload selector regression (2026-11-19)
- Added
jqto the real PTY menu test and aggregate focused suite. The test confirms the initial interactive selector returnsjqusing both keyboard navigation and numeric entry. The existing package-phase regression verifies selected APT workloads execute as guest root without a sudo/stdin prompt. python3 tests/workload_menu_pty.py . jqpassed, and the full focused suite passed 215/215. The live clean Ubuntu install selectedjqin the initial menu and installed it in that same run. This directly covers the reported install path forjq; other selections still need app-specific live checks.
Optional Blender/ADT qualification — 2026-11-19
The numeric multi-selection delimiter and missing ADT prerequisites were fixed
locally. The exact Blender + companion soobujmiah/adt Build Tools live workload passed package
installation and Blender/Java/sdkmanager/aapt2 smoke checks on Debian, Ubuntu,
and Kali. Alpine now has a Blender APK recipe, including xvfb-run and NumPy;
its Blender background and active-Xfce GUI smoke tests passed. Kali's Blender 5.2 asset add-on needed python3-cattr and python3-requests; the workload now installs both. The integrated ADT binaries are not
currently compatible with Alpine's musl/PRoot runtime: Java cannot map an
executable memory page and aapt2 needs unavailable glibc symbols. The Alpine
selector offers Blender only and preflight-rejects ADT. See the readiness report
for exact evidence. This means the owner's all-baseline-distro ADT request is
not fully met; v2 is not releasable with that claim.
Bootstrap snapshot parity correction — 2026-11-19
- PR #298's first exact-commit Validate run exposed that the immutable installer/CLI source snapshot had not advanced with the current implementation.
tests/bootstrap_source_sync.shfailed because the pinned archive omitted the current package-manager launcher, IPv4/IPv6 APT retry, optional-workload resume, and startup-password forwarding changes. - Downloaded the codeload archive for the exact preceding candidate commit
024fd260ac11e5b93786c5ecfcb7e5b045fc7b3e; its root isternux-024fd260ac11e5b93786c5ecfcb7e5b045fc7b3e/and SHA-256 is0fe66a54a0071f1539c638b25756f644e348ffc17d85e74f038601d34668392a. - The standalone installer and CLI fallback now share this full-commit URL and digest. Local
tests/bootstrap_source_sync.sh,bash -n install.sh lib/core.sh, andgit diff --checkpass. The next PR commit must rerun complete CI; publication remains blocked until all exact-commit checks pass.
Publication verification — 2026-11-19
- Annotated tag
v2.0.1resolves to source commit5be29360c9ca7e4516366711ec09f7a9b4d56940. Exact-main Validate, repository-state contract, and Termux APT package-artifact checks passed before the tag was created. The source archive was generated from that exact commit; archive path safety, extracted shell syntax, installer help, and local checksum checks passed. - GitHub Release: https://github.com/soobujmiah/ternux/releases/tag/v2.0.1
- Published assets:
ternux-v2.0.1-source.tar.gzandSHA256SUMS. Downloaded archive SHA-256:276cf6ffa8cdd3586a358dcf5d2e0f87292d7d7fd29098045a0922259fc7ff7a; remote manifest verification passed. - Stable APT remains withdrawn; the release publishes the source archive only.
- The root README and Bengali README both list Unexpected Keyboard's GitHub releases and Google Play listing under installation companions.