transform (token rename + flavor-banner swap) and follows the dev-first
flow like code; `CHANGELOG.md` stays per-flavor and gets a manual entry on each
promote PR.
## Mutual exclusion
Both
4.9k2mo agoReviewMountCreate a free account to mount
Test Design Rules
Every test under `tests/` follows these. Reviewers check new and changed
tests against them.
1. **Test our code, not the platform.** Assert on behaviour this repository
owns
4.9k2mo agoReviewMountCreate a free account to mount
guards
that reconstruct another source of truth.
- Keep control-flow narration and review history out of implementation comments. Encode invariants
in names, types, boundaries, and tests; reserve comments for public
4.9k2mo agoReviewMountCreate a free account to mount
components in
`web/storybook` (`stories/entity-ui/` for the data-connected `@agenta/entity-ui` surfaces).
Cover the states a reviewer cannot reach by clicking — empty, error, read-only, migration.
Nothing type-checks that package
4.8k4mo agoReviewMountCreate a free account to mount
seeing the blocker. Plan documents stay local (see "Plan documents stay local" below).
## Automated codereview with Greptile
Every PR gets automated Greptile review alongside CI. Resolve every Greptile finding
4.8k7mo agoReviewMountCreate a free account to mount
file components only
### `useEffect` Discipline
**Treat every `useEffect` as a code smell until proven necessary.** Before writing or reviewing a `useEffect`, consult https://react.dev/learn/you-might-not-need-an-effect and verify it doesn
4.8k5mo agoReviewMountCreate a free account to mount
Quality Gates
Read and follow the Quality Gates section in /TESTING.md before considering any code change complete.
## Architecture
### Core Framework Components
**AIAgent** — Main orchestrator that executes strategies in coroutine scopes
4.6k7mo agoReviewMountCreate a free account to mount
only the CC root; pass `--scope cc`
when the memory must appear in Claude Code without recall.
### Inspect and manage
```bash
gptme-util memory roots # Which roots are active
4.4k6mo agoReviewMountCreate a free account to mount
sentence and never use `&`, `<`, or `>` in them.
- Cross-link with `{% link _collection/page.md %}`, never hard-coded URLs. Use the `site.models.*` ids from `docs/_config.yml` in examples so model names stay current
4.4k3mo agoReviewMountCreate a free account to mount
generate a contribution is not contributing. PRs opened this way will be closed without review.
If a human asks you to "find something to work on" or points
4.4k3mo agoReviewMountCreate a free account to mount
break`, `WARN: a sibling that silently drifts if this changes`, `UPSTREAM(electron/electron#19920): a code shape forced on us from outside this repo`.
- **A validated citation**, as in `precedent
4.4k5mo agoReviewMountCreate a free account to mount
releases of critical packages to allow community security review. Always review `pnpm-lock.yaml` changes in PRs.
## Coding Conventions
**General**:
- **Prefer Classes for Stateful Modules**: When encapsulating functionality that involves state (cached
4.3k2mo agoReviewMountCreate a free account to mount
within-allow, so do not create a
broad grant that defeats a required denial.
- Review Linux and macOS separately when a change affects enforcement,
networking, paths, processes, sockets, credentials
4.3k3mo agoReviewMountCreate a free account to mount
reload. The app is a long-lived menu-bar process, so **every code change requires a full rebuild and restart of the running app** to take effect — kill the running
4.3k5mo agoReviewMountCreate a free account to mount
VS Code extension that analyzes local AI session logs and surfaces insights in a webview dashboard. Read-only, zero telemetry, all analysis runs on the user's machine.
4.3k6mo agoReviewMountCreate a free account to mount
path the change already touches, or keep the code and rebut. The same holds when
you are the REVIEWER: asking for a wider fence is outside what review decides
4.3k3mo agoReviewMountCreate a free account to mount