Repository navigation
feat(workflow): add Rust paperclip-qa-file-owner helper, parity suite, and CI gate - #769
Merged
Merged
Conversation
insightflo
force-pushed
the
feat/rust-qa-file-owner-20261118
branch
from
November 18, 2026 07:08
0e85f53 to
857b28b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crates/qa-file-owner(paperclip-qa-file-owner), a 1:1 drop-in Rust replacement forserver/src/services/workflow/control-flow/qa-remediation-file-owner.py(v=1stdio JSONL protocol,flock(LOCK_EX)withlock_wait,lstat/fstatguard inode verification, preflight validation across all targets prior to mutation, atomic temp/fsync/fchmod/rename/readback/dir-fsync, exit codes0/2/3, positional legacy.pyargv ignored for zero-change TS compatibility viaPAPERCLIP_QA_FILE_OWNER_PYTHON).<= 300lines perAGENTS.mdRule 8 (zero Rule 8 exceptions):src/:main.rs(198),protocol.rs(203),guard.rs(285),publish_io.rs(243),publish.rs(197)tests/:common/mod.rs(225),guard_locking.rs(242),publication.rs(176),protocol_framing.rs(156) using nativeCARGO_BIN_EXE_paperclip-qa-file-ownerserver/src/__tests__/qa-remediation-file-owner-rust-parity.test.ts(232) exercisingcreateQaFileOwnerRuntime,QaRemediationFileOwner,runGuardedPublication,lock_wait,SIGKILLrecovery, and raw Python↔Rust refusal parity.github/workflows/pr.yml(294 lines, trimmed from 303) addingdtolnay/rust-toolchain@stable(clippy+cargo test --release) in heavypolicyanddtolnay/rust-toolchain@stableinverify-testswithout duplicatingscripts/ci-scope.shrulesVerification
cargo clippy --manifest-path crates/qa-file-owner/Cargo.toml --all-targets -- -D warnings: 0 warningscargo test(debug) &cargo test --release: 27/27 passed (2unit +9guard_locking +11protocol_framing +5publication)pnpm -r typecheck&check:write-chokepoint&check-dockerfile-deps-stage.sh: exit 0qa-remediation-file-owner*.test.ts+ci-scope-script.test.ts): 4 files / 53 tests passed5.02 msmean vs Python344.26 msmean (8.81xspeedup; zero TS wrapper changes)w-agy/gemini-4-hydrogen-xhigh): PASS (0 BLOCKER, 0 MAJOR, full Rule 8 compliance)Rollout Note
PAPERCLIP_QA_FILE_OWNER_PYTHONpoints to the compiledpaperclip-qa-file-ownerbinary (1-line opt-in / instant rollback).