README generation:** Do not edit `README.md` directly. It is generated from
the top-level documentation in `src/lib.rs`. Regenerate it with:
```bash
(cd .. && cargo -q run --manifest-path tools/Cargo.toml \
-p generate
before** making any edits.
4. Wait for the user to explicitly accept before proceeding.
### Documentation Maintenance
Before working on code in `ace/`, read `docs/design/ACE_ARCHITECTURE.md` to understand the current architecture.
Before
execute commands, run tools, and build itself while keeping runtime ownership explicit.
The public documentation site is maintained separately in `felinics/memoh-docs`.
## Architecture Overview
Deploy/server mode consists of three core services
path or claim the correction has been applied.
- OpenAI team members can submit local documentation, policy, or asset changes as pull requests, subject to required review.
- For documentation changes
AGENTS.md
This document provides guidelines for agentic coding assistants working in this repository.
## Development Commands
```bash
# Build
pnpm build # Production build (typecheck + minify)
pnpm build:dev # Development build (no minification
Agent Instructions
This document provides guidelines for building, testing, and contributing to the CCCL repository. It is primarily written for agentic AIs, but the information is also useful for CCCL
this guide disagrees with the code, follow the code and update the guide; tests document expected behavior and should change only when behavior intentionally changes.
- Do not hand-edit generated
CliConfigWithRawPresence` pair (a
`CliConfig` alongside which keys were actually present in the source document) — presence matters
because the schema defaults every optional section, so the decoded `CliConfig` alone
shared by every coding agent (Claude Code, Codex, Cursor, …). It is loaded automatically; the documents it routes to are not, so anything an unrelated change can break is listed under
adapters and state packages
- Run `pnpm konsistent` after changing public exports; conventions are documented in [.github/CONTRIBUTING.md](.github/CONTRIBUTING.md#package-conventions).
- `sample-messages.md` in adapter packages holds real webhook payloads — extend it when
Build multi-platform chat bots with Chat SDK (`chat` npm package). Use when developers want to scaffold a bot with create-chat-sdk, build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI streaming, set up webhook routes or multi-adapter bots, send rich cards or streamed AI responses to chat platforms, or build a custom adapter or state adapter.
/../AGENTS.md) covers
monorepo-wide build, lint, and release rules — read it first. This
file documents the adapter-specific surface, conventions, and pitfalls.
## Overview
`@chat-adapter/gchat` connects a Chat