# fix\(web\): /compact with instructions is the only compaction while the Compact chip is on · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/de326a83fc9dfd2f89cef3cdb88ce49433ff7761)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: de326a83fc9dfd2f89cef3cdb88ce49433ff7761

Requested commit: de326a83fc9dfd2f89cef3cdb88ce49433ff7761

Commit: de326a83fc9dfd2f89cef3cdb88ce49433ff7761

Tree: 5c1ba1a18d296722b293bcfca13ba2f2accb9b18

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(web): /compact with instructions is the only compaction while the Compact chip is on

Compact-before-send matched only the exact text "/compact", so a typed
"/compact <instructions>" queued a bare compaction ahead of it. The
predicate now recognizes the command at a word boundary, case-insensitive,
and the regression test is reduced to the one case that proves it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

```

## Parents

- [eceb2ca861c31544d5fb87480cbe6ca71ec28f9a](https://git.cafe/pingdotgg/t3code/commit/eceb2ca861c31544d5fb87480cbe6ca71ec28f9a?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/de326a83fc9dfd2f89cef3cdb88ce49433ff7761?format=markdown)
