T-3 — New gal services scaffold dynamic-nix from the start #12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Labels:
infrastructure,conventionDepends on:
deepnet/dit-client#90,#91. Independent of T-1/T-2.Decision to record
Every new dynamic app on the gal tenant scaffolds
dynamic-nix. Podman(
dynamic-contained) is reserved for workloads that arrive as OCI images DeepNetcannot repackage — per spec 012 Scope/Out, podman stays supported but is no
longer the path of choice for apps DeepNet packages itself.
Why this needs a ticket rather than a note
ditc scaffolddoes not default to nix-native. It content-sniffs: empty dir →static;flake.nixpresent →dynamic-nix;Containerfile/Dockerfilepresent →
dynamic-contained. So a greenfield dynamic app silently lands onpodman if a Containerfile happens to exist. Until that divergence from spec 012
is reconciled upstream, the correct archetype must be passed explicitly:
Immediate application
The planned Python document-intelligence service (Plangrep client — the shared
dependency for roadmap Arcs 2, 4, and 5) scaffolds
dynamic-nixon day one.Two things this buys that the podman path does not:
and the nix path's limits (once #91 lands) are set per-app rather than
inherited from a generator default.
bin/<slug>,bind
127.0.0.1:<derived-port>." The stock ditc scaffold template for thisarchetype is Python.
chessproves the Rust path; the Python path is thetemplate default.
Acceptance criteria
docs/spec-registry.md's decision ledger as anumbered
D-entry.--archetype dynamic-nixandits
manifest.yamlreflects it.flake.nixpackages its dependencies hermetically — nonetwork
pip installat build time.