Skip to content

Generator: regenerate the 14 CardDemo equivalence ports' façades after #4427 (still the old typed COMMAREA) #4441

Closed

Description

@squid-protocol

After #4427 (PR #4435, d97bd26), the generator types handleTransaction's request and response separately. A side becomes Object when a RETURN TRANSID flow, or an XCTL'd program's RETURN, crosses programs. 20 generated CardDemo façades now return Object.

The 17 crucible ports were regenerated with tests/tools/port_surface.py. But 14 committed CardDemo equivalence ports still carry the old, per-program typed façade. They compile (the new "Ports Compile" job, #4434) and their runTask proofs hold. Their façades would still throw in returned() on a cross-program flow, the PCMENU bug.

Do

  • Extend port_surface.py (or its equivalent) to the equivalence ports, regenerate those 14 façades only with the tooling, and re-prove them. Prove them through the façade where the harness can.
  • Consider whether Object is the right public type for a cross-program response, or whether a generated common supertype or sealed interface over the DTOs reached would keep the façade typed. Decide that before the 4th-estate trial if it affects generated APIs.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    legacy-modernization
    on Oct 5, 2026
  2. added
    scope:core
    era:4
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugera:4legacy-modernizationscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions