Build(deps-dev): Bump @types/node from 22.14.0 to 24.1.0#96
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Build(deps-dev): Bump @types/node from 22.14.0 to 24.1.0#96dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.0 to 24.1.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.1.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
|
The |
Contributor
Author
|
Superseded by #99. |
joelteply
added a commit
that referenced
this pull request
May 31, 2026
… (task #96) Slice 11.5. The mechanic-shop replay side, symmetric to slice 11's capture side. The substrate can now record live turns and replay them through any RagSource consumer — closing the long-standing persona-record-replay-is-a-product-requirement memory for the RAG layer. persona/rag_replay.rs (~450 lines, 12 tests, all green): - **ReplayRagSource** implements `RagSource` trait by popping canned RagDelivery values from two FIFO queues (initial / continuation). Persona-bound at construction; source_id pass- through. Drop-in replacement for live sources in three use cases: (a) replay captured production turns against alternative models / scorers / budgets for debugging; (b) golden-trace regression tests; (c) deterministic test fixtures for the upcoming PromptAssembly slice. - **`ReplayRagSource::from_captures`** consumes a `Vec<RagCaptureEvent>` stream (filtered by source_id + persona_id), routes cursor-bearing SourceDelivered events into the continuation queue and cursor-less ones into the initial queue. Other-source / other-persona events are dropped on the floor (defense in depth). - **`ReplayRagSource::from_deliveries`** is the lower-level constructor for tests + callers that already have RagDelivery values without going through serde. Both constructors converge on the same internal state. - **`read_jsonl_captures(path)`** loads a JSONL trace file back into a Vec<RagCaptureEvent>. Missing file = empty Vec (not error — caller decides). Malformed lines are tracing::warn-logged and skipped (torn-write robustness; mechanic shop has to handle partial files gracefully). ### Doctrine alignment - substrate-is-a-good-citizen-on-the-host: exhausted replay returns an empty RagDelivery with `Placeholder` resolution rather than fabricating — telemetry-honest about queue exhaustion - persona-record-replay-is-a-product-requirement: capture + replay symmetry now exists for the RAG layer; LiveTurnReplayFixture pattern extended - organization-purity-as-we-migrate: clean symmetric decorator — RecordingRagSource records into a sink, ReplayRagSource reads from the same event stream, no special-case glue between them - RTOS-brain-no-region-on-hot-path: pop_front on a Mutex<VecDeque> is O(1); replay path doesn't add cognition latency ### Tests cargo test persona::rag_replay --features metal,accelerate exits 0, 12 tests: - replay_returns_canned_delivery_on_deliver - replay_exhausted_returns_empty_not_panic (honest exhaustion) - replay_cross_persona_ctx_returns_empty (defense in depth on replay side) - replay_serves_deliveries_in_capture_order (FIFO preserved) - replay_continuation_pops_from_continuation_queue - replay_continuation_refuses_wrong_persona_cursor (cursor scope enforced on replay; queue NOT consumed on refusal) - replay_continuation_refuses_wrong_source_id_cursor (queue NOT consumed) - capture_then_replay_via_in_memory_sink (full round-trip via InMemoryRagCaptureSink — record real deliveries, feed events to ReplayRagSource, assert content matches across the round-trip) - read_jsonl_returns_events_in_file_order (order preserved) - read_jsonl_missing_file_is_empty_not_error (graceful absence handling) - read_jsonl_skips_malformed_lines (torn-write resilience: mix of valid + invalid lines; valid events survive) - full_jsonl_roundtrip_capture_then_replay (capture to JSONL file, close, reopen, read events, construct ReplayRagSource, assert original content emerges through the full round-trip) ### What's next Slice 11.5 closes the round-trip. The mechanic-shop primitives (capture + replay) are complete; the next tools (golden-trace harness, airc rag-inspect CLI, semantic assertion DSL) layer on top of these foundations. - **Slice 10.5** — wire `EngramSource` + `RecordingRagSource` decoration through `PersonaCognition` so production traffic exercises the actual stack - **Slice 12** — PromptAssembly composes allocator + sources + final prompt string; emits TurnStart / TurnEnd around source calls so traces have full turn shapes - **Slice 12.5** — `airc rag-inspect <turn-id>` operator CLI; golden-trace harness with semantic assertion DSL References: persona-record-replay-is-a-product-requirement memory, docs/architecture/EVERY-MODEL-INCLUDED-VIA-L1-BUDGET.md (the inclusivity thesis these primitives make verifiable across models), the existing LiveTurnReplayFixture pattern. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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 @types/node from 22.14.0 to 24.1.0.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)