Skip to content

Let the console retain transport APKs and own local hosts - #786

Open
lumenpearson wants to merge 1 commit into
devfrom
work/console-6c
Open

lumenpearson wants to merge 1 commit into
devfrom
work/console-6c

Conversation

@lumenpearson

@lumenpearson lumenpearson commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Description

The console can build and retain a selected REST/Connect APK, and manage one owned local Host session. Selected outputs include immutable APK/AGP-metadata hashes; Device can choose them after another build changes the ordinary output directory. Host preparation and contract generation cannot overlap Host startup or its live imported environment.

The explicit :app:releaseSigningStatus action reports presence and missing setting names from the existing resolved signing values. Its session cache is not APK signature proof. Native gRPC/streaming remains unavailable until accepted 5c source is integrated.

Refs #782 and #273.
Closes #784.
Closes #785.

What is affected

  • tools/console/: selected build/artifact ownership, Host lifecycle, signing-status action and closed task controls.
  • android/app/build.gradle.kts: safe signing-presence task only.
  • .github/workflows/ci.yml: route changed Host/lock readers to their console consumer.
  • Build/architecture guidance, agent gate declarations and HANDOVER.

Boundaries

Server, API, proto, database schema and Android runtime implementation are unchanged. Host uses a verified checkout-local interpreter, private no-dotenv working directory, disposable SQLite and an explicit inert environment. A selected owned listener is required before readiness is read. Prepare/Generate exclusion is checked at submission, queued execution, preflight and launch. The parameterized APK row uses dedicated selectors.

Compatibility and rollout

Installed-family v1 compatibility remains unchanged. There is no migration. No automatic backend/SDK install, shared adb reset, production deployment action or destructive device fallback is added. This batch does not authorize v1 retirement.

Verification

Locked console pytest: 57 passed in 24.45s.
Locked console Ruff: passed.
Review correction: 3 observed RED witnesses, then 3 GREEN.
Current command/reference guards: 2 passed in 13.84s.
REST/non-streaming test + assembleDebug + assembleRelease: SUCCESS in 15m12s.
341 Android tasks: 271 executed, 70 from cache.
Separate Detekt: SUCCESS in 28s, 5 tasks executed.
Completed-report validator: 2202 unique cases in 5 modules; 326 JUnit files retained.
Signing status: 5 actual presence/cache/moved-file steps passed.
Postflight: all 1520 frozen Android inputs unchanged; own processes absent.
Coordinator independently qualified and actually released the SDK slot.
Actual ordinary debug/release APK/AGP snapshots: 2 retained, hashes/identities matched.
Exact-head CI 46191089179: SUCCESS at 32540955 (all routed gates).
Console CI: Windows 57 passed / 23.50s; Linux 57 passed / 25.97s; Ruff passed.
Server CI: 3893 passed, 17 skipped, 15 warnings / 428.75s; Ruff/mypy passed (242 files).
Android CI: 2202 unique cases / 5 modules; test/builds/Detekt and count gates passed.
Both Host adapters and Contract (Buf) passed.
Dev/master delivery and source-matched production remain pending.

One independent review found #784 and #785; one correction pass and the same reviewer's bounded readback accepted both. Original failures remain retained.

What holds it

test_host_exclusion_covers_queued_mutators_and_rechecks_launch, test_host_starting_preflight_excludes_mutators_until_stopped and the overlap pilot hold #784. The pilot also exercises the dedicated selected-APK controls instead of an unbound generic row (#785). Existing process-tree ownership cases are reused.

What is NOT covered

The console fixtures run no SDK, device, live backend, port or production operation. Android gates ran separately through an admitted controller. The ordinary local APK snapshots are file/metadata evidence, without cryptographic production-signature, installed-device or runtime-transport acceptance. Actual local Host/backend acceptance, signed-device/Home-reopen, family rollout and Project fields remain separate. A single selected-backend marker result is not the two-backend CI matrix. No standalone flavor or unimplemented build property is invented. Unchanged server/API/proto implementation gates were not repeated locally; exact-head CI must supply its separately routed results before merge.

Documentation

Build/architecture guidance, console README, gate instructions, the implementation plan and HANDOVER are updated within this batch. Exact-head CI and delivery results will be appended to the open PR; persistent dev/master and promotion #783 remain pinned until their production observation is accepted.

Delivery readback

Exact-head CI 46191089179 completed successfully for 32540955a95d4dbe95b14fe302170aa886b7ac70. The PR is ready for review; local gates and the one independent correction review are complete. Merge is held until the predecessor #783 has its agreed 6a production observation accepted and released. This does not claim dev/master delivery, live local Host, installed-device or Project acceptance.

Production predecessor status — 28 November 2026 UTC

The source and CI gates above remain green on the unchanged head. Promotion #783 and this PR remain unmerged while predecessor #771 lacks accepted runtime evidence. A separately admitted CLI67 pass requalified the exact source/four aliases, but its first runtime command exited1 without JSONL data; the second query was not executed. Both project and local admissions were actually released with pending0, zero repeated HTTP probes and zero writes.

A separate single account diagnostic and exact offline public-client digest comparison confirmed loggedIn=false for CLI67. The owner needs to complete ordinary CLI sign-in before a newly admitted runtime check. No login, credential extraction, account mutation or extra product test was performed. The measured proof and original partial receipts are recorded in #771; native execution and Project6 remain separate unfinished gates.

@vercel

vercel Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lessons Ready Ready Preview Nov 28, 2026 9:20pm UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T21:32:49.700668Z 3254095 Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 32540955a9

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/console/lessons_console/host.py Resolved

This branch was successfully deployed

1 active deployment
Preview — 32540955 Deployed Nov 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Now

Development

Successfully merging this pull request may close these issues.

1 participant