Aventuras/docs
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
..
architecture Keep story store writes on the story they started on (#813) 2026-12-02 16:24:23 -05:00
decisions Tune the CodeRabbit config and give it our docs (#850) 2026-12-02 22:23:54 -05:00
development Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
evidence Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
.editorconfig Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
adr-template.md Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
ARCHITECTURE.md Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
decision-tags.yml Move the docs to decision records and check them on every push (#807) 2026-12-02 16:24:21 -05:00
README.md Keep the app's own writes from counting as sync edits (#809) 2026-12-02 16:24:22 -05:00

Decisions

Generated by scripts/docs-check.ts from decision frontmatter. Do not edit; change the decision records and run npm run docs:gen.

For the map of the code, read ARCHITECTURE.md.

Each entry is a tagged decision in force: its ruling, then the record that explains it. Untagged decisions are local to one area and are not listed here; the code they govern leads to them, through the AGENTS.md their scope generates or an ADR(slug) comment. New decisions start from adr-template.md.

documentation: How decisions and documentation are recorded and kept true

  • Record the intent code can't express as an ADR when it spans more than one site or won't fit in a short comment. decision-records

persistence: SQLite schema, migrations, storage, and the settings blob

  • Hold sync_suspend for migrations and the app’s own writes, or sync sees every item they touch as changed on both devices. automatic-writes-dont-count