Repository navigation
Build(deps): Bump actions/checkout from 4 to 5 - #107
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
dependabot
Bot
deleted the
dependabot/github_actions/actions/checkout-5
branch
November 20, 2025 00:29
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…essions (task #107, slice A) The library layer of the inference handle pattern. Open a session against any AIProviderAdapter, get back a HandleRef, thread it through many generate() calls, close when done. Adapter-agnostic: works uniformly for HeuristicInferenceAdapter, AnthropicAdapter, OpenAICompatibleAdapter, future LlamaCppAdapter, future AircRemoteInferenceAdapter. Joel (2026-05-31): "Maybe you get a handle first then inference? Establish once? Keep loaded or it pages itself intelligently but still a handle. That way you've got a remote handle or a cloud handle. Etc. typically you call these things repeatedly in." Realizes [[inference-is-an-adapter-always-in-the-loop]] §"Inference handles": one canonical session shape across local / cloud / heuristic / remote — the substrate's answer to "model load is expensive, inference is cheap." Production paths (persona service cycle, RAG cycle, sentinel review) hold long-lived handles. ### Library shape - `OpenSessionRequest` — system_prompt, model override, LoRA active_adapters, persona_id scope - `InferenceSession` — adapter + session state + atomics for last_used_ms / generation_count (lock-free updates from generate through &session) - `InferenceHandleStore` — DashMap<Uuid, Arc<InferenceSession>>; multi-threaded generate calls don't serialize on the map - `SessionInspection` — read-only snapshot for [[observability-is-half-the-architecture]]: provider, model, persona, warm-state telemetry - `HandleStoreError` — typed errors (OwnerMismatch / TypeTagMismatch / HandleNotFound / PersonaScopeMismatch); consumers branch on the variant, no string parsing ### Doctrine touchpoints - HandleRef owner = "ai/inference", type_tag = "ai::InferenceSession" — matches the canonical example in cell_shapes.rs line 152 - Validates owner + type_tag before state-map lookup (HandleRef::expect_owned_by shape, per [[cell-processor-command-runtime]]) - Persona scope: session opened for persona A rejects generate requests with persona_id B (same defense-in-depth shape as AircRagSource's cross-persona ctx check) - Per-call request fields override session defaults — caller can vary sampling per turn while session-level system_prompt / LoRA / model stay sticky - Updates last_used_ms + generation_count BEFORE adapter call so observers see in-flight sessions even when generation fails ### Tests (16, all green) - open returns HandleRef with canonical owner + type_tag - multiple opens get distinct UUIDs - generate via valid handle routes to adapter - generate with mismatched owner / type_tag / unknown UUID → typed errors (no swallowing) - close releases; subsequent generate fails; double-close returns false the second time - generate updates last_used_ms + increments generation_count - session system_prompt applies when request omits it - per-request system_prompt overrides session default - persona-scoped session rejects mismatched persona request - persona-scoped session accepts matching persona request - unscoped session accepts any persona request - inspect reports provider / model / has_system_prompt / warm state - 16 concurrent open+generate+close tasks complete without deadlock or lost handles (DashMap concurrency guard) ### What's next (slice B) ServiceModule wrapper exposing `ai/inference/open`, `ai/inference/generate`, `ai/inference/close` as kernel commands. Tasks #100 (rag-inspect ServiceModule) and #104 (rag_inspect chains through inference) both become single-handle long-lived loops once that lands.
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…gs for handle-store commands (task #107, slice B) Exposes the InferenceHandleStore (slice A) as kernel commands under the canonical `ai/*` namespace: ai/inference/open → mints HandleRef tied to a provider ai/inference/generate → routes through the session's adapter ai/inference/close → releases the session ai/inference/inspect → observability snapshot Per Joel (2026-05-31): "Yeah the inference command doesn't do this. It's smart subsystems and daemons. Commands are dumb and short." And the strongest version yet: "So the commands absolutely cannot negotiate this." This module is intentionally the DUMB command layer. It parses the envelope, validates, calls the store, returns the result. NO scheduling, NO batching, NO LoRA paging, NO quantization decisions, NO base-model-sharing logic — that all lives in the future smart subsystems + daemons that sit BEHIND this command surface. ### Wiring InferenceHandleModule owns a local DashMap<provider_id, Arc<dyn AIProviderAdapter>> populated at wiring time via `register_adapter(provider_id, adapter)`. Deliberately decoupled from AdapterRegistry (which uses Box<dyn> + `&mut self` lifecycle methods); rather than refactor the registry's ownership model in this slice, the handle module is self-contained. A later refactor (#109 or after) consolidates if needed. ### Wire shape — canonical envelope pattern - `OpenParams { provider, model?, system_prompt?, active_adapters?, persona_id? }` - Handles ride on the envelope's top-level `handle` field, NOT in params (per substrate convention; matches data/query-next, etc.) - `GenerateParams { request: TextGenerationRequest }` + envelope handle - `CloseParams {}` / `InspectParams {}` carry no params; the envelope handle is the input - Responses flatten — `success` + result fields at the top level, envelope handle returned on open via `with_handle_ref` ### ts-rs bindings auto-generated `src/shared/generated/ai_inference/{Open,Generate,Close,Inspect}{Params,Result}.ts` — consumers `import type { OpenParams } from '@shared/generated/ai_inference/OpenParams'` and call `Commands.execute('ai/inference/open', params)`. No hand-written duplicate types across the Rust ↔ TS boundary. ### Tests (16, all green) - config reports canonical module name + `ai/inference/` prefix - open via command surface returns HandleRef with canonical owner + type_tag at the envelope's top-level handle field - open with unregistered provider returns typed "not registered" error listing what's available - generate via command surface routes to the adapter, response carries the heuristic-adapter's `[heuristic:...]` echo - generate without envelope handle returns loud error (no silent default-to-nil) - close via command surface releases; subsequent generate fails with handle-not-found - inspect via command surface returns the SessionInspection snapshot (provider, has_system_prompt, generation_count) - unknown command returns loud error naming the known commands - full open → generate × 2 → inspect → close round trip - 7 ts-rs export_bindings tests (auto-generated, one per type) ### Doctrine - [[commands-are-kernel-level-and-compose]] — pure command-envelope routing; no internal logic; composable with any other module - [[inference-is-an-adapter-always-in-the-loop]] — handle commands are THE canonical inference shape; one-shot `inference/llm/request` remains the legacy path until #106 namespace consolidation - [[inference-scarcity-economics]] §"commands are dumb" — this is the dumb command layer; smart bits land later as separate components without changing this surface - [[host-the-seemingly-impossible]] — by keeping commands stable + narrow, the daemons behind them can grow as smart as needed to meet the M5-multi-modal-multi-lane target
joelteply
added a commit
that referenced
this pull request
Jun 10, 2026
…ratchet (task #240 — fourth proof shape) (#1592) Fourth proof in the architecture-test matrix. Pins the "module compose-by-event" doctrine clause — substrate-internal modules compose via the event substrate (MessageBus subscribe/emit) or via pre-bound handles, not by imperative `CommandExecutor::execute_*` round-trips through the outer command interface inside the cognition hot path. ## What ships `core/continuum-core/tests/architecture_compose_by_event.rs` — two integration tests: 1. `cognition_command_executor_calls_ratchet` — scans every `.rs` file under `core/continuum-core/src/cognition/`, finds lines matching `.execute_json(`, `.execute_with_caller(`, `.execute_ts(`, `.execute_ts_json(`, asserts the count doesn't grow beyond the current grandfathered budget of **1**. NEW calls BLOCK; the existing one is tracked under #112-#114 (route persona response / should_respond / validate through inference handle). Bare `.execute(` is intentionally NOT in the forbidden list — it would generate false positives across futures, queues, and other APIs. If a typed `executor.execute(typed_args)` pattern appears inside cognition in a future refactor, extend the list. Test mods (`#[cfg(test)] mod ... { ... }`) are exempted via the same brace-depth parser as the singleton-ban test, with inline `#[cfg(test)] mod tests {` handling. Line comments (`//` lines) are skipped so doc comments quoting the very pattern being banned don't trip the scanner — this matters for cognition module top-of-file docs that reference `Commands.execute('cognition/...')` as the TS-side caller contract. 2. `command_executor_remains_the_outer_boundary` — positive pin: `runtime/command_executor.rs` exists, declares `pub struct CommandExecutor`, exposes `pub async fn execute_json`. If the type is renamed or `execute_json` moves, the test is loud, not silent — and the FORBIDDEN list in this test file needs updating to match. ## The 1 grandfathered violation `cognition/vision_describe.rs::describe_image_via_ai_generate` calls `executor.execute_json("ai/generate", ...)`. The clean fix is a pre-bound `InferenceHandle` (cf. tasks #107-#108), called directly the same way `airc_chat_demo` already does. Migration tracked under #112-#114 (the inference-command-routing campaign) and #106 (ai/* namespace consolidation). ## Why ratchet (not strict) Same reason as engine-OS layering and singleton-ban: the single existing violation needs a considered migration (which `InferenceHandle` to pre-bind, where to wire the lifecycle), not a sed sweep. NEW violations BLOCK at PR time; the ratchet count graduates to ✅ when #112-#114 land. ## Matrix update `PROVING-THE-DOCTRINE.md` row for "Module compose-by-event" flips from 🔴 (no proof) to 🟡 (ratchet active, target ✅ when count = 0). ## Test plan - [x] `cargo test -p continuum-core --test architecture_compose_by_event --features metal,accelerate` — 2/2 pass; grandfathered count = 1 (exact match) - [x] `// proves: module compose-by-event` tag applied - [x] Ratchet logic verified (both grow-detection and shrink-detection paths via inspection) - [x] Line-comment skip verified — the two pre-existing `Commands.execute(...)` doc references in `vision_describe.rs` and `rate_proposals/mod.rs` do NOT trip the scanner ## Doctrine alignment - Substrate doctrine § "Module compose-by-event" — cognition composes via event substrate or pre-bound handles, not imperative request-response round-trips - [[no-fallbacks-ever]] — the ratchet IS the no-fallback equivalent for the cognition→command-executor coupling at build-graph layer ## Related - Task #240 — architecture-test matrix, fourth proof - Builds on PR #1589 (ratchet pattern) and PR #1591 (singleton ban — same scanner shape) - Migration follow-up: tasks #112-#114 (#113 is currently in_progress) → ratchet count goes 1 → 0 → strict Co-authored-by: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Nov 11, 2026
…-buffer engines are not refused 'uncovered' (#5922) The engine's training workspace is engine-wide and its custody passes from one reference to the next: claim_plan refuses ('uncovered') a replacement that does not cover every row the previous reference was registered with. genome/learner/memory.rs replaced the workspace with the new example's rows alone. That works on a single-buffer CPU engine, where a replacement only happens when the new need is larger, but on an engine with GPU and host rows a longer example can need more on one buffer and less, or nothing, on another, and her learn is refused. Found on the fork fixture (fork #107, CPU, -np 2): A registered a 7,026,688-byte workspace, the reloaded B's short reply needed 2,573,344, and B's replacement was refused every time until the fixture covered the previous registration. widened(held, required): the old rows plus the new need, each buffer at the larger. Used when the held workspace does not cover the example; the first workspace is still the example's own rows. Test: a_replacement_workspace_covers_the_one_it_replaces_and_the_new_need (GPU more, host less, a buffer only the old one held). Mutation: widening from nothing fails 'the replacement covers every old row'. continuum-genome --features metal, IntelMac. Touched-file ratchets pass. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps actions/checkout from 4 to 5.
Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
08c6903Prepare v5.0.0 release (#2238)9f26565Update actions checkout to use node 24 (#2226)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)