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.
Bug
code-expert file-issuestruncates both issue titles and issue bodies when filing to GitHub.Observed behavior:
[autocomplete-blocklist-is-substring] The blocklist filter removes results where any blocklisted term appears as a **s)maintaining result count — but substring matching can remove far more results than the linear compensation formula anticipatesgets cut tomaintainin)Expected behavior:
Additional issue:
reasons-gatelabel 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 foundReproduction:
With a
reasons.dbcontaining 15 gated beliefs with text longer than ~120 characters.