Skip to content

Build(deps-dev): Bump @typescript-eslint/parser from 8.29.1 to 8.38.0 - #98

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-eslint/parser-8.38.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-eslint/parser-8.38.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 28, 2025

Copy link
Copy Markdown
Contributor

Bumps @typescript-eslint/parser from 8.29.1 to 8.38.0.

Release notes

Sourced from @​typescript-eslint/parser's releases.

v8.38.0

8.38.0 (2025-07-21)

🚀 Features

  • typescript-estree: forbid optional chain in TemplateTaggedLiteral (#11391)

🩹 Fixes

  • disallow extra properties in rule options (#11397)
  • eslint-plugin: [consistent-generic-constructors] resolve conflict with isolatedDeclarations if enabled in constructor option (#11351)
  • typescript-eslint: infer tsconfigRootDir with v8 API (#11412)
  • typescript-eslint: error on nested extends in tseslint.config() (#11361)
  • typescript-estree: ensure the token type of the property name is Identifier (#11329)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.37.0

8.37.0 (2025-07-14)

🚀 Features

  • typescript-estree: infer tsconfigRootDir from call stack (#11370)

🩹 Fixes

  • eslint-plugin: [unified-signatures] fix false positives for ignoreOverloadsWithDifferentJSDoc option (#11381)
  • type-utils: add missing 'types' dependency to 'type-utils' (#11383)
  • type-utils: handle namespaced exports in specifier matching (#11380)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.36.0

8.36.0 (2025-07-07)

... (truncated)

Changelog

Sourced from @​typescript-eslint/parser's changelog.

8.38.0 (2025-07-21)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.37.0 (2025-07-14)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.36.0 (2025-07-07)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.35.1 (2025-06-30)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.35.0 (2025-06-23)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.34.1 (2025-06-16)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.34.0 (2025-06-09)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.33.1 (2025-06-02)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

8.33.0 (2025-05-26)

... (truncated)

Commits
  • d11e79e chore(release): publish 8.38.0
  • 816be17 chore(release): publish 8.37.0
  • 84b7a2e chore(release): publish 8.36.0
  • e2ecca6 chore: fix issues introduced by updated nx configuration (#11230)
  • f9bd7d8 chore(release): publish 8.35.1
  • d19c9f3 chore(release): publish 8.35.0
  • ccd0791 chore(release): publish 8.34.1
  • 8915a47 chore(release): publish 8.34.0
  • 936f350 chore(release): publish 8.33.1
  • dca57b3 chore(release): publish 8.33.0
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot
dependabot Bot requested a review from joelteply July 28, 2025 23:39
@dependabot @github

dependabot Bot commented on behalf of github Jul 28, 2025

Copy link
Copy Markdown
Contributor Author

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 28, 2025
@dependabot @github

dependabot Bot commented on behalf of github Aug 5, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #100.

@dependabot dependabot Bot closed this Aug 5, 2025
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/typescript-eslint/parser-8.38.0 branch August 5, 2025 03:56
joelteply pushed a commit that referenced this pull request May 4, 2026
…s Carl install on no-GPU Linux

Vulkan + mesa llvmpipe ICD satisfies Joel's 'GPU integration is forbidden to fall back' rule. Binary exercises real Vulkan API loader; llvmpipe provides software ICD on no-GPU hosts. Smoke unblocked.

- docker-compose.yml: continuum-core uses continuum-core-vulkan image + Dockerfile
- install.sh: warn on Linux+noGPU when vulkaninfo missing or zero-devices
- workflow: pre-install mesa-vulkan-drivers + vulkan-tools on ubuntu-latest

b69f drives image build/push side (continuum-core-vulkan multi-arch + canary→latest).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
joelteply added a commit that referenced this pull request May 5, 2026
* fix(install): drop core variant, default to vulkan (Task #98) — closes Carl install on no-GPU Linux

Vulkan + mesa llvmpipe ICD satisfies Joel's 'GPU integration is forbidden to fall back' rule. Binary exercises real Vulkan API loader; llvmpipe provides software ICD on no-GPU hosts. Smoke unblocked.

- docker-compose.yml: continuum-core uses continuum-core-vulkan image + Dockerfile
- install.sh: warn on Linux+noGPU when vulkaninfo missing or zero-devices
- workflow: pre-install mesa-vulkan-drivers + vulkan-tools on ubuntu-latest

b69f drives image build/push side (continuum-core-vulkan multi-arch + canary→latest).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* test(slices): add Vulkan runtime-use + IPC-reports-gpu probes (Joel: 'good integration tests for vulkan layers')

The existing vulkan slice only proved (a) the loader enumerates a device
and (b) the binary statically links libvulkan. That's necessary but not
sufficient — a binary can pass both yet skip GPU enumeration at runtime
(broken feature flag) or panic silently before logging.

Two new probes close the loop:

- vulkan-runtime-used-by-core: poll docker logs for 30s for the
  GpuMemoryManager 'GPU detected: <name> — <N>MB VRAM' line. Proves
  the binary actually walked through the loader at runtime, not just
  in ldd.

- vulkan-ipc-reports-gpu: nc the unix socket and call gpu/stats over
  IPC. Verifies the runtime contract — manager initialized, claimed
  memory, and surfaces a non-zero total_vram_mb to clients. Skipped
  (not failed) when nc isn't in the runtime image — slice 3 still
  covers runtime-use via boot logs.

Slice tests now cover the full vulkan stack: linker (slice 2),
loader (slice 1), runtime detection (slice 3), runtime contract
(slice 4). Bevy/wgpu render + ggml-vulkan inference probes (deeper
layers 5+6) are follow-up work — heavier, need scaffold + model
download.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* fix(seed): make auto-seed a blocking startup milestone (was fire-and-forget)

Two bugs in docker-entrypoint.ts caught by Carl-install-smoke on this PR:

1. Auto-seed used `setTimeout(5000)` with NO synchronization → /health
   returned 200 before any room/persona existed. Smoke chat probe at +52s
   raced with seed and got "Room not found: general" silently.

2. Seed errors were swallowed to console.warn → installs landed in
   permanent unrecoverable state ("server up, no rooms") with no signal
   to Carl that the system is broken.

Fix: seed now BLOCKS before the "Server ready" log line. Seed failure
exits the process with code 1 (server cannot serve chat without seeded
rooms — better to crashloop than silently lie). Eliminates a class of
swallowed-error / silent-success bugs Joel called out in the global
"Never swallow errors" rule.

Also pins carl-install-smoke.yml CONTINUUM_IMAGE_TAG to PR-head SHORT_SHA
so smoke pulls the image built from THIS PR's source (matches the
structural-fix change in PR #1040). Without the pin, smoke would pull
:latest (mutable, last week's bits) and never see this fix.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* ci(smoke): pin CONTINUUM_IMAGE_TAG to :pr-N (not SHA) for multi-slice coord

SHA-pin in prior commit hit the multi-slice + multi-host coordination
problem: dev on Mac arm64 can push node/widgets/model-init at HEAD SHA
but vulkan/cuda need bigmama (linux/amd64). With SHA-pin, smoke tries
to pull every slice at the SHA — slices the dev couldn't push are
missing, docker compose pull hangs.

:pr-N is PR-scoped mutable: refreshed by push-image.sh on every dev
push, so always reflects this PR's latest source — but never collides
with another PR or canary. For slices unchanged by the PR (e.g. vulkan
when PR only touches install.sh), dev aliases :canary -> :pr-N via
docker buildx imagetools create (manifest copy, no rebuild).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* fix(chat/send): fall back to seeded human owner when senderId doesn't resolve

The CLI auto-injects a session-scoped UUID as params.userId. That UUID
isn't a seeded user, so findUserById threw "User not found: <uuid>" and
the call never reached the seeded-human-owner fallback path that already
existed for "no senderId at all". Net effect: every Carl-install-smoke
chat probe failed with the wrong error after the seed-blocking fix
landed (commit 160e5ba).

Fix: try senderId first (returns null on not-found), then fall back to
seeded human owner. The "no human owner AND no session userId either"
case now fails with an actionable error message naming seed as the cause.

Caught by carl-install-smoke on PR #1038 run 25331526438.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* fix(install): wait for seed to populate default room before declaring ready

widget-server /health only proves that container is up. node-server
runs auto-seed in docker-entrypoint.ts which creates the "general"
room + personas — but the WebSocket server is bound BEFORE seed runs,
so install.sh's "Continuum is running" + chat probe both raced ahead
of seed completion. Smoke caught it: chat/send returned "Room not
found: general" silently.

The earlier docker-entrypoint.ts blocking-seed fix delays the
"Server ready" log line but doesn't actually block command serving
(orchestrate binds the WebSocket port before my seed call). Real fix
is install.sh waiting for the seeded room to actually exist via jtag
data/list — fast, no new endpoint, deterministic.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* fix(seed): readiness-file + HEALTHCHECK gate so widget-server blocks on seed

Replaces my earlier "blocking seed in entrypoint" fix that didn't actually
block (orchestrate binds the WebSocket port BEFORE the entrypoint await).
New pattern:

- orchestrate('cli-command') runs seed INLINE as a milestone — not after
- on success, entrypoint writes /root/.continuum/run/node-server.ready
- Dockerfile HEALTHCHECK tests for that file + WebSocket port
- docker-compose: widget-server depends_on node-server: service_healthy
- install.sh waits for widget-server /health → cascades through node-server
  health → cascades through seed → cascades through orchestrate

Net: install.sh's "Continuum is running" now genuinely means seed is done.
Carl chat works on first attempt. Install.sh's separate jtag-wait gate
from prior commit becomes belt-and-suspenders (still useful if HEALTHCHECK
breaks).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* ci(smoke): capture per-container docker logs on failure

Existing artifact upload had install.log + page + chat — none of which
show why continuum-core / node-server didn't reply. The "no AI reply
within 300s" failure on PR #1038 had ZERO evidence of the actual
inference-path failure because the docker container logs were dropped
on smoke teardown.

Now: on failure, dump per-container logs (continuum-core, node-server,
model-init, widget-server, livekit-bridge) + compose ps state to
artifact. Next failure surfaces the actual root cause instead of just
the wrapper-script timeout.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* ci(smoke): capture docker logs INSIDE teardown before compose down

Workflow's if-failure docker-logs step fired AFTER smoke exit when
containers were already gone (smoke trap → docker compose down → my
step finds dead containers). Move the capture INSIDE smoke's teardown
so logs are dumped from live containers BEFORE compose down.

Without this the per-container log artifacts are empty even when the
workflow step runs.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* ci(smoke): headless screenshot of root page — Joel's question 'is the UI even loading'

curl gives the server-rendered HTML shell (866 bytes valid HTML — fine).
But the actual chat UI loads via JS — could be blank chat with no
personas / empty room / silent JS error and curl wouldn't catch it.

Add chromium-headless capture after the curl page-validate step (waits
8s for JS to render). Saves to /tmp/carl-smoke-*.page.png + uploaded
in the failure artifact alongside docker logs.

Non-fatal: if no chromium on PATH, just warns. ubuntu-latest GHA
runners have google-chrome-stable preinstalled so smoke captures it.
Local devs can install chromium for the same evidence.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* feat(models): single source of truth — src/shared/models.json + registry-driven model-init

Joel 2026-05-04: "all the models must download and run on GPU" + "we
MUST have this work from ONE source of truth" + "update the existing
seeded values so the personas PICK UP THE MODEL change and arent stuck
in the past".

This is the architectural fix for the fragmented model spec:
- install.sh had hardcoded PERSONA_MODEL strings
- download-voice-models.sh had hardcoded URLs
- src/system/shared/Constants.ts had LOCAL_MODELS const
- src/workers/continuum-core/.../model_registry.json was Rust-only
- personas.ts had per-persona modelId baked in

5 places, 5 sources of drift. Replaced by ONE file:

  src/shared/models.json
    - models{}: every model (chat / vision / embedding / STT / TTS / VAD)
      with kind, hf_repo, files[], size_gb, min_ram_gb, chat_template
    - tiers{}: mba/mid/full → default_chat (registry key)
    - symbolic_refs{}: 'local-default' (tier-resolved), 'vision-default',
      'gating' — what personas store in DB
    - personas{}: displayName → symbolic ref
    - auto_download{}: always[] + by_tier[] — what model-init pulls
    - chat_templates{}: moved from Rust-only registry

Added in this commit:
  src/shared/ModelRegistry.ts
    - load(), tierFromRamGB(), resolveModel(ref, tier),
      resolvePersonaModel(name, tier), downloadSetForTier(tier),
      allPersonaRefs(), symbolicRefForPersona(name).
    - Personas store SYMBOLIC refs in DB, not concrete IDs. Edit
      models.json → next inference call resolves to new model. No DB
      migration needed.

  src/scripts/download-models.sh
    - Walks registry via jq, downloads always[] + tier-set into /models.
    - Replaces hardcoded curl URLs in download-voice-models.sh.
    - Each model.files[] resolved to https://huggingface.co/<repo>/resolve/main/<file>.
    - candle-builtin format skipped (continuum-core loads in-process).

  docker/model-init.Dockerfile
    - Adds jq dependency.
    - Copies shared/models.json + scripts/download-models.sh.
    - CMD: download-models.sh + download-avatar-models.sh (avatars stay
      separate — distinct from ML models).
    - download-voice-models.sh COPY removed (superseded).

NEXT COMMITS in this PR series:
  - install.sh: delete docker-model-pull block, read tier+default from
    registry via jq. Drops DMR dependency.
  - personas.ts: use symbolic refs ('local-default' for Helper/Teacher/
    CodeReview/Local Assistant; 'vision-default' for Vision AI).
  - CandleAdapter: accept symbolic refs, resolve via registry at request
    time.
  - continuum-core: read src/shared/models.json (replace inference/
    model_registry.json with thin pointer to shared file).
  - Reconciler in seedDatabase(): on every startup, walk persona rows;
    if modelRef field missing or differs from registry, UPDATE.
    Idempotent — no-op when already current.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* feat(models): personas use symbolic refs; seed resolves via registry; constants not magic strings

Phase 2 of single-source-of-truth model registry (Phase 1: 2adc3d5).

src/shared/ModelRegistry.ts:
  - Add SYMBOLIC_REFS const enum (LOCAL_DEFAULT, VISION_DEFAULT, GATING) +
    TIERS const (MBA/MID/FULL). Joel rule 2026-05-04: "define constants
    not magic strings". Code uses these — never hardcode the bare strings.

src/scripts/seed/personas.ts:
  - PersonaConfig adds modelRef?: string field (symbolic ref into
    src/shared/models.json).
  - Helper / Teacher / CodeReview / Local Assistant: switch from
    `modelId: LOCAL_MODELS.DEFAULT` to `modelRef: SYMBOLIC_REFS.LOCAL_DEFAULT`.
  - Vision AI: `modelRef: SYMBOLIC_REFS.VISION_DEFAULT`.
  - Old modelId field kept as legacy/cached. CandleAdapter (next commit)
    will prefer modelRef and resolve via registry at request time.

src/server/seed-in-process.ts:
  - Resolves config.modelRef → concrete hf_repo via ModelRegistry at seed
    time. Stores resolved value in users.modelConfig.model so existing
    CandleAdapter unchanged. When src/shared/models.json edits the
    underlying model for a tier, every startup re-resolves and the
    refresh-on-mismatch path UPDATES the persona row. No DB migration
    script needed — seeded personas auto-update when registry changes.

install.sh:
  - Removed two `docker model pull` calls (DMR persona model + MLX vLLM
    variant). Both supersede by model-init container reading
    src/shared/models.json. Per Joel 2026-05-04: "all the models must
    download and run on GPU" — no DMR dependency. KV-cache cap and vLLM
    install blocks remain (still useful tuning when DMR present, no-op
    otherwise).

Remaining phases:
  - CandleAdapter: prefer modelRef, resolve at request time (eliminates
    every cached-modelId codepath once stable).
  - Rust continuum-core: read src/shared/models.json instead of the
    Rust-only inference/model_registry.json.
  - download-voice-models.sh: delete (superseded by download-models.sh).
  - LOCAL_MODELS const in Constants.ts: reduce to thin re-export of
    SYMBOLIC_REFS.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* feat(models): CandleAdapter resolves symbolic refs at request time

Phase 3 of the SSoT model registry work. CandleAdapter now accepts:
  - symbolic refs ('local-default', 'vision-default', 'gating')
  - registry keys ('qwen3.5-4b-code-forged')
  - legacy short names ('llama3.2:3b')
  - raw HF IDs

All resolved per-request through ModelRegistry.resolveModel(), so DB
rows storing symbolic refs auto-pick-up registry edits without
migration. Tier resolved once at construction from totalmem().

Also: build-with-loud-failure copies shared/models.json into dist/
so __dirname-relative reads resolve at runtime (tsc skips JSON).

Joel rule 2026-05-04: "we MUST have this work from ONE source of truth".

* feat(models): Rust reads same src/shared/models.json — one SSOT for both runtimes

Phase 4 of the model-registry SSOT collapse (Joel 2026-05-04: "we MUST have
this work from ONE source of truth").

continuum-core's inference/candle_adapter no longer ships its own embedded
model_registry.json. The same src/shared/models.json that TS, install.sh, and
download-models.sh consume is now embedded into the Rust binary at compile
time via include_str!. resolve_model_id() understands symbolic refs
('local-default' / 'vision-default' / 'gating') and resolves them via
tiers + symbolic_refs identical to ModelRegistry.ts. Tier auto-detected from
host RAM (Linux: /proc/meminfo, macOS: sysctl hw.memsize, fallback: mba).

Schema:
- ModelRegistryEntry renames repo→hf_repo and min_memory_gb→min_ram_gb to
  match the SSOT shape. Legacy field names accepted via #[serde(alias = ...)]
  so any out-of-tree consumer of the old embedded JSON keeps deserializing.
- New fields kind / files / size_gb / auto_load reflect the SSOT, all
  optional.
- Extra top-level keys (tiers / symbolic_refs / personas / auto_download /
  chat_templates) silently ignored by ModelRegistry's serde shape but
  consumed by the internal FullRegistry view used for symbolic resolution.

Compatibility:
- Added 'coder' and 'coder-bf16' entries to src/shared/models.json so live
  callers (LocalModelRouter via LOCAL_MODELS.CODING_AGENT) keep resolving.
- Removed dead 'smollm2' / 'llama3.2:3b' assertions from
  test_resolve_chat_template (callers were docs-only).
- Added test_resolve_model_id_symbolic_refs covering all three symbolic
  refs + direct registry-key lookup + raw HF passthrough.

Build:
- Deleted workers/continuum-core/src/inference/model_registry.json (dead).
- TS bindings regenerated: ModelRegistryEntry.ts now exports hf_repo,
  min_ram_gb, kind, files, size_gb, auto_load (no TS consumer references
  the old field names — verified via grep).
- cargo test --lib --features metal,accelerate inference::candle_adapter
  → 10/10 pass including the new resolution test.
- npm run build:ts clean.

Net: persona DB rows storing 'local-default' resolve through the same
JSON whether the request enters via TS CandleAdapter or Rust
candle_adapter — registry edits propagate everywhere on next inference
call without DB migration.

* ci(carl-install-smoke): fix workflow_dispatch tag resolution + add image_tag input

The bare interpolation `pr-${{ github.event.pull_request.number }}` resolved
to `pr-` (empty after dash) on workflow_dispatch, since there's no PR
context. install.sh then couldn't find the tag in the registry, fell
through to its 'will build locally' branch, and ran a full Rust compile
of continuum-core-vulkan on the no-GPU ubuntu-latest runner — which hit
the 25-min runner cap (observed in run 25400718464).

Resolution priority is now: PR# > input.image_tag > 'canary'. Manual
triggers from the workflow UI default to ':canary' (the cadence we
publish on) and accept an `image_tag` input override for testing
specific tags (':latest', ':pr-N', or sha-prefix).

Diagnosis + patch shape from continuum-8e97 on Windows after they hit
the regression while running (c) carl-install-smoke from this PR's tip
342075a. YAML-only change, no behavior shift for PR-triggered runs.

Co-Authored-By: continuum-8e97 <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

---------

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Co-authored-by: continuum-8e97 <[email protected]>
joelteply added a commit that referenced this pull request May 31, 2026
… airc transcript events (TDD, task #98)

Slice 10.6. Proves the RagSource trait composes against real-world
data sources beyond the in-process engram store. AircTranscriptReader
trait abstracts page_recent so unit tests don't need a running airc
daemon; implementation rides on airc_lib::Airc::page_recent directly
via orphan-rule-compliant impl in our crate.

persona/airc_source.rs (~480 lines, 10 tests, all green):

- AircTranscriptReader trait + AircRagSource (persona-bound, holds
  Arc<dyn AircTranscriptReader>, configurable fetch_limit)
- Recency-only ranking at slice 10.6 (1/(rank+1) score per event);
  salience-grade scoring against airc metadata is a future slice
- Text-only items at this fidelity — events with no body or non-
  text body are skipped (no clipping, no fabrication)
- Reader errors return empty delivery + tracing::warn; cognition
  stays up when airc subsystem is degraded
- Persona-scoped + cursor-scoped per the substrate's handle doctrine
- Continuation cursor opaque = {next_rank: N}; cross-persona /
  wrong-source cursors structurally refused

TDD: tests written first describing behavior with StubReader, real
impl made each pass. Tests cover: empty room, single text message,
non-text dropped, budget overflow → continuation, cross-persona ctx
refused, cross-persona cursor refused, wrong source_id cursor
refused, reader error returns empty with no panic, continuation
resumes from next rank, fetch_limit caps reader call.

Next: demo binary that exercises this against Joel's actual airc
daemon to show what a realistic RAG flow looks like with live
messages (per Joel: 'we should see a realistic rag for a given
context and plug into airc daemon').

Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request Jul 26, 2026
… from all three axes in one pass (#116)

The selection primitive the dream consolidation reads to close the being loop. A single
sweep over the unified experience stream (lived + eval + received) must select everything
worth learning from, whatever its origin — one detector, one pass.

AnySalience::all_axes() composes ErrorSalience (lived + eval failures) with ReceivedSalience
(taught lessons); salient iff ANY constituent fires, priority order (Error names the kind
over Received on a record that is both). Polymorphic and open — a later StruggleSalience /
SurpriseSalience joins the composite without touching any caller; the detector list IS the
extension point. Empty composite = never salient (honest degenerate case).

This is the afferent selection layer completed: gather the stream, run all_axes() once, get
the full teach set. The efferent tail (dream consolidation → curriculum → the existing
train→eval→page-in flywheel #98, gated on benchmark lift) is next — and it closes the loop:
a persona that measurably gets smarter from everything it does AND is told, benchmark-proven.

Test: any_salience_selects_the_whole_being_curriculum_in_one_pass — an eval failure (Error),
a received lesson (Received), a passed eval dropped, empty-composite degenerate. 6/6
cognition::experience green.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 7, 2026
#97), and GET /lora-adapters answers without waiting behind slots (#98) (#5818)

Fork integration line 444f386cf..46c664457, a fast-forward (submodule log shows only additions):
- #98 (d6e9b3982): GET /lora-adapters answers from the adapter set the main loop publishes, never a
  task queued behind decoding slots (it gave no answer in 60 s on the loaded IntelMac engine). #5817's
  adopting core reads an engine's genes through it, so a restart adopts the engine instead of
  relaunching it cold under load.
- #97 (46c664457): a prompt fill that fails (bad_alloc in a checkpoint copy) rolls the batch and the
  slot's prompt back, ending the Windows abort GGML_ASSERT(batch.slot_batched || batch.size() == 0);
  a checkpoint copy that cannot be allocated is refused, not a slot failure.

Evidence: #97 test_failed_fill 3/3 PASSED (not skipped) on the fork's ubuntu and windows CI; sanitizers
(the fork's self-hosted jobs cannot run) run by Fable on the M5: ASan, ASan+LSan, UBSan, TSan with
LLAMA_SERVER_TEST_FAULTS=ON, test_failed_fill 3/3 under each, full suite 373-374, no report in #97's
code (every report identical on 444f386cf; filed separately). #98: test_lora 4 pass on the IntelMac build,
mutation-proven. core/vendor/llama.cpp and core/vendor/LLAMA_CPP_PIN move together (vendor_pin).

Card 55f29813.


Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
joelteply added a commit that referenced this pull request Nov 7, 2026
…s own adapter report, and asks the binary before calling a gene change unsupported (card d9f2b63a) (#5817)

* An adopted engine keeps its genes: a restarted core reads the engine's own adapter report, and asks the binary before calling a gene change unsupported (card d9f2b63a)

IntelMac 2026-11-07, deploy of 417b65e: the core stopped at 08:10:03Z leaving engine pid 4189 up to
adopt (lane_registry.sweep LeftLive). At 08:10:25.190 serving.genome.in_place_unsupported from=0 to=7,
then serving.engine.condemned and a new engine at 08:10:40Z: every resident's KV went cold (15-min read
1 generation, 794 s). Two causes:

1. active_adapters() returned the in-memory set "we loaded", empty in a process that never launched the
   engine, so an adopting core read 4189's 3 adapters as 0 and saw a gene change. served_adapters is now
   typed Option: None until this process launches the engine or reads its report. The first read of an
   unread set asks the engine (GET /lora-adapters, made non-blocking by fork #98) and maps a launch path,
   or a name staged by gene_stage_name, back to the target's genes (genome_paths_of, sorted like
   adapter_paths). A malformed report is now an error, never an empty set (lora_catalog dropped its
   unwrap_or_default and its silent filter_map). The trait method takes the target for that mapping.
2. adopt_genome_in_place read engine_accepts_train_dir() before the support probe had answered (it
   answered train_dir=true 71 ms after the decision). ENGINE_TRAIN_DIR is now three states (unasked, no,
   yes); the in-place path asks the binary first (ensure_engine_support_asked) instead of reading
   "unasked" as "no". A launch still reads unasked as no. The probe and the launch share one
   receipt-or-binary command builder (engine_command_of).

Against an engine older than fork #98, a report that times out under load reads as unknown and relaunches,
exactly as before; the pin bump onto #97 + #98 follows separately, after the sanitizer receipts on #97.

Tests: continuum-engine llama_server:: 95 pass; continuum-serving --tests checks clean (IntelMac, -j 2).
New: a_fresh_process_reads_an_adopted_engines_genes_from_its_report (real active_adapters against an HTTP
fake: launch path + staged name read back, recorded once; a malformed report is an error, nothing
recorded) and an_adopted_engines_report_reads_back_as_the_genes_it_holds (the pure mapping). The late_ready
fake engine now serves /lora-adapters like the fork. Mutation: with the old empty read restored, the new
test fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* A train-dir answer is about the binary asked and no other; the never-read record is an error (Codex and Fable on #5817)

Codex: ensure_engine_support_asked returned on ANY process-global answer, bypassing the probe's
per-binary ANSWERED_BY key, so a promoted binary (or another endpoint's) inherited its predecessor's
answer; the fork pin bump that follows is exactly that case. The record is now (binary, answer):
train_dir_support(bin) answers only for the binary asked (pure answer_for), engine_accepts_train_dir
takes the binary (prepare passes its own), and the in-place path (engine_takes_train_dir) asks its own
binary first. Fable: the tri-state is a typed TrainDirSupport behind a mutex (no 0/1/2 codes), and
recording against a never-read served set is the loud "never read" error, not an empty set.

Tests: continuum-engine llama_server:: 96 pass; continuum-serving --tests check clean. New:
a_train_dir_answer_is_about_the_binary_asked_and_no_other. Mutation: an answer_for that ignores the
binary fails it. Fable's note (1), exact identity in the adapter report, is card 166be40b.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* One record of the support probe, per binary; a staged gene is named by its full path hash (Codex, Fable on #5817)

Codex (actual-owner RED, review_failed_other_binary_probe_preserves_the_first_binary_answer): two
single-slot records disagreed about one fact. A failed probe of binary B wrote B/No into the answer
slot while ANSWERED_BY still said A answered, so A skipped its probe and read B's "no". Fable: ONE
owner, a map keyed by the binary. ENGINE_PROBES: binary -> ProbeOutcome (Answered { train_dir } |
Unanswered) replaces both ANSWERED_BY and the answer slot; "was it asked" and "what did it say" are
one lookup; asking one binary never touches another's entry. One entry per installed engine binary.

The self_sized ratchet flagged gene_stage_name's literal ceilings (.take(120), .take(4)) in a touched
file, then the named sized constants that replaced them. Neither is a budget, and the honest fix
removes them: a staged gene is gene-<sha256 of its genome path, hex>.gguf, 74 bytes, always inside the
engine's 200-byte confine_out, the full hash its identity (no collision argument), and the same name on
every call, so the catalog maps back by recomputing it. It cannot fail, so it returns String and every
caller's "unstageable" branch is gone. One-time effect: a gene staged under the old name is retired and
reloaded once after deploy.

Tests: the binary-key test on the map API; a_failed_probe_of_another_binary_leaves_the_first_binarys_answer
runs the real probe (echo stand-ins): A yes, failed B, A asked again keeps yes and is not re-probed.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* test: reproduce capability record loss after another binary probe fails

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants