Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ coverage/
dist/
*.tar.gz
*.zip
.cora/history/
2 changes: 1 addition & 1 deletion AGENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Missing any = release blocker.
### 1. Code

- [ ] All target issues merged to `develop`
- [ ] `cargo test` — all 506+ tests pass
- [ ] `cargo test` — all 517+ tests pass
- [ ] `cargo clippy --all-targets -- -D warnings` — clean
- [ ] `cargo fmt --all -- --check` — clean
- [ ] `cargo build --release` — no errors
Expand Down
15 changes: 15 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- **`cora commit`** — review staged diff + generate commit message + commit (#262)
- HITL mode (default): interactive `[Y]es / [E]dit / [N]o` prompt
- YOLO mode (`--yolo`): auto-commit without prompts
- `--force`: commit even if quality gate fails
- `--no-review`: skip review, only generate commit message
- `--edit`: always open `$EDITOR`
- Conventional commit format (feat/fix/refactor/perf/docs/test/chore/style/build/ci)
- Auto-truncates subjects to 72 chars
- Quality gate integration (block on FAIL unless `--force`)
- Debt snapshot saved after commit
- `chat_completion_raw()` + `chat_completion_stream_raw()` in `engine/llm.rs`
- 22 unit tests

## [0.5.0] - 2026-06-10

### Added
Expand Down
37 changes: 37 additions & 0 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,43 @@ Stream results as they come in from the LLM.
$ cora review --staged --stream
```

## 06 — Auto-Commit (Review + Message + Commit)

Review staged changes, generate a conventional commit message, and commit in one step.

### HITL mode (default — interactive prompt)

```bash
$ git add -A
$ cora commit
🔍 Reviewing staged changes (3 files, 247 lines)...
✅ No issues found (quality score: 9.2/10)

📝 Generated commit message:
feat(auth): add session expiry validation

Accept commit message? [Y]es / [E]dit / [N]o › y
✅ Committed: feat(auth): add session expiry validation
```

### YOLO mode (CI / trusted workflows)

```bash
$ cora commit --yolo
```

### Skip review (message only)

```bash
$ cora commit --no-review
```

### Force commit past quality gate

```bash
$ cora commit --force
```

## 06 — GitHub Actions CI (Recommended)

The easiest way to add cora to your PR workflow. This reusable action installs cora, runs the review, posts a PR comment with findings, and optionally uploads SARIF to GitHub Code Scanning.
Expand Down
15 changes: 15 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,21 @@ Now that you have cora running, explore these topics to get the most out of it:
- [CLI Reference](./cli-reference) — full command documentation
- [Examples](./examples) — CI/CD setup for GitHub, GitLab, Gitea, Bitbucket

### Daily Workflow

Once set up, your daily workflow becomes:

```bash
git add -A
cora commit # review + generate commit message + commit
```

Or skip the prompt in CI/trusted workflows:

```bash
cora commit --yolo # auto-commit, no prompts
```

## AI Agent Integration

cora includes a built-in MCP server for AI coding agents. After installation:
Expand Down
1 change: 1 addition & 0 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ Demand-gated — we build what people actually need. Track progress on [GitHub I
- [#188](https://github.com/codecoradev/cora-cli/issues/188) Auto-chunking for large diffs — ✓ Done
- [#206](https://github.com/codecoradev/cora-cli/issues/206) Tech debt metrics — review history — ✓ Done
- [#232](https://github.com/codecoradev/cora-cli/issues/232) Uteke memory integration — recall + learn — ✓ Done
- [#262](https://github.com/codecoradev/cora-cli/issues/262) `cora commit` — review + auto commit message + quality gate — ✓ Done

## v0.6 — Growth & Marketplace

Expand Down
Loading