Skip to content

bad-code: IntentController sequential guard I/O over-fetch #706

Description

@flyingrobots

Impact

Currently, IntentController.ts iterates sequentially through descriptor.precommitGuards and performs individual worldline.getNodeProps(guard.nodeId) lookups. In a highly active graph with complex multi-node transactions, this results in sequential I/O bottlenecks and potential cache thrashing.

Refactoring Path

Implement a batch-fetch pipeline in ProjectionHandle (worldline.getNodesProps([...nodeIds])) to resolve all precommit guard dependencies in a single consolidated read pass before evaluating obstructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:queryPrimary work area: query.priority:laterDeferred or speculative work.status:availableOpen and available for prioritization; not blocked or actively in progress.type:featureNew capability or product behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions