Skip to content

General Review #269

Description

@EnRaiha

Context

AI Review Pipeline — 10-part NotebookLM snapshot via repomix + Gemini 3.8 Flash (extended thinking), reviewed against origin/main @ cc97b0885 (latest: 7205d9fd9).

Verified bugs (9) — each reproduced with a failing test on origin/main

ID Bug Evidence Severity
D1 Governor pressure depth compounds: 6× Critical → depth 1 (should settle 32) core_loop/pressure.rs:123 spsc_critical_ticks_do_not_collapse_to_one sev:3-medium
D2 MemoryGovernor::try_reserve UnknownEngine leaks global counter nodedb-mem/src/governor.rs early-return after global increment — try_reserve_unknown_engine_rolls_back_global leaks 1000 bytes sev:2-high
D6 KV secondary index rewrites on identical update engine/kv/index/set.rs:144 unconditional remove+insert — d6_identical_update_elides_index_writes → 2 writes (expect 0) sev:3-medium
S1 LIMIT -1 silently unbounded nodedb-sql/src/coerce.rs Option-based helper → Nones1_negative_limit_becomes_unbounded sev:3-medium
S2 ANALYZE users(id) absorbs (id) into collection name ddl_ast/parse/maintenance.rs:14s2_analyze_parenthesized_payload_absorbs_token sev:4-low
V3 Cost planner oversample 3 vs BBQ default 4 planner/cost.rs vs rerank/codecs/bbq.rs:88v3_oversample_constant_matches_bbq ratio 3 ≠ 4 sev:4-low
C1 TOML ${VAR} never expanded (literal /\${VAR}) config/server/config.rs from_filec1_unresolved_placeholder_fails_startup sev:3-medium
C2 Env cluster overlooked when [cluster] absent (NODEDB_NODE_ID dropped) config/server/env/cluster.rsc2_env_cluster_auto_initializes_section sev:3-medium
C3 Malformed numeric env warns + falls back config/server/env/numeric.rsc3_malformed_env_errors_instead_of_silent_default sev:4-low

PRs:

Recommendation

  • Kernel tiers (suggestion, not bugs): fused BBQ dequantize-distance with HAL — (a) avx512 512-bit, (b) AVX10 256-bit, (c) avx2 / neon / wasm simd128 — see DIGEST-PDF-20260904.md V1 2a/2b/2c.

PRs reference this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P2Scheduled, not urgentsev:3-mediumFeature wrong, but operational and a workaround existstype:choreBuild, CI, refactor, or maintenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions