feat: integrate native diagnostics and coordinated CBB transactions
This commit is contained in:
1 parent
9e230e1a46
commit
da67de026f
91 files changed
+14370
-435
No files matched your search
@@ -0,0 +1,28 @@
|
||||
"""Explicit isolated Add research, never a production capability override.
|
||||
|
||||
python tools/validate_native_management.py SOURCE.prj NEW_OUTPUT_DIRECTORY NAME
|
||||
"""
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1]/'src'))
|
||||
from cbb_refresh_verify.native_management import run_isolated_probe
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('source', type=Path)
|
||||
parser.add_argument('new_output_directory', type=Path)
|
||||
parser.add_argument('name')
|
||||
parser.add_argument('--replacement-source', type=Path,
|
||||
help='同一新建隔离库中额外验证同名移除并重新导入此完整工程')
|
||||
args = parser.parse_args()
|
||||
result = run_isolated_probe(args.source, args.new_output_directory, args.name,
|
||||
replacement_source=args.replacement_source)
|
||||
print(args.new_output_directory/'probe-result.json')
|
||||
return 0 if result.get('accepted') else 2
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
raise SystemExit(main())
|
||||
Reference in new issue
Block a user