Context
Discovered during code review of the coupling_ceiling feature (issue #16).
Description
codegraph/docs/arch-policies.md lines 64-76 reference a CROSS_PACKAGE_PAIRS variable in the cross-package policy configuration example. This variable does not exist in the codebase — the actual config key is pairs inside [policies.cross_package]. The misleading variable name may confuse users trying to configure this policy.
Suggested approach
Audit the config example in section 2 against arch_config.py's CrossPackageConfig and _parse_cross_package() to ensure the documented TOML matches what the parser actually reads, then correct any discrepancies.
Context
Discovered during code review of the coupling_ceiling feature (issue #16).
Description
codegraph/docs/arch-policies.mdlines 64-76 reference aCROSS_PACKAGE_PAIRSvariable in the cross-package policy configuration example. This variable does not exist in the codebase — the actual config key ispairsinside[policies.cross_package]. The misleading variable name may confuse users trying to configure this policy.Suggested approach
Audit the config example in section 2 against
arch_config.py'sCrossPackageConfigand_parse_cross_package()to ensure the documented TOML matches what the parser actually reads, then correct any discrepancies.