Skip to content

Commit 1a778b5

Browse files
ernadoclaude
andcommitted
docs: mark reconstruction complete in CLAUDE.md and roadmap
The rebuild from the codegen-first OpenAPI/ogen design is finished; ongoing work is incremental Bot API feature parity. Reframe the roadmap as a historical record and drop the "active reconstruction" wording from CLAUDE.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 42941d1 commit 1a778b5

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ surface (types, methods, updates) **directly over MTProto** via `github.com/gotd
1010
persistent connection. The raw `*tg.Client` is always reachable through `Bot.Raw()` for anything
1111
the typed surface does not cover.
1212

13-
The project is under active reconstruction from an old codegen-first (OpenAPI/ogen) design into a
14-
hand-written library. **Note:** `docs/architecture.md` describes a *target* layout (`tdbot/`,
15-
`handler/` subpackages) that does **not** exist — the real code is a flat root package. Trust the
16-
code over that doc.
13+
The project was rebuilt from an old codegen-first (OpenAPI/ogen) design into a hand-written
14+
library; that reconstruction is complete and ongoing work is incremental Bot API feature parity.
15+
**Note:** `docs/architecture.md` and `docs/roadmap.md` describe the original target/plan —
16+
`architecture.md` in particular references a *target* layout (`tdbot/`, `handler/` subpackages)
17+
that does **not** exist; the real code is a flat root package. Trust the code over those docs.
1718

1819
## Commands
1920

docs/roadmap.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# Roadmap
22

3-
> Rebuild `github.com/gotd/botapi` from a codegen-first OpenAPI/ogen project into
4-
> a hand-written, MTProto-backed Bot API **library** that beats existing HTTP
5-
> Bot API clients on ergonomics and performance.
3+
> **The rebuild is complete.** This document is now a historical record of how
4+
> `github.com/gotd/botapi` was rebuilt from a codegen-first OpenAPI/ogen project
5+
> into a hand-written, MTProto-backed Bot API **library**. All phases below
6+
> landed on `main`; the library connects, serves updates, and exposes a broad
7+
> typed Bot API surface. Ongoing work is incremental feature parity, not
8+
> reconstruction; the `conformance_test.go` drift guard tracks coverage against
9+
> the published Bot API.
610
> Companion docs: `architecture.md`, `building-blocks.md`.
711
812
Legend: ☐ todo · ◐ in progress · ☑ done
913

10-
## Phase 0 — Planning & docs (current)
14+
## Phase 0 — Planning & docs
1115

1216
- ☑ Map `gotd/td` building blocks (`building-blocks.md`)
1317
- ☑ Inventory existing `botapi` reusable translation logic

0 commit comments

Comments
 (0)