Skip to content

refactor(tee): group code into cli/{node,network,common} subpackages#59

Merged
samlaf merged 1 commit into
mainfrom
refactor/tee-cli-layout
Jul 7, 2026
Merged

refactor(tee): group code into cli/{node,network,common} subpackages#59
samlaf merged 1 commit into
mainfrom
refactor/tee-cli-layout

Conversation

@samlaf

@samlaf samlaf commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

The package top level is now three dirs of distinct nature: cli/ (all Python), pulumi/ (infra programs), networks/ (network artifact dirs). Within cli/, each CLI owns its command implementations — node/ is seismic-tee, network/ is seismic-tee-bootstrap — and common/ holds what both need (manifest, descriptor, logging, click plumbing).

The import direction is one-way and documented in cli/init.py: common imports neither side, node imports only common, network may import both. This mirrors the planned public/private repo split, so the public half (cli/node + cli/common + pulumi/seismic_node) lifts out wholesale when the time comes.

Installed command names are unchanged; only the entry-point module paths moved. Existing checkouts must uv sync after pulling.

The package top level is now three dirs of distinct nature: cli/ (all
Python), pulumi/ (infra programs), networks/ (network artifact dirs).
Within cli/, each CLI owns its command implementations — node/ is
seismic-tee, network/ is seismic-tee-bootstrap — and common/ holds
what both need (manifest, descriptor, logging, click plumbing).

The import direction is one-way and documented in cli/__init__.py:
common imports neither side, node imports only common, network may
import both. This mirrors the planned public/private repo split, so
the public half (cli/node + cli/common + pulumi/seismic_node) lifts
out wholesale when the time comes.

Installed command names are unchanged; only the entry-point module
paths moved. Existing checkouts must `uv sync` after pulling.
@samlaf samlaf merged commit bd79e00 into main Jul 7, 2026
1 check passed
@samlaf samlaf deleted the refactor/tee-cli-layout branch July 7, 2026 07:31
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