Files
ruflo/docs/dream-cycle/LEDGER.md
T
rUvandClaude 26a02caa1c dream(memory): fix CacheManager.clear() previousSize always 0 (evaluated) (#5174)
* dream(memory): fix CacheManager.clear() previousSize always reporting 0

clear() called Map.clear() before reading this.cache.size for the
cache:cleared event payload, so previousSize was always 0 regardless of
how many entries existed. Capture the size before clearing instead.

Disclosed in the dream-cycle ledger 4 times (2026-10-27, 11-02, 11-16,
reconfirmed 11-28) without being fixed; cross-confirmed tonight by two
independent research roles (deep researcher + architecture reviewer),
scored highest (4.15) of 5 scored memory candidates. 3 new tests added
(1 discriminating, 2 controls); full @claude-flow/memory suite
748/749 -> 751/752 (+3, 0 regressions, same 1 pre-existing environmental
chmod-as-root failure both ways); tsc --noEmit clean both ways.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): #5173 ledger update + final witness stamp

Ledger row for tonight's CacheManager.clear() previousSize fix, plus
a backfill note confirming 2026-11-27 (#5143/#5144) ran and correctly
REJECTed its candidate. Gist updated with the final adversarial-critic
verdict and witness stamp.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): record PR #5174 in ledger row

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): #5173 bump @claude-flow/memory to 3.4.2 for the clear() fix

The CI leaf-package-publish audit (scripts/audit-leaf-package-publish.mjs)
correctly flagged that cache-manager.ts changed without a version bump:
@claude-flow/memory is a non-bundled leaf that resolves from the npm
registry at release time, so an unbumped version means the fix would
ship nowhere. Bumped as a PATCH (bug fix, no API/schema change) and
updated @claude-flow/cli's two exact pins to match, per CLAUDE.md's
"Publishing Rules" (lockstep pin discipline, #3390/#3327 Finding A
precedent). Does not publish the package — that stays a separate,
human-gated release action.

Verified locally: audit-leaf-package-publish.mjs and
audit-umbrella-version-lockstep.mjs both pass; @claude-flow/memory
suite still 751/752 (same 1 pre-existing environmental failure).

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

* dream(memory): #5173 sync pnpm-lock.yaml for the 3.4.2 bump

pnpm install --frozen-lockfile (the Windows plugin-hooks-smoke CI job)
failed because v3/pnpm-lock.yaml still recorded @claude-flow/memory's
old specifier (3.4.1) after the package.json bump. @claude-flow/memory
is a workspace link: dependency, so no registry resolution changes are
needed -- a plain `pnpm install` would have pulled in several unrelated
upstream bumps (ruvector, codex, various @ruvector/* packages), which
is out of scope for this fix, so the lockfile specifier was edited
directly instead. Verified `pnpm install --frozen-lockfile` now
succeeds with only this one line changed.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-28 16:59:25 -05:00

153 KiB
Raw Blame History

Dream Cycle Ledger

Durable cross-night memory for the Ruflo Nightly Dream Cycle routine (trig_01HpEqAcEP7wzrxy3TzakrQ2, .github-external, runs 06:00 UTC daily). Read at the start of every run (STEP 1 of the v2 prompt) before the agent touches gh at all — a fresh cloud checkout otherwise has zero memory of prior nights beyond a gh issue list grep.

Why this file exists: the v1 routine (2026-05-25 through 2026-08-13) filed 80 nightly research issues with no durable follow-through signal — each night only checked whether it was repeating itself, never whether anyone had acted on what it proposed. Backfilled from the full issue history below: 4 shipped (5%), 1 rejected, 75 (94%) never touched, some over 2.5 months stale. The v2 prompt uses this table to bias toward attempting a real Flywheel evaluation (STEP 3.5) over another docs-only proposal when the merge rate over the trailing 14 nights is 0.

Backfill (one-time, computed 2026-08-13T14:xx UTC from gh issue list)

PR, Evaluated?, and Verdict are placeholders for this backfill batch — those columns didn't exist before v2 and weren't tracked live. Fate for these rows reflects issue state only (MERGED = issue closed as completed, CLOSED = closed not-planned/duplicate, STALE = open >14 days as of the backfill date, OPEN = open ≤14 days). From v2 onward, each row is written live by STEP 9 of the same night it was researched, and Fate in the last column of a LATER row reflects what STEP 1 found when it re-checked EARLIER rows — not a static snapshot.

Date Deep Finding (one line) Issue PR Evaluated? Verdict Prior-night fates recorded this run
2026-05-26 security Indirect prompt injection critical gap vs OWASP ASI01 + inte #2149 - backfill n/a STALE
2026-05-27 intelligence SR²AM 8B=120–355B via simulative planning — 95% token gap + #2156 - backfill n/a STALE
2026-05-29 swarm SWARM+ hierarchical PBFT 97-98% latency gain at 1K agents + #2223 - backfill n/a STALE
2026-05-30 performance MV-HNSW 14× gap + LAMaS 38-46% latency + security,hive-mind #2241 - backfill n/a STALE
2026-05-31 security MCP auth gap (40.55% no-auth) + AIRGuard −85% + authorizatio #2248 - backfill n/a STALE
2026-06-01 security SCH plugin supply-chain 77.67% breach + 0% detection; ADR-14 #2254 - backfill n/a STALE
2026-06-02 intelligence SONA behavioral drift undetected — embedding-space trait aud #2265 - backfill n/a STALE
2026-06-03 memory VikingMem +30% temporal compression gap in AgentDB + plugins #2277 - backfill n/a STALE
2026-06-04 swarm AdaptOrch +22.9% topology gain gap — Ruflo fixed-hierarchica #2289 - backfill n/a STALE
2026-06-05 performance LAMaS 38-46% critical-path gap — Ruflo fixed-hierarchical mi #2294 - backfill n/a STALE
2026-06-06 security memory write poisoning (9 vulns, 4 channels) leaves AgentDB #2303 - backfill n/a STALE
2026-06-07 intelligence RHO self-supervised harness optimization +19pp SWE-Bench Pro #2309 - backfill n/a STALE
2026-06-08 memory multi-signal retrieval gap vs Mem0 SOTA (94.4% LongMemEval) #2316 - backfill n/a STALE
2026-06-08 meta ADR-147 collision across 6 open PRs + 0 merges in 14 nights #2324 - backfill n/a STALE
2026-06-09 swarm RL orchestration 5-decision gap (no stopping-RL in any frame #2332 - backfill n/a STALE
2026-06-10 performance DeLM shared-context +10.5pp SWE-bench gap (−50% cost) + secu #2343 - backfill n/a STALE
2026-06-11 security runtime governance gap — Microsoft AGT forecloses 7 ASI risk #2353 - backfill n/a STALE
2026-06-12 intelligence Agents-K1 KG gap — flat HNSW ReasoningBank cannot multi-hop; #2362 - backfill n/a STALE
2026-06-13 memory AgentDB lacks temporal decay — flat HNSW causes semantic dri #2367 - backfill n/a STALE
2026-06-14 swarm Shapley credit routing gap (+23.66% vs SHARP SOTA) + ruview- #2378 - backfill n/a STALE
2026-06-15 performance Arbor tree-search +193% throughput gap + security,hive-mind #2381 - backfill n/a STALE
2026-06-16 security MCP threat coverage gap 34% vs 91% MCPSHIELD + intelligence, #2393 - backfill n/a STALE
2026-06-17 intelligence benchmark contamination +5-15pp gap + RetailBench long-horiz #2401 - backfill n/a STALE
2026-06-18 memory bi-temporal HNSW gap +10.4pp LongMemEval_S (Engram) + OPD-Ev #2410 - backfill n/a STALE
2026-06-19 swarm AdaptOrch +22.9% SWE-bench via adaptive topology — hierarchi #2419 - backfill n/a STALE
2026-06-20 performance Ruflo missing task-completion benchmark vs LangGraph 62% — M #2427 - backfill n/a STALE
2026-06-21 security 83.9% of sandbox harms pass semantic checks — execution-phas #2429 - backfill n/a STALE
2026-06-22 intelligence FLARE myopic commitment gap — SONA has no lookahead simulati #2435 - backfill n/a STALE
2026-06-23 memory semantic drift from repeated summarization cycles — AgentDB #2452 - backfill n/a STALE
2026-06-24 swarm SGTO-MAS trust-weighted consensus closes 5.3% adversarial ga #2456 - backfill n/a STALE
2026-06-25 performance 5× Grade A evidence for stateful KV-cache + execution graph #2462 - backfill n/a STALE
2026-06-26 security MCP tool permission boundaries unguarded — ShareLock >90% AS #2471 - backfill n/a STALE
2026-06-27 intelligence SKILL-DISCO trace-to-skill distillation closes 22%+ benchmar #2478 - backfill n/a STALE
2026-06-28 memory TRUSTMEM+MemStrata expose AgentDB write-verification and tem #2485 - backfill n/a STALE
2026-06-29 swarm RL stopping policy is the last un-automated orchestration su #2495 - backfill n/a STALE
2026-06-30 performance TokenDance (Grade A) proves 17.5× cross-agent KV-cache reduc #2510 - backfill n/a STALE
2026-07-01 security AgentDB retrieval pipeline has 0 certified defenses — SMSR p #2516 - backfill n/a MERGED
2026-07-02 intelligence HyDRA dimension routing +12.9% cost savings / SkillCAT +40% #2526 - backfill n/a STALE
2026-07-03 memory AutoMem proves RL-trained memory ops yield 2x–4x long-horizo #2536 - backfill n/a STALE
2026-07-04 swarm Inverse-Wisdom Law (Grade A) proves larger swarms harden wro #2559 - backfill n/a STALE
2026-07-05 performance PolyKV shared KV pool cuts 15-agent memory 97.7% (Grade A) + #2576 - backfill n/a STALE
2026-07-06 security 40-75% agent attack rate (Grade A) exposes VMG + RepE IPI ga #2588 - backfill n/a MERGED
2026-07-07 intelligence SkillRL recursive skill acquisition exposes static SONA cata #2597 - backfill n/a STALE
2026-07-08 memory NapMem RL-navigated pyramid exposes passive-retrieval gap in #2606 - backfill n/a STALE
2026-07-09 swarm ND-MARL 83× zero-shot scale + HNSW-comms-fabric gap in ruvec #2616 - backfill n/a STALE
2026-07-10 performance Workflow-Atomic Scheduling closes 1.6×–5.9× latency gap — no #2623 - backfill n/a STALE
2026-07-11 security plugin supply chain 0.00% detection gap + ADR-179 + intellig #2630 - backfill n/a STALE
2026-07-12 intelligence Harness Effect 41% cost gap + heterogeneous 2.3× accuracy ga #2641 - backfill n/a STALE
2026-07-13 memory RecMem −87% token cost + SelfMem +48.7% BEAM expose eager-co #2655 - backfill n/a STALE
2026-07-14 swarm Swarm Skills trajectory distillation + SWARM+ 97-98% latency #2664 - backfill n/a STALE
2026-07-16 security IPI attack success 10.7–29.6% exposes missing RuntimeAuthori #2692 - backfill n/a CLOSED
2026-07-17 intelligence SLEUTH +11pt multi-hop gap + GRADE 44% runtime gap unimpleme #2701 - backfill n/a STALE
2026-07-18 memory selective persistence 97× token reduction + plugins,automati #2715 - backfill n/a STALE
2026-07-19 swarm IB+VQ messaging 181.8% task gain breaks performance-bandwidt #2727 - backfill n/a STALE
2026-07-20 performance world-model 14× agent-planning speedup (DSWorld) unmasks unv #2739 - backfill n/a STALE
2026-07-21 security NCA gate + PlanFlip planning-phase injection + MemPoison bli #2752 - backfill n/a STALE
2026-07-22 intelligence SCM routed memory 86% LongMemEval exposes Ruflo CMR gap + ca #2760 - backfill n/a STALE
2026-07-23 memory OAS budget-operator selection +48% exposes Ruflo consolidati #2763 - backfill n/a STALE
2026-07-24 swarm ClawArena shows privilege-granting is #1 orchestration bottl #2768 - backfill n/a STALE
2026-07-25 performance AA-AgentPerf 23.6× gap + mixture-of-agents ACL 2026 Pareto-o #2778 - backfill n/a STALE
2026-07-26 security ShareLock MCP threshold poisoning + ChannelGuard gap + intel #2783 - backfill n/a STALE
2026-07-27 intelligence PoTRE 49.92% HLE — heterogeneous ensembles + capabilities,me #2792 - backfill n/a STALE
2026-07-28 memory MemIR provenance-role collapse gap in AgentDB flat storage + #2803 - backfill n/a STALE
2026-07-29 swarm TPSC pheromone consensus 50% agent reduction +11.6% fitness #2832 - backfill n/a MERGED
2026-07-30 performance Two Calls Beat Five Agents 7.4× token gap + HalluProp pre-ho #2862 - backfill n/a OPEN
2026-07-30 security Implement ADR-377: AgentDB Retrieval Security Layer #2873 - backfill n/a MERGED
2026-07-31 security ALIBI adversarial code comment injection + SkillGate acceler #2881 - backfill n/a OPEN
2026-08-01 security MemSecBench memory poisoning gap in AgentDB + OwlPath 28.8% #2892 - backfill n/a OPEN
2026-08-02 intelligence MANTA in-inference topology self-evolution (+5.8pp) exposes #2898 - backfill n/a OPEN
2026-08-03 memory Zero-Mem -57.6% retrieval latency exposes AgentDB entity-con #2902 - backfill n/a OPEN
2026-08-04 swarm Stigmergic pheromone bus closes 50%-agent-reduction gap (ADR #2918 - backfill n/a OPEN
2026-08-05 performance 8.08× inference gap — agents converge on 1 framework, miss 1 #2923 - backfill n/a OPEN
2026-08-06 security AgentDB memory poisoning 84.2% persistence gap — Adaptive Tr #2932 - backfill n/a OPEN
2026-08-07 intelligence EnvACE World Rehearsal gap — SONA lacks pre-execution self-s #2938 - backfill n/a OPEN
2026-08-08 memory ScrubJay temporal decay collapses GenGap 5.7× — AgentDB peri #2943 - backfill n/a OPEN
2026-08-09 swarm SwarmAgentic PSO topology auto-generation +261.8% gap (ADR-3 #2949 - backfill n/a OPEN
2026-08-10 performance cross-agent KV cache sharing 7.8× prefill gap (ADR-381) + se #2953 - backfill n/a OPEN
2026-08-11 security ColluSkill 96% compositional evasion gap (ADR-382) + intelli #2964 - backfill n/a OPEN
2026-08-12 intelligence VibeLifeBench proactivity gap — SONA lacks background world- #2979 - backfill n/a OPEN
2026-08-13 memory TOKI bitemporal contradiction resolution gap in AgentDB + pl #3008 - backfill n/a OPEN

v2 live entries start below

(STEP 9 of the v2 routine appends here nightly, starting 2026-08-14.)

Recovery note (2026-08-19): rows for 2026-08-14 through 2026-08-18 were never appended live despite all 5 nights running to completion (branch + draft PR + issue exist for each — verified via git ls-remote and gh pr/MCP search before concluding this, per STEP 1's anti-inference rule). Backfilled below from the PRs/issues directly. Root cause not diagnosed (out of scope for STEP 1 recovery); flagged as a candidate finding for a future automation/meta scan surface — the ledger-append step itself has now silently failed for 5 consecutive nights with no alerting.

Date Deep Finding Issue PR Evaluated? Verdict Effect Witness Prior-night fates
2026-08-14 swarm power-of-two-choices mesh peer selection: max-load -46.1%, CoV -44.4% but density -13.7% breaches ±10% invariant #3026 #3027 yes REJECT max_load -46.1%, CoV -44.4%, density -13.7% (breach) e77acc86... recovered-live (5-night gap)
2026-08-15 performance HNSWIndex efSearch query-time default decouple: latency -55.9%/-57.5% but recall@10 breaches 0.90 floor at N=8000 (-7.5pp) #3033 #3034 yes REJECT latency -55.9%(N=3k)/-57.5%(N=8k), recall -7.5pp (breach @8k) d756e6d9... recovered-live
2026-08-16 security settings.json hooks/allow-rules advisory risk scanner (CVE-2025-59536-class) wired into init/upgrade merge, advisory-only #3043 #3044 yes ACCEPT recall 0→1.0, precision 1.0, FPR 0.0 (post-hardening, 6 critic-found bypasses fixed) ad11d483... recovered-live
2026-08-17 intelligence discounted Thompson-sampling prior decay for model-router bandit (opt-in), recovers faster after workload shift #3048 #3049 yes ACCEPT-scoped low-bucket recovery -17.6% (t=7.00, held); med-bucket null (no generalization) e0fb0242... recovered-live
2026-08-18 memory hybridSearch controller reachable via explicit opt-in (was silently null-returning despite config flag) #3056 #3057 yes ACCEPT-scoped overall recall@10 +0.267; category B (pure-paraphrase) regresses -0.133 b28714fb... recovered-live
2026-08-19 swarm MessageBus retry-attempts silently reset to 0 on every re-queue, unbounded redelivery, message.failed unreachable #3061 #3062 yes ACCEPT invocations 96-98/0-failed (baseline) → 3/2/1 stable (candidate); 220/220 tests 62c4fdf7... 08-14..08-18 all OPEN, none merged yet

Recovery note (2026-09-05): rows for 2026-08-24 through 2026-09-03 were again never appended live — same failure class as the 2026-08-19 recovery above, now confirmed for a 3rd distinct occurrence. Verified via direct evidence before concluding this (per STEP 1's anti-inference rule): git ls-remote --heads origin "dream/*" shows real branches for every date 2026-08-24..2026-09-03, and search_issues label:dream-cycle / search_pull_requests confirm a real issue+draft-PR pair for each — the pipeline ran to completion every one of those nights; only the ledger-append step silently no-op'd. 2026-08-20 through 2026-08-23 is a separate, genuine gap: no branches, no issues, no PRs for those 4 dates — confirmed independently by three separate dream-cycle nights (08-24, 08-25, 08-27) before tonight, and reconfirmed here — the pipeline did not run at all those nights (root cause still undiagnosed, still out of scope for a single-surface nightly slot). Also separately confirmed via issue_read on #3109: PRs #3043/#3044 (08-16), #3048/#3049 (08-17), #3056/#3057 (08-18), #3061/#3062 (08-19) were MERGED 2026-08-21 — a human merged the backlog that had built up, contradicting nothing above but updating the "OPEN" status this ledger last recorded for them. Backfilled below from issues/PRs directly (titles + verdict only — full effect-size detail is in each linked issue; not re-extracted tonight to protect budget for tonight's own research per STEP 0.6). This is now the 3rd occurrence of the same ledger-append failure mode (2026-08-19 recovery, implied prior instances, now this one) — no longer a one-off. Elevating this from a "candidate finding" to an explicit recommendation: a future automation/meta DEEP night should treat "harden STEP 25's ledger-append against silent failure" as a first-class, high-priority candidate, not a background note.

| 2026-08-20 | — | no-run gap — no branch/PR/issue exists for this date | — | — | no | — | — | — | no-run gap (external, not diagnosed) | | 2026-08-21 | — | no-run gap — no branch/PR/issue exists for this date | — | — | no | — | — | — | no-run gap (external, not diagnosed) | | 2026-08-22 | — | no-run gap — no branch/PR/issue exists for this date | — | — | no | — | — | — | no-run gap (external, not diagnosed) | | 2026-08-23 | — | no-run gap — no branch/PR/issue exists for this date | — | — | no | — | — | — | no-run gap (external, not diagnosed) | | 2026-08-24 | swarm | weightedConsensus() trust weights now reach raft/byzantine/gossip vote tally (was architecturally unreachable — no field existed to carry them); [0,1] clamp preserves BFT safety margin | #3085 | #3086 | yes | ACCEPT | gossip flip: flat approved=false → weighted approved=true (0.905 vs 0.50); 226/226 tests, 0 regressions; adversarial critic CONFIRMED-WITH-CAVEATS | 08d44c58... | MERGED 2026-09-14 | | 2026-08-25 | performance | HNSW product-quantization: productQuantizeDistance() correctly implemented but zero callers — generic distance ran on raw PQ centroid indices, numerically meaningless; now dispatched, with a disclosed residual isValidPQEncoding() plausibility-heuristic caveat | #3093 | #3094 | yes | ACCEPT | recall@10 0.097 (pre-fix) → 0.270 (post-fix) on deterministic synthetic corpus, ~2.8x; 461/462 tests, 0 regressions | 300da158... | MERGED 2026-09-14 (verified via main's own commit 2d62270) | | 2026-08-26 | security | authorizeMcpTool() trusted unsigned CLAUDE_FLOW_PRINCIPAL_ID env var as caller identity (ASI07-class); bound already-built ADR-377 Ed25519 verifyInvocationToken into that live chokepoint for DualModeOrchestrator-spawned workers, off by default | #3102 | #3103 | yes | ACCEPT-with-caveats | 6/6 new scenarios pass post-fix, correctly fail/reject pre-fix; 583/583 security, 241/241 codex, 18/18 policy-runtime; 19 pre-existing CLI failures proven identical via stash-diff | fd944eae... | MERGED 2026-09-14 | | 2026-08-27 | intelligence | distillLearning()'s EWC forgetting-gate called getPenalty([oldConf],[newConf]), collapsing to 1 of 384 Fisher dims — wired in computeConfidencePenalty/updateFisherFromConfidences (already implemented, 0 prior callers). Post-review correction (ruvnet): original hypothesis overclaimed per-pattern discrimination; computeConfidencePenalty takes no embedding, so the real fix is "shared full-Fisher-average signal instead of one arbitrary dimension," not per-pattern weighting — hypothesis/gist/tests amended same night, new acceptance test added proving no per-pattern discrimination | #3109 | #3110 | yes | ACCEPT-scoped (narrowed post-review) | baseline: regression test fails (methods never called); candidate: passes. 153/153 tests (+5 new incl. acceptance test), tsc clean | 0df6bc4f... | MERGED 2026-09-14 (verified: PR state=MERGED, mergedAt=2026-09-14T20:46:20Z) | | 2026-08-28 | memory | HybridBackend.queryHybrid()'s dead weights field (computed, never consumed by combineUnion) replaced with real weighted-RRF fusion (combineWeighted), matching Qdrant/Weaviate/Azure AI Search's weighted-RRF pattern | #3118 | #3119 | yes | ACCEPT | 461/462 suite green (1 pre-existing unrelated env failure, confirmed identical on baseline); weight-sensitivity test fails on baseline, passes on candidate (git-stash isolated); post-review: added finite/non-negative weight validation + deterministic id-based tie-break | 47e2f669... | MERGED 2026-09-14 (verified via main's own commit fde5b3b) | | 2026-08-29 | swarm | TopologyManager.rebalanceHybrid()'s worker-mesh loop added edges one-directionally (worker→target only, never reciprocated) — same function's coordinator loop and all 3 sibling rebalance*() methods do this correctly; flagged live by 08-24's own night, fixed tonight | #3122 | #3123 | yes | ACCEPT | deterministic (Math.random mocked) regression test: baseline missing reciprocal edge, candidate symmetric; full package 221/221 tests, 0 regressions; independent adversarial critic CONFIRMED | 9c1e9cd4... | rebased onto main (post #3086/#3094/#3103/#3110/#3119 merges), awaiting fresh CI as of 2026-09-14 | | 2026-08-30 | performance | diskann-backend.ts (375 lines, zero call sites anywhere in the monorepo, @ruvector/diskann not a dependency) removed; claudemd-generator.ts's generated CLAUDE.md corrected from the unreproduced "150x-12,500x"/DiskANN claim to point at the reproducible benchmark-intelligence.mjs --only=hnsw command instead of a hardcoded multiplier | #3129 | #3130 | yes | ACCEPT | baseline-fails/candidate-passes test confirmed via git-stash; full suite byte-identical 106-failure list baseline vs candidate (pre-existing env gap); live re-run of benchmark-intelligence.mjs found recall@10 0.9867(N=5k)/0.9233(N=20k) — itself disagreeing with the "~0.99" doc figure, reported not papered over; reviewer REJECTed v1 (CI red, 11-row ledger backfill, ambiguous cited number) — all 3 addressed same night | 6f56440a... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123 merges), awaiting fresh CI as of 2026-09-14 | | 2026-08-31 | security | MCP tools/call dispatch never read .harness/mcp-policy.json (existed only for offline metaharness mcp-scan linting) — opt-in PolicyEnforcer (env RUFLO_MCP_ENFORCE_POLICY) wires auditLog + maxToolCallsPerTurn into the live stdio dispatch, fail-closed on policy load/audit-log failure (post-review) | #3138 | #3139 | yes | ACCEPT | 16/16 new tests, 39/43 broader MCP sweep (4 pre-existing unbuilt-sibling-package env failures, unrelated) | 670cbbad... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123/#3130 merges), awaiting fresh CI as of 2026-09-14 | | 2026-09-01 | security | maxToolCallsPerTurn was a session-lifetime cumulative cap that never reset — sliding-window reset implemented | #3151 | #3152 | yes | ACCEPT | see issue #3151 | n/a (backfill) | unmerged draft as of 09-05 | | 2026-09-02 | intelligence | LearningBridge.consolidate() was reward-blind — fixed to weight consolidation by trajectory reward | #3159 | #3160 | yes | ACCEPT | see issue #3159 | n/a (backfill) | unmerged draft as of 09-05 | | 2026-09-03 | memory | SmartRetrieval's MMR diversity step used token-Jaccard similarity instead of the available embedding-cosine | #3168 | #3169 | yes | ACCEPT | see issue #3168 | n/a (backfill) | unmerged draft as of 09-05 | | 2026-09-05 | performance | cli-cold-start.bench.ts's real measureColdStart() was dead code; every number (incl. a by-construction "5.00x V2 vs V3") came from setTimeout(); real spawn-based measurement wired in, fabricated comparison removed, 2 stale ADR-STATUS-SUMMARY.md rows corrected | #3183 | #3184 | yes | ACCEPT-scoped | real: 54.65ms mean (min 51.94/max 57.92, n=5) vs 500ms target; 99/99 tests (+4 new), baseline-fails/candidate-passes via stash isolation | 04f903ba... | 08-24..08-31 all unmerged drafts (ACCEPT/ACCEPT-scoped, correctly awaiting human review, none stale <14d) | Note (2026-09-03): rows for 2026-08-24 through 2026-09-02 (9 nights, all evaluated ACCEPT) exist and are already backfilled on their own dream/* branches (see dream/2026-08-28-memory and dream/2026-09-02-intelligence's copies of this file) but not re-transcribed here, to avoid yet another copy stuck on yet another unmerged branch — see tonight's automation scan finding below for the structural reason (ledger rows only reach main via PR merge; STEP 25 has run correctly every night). Current backlog: #3086, #3094, #3103, #3110, #3119, #3123, #3130, #3139, #3152, #3160 — all open/draft, none merged since the 2026-08-21 batch that cleared 08-14..19. Note (2026-09-03): rows for 2026-08-24 through 2026-09-02 (9 nights, all evaluated ACCEPT) exist and are already backfilled on their own dream/* branches (see dream/2026-08-28-memory and dream/2026-09-02-intelligence's copies of this file) but not re-transcribed here, to avoid yet another copy stuck on yet another unmerged branch — see tonight's automation scan finding for the structural reason (ledger rows only reach main via PR merge; STEP 25 has run correctly every night). Current backlog: #3086, #3094, #3103, #3110, #3119, #3123, #3130, #3139, #3152, #3160 — all open/draft, none merged since the 2026-08-21 batch that cleared 08-14..19.

Update (2026-09-05): ruvnet reviewed #3169 and REJECTed pending remediation (CI split, green CI, a real benchmark, malformed-input tests, determinism proof). Addressed: the automation scan's dream-cycle-backlog-guard.yml moved to its own PR #3205 (no longer bundled with the memory fix); the root CI failure (unpublished @claude-flow/mcp@3.0.0-alpha.10) was fixed on main by a separate session as #3203 (merged) and dream/2026-09-03-memory rebased onto it, CI green; a labeled 18-doc/6-topic benchmark (mmr-benchmark.test.ts) swept across mmrLambda shows recall/nDCG parity with baseline at the module's default (λ=0.7) while diversity/duplicate-rate improve, with an honest disclosed trade-off at diversity-heavy λ; a real NaN/Infinity-embedding hardening bug was found and fixed while adding the malformed-input tests. See gist addendum.

| 2026-09-03 | memory | SmartRetrieval's MMR diversity step used token-Jaccard text overlap instead of embedding-cosine (already computed upstream, discarded before reaching MMR) — matches Qdrant/Weaviate's 2025-2026 shipped pattern | #3168 | #3169 | yes | ACCEPT | recall/nDCG parity with baseline at default λ=0.7 (1.000/0.777 both); diversity 0.472→0.667, dup-rate 0.289→0.200; 465/466 full-suite green (1 pre-existing) | 9ce94e31... | 08-24..09-02 (9 nights) all still open/draft, none merged; automation backlog-guard split to #3205 per review | | 2026-09-07 | intelligence | EnhancedModelRouter forwarded a wrong-tier modelId when tier3-keyword/AST complexity escalated the returned tier past the tier the base bandit router chose modelId for — agent-execute-core.ts's first-call dispatch treats a present modelId as an unconditional tier-map override, so a security-sensitive task escalated to opus could silently execute against a cheap haiku-tier model; gated forwarded fields on tier match | #3220 | #3221 | yes | ACCEPT-scoped | reviewer REJECTed original run (unmeasured latency, "168 identical failures" ≠ green suite); re-evaluated: 168→69 after building 3 unbuilt sibling packages, remainder is 2 orthogonal optional-WASM test files + e2e tests unrelated to changed file, CI 100% green throughout; latency now measured (-2.3%, PASS vs explicit ±20% threshold) | 6c578524... | #3169/#3184 merged since 09-05; #3086,#3094,#3103,#3110,#3119,#3123,#3130,#3139,#3152,#3160 (08-24..09-02) still open/draft, none merged |

Note (2026-09-09): 2026-09-08 (memory, #3231/#3232 — wired embedding near-dup detection into MemoryConsolidator.dedup(), ACCEPT, directly acting on 09-07's own recommendation #3) exists as a real branch+issue+draft-PR (verified via search_pull_requests, not inferred) but is not transcribed as a row here — same "ledger rows only reach main via PR merge" structural gap noted repeatedly since 2026-08-19/09-03/09-05. Verified GitHub state (via MCP tools, not gh CLI) for the trailing nights before tonight's own row: #3139 (08-31) OPEN/draft 9d old; #3152 (09-01) OPEN/draft 8d old; #3160 (09-02) OPEN/draft 7d old; #3169 (09-03) MERGED 09-05; #3184 (09-05) MERGED 09-05; #3221 (09-07) MERGED 09-07 (same day); #3232 (09-08) OPEN/draft 1d old. Swarm-surface backlog specifically: #3086 (08-24) now 16 days old, 0 follow-up comments → STALE per the >14-day rule; #3123 (08-29) 11d old, has reviewer comments, not yet stale. Trailing-9-night merge rate has improved to 3/9 (09-03, 09-05, 09-07) vs. the "0 of last 14" note in earlier gists.

| 2026-09-09 | swarm | AgentPool.performHealthChecks() stamped lastHeartbeat=now on every "still healthy" tick, and updateAgentHeartbeat() (the only other legitimate way to advance it) has zero callers anywhere in v3/ — so the check's own tick was the sole thing keeping every pooled agent's heartbeat fresh, meaning timeSinceLastActivity could never exceed one interval and replaceUnhealthyAgent() could never fire for any agent, in any pool, ever; removed the self-stamp | #3242 | #3243 | yes | ACCEPT-scoped | 223/223 tests (+3 new), baseline-fails-2-of-3/candidate-passes-3-of-3 via stash isolation; adversarial critic confirmed independently but disclosed @claude-flow/swarm has no reachable path through the shipped @claude-flow/cli today (blast radius is the swarm package's own UnifiedSwarmCoordinator, not an active CLI hot path) | 008c96a0... | 08-24..09-02 backlog unchanged (see note above); #3169/#3184/#3221 merged since 09-05 | | 2026-09-01 | security | maxToolCallsPerTurn was session-lifetime cumulative, never reset (disclosed bug in #3139); wall-clock sliding window fix, new turnWindowMs policy field (follow-up to #3139, stacked PR) | #3151 | #3152 | yes | ACCEPT | 30/30 new-suite tests, 52/56 broader MCP sweep (4 pre-existing unbuilt-sibling-package env failures, unrelated); independent critic CONFIRMED-WITH-CAVEATS, 2 minor findings fixed pre-commit | 7d93a482... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123/#3130/#3139 merges), awaiting fresh CI as of 2026-09-14 | | 2026-09-02 | intelligence | LearningBridge.consolidate() reward-blind fix (hardcoded 1.0 → real insight confidence via getByKey; round-1 fix had a wrong id/key lookup — entryId is the caller-assigned key, not the backend's internal entry.id — caught by adversarial critic, corrected round 2) | #3159 | #3160 | yes | ACCEPT | 56/56→62/62 tests (candidate); 464/465 full package (1 pre-existing environmental failure); independent critic round 2 CONFIRMED | bead6402... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123/#3130/#3139/#3152 merges), awaiting fresh CI as of 2026-09-14 | | 2026-09-08 | memory | MemoryConsolidator.dedup() deduplicated via byte-exact SHA-256 hash only, though every entry already carries a computed .embedding and dedup() already holds a handle to the adapter's incrementally-synced HNSWIndex (used only for removePoint bookkeeping, never queried for similarity) — added a second embedding-cosine near-duplicate pass (threshold 0.95, zero extra backend round-trips); independent adversarial critique found and this session fixed forward a real convergence bug (a duplicate cluster larger than the 8-entry search window split into multiple survivors in one call, self-healing across repeated runAll() but under-converging on a single call) | #3231 | #3232 | yes | ACCEPT | 472/473 full-suite green (1 pre-existing unrelated failure, unchanged); baseline-fails/candidate-passes via stash isolation for both the original fix and the convergence fix-forward; tsc clean | f5eaa461... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123/#3130/#3139/#3152/#3160 merges), awaiting fresh CI as of 2026-09-14 | | 2026-09-10 | performance | mmrRerank() eagerly re-tokenized every remaining candidate's content on every MMR outer-loop pass (O(N×limit) tokenize() calls) — a pattern that predates and survived PR #3169's embedding-cosine wiring unchanged, even though the cosine branch made that tokenization mostly discarded work in the now-common all-embedded case; made lazy and cached per-candidate | #3265 | #3266 | yes | ACCEPT | tokenize() calls 400→0 (N=30/limit=20 corpus, stash-isolated: fails against real baseline, passes against candidate); wall-clock 5.88x faster (0.6745ms→0.1148ms mean), independently reproduced at 5.96x by an adversarial critic; selection output byte-identical to baseline across all-embedded/none/mixed/lambda-extreme scenarios; 473/474 full-suite both ways (1 pre-existing unrelated failure), tsc clean | 78c074ef... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123/#3130/#3139/#3152/#3160/#3232 merges), awaiting fresh CI as of 2026-09-14 | | 2026-09-11 | security | hive-mind_consensus accepted votes from any caller-supplied voterId with no check against state.workers (a single caller could cross any strategy's quorum by voting under fabricated identities — a Sybil attack on consensus); fail-closed roster-membership check added. Update (ruvnet review): REJECTed the initial scoped fix on the caveat the adversarial critic had already disclosed (hive-mind_join/leave fully unauthenticated — the roster itself could be Sybil'd) plus a required-CI cold-install failure (@claude-flow/security missing a prepare script, so root npm ci never built its dist/). Both addressed same-session: join/leave/vote now capability-bound to a hiveToken minted by hive-mind_init (32-byte random, constant-time comparison, fail-closed — zero state change for denied calls, verified via a fresh state.json reload simulating restart; a same-machine-only token reader lets the CLI's own subcommands keep working without exposing the token over any MCP response); @claude-flow/security's package.json gained a prepare: npm run build so root npm ci builds it automatically for every consumer, not just this CI job | #3290 | #3291 | yes | ACCEPT-scoped (post-review) | stash-isolated 2/3 fail baseline (forged votes silently accepted) → 3/3 pass candidate; full @claude-flow/cli suite failures 46→28 after the CI fix (remainder pre-existing/unrelated); adversarial critic CONFIRMED-WITH-CAVEATS pre-review, both caveats closed post-review | 55d67b4a... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123/#3130/#3139/#3152/#3160/#3232/#3266 merges), awaiting fresh CI as of 2026-09-14 | | 2026-09-12 | intelligence | LocalReasoningBank.findSimilar() overwrote every returned pattern's confidence (learned reliability) with the per-query cosine similarity score instead of the already-declared PatternMatch.similarity field, inverting distillLearning()'s "only distill from high-confidence matches" gate (it tested query-similarity, not reliability) and forcing findSimilarPatterns()'s public API into an unsafe cast that made confidence/similarity always identical; findSimilar() now preserves real confidence and returns similarity separately, with the one affected consumer (memory-bridge.ts's search-ranking score) migrated accordingly | #3301 | #3302 | yes | ACCEPT | 4 new discriminating tests, baseline-fails/candidate-passes via stash isolation; full suite 90-vs-91-failed-files identical except the new test file; tsc --noEmit byte-identical (463 errors both ways); independent adversarial critique CONFIRMED, no blocking caveats | cb60b43b... | rebased onto main (post #3086/#3094/#3103/#3110/#3119/#3123/#3130/#3139/#3152/#3160/#3232/#3266/#3291 merges), awaiting fresh CI as of 2026-09-14 |

Note (2026-09-22): rows for 2026-09-15 (performance, #3329/#3330), 09-16 (security, #3338/#3339), 09-17 (intelligence, #3349/#3350), 09-18 (memory, #3351/#3352), 09-19 (swarm, #3356/#3357), 09-20 (performance, #3377/#3378), and 09-21 (security, #3384/#3385) all ran (verified via git ls-remote --heads origin "dream/*" and list_pull_requests/search_pull_requests, not inferred — same "rows only reach main via PR merge" structural gap noted since 2026-08-19) but are not transcribed as rows here, to avoid another copy stuck on another unmerged branch. All 7 are OPEN/draft, all <14d old (none stale). Trailing-7-night merge rate since the 09-14/15 backlog sweep: 0/7 — worth watching but not yet actionable (no single night is stale, no repeated-direction pattern).

| 2026-09-22 | intelligence | EWCConsolidator.updateFisherFromConfidences() (ewc-consolidation.ts, wired into production at intelligence.ts:413 via #3110) ran its online-Fisher EMA backwards vs. its two sibling globalFisher-updating methods in the same class (computeFisherMatrix(), recordGradient()) — new batch got 99% weight, accumulated importance got 1%, discarding ~99% of accumulated Fisher on every distillLearning() pass and defeating EWC++'s anti-catastrophic-forgetting purpose; flagged as lead candidate by 09-21's scan finding, independently re-verified against the code and the EWC++ literature (Chaudhry et al. ECCV 2018, arXiv:1801.10112), fixed to match the sibling sites. Update (ruvnet evidence-gate review, same session): initial fix REJECTed pending lifecycle hardening — no guard against non-finite input, a no-op update still decayed/persisted Fisher, no validation on loaded persisted state, receipt bound the pre-session base commit not the candidate. All addressed: non-finite samples dropped before folding in; zero-sample updates leave state untouched; loadFromDisk() validates/quarantines a malformed globalFisher; witness rebound to the hardened candidate commit; 3 new regression tests confirmed via stash isolation; also verified against the compiled dist/ output directly (not just vitest's transform) | #3394 | #3395 | yes | ACCEPT-scoped (post-review) | 5 EMA-direction/consistency tests + 3 hardening regression tests (non-finite-input drop, no-op-no-persist, corrupted-state quarantine), all baseline-fails/candidate-passes via stash isolation; independently reproduced by adversarial critic pre-review (CONFIRMED) and by ruvnet's evidence-gate review post-review (REJECT → all items closed); full @claude-flow/cli suite byte-identical 96-file failure set throughout; tsc --noEmit byte-identical (463 errors) throughout | fc2088df... | 09-15..09-21 (7 nights) all still open/draft, none merged since the 09-14/15 backlog sweep, none stale | Note (2026-09-19): 2026-09-15 (performance, #3329/#3330), 2026-09-16 (security, #3338/#3339), 2026-09-17 (intelligence, #3349/#3350), and 2026-09-18 (memory, #3351/#3352) all exist as real branches+issues+draft-PRs (verified via mcp__github__search_pull_requests, not inferred) but are not transcribed as rows here — same "ledger rows only reach main via PR merge" structural gap noted repeatedly since 2026-08-19/09-03/09-05/09-09. GitHub-verified fates for the trailing 7 nights before tonight's own row (via mcp__github__pull_request_read, gh CLI unavailable this session): #3302 (09-12) MERGED; #3291 (09-11) MERGED; #3266 (09-10) MERGED; #3330 (09-15) OPEN/draft 4d old; #3339 (09-16) OPEN/draft 3d old; #3350 (09-17) OPEN/draft 2d old; #3352 (09-18) OPEN/draft 1d old — none STALE. A large batch (18 dream PRs spanning 08-14..09-12) merged together on 2026-09-14. Swarm surface specifically: #3086 (08-24), #3123 (08-29), #3243 (09-09) — 3/3 merged, 100% historical rate. | 2026-09-19 | swarm | TopologyManager.createEdgesForNode() mirrored a new node's edge onto its connection target only for type === 'mesh' — for hierarchical/centralized/hybrid, the queen/coordinator's own connections/adjacencyList permanently never gained any worker (not just transiently stale: neither shouldRebalance() nor any rebalance*() guard, which checks the worker's side instead of the leader's, could ever repair it); fixed by mirroring whenever the connection target already exists in the topology | #3356 | #3357 | yes | ACCEPT-scoped | baseline 3/3 new tests fail (expected [] to include), candidate 233/233 full-suite pass (was 230/230 pre-diff), tsc clean; independent adversarial critique CONFIRMED — disclosed caveat: no shipped caller of getNeighbors()/findOptimalPath() exists yet and swarm-tools.ts's getStatus() has a separate pre-existing type-drift bug, so the repaired state is correct/live but not yet externally visible | 2cd2ea40... | 08-24..09-12 merge status above; 09-15..09-18 still open/draft, none stale | No-run gap (2026-09-13, 2026-09-14): no branch/PR/issue exists for either date (verified via git ls-remote --heads origin "dream/*" and search_pull_requests, 2026-09-18). Tonight's automation SCAN confirms no in-repo cron/workflow drives this trigger, so the gap is genuinely unexplained from repo config, not a local misconfiguration — same open question as the 2026-08-20..23 gap. | 2026-09-15 | performance | wire MoE gate's load-balance loss into the actual weight update (title-derived backfill; full PR body not re-verified tonight) | #3329 | #3330 | yes | ACCEPT-scoped | see issue #3329 / PR #3330 | n/a (backfill) | unmerged draft as of 2026-09-18, 3d old | | 2026-09-16 | security | gate hive-mind_spawn/propose/broadcast/shutdown/memory/optimize-memory + hive-mind_init's own credential issuance, round 2 (title-derived backfill; full PR body not re-verified tonight) | #3338 | #3339 | yes | ACCEPT | see issue #3338 / PR #3339 | n/a (backfill) | unmerged draft as of 2026-09-18, 2d old | | 2026-09-17 | intelligence | wire CLAUDE_FLOW_PRIOR_DECAY env override for ModelRouter's dormant discounted-Thompson-sampling decay primitive (#3049), recommended by 2026-09-12's own gist; real benchmark receipt (low-complexity bucket: recovery 26.5→21.9 rounds, t=7.0; med-complexity bucket: stationary Δ=−0.08pp, t=−3.01, accepted within pre-declared ±1pp tolerance) | #3349 | #3350 | yes | ACCEPT-with-caveats | 16/16 tests; full suite byte-identical 221 pre-existing failures both ways; independent adversarial critic CONFIRMED-WITH-CAVEATS (net-positive low-complexity, negligible-but-real med-complexity cost) | 91d8edc3... | unmerged draft as of 2026-09-18, 1d old | | 2026-09-18 | memory | AgentDBAdapter.store() (default in-process write path) never checked for an existing entry under the same (namespace,key) before writing — a fresh random id every call left the prior occupant an orphan, unreachable via getByKey() but still live in entries/namespaceIndex/tagIndex and, for embedded entries, still a point in the HNSW index, so search()/semanticSearch() returned stale duplicates forever; fixed by evicting the prior occupant via a shared evictEntry() primitive before storing. Independently flagged by two prior nightly scans (09-12, 09-17) as a future-night candidate. Post-review (ruvnet, same night): two further public-path gaps found and fixed — bulkInsert() bypassed the same-key dedup entirely (fixed: pre-existing + intra-batch duplicate-key eviction), and store() deleted the prior occupant before validating the replacement embedding, risking data loss on a rejected write (fixed: validate/index first, evict on success) | #3351 | #3352 | yes | ACCEPT-scoped (post-review) | 9 discriminating tests total (4 original + 5 post-review, incl. a hand-built two-gate harness proving setTimeout can't reproduce the disclosed concurrency race); full suite 517→526 passed (1 pre-existing unrelated failure, unchanged); tsc --noEmit clean; independent adversarial critique CONFIRMED-WITH-CAVEATS pre-review, human review found 2 further blocking gaps post-review, both closed same night — concurrent-store race (not bulkInsert/atomicity) remains the one disclosed, still-open follow-up | d4d02062... | 09-08..09-12 (5 nights) MERGED in a 2026-09-14/15 batch; 09-15/09-16/09-17 still open/draft, none stale (<4d old); 09-13/09-14 no-run gap noted above |

Note (2026-09-17): verified via GitHub MCP tools (not inferred) before tonight's own row: 2026-09-13 and 2026-09-14 are genuine no-run gaps — no dream/2026-09-13-*/dream/2026-09-14-* branch, no matching issue/PR, same class as the earlier 2026-08-20..23 gap. 2026-09-15 ran (performance, #3329 — MoE gate load-balance loss computed but never applied to weights) and 2026-09-16 ran (security, #3338 — hive-mind consensus bypass); neither transcribed as its own row here (out of scope for tonight's intelligence slot to backfill in full — flagging their existence is enough to keep STEP 1's gap-detection honest). Trailing-14 PR merge rate: 14/14 MERGED — a bulk human-review sweep on 2026-09-14/15 cleared the entire backlog from #3086 through #3302 in one pass. This is the opposite extreme from the "0 of last 14" signal earlier nights tracked, so tonight did not bias toward an artificially small candidate on that basis — but the bulk-sweep nature (many PRs merged together) is a weaker scrutiny signal than a steady one-by-one trickle, noted for future nights' calibration.

| 2026-09-17 | intelligence | ModelRouter's discounted-Thompson-sampling priorDecay primitive (built/tested/benchmarked in #3049, 2026-08-17) shipped permanently inert — DEFAULT_CONFIG.priorDecay hardcoded to 1 (disabled), no env/config override unlike sibling maxUncertainty; added envPriorDecay() mirroring the existing envMaxUncertainty() pattern exactly, acting on 09-12's own gist recommendation for a future intelligence night | #3349 | #3350 | yes | ACCEPT-scoped | stash-isolated: 1/3 new tests fail reverted, 16/16 pass restored; full @claude-flow/cli suite + tsc --noEmit byte-identical baseline vs candidate outside the 3 new tests (221 failures / 463 errors both ways); benchmark re-run byte-identical to 2026-08-17 receipt — real non-stationary recovery win in 'low' bucket (t=7.0), small but statistically real stationary-accuracy cost in 'med' bucket (t=-3.01, 0.08pp, inside the original ±1pp tolerance); independent adversarial critic CONFIRMED-WITH-CAVEATS, disclosed not oversold | 91d8edc3... | 08-24..09-11 backlog (10 PRs) + 09-12 (#3302) all MERGED 2026-09-14/15 in a bulk sweep; 09-13/09-14 no-run gap, 09-15/09-16 ran but not transcribed (see note above) | | 2026-09-15 | performance | MoERouter.route() computed a Switch-Transformer-style load-balance auxiliary loss every call and returned it in RoutingResult, but updateExpertWeights() (the sole mutator of gate weights) never read that loss or its coefficient in its REINFORCE gradient math — the regularizer the module's own header claims had zero actual training effect; wired the analytic (softmax-Jacobian) gradient into the existing update path, using a per-route() fraction snapshot for consistency | #3329 | #3330 | yes | ACCEPT-scoped | 4 new discriminating tests, baseline-fails/candidate-passes via stash isolation (reproduced independently by critic); full @claude-flow/neural suite 132/132→136/136, 0 regressions; tsc --noEmit clean; independent adversarial critique CONFIRMED (scoping caveat: updateExpertWeights() has zero production callers today, though route() itself is live) | 5e719b96... | trailing 7 nights (#3086,#3139,#3152,#3160,#3232,#3243,#3266,#3291,#3302) all MERGED 2026-09-14 — full prior backlog cleared, reversing the earlier "0 of 14" signal |

Note (2026-09-21): #3302 confirmed MERGED 2026-09-15 via pull_request_read (authoritative) — search_pull_requests's merged field is stale/unreliable (it reported merged:false with a populated merged_at for this same PR; do not trust it for merge-state checks, use pull_request_read/get). New no-run gap, confirmed via git ls-remote --heads origin "dream/*": 2026-09-13 and 2026-09-14 have no branch, issue, or PR — same verification standard as the documented 08-20..08-23 gap, root cause still undiagnosed. 2026-09-15 through 2026-09-20 all ran (real branches confirmed): #3329/#3330 (perf, MoE load-balance), #3338/#3339 (security, hive-mind capability-token round 2), #3349/#3350 (intelligence, ModelRouter prior-decay env override), #3351/#3352 (memory, AgentDBAdapter upsert-orphan fix), #3356/#3357 (swarm, topology mirror-edge fix), #3377/#3378 (performance, UnifiedSwarmCoordinator busy-poll→event-driven, ~487x measured) — not transcribed row-by-row here per the established "ledger rows only reach main via PR merge" convention; all currently open/draft, none stale (<14d old as of tonight).

| 2026-09-21 | security | validateEnv()'s loader-hijack denylist blocked LD_PRELOAD/NODE_OPTIONS-class vars but not PATH itself or the equivalent interpreter/VCS search-path family (CWE-427) — flagged grade-A by 09-20's security scan; added PATH/PYTHONPATH/PERL5LIB/RUBYLIB/GIT_EXTERNAL_DIFF/GIT_SSH_COMMAND/BASH_ENV/IFS to the denylist. Adversarial critique found the lookup was case-sensitive (path/Path bypassed it on case-insensitive Windows) — fixed same session via .toUpperCase() case-folding, also hardening the original 9 names | #3384 | #3385 | yes | ACCEPT-scoped | 13 new discriminating tests (32/32 total); baseline-fails/candidate-passes via stash isolation, independently reproduced twice by the critic; full suite failed-file set byte-identical (36 pre-existing environmental failures); tsc --noEmit 14 pre-existing errors, unchanged; independent adversarial critique CONFIRMED-WITH-CAVEATS → caveat closed same session | 03142288... | 09-15..09-20 (6 nights) all open/draft, none stale; 08-24..09-11 backlog (10 PRs) still unmerged since the 09-14/09-15 batch that cleared 09-03/09-05/09-07/09-12 | Note (2026-09-20): the pre-09-14 backlog (#3086 through #3302, ~18 PRs) was fully cleared by human review on 2026-09-14 (confirmed via search_pull_requests: every one now shows state: closed) — the "0 of last 14 merged" bias condition from earlier nights no longer applies. Nights 09-15 (performance, #3330), 09-16 (security, #3339), 09-17 (intelligence, #3350), 09-18 (memory, #3352), and 09-19 (swarm, #3357) all ran and produced real branches/issues/draft PRs (verified via git ls-remote/search_pull_requests, not inferred) but aren't transcribed as rows here — same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19/09-03/09-05/09-09; none of the five is stale (>14d) as of tonight. Not backfilling their full rows here to avoid yet another copy stranded on yet another unmerged branch (per the 2026-09-03 note's own reasoning) — see their own PR bodies (#3330/#3339/#3350/#3352/#3357) for full detail.

| 2026-09-20 | performance | UnifiedSwarmCoordinator.waitForTaskCompletion()/waitForQueuedTask() busy-polled state.tasks via setInterval(...,100) despite the coordinator already extending EventEmitter and already firing task.completed/task.failed at every terminal task-status transition (handleTaskComplete, handleTaskFail's non-retry branch, cancelTask) — the exact candidate 2026-09-15 scored 4.45/5 but deferred; tonight's independent research re-scored it 4.75/5 and selected it | #3377 | #3378 | yes | ACCEPT | 4 new discriminating tests, baseline-fails-3-of-4/candidate-passes-4-of-4 via stash isolation; real wall-clock benchmark 100.359ms→0.206ms mean (~487x, N=20); 234/234 full-suite both ways (230 pre-existing + 4 new), tsc clean; independent adversarial critique CONFIRMED-WITH-CAVEATS→fixed (missing setMaxListeners would have spammed MaxListenersExceededWarning at >10 concurrent waiters; fixed same session, re-verified) | 12f7a08e... | 09-15..09-19 (5 nights) all open/draft, none stale; pre-09-14 backlog (18 PRs) fully cleared 2026-09-14 |

Note (2026-09-30): GitHub-verified fates for the trailing 6 nights before tonight's own row (via pull_request_read, gh CLI unavailable this session — same MCP-tools fallback used since 09-17): #3385 (09-21, security) MERGED 2026-09-26; #3395 (09-22, intelligence) MERGED 2026-09-26; #3412 (09-24, off-cycle github-safe.js disclosure fix for issue #3411) MERGED 2026-09-26; #3476 (09-27, intelligence) OPEN/draft, 3d, no reviewer engagement yet; #3517 (09-28, memory) OPEN/draft, 2d; #3539 (09-29, swarm) OPEN/draft, 1d — none stale (<14d). Confirmed no-run gaps at 09-23, 09-25, 09-26 (no dream/* branches) via git ls-remote --heads origin "dream/*". Could not score the 09-29 gist (STEP 1.2) — never committed to docs/dream-cycle/ and no gist-publishing tool was available this session to fetch it from a published URL either; noted rather than fabricated. Gist publishing itself was unavailable tonight (no gh CLI binary, no MCP gist-creation tool, WebFetch 403s on the unauthenticated GitHub API) — the full SOTA report is embedded verbatim in issue #3562 instead of a gist.github.com URL; future nights should flag this as a standing environment gap, not re-attempt and silently give up each time.

| 2026-09-30 | performance | MessageBus.processQueues() dispatched via an unconditional setInterval(processingIntervalMs, default 10ms) regardless of queue occupancy — both production callers (UnifiedSwarmCoordinator, SwarmHub) configure 10ms, so every active swarm's message bus woke up 100x/sec at zero traffic; sibling of the 09-20 UnifiedSwarmCoordinator busy-poll fix, same coordinator, different still-unfixed component. Wired event-driven dispatch (scheduleProcessing() triggered from enqueue()/retry-requeue/subscribe()), backstop interval floored at 250ms, processQueues() self-reschedules under backlog | #3562 | #3563 | yes | ACCEPT-scoped (post-review) | 7 new discriminating tests, baseline-fails/candidate-passes via stash isolation; real wall-clock benchmark: idle-window processQueues() calls 196→7/2s (96.5% reduction), single-message latency 10.157ms→0.083ms mean, saturated throughput (2000 msgs) 985→87,896 msg/s; full @claude-flow/swarm suite 237/243 (baseline, 6 new tests fail)→244/244 (candidate); tsc --noEmit clean both; independent adversarial critique CONFIRMED-WITH-CAVEATS→2 caveats (subscribe-gap latency, shutdown-timer guard) both fixed same session, re-verified; an earlier candidate version had a real saturated-throughput regression (collapsed to ~200 msg/s) caught by the candidate's own perf test before review, fixed via self-rescheduling on backlog | 72521458... | 09-21..09-24 (3 nights) MERGED 2026-09-26; 09-27..09-29 (3 nights) open/draft, none stale | Note (2026-09-29): a large batch-merge landed 2026-09-26 clearing the 09-17..09-22 backlog (#3350/#3352/#3357/#3385/#3395 all MERGED; #3378 closed-not-merged but landed via #3443 and shipped to npm via #3452 — effectively merged). Three more nights ran since and aren't yet reflected as rows here (still open drafts, verified via git branch -r/PR lookup, not a pipeline failure): 09-24 (github-safe-artifact-parity, #3412, closed-not-merged), 09-27 (intelligence, #3476, open), 09-28 (memory, #3517, open). 09-16 (security, #3339) remains open/draft awaiting final review on its round-2 hive-mind auth hardening, not stale.

| 2026-09-29 | swarm | UnifiedSwarmCoordinator.spawnAgent()'s auto-domain branch (no domain/agentNumber given) registered the agent but never called pool.add(), unlike the other two branches — assignTaskToDomain() routes exclusively via pool.acquire(), so the agent was invisible to it: a task either scale-up-created a different orphaned agent or queued forever, while the originally spawned agent sat idle and permanently unused | #3538 | #3539 | yes | ACCEPT-scoped | 4 new discriminating tests, baseline-fails-2-of-3/candidate-passes-3-of-3 via stash isolation, independently reproduced byte-identical by an adversarial critic; full @claude-flow/swarm suite 237/237→241/241 (+4 new), 0 regressions, tsc --noEmit clean; independent adversarial critique CONFIRMED-WITH-CAVEATS→fixed (round-1 fix's new pool.add() call threw once a small domain pool, e.g. queen cap 1, was at capacity — a regression vs. baseline's silent-but-buggy success; wrapped in try/catch + new agent.domain_pool_full event, re-verified) | 7fca8c14... | 09-24 (closed-not-merged), 09-27/09-28 (open drafts, not stale); 09-17..09-22 backlog MERGED 2026-09-26; 09-16 still open/draft (round 2), not stale |

Note (2026-09-28): verified via GitHub MCP tools (gh CLI unavailable this session, same FALLBACK-for-gist-only condition since 2026-09-17): a second bulk human-review pass landed 2026-09-26, closing most of the 09-15..09-22 backlog (spot-verified 2/2 as genuinely merged:true via pull_request_read, not trusting search_pull_requests's own unreliable merged field per the 2026-09-21 note) — #3395 (09-22, intelligence) and several others now MERGED. Still OPEN/draft: #3339 (09-16, security, round-2 hive-mind auth, 811 lines — larger scope, human review pending) and #3476 (09-27, intelligence, CLAUDE_FLOW_FISHER_DECAY env override). Also observed: #3412 (dream/2026-09-24-github-safe-artifact-parity, MERGED 2026-09-26) — a real security fix for issue #3411, not a standard Dream Cycle DEEP/SCAN rotation, so not given its own ledger row. No branch/PR found for 2026-09-23, 2026-09-25, or 2026-09-26 — consistent with the recurring no-run-gap pattern (08-20..23, 09-13/14).

Note (2026-10-09): nights 2026-10-01 through 2026-10-08 all ran (real branches + issues + draft/closed PRs confirmed via git ls-remote --heads origin "dream/*" and pull_request_read/list_pull_requests, not inferred) but aren't transcribed as their own rows here — same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19. Fates: 10-01 security #3599 MERGED 2026-10-07; 10-02 intelligence #3622 open/draft; 10-03 memory #3650 open/draft; 10-04 (swarm) is a genuine no-run gap (slot sequence skipped straight to 10-05); 10-05 performance #3754 closed, not merged; 10-06 security #3835 open/draft; 10-07 intelligence #3879 open/draft; 10-08 memory #3909 open/draft. Also newly confirmed merged since the last note: #3339 (09-16 security round 2) and #3539 (09-29 swarm), both 2026-10-07. Prior gist (10-08, memory) scored 9/10 (STEP 1.2: 2+2+2+2+0(1691 words, over the 1500-word cap)+1). pi.ruv.io read-only collective-memory check (STEP 2.1) unreachable this session (connection failure, HTTP status 000) — supplementary signal only, did not block.

| 2026-09-28 | memory | mmrRerank()'s embedding-cosine path (smart-retrieval.ts) recomputed max-similarity-to-selected against the entire selected set on every outer-loop pass (≈O(candidates×selected²)), even after #3169/#3266 already made the Jaccard-fallback tokenization lazy — flagged grade-A by 2026-09-27's own memory scan (still-open #3476) and acted on directly tonight; replaced with a running per-candidate max-similarity cache (one new comparison per candidate per round, folded via Math.max, algebraically identical to recomputing the max from scratch) | #3516 | #3517 | yes | ACCEPT | byte-identical selection order across 5 scenarios (all/none/half-embedded, lambda extremes, a dedicated negative-cosine zero-floor case); wall-clock 686.5ms→<343.3ms (>2x, N=200/limit=100), stash-isolated baseline-fails/candidate-passes on this exact assertion; frozen-copy call-count comparison used instead of vi.spyOn after a debug test showed Vitest's ESM spy can't intercept same-module internal calls (flagged as a likely latent issue in the sibling 09-10 tokenize() call-count test, not fixed retroactively); 564/565 full @claude-flow/memory suite both ways (1 pre-existing environmental failure, unchanged), tsc --noEmit 0 errors both ways | 85e464a6... | 09-16 (#3339) still open/draft; 09-27 (#3476) still open/draft; 09-15..09-22 backlog mostly MERGED in a 2026-09-26 bulk review batch; no-run gap 09-23/09-25/09-26 |

Note (2026-10-06): 2026-09-22 (intelligence, #3394/#3395 — MERGED 2026-09-26, EWC Fisher EMA direction fix) through 2026-10-05 (performance, #3753/#3754 — mmrRerank complexity fix) all ran (verified via git ls-remote --heads origin "dream/*" and pull_request_read/search_pull_requests, not inferred): 09-22(#3394/#3395 intelligence, MERGED 09-26), 09-24(#3411/#3412 security — ad hoc github-safe helper-parity fix, not slot-conforming, MERGED 09-26), 09-27(#3475/#3476 intelligence), 09-28(#3516/#3517 memory), 09-29(#3538/#3539 swarm), 09-30(#3562/#3563 performance), 10-01(#3598/#3599 security — MCP HTTP fail-open auth, still open 5+ days), 10-02(#3621/#3622 intelligence), 10-03(#3649/#3650 memory), 10-05(#3753/#3754 performance) — none transcribed as individual rows here (same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19/09-03/09-05/09-09/09-17/09-20/09-21). A 2026-09-26 batch merge cleared #3350/#3352/#3357/#3378/#3385/#3395 (09-15..09-22 backlog). Confirmed genuine no-run gaps (no branch/issue/PR at all, same verification standard as 08-20..23/09-13..14): 2026-09-23, 09-25, 09-26, and 10-04. Trailing-14 PR merge rate as of tonight: 6/14 (not the "0 of last 14" bias condition) — 8 consecutive unmerged drafts (09-27 through 10-05) at the time of tonight's run, which biased tonight's candidate toward small/single-file/low-regression-risk per STEP 1.1.

| 2026-10-06 | security | advisory .claude/settings.json risk scanner (settings-risk-scanner.ts, #3043) was wired into ruflo init/--upgrade only; wired into hooksSessionRestore too, for explicit ruflo hooks session-restore/MCP hooks_session-restore calls — scoped post-critique (does NOT cover the automatic SessionStart→hook-handler.cjs→session.cjs path, disclosed as follow-up, not silently dropped) | #3834 | #3835 | yes | ACCEPT-scoped | 6 new discriminating tests, 3/6 fail on baseline exactly as predicted via stash isolation, 6/6 pass on candidate; full @claude-flow/cli suite byte-identical FAIL-line diff (full untruncated logs) outside those 3 tests (candidate 16 failed files/20 failed tests/4236 passed vs baseline 17/23/4233); tsc --noEmit byte-identical (9 pre-existing errors); independent adversarial critique found the scope-overclaim, fixed same session (narrowed claim + hardened try/catch to only swallow JSON SyntaxError) | 06aaea84... | 09-22 (intelligence) MERGED 09-26; 09-24 (ad hoc security) MERGED 09-26; 09-27..10-05 (8 nights: intelligence,memory,swarm,performance,security,intelligence,memory,performance) all open/draft, none stale; no-run gaps 09-23/09-25/09-26/10-04 unchanged | | 2026-10-09 | swarm | MessageBus.handleDeliveryError()'s retry re-queue used the broadcast sentinel message.to === 'broadcast' as the queue key instead of the real subscriber agentId enqueue() had fanned the message out to — processQueues() skips any unsubscribed queue, so a failing broadcast subscriber's retries and eventual message.failed were silently dropped into an orphaned queue leaking until shutdown(); explicitly disclosed as a "KNOWN LIMITATION (pre-existing, not fixed here)" by the immediately-preceding #3562/#3563 rewrite, closed tonight by threading subscription.agentId through deliverMessage()→handleDeliveryError()→the re-queue | #3928 | #3929 | yes | ACCEPT | 2 new discriminating tests, baseline-fails/candidate-passes via stash isolation (independently reproduced byte-identical by an adversarial critic's own stash/pop cycle); full @claude-flow/swarm suite 274/274→276/276 (+2 new), 0 regressions, tsc --noEmit clean both ways; healthy co-subscriber in the same broadcast unaffected (explicit regression guard); independent adversarial critique CONFIRMED, no blocking issues | 1b7e818e... | 10-01 #3599 MERGED 2026-10-07; 10-02..10-03/10-05..10-08 open/draft or closed-not-merged (see 2026-10-09 note above); 10-04 no-run gap; also newly confirmed MERGED this session: #3339 (09-16), #3539 (09-29) | | 2026-10-10 | performance | fallbackLouvain()'s communityTotal map was rebuilt via a full O(n) scan of every node, once per node, once per local-moving pass — O(n²) per pass — instead of maintained incrementally like networkx's Stot/python-louvain's status.degrees (O(1) per accepted move); this is the only community-detection path that ever runs (loadRuVector()'s native-acceleration checks for hooks_graph_mincut/hooks_graph_cluster/@ruvector/wasm's GraphAnalyzer, none of which exist in any published ruvector/@ruvector/wasm version, confirmed by direct inspection of the installed ruvector@0.2.27's real exports — correcting 2026-10-09's own "wire the real exports in" recommendation, which had the wrong premise) | #3976 | #3977 | yes | ACCEPT | 4 new discriminating tests (3 correctness + 1 complexity-growth) with a frozen pre-fix copy inline for CI-safe comparison; stash-isolated baseline-fails/candidate-passes on the growth assertion, independently reproduced by an adversarial critic's own stash/pop cycle; standalone tsx probe: baseline 10.37ms→837.29ms (~81x growth, N=200→1600), candidate 5.00ms→22.33ms (~4.5x growth), per-N speedup 2.1x→37.5x; full @claude-flow/cli suite failed-file set byte-identical baseline vs. candidate (200 vs. 199 — the one difference is the new test file itself), tsc --noEmit byte-identical (498 pre-existing errors); independent adversarial critique CONFIRMED, no blocking issues | 81e21481... | 10-01 #3599 MERGED; 10-02/10-03/10-06/10-07/10-08 open/draft, none stale; 10-04 no-run gap; 10-05 #3754 closed as duplicate of #3517 (not a fresh rejection — same fix had already shipped) | | 2026-10-11 | security | settings.json risk scanner (#3043) never ran on the one path that fires automatically on every real session boot — hook-handler.cjs's session-restore command (Claude Code's own SessionStart hook) — a gap #3835 (10-06) itself disclosed as a future-night item; ported the TS scanner's logic (no build step for .cjs) into scanSessionStartSettingsForRisk(), validated against a real 2026 npm-worm campaign ("Mini Shai-Hulud") and CVE-2026-25725, both of which use this exact persistence mechanism | #4052 | #4053 | yes | ACCEPT-scoped (post-critique) | 12 new discriminating tests, stash-isolated 10/12 fail baseline → 12/12 pass candidate; adversarial critic found and this session fixed a non-SyntaxError JSON.parse failure that would have aborted session-restore itself (narrowed catch copied from the opt-in #3835 MCP path onto an unconditional-boot path); related suites 72/72 pass; full @claude-flow/cli suite 207 pre-existing environmental failures unchanged (unbuilt sibling packages), zero touching this change | 016fe07f... | 10-01 #3599 MERGED; 10-02/10-03/10-06/10-07/10-08 open/draft, none stale; 10-04 no-run gap; 10-05 #3754 closed as duplicate; 10-09 #3929, 10-10 #3977 open/draft, not stale. Prior gist (10-10, performance) scored 10/10 (2+2+2+2+1(1489 words)+1) | | 2026-10-13 | memory | AutoMemoryBridge.importFromAutoMemory() was additive-only — never deleted an AgentDB auto-memory entry whose source heading, or whole source file, was removed, so deleted content stayed retrievable via semantic search indefinitely; fixed via a per-source-file key diff against the existing single bulk query (zero schema change, mirrors agentdb-adapter.ts's 09-18 same-key eviction pattern) plus a second pass for whole-file removal, each with a false-full-wipe guard. Handed in by 10-12's own memory scan (#4080 §11); SCAN: plugins (PluginStoreConfig's documented security defaults never read anywhere; confirmed last night's plugin.register test-harness gap), automation (confirmed no in-repo cron drives the nightly trigger; found an un-hardened worker/dispatch MCP tool in @claude-flow/mcp fabricating audit/benchmark results with no disclosure, unlike its hardened CLI sibling) | #4137 | #4138 | yes | ACCEPT-scoped (post-critique) | 7 new discriminating tests, stash-isolated: baseline fails all 7, candidate passes all 7; full @claude-flow/memory suite baseline 606/607 → candidate 611/614 (+7 new; 2 extra failures are CPU-contention-sensitive timing tests in untouched files, confirmed non-deterministic by not reproducing on a repeat baseline run); tsc --noEmit 0 errors both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS — critic found and this session fixed forward a real undisclosed gap (whole-file-removed-from-disk entries were a permanent orphan) plus a vacuous test assertion, before this commit | e32bb677... | 10-09 #3929 MERGED; 10-10 #3977 MERGED; 10-11 #4053 MERGED; 10-12 #4080/#4081 open/draft, not stale (0d old). Prior gist (10-12, intelligence) scored 10/10 (2+2+2+2+1+1) | Note (2026-10-14): 2026-10-12 (intelligence, #4080/#4081 — SONA learning-state persistence wiring into LearningBridge, ACCEPT) and 2026-10-13 (memory, #4137/#4138 — AutoMemoryBridge delete-sync wiring, ACCEPT) both ran (real branches+issues+draft-PRs confirmed via git ls-remote --heads origin "dream/*" and pull_request_read, not inferred) but aren't transcribed as their own rows here — same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19. Both open/draft, neither stale (2d/1d old respectively). Prior gist (10-13, memory) scored 10/10 (2+2+2+2+1(~1490 words)+1). GitHub-verified fates for the full trailing week before tonight's own row: 10-05 #3754 closed, not merged (duplicate of #3517); 10-06 #3835, 10-07 #3879, 10-08 #3909 open/draft, none stale; 10-09 #3929, 10-10 #3977, 10-11 #4053 MERGED; 10-12 #4081, 10-13 #4138 open/draft, not stale. Swarm-surface historical merge rate: 6/6 (08-24, 08-29, 09-09, 09-19, 09-29, 10-09) once reviewed.

| 2026-10-14 | swarm | TaskOrchestrator.getQueuePosition()'s priority map used keys critical/high/normal/low/background — TaskPriority is critical/high/medium/low, and createTask() defaults to 'medium', so the lookup always fell through to 0, ranking default-priority tasks behind even 'low' in the taskQueuedEvent position field; real dispatch (getNextTask/getPriorityQueue) uses a separate, already-correct map and was unaffected. Scan also resolved a direct contradiction between the 10-09 and 10-10 nights: real ruvector@0.2.27 graph exports (minCut/louvainCommunities/buildGraph) DO exist under different names than graph-analyzer.ts's dead detection checks — 10-09 was right, 10-10's "nothing real exists" was wrong | #4173 | #4174 | yes | ACCEPT | 3 new discriminating tests, stash-isolated baseline 278/280 (2 predicted failures) → candidate 280/280, 0 other regressions; tsc --noEmit clean both ways (fix also adds compile-time exhaustiveness via Record<TaskPriority, number>); independent adversarial critique CONFIRMED, no blocking issues | fab09db0... | 10-05 closed-not-merged (dup); 10-06/10-07/10-08 open/draft, none stale; 10-09/10-10/10-11 MERGED; 10-12/10-13 open/draft, not stale | Note (2026-10-15): verified via git ls-remote --heads origin "dream/*" + GitHub MCP tools (not inferred) that 2026-10-12 (intelligence, #4080/#4081), 2026-10-13 (memory, #4137/#4138), and 2026-10-14 (swarm, #4173/#4174) all ran with real branches/issues/draft PRs — same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19; not transcribed as their own rows here. Trailing-7-night fates before tonight (GitHub-verified via pull_request_read): 10-08 #3909 open/draft; 10-09 #3929 MERGED 2026-10-09; 10-10 #3977 MERGED 2026-10-10; 10-11 #4053 MERGED 2026-10-11; 10-12 #4081 open/draft; 10-13 #4138 open/draft; 10-14 #4174 open/draft — none stale (<14d). 10-05 #3754 remains closed-not-merged (duplicate, already recorded). Prior gist (10-14, swarm) scored 10/10 (2+2+2+2+1(1372 words)+1). | 2026-10-15 | performance | RaftConsensus.awaitConsensus() (Ruflo's default hive-mind consensus, reachable via UnifiedSwarmCoordinator.proposeConsensus()) busy-polled this.proposals via setInterval(...,10) even though checkConsensus() already emits 'consensus.achieved' on every accept/reject transition — third instance of a busy-poll bug class already fixed twice (UnifiedSwarmCoordinator #3378, MessageBus #3563); also resolved a 3-night research thread (10-09/10-10/10-14) by confirming ruvector's real minCut/louvainCommunities exports are plain JS, not native-accelerated, so wiring them into graph-analyzer.ts would not be a performance win (REJECT, with evidence, not fixed) | #4214 | #4215 | yes | ACCEPT | 4 new discriminating tests, baseline-fails-3-of-4/candidate-passes-4-of-4 via stash isolation (1 correct non-discriminating control); full @claude-flow/swarm suite 281/281 (277+4 new), 0 regressions, tsc --noEmit clean both ways; standalone wall-clock probe 3.639ms/30 poll-timers → 0.058ms/0 timers (N=30, ~63x mean-latency reduction); independent adversarial critique CONFIRMED, no blocking issues (verified concurrency via 200 simultaneous proposals + same-tick timeout/vote race) | 2ca9c495... | 10-09/10-10/10-11 MERGED; 10-12/10-13/10-14 open/draft, none stale; 10-05 closed-not-merged (duplicate) | Note (2026-10-16): #4053 (10-11, security) and #3977 (10-10, performance) confirmed MERGED via GitHub MCP tools (gh CLI's GH_TOKEN is invalid this session, but MCP tools work fine — not FALLBACK). Confirmed real dream/* branches for every night 10-12 (intelligence, #4081), 10-13 (memory, #4138), 10-14 (swarm, #4174), 10-15 (performance, #4215) via git ls-remote — no run gap, all currently open/draft, none stale. Correction: 10-11's own PR (#4053) cited "CVE-2026-25725" as a future-candidate CVE — direct NVD/MITRE lookup this session found this ID does not resolve to any real record, likely garbled; flagging so it isn't re-cited without a fresh, verified ID. | 2026-10-16 | security | DENYLISTED_ENV_NAMES (validateEnv(), gates terminal_create's caller-supplied env before a persistent merge into every later execSync'd command) missed credential/arbitrary-command vars in the same git family as the already-denylisted GIT_SSH_COMMAND (GIT_ASKPASS, GIT_PROXY_COMMAND), interpreter-flag-injection vars for Perl/Ruby/Java (PERL5OPT/RUBYOPT/JAVA_TOOL_OPTIONS/_JAVA_OPTIONS/JDK_JAVA_OPTIONS), two more search-path vars (PYTHONHOME, CLASSPATH), and git's numbered GIT_CONFIG_KEY_n/VALUE_n/COUNT runtime-config-injection family (added via regex, not a fixed name); PYTHONEXECUTABLE and PSModulePath researched and explicitly rejected on evidence grounds (Grade C / cosmetic) | #4229 | #4230 | yes | ACCEPT-scoped (post-critique) | 19 new tests (18 discriminating + 1 negative control), stash-isolated 18/19 fail baseline → 51/51 pass candidate; full @claude-flow/cli suite byte-identical 60-failure set baseline vs candidate; tsc --noEmit 0 errors both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS → both caveats (an evaluation-writeup arithmetic error, two undocumented-rationale comments) fixed forward same session | fd98a162... | 10-01 #3599 MERGED; 10-10 #3977 MERGED; 10-11 #4053 MERGED; 10-12..10-15 (#4081/#4138/#4174/#4215) all open/draft, none stale; 10-04 no-run gap. Prior gist (10-15, performance) scored 10/10 (2+2+2+2+1(1031 words)+1) | Note (2026-10-18): verified via git ls-remote --heads origin "dream/*" + GitHub MCP search (not inferred) that 2026-10-16 (security, #4229/#4230) and 2026-10-17 (intelligence, #4249/#4250) both ran with real branches/issues/draft PRs — same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19; not transcribed as their own rows here. Trailing-7-night fates before tonight (GitHub-verified via pull_request_read): #4215 (10-15) MERGED 2026-10-17; #4053 (10-11) MERGED; #3977 (10-10) MERGED; #3929 (10-09) MERGED; #3563 (09-30) MERGED; #3539 (09-29) MERGED; #3517 (09-28) MERGED — 7/7 merged, a reversal from the 0/7 pattern noted as of 2026-09-22; #4230 (10-16) and #4250 (10-17) open/draft, neither stale. Prior gist (10-15, performance) scored 10/10 (2+2+2+2+1(1031 words)+1). | 2026-10-18 | memory | ReasoningBank.consolidate() (v3/@claude-flow/hooks/src/reasoningbank/index.ts) deleted pruned/deduplicated patterns from shortTermPatterns/AgentDB via deleteFromStorage() but never called hnswIndex.removePoint(id) — storePattern()'s unguarded addPoint() throws once the HNSW index's maxElements (orphans included) is exhausted, permanently breaking pattern learning in the HooksLearningDaemon's every-60s consolidate() loop even though the index is full of logically-deleted ghosts; fixed with two additive removePoint() calls alongside the existing deletion sites | #4270 | #4271 | yes | ACCEPT | 2 new discriminating tests (prune path, dedup path) against a real built-from-source AgentDB+HNSW backend (@claude-flow/memory+@claude-flow/neural both required building in-session — dist was missing for both, and without it the tests would pass vacuously in in-memory fallback mode, caught via direct internals inspection); stash-isolated baseline fails both exactly as predicted (Index is full, cannot add more elements at the predicted HNSWIndex.addPoint←storePattern call site), candidate passes both — independently reproduced twice (session + a separate adversarial-critic subagent from scratch); full @claude-flow/hooks suite 147/147 (7/7 files), 0 regressions, tsc --noEmit clean; independent adversarial critique CONFIRMED, no blocking issues | b2ad8c15... | 10-09/10-10/10-11/09-28/09-29/09-30/10-15 MERGED (7/7); 10-16 #4230, 10-17 #4250 open/draft, neither stale | Note (2026-10-19): verified via GitHub MCP tools (gh CLI unavailable this session, same fallback since 2026-09-17) before tonight's own row: 2026-10-16 (security, DENYLISTED_ENV_NAMES git/perl/ruby/java hijack family, #4229/#4230) ran with a real branch/issue/draft PR, not transcribed as its own row here (same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19); still open/draft with 1 pending reviewer comment as of tonight, 3d old, not stale. 2026-10-17 (intelligence, agentdb-backend.ts calling a native HNSW controller that never existed, #4249/#4250) and 2026-10-18 (memory, ReasoningBank.consolidate() HNSW orphan leak, #4270/#4271) both ran with real branches/issues/open draft PRs, confirmed via search_pull_requests; neither transcribed here either. Trailing-7-night fates before tonight (via pull_request_read, authoritative — search_pull_requests's own merged field remains unreliable per the 2026-09-21 note): 10-09 #3929 MERGED; 10-10 #3977 MERGED; 10-11 #4053 MERGED; 10-12 #4081 open/draft; 10-13 #4138 open/draft; 10-14 #4174 open/draft (mergeable_state: dirty); 10-15 #4215 MERGED 2026-10-17 — none of 10-12..10-18 stale (<14d). | 2026-10-19 | swarm | TopologyManager.electLeader()'s hierarchical/centralized branches read the cached queenNode/coordinatorNode, nulled by removeFromRoleIndex() on death with no replacement, and silently fell through to generic mesh-style ranking — electing a leader without ever promoting its .role, so getQueen()/getCoordinator() returned undefined forever after exactly one death despite failoverEnabled: true (default) documenting failover; added promoteToRole(), gated on that same flag, re-using the existing role-index cache pair | #4285 | #4286 | yes | ACCEPT | 3 new discriminating tests, baseline-fails-2-of-3/candidate-passes-3-of-3 via stash isolation (1 correct non-discriminating failoverEnabled:false control); full @claude-flow/swarm suite 335/335 (332+3 new), 0 regressions, tsc --noEmit clean both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS — 1 caveat (promotion doesn't rewire connections/adjacency, self-healing under default autoRebalance:true) disclosed in-source as a KNOWN LIMITATION comment, 2 others (insertion-order candidate pick, no new locking) confirmed to match pre-existing class-wide convention, none blocking; confirmed zero blast-radius into raft/byzantine/gossip consensus | 7cf5c70f... | 10-09/10-10/10-11/10-15 MERGED; 10-12/10-13/10-14/10-16/10-17/10-18 open/draft, none stale | Note (2026-10-20): trailing-7-night fates verified via GitHub MCP tools (gh CLI's GH_TOKEN invalid, MCP tools work fine — not FALLBACK) before tonight's own row: #4230 (10-16, security) MERGED; #4250 (10-17, intelligence) open/draft, not stale; #4271 (10-18, memory) MERGED; #4286 (10-19, swarm) MERGED. No no-run gaps in the trailing window. Rotation override disclosed: tonight's SLOT=0 rotation assigns DEEP=performance, but the implemented candidate below came from the security SCAN surface instead (precedent: 2026-09-24 #3411/#3412) — it scored 5.0/5 on the same candidate rubric used for the two deferred performance findings (CacheManager.estimateSize() redundant stringify, score 4.85; AttentionCoordinator embedding-cache miss, score 4.70 — both documented in full in issue #4312/gist for a future night), vs. their 4.85 max, and was HIGH severity/live-exploitable rather than a latent inefficiency. | 2026-10-20 | security (SCAN override of performance DEEP, see note above) | hooks_codemod MCP tool's resolveTargets() path-containment check used an unanchored abs.startsWith(cwd) string-prefix comparison — since path.resolve(cwd, p) returns an already-absolute p unchanged, a sibling directory merely starting with the project directory's name (e.g. cwd-staging) passed containment, letting this live, CLAUDE.md-recommended Tier-1 tool read and write (dryRun defaults false) outside the project root (CWE-22); anchored both call sites (file/files[] and glob branches) at a path-separator boundary, matching the already-correct isWithinPrefix() pattern used elsewhere in this exact codebase (@claude-flow/security, @claude-flow/hooks/workers, @claude-flow/plugins/security) | #4312 | #4313 | yes | ACCEPT | 4 new tests (2 discriminating, real temp-dir fs I/O; 2 non-discriminating controls); stash-isolated baseline fails both escape tests exactly as predicted (file genuinely overwritten outside root, not simulated), candidate 4/4 pass — independently reproduced twice (session + a separate adversarial-critic subagent from scratch, which also built its own symlink-escape repro); related suites (mcp-tools-deep, validate-input-*, codemod-*) 229/229 both ways (twice-reproduced); tsc --noEmit byte-identical 9 pre-existing errors; full @claude-flow/cli suite ~480/503 both ways, same ~21-22 pre-existing-failure set by name untouched by this change (second full-suite run disclosed as contaminated mid-run by this session's own revert/restore cycle, not relied on); independent adversarial critique CONFIRMED-WITH-CAVEATS — 1 non-blocking caveat (symlink-based containment bypass, CWE-59, distinct/broader gap) disclosed in-source as a KNOWN LIMITATION comment rather than fixed, deferred to a future realpath-hardening night | d501ab48... | 10-09/10-10/10-11/10-15/10-16/10-18/10-19 MERGED (7/7 of trailing window with a decision); 10-17 #4250 open/draft, not stale | | 2026-10-26 | security | http_fetch's isPrivateOrLoopback() SSRF guard (v3/@claude-flow/cli/src/mcp-tools/http-fetch-tools.ts) never stripped the [...] brackets Node's URL parser keeps on IPv6 literals — silently dead-coding the existing fc00::/7/fe80::/10 checks AND leaving IPv4-mapped-IPv6 literals (::ffff:127.0.0.1, ::ffff:169.254.169.254) completely unchecked, a live reproduced SSRF bypass reaching loopback/cloud-metadata; fixed by stripping brackets once and decoding IPv4-mapped forms into the existing IPv4 rules (one root-cause fix, not two). SCAN: intelligence (EWC++ Fisher map in SONAManager never populated — consolidateEWC() has zero callers, "prevents forgetting" is a silent no-op; new finding, deferred), swarm (10-25's deferred TopologyManager role-bug finding confirmed already fixed by an external PR #4483 citing our own #4481). Architecture review also found .harness/mcp-policy.json falsely claims zero shell/network tool surface — terminal_execute/http_fetch both contradict it (score 4.55, deferred as a design question, not a unilateral patch) | #4503 | #4504 | yes | ACCEPT | 13 new tests (8 discriminating, 5 controls), stash-isolated baseline 8/8 fail exactly as predicted → candidate 37/37 pass, independently reproduced by a fresh-context adversarial critic; scoped-but-wider related-suite run (109 tests) 12 pre-existing failures confirmed byte-identical on the true pre-fix commit (unbuilt @claude-flow/mcp sibling, unrelated); full-suite run timed out at 300s (environmental); tsc --noEmit 0 errors touching changed files either way (raw aggregate count noisy, 80↔510, same unbuilt-sibling cause, disclosed); independent adversarial critique CONFIRMED-WITH-CAVEATS — 2 non-blocking pre-existing gaps (IPv6 ::/multicast/NAT64 unblocked) disclosed in-source as KNOWN LIMITATION | 9294b5d7... | 10-19/10-20 MERGED; 10-21/10-22/10-23/10-24/10-25 open/draft, none stale (<14d); merge rate 2/7 trailing window, not zero | | 2026-10-27 | intelligence | SONAManager's EWC++ Fisher map (v3/@claude-flow/neural/src/sona-manager.ts) was permanently empty — nothing ever wrote to ewcState.fisher/.means, consolidateEWC() had zero callers, every computeEWCPenalty/computeEWCLoss call across all 5 modes returned exactly 0, forever, in the production-reachable path (NeuralLearningSystem → @claude-flow/memory's learning-bridge.ts); directly acting on 10-26's own carried-forward recommendation #3. Wired BalancedMode's (default-mode-only) existing gradientAccumulator into a real delta-based Fisher/means snapshot via a new getConsolidationSnapshot(), folded into ewcState by consolidateEWC()'s existing decay step + additive accumulation (online EWC), mirroring a proven-but-unwired reference pattern in v3/plugins/cognitive-kernel/src/bridges/sona-bridge.ts. Also removed 18 stale, never-.gitignored, circularly-broken build artifacts (.js/.d.ts/maps/tmp.json) under src/modes/ that were blocking any vitest test of this subsystem from running at all. SCAN: capabilities (.harness/mcp-policy.json's false shell/network-surface claim still unenforced even after the interim policy-enforcer.ts fix, score 4.45, deferred), memory (CacheManager.clear() reports previousSize:0 always — reads .size after .clear(), score 4.45, deferred) | #4531 | #4532 | yes | ACCEPT-scoped (post-critique) | 4 new tests, stash-isolated 3/4 fail baseline → 4/4 pass candidate (1 non-discriminating control); full @claude-flow/neural suite 139/139→143/143, 0 regressions, tsc --noEmit 0 errors both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS — found a real round-1 divergence bug (squaring the raw lifetime-cumulative accumulator instead of a delta, proved to diverge: 25 cycles 0.00012→0.68), fixed forward same session to a delta-based snapshot; tracing further surfaced a second, deeper, separate, pre-existing cause of residual growth (triggerLearning() reprocesses the full historical trajectory backlog every call, no "already learned from" tracking) — disclosed, not fixed, named as the priority follow-up ahead of ever wiring the penalty into a real gradient update; 2 minor nits (an overclaimed single-cycle test identity, an incomplete stale-artifact cleanup) also fixed forward | 7b524483... | 10-20/10-26 MERGED; 10-21/10-22/10-23/10-24/10-25 open/draft, none stale; merge rate 2/7 trailing window, not zero | | 2026-10-28 | memory | memory-bridge.ts's post-init controller-activation wiring (reasoningBank/learningSystem/skills/semanticRouter/gnnService/rvfOptimizer/mutationGuard/attestationLog/guardedVectorBackend, 9 controllers via 7 call sites) gated registration on typeof reg.set === 'function', falling back to an unread reg._controllers property; ControllerRegistry never implemented a public set() method, so every activation silently took the dead fallback since this wiring was added — guardValidate()/logAttestation() always found get('mutationGuard')/get('attestationLog') null, permanently disabling write-mutation validation (fail-open) and audit logging (silent no-op) on real store/delete/purge paths. Same bug shape as the already-fixed #3327 Finding A. SCAN: plugins (identical dead-config anti-pattern reproduced in @claude-flow/plugin-agent-federation's SecurityPolicy.minTrustLevelForSpawn/etc., gating cross-node agent spawning; new finding, deferred), automation (hooks_worker-detect auto-dispatch fabricates completed workers with zero disclosure, unlike its hardened sibling hooks_worker-dispatch; worker-daemon.ts's default-on critical-priority audit worker fabricates noHardcodedSecrets:true/riskLevel:'low' with no scan performed, every 10 min by default; both new findings, deferred) | #4549 | #4550 | yes | ACCEPT-scoped (post-critique) | 6 new discriminating tests (5 round-1 + 1 post-critique), stash-isolated baseline fails 5/5 round-1 (registry.set is not a function, independently confirmed via tsc TS2339 too) → candidate 82/82 → 83/83; full @claude-flow/memory suite 651/652 both ways (1 pre-existing environmental chmod/root-bypass failure, byte-identical, independently re-confirmed by the critic); tsc --noEmit 0 errors both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS (fresh worktree, fetched and checked out the real pushed commit after an initial attempt correctly rejected reviewing an empty worktree) — found a real issue (set() silently orphaned a pre-existing resource-holding instance on overwrite, same leak class as #2432, not currently triggerable through shipped call sites but unprotected at the API level), fixed forward same session via the existing closePriorIfAny(); a second gap (causalRecall absent from every INIT_LEVELS entry, so shutdown() would never find a controller registered under that name) disclosed as a KNOWN LIMITATION, not fixed (needs a human call on init-level ordering) | 5f0e5fdd... | 10-15/10-16/10-18/10-19/10-20/10-26/10-27 MERGED (7/7 of trailing window with a decision); 10-21/10-22/10-23/10-24/10-25 open/draft, none stale. Prior gist (10-27, intelligence) scored 10/10 (2+2+2+2+1(1494 words)+1) | Note (2026-10-30, backfill): 2026-10-29's row was never appended — a real branch/issue/PR exist (dream/2026-10-29-swarm, #4572, #4573, confirmed via git ls-remote/pull_request_read), so the pipeline ran; STEP 25's "ledger update always happens" invariant was simply missed that night. Backfilled below from #4572/#4573 directly, verified against the live PR/issue content, not fabricated. | 2026-10-29 | swarm | agent_spawn (v3/@claude-flow/cli/src/mcp-tools/agent-tools.ts) pushed into swarm.agents with zero check against swarm.maxAgents, silently unenforceable for every real swarm despite root CLAUDE.md's own anti-drift cap; sibling team_spawn's roster already refused the analogous case. Hoisted the roster check before the store write. SCAN: ruview-integration (overturned 10-24's "orphaned module" framing for product-plane.ts with ADR-326's real cross-repo-federation explanation), ruvector-integration (confirmed q-learning-router.ts's createQLearning probe targets the wrong package — @ruvector/core is a vector DB, not RL; a real working createQLearning() sits unused in @claude-flow/neural; also confirmed graph-analyzer.ts's dead ruvector checks for the 5th time — closed REJECT-with-evidence) | #4572 | #4573 | yes | ACCEPT | 6 new tests (2 discriminating, 4 controls), stash-isolated baseline fails 2/6 exactly as predicted → candidate 6/6; wider related-suite 30/30 both ways; tsc --noEmit 27 pre-existing errors, none in changed files; independent adversarial critique CONFIRMED-WITH-CAVEATS — 2 non-blocking caveats (pre-existing CLI-handler success-check gap; disclosed TOCTOU race on the swarm store, no locking exists there today) | 1725917a... | 10-20/10-26/10-27/10-28 MERGED; 10-21/10-22/10-23/10-24/10-25 open/draft, none stale; 10-24 #4459 now mergeable_state: dirty (flagged, not actioned) | | 2026-10-30 | performance | AttentionCoordinator.getOrCreateEmbedding() (v3/@claude-flow/swarm/src/attention-coordinator.ts) rebuilt a synthetic content-hash Float32Array from scratch on every call for AgentOutputs with no pre-supplied embedding, even though every coordination mechanism (flash/multi-head/hyperbolic/graph-rope) calls it O(n²)/O(numHeads·n²) times per coordinateAgents() — twice-deferred finding (2026-10-20, 2026-10-25), closed via an identity-keyed WeakMap memoization cache. Overrode the night's highest-scoring candidate (Anthropic-provider cache-telemetry blind spot, 5.00/5 — deferred as accounting/telemetry with no throughput story to benchmark, strong next-night pick) in favor of this one (4.65/5, strongest cross-validated evidence of the night, closes a real carryover). SCAN: security (http_fetch SSRF-via-DNS-rebind — allowlist never resolves hostnames before the private/public decision, new finding, deferred), hive-mind (RaftConsensus's actual no-transport production path skips vote-once-per-term/log-up-to-date checks that exist correctly in two other unreachable code paths in the same file, new finding, deferred) | #4597 | #4598 | yes | ACCEPT-scoped (post-critique) | 6 new tests (2 discriminating, 4 controls), stash-isolated baseline fails 3/6 exactly as predicted → candidate 6/6, independently reproduced from scratch by a separate adversarial-critic subagent; full @claude-flow/swarm suite 367/367 (361+6 new), 0 regressions; tsc --noEmit 0 errors both ways; standalone wall-clock probe (multi-head, 5-trial median) n=20/50/100: 25.927ms→1.070ms (~24.2x) / 158.119ms→4.655ms (~34.0x) / 652.951ms→16.550ms (~39.5x), independently reproduced on different hardware by the critic (~17x/~22x/~27x, same direction/growth trend); independent adversarial critique CONFIRMED-WITH-CAVEATS — 1 caveat fixed forward (identity-keyed-cache mutate-and-reuse staleness risk, no current caller triggers it, disclosed as an in-source KNOWN LIMITATION comment), 1 disclosed not fixed (2 of 6 tests reach into private internals via as any, inconsistent with this package's test-through-public-API convention, no other surface exists to assert an identity-cache implementation detail against) | 15677419... | 10-20/10-26/10-27/10-28 MERGED (4/4 of trailing window with a decision); 10-29 #4573 open/draft (just opened last night, not stale); 10-21/10-22/10-23/10-24/10-25 open/draft, none stale; 10-24 #4459 mergeable_state: dirty, not actioned. Prior gist (10-29, swarm) scored 10/10 on the same rubric per its own issue §2 | Note (2026-10-31): 2026-10-29 (swarm, real branch dream/2026-10-29-swarm confirmed via git ls-remote --heads origin "dream/*") and 2026-10-30 (performance, dream/2026-10-30-performance) both ran but aren't transcribed as their own rows here — same "ledger rows only reach main via PR merge" structural gap noted since 2026-08-19; no no-run gap. Trailing-7-night fates verified via GitHub MCP tools (gh CLI's GH_TOKEN invalid, MCP tools work fine — not FALLBACK) before tonight's own row: #4504 (10-26, security) MERGED 2026-10-26; #4532 (10-27, intelligence) MERGED 2026-10-27; #4550 (10-28, memory) MERGED 2026-10-28; 10-29/10-30 too recent to call (branches exist, PR state not checked tonight to protect research budget per STEP 0.6). Prior gist (10-28, memory) scored 10/10 (2+2+2+2+1(1346 words)+1). | 2026-10-31 | security | PolicyEngine.evaluateMessage() (v3/@claude-flow/plugin-agent-federation/src/application/policy-engine.ts) gated federation messages only via the hardcoded CAPABILITY_GATES table (trust-level.ts) — SecurityPolicy.minTrustLevelForWrite/Memory/Spawn were declared, defaulted, and accepted as constructor overrides but never read anywhere (confirmed by exhaustive grep, zero read sites). By default this let memory-query/memory-response through at TrustLevel.ATTESTED, one level below the policy's own stated minTrustLevelForMemory: TRUSTED — a live, zero-override default-config gap at the one production call site (plugin.ts:289, no override). Same "declared-but-dead-config" anti-pattern as 10-28's ControllerRegistry.set() fix, which explicitly flagged this exact file as a deferred SCAN finding; acted on directly tonight. Added a per-message-type policy-category check layered as an additional AND-restriction on top of CAPABILITY_GATES (never a replacement — a loosened override cannot bypass that hardcoded floor, tested) | #4618 | #4619 | yes | ACCEPT-scoped | 10 new discriminating tests, stash-isolated baseline fails 3/10 exactly as predicted (memory-query/response wrongly allowed at ATTESTED; a tightened override had zero effect) → candidate 10/10 pass; full @claude-flow/plugin-agent-federation suite 677/677 both ways except those 3 (29 files, 0 regressions); tsc --noEmit 5 pre-existing unrelated module-resolution errors (isolated-install artifact) byte-identical both ways, policy-engine.ts itself 0 errors either way; independent adversarial critique (fresh context, re-ran stash-isolation and full suite itself) CONFIRMED core bug + PASS shippability, disclosed one scope caveat not fixed tonight (allowedMessageTypes omits claim-event/agent-handoff, so this fix's write/spawn coverage for those two types is currently unreachable in production until a future allow-list change — the fixed memory/write/spawn gap that is live today covers message types already in the default allow-list) | af2860e1... | 10-26/10-27/10-28 MERGED (3/3 of trailing window with a decision); 10-21..10-25 open/draft, none stale; 10-29/10-30 too recent to call. Prior gist (10-28, memory) scored 10/10. Env-denylist-extension direction (06-11/09-21/10-16) now 3x-recurred — deliberately NOT continued tonight per STEP 1.1 | | 2026-11-01 | security | Directly continuing 10-31's own disclosed Recommendation #2: PolicyEngine.evaluateMessage()'s getOperationForMessageType() had no case for trust-change/topology-change (the two federation message types that mutate a peer's trust level or the mesh topology itself) — both fell through default: return 'send', the same data-plane floor as ordinary messages, granted from ATTESTED, with no SecurityPolicy-configurable threshold at all (unlike write/memory/spawn, fixed 10-31). Confirmed live/reachable at both call sites (federation-coordinator.ts:282 outbound, plugin.ts:485 inbound via the Ed25519-verified dispatcher); both message types already in DEFAULT_SECURITY_POLICY.allowedMessageTypes and CONSEQUENTIAL_MESSAGE_TYPES, so not a reachability-gated fix like 10-31's own deferred caveat. Added a dedicated admin-change CAPABILITY_GATES entry (TRUSTED+) plus a new minTrustLevelForAdmin policy field, mirroring the write/memory/spawn shape. SCAN: intelligence (SONAManager's 10-27 EWC Fisher-map fix only wired BalancedMode's snapshot method — edge/real-time/research/batch modes get zero catastrophic-forgetting protection, new finding, deferred), swarm (TaskOrchestrator.failTask()'s retry path never calls agentRegistry.completeTask(), permanently stranding the owning agent's currentTask/status on every retried task — distinct lifecycle-leak bug from 10-14's lookup-table typo in the same file, new finding, deferred) | #4633 | #4634 | yes | ACCEPT | 7 new tests (4 discriminating, 3 controls), stash-isolated baseline fails 4/17 exactly as predicted → candidate 17/17 pass; full @claude-flow/plugin-agent-federation suite 684/684 (677+7 new), 0 regressions; tsc --noEmit 5 pre-existing unrelated module-resolution errors (isolated-install artifact) byte-identical with/without candidate, 0 errors in changed files; independent adversarial critique (fresh context, independently re-ran stash isolation + full suite, independently confirmed reachability via the Ed25519-verified inbound dispatcher and real peer-registry state on outbound) CONFIRMED core bug + PASS shippability; 2 non-blocking caveats (pre-existing claim-event/agent-handoff fallthrough, already covered by 10-31's own disclosed allow-list gap; an uncited "Identiverse 2026" editorial source comment, trimmed same session) | 0ecc3499... | 10-26/10-27/10-28 MERGED (3/3 of trailing window with a decision); 10-29/10-30 real branches confirmed, too recent to call; 10-31 #4619 MERGED (now HEAD-1 on main, this session's own base). Prior gist (10-31, security) scored 9/10 — first miss on the <1500-word point since a long compliant streak (1541 words); 2+2+2+2+0+1 | Correction (2026-11-01, post-review via PR #4634 comment thread, verified against repo source same session): the 11-01 row above overstates in-repo reachability. An accepted inbound trust-change/topology-change message only reaches inbound-dispatcher.ts's generic eventBus.emit(\federation:inbound:${message.type}`, ...)— per ADR-109's explicit "event emission, not direct callback" design, nothing in this package subscribes to that event itself; acting on it is the integrator's job.plugin.ts:263's separate federation:trust-changeemission comes fromTrustEvaluator's own interaction-scoring callback, not from inbound messages. So the fix closes a real authorization-boundary gap at the gate governing what reaches any integrator-registered listener, not a live, self-contained in-repo privilege escalation. The fix, its 7 tests, and the defense-in-depth property are all unaffected — only the reachability framing in the issue/PR write-up was corrected (not the witnessed gist text, per the 2026-10-16 precedent of recording a correction here rather than re-editing/re-witnessing a prior night's gist). Also noted: PR #4580 (external contributor, open since 10-29) proposes the same write/memory/spawn-floor fix already shipped 10-31 via #4618/#4619 — flagged for a maintainer to close as superseded, not actioned from this session since it isn't this session's PR. **Note (2026-11-10):** confirmed via GitHub MCP tools before tonight's own row: a genuine 5-night run gap 11-03 through 11-07 (no branch/issue/PR for any date, already disclosed by the 11-08/11-09 nights, not re-investigated further). 11-02 (intelligence, #4659/#4660) still OPEN/draft, 8 days, not stale. 11-08 (memory, LearningBridgepost-consolidation signal-starvation fix, #4884) closed via PR #4910 **CLOSED, not merged**. 11-09 (swarm,QueenCoordinatorfailover/delegation-cap fix, #4902) closed via PR #4908 **MERGED**, plus a follow-on release PR #4927 **MERGED**. Both 11-08 and 11-09 ran with real detailed issues but neither pushed adream/branch (STEP 20-24 silently skipped or diverged from convention both nights — #4908/#4910 exist as PRs without a matchingdream/2026-11-08-memory/dream/2026-11-09-swarmbranch ingit ls-remote), a distinct gap from the already-tracked "ledger rows only reach main via PR merge" issue; worth a future automation/meta night's attention. Trailing-decided-PR merge rate: 7/9 merged over the last 9 nights with a decision (11-08's #4910 is the one non-merge). **Note (2026-11-11, resolved post-row):** the dream/2026-11-10-hive-mindbranch (not mentioned by the 2026-11-10 note above) is a disclosed SCAN override: 2026-11-10 wasDEEP=performance, SCAN=security,hive-mind, and its own issue #4937 explicitly scored the hive-mind-surface RaftConsensuslegacyrequestVote()finding (4.9/5) above every performance-DEEP candidate considered (next-best 3.95) and named the 2026-09-24/2026-10-20 override precedent — not an undisclosed deviation. Confirmed via GitHub MCP: issue #4937, PR #4938, **MERGED** 2026-11-10. 11-10's own gist publish was blocked by the auto-mode permission classifier ("Public Data-Sharing Upload" denial, not agh-auth failure — a third distinct cause beyond the usual FALLBACK, also seen 11-08/11-09), full report embedded in #4937 §13 instead. 11-10 did not itself score a prior gist (it scored 11-09's, 10/10, embedded in #4902). Tonight's own STEP 1.2 prior-gist score is still **not scored** below — the fate-check that surfaced the above also produced a real, useful supplementary swarm finding (see issue #4960's own follow-up comment: RaftConsensus.appendEntries()'s legacy path still has zero log-contiguity check, directly adjacent to and explicitly deferred by 11-10's own fix — a strong ~4.65/5 candidate for a near-future swarm/hive-mind night) but did not return a clean 11-10-gist score before this row was finalized. **Backfill note (2026-11-16, STEP 1):** 2026-11-12/13/14 each pushed a real dream/branch with an evaluated, witnessed draft PR (confirmed viagit ls-remote+ PR body, not assumed — see STEP 1 guard against inferring failure from a sparse table), but none appended its ledger row (a real STEP 25 gap, three nights running). Backfilled below from each PR's own evaluation receipt. 2026-11-15 (performance slot) has nodream/*` branch at all — a genuine skipped night, not backfilled (no evidence to backfill from).

| 2026-11-12 | intelligence | SONAManager.triggerLearning() (v3/@claude-flow/neural/src/sona-manager.ts) re-filtered the entire trajectory backlog every cycle with no "already learned from" marker, continuing 10-27's own disclosed follow-up. Added Trajectory.learnedFrom flag set post-learn() success. Post-critique correction: fix removes the O(backlog-size) multiplier on EWC-means growth but leaves a deeper O(cycle-count) unbounded-accumulator cause (in BalancedMode.accumulateGradient()) disclosed, not fixed — named top follow-up | #4972 | #4973 | yes | ACCEPT-scoped (post-critique) | 4 new tests, stash-isolated 3/4 fail baseline → 4/4 candidate; full @claude-flow/neural suite 152/152 (148+4), 0 regressions; tsc --noEmit clean both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS — found and disclosed the deeper unbounded-accumulator growth the original write-up overclaimed as fixed | 4cfe2017... | gist local-only (dream-gist-2026-11-12.md), remote publish not attempted this row; not yet merged, 4 days old, not stale | | 2026-11-13 | memory | ControllerRegistry.initialize()'s INIT_LEVELS never listed causalRecall, so get('causalRecall') always returned null despite a correct, already-written createController() case (same declared-but-unreachable-config shape as 10-28's .set() fix). Added causalRecall to Level 4 | #4982 | #4983 | yes | ACCEPT (evaluated) | 2 new discriminating tests, stash-isolated baseline fails as predicted → 94/94 candidate; full @claude-flow/memory suite 717/718 (1 pre-existing unrelated environmental failure, byte-identical); tsc --noEmit clean both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS (1 non-blocking comment-accuracy nit, fixed forward) | 6d7d059d... | gist local-only (dream-gist-2026-11-13.md), gh gist create blocked by proxy policy (HTTP 403, not a GH-auth failure); not yet merged, 3 days old, not stale | | 2026-11-14 | swarm | ByzantineConsensus/GossipConsensus never called setMaxListeners(0) despite the identical per-proposal listener-growth pattern RaftConsensus already guards against (raft.ts:60-64) — real MaxListenersExceededWarning under >10 concurrent proposals. Mirrored Raft's existing guard in both constructors | #4988 | #4989 | yes | ACCEPT | 2 new discriminating tests, stash-isolated baseline captures the real warning → 6/6 candidate; full @claude-flow/swarm suite 382/382 (380+2), 0 regressions, tsc --noEmit clean; independent adversarial critique confirmed no evaluator gaming, re-ran baseline from scratch, 50-concurrent-proposal stress test clean | 0e31d2b1... | gist local-only (dream-gist-2026-11-14.md), gh gist create blocked by proxy policy (HTTP 403); not yet merged, 2 days old, not stale | | 2026-11-11 | security | v3/@claude-flow/cli/src/init/settings-risk-scanner.ts's scanAllowRuleForRisk() (the heuristic ruflo init --upgrade runs against a target project's existing .claude/settings.json) flagged permissions.allow rules pre-approving bash/sh/python/ruby/perl/curl/wget+dangerous-words with no per-call confirmation, but had no entry for node/deno/bun/php — GTFOBins-documented shell-breakout interpreters in the same tier as the four already covered. This repo's own committed .claude/settings.json (lines 14/29) carries a live, unscoped Bash(node:*) allow-rule this exact scanner silently passed as clean before tonight; confirmed not a documented design tradeoff (ruflo init's own generateSettings() never emits a node-related allow rule by default, so the gap wasn't forced by avoiding a false positive on Ruflo's own output). Fixed via a new INTERPRETER_WORDS list feeding only RISKY_PREAPPROVE_WORDS, deliberately kept out of SHELL_EXEC_WORDS so the separate scanCommandStringForRisk (hook command strings, where node <script> is legitimate) stays untouched. Also corrected a stale 2026-10-30 deferred finding: http_fetch's DNS-rebind SSRF gap is already closed (http-fetch-pinned.ts's pinnedLookup, ADR-164 §5.1.8) — no action needed, REJECT-with-evidence on reopening it. SCAN: intelligence (10-27/11-01's EWC++ per-mode gap confirmed still open tonight, mitigated since every mode-construction site defaults to 'balanced' — narrower blast radius than previously framed; third disclosure without action), swarm (11-01's TaskOrchestrator.failTask() agent-stranding finding confirmed already fixed via direct code read of releaseWorker() — not reused) | #4960 | #4961 | yes | ACCEPT | 10 new/extended tests (settings-risk-scanner.test.ts + a CJS/TS parity case), stash-isolated baseline fails 5/54 exactly as predicted → candidate 54/54 pass, 75/75 across all three affected test files after the critic's own fix + this session's follow-up regression test; benchmark-corpus recall 0.75→1.0, precision 1.0 both ways (0 false positives); tsc --noEmit 512 pre-existing unrelated errors (unbuilt siblings) byte-identical per the critic's own line-for-line diff, 0 in changed files; full-package suite timed out at 170s (environmental); independent adversarial critique (fresh context, re-ran stash-isolation + tsc diff itself, independently verified the live Bash(node:*) rule rather than trusting the write-up) CONFIRMED + PASS, and on its own initiative found and fixed forward a real cross-file parity gap (this session's TS-only change would have left the hook-handler.cjs CJS mirror used by the session-restore boot hook out of sync on these exact cases) plus extended the parity test; one remaining caveat (untested prefix-collision safety for nodemon/phpunit/bunx/denoland, verified correct by hand) closed same session with a dedicated test | 6bfe9cf4... | 10-26/10-27/10-28 MERGED (per 2026-11-01's confirmed state, not re-verified tonight); 10-31 #4619 MERGED; 11-01 #4634 status not re-checked tonight (budget — see pre-row note above); 11-02 #4660 open/draft as of 11-10's note, 9 days old, not stale; 11-08 #4910 CLOSED not merged; 11-09 #4908/#4927 MERGED; dream/2026-11-10-hive-mind (#4937/#4938, disclosed SCAN override, RaftConsensus legacy requestVote() fix) MERGED. Prior-night gist score: not scored (see note above) | | 2026-11-12 | intelligence | v3/@claude-flow/neural/src/sona-manager.ts's triggerLearning() re-filtered the ENTIRE this.trajectories map on every call with no "already learned from" marker — any trajectory surviving pruneTrajectories()'s quality-based eviction got re-fed into BalancedMode.learn()'s gradient accumulation / EWC Fisher update on every subsequent cycle, purely from replay. Disclosed-but-not-fixed 2026-10-27 (#4531/#4532's own docstring, named "a priority future-night candidate"); picked up directly tonight. Fixed via new Trajectory.learnedFrom marker gating the filter. Independent adversarial critique then found the fix is real but narrower than first claimed: it stops replay of stalled (no-new-completions) trajectories, but BalancedMode's gradientAccumulator/ewcState.means are never reset at all (only on initialize()/cleanup()), so under ordinary continuous operation (one genuinely-new, similar-content trajectory per cycle) the SAME 6.59x/2.03x growth curve originally attributed to the pre-fix baseline still occurs on the fixed candidate — independently reproduced twice more this session, byte-identical numbers. This deeper bug is disclosed, not fixed, and carried forward as tonight's top candidate. Rejected the already-3x-disclosed EWC-per-mode wiring gap (10-27/11-01/11-11) per STEP 1.1 — this is a different bug in the same subsystem. SCAN: capabilities (claims.ts checkCommand fails open on config error — new, deferred, score 3.5/5), memory (memory compress --quantize CLI/MCP schema mismatch, always prints "Quantization: No"/"Duration: NaNs" — new, deferred, score 3/5) | #4972 | #4973 | yes | ACCEPT-scoped (post-critique) | 4 new discriminating tests, stash-isolated baseline fails 3/4 exactly as predicted → candidate 4/4; full @claude-flow/neural suite 152/152 (148+4 new), 0 regressions, tsc --noEmit clean both ways; standalone growth probe confirms baseline/pre-fix-equivalent-scenario growth 0.000065→0.013917→0.091778→0.189414→0.384688 (cycles 1/30/150/300/600, linear, not plateauing) persists on the candidate under continuous-new-trajectory input, while the narrower zero-new-trajectories scenario the hypothesis actually covers is correctly flat; independent adversarial critique CONFIRMED-WITH-CAVEATS — found and this session verified a real overclaim in the original docstring/gist draft ("flat 1.000x" was only true for the narrower sub-case), corrected before publication rather than shipped as written | 4cfe2017... | 11-11 #4961 MERGED (confirmed tonight); 10-26 through 11-10 MERGED where a decision exists (per prior nights' notes, not re-verified tonight — budget); 11-08 #4910 CLOSED-not-merged; 11-02 #4660 status not re-checked tonight. Prior gist (11-11, security) scored 9/10 (2+2+2+2+0(2065 words, over cap)+1) | | 2026-11-10 | hive-mind (SCAN override of performance DEEP, see issue #4937 §3 for the override rationale) | RaftConsensus's no-transport "legacy in-process" requestVote() path (v3/@claude-flow/swarm/src/consensus/raft.ts) granted votes on a bare currentTerm > peer.currentTerm comparison — no vote-once-per-term check, no log-up-to-date check — unlike the transport RPC path and handleInboundRaftMessage() a few lines above it, both of which correctly implement Raft §5.2/§5.4. Confirmed production-reachable (no call site in v3/ ever wires a ConsensusTransport; UnifiedSwarmCoordinator calls consensusEngine.addNode() for every real spawned agent onto this exact path). A candidate whose term was inflated by retries alone (not log progress) could out-vote a more log-advanced peer (unsafe over-grant, a real Leader Completeness violation); the same strict > check also wrongly denied a legitimate same-term, equally-fresh-log candidate (spurious under-grant). Fixed by mirroring the file's own two already-correct implementations. DEEP=performance's own deferred lead (CacheManager.estimateSize(), scored 4.85 on 10-20) was investigated first and REJECTED with evidence: regression test #4481 requires exact size accounting even without maxMemory, so "skip when unset" does not survive scrutiny — not re-proposed as-is. SCAN: security (http-fetch/path-containment/claims-tools reviewed, no new finding), hive-mind (Byzantine/Gossip sanity-checked for an analogous gap — none found, architected differently) | #4937 | #4938 | yes | ACCEPT | 4 new tests (2 discriminating, 2 controls), stash-isolated baseline 378/380 (2 predicted failures) → candidate 380/380, independently reproduced byte-identical by a separate fresh-context adversarial-critic subagent from its own stash/pop cycle, which also independently re-verified the production-reachability claim from scratch; full @claude-flow/swarm suite 380/380 (376+4 new), 0 regressions, tsc --noEmit clean both ways; metaharness mcp-scan MEDIUM(3)/0-high, byte-identical to baseline; independent critique CONFIRMED, no blocking issues (3 non-blocking caveats disclosed: appendEntries()'s analogous gap left unfixed, a possible pre-existing zero-peer self-election edge case, private-field test casts matching existing convention) | 5af6b216... | 10-26 through 11-01 all MERGED where a decision exists; 11-02 open/draft not stale; 11-08 #4910 CLOSED-not-merged; 11-09 #4908/#4927 MERGED; 11-03..11-07 confirmed no-run gap (5 nights). Prior gist (11-09, swarm) scored 10/10 on the same rubric per its own issue §2 | Note (2026-11-02): trailing-6-night fates verified via GitHub MCP tools (gh CLI's GH_TOKEN invalid, MCP tools work fine — not FALLBACK) before tonight's own row: #4532 (10-27, intelligence) MERGED; #4550 (10-28, memory) MERGED; #4573 (10-29, swarm) closed-not-merged but superseded and shipped via #4640 (merged) per its own comment thread — effectively merged; #4598 (10-30, performance) MERGED; #4619 (10-31, security) MERGED; #4634 (11-01, security) MERGED. 6/6 of the trailing window shipped in some form, no stale (>14d) items. Prior gist (11-01, security) scored 9/10 (2+2+2+2+1(1380 words)+0 — continuation of 10-31's own disclosed finding, not genuinely novel). | 2026-11-02 | intelligence | SONAManager's EWC++ consolidation hook (getConsolidationSnapshot(), wired 10-27 for BalancedMode only, re-disclosed as a 4-mode gap 11-01) investigated directly for all 4 remaining modes rather than assumed uniform: ResearchMode already runs a real, never-cleared-except-init/cleanup Adam optimizer (adamM/adamV, already read back by its own dormant computeEWCLoss()) — structurally identical to Balanced's gradientAccumulator, wired honestly tonight using the exact reviewed delta-since-snapshot pattern, zero sona-manager.ts changes needed. EdgeMode/RealTimeMode confirmed to track no gradient-shaped state at all (Edge: quantized int8 weights only; RealTime: learn()'s own comment says "we skip full backprop") — NOT wired, would require fabricating state. BatchMode's accumulatedGradients is real but zeroed every 4 cycles by applyAccumulatedGradients(), making snapshot timing ambiguous — deferred for a dedicated design pass, not ported. SCAN: capabilities (.harness/mcp-policy.json's false shell/network-surface claim, 3rd consecutive disclosure since 10-26 without action — flagged for a deliberate decision), memory (CacheManager.clear()'s previousSize always 0, 2nd consecutive disclosure since 10-27, still live) | #4659 | #4660 | yes | ACCEPT-scoped | 5 new tests (3 discriminating, 2 controls), stash-isolated baseline fails 3/5 exactly as predicted → candidate 5/5 pass, independently reproduced from scratch by a fresh-context adversarial critic; full @claude-flow/neural suite 148/148→153/153 (0 regressions); tsc --noEmit 0 errors both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS — 1 non-blocking test-strength nit (weak >0 assertion vs. Balanced's >valueAfter1*0.9) found and fixed forward same session after the critic empirically confirmed a ~7.5x ratio clears the stronger bound | c972c16f... | 10-27/10-28/10-30/10-31/11-01 MERGED; 10-29 closed-not-merged but superseded+shipped via #4640; none stale. Prior gist (11-01) scored 9/10 | | 2026-10-12 | intelligence | Handed-in candidate (fix SONAManager's dead EWC key-mismatch, per open #3622/#3879) independently REJECTED by an architecture-review subagent: loraWeights.A/B (what EWC would regularize) are never updated by gradient descent anywhere — fixing the key mismatch alone would be behaviorally inert. Pivoted to the root cause the same investigation surfaced: LearningBridge (the only production path exercising SONAManager, via auto-memory-hook.mjs's SessionStart/SessionEnd hooks) never persisted SONA's learning state across its own short-lived process invocations — SONAManager.serialize()/deserialize() already existed (#1773 Phase 1.6) but nothing called them. Wired the round-trip into LearningBridge.loadNeural()/destroy(), mirroring MoERouter's existing .swarm/moe-weights.json pattern | #4080 | #4081 | yes | ACCEPT | 10 new discriminating tests, stash-isolated 3/10 fail baseline (write-on-destroy/restore-on-load/cross-instance-accumulation) → 10/10 pass candidate, independently reproduced by an adversarial critic's own stash/pop cycle; real unmocked SONAManager smoke test via built dist/ (0→1 completed trajectories across a fresh instance after restore, JSON-round-trip-stable); full @claude-flow/memory suite 615/616 both ways (3 known-flaky/pre-existing failures, 0 attributable, independently reproduced); full @claude-flow/neural suite 139/139 unchanged; independent adversarial critique CONFIRMED-WITH-CAVEATS (non-blocking: disclosed-not-fixed deepDecode __proto__ hardening, corrected full-suite failure count from 1 to 3) | 2f6fe1d0... | 10-09 #3929, 10-10 #3977, 10-11 #4053 all MERGED; 10-06 #3835, 10-07 #3879, 10-08 #3909 open/draft, none stale (<14d). Prior gist (10-11, security) scored 10/10 (2+2+2+2(witness in linked PR #4053, verified present/valid)+1(1173 words)+1) | Note (2026-10-03): verified via mcp__github tools before tonight's own row (no gh CLI this session — invalid token, used MCP tools throughout): trailing nights 09-22 (#3394/#3395) CLOSED, not merged (2026-09-26); 09-24 (#3411/#3412, test/parity-gate PR, off the "[Dream Cycle]" title convention) MERGED 2026-09-26 — the only merge in this window; 09-27 (#3475/#3476), 09-28 (#3516/#3517), 09-29 (#3538/#3539), 09-30 (#3562/#3563), 10-01 (#3598/#3599), 10-02 (#3621/#3622) all still OPEN/draft. 2026-09-23, 09-25, 09-26 confirmed genuine no-run gaps (no branch/issue/PR for any of the three — same class as 08-20..23/09-13-14), independently reconfirmed by tonight's own automation scan (nightly trigger has no in-repo cron/workflow, root cause remains outside this repo's visibility). plugins scan: the 2026-09-22 gist's open plugin-install-verification gap is now resolved (#3557, 2026-09-30 — trust-policy.ts + checksum enforcement + --ignore-scripts), closing out of the backlog.

| 2026-10-03 | memory | HNSWIndex.serialize()/deserialize() dropped config.quantization and trained PQ codebooks entirely — silently re-broke the product-quantization distance dispatch fixed 2026-08-25 (#3093/#3094) on every save/reload cycle; AgentDBAdapter.saveToDisk()/loadFromDisk() call this exact pair in production. Versioned magic header (v1/v2) persists+restores quantizer config/codebooks, backward-compatible with old snapshots | #3649 | #3650 | yes | ACCEPT | pre-serialize recall@10 0.270 → post-deserialize 0.010 (bug, baseline) → ~0.270 (candidate, within 0.05 of pre-serialize); 557/558 full-suite both ways (1 pre-existing unrelated failure, confirmed byte-identical via stash isolation); tsc --noEmit clean; independent adversarial critic CONFIRMED (reproduced with a stronger real pre-fix v1-buffer test, not just the hand-built one in the test file) | 98d206b0... | 09-22 CLOSED-not-merged; 09-24 MERGED (only merge this window); 09-27..10-02 (6 nights) all open/draft, none stale; 09-23/25/26 no-run gaps | Note (2026-11-13): 11-12 (intelligence, #4972/#4973, SONAManager.triggerLearning() backlog-replay gating) ran — real branch dream/2026-11-12-intelligence confirmed via git ls-remote; its own PR is OPEN/draft, 1 day old, not stale. It scored 11-11's gist 9/10 (2+2+2+2+0(2065 words, over cap)+1), matching this session's own independent scoring of that same gist before reading 11-12's row. 11-12's own adversarial critique found its fix narrower than first claimed (stops replay of stalled trajectories only; BalancedMode's lifetime-cumulative gradientAccumulator/EWC means anchor remains unbounded under normal continuous operation) — flagged as a strong carried-forward candidate for a future intelligence night, not picked up tonight (different DEEP surface). Trailing-decided-PR fates (direct verification): 10-26/10-27/10-28/10-31/11-01/11-09/11-10/11-11 all MERGED; 11-02 #4660 OPEN/draft, now 11 days old, mergeable_state: dirty (flagged, not this session's PR to fix); 11-08 #4910 CLOSED-not-merged. | 2026-11-13 | memory | ControllerRegistry declared causalRecall as an AgentDBControllerName with a real createController() case (dynamic agentdb import + the ADR-514-adapted embedder, same construction pattern as learningSystem/explainableRecall) but it was absent from every level of INIT_LEVELS, so initialize() never constructed it and registry.get('causalRecall') always returned null — disclosed-but-deferred 2026-10-28 ("needs a human call on init-level ordering"); acted on tonight, added to level 4 alongside construction-sibling causalGraph (agentdb/vectorBackend already populated before the level loop runs, so placement doesn't affect correctness). Third instance in six weeks of the same "declared-but-dead" shape in this package family (10-28 ControllerRegistry.set(), 10-31/11-01 plugin-agent-federation SecurityPolicy thresholds). Zero current production callers — forward-looking fix, not a live-breakage fix. SOTA research (2 fresh 2026 arXiv papers + a survey) confirms causal-provenance-conditioned memory recall is a genuine unexplored 2026 frontier; 0/11 reviewed competitors ship an activated version. SCAN: plugins (v3/plugins/code-intelligence's 7 declared config knobs never read by any of its 4 MCP tool handlers, new finding, deferred, 4/5), automation (hooks worker dispatch --priority accepted/persisted/documented but never read by drainDispatchQueue() — plain FIFO regardless, new finding, deferred, 4/5; confirmed no in-repo cron drives Dream Cycle; confirmed the previously-disclosed noHardcodedSecrets audit-fabrication bug is already fixed) | #4982 | #4983 | yes | ACCEPT | baseline: 2 new discriminating tests fail exactly as predicted (toContain('causalRecall'); get('causalRecall') returns null); candidate: 94/94 across the 4 relevant test files; full @claude-flow/memory suite 717/718 both ways outside the 2 new tests (1 pre-existing unrelated chmod-as-root environmental failure, confirmed byte-identical on the stashed baseline); tsc --noEmit clean both ways; independent adversarial critique CONFIRMED-WITH-CAVEATS (one inaccurate in-source comment — "same shape as causalGraph," which is actually built differently — fixed forward same session in a separate commit, re-verified clean) | 6d7d059d... | 10-26/10-27/10-28/10-31/11-01/11-09/11-10/11-11 MERGED; 11-02 #4660 open/draft, 11 days, mergeable_state: dirty (flagged, not actioned); 11-08 #4910 CLOSED-not-merged; 11-12 #4972/#4973 open/draft, 1 day, not stale. Prior gist (11-11, security) scored 9/10 by 11-12's own session, independently matching this session's own scoring | Note (2026-11-18): rows for 2026-11-12/13/14/16/17 are missing from this table even though real branches/issues/PRs exist for all five nights (#4973/#4972, #4983/#4982, #4989/#4988, #5004/#5003, #5012/#5011 — all open drafts as of tonight) — confirmed via git ls-remote --heads origin + GitHub MCP list_pull_requests, a STEP 25 backfill gap (the pipeline ran every night; the append just didn't land on main), not a pipeline failure. #5004's own issue (#5003) already disclosed this gap for 11-12/13/14; tonight additionally confirms 11-16/11-17 are in the same state. Left for a future lower-stakes backfill pass rather than reconstructed here from PR bodies, since the real evidence (branches+PRs) already makes each night's work independently verifiable without a ledger row. | 2026-11-18 | memory | CacheManager's pure-LRU evictLRU() (v3/@claude-flow/memory/src/cache-manager.ts) had no frequency/importance signal despite CachedEntry.accessCount already being tracked on every entry — HTM-EAR (arXiv:2603.10032, Feb 2026) documents this exact policy permanently dropping high-value entries under skewed access. Added an opt-in, continuous frequencyWeight/evictionScanWindow blend to selectEvictionVictim(); frequencyWeight falsy (default/unset) is an early return this.tail!, structurally byte-identical to the original pure-LRU path for every current caller (AgentDBAdapter, TieredCacheManager, ControllerRegistry's tieredCache). Repository-local bounded Darwin sweep (3 gens × 4 candidates, new synthetic skewed-workload corpus .harness/bench-memory-eviction-2026-11-18.json) found an interior optimum frequencyWeight=0.85 (fitness 0.851 vs baseline 0.825, +19.4pp mean essential-key retention, 0/6 tasks regressed) that beats the naive frequencyWeight=1.0 (0.794, regresses 1/6) — not shipped as the default, disclosed as tuning evidence only. SCAN: plugins (PluginStoreConfig/code-intelligence dead-config findings confirmed still open; SecurityPolicy.minTrustLevelForSpawn confirmed fixed 10-31; new finding: @claude-flow/plugins' public ResourceLimits SDK export only enforces maxMemoryMB of 5 declared fields, zero in-repo callers but live-but-broken for external plugin authors), automation (the "worker fabricates unperformed audit/scan work" 3-instance pattern from 10-13/10-28 confirmed fully fixed with regression tests; hooks worker dispatch --priority confirmed still a dead flag since 11-13) | #5033 | #5034 | yes | ACCEPT | 4 new discriminating tests, stash-isolated baseline fails the 1 test requiring non-LRU behavior exactly as predicted (3/4 pass vacuously); candidate 722/723 full @claude-flow/memory suite (718 pre-existing + 4 new, same 1 pre-existing environmental chmod-as-root failure), tsc --noEmit clean both ways; independently reproduced byte-identical by a fresh-context adversarial critic, which also hand-verified the frequencyWeight=0 early-return is structurally (not just empirically) byte-identical — verdict CONFIRMED, one minor disclosed-not-fixed caveat (unvalidated frequencyWeight range, no real caller can reach it today); metaharness mcp-scan/threat-model MEDIUM(3)/0-high, byte-identical to baseline | 8e6a4d8e... | 11-12/13/14/16/17 all open/draft, none stale (see note above, a backfill gap not a merge-rate signal); last confirmed-merged dream PR remains 11-01 #4634 (per 11-10's own note) and 11-10 #4937/#4938 (MERGED). Prior gist (11-17, intelligence) not independently re-scored tonight (out of scope, left as a note in issue #5033 §3 rather than fabricated) | | 2026-11-17 | intelligence | ReasoningBank.distill() (v3/@claude-flow/neural/src/reasoning-bank.ts) judged every trajectory but only distilled successes into the retrievable memory pool, discarding all judged-failure information -- an accepted ICLR 2026 paper (ReasoningBank, arXiv 2509.25140) measures failure-aware distillation beats success-only memory; fixed to distill a distinct memoryType: 'pitfall' memory, gated PatternLearner.extractPattern() on memoryType === 'success' (critic-confirmed load-bearing, not redundant, due to a pre-existing quality-threshold divergence), and fixed forward a cross-type deduplicateMemories() bug the change would otherwise have introduced | #5011 | #5012 | yes | ACCEPT (post-critique) | baseline fails exactly the 4 predicted tests, 38/42 unaffected pass; candidate 43/43; full @claude-flow/neural 152/152, 0 regressions; related @claude-flow/memory suite 78/78; tsc --noEmit clean; independently reproduced byte-for-byte by an adversarial critic (verdict CONFIRMED-WITH-CAVEATS -> forward-fixed -> re-verified) | 2261d4ec... | 2026-11-16 (intelligence, #5003/#5004) OPEN draft, not stale; 2026-11-12/13/14 OPEN drafts, not stale; 2026-11-15 no dream/* branch (genuine skipped night); 2026-11-10/11 MERGED | | 2026-11-16 | intelligence (SCAN override to capabilities, see issue #5003 §2 for the override rationale) | buildCapabilityBrain()'s coverage.coveragePercent (v3/@claude-flow/cli/src/mcp-tools/capability-brain.ts) was hardcoded to 100 and classifiedToolCount unconditionally equaled the raw unique-tool count, ignoring fallbackClassifiedTools entirely — a declared-but-dead metric reachable through the live guidance_brain MCP tool, violating ADR-329's own coverage-gate invariant. DEEP=intelligence's own top candidate (decay the never-decaying EWC gradientAccumulator in balanced.ts, mirroring Ruflo's own upstream @ruvector/sona@0.1.11 dependency's already-shipped EMA decay) scored lower once an architecture review found its output is currently discarded by learn() — disclosed as a strong candidate for a near-future night, not fixed tonight. Also: DEEP=security was rejected before research began (3rd occurrence of the .harness/mcp-policy.json false shell/network-surface claim, disclosed 2026-10-26/2026-10-27 — STEP 1.1 duplicate-direction rule). SCAN: memory (CacheManager.clear()'s previousSize always-0 bug, disclosed 2026-10-27, confirmed still live, not yet fixed) | #5003 | #5004 | yes | ACCEPT (post-critique) | 3 new tests (2 discriminating, 1 control; one discriminating test added post-critique), stash-isolated baseline fails the original discriminating test exactly as predicted → 11/11 pass; tui-command.test.ts 13/13 (+3 skips), 0 regressions; tsc --noEmit 0 errors in changed files; independent adversarial critique found and this session fixed forward a real edge case (duplicate tool name + fallback classification drove the metric negative), re-verified 11/11 after the fix, verdict CONFIRMED | 634d0afc... | Backfilled 3 missing ledger rows tonight (2026-11-12/13/14 each had a real evaluated draft PR that never got a ledger row — a genuine STEP 25 gap found during tonight's STEP 1 check, see rows above). 11-12 #4973/11-13 #4983/11-14 #4989 all open/draft, 2-4 days old, not stale. 11-11 #4961 status not re-checked tonight. Prior gist (11-11, security) scored 9/10 (2+2+2+2+0(2065 words)+1) — this is the last gist actually available to read; 11-12/13/14's own gists are local-only on their unmerged branches, not fetched tonight (budget) | | 2026-11-10 | hive-mind (SCAN override of performance DEEP, see issue #4937 §3 for the override rationale) | RaftConsensus's no-transport "legacy in-process" requestVote() path (v3/@claude-flow/swarm/src/consensus/raft.ts) granted votes on a bare currentTerm > peer.currentTerm comparison — no vote-once-per-term check, no log-up-to-date check — unlike the transport RPC path and handleInboundRaftMessage() a few lines above it, both of which correctly implement Raft §5.2/§5.4. Confirmed production-reachable (no call site in v3/ ever wires a ConsensusTransport; UnifiedSwarmCoordinator calls consensusEngine.addNode() for every real spawned agent onto this exact path). A candidate whose term was inflated by retries alone (not log progress) could out-vote a more log-advanced peer (unsafe over-grant, a real Leader Completeness violation); the same strict > check also wrongly denied a legitimate same-term, equally-fresh-log candidate (spurious under-grant). Fixed by mirroring the file's own two already-correct implementations. DEEP=performance's own deferred lead (CacheManager.estimateSize(), scored 4.85 on 10-20) was investigated first and REJECTED with evidence: regression test #4481 requires exact size accounting even without maxMemory, so "skip when unset" does not survive scrutiny — not re-proposed as-is. SCAN: security (http-fetch/path-containment/claims-tools reviewed, no new finding), hive-mind (Byzantine/Gossip sanity-checked for an analogous gap — none found, architected differently) | #4937 | #4938 | yes | ACCEPT | 4 new tests (2 discriminating, 2 controls), stash-isolated baseline 378/380 (2 predicted failures) → candidate 380/380, independently reproduced byte-identical by a separate fresh-context adversarial-critic subagent from its own stash/pop cycle, which also independently re-verified the production-reachability claim from scratch; full @claude-flow/swarm suite 380/380 (376+4 new), 0 regressions, tsc --noEmit clean both ways; metaharness mcp-scan MEDIUM(3)/0-high, byte-identical to baseline; independent critique CONFIRMED, no blocking issues (3 non-blocking caveats disclosed: appendEntries()'s analogous gap left unfixed, a possible pre-existing zero-peer self-election edge case, private-field test casts matching existing convention) | 5af6b216... | 10-26 through 11-01 all MERGED where a decision exists; 11-02 open/draft not stale; 11-08 #4910 CLOSED-not-merged; 11-09 #4908/#4927 MERGED; 11-03..11-07 confirmed no-run gap (5 nights). Prior gist (11-09, swarm) scored 10/10 on the same rubric per its own issue §2 | Recovery note (2026-11-14): 2026-11-12's row and 2026-11-13's row were never appended live despite both nights running to completion (real dream/2026-11-12-intelligence/dream/2026-11-13-memory branches, issues #4972/#4982, draft PRs #4973/#4983 — all confirmed via git ls-remote --heads origin "dream/*" and GitHub MCP tools before tonight's own row, not inferred). Backfilled below from each night's own issue body (title-derived, full body not re-verified tonight). | 2026-11-12 | intelligence | SONAManager.triggerLearning() backlog-replay fix (post-critique scoped: stops replay of stalled trajectories but leaves BalancedMode's lifetime-cumulative gradientAccumulator unbounded under normal operation, per the adversarial critique on this same PR) + capabilities,memory scan (title-derived backfill; full PR body not re-verified tonight) | #4972 | #4973 | yes | ACCEPT-scoped | see issue #4972 / PR #4973 | n/a (backfill) | unmerged draft as of 2026-11-14, 2d old | | 2026-11-13 | memory | wire causalRecall into ControllerRegistry.initialize() — declared-but-dead AgentDB controller, disclosed-but-deferred since 2026-10-28, zero current production call sites but a genuine 2026 research-frontier capability (causal/provenance-aware memory retrieval, 0/11 reviewed competitors ship it) + plugins,automation scan (title-derived backfill; full PR body not re-verified tonight) | #4982 | #4983 | yes | ACCEPT | see issue #4982 / PR #4983 | n/a (backfill) | unmerged draft as of 2026-11-14, 1d old | | 2026-11-14 | swarm | ByzantineConsensus/GossipConsensus missing the setMaxListeners(0) guard RaftConsensus already carries for its per-proposal 'consensus.achieved' listener — carried forward/deferred since 2026-11-09 (~4.0/5), confirmed live by two independent research roles via direct reproduction (real MaxListenersExceededWarning captured under >10 concurrent proposals) + ruview-integration,ruvector-integration scan (ruview: confirmed stable/no-change with direct evidence; ruvector: new finding — q-learning-router.ts probes the wrong @ruvector/* package, real fix target identified but needs a native/JS-coexistence design decision, deferred) | #4988 | #4989 | yes | ACCEPT | 2 new discriminating tests, stash-isolated baseline fails 2/6 with a real captured MaxListenersExceededWarning for both classes → candidate 6/6 pass; full @claude-flow/swarm suite 382/382 (380+2 new), 0 regressions, tsc --noEmit clean both ways; independent adversarial critique (fresh context, independently re-ran stash isolation, 3x flakiness check, 50-concurrent-proposal stress test, grepped every other construction call site) CONFIRMED, no blocking issues; Darwin skipped (binary guard, no tunable parameter) | 0e31d2b1... | 11-08 #4910 CLOSED-not-merged; 11-09 #4908/#4927 MERGED; dream/2026-11-10-hive-mind #4937/#4938 MERGED; 11-11 #4960/#4961 MERGED; 11-02 #4659/#4660 still open/draft, 12d, approaching but not past the 14d stale threshold; 11-12/11-13 real pipelines confirmed (backfilled above), too recent to call fate. Prior gist (11-13, memory) scored 9/10 — same recurring <1500-word miss (1746 words tonight too, not trimmed — protecting research depth per STEP 0.6 v3.1 over the word-count point); 2+2+2+2+0+1 | Note (2026-11-23): direct verification tonight (git ls-remote --heads origin "dream/*" + gh api search/issues over 2026-11-19..22, both is:pr and is:issue, plus PR state checks on 2026-11-12/13/16/17/18) found: (1) a genuine 4-night no-run gap, 2026-11-19 through 11-22 — zero dream/* branches, zero dream(...) PRs, despite plenty of other repo activity those nights (releases 3.78.0→3.80.1); no in-repo cause found (checked for a workflow/scheduler/disabled-trigger artifact, found none). (2) PRs #4973 (11-12), #4983 (11-13), #5012 (11-17), #5034 (11-18) are individually merged:false/closed, but not rejected — their content (plus #4660/11-02 and two older PRs #4081/#3650) was folded into a human-driven integration PR #5041, merged 2026-11-19T06:44:34Z (operator comment on #5033 confirms the 11-18 fix landed via 89a00242b). #4989 (11-14) and #5004 (11-16) merged directly/separately the same day. Net over the 10 most recent real dream-cycle nights with a PR: 0 genuinely rejected — everything reaching evaluation either merged directly or was batch-integrated. Healthy-throughput signal, not a STEP-1.1 "zero of last 14 merged" trigger. | 2026-11-23 | memory | ReasoningBank.detectContradictions() (v3/@claude-flow/neural/src/reasoning-bank.ts) marks the lower-quality side of a contradicting memory pair consolidated=true, with an explicit "to exclude from retrieval" comment — but retrieve()/retrieveByContent() never checked that flag, so a self-judged-stale/contradicted memory kept being served into every future agent trajectory forever (consolidate()'s contradiction half was a no-op beyond a getStats() counter). Added a .filter(c => !c.entry.consolidated) / .filter(e => !e.consolidated) in both read paths; byte-identical for any entry never flagged. Independently found by two research roles (external-literature-driven Deep Researcher citing arXiv:2606.15903's "detected-but-not-enforced" failure class, and a pure-code Architecture Reviewer) before either saw the other's output. SCAN: plugins (PluginStoreConfig/code-intelligence/ResourceLimits dead-config findings confirmed still open; new finding — EnhancedPluginRegistry.resolveConflict()'s namespace strategy deletes the original owner key on first collision, so a 3rd colliding plugin silently reclaims the bare name, defeating the strategy for 3+-way collisions, deferred), automation (hooks worker dispatch --priority confirmed still dead; worker-fabricates-work anti-pattern confirmed still fixed; new finding — DEFAULT_WORKERS omits 5 of 12 documented worker types (ultralearn/preload/deepdive/refactor/benchmark), so dispatching them silently no-ops despite being advertised everywhere, deferred) | #5081 | #5082 | yes | ACCEPT | 2 new discriminating tests, stash-isolated baseline fails both exactly as predicted (1 control passes vacuously, 3/3 total); candidate 3/3 new, full @claude-flow/neural suite 184/184 (181 pre-existing + 3 new), tsc --noEmit clean both ways; independently reproduced byte-identical by a fresh-context adversarial critic, which also independently traced production-reachability (index.ts, 5 live MCP hook handlers, the consolidate background daemon) — verdict CONFIRMED, 2 non-blocking disclosed limitations (HNSW over-fetch-then-filter can under-return k if the over-fetched set is mostly consolidated; usedHnsw stats counted before the filter, cosmetic); Darwin skipped (binary guard, no tunable parameter, precedent 11-14); harness mcp-scan/threat-model MEDIUM(3)/0-high, byte-identical to baseline | 48c5020b... | See note above (11-19..22 genuine gap; 11-12/13/14/16/17/18 all real, 0 genuinely rejected — merged directly or via integration PR #5041). Prior gist (11-18, memory) scored 10/10 (2+2+2+2+1+1) — independently confirmed implemented on main via #5041 per the operator's own comment on #5033 | | 2026-11-25 | performance | AttentionCoordinator.computeAttentionScore()'s head?: number param (v3/@claude-flow/swarm/src/attention-coordinator.ts) is never read in its body, so multiHeadAttentionCoordination()'s numHeads=8 outer loop computed a byte-identical O(n²) cosine-similarity matrix 8 times and averaged 8 identical copies — a no-op. Deferred 2026-10-30 (scored 4.60/5) to keep that night's patch (same file's embedding memoization) to one conceptual change; picked up tonight. Fixed via a per-call flat Float64Array/Uint8Array memo cache indexed by i*n+j. Disclosed negative result: a string-keyed Map was tried first and measured slower than the 8x-redundant baseline at n≥400 (key-hashing cost exceeded the cheap cosine loop it replaced); switched to typed arrays, documented in-source. Reachability correction (disclosed, not reopening prior nights): @claude-flow/swarm is not a dependency of @claude-flow/cli or any of the 4 bundled release components — only @claude-flow/testing consumes it in-repo; fix is real and live within the package's own public API/tests and for direct npm consumers, but doesn't change the shipped CLI train's behavior today. SCAN: security (SSRF-via-DNS-rebind fix from 11-11 re-verified holding; new low-severity disclosed note — getOrCreateEmbedding()'s hash loop is uncapped-length, a minor single-call CPU-stall surface, not attacker-reachable today), hive-mind (RaftConsensus.appendEntries()'s legacy path still has zero log-contiguity check, confirmed unchanged since 11-10's disclosure — strong future hive-mind-DEEP candidate) | #5112 | #5113 | yes | ACCEPT | 7 new tests (2 discriminating via call-count/pair-uniqueness spies, 5 controls), stash-isolated baseline fails both discriminating tests exactly as predicted (exact 8x over-count: 200 vs 25 at n=5, 648 vs 81 at n=9) → candidate 7/7; full @claude-flow/swarm suite 389/389 (382+7 new), 0 regressions; tsc --noEmit 0 errors both ways; wall-clock (15-trial median, post-warmup) n=300 131.9ms→23.3ms (~5.7x), n=400 236.5ms→38.4ms (~6.2x); independently reproduced by a fresh-context adversarial critic (own stash/pop, own probe, own tsc/suite runs) — n=400 256.4ms→40.0ms (~6.4x, cross-validating this session's number) — verdict CONFIRMED, no blocking issues, 1 disclosed non-blocking caveat (the string-Map-slower claim wasn't independently re-run by the critic for lack of budget); harness mcp-scan MEDIUM(3)/0-high, byte-identical to baseline; Darwin skipped (binary guard, no tunable parameter, precedent 11-14/11-23/11-24) | ee0d1892... | 11-23 #5082 MERGED; 11-24 #5097 MERGED; 11-19..22 genuine no-run gap (already disclosed). Prior gist (11-24, swarm) scored 9/10 (2+2+2+2+1(1241 words)+0 — closes a 3rd-time-deferred dead-code finding, not a fresh discovery) | | 2026-11-24 | swarm | QLearningRouter.initialize()'s @ruvector/core native-engine probe (v3/@claude-flow/cli/src/ruvector/q-learning-router.ts) — deferred twice before (10-29, 11-14) under a "wrong package" framing — turns out to be one level deeper: route()/update() never read this.ruvectorEngine back at all, confirmed by 3 independent agents via full-class trace, so no package swap could ever have changed any routing decision; the only consumer anywhere is a cosmetic route stats CLI field. @claude-flow/neural's real createQLearning confirmed API-incompatible (trajectory-batch vs. per-call string API) — not a same-night swap, closes the recurring thread as "design question, correctly deferred" rather than reopening a 3rd time. Removed the dead probe/field, documented why useNative stays permanently false. SCAN: ruview-integration (confirmed stable/no-change, independently re-verified against ADR-326 + product-plane.ts + the metaharness template list), ruvector-integration (no material change beyond the DEEP finding itself; quick sanity pass on tiny-dancer/learning-wasm/rabitq-wasm/mincut-bridge found nothing new) | #5096 | #5097 | yes | ACCEPT | 2 new tests (1 discriminating static source-guard — regex over the dead dynamic-import call, since vitest.config.ts's externalize-optional-deps plugin prevents vi.mock from intercepting @ruvector/* dynamic imports, so a runtime spy can't discriminate here; 1 non-discriminating control proving route()/update() unaffected), stash-isolated baseline fails the discriminating test exactly as predicted → candidate 47/47; targeted related suite 437 passed/52 skipped vs baseline 435/52 (exactly +2, 0 regressions, 1 unrelated pre-existing failure identical both ways); tsc --noEmit 19 pre-existing errors byte-identical both ways, none in changed files; independent adversarial critique (fresh context, own stash/pop reproduction, own require.resolve check, own suite+tsc runs) CONFIRMED-WITH-CAVEATS — 1 non-blocking caveat (the static source-guard is a narrow regex, bypassable in principle by a differently-worded reintroduction, tracked not blocking); Darwin skipped (binary guard, no tunable parameter, precedent 11-14/11-23); harness mcp-scan 3 findings/0-high, byte-identical to baseline | c87edd85... | q-learning-router thread (10-29, 11-14) now closed as a correctly-deferred design question rather than reopened a 3rd time — see §1.1 duplicate-direction note above. Fate TBD next night. | Note (2026-11-26): 2026-11-25 (performance, dream/2026-11-25-performance, #5112/#5113) has no row below — confirmed via list_pull_requests that the branch and PR genuinely exist (PR OPEN/draft, unreviewed) — this is the same recurring STEP 25 live-append gap flagged by several prior nights' notes (11-12/13/16/17/18), not a new pipeline failure. Over the last 6 real nights with a PR: 11-16 #5004 MERGED, 11-17 #5012 CLOSED-not-merged, 11-18 #5034 CLOSED-not-merged, 11-23 #5082 MERGED, 11-24 #5097 MERGED, 11-25 #5113 OPEN. #5012/#5034 were both closed within 2 seconds of each other on 2026-11-19, near #5004's merge — looks like a human batch-review event, not evidence those candidates were wrong. Merge rate 3/6, not zero — no STEP 1.1 forced-small-patch trigger. | 2026-11-26 | security | .harness/mcp-policy.json's allowShell/allowNetwork/allowFileWrite:false were purely decorative since the file was written — policy-enforcer.ts never read them, on the false premise (stated in both the policy's own $comment and the module's docstring) that shell/network/filesystem access isn't reachable from this MCP server's tool surface. Disclosed for 4 consecutive nights since 2026-10-26, never before tested — two independent research roles (Deep Researcher + Architecture Reviewer, neither saw the other's output) traced real counterexamples: terminal_execute (execSync), http_fetch (raw network), hooks_fast-apply/hooks_codemod (direct writeFileSync), all inside this MCP server's own handlers. Added a small, explicitly-traced MCP_TOOL_CAPABILITY table + checkCapabilityAllowed(), wired into evaluateToolCall(), denying those 4 tools when the matching flag is explicitly false and RUFLO_MCP_ENFORCE_POLICY=1 is set; corrected the matching false claim in the policy file and the module docstring. Broader surface (github-tools.ts/browser-tools.ts/9 more fetch( files/22 more writeFileSync files) and the HTTP/WebSocket dispatcher (never calls this module at all) disclosed as follow-up, not fixed. SCAN: intelligence (SONAManager's EWC-consolidation snapshot method implemented by only 2 of 5 SONA modes — real-time/batch/edge configure non-zero ewcLambda but never run consolidateEWC(), deferred), swarm (ByzantineConsensus.handlePrePrepare() never checks senderId matches the view's primary — any node's pre-prepare is accepted as legitimate, a PBFT leader-impersonation gap distinct from the known Raft prevLogIndex issue, deferred) | #5126 | #5127 | yes | ACCEPT | 12 new tests (full capability-table coverage, undefined/true-flag permissiveness, budget-isolation on denial, memory_store control), stash-isolated baseline fails to even load (MCP_TOOL_CAPABILITY undefined) → candidate 40/43 (3 pre-existing environmental failures, root-sandbox /nonexistent-dir-xyz/ unwritable-path assumption false, reproduced identically on baseline); tsc --noEmit 534 pre-existing errors byte-identical both ways, 0 in changed files; independent adversarial critique (fresh context, own stash/pop reproduction, own tsc/mcp-scan runs, own reads of all 3 real call sites across mcp-server.ts/bin/cli.js/bin/mcp-server.js and all 4 tool files) CONFIRMED-WITH-CAVEATS — all non-blocking: (a) 4-tool table is narrow vs. the full traced surface, disclosed not silently safe; (c) new finding — capability denial skips budget but still forces a mandatory audit-log write, an un-rate-limited disk-write path under auditLog:true, tracked follow-up; (d) HTTP/WebSocket dispatcher still uncovered (pre-existing); Darwin skipped (binary guard, no tunable parameter, precedent 11-14/11-23/11-24/11-25); harness mcp-scan/threat-model MEDIUM(3)/0-high / clean, byte-identical to baseline | 29d887c8... | See note above (11-25 ledger-append gap confirmed cosmetic via list_pull_requests, not a pipeline failure). Prior gist (11-25, performance) scored 9/10 (2+2+2+2+1+0 — valid-looking witness, <1500 words, but a pickup of a previously-deferred 10-30 finding, not genuinely novel) | Note (2026-11-28): 2026-11-27 (intelligence, dream/2026-11-27-intelligence, #5143/#5144) confirmed real via list_pull_requests (PR open/draft) before tonight's own row — correctly REJECTED an EWC-consolidation-wiring candidate for RealTime/Edge modes (measured effect size 0; ewcState is read only by computeEWCPenalty(), whose output is dead code in every mode's learn()), shipping only a one-comment honesty fix. No row below for it yet (same recurring "ledger rows only reach main via PR merge" gap, not a pipeline failure) — left for a future backfill pass. | 2026-11-28 | memory | CacheManager.clear() (v3/@claude-flow/memory/src/cache-manager.ts:218-224) emitted cache:cleared with previousSize: this.cache.size read after this.cache.clear() already ran — always 0, regardless of prior cache contents. Disclosed 3 times without a fix (2026-10-27 score 4.45, 11-02 "2nd consecutive disclosure", 11-16 "confirmed still live") on nights where DEEP wasn't memory; picked up directly on tonight's first memory-DEEP opportunity since 11-18. Fixed by capturing previousSize before Map.clear() runs — one line, no other behavior change. Cross-confirmed independently by two research roles (deep researcher + architecture reviewer) before implementation, each scoring it 4.15/5, highest of 5 scored memory candidates (full rubric in gist). Deferred: ReasoningBank.detectContradictions()'s cosine-cannot-distinguish-contradiction-from-duplicate gap (arXiv:2606.26511, score 3.85) and LearningBridge.decayConfidences()'s zero-production-callers gap (score 3.9, a behavior change not folded into tonight's one-line fix). SCAN: plugins (code-intelligence's validatePath() containment check is a no-op under its own shipped default allowedRoots:['.'] — 4 MCP tool handlers effectively unrestricted-file-read; new, scored 4.3, highest single finding tonight across all roles, not promoted over DEEP per issue §9's override rationale — non-bundled optional plugin, not urgent enough to override a memory-rotation night), automation (a second, fully disjoint 10-worker WorkerManager scheduler ships inside @claude-flow/hooks with zero CLI call sites — ~2275 lines of dead monitoring code in the published package; new, confirmed via exhaustive grep) | #5173 | #5174 | yes | ACCEPT | 3 new tests (1 discriminating, 2 controls), stash-isolated baseline fails 1/3 exactly as predicted → candidate 3/3; full @claude-flow/memory suite 748/749→751/752 (+3, 0 regressions, same 1 pre-existing environmental chmod-as-root failure byte-identical both ways); tsc --noEmit clean both ways; independently reproduced byte-identical by a fresh-context adversarial critic, which also exhaustively grepped all 9 .emit() sites in the file for a sibling ordering bug (none found) and confirmed production reachability via AgentDBAdapter's shutdown()→clear() path while disclosing, not overselling, that no in-tree listener currently consumes the fixed field — verdict CONFIRMED, no blocking caveats; Darwin skipped (binary guard, no tunable parameter, precedent 11-14/23/24/25/26/27); reward-hack check done via manual diff/test review (metaharness mcp-scan/threat-model unavailable this session — local CLI unbuilt, see issue §1) | 26229aa2... | 11-23/11-24/11-25/11-26 fates not re-checked tonight (budget; prior nights' own notes already cover them). 11-27 #5143/#5144 confirmed real (see note above), REJECT verdict, correctly not merged. Prior gist (11-27, intelligence) not independently re-scored tonight (its own gist is local-only on an unmerged branch, not fetched — budget) |