Graphwerk combines both app/games and spec/games package into single package: package/games.
I used the same directory structure and ran both graphwerk and pocky on the same folder which gave different results.
I think graphwerk has a bug.
Directory structure:
sportsball
|- app
|-packages
|- games
|- package.yml
... etc
|- spec
|-packages
|- games
|- package.yml
... etc
Notice that test (spec) package depends on the appropriate app package, that is spec/games depends on app/games:
in sportsball/spec/packages/games/package.yml :
enforce_dependencies: true
enforce_privacy: false
dependencies:
- app/packages/games
But on diagram we get single package package/games that references itself which is wrong.
Basically graphwerk combined both app/games and spec/games package into single package: package/games
Additional info
in sportsball/app/packages/games/package.yml :
enforce_dependencies: true
enforce_privacy: false
dependencies:
- app/packages/rails_shims
- app/packages/teams
the only deprecated_references.yml file is under root:
sportsball/deprecated_references.yml
# This file contains a list of dependencies that are not part of the long term plan for ..
# We should generally work to reduce this list, but not at the expense of actually getting work done.
#
# You can regenerate this file using the following command:
#
# bin/packwerk update-deprecations .
---
app/packages/games:
"::Game":
violations:
- dependency
files:
- spec/support/object_creation_methods.rb
app/packages/teams:
"::Team":
violations:
- dependency
files:
- spec/support/object_creation_methods.rb
Graphwerk result of running:
bundle exec rake graphwerk:update

Pocky result of running:
rake pocky:generate"[root]"

Graphwerk combines both app/games and spec/games package into single package: package/games.
I used the same directory structure and ran both graphwerk and pocky on the same folder which gave different results.
I think graphwerk has a bug.
Directory structure:
Notice that test (spec) package depends on the appropriate app package, that is spec/games depends on app/games:
in sportsball/spec/packages/games/package.yml :
But on diagram we get single package package/games that references itself which is wrong.
Basically graphwerk combined both app/games and spec/games package into single package: package/games
Additional info
in sportsball/app/packages/games/package.yml :
the only deprecated_references.yml file is under root:
sportsball/deprecated_references.yml
Graphwerk result of running:
bundle exec rake graphwerk:updatePocky result of running:

rake pocky:generate"[root]"