Executor-oriented router for agents working in this repository. User-facing docs live in README.md.
Altertable CLI — a TypeScript/Bun command-line tool for querying and managing the Altertable data platform. Source lives in cli/; black-box Bun tests in tests/; API specs in the specs/ git submodule.
| Path | When to edit |
|---|---|
cli/src/ |
CLI commands, HTTP clients, formatting, config |
cli/tests/ |
Bun unit tests for CLI logic |
tests/ |
Black-box end-user CLI tests run through bin/altertable |
specs/ |
Client API specs (submodule — read-only from this repo) |
bin/altertable |
Dev launcher — do not edit |
git submodule update --init --recursive # first checkout only
./scripts/verify.sh --quick # focused CLI changes, including coverage
./scripts/verify.sh # full gate before PR (mirrors CI minus native compile)
./scripts/verify.sh --integration # lakehouse HTTP paths (mock at :15000)Use --quick while iterating on TypeScript. Run default ./scripts/verify.sh before opening a PR.
- cli/AGENTS.md — CLI implementation, architecture cookbook, verification details
- specs/AGENTS.md — spec submodule contribution rules (different concern)
- DEVELOPMENT.md — build, compile, release, spec conformance
- CONTRIBUTING.md — PR workflow
- plans/README.md — implementation plan index
bin/altertable— thin launcher (exec bun run cli/src/cli.ts)cli/src/generated/**— runcd cli && bun run generateafter OpenAPI changescli/dist/**— build output- Secrets, credentials, or
.envfiles
Initialize before first verify or spec work:
git submodule update --init --recursiveWhen completing an advisor plan from plans/, update its status row in plans/README.md to DONE.