Skip to content

Registry regen over-zeroes dependencies in non-WSL agent/task entries #754

Description

@rafaelscosta

Context

Discovered while reviewing PR #752 (cross-platform CodeRabbit). CodeRabbit flagged the broader pattern at lines 14221-14233, 14251-14272, 14384-14397, 14566-14578 in entity-registry.yaml — the change was docs-only but the regen wiped dependencies arrays for unrelated entries.

I dismissed the review claiming "phantom WSL deps", which was only partially true. Subsequent investigation (git diff 536bda9d..38cfa89f -- .aiox-core/data/entity-registry.yaml | grep -B 2 'dependencies: \[\]') shows entries like qa-create-fix-request, greenfield-ui, spec-pipeline, story-draft-checklist lost dependencies that have no semantic relation to WSL/coderabbit configuration.

Hypothesis

The regen script's dependency-extraction algorithm in .aiox-core/development/scripts/populate-entity-registry.js is sub-detecting deps for some tasks/checklists. Possible causes:

  1. The dependency-extraction regex has an edge case that fails on a markdown construct in the affected files.
  2. Removing wsl_config: / installation_mode: from agent personas invalidated some indirect graph edges those tasks had through the agents.
  3. The recent extractPurpose rewrite (PR fix(ids): scope purpose inference + sync self-entry on regen #748) reshuffled which keys the parser walks — possibly a side-effect dropped deps along with garbage purposes.

Reproduction

git diff 536bda9d..38cfa89f -- .aiox-core/data/entity-registry.yaml \
  | grep -B 2 'dependencies: \[\]' \
  | head -40

Shows usedBy/dependencies arrays going from populated to [] for entries CodeRabbit flagged.

Severity

🟠 Major (CodeRabbit's classification). Degrades IDS impact analysis and aiox graph --deps accuracy. Not a regression of behavior, but the registry is now incomplete.

Out of scope

Not part of the cross-platform fix (#731 / #752) or the SCAN_CONFIG core-docs addition (#753). Both shipped intentionally with this drift present; this issue tracks the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreCore framework (.aios-core/core/)status: needs-triageAwaiting initial triagetype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions