Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ Every entry says what changed as a caller sees it, why, and what to watch for
exists so the CLIs do not chase versions, and a change they need not follow gives them nothing to chase. Its
changelog still marks it "may break callers" for outside users.

### Removed

- **`--qr-file` is no longer a vocabulary flag.** tg, max and cli-core dropped the option that wrote the login QR
code to a PNG; a CLI now prints the QR code as text for the user or agent to paste. A CLI that still declares
`--qr-file` fails `option-role` in `cli-dev lint`; none does today.

## 0.47.1 — 19.10.2026

### Added
Expand Down
2 changes: 0 additions & 2 deletions audit/baseline/same-path-contract.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,10 @@
"max+tg server start --idle",
"max+tg session end: summary",
"max+tg session start --app",
"max+tg session start --qr-file",
"max+tg session start --sms",
"max+tg session start: summary",
"max+tg session: summary",
"max+tg setup --app",
"max+tg setup --qr-file",
"max+tg setup: summary",
"max+tg stats chats official: presence",
"max+tg stickers list: presence",
Expand Down
4 changes: 2 additions & 2 deletions docs/standards/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ the message store. The owner adds `--allow-any-file` to send one anyway.
### WC-SECR-10 · Private files are written atomically with private modes

A file that holds a secret or private state is written with `writeSecurely`: atomically, mode `0600`, in a directory
created with mode `0700`. `writeSecurely` takes text or bytes, so a login QR image is written the same way. A
temporary credential file, such as that image, is `0600` and removed in `finally`.
created with mode `0700`. `writeSecurely` takes text or bytes. A
temporary credential file is `0600` and removed in `finally`.
tg's `doctor` reports a wrong mode and prints the `chmod` fix without applying it.

- **Why:** another user on the same computer must not read the session.
Expand Down
7 changes: 0 additions & 7 deletions src/standards/flags-how.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@ export const HOW_FLAGS: VocabularyFlag[] = [
type: "switch",
meaning: "also print edits, deletions and other changes; every line names its event",
},
{
name: "--qr-file",
value: "<png>",
role: "output",
type: "path",
meaning: "write the login QR code to this PNG instead of drawing it",
},
{ name: "--all-versions", role: "output", type: "switch", meaning: "also the earlier versions a newer one replaced" },
{ name: "--measure", value: "<name>", role: "sort", type: "choice", meaning: "the metric a ranking is ordered by" },
{ name: "--newest", role: "sort", type: "switch", meaning: "newest first instead of best first" },
Expand Down
Loading