Skip to content

Add project roadmap and detailed documentation - #33

Merged
joelteply merged 4 commits into
mainfrom
feature/project-roadmap
Apr 9, 2025
Merged

joelteply merged 4 commits into
mainfrom
feature/project-roadmap

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

This PR adds comprehensive documentation for the Continuum project's vision and implementation strategy:

  • Project Roadmap: A detailed roadmap that outlines the development path from the current context-aware CLI (v0.1.0) to the full cognitive coordination layer (v1.0.0)
  • Implementation Specifications: Detailed technical specifications with code examples for implementing the roadmap features
  • Human-in-the-Loop Design: A design document for the configuration conflict resolution system
  • Under Construction Notice: Clear indicators in the README that the project is in early development

Key Additions

  1. : Structured development plan with milestones
  2. : Comprehensive technical specifications
  3. : Design for intelligent conflict resolution
  4. README updates with version information and under construction notice

This documentation serves as both a guide for users to understand the current state and future direction of Continuum, and as a technical reference for developers implementing the features.

🤖 Generated with Claude Code

joelteply and others added 4 commits April 9, 2025 09:04
- Add detailed design document for human-in-the-loop conflict resolution
- Update roadmap to include this key feature in Milestone 1 (v0.2.0)
- Document the interactive approach to resolving configuration conflicts
- Include UX goals, example prompts, and implementation path

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Create comprehensive technical specifications for implementing the roadmap
- Include code examples and architecture patterns for key components
- Document critical implementation details for each major feature
- Provide guidance on configuration layers, context detection, and AI coordination
- Include security considerations and integration points

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add version badge and under construction notice to README
- Add placeholder for under construction GIF in assets directory
- Add link to implementation specs in the roadmap
- Ensure version number is prominently displayed (v0.1.0)

Note: The actual under-construction GIF should replace the placeholder.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Update README to reference the correct under_construction.gif filename
- Remove placeholder GIF file

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Copilot AI review requested due to automatic review settings April 9, 2025 14:13
@github-actions

github-actions Bot commented Apr 9, 2025

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

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 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread README.md Resolved
@joelteply
joelteply merged commit dcb0a40 into main Apr 9, 2025
@joelteply
joelteply deleted the feature/project-roadmap branch April 9, 2025 14:15
joelteply added a commit that referenced this pull request Nov 30, 2025
Add project roadmap and detailed documentation
joelteply added a commit that referenced this pull request Jun 20, 2026
…g.env template (#1692)

Lean into the simplification: continuum reaches ALL models through unsloth
(local llama.cpp + cloud providers, via the provider keys configured inside
unsloth Studio). So continuum needs ONE credential, not a per-provider list.

config.env.example now leads with a MODEL GATEWAY — UNSLOTH section:
- UNSLOTH_API_KEY (the single credential continuum needs)
- UNSLOTH_BASE_URL (default http://127.0.0.1:8888/v1)
…and demotes the per-provider ANTHROPIC_API_KEY/OPENAI_API_KEY/etc. block to
"legacy / optional — prefer the unsloth gateway". New-user setup is "open
unsloth Studio, configure keys there, paste the one key here".

Both readers already auto-load *_API_KEY (Rust secrets.rs + the cached
config_env.rs owner). Mechanism slices tracked separately: install autowire
that opens Studio + captures the key via config_env::upsert (#33), the
UnslothInferenceAdapter gateway (#31), and the config.env single-owner
consolidation that deprecates the TS SecretManager write path (#34).

See memory unsloth-universal-model-gateway.

Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply added a commit that referenced this pull request Jun 20, 2026
…1693)

unsloth is a local OpenAI-compatible server (like docker-model-runner): it
serves local models (llama.cpp) AND fans out to cloud providers via the keys
the user configures in unsloth Studio. So continuum reaches every model
through ONE provider with ONE credential (UNSLOTH_API_KEY) — no new adapter,
just a catalog entry + registration on the existing OpenAICompatibleAdapter.

- model_registry/catalog.rs: add the `unsloth` provider (base_url
  http://127.0.0.1:8888/v1, auth Bearer, api_key_env UNSLOTH_API_KEY). Dynamic
  catalog — the live model list comes from /v1/models (empty model_prefixes,
  runtime discovery), exactly like the DMR precedent.
- modules/ai_provider.rs: register the unsloth adapter when UNSLOTH_API_KEY is
  configured (key-gated, same pattern as the cloud providers). Additive
  priority for now; making the gateway the *preferred* route is a separate
  routing-policy change.

Live-validated end-to-end against a running unsloth Studio (tests/
unsloth_gateway_live.rs, skip-if-not-configured/unreachable): builds the SAME
adapter the core builds, reads the key from ~/.continuum/config.env,
authenticates + fetches the live /v1/models catalog. Proves real key + real
bearer auth + real transport to the running gateway — the wiring unit tests
(which mock dispatch) can't cover.

  ✓ unsloth gateway live: provider_id=unsloth, /v1/models returned 0 model(s)
  (0 = no model loaded in Studio yet; init succeeding = auth + transport OK)

Part of the unsloth universal-model-gateway direction (#31). Follow-ups: make
it the preferred route + UNSLOTH_BASE_URL runtime override (#20), install
autowire (#33), close the genome loop (#32). See memory
unsloth-universal-model-gateway.

Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply added a commit that referenced this pull request Jun 20, 2026
…teps (#1694)

New-user automation for the unsloth universal model gateway: capture
UNSLOTH_API_KEY with as few manual steps as possible and persist it to
config.env. Shared helper in install-common.sh (both installers source it),
wired into the [8/9] unsloth step. NON-BLOCKING + NON-FATAL — no key just means
the gateway provider won't register; Continuum still runs with another
provider (solve-for-public-users), and headless/CI never blocks.

Capture ladder (most-automated first), each validated against /v1/models (200)
before persisting:
  1. UNSLOTH_API_KEY already in env or config.env (and still valid) → keep it.
  2. unsloth CLI auto-mint — `unsloth connect claude --no-launch` prints
     UNSLOTH_API_KEY=sk-... (unsloth mints + remembers it); we parse it.
     Works once a model is loaded in Studio.
  3. Interactive paste prompt (TTY only) — open Studio, user creates a key,
     enter + validate (Claude-Code-style, 3 tries). Skipped headless/CI.

Grounded in what unsloth actually exposes: no REST key-mint endpoint; auth.db
stores key HASHES not plaintext (can't read a key back); the CLI is the only
programmatic mint, and it needs a loaded model. So full zero-touch isn't
possible — this gets as close as the engine allows.

Live-validated: _unsloth_key_valid → 200 against the running /v1; the
already-configured path short-circuits correctly.

Remaining for #33: port the unsloth install + this key step into the PUBLIC
root install.sh (curl path) — it currently lives only in the tower installer.
config.env single-owner (#34): the installer is a legitimate bootstrap writer;
runtime owner stays Rust config_env.rs.

Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply added a commit that referenced this pull request Jun 21, 2026
…m the fat (#1709)

Hardens the UNSLOTH-INTEGRATION strategy to its endpoint (Joel 2026-06-21,
"lean on unsloth till we get fast, then our own adapters; phase out if we
feel like it"):

- unsloth = declared INSTALL DEPENDENCY; continuum = lean client carrying no
  ML of its own for the gateway path. One step (the key), then automatic.
- Trim order: (1) embeddings -> unsloth /v1/embeddings, DELETE ort/fastembed/
  libonnxruntime (shrinks binary, removes install step, deletes the startup
  ORT panic at its root); keep LexicalEmbedder fallback. (2) unsloth as install
  dependency (#33). (3) inference -> unsloth, retire local llama/ggml/Metal.
- Everything behind the AIProviderAdapter / EmbeddingProvider traits (both
  exist): unsloth = impl #1; our own Candle/llama adapter = impl #2 when we
  choose; phase-out = delete an impl. Reversible — local ML stays in git +
  the tree, re-plugs behind the trait, not thrown away.
- No-feature-loss audit + the foundry handoff (forge -> load into unsloth ->
  serve+share; genome market = continuum layer on top).

This is the headless-solid + lean-install push toward alpha — fixes the exact
failure mode that forced the redesign (too hard to install, not performant).

Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply added a commit that referenced this pull request Oct 5, 2026
joelteply added a commit that referenced this pull request Oct 5, 2026
… Metal+BLAS gate fixed (fork #32) (#4804)

* chore(engine): pin llama.cpp 49210a62 — training leases from serving (share + labelled-only outputs), Metal+BLAS gate fixed (fork #32)

The engine for cc4f33b7's retry on the 5090 and the first in-engine runs on
the Macs: a share of the lane's time instead of wait-for-idle (share_ppm,
sent by #4798), outputs only at the labelled positions (the training
context's memory is her assistant tokens, not the window; the server no
longer rescales the loss and gradients no longer scale with label density),
and host-backed backends budgeted from host RAM (the BLAS device reports 0,
which refused every training graph on a Metal+Accelerate build).

Reviewed at the exact head by BigMama (CUDA) and Cormac.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* chore(engine): pin llama.cpp c67f88660 — adds #33, the window duration distribution (max/p50/p95) in /train status, so the 5090 takes one deploy

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
joelteply added a commit that referenced this pull request Nov 14, 2026
…states are types, not sentinels or flags (card 8569b03d)

- #3 the prompt cache's availability reading is Option<u64>, matched; the monitor's 0 is read as
  "no reading" once, at the call into the decision.
- #11 window_grant::Turn { InFlight | Settled | Unsettled } replaces Demand's in_flight and settled
  bools (in flight and settled could both be set); the dyno world maps its Phase straight to it.
- #12 the wish lives only in the Measure (Wished { wish, target }, Held { need, wish, target },
  Declared is its own wish); LaneRequirement::wish and Excluded::NoWish are deleted, and the grant
  test returns Result instead of expecting "a wish is a demand".
- #13 plan_serving's smallest-candidate lookup returns None with `?`, no production expect.
- #31 prompt_floor_of takes and returns Tokens.
- #32 plan_serving::LaneFit { Fits(NonZeroU32) | Starved } names a starved host; the lane cap and the
  admission lane count read NonZero types, no `.max(1)` / `.unwrap_or(1)`.
- #33 Growth::of takes recorded Tokens (an unrecorded ring slot is filtered by Tokens::new at the
  reader) and reads its tail at a named P95 quantile.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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