Skip to content

Update CLI command name to 'continuum' - #19

Merged
joelteply merged 2 commits into
mainfrom
fix/update-readme
Apr 9, 2025
Merged

joelteply merged 2 commits into
mainfrom
fix/update-readme

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

This PR updates the CLI command name to better match the project branding:

  • Adds 'continuum' as the main command name in the README
  • Updates package.json to provide both 'continuum' and 'ai-config' binary names
  • Keeps backward compatibility by continuing to support the old 'ai-config' command

This makes the CLI experience more cohesive and intuitive, with the command name directly matching the project name.

Copilot AI review requested due to automatic review settings April 9, 2025 03:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • packages/cli/package.json: Language not supported

@joelteply
joelteply merged commit bcfea04 into main Apr 9, 2025
@joelteply
joelteply deleted the fix/update-readme branch April 9, 2025 03:39
joelteply added a commit that referenced this pull request Nov 30, 2025
joelteply added a commit that referenced this pull request Nov 30, 2025
Update CLI command name to 'continuum'
joelteply added a commit that referenced this pull request Jul 26, 2026
…oE-paged K3 on-ramp

The RESOLUTION half of catalog = f(system × storage × grid): given a SystemProfile
(and the grid), resolve WHERE a model runs — and when it doesn't fit at full fidelity
here, resolve it DOWN (grid node / smaller variant) rather than EXCLUDING it. There is
deliberately no `Excluded` variant — storage and grid are RESOLUTION FIELDS, never
gates (solve-for-public-users; the default works on any laptop).

Reuses the fit primitives, never re-derives them:
  - SystemProfile::serving_budget_bytes (the one 0.80 vram_headroom via host_budget_from)
  - footprint_for (Model → ModelFootprint, GGUF-on-disk → size)
  - plan_serving (the honest fits_on_gpu oracle)

Resolutions: LocalRecommended | NeedsProvisioning{to_cold_tier} | MoePaged | GridRouted
| Degraded.

MoePaged is the K3 on-ramp: an MoE model too big to fit WHOLE in VRAM still serves
LOCALLY by freezing its experts on the cold drive (TierRole::Frozen) and paging the hot
subset (PageKind::MoEExpert over ArtifactSource::Mapped, sentinel-PGO subset) — a 594GB
model "fits" a 32GB GPU by residency, not by shrinking. Preferred over grid/degrade when
a cold tier exists (local frontier intelligence, no cloud).

MoE-ness is GGUF-derived (an `is_moe` input the caller reads via locate_layer_sets /
{arch}.expert_count at the header-loading site), NOT a hand-authored Model field — per
the catalog's "ask the GGUF" discipline, and avoiding an 11-site churn across the core
Model struct (M5's option B, three doctrines aligned). Pure `resolve_from_footprint`
core is fully unit-tested (never-exclude invariant: a laptop and a workstation resolve
the SAME oversized model, one degrades, MoE pages locally when a cold tier exists —
neither is ever excluded).

Completes slice 1 of #19 (SystemProfile + PlacementPlanner + MoE resolution).
Validated via cargo build --lib on windows-msvc; tests run in CI (Linux).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply added a commit that referenced this pull request Jul 26, 2026
…storage × grid)

ONE measured descriptor of what THIS box can do, so the model catalog can resolve
its offering against reality instead of a static list. Composes existing primitives
(never re-measures what another module owns):
  - HardwareClass (boot silicon/VRAM/RAM classifier, via probe_hardware_profile +
    classify_hardware)
  - live DeviceCapacity (free GPU/RAM now)
  - the serving budget via host_budget_from — REUSES the one SERVING_BUDGET_FRACTION
    (0.80), reads no config itself, so it inherits that single source and adds nothing
    to the config_env sprawl
  - detected drives, auto-flagging the big offload drive as the COLD/frozen tier
    (the "recognize the storage" primitive — retires hand-placing model files)

Storage (and, via the GridSnapshot seam, the grid) is a RESOLUTION FIELD, never a
GATE: a huge cold drive RECOMMENDS the full experience (big models / MoE expert sets
frozen on it); its absence DEGRADES (smaller quant / dense student / grid route) —
it never EXCLUDES a user (solve-for-public-users, default works on any laptop).

Pure `from_parts` core is the outlier-validation seam; tests assert a Blackwell-5090-
with-16TB profile and a no-cold-drive laptop resolve UP vs DOWN (never one excluded),
the 0.80 headroom is applied to the VRAM ceiling, and UMA budgets from the RAM slice.

Slice 1 of #19; PlacementPlanner + the first MoE catalog entry land next on top.
(cargo test harness doesn't build on windows-msvc — pre-existing Unix-socket cfg gap;
validated via cargo build --lib here, tests run in CI.)

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply added a commit that referenced this pull request Jul 26, 2026
…oE-paged K3 on-ramp

The RESOLUTION half of catalog = f(system × storage × grid): given a SystemProfile
(and the grid), resolve WHERE a model runs — and when it doesn't fit at full fidelity
here, resolve it DOWN (grid node / smaller variant) rather than EXCLUDING it. There is
deliberately no `Excluded` variant — storage and grid are RESOLUTION FIELDS, never
gates (solve-for-public-users; the default works on any laptop).

Reuses the fit primitives, never re-derives them:
  - SystemProfile::serving_budget_bytes (the one 0.80 vram_headroom via host_budget_from)
  - footprint_for (Model → ModelFootprint, GGUF-on-disk → size)
  - plan_serving (the honest fits_on_gpu oracle)

Resolutions: LocalRecommended | NeedsProvisioning{to_cold_tier} | MoePaged | GridRouted
| Degraded.

MoePaged is the K3 on-ramp: an MoE model too big to fit WHOLE in VRAM still serves
LOCALLY by freezing its experts on the cold drive (TierRole::Frozen) and paging the hot
subset (PageKind::MoEExpert over ArtifactSource::Mapped, sentinel-PGO subset) — a 594GB
model "fits" a 32GB GPU by residency, not by shrinking. Preferred over grid/degrade when
a cold tier exists (local frontier intelligence, no cloud).

MoE-ness is GGUF-derived (an `is_moe` input the caller reads via locate_layer_sets /
{arch}.expert_count at the header-loading site), NOT a hand-authored Model field — per
the catalog's "ask the GGUF" discipline, and avoiding an 11-site churn across the core
Model struct (M5's option B, three doctrines aligned). Pure `resolve_from_footprint`
core is fully unit-tested (never-exclude invariant: a laptop and a workstation resolve
the SAME oversized model, one degrades, MoE pages locally when a cold tier exists —
neither is ever excluded).

Completes slice 1 of #19 (SystemProfile + PlacementPlanner + MoE resolution).
Validated via cargo build --lib on windows-msvc; tests run in CI (Linux).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply added a commit that referenced this pull request Jul 26, 2026
… MoE-paged K3 on-ramp (slice 1 of #19) (#2018)

* feat(capacity): SystemProfile — the keystone of catalog = f(system × storage × grid)

ONE measured descriptor of what THIS box can do, so the model catalog can resolve
its offering against reality instead of a static list. Composes existing primitives
(never re-measures what another module owns):
  - HardwareClass (boot silicon/VRAM/RAM classifier, via probe_hardware_profile +
    classify_hardware)
  - live DeviceCapacity (free GPU/RAM now)
  - the serving budget via host_budget_from — REUSES the one SERVING_BUDGET_FRACTION
    (0.80), reads no config itself, so it inherits that single source and adds nothing
    to the config_env sprawl
  - detected drives, auto-flagging the big offload drive as the COLD/frozen tier
    (the "recognize the storage" primitive — retires hand-placing model files)

Storage (and, via the GridSnapshot seam, the grid) is a RESOLUTION FIELD, never a
GATE: a huge cold drive RECOMMENDS the full experience (big models / MoE expert sets
frozen on it); its absence DEGRADES (smaller quant / dense student / grid route) —
it never EXCLUDES a user (solve-for-public-users, default works on any laptop).

Pure `from_parts` core is the outlier-validation seam; tests assert a Blackwell-5090-
with-16TB profile and a no-cold-drive laptop resolve UP vs DOWN (never one excluded),
the 0.80 headroom is applied to the VRAM ceiling, and UMA budgets from the RAM slice.

Slice 1 of #19; PlacementPlanner + the first MoE catalog entry land next on top.
(cargo test harness doesn't build on windows-msvc — pre-existing Unix-socket cfg gap;
validated via cargo build --lib here, tests run in CI.)

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

* feat(provisioning): PlacementPlanner — the never-exclude resolver + MoE-paged K3 on-ramp

The RESOLUTION half of catalog = f(system × storage × grid): given a SystemProfile
(and the grid), resolve WHERE a model runs — and when it doesn't fit at full fidelity
here, resolve it DOWN (grid node / smaller variant) rather than EXCLUDING it. There is
deliberately no `Excluded` variant — storage and grid are RESOLUTION FIELDS, never
gates (solve-for-public-users; the default works on any laptop).

Reuses the fit primitives, never re-derives them:
  - SystemProfile::serving_budget_bytes (the one 0.80 vram_headroom via host_budget_from)
  - footprint_for (Model → ModelFootprint, GGUF-on-disk → size)
  - plan_serving (the honest fits_on_gpu oracle)

Resolutions: LocalRecommended | NeedsProvisioning{to_cold_tier} | MoePaged | GridRouted
| Degraded.

MoePaged is the K3 on-ramp: an MoE model too big to fit WHOLE in VRAM still serves
LOCALLY by freezing its experts on the cold drive (TierRole::Frozen) and paging the hot
subset (PageKind::MoEExpert over ArtifactSource::Mapped, sentinel-PGO subset) — a 594GB
model "fits" a 32GB GPU by residency, not by shrinking. Preferred over grid/degrade when
a cold tier exists (local frontier intelligence, no cloud).

MoE-ness is GGUF-derived (an `is_moe` input the caller reads via locate_layer_sets /
{arch}.expert_count at the header-loading site), NOT a hand-authored Model field — per
the catalog's "ask the GGUF" discipline, and avoiding an 11-site churn across the core
Model struct (M5's option B, three doctrines aligned). Pure `resolve_from_footprint`
core is fully unit-tested (never-exclude invariant: a laptop and a workstation resolve
the SAME oversized model, one degrades, MoE pages locally when a cold tier exists —
neither is ever excluded).

Completes slice 1 of #19 (SystemProfile + PlacementPlanner + MoE resolution).
Validated via cargo build --lib on windows-msvc; tests run in CI (Linux).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

* feat(provisioning): grid_has_fit — the grid verdict is a per-node fit, never a pool

Replaces the caller-passed `grid_has_fit: bool` stub with a real derivation from a live
GridSnapshot. resolve_placement now takes `grid: Option<&GridSnapshot>` and computes the
verdict via grid_has_fit(snapshot, footprint).

grid_has_fit tests each REACHABLE peer with the SAME plan_serving oracle used locally,
against that peer's own live-free VRAM — honoring the GridSnapshot doctrine "sum of
per-node FITS, never an aggregate pool": two 20 GiB peers do NOT fit a 40 GiB model, an
unreachable peer that would fit is a memory not an offer, and a peer that could only
CPU-spill (fits_on_gpu = false) does not count. So the grid resolves a model to a node
that can actually GPU-serve it, or it degrades — it never routes to a node that can't.

Same fit oracle for local and grid = one definition of "fits", no drift.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply added a commit that referenced this pull request Aug 31, 2026
…eleted

The fixed 'positron: state feed reconnecting … [object Event] — retry
#19' bar is gone. Three tiers now: orb color for humans (green breathing
live / amber pulse reconnecting / red closed), tinted favicon for the
tab at a glance, console for engineer detail; the data-feed-status
harness contract is unchanged. StateConnection names a WS error
honestly (the browser withholds the reason by spec). Plus
docs/design/CONTINUON-THE-HAND.md — Joel's brief, verbatim: the
HAL-9000 centered heritage and the HAND (tutorial-style sweeps when a
citizen screenshots/clicks through positronic control).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Sep 27, 2026
…rain cancel, parse_special, and the init file removed once loaded)

Cormac's condition on this PR: at 66035e261 every /train run left <out>.init.gguf in
engine-train, which the eviction rule (only <uuid>.gguf) does not name. #19 removes it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply added a commit that referenced this pull request Sep 27, 2026
…rain cancel, parse_special, and the init file removed once loaded)

Cormac's condition on this PR: at 66035e261 every /train run left <out>.init.gguf in
engine-train, which the eviction rule (only <uuid>.gguf) does not name. #19 removes it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
joelteply added a commit that referenced this pull request Sep 27, 2026
… the engine's /train writes into; pin ca001c551 (fork #19) (#4438)

* feat(serving): every lane launches with --train-dir, the governed dir the engine's /train writes adapters into

The pinned fork (66035e261) serves POST /train: LoRA-only training on the weights the lane
already holds, in a second context beside the slots, yielding between batches while any slot
is busy. The route is refused unless the lane passes --train-dir, and it writes only bare
.gguf names inside that directory. This turns it on, pointed at one governed directory.

- lane_args: LaneOptions.train_dir -> one `--train-dir <dir>` pair; None = no flag.
- llama_server: engine_train_dir() = ~/.continuum/cache/engine-train (None without a home,
  never a temp dir); created at launch; a failure to create it turns /train off on that
  launch with a warning, and the lane serves as it would have. The engine-install receipt
  requires it absolute, like the page dir.
- disk: tracked as `engine-train`, with its eviction decision (a finished adapter moves
  into its job dir; a file whose job is not live is dead and is deleted).

Nothing calls /train yet; the engine trainer behind FineTuningAdapter is the next change.
Tests: train_dir_flag_is_present_only_when_given_and_carries_that_path;
every_cache_class_has_a_decided_eviction_story passes with the new class.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

* chore(llama): pin ca001c551 in this PR, the trunk with #19 (a real /train cancel, parse_special, and the init file removed once loaded)

Cormac's condition on this PR: at 66035e261 every /train run left <out>.init.gguf in
engine-train, which the eviction rule (only <uuid>.gguf) does not name. #19 removes it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants