A fate-check sub-agent (dispatched during tonight's STEP 1) resolved the dream/2026-11-10-hive-mind branch this session flagged as unexplained: it was a disclosed SCAN override (RaftConsensus legacy requestVote() fix, #4937/#4938, MERGED), not an undisclosed deviation. Also surfaced a real supplementary swarm finding (RaftConsensus.appendEntries()'s legacy path still has zero log-contiguity check) that got recorded as a follow-up comment on #4960 for a future night, rather than reopening tonight's already-ACCEPT-evaluated security candidate.
105 KiB
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 |
| 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. | 2026-11-11 | security | v3/@claude-flow/cli/src/init/settings-risk-scanner.ts's scanAllowRuleForRisk()(the heuristicruflo init --upgraderuns against a target project's existing.claude/settings.json) flagged permissions.allowrules pre-approvingbash/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, unscopedBash(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 newINTERPRETER_WORDSlist feeding onlyRISKY_PREAPPROVE_WORDS, deliberately kept out of SHELL_EXEC_WORDSso the separatescanCommandStringForRisk(hook command strings, wherenode <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'sTaskOrchestrator.failTask()agent-stranding finding confirmed **already fixed** via direct code read ofreleaseWorker() — 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 --noEmit512 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 +tscdiff itself, independently verified the liveBash(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 thehook-handler.cjsCJS mirror used by thesession-restoreboot hook out of sync on these exact cases) plus extended the parity test; one remaining caveat (untested prefix-collision safety fornodemon/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,RaftConsensuslegacyrequestVote()fix) **MERGED**. Prior-night gist score: not scored (see note above) | | 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.currentTermcomparison — no vote-once-per-term check, no log-up-to-date check — unlike the transport RPC path andhandleInboundRaftMessage()a few lines above it, both of which correctly implement Raft §5.2/§5.4. Confirmed production-reachable (no call site inv3/ever wires aConsensusTransport; UnifiedSwarmCoordinatorcallsconsensusEngine.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/swarmsuite 380/380 (376+4 new), 0 regressions,tsc --noEmitclean both ways;metaharness mcp-scanMEDIUM(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 |