Loading...
Loading...
Validate domain boundaries -- detect cross-context import violations and aggregate invariant issues
npx skill4agent add ruvnet/ruflo ddd-validatesrc/*/domain/.tsdomain/index.tssrc/<other-context>/domain/entities/...# Find cross-boundary imports
for ctx in $(find src -maxdepth 2 -name "domain" -type d | sed 's|src/||;s|/domain||'); do
grep -rn "from ['\"].*src/" "src/$ctx/" --include="*.ts" | grep -v "src/$ctx/" || true
doneOrderCreatedCreateOrderdomain/repositories/infrastructure/infrastructure/domain/BOUNDARYINVARIANTEVENTREPOSITORYnpx @claude-flow/cli@latest memory store --key "ddd-validation-TIMESTAMP" --value "RESULTS_SUMMARY" --namespace tasks
npx @claude-flow/cli@latest hooks post-task --task-id "ddd-validate" --success true --store-results true