[Feature] Add dependency-boundary checks that forbid direct optional module imports #66

Closed
opened 2026-07-06 15:03:11 +02:00 by zemion · 1 comment
Owner

Imported from a backlog-like text file.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md
  • Line: 100
  • Source kind: product
  • Section: GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 0: Stabilize Current Modular Baseline

Imported item:

Add dependency-boundary checks that forbid direct optional module imports.
<!-- codex-generic-backlog-fingerprint:d6c2086c8b52b4b3ef6dd2da --> Imported from a backlog-like text file. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md` - Line: `100` - Source kind: `product` - Section: `GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 0: Stabilize Current Modular Baseline` Imported item: ```text Add dependency-boundary checks that forbid direct optional module imports. ```
zemion added this to the Phase 0: Stabilize Current Modular Baseline milestone 2026-07-06 15:03:11 +02:00
zemion added the
type
feature
priority
p2
source/backlog-import
codex/ready
labels 2026-07-07 23:27:19 +02:00
zemion added the
status
triage
label 2026-07-08 02:57:55 +02:00
Author
Owner

Codex State: done

Summary

  • Dependency-boundary enforcement is implemented in scripts/check_dependency_boundaries.py and is wired into scripts/check-focused.sh.
  • The check currently covers core/access/platform/feature owners, forbids direct optional feature imports, and has zero transitional allowlist entries.

Changed Files

  • scripts/check_dependency_boundaries.py
  • scripts/check-focused.sh
  • docs/MODULE_ARCHITECTURE.md

Verification

  • bash scripts/check-focused.sh passed cleanly
## Codex State: done ### Summary - Dependency-boundary enforcement is implemented in scripts/check_dependency_boundaries.py and is wired into scripts/check-focused.sh. - The check currently covers core/access/platform/feature owners, forbids direct optional feature imports, and has zero transitional allowlist entries. ### Changed Files - `scripts/check_dependency_boundaries.py` - `scripts/check-focused.sh` - `docs/MODULE_ARCHITECTURE.md` ### Verification - `bash scripts/check-focused.sh passed cleanly`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#66
No description provided.