b584601174
技能主文件只留默认路径、成功输出样例、失败索引表与禁令;长尾规程逐字 搬进各技能 reference/,索引键与 reference 小节标题一一对应。 拆分结果(改前 -> 改后,字节): - keil-build 21779 -> 5837,新建 3 篇 reference - task-worktree 24163 -> 11448,新建 4 篇 reference,A-G/C2 节号保号 - draw-diagram 18907 -> 6496,新建 5 篇 reference - mem-budget 13046 -> 8020,新建 4 篇 reference - id-family-semantic-migration 11509 -> 8077,新建 2 篇 reference - stale-doc-count-sweep 8156 -> 6371,新建 1 篇 reference - serial-boot-test 8464 -> 6663,新建 2 篇 reference - board-ui-nav 5350 -> 4364,新建 1 篇 reference 其余 9 个技能补真实成功输出样例(判据串取自本轮实跑或文档原文)。 check_skill_size.py rc=0,17 个主文件无悬空指针。 IEC104 探针入库:ci-artifacts/ 里可复用的三个验收脚本迁入 test/host/iec104_dtu/(纯标准库、argparse、ASCII 输出、exit 0/1/2), 协议逻辑逐字保留,含三处探针自身缺陷修复(GI 漏 3 字节 IOA、I 帧 过滤判反、MEAS 键用 source_addr 而非 IOA)。一次性设计度量按 PROBE_INDEX.md 登记不迁入,运行方法见 PROBE_RUNBOOK.md。
13 KiB
13 KiB
IEC104 probe triage and migration index
This is the tracked index for the temporary IEC104 probes that previously lived
under ignored ci-artifacts/. Only reusable protocol-correctness acceptance
probes (A) were normalized into test/host/iec104_dtu/. One-off design
measurements (B) stay out of the test tree. Scripts already covered by tracked
assets (C) were not migrated. The source paths below are historical:
ci-artifacts/ is gitignored and may not exist in a fresh clone.
A - reusable protocol acceptance (migrated)
| Source | Class | Disposition | One-line verdict |
|---|---|---|---|
ci-artifacts/iec104-bench/board_probe.py |
A | Migrated to test/host/iec104_dtu/verify_board_acceptance.py |
Real-board read-only acceptance: STARTDT, GI, 10 mapped measurements, 59 SP + 16 DP, command refusal, clock confirmation. Exit 0 = all checks pass, 1 = a check fails, 2 = connection/protocol error. |
ci-artifacts/iec104-lan/verify_lan.py |
A | Migrated to test/host/iec104_dtu/verify_simulator_lan_bind.py |
Simulator wildcard bind and local-IPv4 STARTDT check. Exit 0 = wildcard listener and handshakes pass, 1 = assertion fails, 2 = missing exe/tooling error. Same-host only. |
ci-artifacts/iec104-tests/duration-evidence/duration_refusal_probe.py |
A | Migrated to test/host/iec104_dtu/verify_simulator_duration_evidence.py |
Simulator finite-duration evidence for refused commands, clock sync, no completion frames and clean STOP. Exit 0 = all checks pass, 1 = behaviour fails, 2 = startup/read error. |
B - one-off design-time measurement (not migrated)
| Source | Class | Disposition | One-line verdict |
|---|---|---|---|
ci-artifacts/iec104-cutover/probe_nostore_effect.py |
B | Keep as one-off evidence; not in test/host/ |
Compares iec104_source.o ZI with/without IEC104_SOURCE_NO_VALUE_STORE; answers a macro-cost question, not future protocol correctness. |
ci-artifacts/iec104-cutover/ac5_probe_32.py |
B | Keep as one-off evidence; not in test/host/ |
AC5 warning-surface probe driven by the historical registration manifest; design-time compiler evidence. |
ci-artifacts/iec104-cutover/gen_source_ranks.py |
B | Keep as one-off evidence; not in test/host/ |
Generates a dense rank header from a frozen profile; a code generator, not a test. |
ci-artifacts/iec104-cutover/recompute_reach_budget.py |
B | Keep as one-off evidence; not in test/host/ |
Recomputes RAM budget from one-off link logs; design accounting only. |
ci-artifacts/iec104-cutover/register_mdk.py |
B | Keep as one-off evidence; not in test/host/ |
One-time MDK registration script driven by a manifest; host tests must never register product files. |
ci-artifacts/iec104-cutover/verify-slot-equivalence.py |
B | Keep as one-off evidence; not in test/host/ |
Proves old/new storage mappings equivalent for a specific redesign; not a reusable 104 acceptance probe. |
ci-artifacts/iec104-cutover/serv-attrib/serv_surface_probe.py |
B | Keep as one-off evidence; not in test/host/ |
Reports stack frames of one frozen task build; design measurement. |
ci-artifacts/iec104-build/verify_vendor.py |
B | Keep as one-off evidence; not in test/host/ |
Pins 17 controlled vendor diffs and hashes a frozen release; design drift evidence. |
ci-artifacts/iec104-build/capacity_boundaries.py |
B | Keep as one-off evidence; not in test/host/ |
Compiles vendor TcpServer.c at guessed capacity limits; capacity design, not protocol acceptance. |
ci-artifacts/iec104-build/link_resource_probe.py |
B | Keep as one-off evidence; not in test/host/ |
Isolated armlink resource probe with hard-coded Keil paths and historical object inventory. |
ci-artifacts/iec104-build/summarize_matrix.py |
B | Keep as one-off evidence; not in test/host/ |
Reformats vendor-ac5-results.json into a matrix; depends on a one-off artifact tree. |
ci-artifacts/iec104-build/vendor_style_scan.py |
B | Keep as one-off evidence; not in test/host/ |
Wrapper around the coding-standard hook for a frozen vendor file list. |
ci-artifacts/iec104-build/final_static_scan.py |
B | Keep as one-off evidence; not in test/host/ |
Freezes explicit vendor/simulator source lists and hashes for a past review. |
ci-artifacts/iec104-build/tiny_resource_probe.py |
B | Keep as one-off evidence; not in test/host/ |
Compiles/links a hypothetical tiny-capacity variant; not a product configuration test. |
ci-artifacts/iec104-review/verify_vendor.py |
B | Keep as one-off evidence; not in test/host/ |
Asserts 84 upstream hashes, 43 static assertions and controlled diffs of a historical review tree. |
ci-artifacts/iec104-review/any_bind_review.py |
B | Keep as one-off evidence; reusable part migrated | Reviews one frozen simulator SHA256 and writes review-only JSON; wildcard bind check migrated to A. |
ci-artifacts/iec104-review/boundaries.py |
B | Keep as one-off evidence; not in test/host/ |
Re-checks capacity compile boundaries at a hard-coded Keil path; duplicate of iec104-build/capacity_boundaries.py. |
ci-artifacts/iec104-review/mcu_closure_review.py |
B | Keep as one-off evidence; not in test/host/ |
Rebuilds a historic MCU closure map and checks a 3336-byte symbol; not a protocol test. |
ci-artifacts/iec104-review/run_masks.py |
B | Keep as one-off evidence; not in test/host/ |
Compiles a one-off masks.c with MSVC; depends on a review-tree fixture. |
ci-artifacts/iec104-review/ramprobe/cap_sweep.py |
B | Keep as one-off evidence; not in test/host/ |
Sweeps TCP capacities through ARMCC and fromelf for RAM sizing. |
ci-artifacts/iec104-review/ramprobe/dump.py |
B | Keep as one-off evidence; not in test/host/ |
Dumps section data of one historical object through fromelf. |
ci-artifacts/iec104-review/ramprobe/objs.py |
B | Keep as one-off evidence; not in test/host/ |
Parses a historical Keil map's object summary by RW+ZI. |
ci-artifacts/iec104-review/ramprobe/objsyms.py |
B | Keep as one-off evidence; not in test/host/ |
Lists data symbols of one named object from a historical Keil map. |
ci-artifacts/iec104-review/ramprobe/region.py |
B | Keep as one-off evidence; not in test/host/ |
Aggregates execution-region rows from a historical Keil map. |
ci-artifacts/iec104-review/ramprobe/region2.py |
B | Keep as one-off evidence; not in test/host/ |
Refined Keil map region/section aggregation for the same one-off review. |
ci-artifacts/iec104-review/ramprobe/secsum.py |
B | Keep as one-off evidence; not in test/host/ |
Converts fromelf section sizes into a RO/RAM table for historical objects. |
ci-artifacts/iec104-review/ramprobe/sweep2.py |
B | Keep as one-off evidence; not in test/host/ |
Compiles a single vendor TU under alternate capacity defines and reports RO/RAM. |
ci-artifacts/iec104-review/ramprobe/sweep3.py |
B | Keep as one-off evidence; not in test/host/ |
Measures .bss of one vendor TU under a fixed set of capacity overrides. |
ci-artifacts/iec104-review/ramprobe/syms.py |
B | Keep as one-off evidence; not in test/host/ |
Greps named symbols from a historical Keil map. |
ci-artifacts/hash_iec104_sim_release.py |
B | Keep as one-off evidence; not in test/host/ |
Rewrites a release source hash list from a historical vcxproj; snapshot tool, not a test. |
ci-artifacts/iec104-mcu-skeleton/capacity-candidates.py |
B | Keep as one-off evidence; not in test/host/ |
Enumerates hypothetical capacity pools for the skeleton design. |
ci-artifacts/iec104-mcu-skeleton/compile_real_serv_exact.py |
B | Keep as one-off evidence; not in test/host/ |
Recreates the historical product compile surface for one serv TU. |
ci-artifacts/iec104-mcu-skeleton/link_skeleton.py |
B | Keep as one-off evidence; not in test/host/ |
Measures skeleton closure RO/RW+ZI with isolated armlink objects. |
ci-artifacts/iec104-mcu-skeleton/link_whole_image.py |
B | Keep as one-off evidence; not in test/host/ |
Measures whole-image reachability with a draft Net backend. |
ci-artifacts/iec104-mcu-skeleton/link_whole_with_business.py |
B | Keep as one-off evidence; not in test/host/ |
Adds business TUs to the isolated link for a three-tier RAM comparison. |
ci-artifacts/iec104-mcu-skeleton/measure_skeleton.py |
B | Keep as one-off evidence; not in test/host/ |
Compiles/links the skeleton TU set and records ARMCC/fromelf sizes. |
ci-artifacts/iec104-mcu-skeleton/pool_parts_report.py |
B | Keep as one-off evidence; not in test/host/ |
Parses pool-size constants from historical fromelf output. |
ci-artifacts/iec104-mcu-skeleton/summarize_matrix.py |
B | Keep as one-off evidence; not in test/host/ |
Summarizes skeleton link maps against a fixed RAM floor. |
ci-artifacts/iec104-mcu-skeleton/summarize_skeleton.py |
B | Keep as one-off evidence; not in test/host/ |
Aggregates per-TU ROM/RAM from a historical measurement JSON. |
ci-artifacts/iec104-mcu-skeleton/summarize_whole_image.py |
B | Keep as one-off evidence; not in test/host/ |
Summarizes whole-image link maps against a fixed RAM floor. |
ci-artifacts/iec104-mcu-skeleton/tu_closure.py |
B | Keep as one-off evidence; not in test/host/ |
Explains skeleton/business TU split from one historical .xref map. |
ci-artifacts/iec104-mcu-skeleton/core-trim/candidate_a_delta.py |
B | Keep as one-off evidence; not in test/host/ |
Measures code-trim delta against a git-HEAD baseline copy. |
ci-artifacts/iec104-mcu-skeleton/core-trim/link_core_trim.py |
B | Keep as one-off evidence; not in test/host/ |
Links two core-trim variants and subtracts library RAM from map totals. |
ci-artifacts/iec104-mcu-skeleton/core-trim/link_reach_fixed.py |
B | Keep as one-off evidence; not in test/host/ |
Re-links with a corrected core/source reach root across four tiers. |
ci-artifacts/iec104-mcu-skeleton/core-trim/measure_business_tu.py |
B | Keep as one-off evidence; not in test/host/ |
Compiles business TUs in two tiers and extracts RAM with fromelf. |
ci-artifacts/iec104-mcu-skeleton/core-trim/ram_by_object.py |
B | Keep as one-off evidence; not in test/host/ |
Lists per-object RAM from historical core-trim objects. |
ci-artifacts/iec104-mcu-skeleton/core-trim/summarize_core_trim.py |
B | Keep as one-off evidence; not in test/host/ |
Parses size symbols produced by the one-off core-trim probe. |
ci-artifacts/iec104-mcu-skeleton/core-trim/simcheck/gen_probes.py |
B | Keep as one-off evidence; not in test/host/ |
Generates probe C files for the one-off skeleton simulation check. |
ci-artifacts/iec104-mcu-plan/files/capture_evidence.py |
B | Keep as one-off evidence; not in test/host/ |
Captures selected source ranges into a historical evidence text file. |
ci-artifacts/iec104-mcu-plan/persistence/audit_parameters.py |
B | Keep as one-off evidence; not in test/host/ |
Audits a frozen writable-parameter predicate and writes CSV to stdout. |
ci-artifacts/iec104-mcu-plan/resources/link_closure.py |
B | Keep as one-off evidence; not in test/host/ |
Links a conservative file-domain closure from historical objects. |
ci-artifacts/iec104-mcu-plan/resources/measure_closure.py |
B | Keep as one-off evidence; not in test/host/ |
Copies upstream sources and compiles them in isolation for sizing. |
ci-artifacts/iec104-mcu-plan/resources/seal_evidence.py |
B | Keep as one-off evidence; not in test/host/ |
Hashes all evidence files in one design directory into a manifest. |
ci-artifacts/iec104-mcu-feasibility/files/run.py |
B | Keep as one-off evidence; not in test/host/ |
Isolated MSVC host run of file-domain feasibility fixtures. |
ci-artifacts/iec104-mcu-feasibility/independent-tests/run_checks.py |
B | Keep as one-off evidence; not in test/host/ |
Runs artifact-only persistence feasibility probes and mutants. |
ci-artifacts/iec104-mcu-feasibility/independent-tests/run_layout.py |
B | Keep as one-off evidence; not in test/host/ |
Checks a frozen candidate layout oracle with MSVC fixtures. |
ci-artifacts/iec104-mcu-feasibility/persistence/run_model.py |
B | Keep as one-off evidence; not in test/host/ |
Runs an isolated persistence-state-machine model with injected faults. |
ci-artifacts/iec104-mcu-feasibility/resources/measure_layout.py |
B | Keep as one-off evidence; not in test/host/ |
Compiles/links a frozen layout candidate for RAM comparison. |
C - already covered by tracked assets (not migrated)
| Source | Class | Disposition | One-line verdict |
|---|---|---|---|
ci-artifacts/iec104-review/cli_final.py |
C | Not migrated | Covered by test/host/iec104_dtu/run_tcp_test.py and the simulator CLI contract in test/host/iec104_dtu/MATRIX.md; this file additionally pinned one historical SHA256. |
ci-artifacts/iec104-build/baseline-f84855a5/**/*.py |
C | Not migrated | Frozen baseline copy of already tracked repository scripts; no new probe logic. |
Files added under test/host/iec104_dtu/
verify_board_acceptance.py,verify_simulator_lan_bind.py,verify_simulator_duration_evidence.py: normalized A-class probes.PROBE_INDEX.md: this classification index.PROBE_RUNBOOK.md: how and when to run the three normalized probes.