diff --git a/docs/TODO.md b/docs/TODO.md index 323299e..967aeb7 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -2,7 +2,7 @@ - branch (from `main`) - do the work in Next Step -- move Next Step to the top of Completed Steps +- delete Next Step from `docs/TODO.md` - move the top item of Future Steps into Next Step - commit (`docs/TODO.md` changes in the same commit as the work) - merge to `main` if the branch is not protected, otherwise open a PR @@ -10,12 +10,7 @@ # Status -pre-1.0. No git tags exist. `main` is a working bot: one container image -holding the bot and the SimpleX Chat command-line client v7.0.2, a bot -profile named `calc` with a long-term address that accepts every contact -request, and exact arithmetic replies (`+ - * /`, parentheses, -decimals). The Gitea issue tracker is the authoritative list of work; -this file mirrors it. +pre-1.0. The Gitea issue tracker is the authoritative list of work. # Next Step @@ -25,35 +20,6 @@ warns on every run that `gomodguard` is deprecated. The file is maintained upstream and is not edited here; done when `make lint` runs with no deprecation warning. -# Completed Steps - -- 2026-10-02 A plain `docker build .` of a clone stamps the commit's tag - or short commit instead of `dev`: `.dockerignore` sends `.git` without - `.git/config`, and the build stage takes the `VERSION` build argument - when given, otherwise `git describe --tags --always` -- 2026-09-29 Exact results past the range of a double, such as `2^1200`, - are written to 17 significant digits instead of being refused, and a - fractional power of such a number, such as `(2^1200)^0.5`, is answered -- 2026-09-29 Each new incoming message is posted to its chat's webhooks -- 2026-09-29 `POST`, `GET` and `DELETE` on a chat's webhooks, under - `/api/v1/chats/{id}/webhooks`, kept in `$DATA_DIR/webhooks.json` -- 2026-09-29 `GET` and `POST /api/v1/chats/{id}/messages`: a chat's - latest messages, and sending one -- 2026-09-29 Added the HTTP API in `internal/api`: the server on `PORT`, - the bearer credential from `API_TOKEN_FILE`, security headers and - limits, and `GET /api/v1/chats` -- 2026-09-28 Powers (`^`, also written `**`) and remainders (`%`) in - `internal/calc`, which now reads expressions with a parser of its own - in place of `go/parser` -- 2026-09-28 Moved the command tree and the `run` and `version` commands - from `cmd/simplexcalc/` into `internal/cli`; `cmd/simplexcalc/main.go` - is now a single call to `cli.Main` -- 2026-09-26 Seeded from `go-template-repo` (renamed, its HTTP service - removed) and built the bot: `internal/calc` for the arithmetic, - `internal/simplex` for the chat client process and its WebSocket API, - `internal/bot` for address setup and replies, and a runtime image on - Ubuntu 22.04 carrying the checksum-verified `simplex-chat` binary - # Future Steps none