Files
dxdesigner-part-replacement/docs/research/2026-10-17-headless-replacement-evidence.json
T

358 lines
9.5 KiB
JSON

{
"research_only": true,
"production_backend_changed": false,
"native_query": {
"dll": "PartsDB40.dll",
"sha256": "f24d44eaa13f28550317711df6a6241e227ae56805baa73c8f3020bde513ad0d",
"bitness": 32,
"factory_calling_convention": "cdecl, HRESULT(void**)",
"member_calling_convention": "stdcall, explicit interface pointer first",
"loader_mode": 0,
"queries": [
{
"part": "4100-CA0000-T0",
"exit_code": 0,
"seconds": 0.29699999999138527,
"copy_database_unchanged": true,
"result": {
"requested": "4100-CA0000-T0",
"matches": [
{
"index": 1783,
"number": "4100-CA0000-T0",
"name": "RESC1608N",
"label": "0R",
"symbols_hr": 0,
"symbols": [
"skyworth:res01"
]
}
],
"enumerated": 1021,
"last_hr": 0
}
},
{
"part": "DX_RESEARCH_PART_DOES_NOT_EXIST",
"exit_code": 0,
"seconds": 0.32800000000861473,
"copy_database_unchanged": true,
"result": {
"requested": "DX_RESEARCH_PART_DOES_NOT_EXIST",
"matches": [],
"enumerated": 1021,
"last_hr": 0
}
},
{
"part": "4300-CC1040-7100",
"exit_code": 0,
"seconds": 0.3129999999946449,
"copy_database_unchanged": true,
"result": {
"requested": "4300-CC1040-7100",
"matches": [
{
"index": 1336,
"number": "4300-CC1040-7100",
"name": "CAPC0603X30N",
"label": "C/100NF/16V +/-10% X5R",
"symbols_hr": 0,
"symbols": [
"skyworth:cap01"
]
}
],
"enumerated": 885,
"last_hr": 0
}
},
{
"part": "中文料号测试",
"exit_code": 0,
"seconds": 0.375,
"copy_database_unchanged": true,
"result": {
"requested": "中文料号测试",
"matches": [],
"enumerated": 1021,
"last_hr": 0
}
}
],
"initial_query_samples": [
{
"part": "4100-CA0000-T0",
"exit_code": 0,
"seconds": 0.3129999999946449,
"copy_database_unchanged": true,
"result": {
"matches": [
{
"index": 1783,
"number": "4100-CA0000-T0",
"name": "RESC1608N",
"label": "0R",
"symbols_hr": 0,
"symbols": [
"skyworth:res01"
]
}
],
"enumerated": 1021,
"last_hr": 0
}
},
{
"part": "DX_RESEARCH_PART_DOES_NOT_EXIST",
"exit_code": 0,
"seconds": 0.35899999999674037,
"copy_database_unchanged": true,
"result": {
"matches": [],
"enumerated": 1021,
"last_hr": 0
}
},
{
"part": "4300-CC1040-7100",
"exit_code": 0,
"seconds": 0.39100000000325963,
"copy_database_unchanged": true,
"result": {
"matches": [
{
"index": 1336,
"number": "4300-CC1040-7100",
"name": "CAPC0603X30N",
"label": "C/100NF/16V +/-10% X5R",
"symbols_hr": 0,
"symbols": [
"skyworth:cap01"
]
}
],
"enumerated": 885,
"last_hr": 0
}
}
],
"negative_module_test": {
"exit_code": 2,
"rejected_missing_module": true,
"result": {
"load_error": 126
}
},
"source": "tools/research/native_parts_query.cpp",
"source_sha256": "01da76c3101461687e514dc30694cace634e81487b56b571fe9ea7ca4e163caf",
"reviewed_fixes": [
"Propagate metadata HRESULT failures and validate symbol pointer/count.",
"Encode native ANSI metadata to UTF-8, releasing enum/database/module through RAII.",
"Assert runner exit status, PDB copy hashes, parsed JSON and expected query data."
],
"encoding_scope": "Chinese requested-name roundtrip passed; actual non-ASCII PDB metadata code-page assumption is not independently certified."
},
"installed_list_cli": {
"exe": "ListWGLib.exe",
"arguments": "<library-copy.lmc> PDB <output.txt>",
"exit_code": 0,
"catalog_rows": 9436,
"partitions": 20,
"source_hashes_unchanged": true
},
"replacement": {
"scope": "Audio test copy; same skyworth:res01 symbol; one gate; matching per-label pin-number map",
"verified": true,
"source_hashes_unchanged": true,
"changed_refdes": [
"RV05",
"RV14",
"RV02"
],
"readback": {
"RV02": {
"uid": "$2I1428",
"part": "4100-CA0000-T0",
"value": "2.2K"
},
"RV14": {
"uid": "$2I1766",
"part": "4100-CA0000-T0",
"value": "0R/NC"
},
"RV19": {
"uid": "$2I1885",
"part": "4100-CA1030-T7",
"value": "10K/NC"
},
"RV05": {
"uid": "$2I2014",
"part": "4100-CA0000-T0",
"value": "0R"
},
"RV11": {
"uid": "$2I2022",
"part": "4100-CA0000-T7",
"value": "0R"
},
"RV08": {
"uid": "$2I820",
"part": "4100-CA1030-T7",
"value": "10K/NC"
}
},
"geometry_before": {
"RV02": {
"location": [
1090,
1490
],
"orientation": 3,
"scale": 1.0
},
"RV14": {
"location": [
1540,
1000
],
"orientation": 1,
"scale": 1.0
},
"RV05": {
"location": [
1230,
1320
],
"orientation": 0,
"scale": 1.0
}
},
"attribute_styles_saved_and_reopened_verified": true,
"target_pin_connections_saved_and_reopened_verified": true,
"graph_comparison": {
"hier": {
"verified": true,
"components": 57,
"pins": 103,
"nets": 22,
"unchanged_components": 54,
"rv05_exactly_matches_native_gui": true,
"other_targets_change_only_expected_material_value_and_base_pin_fields": true,
"all_connections_match_native_baseline": true
},
"flat": {
"verified": true,
"components": 57,
"pins": 103,
"nets": 22,
"unchanged_components": 54,
"rv05_exactly_matches_native_gui": true,
"other_targets_change_only_expected_material_value_and_base_pin_fields": true,
"all_connections_match_native_baseline": true
}
},
"worker_phase_seconds": [
{
"phase": "open",
"seconds": 44.187
},
{
"phase": "validate_native_library_metadata",
"seconds": 0.11
},
{
"phase": "create_target_template",
"seconds": 16.797
},
{
"phase": "replace_selected_in_place",
"seconds": 14.625
},
{
"phase": "synchronize_pin_properties",
"seconds": 10.172
},
{
"phase": "delete_template_and_verify",
"seconds": 11.031
},
{
"phase": "save_close",
"seconds": 3.875
},
{
"phase": "reopen_and_verify",
"seconds": 38.922
}
],
"cad_startup_seconds": 66.89100000000326,
"cad_exit_code": 0,
"quit_helper_exit_code": 0,
"cleanup": {
"desktop": "dx-f1e65335ec1a4b369275b1a4d73d1db0",
"processes": [
{
"pid": 48148,
"job_active_processes": 0,
"exit_code": 0,
"descendant_pids": [],
"unconfirmed_descendant_handles": 0,
"process_handle_closed": true,
"job_handle_closed": true,
"errors": []
},
{
"pid": 32732,
"job_active_processes": 0,
"exit_code": 0,
"descendant_pids": [],
"unconfirmed_descendant_handles": 0,
"process_handle_closed": true,
"job_handle_closed": true,
"errors": []
},
{
"pid": 50964,
"job_active_processes": 0,
"exit_code": 0,
"descendant_pids": [],
"unconfirmed_descendant_handles": 0,
"process_handle_closed": true,
"job_handle_closed": true,
"errors": []
},
{
"pid": 50144,
"job_active_processes": 0,
"exit_code": 0,
"descendant_pids": [
42508
],
"unconfirmed_descendant_handles": 0,
"process_handle_closed": true,
"job_handle_closed": true,
"errors": []
}
],
"desktop_handle_closed": true,
"desktop_confirmation": {
"desktop": "dx-f1e65335ec1a4b369275b1a4d73d1db0",
"released": true,
"elapsed_seconds": 0.014999999999417923,
"budget_seconds": 5.0,
"caller_pid": 50324,
"caller_thread_id": 46800
},
"errors": []
},
"clean": true,
"cleanup_errors": []
},
"limitations": [
"RV05 has an exact GUI baseline; RV14/RV02 have expected-field and topology checks, not separate full GUI baselines.",
"Packager/PCB synchronization was not executed.",
"No arbitrary-symbol, multi-gate, hierarchy-occurrence, multi-project, cancellation or production throughput claim.",
"The existing hierarchical inventory misses some instance overrides; this must be handled before promoting the new backend."
]
}