test(dwarf): LS-CP-4 aliases + gate scans integration tests#165
Merged
Conversation
Two related fixes for the LS-N verification gate's coverage of
LS-CP-4 ("DWARF passthrough emits address-incorrect debug info").
1. `meld-core/tests/dwarf_strip.rs` already had three tests pinning
Phase 1.5's Strip-default policy (the mitigation LS-CP-4 calls
for): `default_strips_dwarf`, `passthrough_preserves_dwarf`,
`default_is_strip`. The gate didn't see them because the names
don't match the `ls_cp_4_*` convention. Adds three convention
aliases that delegate to the existing test bodies — same pattern
as the five aliases in PR #161.
2. `tools/run_ls_verification.py` was invoking `cargo test --lib`,
which excludes integration tests under `<package>/tests/`. Drops
the `--lib` filter so both lib and integration-test binaries
participate. Each cargo target prints its own `test result:`
line; the parser already sums across multiple matches, so this
is a one-line change with no other plumbing impact.
Gate result moves from 16/19 verified (3 missing: LS-CP-4, LS-A-8,
LS-A-9) to 17/19 verified (2 missing: LS-A-8, LS-A-9). The
remaining two need net-new tests, not aliases — surveyed in task
#52, scoped at ~1-2h (LS-A-9) and ~2-4h (LS-A-8).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
LS-N verification gate
Approved Failed LS entries(none) Missing regression tests
Updated automatically by |
avrabe
added a commit
that referenced
this pull request
May 21, 2026
P3 cross-component stream-pair detection foundation + a fully operational Mythos delta-pass auto-runner. 12 commits since v0.8.1. Headline changes: - Cross-component stream<T> pairing detection (#141, ADR-3). The StreamPairGraph foundation for the in-module stream adapter: meld now inventories at resolve time which fused components form producer -> consumer stream pairings. The ring-buffer / copy-chain emitter is a runtime-verified follow-up (ADR-3 Path N). - Mythos delta-pass auto-runner (#162, #164, #170, #173, #175). The AI-driven discover protocol now runs automatically on every Tier-5 PR by the maintainer, via claude-code-action on a Max-plan OAuth token. Five plumbing fixes brought it to a working end-to-end state: scan -> NO_FINDINGS verdict -> sticky comment -> mythos-pass-done label. - LS-N verification gate (#161, #165). Every approved loss-scenario in safety/stpa/loss-scenarios.yaml is now enforced to have a matching ls_<letter>_<num>_* regression test; 19/19 verified. - DWARF / witness-mapping discovery (#131) — Phase 1 of the #130 epic; pins today's lossy passthrough as the green-to-red oracle for the Phase 2 remap work. - Regression coverage for LS-A-8/9/19 and LS-CP-4 (#163/165/166/169) — closed every missing-test entry the LS-N gate surfaced. - CI footprint reduction (#171) — bench/fuzz/ci skip on docs- and safety-only PRs; meld is a leaner consumer of the shared fleet. - fuzz.yml musl-target drop (#170, closes #168) — fixes the recurring "sanitizer incompatible with statically linked libc" fuzz failures. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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
Two related fixes for the LS-N verification gate's coverage of LS-CP-4 ("DWARF passthrough emits address-incorrect debug info").
Fix 1: Convention aliases in
dwarf_strip.rsThe file already has three tests pinning Phase 1.5's Strip-default policy (the mitigation LS-CP-4 calls for):
default_strips_dwarf,passthrough_preserves_dwarf,default_is_strip. The gate just couldn't find them by name. Adds three convention aliases delegating to the existing test bodies — same pattern as PR #161's five aliases.Fix 2: Gate scans integration tests too
tools/run_ls_verification.pywas invokingcargo test --lib, which excludes<package>/tests/. Drops the--libfilter so both lib and integration-test binaries participate. One-line semantic change; the parser was already shaped to sum multipletest result:lines, so no other plumbing impact.Gate verdict
Remaining two need net-new tests, not aliases — surveyed in task #52:
generate_async_callback_adapteremitted body for the WAIT||POLL OR-patternTest plan
🤖 Generated with Claude Code