Frontmatter
| title | >- |
| feat | Algorithmically discount weight of BLOCKED_BY nodes in DreamService |
| author | tobiu |
| state | Merged |
| createdAt | Apr 12, 2026, 1:11 PM |
| updatedAt | Apr 12, 2026, 1:17 PM |
| closedAt | Apr 12, 2026, 1:17 PM |
| mergedAt | Apr 12, 2026, 1:17 PM |
| branches | dev ← agent/9910-dreamservice-graph-discount |
| url | https://github.com/neomjs/neo/pull/9911 |
Merged

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.mjsdaemon, 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 arrayparsedIssuesalready 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 oningestIssueStatescleanly 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 hallucinatedneo-mjs-swarmauthor 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 originalmeta.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!
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