Skip to content

Neo4j projector builds package and lockfile ids instead of reading them from the JSON #72

Done

Description

@rahlk

Describe the bug

The projector builds the package id as "pkg:"+eco+"/"+name. It finds the LOCKS source with the hard-coded key arts["go.sum"]. The dependency record in the JSON carries no package id and no lockfile artifact id.

To Reproduce

  1. Read internal/neo4j/project.go:117 on PR Feat/artifacts #48.

Expected behavior

JSON and graph join on one string that the JSON carries. The projector does not compose ids (CLAUDE.md, Neo4j-projection decisions).

Logs

N/A

Additional context

  • Location: internal/neo4j/project.go:117 (PR Feat/artifacts #48).
  • Example of drift: when dependencies from nested go.mod files are added, LOCKS still points at the root go.sum.
  • Possible fix: add package_id and a locked_in artifact id to the dependency record, and have the projector read them.

Activity

  1. added
    bug
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions