Skip to content

docs(plan): defer live-terminal wiring until after bootstrap (step 4) - #13

Open
NiDrZero wants to merge 1 commit into
mainfrom
docs-pr-d-sequencing
Open

docs(plan): defer live-terminal wiring until after bootstrap (step 4)#13
NiDrZero wants to merge 1 commit into
mainfrom
docs-pr-d-sequencing

Conversation

@NiDrZero

Copy link
Copy Markdown
Owner

What this PR does (plain English)

Docs only. Records the decision to hold the live-terminal wiring (old PR D)
until after the bootstrap payload lands (step 4)
, and explains why, so future-
you (or a future session) doesn't re-litigate it or accidentally start the
throwaway version.

The reasoning, in short

The terminal engine can only draw a shell if there is a real shell binary on
disk to run
. Until the bootstrap payload ships, the only binary guaranteed to
exist on any device is Android's built-in /system/bin/sh — a real shell, but
minimal (no package manager, almost no tools). Wiring the terminal against that
now and then rewiring it against the real glibc shell after bootstrap would be
throwaway work. So: do the bootstrap first, wire the terminal once.

Until then, the Terminal tab keeps its deliberate placeholder — it never
pretends to be a working shell.

What changed

Atomux_Build_Plan.md, Build Order:

  • Step 3 (app shell): marked the shell + render tests as landed, and noted the
    live-terminal wiring is deferred, with the reasoning above.
  • Step 4 (bootstrap): added that step 3's live-terminal wiring gets completed
    right after bootstrap, and flagged it needs an on-device cold-start check
    (keystrokes in, output rendered) that CI cannot perform.

Not merging

Left open for your review.

… bootstrap

Step 3 (app shell) is complete except the live-terminal wiring (AndroidView +
TerminalSession execing a shell). That wiring is intentionally held until step 4
(bootstrap) lands, because the terminal engine can only draw a shell if a real
shell binary exists on disk. Until the bootstrap payload ships, the only
guaranteed binary is Android's minimal /system/bin/sh; wiring against it now
would be throwaway work. We do the bootstrap first, then wire the terminal once
against the real shell. Documents that the completion of step 3's wiring lives
under step 4 and needs an on-device cold-start check (not possible in CI).
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