Split 6 oversized files (719–882 LOC each) into focused files under 500 LOC: - policy_engine.go → types, loader, eval, gen (4 files) - legal_rag.go → types, client, http, context, scroll (5 files) - ai_act_module.go → module, yaml, obligations (3 files) - nis2_module.go → module, yaml, obligations + shared obligation_yaml_types.go (3+1 files) - financial_policy.go → types, engine (2 files) - dsgvo_module.go → module, yaml, obligations (3 files) All in package ucca, zero exported symbol renames, go test ./internal/ucca/... passes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
388 B
Go
8 lines
388 B
Go
// Package ucca provides the Use Case Compliance Assessment engine.
|
|
// policy_engine.go is split into:
|
|
// - policy_engine_types.go — YAML struct types
|
|
// - policy_engine_loader.go — constructor, file loading, accessor methods
|
|
// - policy_engine_eval.go — rule evaluation logic
|
|
// - policy_engine_gen.go — summary/recommendation generation + helpers
|
|
package ucca
|