Skip to content

TB0: the telegram-ai-bot spec — intent, CI, tooling and the epic doc set - #1

Merged
ruehowl merged 1 commit into
mainfrom
tb/0-the-spec
Oct 28, 2026
Merged

ruehowl merged 1 commit into
mainfrom
tb/0-the-spec

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

The repository's frame on top of its first README commit, and the epic it is built under (TB-1).

  • intent.yaml with the placeholder workspace ws_CHANGE_ME — CI plans nothing until the repository is linked — the three environments (dev verify-only, stage, prod after stage) with kv-redis-starter's per-environment Terraform parameters, and the trigger bindings (github-pull-request, github-push-main, local-development).
  • .github/workflows/ci.yml: turso-starter's byte for byte except its one credential comment (a single Cloudflare token, as kv-redis-starter's copy says). It carries the manual-deploy contract (workflow_dispatch with component / environment / deploy_id, the run-name, the dispatch plan under github-push-main, main only).
  • Shared tooling: TypeScript and ESLint configuration, the wrangler renderer (tooling/wire), the component-docs generator (tooling/catalog); the root pnpm workspace, turbo pipeline and lockfile; the discovery roots.
  • The spec index and the telegram-ai-bot epic: epic.yaml (key TB, five milestones), README, design (how each piece of the upstream's Cloudflare deploy maps to Orun, the workspace, Workers AI as the keyless default, the token and the webhook binding, the alternatives rejected), implementation plan, risks, as-built status, and the task contracts TB-1…TB-5.

Upstream: TBXark/ChatGPT-Telegram-Workers, MIT.

Checked locally: orun validate passes; pnpm install resolves the root workspace.


Generated by Claude Code

The repository's frame on top of its first README commit, and the epic it
is built under.

intent.yaml with the placeholder workspace ws_CHANGE_ME (CI plans nothing
until the repository is linked), the three environments (dev verify-only,
stage, prod after stage) with kv-redis-starter's per-environment Terraform
parameters, and the trigger bindings. ci.yml is turso-starter's byte for
byte but for its one credential comment (a single Cloudflare token, as
kv-redis-starter's copy says), carrying the manual-deploy contract. The
shared TypeScript and ESLint configuration, the wrangler renderer, the
component-docs generator, the root pnpm workspace and turbo pipeline, and
the spec index.

The epic (key TB): ChatGPT-Telegram-Workers on one Worker, its upstream
libraries kept as workspace packages, Workers AI the keyless default model,
the KV namespace from Terraform, the bot token an optional Orun secret bound
to Telegram's webhook after each deploy — and the five task contracts.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNVpFBcbeiX3EHdXfmn
@ruehowl
ruehowl merged commit c393446 into main Oct 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants