Skip to content

Port tickets: reference facts the generated code already carries instead of inlining them (#3863 follow-up) #3930

Closed

Description

@squid-protocol

Follow-up to #3863. Its item 1, a token budget with deterministic trimming (PR #3919), is merged. Item 2 remains: reference, don't inline, facts the generated Java already carries.

Today only an over-budget ticket trims, and only facts.screen_bindings: each field inventory becomes a reference to the generated *Screen class. Other sections that duplicate generated code could be referenced always, not only over budget:

  • facts.interface: COACTVWC's is 10.9 KB for 6 facts. Would the generated DTOs / COMMAREA classes cover it?
  • facts.cics_file_lineage, and record layouts the generated *Record classes already carry.

For each section: check that the generated class really carries every field the port needs, reference it by class name and field count, and measure the ticket size before and after on COACTVWC (count_tokens from #3919).

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    legacy-modernization
    on Sep 27, 2026
  2. added a commit that references this issue on Sep 28, 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

    enhancementlegacy-modernizationpriority: medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions