Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: unfault/unfault
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.55
Choose a base ref
...
head repository: unfault/unfault
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.56
Choose a head ref
  • 1 commit
  • 8 files changed
  • 1 contributor

Commits on Jun 28, 2026

  1. feat: substrate-trust fixes — callee name normalisation, via chains, …

    …statement_kind precision, function-impact dedup (v1.0.56)
    
    Four targeted fixes for rough edges flagged by an agent workflow run on
    hopper-backend at v1.0.55.
    
    - normalize_callee_name: chained / multi-line callee expressions
      (`make_handler(a, b)(req)`) no longer surface as multi-line `name`
      fields on CalleeInfo, BoundaryCallSite, UnobservedCallee, PathHop.
      The normalised form is also used as the symbol-resolution key in
      stub_callees_from_raw_calls — load-bearing, because the old
      multi-line key never matched the graph's clean function names, so
      resolvable callees were drifting into the unobserved list.
    
    - via: Vec<PathHop> on CalleeInfo and BoundaryCallSite, recording the
      call chain from route handler down to the boundary. When the same
      boundary appears under several routes, `via` lets the agent audit
      the chain without re-walking the graph. Invariant:
      via.len() == depth. Also clarifies that in_function is the route
      handler, not the immediate enclosing function.
    
    - infer_statement_kind now covers SQLAlchemy ORM read/write methods,
      Django queryset short-circuit, and raw cursor APIs. db_session.get
      → select (was other). StatementKind derives PartialEq, Eq.
    
    - extract_flow deduplicates duplicate roots by (file, qualified_name).
      Same-file extractor overlap collapses to one root; genuine
      cross-file name collisions are preserved as separate roots so the
      caller can disambiguate.
    
    22 new regression tests across cli and analysis.
    Lawouach committed Jun 28, 2026
    Configuration menu
    Copy the full SHA
    cee0abc View commit details
    Browse the repository at this point in the history
Loading