Skip to content

hlasm pointers/ssr_boundaries: keyword in trailing remarks field counts (remarks are comments) #9422

Backlog

Description

@squid-protocol

SOP-002-v1 (docs/agents/decoy-spec-protocol.md), epic #8863, gap-cell batch for hlasm.

In HLASM the text after the operand field (separated by a blank) is the remarks field, which is a comment. The engine does not strip it, so a keyword inside a trailing remark counts for every rule that is not anchored to the operation field. Full-line * and .* comments are stripped correctly.

Snippets (fixed format, operation in column 10), each expected 0 hits, actual 1:

  • pointers: LR R1,R2 DC A(TARGET)
  • ssr_boundaries: LR R1,R2 EXEC CICS WEB SEND FROM(OUT) END-EXEC
  • string then remarks: WTO 'http://x' DC A(TARGET)

Expected: remarks field is comment text and gives 0 hits. Actual: 1 hit each. Rules anchored with the statement-position prefix (for example bitwise_ops) are not affected because the remark is not in operation position. Locked as xfail(strict=True) in tests/decoys/test_decoy_hlasm.py.

Activity

  1. added
    bug
    on Nov 26, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions