What problem does it solve? During arch22 to arch35 Ascend C operator migrations, existing target-architecture implementations may already exist, but reusing them blindly risks treating unverified code as ground truth. This Skill provides a controlled pipeline to discover, stage, build, measure, and learn from prior-art candidates without ever replacing the independent truth source or customer-facing verification. ## Core Features & Use Cases - Provenance-bound staging: scan_prior_art.py detects candidate implementations (upstream arch35, shared-common, V220 entries, workspace stashes) and stage_candidate.py copies only digest-authorized files into .prior_art_candidate/ with a SHA-256 manifest. - Isolated build and verification: build_candidate.py compiles the candidate in a unique container-side checkout of ops-nn, and verify_candidate.py measures it against the freshly provisioned independent truth (npubench bundle or live arch22 capture). - Advisory classification and learning: classify.py emits CANDIDATE_PASS / PRECISION_GAP / PERF_GAP / DET_GAP / BUILD_GAP verdicts, and learn_extract.py mechanically extracts API-surface signals into reviewable knowledge candidates. - Use Case: When migrating an operator such as adaptive_avg_pool3d, run the pipeline to test whether the upstream arch35 sibling implementation passes precision and performance floors, then feed the resulting seed or counterexamples into the standard worker brief. ## Quick Start Ask the agent to run the aog-prior-art-verify pipeline for the current operator so it scans for prior art, stages and builds the candidate, and reports an advisory verdict against the fresh independent truth.