Repository navigation
0.15.0 - 2026-10-20
Review-remediation slice: validators, cores, dry-run planners, and docs brought back into agreement. All machine-API changes are additive (new JSON keys on existing rows only); no renamed keys, removed commands, or exit-code changes.
Hardening slice: eight deliberate exposures tightened. Machine shapes stay additive (new optional flags and JSON keys only), but new fail-closed acks may turn previously-accepted invocations into exit 1 with guidance — the sanctioned posture-ack exception in the Stability rule.
Added
- Additive enrichment on forwarded and album message rows (
poll/todoobjects and full peer identity withusername, matching read-path rows). - Additive dry-run preview fields:
noforwardson chat-settings previews,notifyon pin previews. "via": "import"outcome on phone-target contact adds resolved through contact import.- Posture acks:
--allow-rawontele raw(allow_raw:trueover serve/MCP, including dry-run previews);--allow-insecure-app-dirforTELE_APP_DIRoutside per-user paths;--allow-trace(TELE_ALLOW_TRACE=1) forTELE_LOG=trace. --redact-phonesoncontact list,profile get(overrides--show-phone), andtakeout export(redactscontacts.json); matchingredact_phonesparams on the serve/MCP ops.- MCP
--groupsscoping extended to resources (tele://profileneeds groupprofile,tele://dialogsneeds groupdialog;tele://skillstays public). - Short service codes (3–6 digits) redacted in code/OTP contexts; FTS5 update trigger keeping the message-cache index in sync on UPDATE.
- Docs: supply-chain pin-review cadence (
docs/security.md), offline measurement baselines and budget protocol (docs/perf-baselines.md), scope ADR-009. - Root
SECURITY.md(reporting route and threat-model pointer), adocs/README.mddocumentation index,.editorconfig, GitHub issue forms, a pull-request template, andCODEOWNERS.CONTRIBUTING.mdmoved to the repository root, where GitHub renders it. npm/package.jsonnow declareshomepageandbugs.
Changed
- Usage-error coverage: non-positive message ids, empty search queries and topic titles, conflicting pin show/all with id, and blank kick/admin user targets now fail locally with exit 1 in both the CLI and machine-API lanes.
- Fail-closed posture:
.envpermission-tightening failure aborts startup instead of warning;--phone/--change-phoneon argv rejected under--no-inputfor prompting flows (non-prompting staged steps keep warn-only behavior). - Docs resynced with the implementation: 93 routed ops (96
ops.listentries), 35 read-only, 9 destructive ops includingraw, registry 25; noforwards behavior rewritten; posture acks (--allow-raw,--allow-insecure-app-dir,--allow-trace),--redact-phones, and MCP resource--groupsscoping documented; contract gate now parses escaped pipes and asserts exact flag and registry counts. - Dry-run truthfulness: chat-settings previews include
noforwards;account sessionsdry-runs are fully offlinewouldpreviews; pin/typing/click previews validate before rendering;--fieldsnow projectslistenstreaming rows instead of being silently ignored. chat statson basic groups, badtopic listchat targets, and topic close/reopen/delete with--unpinnow fail as usage errors.- Every repository URL in the project pointed at
github.com/QMahyar/tele-cli, which does not exist; the published npm package and the README release and CI badges linked to that dead location.Cargo.toml,npm/package.json, the CLI help footer, the README, and the docs now point atgithub.com/mahyartdb/tele-cli. - The GitHub repository is public and carries a description, topics, secret scanning with push protection, Dependabot security updates, and private vulnerability reporting.
.gitignoreis grouped by purpose and covers Rust output, credentials and sessions, release and npm artifacts, agent scratch, editors, OS cruft, logs, and coverage..gitattributesnormalizes every text file to LF.
Fixed
- Admin-log
--untilno longer burns--limiton out-of-window events; invite and membership-request listings page with real cursors, dedup, and page caps. - CLI and machine-API default agreement on kick/ban, promote rights (including story and rank rights), and Saved-Messages delete with
--revoke. - Session lifecycle: logout/delete close before removing files and report removal failure; exports checkpoint before snapshot; staged-login failures leave no phantom pending state; expired codes stay distinct from invalid codes across datacenter migration.
- Secret and file hygiene: pending auth material created private atomically; credential cache keyed on content hash; short numbers stay redacted; passwords held in zeroizing wrappers.
- Cache sync acquires rate budget per page; message-cache writes are transactional; serve dedupe keys on update-sourced pts; oversized serve frames and duplicate request ids rejected explicitly;
--count 0emits zero rows. - CI could not clone the repository. The workflow declared
permissions: {}, which strips every permission fromGITHUB_TOKEN, soactions/checkoutfailed withfatal: repository not foundon all five jobs and the suite had been red since it was added. The workflow now grantscontents: read. - Two
doctortests failed on Linux only.session_checkreports ok just when the session file is owner-only, and the fixtures were created with the default umask, sodoctorcorrectly reported "world-accessible" and the assertions failed. The fixtures now set mode 0600, matching a real session file. - The published npm package shipped no README and no LICENSE, so npm rendered
ERROR: No README data found!on the package page. The release job now stages both into the package root.