Skip to content

[text-auditor] Fix typo drift and non-actionable unknown-argument errors #1104

Closed as not planned

Description

@github-actions

Text Improvements

The following user-facing text issues were found in the repository. Each is a low-effort fix.

1. Typo in mention-in-issue prompt text (instructred)

File: .github/workflows/gh-aw-mention-in-issue.md (line 142)
Current text: Unless instructred otherwise, if you do create an issue or a pull request, assign it to the user who requested the change that resulted in the creation of the issue or pull request.
Suggested fix: Unless instructed otherwise, if you do create an issue or a pull request, assign it to the user who requested the change that resulted in the creation of the issue or pull request.
Why: Clear typo in user-facing workflow guidance.

Also occurs in generated lock workflow text:

  • .github/workflows/gh-aw-mention-in-issue.lock.yml (line 452)

2. Unknown-flag error in move-github-dotgithub.sh is not actionable

File: scripts/move-github-dotgithub.sh (line 19)
Current text: Unknown flag: $arg
Suggested fix: Error: Unknown flag: $arg. Use --help for usage.
Why: The script supports --help, but the current error gives no recovery guidance.

3. Unknown-argument error in pr-comment.sh omits expected options

File: claude-workflows/pr-review/scripts/pr-comment.sh (line 90)
Current text: Error: Unknown argument: $1
Suggested fix: Error: Unknown argument: $1. Use: --severity <level> --title <desc> --why <reason> [--no-suggestion].
Why: This parser failure is user-facing and should indicate valid argument shape to reduce trial-and-error.

Completeness pass

For unknown-argument/flag patterns (Unknown flag: / Unknown argument:), all in-scope matches were reviewed:

  • scripts/move-github-dotgithub.sh:19 ✅ reportable
  • claude-workflows/pr-review/scripts/pr-comment.sh:90 ✅ reportable
  • scripts/quick-setup.sh:65 ❌ excluded (already prints usage immediately)
  • scripts/trigger-ci-workflows.sh:76 ❌ excluded from this issue (already tracked previously)

For typo token instructred, repo-wide search found only:

  • .github/workflows/gh-aw-mention-in-issue.md:142
  • .github/workflows/gh-aw-mention-in-issue.lock.yml:452

Suggested Actions

  • Replace instructred with instructed in both mention-in-issue workflow files.
  • Improve unknown-flag error in scripts/move-github-dotgithub.sh to include a help/usage hint.
  • Improve unknown-argument error in claude-workflows/pr-review/scripts/pr-comment.sh to include expected argument shape.

Note

🔒 Integrity filter blocked 5 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #676 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #354 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • Mint Ephemeral Tokens #1067 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • Issue Fixer can use Ephemeral Token #1025 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • Create issue when merged PRs had unresolved comments #875 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

What is this? | From workflow: Trigger Text Auditor

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

  • expires on May 20, 2026, 1:58 PM UTC

Activity

  1. github-actions commented on May 13, 2026

    @github-actions
    ContributorAuthor

    Implemented and proposed a PR for the two script-side fixes in this issue:

    • scripts/move-github-dotgithub.sh: unknown flag message now includes an actionable --help hint.
    • claude-workflows/pr-review/scripts/pr-comment.sh: unknown argument message now shows expected option shape.

    I could not include the remaining typo fix under .github/workflows/ in this automation run because workflow-path updates require maintainer-applied workflow permissions for push/create-PR flows.

    Concrete next step for a maintainer:

    • Update both .github/workflows/gh-aw-mention-in-issue.md and .github/workflows/gh-aw-mention-in-issue.lock.yml to change instructred → instructed.

    What is this? | From workflow: Trigger Text Auditor

    Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

  2. github-actions commented on May 20, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-05-20T13:58:50.185Z.

    Closed by Workflow

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions