You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: restructure and expand the product documentation
Splits the old user-guide and exec-mode pages into guides, configuration,
customization and reference sections behind a docs/README.md index, and moves
the plugin docs under customization/ so nothing is orphaned.
New pages cover the TUI, sessions, plan and spec modes, configuration files,
environment variables, data locations, agents, MCP, skills, hooks, themes, the
full CLI surface, tools, slash commands, keybindings, signing in and
troubleshooting. Every flag, key, tool and config key is taken from the clap
definitions and the TUI registries rather than invented, and the vendor model
names left in the imported pages are gone.
Co-authored-by: Mathis <echobt@users.noreply.github.com>
The Cortex coding-agent harness: a CLI and TUI that talks to [api.cortex.foundation](https://api.cortex.foundation) for Chat/Code turns, tools, computers, plugins, and snapshots.
3
+
<palign="center">
4
+
<strong>Cortex Code</strong> — a coding agent that runs in your terminal.
5
+
</p>
4
6
5
-
Auth is WorkOS session / existing `/v1` auth against `auth.cortex.foundation` and `api.cortex.foundation`. Credentials are stored in the OS keyring.
|[Troubleshooting](./docs/troubleshooting.md)| When something does not work |
132
+
133
+
The index is at [docs/README.md](./docs/README.md).
134
+
135
+
## Building and testing
43
136
44
137
```bash
45
-
./target/debug/Cortex
46
-
# or a one-shot turn
47
-
./target/debug/Cortex "explain this repository"
138
+
cargo build -p cortex-cli
139
+
./target/debug/Cortex --help
48
140
```
49
141
50
-
The TUI is the default when stdin is a TTY. If the coding API is unreachable you will see **The coding service is temporarily unavailable** — not a raw provider or HTTP-client name.
51
-
52
-
## Tests
142
+
The gates CI enforces:
53
143
54
144
```bash
55
145
cargo fmt --all -- --check
@@ -59,7 +149,7 @@ cargo audit
59
149
./scripts/check-cli-version.sh
60
150
```
61
151
62
-
Headless TUI / snapshot tests (required when you change a TUI surface):
152
+
Headless TUI and snapshot tests, required whenever a TUI surface changes:
63
153
64
154
```bash
65
155
cargo test -p cortex-tui -p cortex-tui-capture -p cortex-tui-components \
That records the session view headlessly through `cortex-tui-capture` and
168
+
rasterises the frames into `docs/media/intro.gif`.
169
+
79
170
## Release and CI secrets
80
171
81
-
Merges to `main` run `.github/workflows/version-bump.yml` (patch semver + tag). Tags run `.github/workflows/release.yml`, which can publish to R2 / `software.cortex.foundation` via `.github/workflows/publish-r2.yml`.
172
+
Merges to `main` run [`.github/workflows/version-bump.yml`](.github/workflows/version-bump.yml),
173
+
which patch-bumps the version and tags it. Tags run
174
+
[`release.yml`](.github/workflows/release.yml), which can publish to
175
+
[software.cortex.foundation](https://software.cortex.foundation) via
This repo does **not** invent cloud accounts. Secret *names* CI already expects are listed in [docs/CI_SECRETS.md](docs/CI_SECRETS.md). Do not put secret values in git.
178
+
This repository does not invent cloud accounts. The secret *names* CI expects are
179
+
listed in [docs/CI_SECRETS.md](./docs/CI_SECRETS.md). Values never go in git.
84
180
85
181
## Contributing
86
182
87
-
See [AGENTS.md](AGENTS.md), [`.rules/`](.rules/), and [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md). Every PR must fill the attestation list in `.github/PULL_REQUEST_TEMPLATE.md`.
183
+
Start with [docs/CONTRIBUTING.md](./docs/CONTRIBUTING.md), then
184
+
[`AGENTS.md`](./AGENTS.md) and [`.rules/`](./.rules/). Every PR fills the
0 commit comments