chore: fix sync
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled

This commit is contained in:
Jesús Pérez 2026-04-08 03:41:50 +01:00
parent b00790f67b
commit f5d1d28181
Signed by: jesus
GPG key ID: 9F243E355E0BC939

View file

@ -1363,10 +1363,9 @@ def find-unclaimed-artifacts [scan: record, root: string, node_paths: list<strin
}
for m in ($scan.modes? | default []) {
# mode.path may be absolute — normalize to relative for comparison
let mode_rel = if ($m.path | str starts-with $root) {
$m.path | path relative-to $root
} else { $m.path }
# Skip global framework modes (live under ONTOREF_ROOT, not project root)
if not ($m.path | str starts-with $root) { continue }
let mode_rel = $m.path | path relative-to $root
let claimed = ($node_paths | any { |np| $mode_rel starts-with $np or $np starts-with $mode_rel })
if not $claimed {
$unclaimed = ($unclaimed | append { id: $"mode-($m.name)", path: $mode_rel, kind: "mode" })