Find a file
Tony Frazier de7adecabd
Tune the CodeRabbit config and give it our docs (#850)
This follows up on #840. CodeRabbit flagged that `base_branches:
[master]` isn't anchored, so it also matches branches like
`master-backup`. CodeRabbit already reviews pull requests to the default
branch, and `base_branches` only adds other branches, so I removed the
entry instead of anchoring it.

The rest gets CodeRabbit reading the docs we already keep. The
`!docs/**` filter also kept all of `docs/` out of CodeRabbit's clone, so
all it could see were the decision summaries in `AGENTS.md`.

- Early access is on.
- MCP servers are on. The default (`auto`) skips them on public repos
like this one, and we want reviews to look up docs through Context7.
- Path filters exclude only `docs/architecture/`, `docs/evidence/` and
the generated `docs/README.md`. The decisions and `docs/development/`
now get reviewed.
- The full decision records and the development rules index are loaded
as code guidelines for every file. The prompt template rule applies to
the templates and to the services that pass prompt instructions into
them.
- Changes to decision records get path instructions for what
`docs-check.ts` can't check: whether it's in the right place, whether it
records intent instead of restating code, whether an edit still holds
under the merged summary, and whether what it names matches the code.
- The decision-records ADR now limits "nothing vendor-specific is
committed" to local tools (e.g., editor, coding agent). Services the
project runs on, like GitHub and CodeRabbit, keep their config in the
repo. It also notes why `docs:gen` doesn't generate CodeRabbit entries
per scope, and when to revisit that.

This PR's own CodeRabbit review should list the three `docs/` entries as
`configured` under "Code guidelines", and its ADR change runs through
the new path instructions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01EzTd9b1ZCvCSpZ5Eh3ADAY


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Documentation**
* Clarified how decision records distinguish agent instructions, local
tool settings, and project services.
* Added a note explaining when to reconsider the approach to organizing
automated review guidelines.
* Updated review coverage for selected project materials and added
guidance for reviewing decision records, development documentation, and
prompt-template changes. These updates affect project documentation and
review processes; no end-user feature changes are described.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 22:23:54 -05:00
.cargo Add Incognito Keyboard option for Android (#467) 2026-08-26 20:45:30 -04:00
.github Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
docs Tune the CodeRabbit config and give it our docs (#850) 2026-12-02 22:23:54 -05:00
guides Prompt pack folder export: a usage guide, editor-ordered folders, and pack.yaml out of merges (#701) 2026-11-07 01:48:59 +02:00
scripts Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
src Keep story store writes on the story they started on (#813) 2026-12-02 16:24:23 -05:00
src-tauri Run the sync guard test against every migration (#839) 2026-12-02 19:49:34 -05:00
static switched font for logo 2026-01-19 14:48:22 -06:00
third-party-licenses Added harper 2026-01-02 05:08:39 -07:00
.coderabbit.yaml Tune the CodeRabbit config and give it our docs (#850) 2026-12-02 22:23:54 -05:00
.gitattributes Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
.gitignore Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
.ignore Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
.nvmrc Overhaul CI/CD: Node 24, shared release workflows, faster cached builds (#518) 2026-09-16 22:38:32 -04:00
.prettierrc fix: prettier, eslint, pipeline (#71) 2026-02-06 00:49:36 +01:00
AGENTS.md Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
compileApk.sh Android build hygiene: minSdk 26, lint in CI, resource cleanup (#468) 2026-08-29 21:52:01 -04:00
eslint.config.js Route HTTP debug logging through loggedFetch and a plain debug log (#733) 2026-11-14 20:27:51 -05:00
lefthook.yml Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
LICENSE.md Db rework (#140) (#141) 2026-02-13 17:37:27 +05:30
logo.png switched font for logo 2026-01-19 14:48:22 -06:00
package-lock.json chore: bump version to 0.7.13 2026-11-16 17:48:40 -05:00
package.json Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
README.md Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
sun4.jpg Use custom icon for android 2026-01-03 07:08:45 -07:00
sun17.jpg Use custom icon for android 2026-01-03 07:08:45 -07:00
sun2022.png Use custom icon for android 2026-01-03 07:08:45 -07:00
tsconfig.json Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
vite.config.js Upgrade to SvelteKit 3, TypeScript 6 and vitest 5, and bump dependencies (#615) 2026-10-12 12:29:54 -04:00
vitest.config.ts Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00

Aventuras

Interactive fiction with an AI that remembers. Play a text adventure or write collaboratively, on desktop and Android, with any LLM provider you like — cloud or running on your own machine.

Aventuras keeps the story straight: chapters are summarized as you play, a lorebook feeds the right entries into the right scene, an agent tidies that lorebook behind you, and the world state — who is present, where you are, what you carry — is tracked turn by turn.

Highlights

  • Two modes — Adventure, with multiple-choice actions and world tracking; Creative Writing, freeform with AI suggestions. First/second/third person, past or present tense.
  • Any provider — OpenRouter, OpenAI, Anthropic, Google, xAI, Groq, DeepSeek, Mistral, Z.AI, NanoGPT, Chutes, Pollinations, NVIDIA NIM, plus local llama.cpp, LM Studio and Ollama. Streaming, extended thinking, and per-subsystem Agent Profiles so retrieval, classification and narration can each use a different model.
  • Memory that scales — automatic chapter summarization, and a retrieval step that goes and finds what the current scene needs from everything that came before.
  • Lorebook — characters, locations, items, factions, concepts and events, with aliases, secrets, keyword and relevance-based injection, SillyTavern import, and an autonomous agent that consolidates duplicates and fills gaps.
  • The Vault — a cross-story library of reusable characters, lorebooks and scenarios, with a tool-calling assistant that edits them and shows you a diff before anything lands.
  • Every prompt is editable — they are Liquid templates, all of them, in an in-app editor.
  • Images — inline <pic> illustrations, scene backgrounds and character portraits, across nine backends including local ComfyUI (0.26.0 or later) and A1111.
  • Writing tools — local grammar checking (Harper/WASM), style analysis for repetition, suggestions that match how you write.
  • Yours to keep — SQLite on your machine, full backup/restore, .avt story export, LAN sync between devices over QR pairing, and an optional translation layer over the whole app.
  • Story time — every entry knows when it happens in the story's world. Anchor the moments you are sure of, and reconcile the stretches between them when the clock drifts.
  • 26 themes, adjustable text size, dialogue highlighting.

Guides

  • Story time — why story time drifts, anchors and reference points, timeline anomalies, reconciling a stretch, and a new story's starting time.
  • Prompt packs as folders — keeping a custom prompt pack in step with each release through git, and what an exported folder holds.

Install

Pre-built binaries are on the Releases page:

Platform Download Minimum
Windows Aventuras_vX.Y.Z_x64-setup.exe Windows 10
macOS Aventuras_vX.Y.Z_x64.dmg / _aarch64.dmg macOS 13.3
Linux Aventuras_vX.Y.Z_amd64.deb / .AppImage, or _x86_64.rpm WebKitGTK 2.40 for the .deb / .rpm; the AppImage carries its own, needs glibc 2.35
Android Aventuras_vX.Y.Z.apk Android 8, with System WebView 111 or later
iOS Aventuras_vX.Y.Z_ios-arm64-unsigned.ipa (sideload; unsigned) iOS 26

The minimums come from each platform's web engine, OS and runtime requirements. They are derived from documentation and have not been tested on devices at those versions; see docs/development/platform-support.md.

No API keys in config files — providers are set up in the app, under Settings → API Settings.

Build from source

Requires the Node.js version in .nvmrc, the latest stable Rust, (for Android) the Android SDK, NDK r27d and JDK 21–24, and (for iOS) a Mac with Xcode.

git clone https://github.com/AventurasTeam/Aventuras.git
cd Aventuras
npm install
npx tauri dev
Script Does
npm run dev Vite dev server (frontend only)
npx tauri dev full app, with hot reload
npm run build production build
npm run check type checking (svelte-check)
npm test test suite (Vitest)
npm run lint lint:ts (ESLint) and lint:rust (rustfmt, Clippy); :fix fixes
npm run format Prettier
npm run release version bump, tag and push

Desktop builds are npx tauri build; Android and iOS are documented in docs/development/release.md. iOS produces an unsigned device .ipa (no Apple certificates or signing secrets).

Tech stack

TypeScript (strict) · SvelteKit 3 · Svelte 5 runes · Tauri 2 (Rust) · Tailwind + bits-ui · SQLite (tauri-plugin-sql / sqlx) · Vercel AI SDK · LiquidJS · CodeMirror 6 · Zod · Harper.js (WASM) · Vitest

Contributing

Start with AGENTS.md, the working rules for people and coding agents alike. docs/ARCHITECTURE.md maps the code, docs/README.md indexes the decisions that span areas, and docs/development lists the development rules. CI runs lint, type-check, tests and a build on every PR against master, develop or dev.

Acknowledgments

Tauri · SvelteKit · OpenRouter · Harper · Lucide

License

AGPL-3.0