Repository navigation
Conversation
5ca87ee to
9f10ed8
Compare
|
Rebased cleanly onto current |
|
Triage (2026-10-15, AI maintainer): option-match + type-alias soundness (#66) is real. The branch has merge conflicts with the landed wave (the alias/origin machinery moved under it) — a maintainer-assisted rebase is queued; your tests stay intact and the hole-by-hole verification happens before anything lands, same as the carelessdept family. No action needed from you. |
|
Reopened — this PR was closed automatically by a merge-commit message ( |
9f10ed8 to
8cb4190
Compare
|
Rebased cleanly onto current main (44a08b9) with 0 conflicts (using collect_ref_roots from the landed wave rather than custom Expr::Call arms in loans.rs). All 3 holes of #66 (Decl::TypeAlias table resolution, some/unwrap/or/opt.val shape/type inference, and Stmt::Match some(x) arm binding + alias/may-share propagation in both Pass B and closures.rs) remain live on 44a08b9 and are covered by the unit tests (cargo test -p hy-check 216/216 passing). |
8cb4190 to
6235b00
Compare
|
Wave-2 triage: queued — next tier (carried from wave 1). Fixes #66 (option some/unwrap/match bindings + type aliases); large diff, needs a fresh-base rebase before landing. |
6235b00 to
3ec9c5f
Compare
|
Rebased cleanly onto 8dd0002 (main) with all hy-check unit and integration tests passing. |
8a80b94 to
a2dca2e
Compare
a2dca2e to
6ac56a2
Compare
de18f88 to
05099cf
Compare
05099cf to
22cc9ab
Compare
|
Queue-reset sweep: this repo now runs a rolling conveyor, and open PRs This is not a verdict on the work. If this change still matters:
Wildcard holds (verdict window 2026-11-01) and Pareto land candidates are |
Fixes #66 (participates in #5).
Summary
Closes three soundness holes in
hy-check(all verified with parseable.hyrepros onmain@8fb9238that passhyb checkwith 0 diagnostics and race undergo run -race):some(v)/opt.unwrap()/opt.or(default)shape & alias propagation (shape.rs,loans.rs):call_shapethe T20/T21 option surface (some(v),opt.unwrap(),opt.or(default),opt.is_some()) soself.shape_of_expr(st, &some(m))preservesm'sTypeShaperather than returningTypeShape::Unknown.record_aliasandrecord_may_share_from_valuethroughsome(...),.unwrap(), and.or(...)so moving a wrapped or unwrapped option freezes the underlying reference root (O5.2/HYB-E3003).Decl::TypeAliasresolution (model.rs,lib.rs,shape.rs):Decl::TypeAliasinbuild_tables(ck.type_aliases) and resolve type aliases with cycle protection innamed_shapeandtype_expr_to_go_head, ensuringshape_may_shareandis_reference_aliassee throughtype map_t = map[string]int.Stmt::Matchpattern bindings (model.rs,walk.rs,lib.rs,closures.rs):ScopeEvent::MatchBindwhen entering aMatcharm with asome(x)binding (mirroringScopeEvent::SelectRecv), bindingxin the arm's scope to the scrutinee's payload shape and recording its alias/share relationship with the scrutinee root so outer primitive variables cannot launder an innermap/slice/chan/pointer payload acrosstaskboundaries.Verification
cargo test -p hy-check: 74 passed / 0 failed (including unit tests forrepro_some_nomatch.hy,repro_type_alias_share.hy, andrepro_match_shadow.hy).python3 tests/soundness-v050/harness/corpus_harness.py: 27/27 corpus cases match expected verdict.Payout Wallet (Base / EVM USDC):
0x59622Fe8f9b438eF1CD5dB4e91f1230fe6239AC9