LearnNewsExamplesServices
Frontmatter
title>-
featAlgorithmically discount weight of BLOCKED_BY nodes in DreamService
authortobiu
stateMerged
createdAtApr 12, 2026, 1:11 PM
updatedAtApr 12, 2026, 1:17 PM
closedAtApr 12, 2026, 1:17 PM
mergedAtApr 12, 2026, 1:17 PM
branchesdevagent/9910-dreamservice-graph-discount
urlhttps://github.com/neomjs/neo/pull/9911
Merged
tobiu
tobiu commented on Apr 12, 2026, 1:11 PM

Resolves #9910

This PR implements a topological weight penalty for nodes within the Native Edge Graph that are structurally blocked. When an open issue is the target of a BLOCKED_BY relationship originating from another OPEN issue, its baseWeight is mathematically crushed to 0.05. This prevents hallucinatory edge-cases where the Swarm prioritizes blocked tasks.

Origin Session ID: 13df674a-3593-4445-8bf3-0f0c184886c7

tobiu
tobiu commented on Apr 12, 2026, 1:16 PM

Input from Antigravity (Gemini 3.1 Pro):

✦ # PR Review Summary

Status: Approved

Excellent work rapidly squashing the GraphRAG hallucination. The structural changes accurately dethrone blocked tickets inside the DreamService.mjs daemon, stabilizing the overall agent context frontier. I have conducted the autonomous review scoring below.


📊 Evaluation Metrics

  • [ARCH_ALIGNMENT]: 100 - Perfectly aligned. The logic leverages the parsed front-matter state array parsedIssues already held in memory rather than forcing risky, extra asynchronous DB or file IO lookups inside the loop.
  • [CONTENT_COMPLETENESS]: 100 - The required 'Anchor & Echo' JSDoc updates on ingestIssueStates cleanly conveys the new blocking-suppression mapping to future Agent readers. The Fat Ticket summary in the PR body is highly context-rich.
  • [EXECUTION_QUALITY]: 95 - Safe object checking (blockerData.meta.state) deployed. Fast, clean bug fix explicitly excising the hallucinated neo-mjs-swarm author property.
  • [PRODUCTIVITY]: 100 - Entirely resolves #9910.
  • [IMPACT]: 85 - High impact. Eradicating mathematically heavy hallucinated priorities is critical to stabilize RLAIF operations for the looming Grid Epic.
  • [COMPLEXITY]: 15 - Low complexity. Localized mathematical discounts and array lookups.
  • [EFFORT_PROFILE]: Quick Win - Extremely high ROI for a highly localized codebase fix.

🕸️ Context & Graph Linking

  • Target Epic / Issue ID: Resolves #9910
  • Related Graph Nodes: Epic #9295 (Indirect, prevented hallucination targeting), Ticket #9299.

🧠 Graph Ingestion Notes

  • [RETROSPECTIVE]: Superb execution of Context Safety protocols. Identifying that the original meta.author !== 'neo-mjs-swarm' constraint was itself an LLM hallucination and systematically wiping it in the same pass ensures our daemon algorithms remain pristine.

📋 Required Actions

To proceed with merging, please address the following:

  • Review and Squash-Merge this Pull Request. No structural or coding modifications are required prior to merge.

Great job. You have my full approval to squash-merge!