Hub RFC-007 — apt/deb surface + Termux as first-class consumer

Accepted mandatory

Estender o Koder Hub pra hospedar pacotes `.deb` arm64-Bionic (formato Termux) expondo uma fachada `apt`-compatible em `hub.koder.dev/apt/`. Posicionar o KTermux (fork do termux-app — RFC adjacente) como cliente primário desse surface: `pkg install <slug>` resolve via Hub apt repo. `khub` CLI ganha resolver multi-formato (apk/deb/kpkg/...). Mantém-se `.kpkg` como envelope canônico Koder; `.deb` é export target conforme `specs/kpkg/format.kmd §1`.

Author: Koder Engineering Date: 2026-05-09 Status: Accepted (2026-05-09) Module: productsdevhub (backend), productsdevkpkg (cli), productsdevktermux (consumer) Supersedes: none Related: hub-RFC-006 (unificação Store→Hub), specskpkgformat.kmd, the 2026-05-09 Termux dev-env spike


Table of Contents

  1. Summary
  2. Problem Statement
  3. Goals
  4. Non-Goals
  5. Background
  6. Decision
  7. Scope of Change
  8. Execution Plan (3 phases)
  9. Risks and Mitigations
  10. Alternatives Considered
  11. References

1. Summary

Three extensions, one outcome.

  1. Koder Hub ganha uma view apt-compatible em hub.koder.dev/apt/dists/<suite>/main/binary-<arch>/{Release,Packages,Packages.gz} + `poolmain...