Skip to content

file-issues truncates issue titles and bodies #6

Description

@benthomasson

Bug

code-expert file-issues truncates both issue titles and issue bodies when filing to GitHub.

Observed behavior:

  • Titles are cut off around 110-120 characters (e.g., [autocomplete-blocklist-is-substring] The blocklist filter removes results where any blocklisted term appears as a **s)
  • Body text in the "Impact" / "Gated Beliefs" section is also truncated mid-sentence (e.g., maintaining result count — but substring matching can remove far more results than the linear compensation formula anticipates gets cut to maintainin)
  • All 15 issues filed in a single run exhibited this truncation

Expected behavior:

  • Full belief text should appear in both title and body
  • Titles should use a short summary form (not the full belief text) since GitHub titles have practical display limits

Additional issue:

  • The tool fails entirely if the reasons-gate label doesn't exist on the target repo. It should create the label automatically or fall back gracefully. Error: could not add label: 'reasons-gate' not found

Reproduction:

code-expert file-issues --repo owner/repo

With a reasons.db containing 15 gated beliefs with text longer than ~120 characters.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions