the signals and their derived score are provisional and subject to change.
validate manually before sharing.
be23e234b5317d43f69d5250bfcdecf2e364c51bnone
# CRITICAL: NEVER COMMIT TO MAIN
# - NO `git commit` in main branch, EVER
# - NO `git push codeberg main`, it's protected anyway
# - ALWAYS: `git worktree add ../cerebro-{branch-name} -b {branch-name}`
# - Violating this twice in one session = you're not reading the docs
# -----------------------------------------------------------------------------
# Cerebro Agent Guidelines
## Session Operating Loop
Run this numbered procedure every session. Steps may be skipped only when the task is trivial (typo fix,---
name: cerebro-build
description: Generate dashboard pages. Use when updating project pages, after building, or when serving the dashboard.
metadata:
usage: cerebro build
---
# Building Dashboard
```bash
cerebro build
```
## Specific project
```bash
cerebro build --project <name>
```
## Force rebuild
```bash
cerebro build --fresh
```
## Gotchas
- Requires `CORTEX_PATH` env var (points to your cortex)
- Output goes to `{CORTEX_PATH}/content/`, not local build/
- Logs controlled by `RUST_LOG` env---
name: dev-workflow
description: Run Cerebro quality checks. Use when checking code, before committing, or verifying changes work.
---
# Quality Checks
Use justfile shortcuts:
```bash
just dev # cargo build
just check # fmt + clippy
just test # cargo test
just quality # check + test
just ci # quality + build
```
## Order matters
Run in this sequence:
1. `cargo check`
2. `cargo clippy -- -D warnings`
3. `cargo fmt --check`
4. `cargo test`
5. `cerebro build`
## NEVER skip
- `cargo fmt -none