You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pv bindings resolver: follow OUT_DIR includes mapped to a checked-in file (arch_requirements fallback) #5008
crates/aprender-serve/src/arch_requirements.rs pulls its items in with include!(concat!(env!("OUT_DIR"), "/arch_requirements_generated.rs")). crates/aprender-serve/build.rs writes that file either from the contract YAML or as a copy of src/arch_requirements_fallback.rs. The resolver in crates/aprender-contracts/src/ontology/extract/code.rs follows mod and plain include! only, so neither symbol resolves under any module path.
Proposal: teach the resolver to follow an OUT_DIR include when the build script maps it to a checked-in source file (here, the fallback), then rebind both rows to realizar::arch_requirements and remove their allowlist entries.
This changes what the bindings gate accepts, so the change needs a review from someone other than its author, bound to its final commit, plus a case table of includes that must and must not resolve.
Done when both rows resolve, the 2 allowlist entries are removed, and pv lint contracts/ --gate bindings exits 0.
Folded into #5308 as a checklist row (TRIAGE-100, 2026-10-14): the open-ticket cap is 100, so this ticket is now tracked on that master and closed as not planned. Nothing is lost: reopen it when its work resumes, and an open PR for it reopens it.
Activity
chore(ont): regenerate contracts.nt for the rebound binding rows (#4470)
fix(ont): rebind or delete the ghost binding rows; allowlist 163 -> 3 (…
fix(ont): binding rows after the ghost rebind (paiml#4470 follow-up) (p…
noahgift commentedon Oct 14, 2026
Folded into #5308 as a checklist row (TRIAGE-100, 2026-10-14): the open-ticket cap is 100, so this ticket is now tracked on that master and closed as not planned. Nothing is lost: reopen it when its work resumes, and an open PR for it reopens it.
Agent: aprender-clerk