Skip to content

docs(agents): make the contributor and agent rules specific to Tarn, private by default - #113

Merged
rgxdev merged 5 commits into
mainfrom
quavon/contributor-rules
Nov 24, 2026
Merged

rgxdev merged 5 commits into
mainfrom
quavon/contributor-rules

Conversation

@rgxdev

@rgxdev rgxdev commented Nov 24, 2026

Copy link
Copy Markdown
Member

Replaces #112, which closed when its branch was renamed. Same commits.

Problem

AGENTS.md told a contributor the rules but not where code lives, which doc to read, how to run each client or when a change is done. Two rules were missing in writing: features that could reveal something about the user start switched off, and a client without a feature must have either a backlog entry or a documented gap. Several statements had gone stale (Windows engine, where unsafe lives, who uses the ai crate).

Change

AGENTS.md

  • Opens with what Tarn does not give up, then "Start here", "Where code lives" and "Read first, by area".
  • Rule 9, Private by default: a new feature is off until the user turns it on when it sends anything off the device, contacts a new party, carries data across sites, profiles or apps, or keeps more about the user. A protection is on by default. The rows in PRIVACY.md are the baseline, which a change may shrink but not widen.
  • Rule 1 now ends every client with the feature, a docs/port-backlog.md entry or a documented gap.
  • New sections: "Before you call it done" (checklist), "Running Tarn" (command per client, on throwaway data), "Conventions", "Pull requests", "Documentation".
  • Hard rules 7 and 13 keep their wording; their exceptions are split into one list item each. No condition was added, dropped or changed, and rule numbering is unchanged.
  • Corrected: the Windows engine is Chromium (CEF), sync is not built into any client.

Other files

  • CONTRIBUTING.md: "Ways to help", one problem per pull request, observed evidence, the two rules above.
  • .github/pull_request_template.md: Problem / Change / How it was tested, plus a line for a new default.
  • .github/ISSUE_TEMPLATE/bug.yml: asks for the client and OS version instead of assuming macOS.
  • .coderabbit.yaml: review instructions follow rule 9 and the comment rule in AGENTS.md.
  • README.md, docs/architecture.md, docs/port-backlog.md, crates/ai/Cargo.toml (description only): stale statements corrected.

How it was tested

No product behaviour changes. Every added path, command, crate role, environment variable and CI statement was checked against the manifests, scripts and workflows in this tree; the hard-rule reformat was compared clause by clause with the old text. The YAML files parse and cargo metadata --locked passes after the description change.

Checks run, and checks not run (and why): no cargo checks apply to the Markdown and YAML changes; the crates/ai/Cargo.toml description change is left to CI. The commands in "Running Tarn" were verified against the scripts and CI, not executed. The rendered bug form was not viewed on GitHub.

Clients covered (each other one has a docs/port-backlog.md entry, or a documented gap in its plan doc): not applicable, documentation only.

New setting or behaviour: its default, and why (AGENTS.md, rule 9): none.

Protected paths (.github/CODEOWNERS), dependencies, pins or checks changed, and why: AGENTS.md, CONTRIBUTING.md, .github/ (templates), .coderabbit.yaml, docs/, crates/ai/Cargo.toml (description only, no dependency or lockfile change). All are the subject of this change.

Anything done differently from the guidelines in AGENTS.md or CONTRIBUTING.md, and why: no issue was opened first for this policy change (guideline 2); it is put to the maintainers here.

  • I read and understand every line and sign it off as its author (git commit -s)
  • Any AI agent used kept the hard rules in AGENTS.md
  • No secrets, credentials or personal data in the diff

…t guidance

AGENTS.md gains a start-here path, a map of where code lives, the doc to
read per area, a checklist to walk before a change is done, and sections on
pull requests and documentation. CONTRIBUTING.md lists ways to help besides
new code and asks for one problem and observed evidence per pull request.
The pull request template and the bug form follow: the form asks for the
client instead of assuming macOS.

The structure follows the agent guide of pingdotgg/t3code (MIT); the text
is written for Tarn. No hard rule or guideline changes.

Signed-off-by: rgxdev <hello@d-aaron.dev>
AGENTS.md now opens with what Tarn does not give up, and gains the commands
to run each client on throwaway data, the test and trace environment
variables, which changes CI skips, and the conventions review holds a change
to: line width, the separate workspaces and their lockfiles, where unsafe
may live, where tests go, comments, lints and prose.

Hard rules 7 and 13 keep their wording; their exceptions are split into one
list item each so each condition can be read and checked on its own.

CONTRIBUTING.md points to the new sections and to good first issues.

Signed-off-by: rgxdev <hello@d-aaron.dev>
…p rule

Rule 9: a feature that sends data off the device, contacts a new party,
carries data across sites, profiles or apps, or keeps more about the user is
off until the user turns it on; a protection is on by default. A feature
that reveals nothing new may be on by default, with the reason given in the
pull request. The default is set in the shared crates so every client agrees.

Rule 1 now ends every client with the feature, a port backlog entry or a
documented gap. The done checklist, CONTRIBUTING.md, the pull request
template and the review bot's instructions follow, and the bot's comment
rule now matches the one in AGENTS.md.

Signed-off-by: rgxdev <hello@d-aaron.dev>
…s checks

docs/architecture.md and the ai crate's description still said no client
uses the AI crate; the assistant is in every client, off until the user
enables AI. README.md said unsafe would reach crates/platform later and
left the Windows row out of its checks table.

Signed-off-by: rgxdev <hello@d-aaron.dev>
… review

The Windows engine is Chromium (CEF), not WebView2. The Chromium run row
now gives the Ninja, PATH and CEF_PATH steps CI uses, and the Linux row
starts the app instead of only testing it. unsafe is described per
workspace: the mobile platform bindings use it, linux and nsh-shared forbid
it through workspace lints. sync is no longer listed as shared by every
client, since none builds it in.

Rule 9 applies to new features and names the PRIVACY.md rows as the
baseline, because the update check and search are on by default today.

Signed-off-by: rgxdev <hello@d-aaron.dev>
@rgxdev
rgxdev requested review from a team as code owners November 24, 2026 22:16
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e2759bf and 39306a0.

Files selected for processing: 9

  • .coderabbit.yaml
  • .github/ISSUE_TEMPLATE/bug.yml
  • .github/pull_request_template.md
  • AGENTS.md
  • CONTRIBUTING.md
  • README.md
  • crates/ai/Cargo.toml
  • docs/architecture.md
  • docs/port-backlog.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@rgxdev
rgxdev merged commit 09eae73 into main Nov 24, 2026
39 of 46 checks passed
@rgxdev
rgxdev deleted the quavon/contributor-rules branch November 24, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants