Skip to content

fix(dncl): do not auto-correct full-width characters inside strings and comments #2621

Done

Description

@smalruby3-editor-bot

autopilot-base: topic/japanese-mode-1731

何が問題か

日本語タブ(とルビータブ)に打った・貼った文字が自動置換され、文字列の中でも全角が半角に変わる。表示する("こんにちは!ABC") は 表示する("こんにちは!ABC") になる。

docs/dncl/README.md は「文字列とコメントの中は書いたとおりに残す(表示する("ABC") は "ABC" のまま)」としているので、食い違う。生徒が表示したい文字そのものが、黙って変わる。

smalruby.app#1(smalruby/smalruby.app#1 )の「片方の!が全角で表示されることがある」の一因。

やること(人間と決めた)

  • 自動置換は、文字列("…" '…' 「…」)とコメントの中を変えない。日本語タブ・ルビータブの両方。
  • テストを足し、docs の記述と合わせる。

Activity

  1. moved this to Sprint Backlog in Autopiloton Nov 28, 2026
  2. moved this from Sprint Backlog to In Progress in Autopiloton Nov 28, 2026
  3. added
    🤖 autopilot
    on Nov 28, 2026
  4. smalruby3-editor-bot commented on Nov 28, 2026

    @smalruby3-editor-bot
    Author

    🤖 対応 PR: #2627 (base: topic/japanese-mode-1731)

    この PR は非デフォルト base 宛てのため GitHub の Development 欄に表示されません。このコメントは autopilot が管理します(編集しないでください)。

  5. smalruby3-editor-bot commented on Nov 29, 2026

    @smalruby3-editor-bot
    Author

    🤖 autopilot: autopilot-review フェーズの run が完了できなかったため Blocked にしました。

    理由: run は終了しましたが結果ファイルが不正でした: hitl: reason must be a non-empty string

    人間の対応: ログ(/log?issue=2621)と worktree を確認し、原因を取り除いた上で 🙋 HITL を外すと autopilot が再開します(PR があれば指摘対応、無ければ再トリアージ)。手動で Status を動かして再ルートしても、不要なら Icebox / Close にしても構いません。

  6. moved this from In Progress to Blocked in Autopiloton Nov 29, 2026
  7. added
    🙋 HITL
    on Nov 29, 2026
  8. moved this from Blocked to In Progress in Autopiloton Nov 29, 2026
  9. moved this from In Progress to Review in Autopiloton Nov 29, 2026
  10. removed
    🙋 HITL
    on Nov 29, 2026
  11. added a commit that references this issue on Nov 29, 2026
  12. moved this from Review to Close in Autopiloton Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🤖 autopilot

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions