Skip to content

Build(deps): Bump inquirer from 8.2.6 to 12.9.4 - #114

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.9.4
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.9.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2025

Copy link
Copy Markdown
Contributor

Bumps inquirer from 8.2.6 to 12.9.4.

Release notes

Sourced from inquirer's releases.

[email protected]

  • fix: Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature.

[email protected]

  • Fix Unix yes not properly being processed by the confirm prompt. (yes | node confirm-script.js)

[email protected]

  • Make @types/node an optional peer dependency.

[email protected]

  • Replace external-editor dependency with new @inquirer/external-editor. This remove the vulnerable tmp transitive dependency from the dependency tree.

[email protected]

  • Search prompt: New instructions config to allow localizing the help tips.

[email protected]

  • Fix #1786 select prompt with indexMode: number theme option didn't properly calculate the items indexes if separators where present in between choices.

[email protected]

  • Fixes: a transitive dependency (run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #1791

[email protected]

  • Select prompt: When pressing a number key, we'll ignore separators in counting the index of the item to jump to.
  • Checkbox prompt: When pressing a number key, we'll ignore separators in counting the index of the item to select.

[email protected]

-input prompt: New prefill option to control if the default value is editable inline or only after pressing tab.

[email protected]

  • Fix #1743: pagination logic of the select, checkbox and search prompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.

[email protected]

  • Chore: dependencies bump

[email protected]

  • Fix #1741: Issue with SIGINT in some scenarios leaving promises unsettled on exit.
  • Fix: Remove monorepo related dependencies from all artifacts published to npm. This removes non-standard version specifiers like workspace:* from the public npm packages.

[email protected]

  • Feat(@​inquirer/select): Added an instructions option allowing to customize the messages in the help tips.
  • Feat(@​inquirer/rawlist): Arrow keys will now cycle through the option, just like the @inquirer/select prompt. Also added a loop option to control the list loop behaviour when reaching the boundaries.

[email protected]

  • README: Add new sponsor
  • Chore: dependency updates

[email protected]

  • Feat (select): Introduce theme.indexMode to control displaying an index prefix in front of each choice. (defaults to hidden)
  • Fix (select): Improve search when number keys are pressed

... (truncated)

Commits
  • fdc9201 Publish
  • 3deee5c fix(@​inquirer/core): Remove vim/emacs easter eggs conflicting with type-to-se...
  • df341a8 Publish
  • 2d8ddcc fix(@​inquirer/confirm): Fix when using with unix yes command. (#1815)
  • f5c39a8 chore: Document known issue with setRawMode(true). Closes #1721
  • daf4d6f Publish
  • b4992d3 fix: lockfile regenerated
  • 7ddf02b chore (@​inquirer/external-editor): Add keyword to help search
  • 82df7a2 fix (@​inquirer/external-editor): Make @​types/node an optional peer dependency
  • 28c2f20 chore (@​inquirer/external-editor): Add note to README about being a replacement
  • 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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 26, 2025
@dependabot
dependabot Bot requested a review from joelteply August 26, 2025 15:37
@dependabot @github

dependabot Bot commented on behalf of github Sep 15, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #123.

@dependabot dependabot Bot closed this Sep 15, 2025
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/inquirer-12.9.4 branch September 15, 2025 21:22
joelteply added a commit that referenced this pull request Jun 2, 2026
Enumerates every direct adapter.generate_text call site in the
tree as of 2026-05-31. 19 hits total; classified as:

- 4 canonical paths (the command + handle store implementations
  themselves; can%27t go through themselves)
- 6 confirmed bypasses (cognition / persona / agent / http) — should
  route through InferenceHandleStore / Commands.execute
- 1 debatable (rag_inspect probe — acceptable as a one-shot)
- 8 test-only call sites (allowed; testing the adapter contract)

The 6 bypasses split into 3 priority tiers and become tasks #112
(persona response — highest, the hot path), #113 (cognition gating
+ validation — medium), and #114 (agent + http — lower).

The audit doc explains the boundary (when adapter.generate_text
is canonical vs bypass), provides the grep command for re-running
the audit before merging new inference-using code, and documents
when to update the doc.
joelteply added a commit that referenced this pull request Jun 2, 2026
…trict opt-in (#128)

## Why

Joel (2026-06-01) called out a recurring failure mode: "You mix this
fake shit in and it's going live ALL THE TIME. Why fallbacks are
forbidden. The fake shit is a CHOSEN model adapter no other form.
Declaration. Gating in test is smart."

The HeuristicInferenceAdapter was registered unconditionally at boot
in `modules::ai_provider`, and its `supports_model()` returned `true`
for any model name including production IDs like
`anthropic/claude-opus-4-7`. Two structural leaks: auto-discovery
could pick it via tier-3 walk in `AdapterRegistry::select()` when
callers passed `model: None`; explicit-by-name lookups for real
production models silently degraded to it when no real adapter was
registered first. Both paths "go live ALL THE TIME."

This commit closes the leaks structurally — not via runtime guards
that can be forgotten, but via the compiler.

## What ships

### 1. Compile-time elimination (the no-going-back gate)

- `Cargo.toml`: new `test-fixtures` feature flag. Production builds
  do not enable it.
- `src/ai/mod.rs`: `pub mod heuristic_adapter` and re-exports gated
  behind `#[cfg(any(test, feature = "test-fixtures"))]`. Without the
  feature, the entire module + struct + constants don't exist in the
  binary. Unit tests in continuum-core get it free via `cfg(test)`;
  external test code / fixtures opts in via the feature.
- `Cargo.toml`: `airc_chat_demo` bin target now declares
  `required-features = ["test-fixtures"]` — it uses heuristic and
  must opt in like any other test-fixture consumer.

### 2. Removal of unconditional production registration

- `src/modules/ai_provider.rs`: deleted the unconditional
  `registry.register(HeuristicInferenceAdapter::new(), 99)` block.
  The comment about "lowest priority so never auto-selects" was
  wrong; nothing prevented `select()` with `model: None` from
  landing there. Tests that legitimately want heuristic register it
  explicitly in setup (no global default registration).

### 3. Trait-level self-declaration (belt-and-suspenders)

- `src/ai/adapter.rs`: new `fn is_production_capable(&self) -> bool`
  on `AIProviderAdapter` (default `true`). Real adapters keep the
  default; heuristic returns `false`.
- `src/ai/adapter.rs`: new `AdapterSelectionError` type with `Display`
  impl that names what was requested, what's registered, and what
  remediation looks like. Designed for downstream `select_production`
  callers in follow-up slices.
- `src/ai/adapter.rs`: `AdapterRegistry::select()` now refuses calls
  with no `preferred_provider` AND no `model` — the textbook
  auto-discovery path forbidden by [[no-fallbacks-ever]]. Hard return
  None with a diagnostic. Callers must specify intent.

### 4. Heuristic strict opt-in

- `src/ai/heuristic_adapter.rs`: `supports_model()` overridden to
  match ONLY model names starting with "heuristic" (case-insensitive).
  Previously returned `true` unconditionally — THE leak path. The
  test asserting that behavior (renamed:
  `supports_only_heuristic_model_names_never_substitutes_for_real_models`)
  now pins the opposite: production model names like
  `anthropic/claude-opus-4-7`, `gpt-4`,
  `qwen3.5-4b-code-forged-Q4_K_M` MUST NOT match.
- `supported_model_prefixes()` declares `vec!["heuristic"]` (was
  empty + comment claimed "opt-in only" but the empty list combined
  with always-true `supports_model` meant anything went). The two
  methods now agree and the registry's prefix-based auto-routing
  cannot pick heuristic for any real model name.

## Layered defense

Heuristic adapter cannot reach production traffic via FOUR independent barriers:
1. cfg-gate: not in the binary unless `test-fixtures` is on
2. No auto-registration: even with the feature, nothing in production code registers it
3. Trait self-declaration: `is_production_capable() = false` for `select_production` (follow-up #128 slice 2)
4. Strict model match: even at test time, only "heuristic-*" model names route here

Joel: "No fallbacks ever it's forbidden." Now structural, not policy.

## Tests (47 passing, no regression)

- `ai::heuristic_adapter::tests` — 10/10 pass with `test-fixtures`
  including the rewritten
  `supports_only_heuristic_model_names_never_substitutes_for_real_models`.
- `ai::adapter::tests` — pass
- `modules::generator::tests` — 8/8 pass (regression check)
- `persona::hw_tier_descriptor::tests` — 11/11 pass (regression check)
- `persona::orm_entity_registration_tests` — 2/2 pass (regression check)
- `orm::entity::tests` — 10/10 pass (regression check)
- Full lib test sweep with `test-fixtures` green (regression sweep)
- Production build (`cargo build --lib --features metal,accelerate`)
  with NO test-fixtures: clean, heuristic adapter physically absent
  from the binary

## Follow-up (deferred)

- Wire qwen3.5-4b-code-forged-Q4_K_M (the local GGUF on this Intel
  MacBookPro15,1) through the persona path so we have a REAL model
  running. The chat-flawless work continues on top of this clean
  base.
- `select_production()` method that wraps `select()` and additionally
  filters `is_production_capable()`. Will land when the first
  production cognition call site is migrated to use it.
- Audit existing `select()` callers — anyone passing `model: None`
  is now broken loud; either give them a real model or refactor.

References: [[no-fallbacks-ever]], [[no-if-statements-use-llms-for-
cognition]], [[persona-chat-flawless-before-video]],
[[persona-webrtc-all-tiers-latency-obsessed]], #103 (heuristic
promotion that this constrains), #105 (bypass audit), #112-#114
(routing the cognition path through inference command — chat-flawless
slices C+).

Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request Jun 9, 2026
… (#1587)

* cleanup(ts): delete dead TS cloud-inference adapter classes (task #229)

Per headless-Rust doctrine + the no-fallbacks campaign (#1585): the
TS-side cloud-inference adapter classes are dead infrastructure now
that:

- continuum-core's `model_registry/catalog.rs` enumerates all 9 cloud
  providers (anthropic, openai, groq, deepseek, together, mistral,
  fireworks, google/gemini, xai) as Rust catalog rows
- ai_provider.rs Rust module owns cloud inference dispatch via
  `LateBound<CommandExecutor>` + the inference handle store
- The inference routing campaign (#112/#113/#114) is finishing the
  cognition-side migration so every persona turn routes through the
  inference command, not the TS daemon

This commit removes the now-unreachable TS surface:

Deleted (8 cloud-inference adapter classes):
- anthropic/shared/AnthropicAdapter.ts
- deepseek/shared/DeepSeekAdapter.ts
- fireworks/shared/FireworksAdapter.ts
- google/shared/GoogleAdapter.ts
- groq/shared/GroqAdapter.ts
- openai/shared/OpenAIAdapter.ts
- together/shared/TogetherAIAdapter.ts
- xai/shared/XAIAdapter.ts

(Mistral had no inference adapter in TS — only fine-tuning. Fine-tuning
adapters across all providers remain in place; their deletion follows
the TS persona-chain collapse, separate card.)

Deleted (stale planning docs that referenced the now-dead architecture):
- adapters/CONSOLIDATION-PLAN.md
- adapters/MULTI-MODAL-ARCHITECTURE.md

Edited (AIProviderDaemonServer.ts):
- Removed the 8 cloud-adapter import + register_adapter calls
- Removed Candle/Sentinel orchestration scaffolding that was only
  needed because of the cloud adapters
- Kept only the Sentinel adapter registration path
  (separate provider, its own migration card pending)
- Added doctrine pointers: SUBSTRATE-DOCTRINE-ORGANIC-FLOW.md
  forbidden moves clause 7 + CANARY-ALPHA-EXECUTION-ROADMAP.md
  Group A

Out-of-scope (deliberate — follow-up cards):
- BaseConfig files per provider (fine-tuning adapters still depend
  on them)
- FineTuning adapter classes (TS persona chain still calls them via
  FineTuningAdapterFactory; deletion follows the TS persona-chain
  collapse)
- candle/ and candle-grpc/ adapter dirs (entangled with
  PersonaUser, AIProviderDaemon; deletion is its own scoped PR)
- SentinelAdapter + BaseAIProviderAdapter (sentinel is a separate
  provider migration card)
- AIProviderDaemon itself (still needed until the full TS persona
  chain dies; this PR just removes its dead registrations)

Verified:
- `npx tsc --noEmit` produces zero errors from this change (the only
  errors are pre-existing rootDir issues on generated TS bindings)
- `cargo check -p continuum-core --lib --features metal,accelerate`
  clean

Doctrine alignment:
- [[rust-is-the-core-node-is-the-shell]] — TS no longer owns cloud
  inference registration
- [[no-fallbacks-ever]] — the TS bridge for cloud inference is one
  step closer to deletion
- [[headless-rust-must-work-soon]] — headless boot needs zero of
  these adapters; their presence was vestigial

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* cleanup(ts): delete broken tests + empty adapter dirs (review fix for #1587)

Adversarial reviewer BLOCK on PR #1587: three tsx-script test files
imported the deleted cloud-inference adapter classes and would fail
at runtime when a developer ran them by hand. They were excluded
from tsc (tsconfig exclude) so the build check missed them.

Per CLAUDE.md test-fixtures STOP block + "Tests must justify
themselves": dead tests that test deleted code go away with the
code. Leaving them as broken-on-execute landmines violates the
no-fallbacks campaign that motivated #1587 in the first place.

Deleted:
- src/tests/integration/ai-cost-tracking.test.ts (imported OpenAIAdapter)
- src/tests/integration/quick-provider-test.ts (dyn-imported 6 deleted adapters)
- src/tests/integration/test-provider-diagnostics.ts (same 6)

Also cleaned (cosmetic nit from review):
- Empty adapters/groq/ dir (no FineTuning, no inference)
- Empty adapters/xai/ dir (no FineTuning, no inference)

Reviewer nits not addressed in this commit (would-be-nice but
non-blocking):
- Stale BaseConfig docstrings referencing deleted classes (4 files)
- Promise.allSettled single-element redundancy
- discoverModelsViaRust becoming dead-on-the-TS-side

These are TS persona-chain hygiene targets, follow with #143/#215
when the broader chain collapse lands.

Co-Authored-By: Claude Opus 4.7 <[email protected]>

---------

Co-authored-by: Claude Opus 4.7 <[email protected]>
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]>
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 size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants