feat(review): add .gittensory.yml review.profile (chill / balanced / assertive) - #1347
Merged
Conversation
…assertive) (#review-profile)
A CodeRabbit-parity presentation knob: a maintainer can set how nitpicky the AI maintainer
review write-up is, from the repo's `.gittensory.yml`:
review:
profile: chill # only blocking defects, suppress style nits
# profile: assertive # also raise minor improvements + nits
# profile: balanced # default — reviewer prompt byte-identical
It is config-only (lives in manifest.review, no DB migration) and PRESENTATION ONLY — it
shapes how much advisory detail the prose carries, NEVER the gate verdict (the consensus-defect
pass runs the same). Absent / `balanced` appends nothing, so the reviewer prompt is byte-identical.
- focus-manifest.ts: ReviewProfile type + `profile` on FocusManifestReviewConfig; parse
(case-insensitive, balanced→null, invalid→warning) + serialize for the cache round-trip.
- ai-review.ts: `profile` on GittensoryAiReviewInput; buildSystemPrompt appends a chill/assertive
tone suffix.
- processors.ts: resolve review.profile from the (already-cached) manifest at the AI-review call
site and thread it in — no extra fetch.
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1347 +/- ##
==========================================
+ Coverage 95.25% 95.27% +0.01%
==========================================
Files 188 188
Lines 20314 20330 +16
Branches 7319 7326 +7
==========================================
+ Hits 19350 19369 +19
Misses 378 378
+ Partials 586 583 -3
🚀 New features to boost your workflow:
|
This was referenced Jun 25, 2026
feat(review): add .gittensory.yml review.pre_merge_checks (deterministic pre-merge assertions)
#1357
Merged
Closed
12 tasks
This was referenced Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first CodeRabbit-parity feature: a
.gittensory.ymlreview.profileknob that lets a maintainer set how nitpicky the AI maintainer-review write-up is.manifest.review(the.gittensory.ymlconfig-as-code), so no DB migration / OpenAPI change.balancedappends nothing → the reviewer prompt is byte-identical to today.Changes
focus-manifest.ts—ReviewProfiletype +profileonFocusManifestReviewConfig; parse (case-insensitive,balanced→null, invalid→warning) + serialize for the cache round-trip.ai-review.ts—profileonGittensoryAiReviewInput;buildSystemPromptappends a chill/assertive tone suffix.processors.ts— resolvereview.profilefrom the already-cached manifest at the AI-review call site and thread it in (no extra fetch; the AI-review path makes no new manifest load — verified by the direct-call unit tests).Closes #1344
Scope
src/only — config parse + prompt suffix + threading; no migration/OpenAPI/binding change (ui:openapi:checkgreen)Validation
npm run test:ci— exit 0; 4305 tests passnpm audit --audit-level=moderate— 0 vulnerabilitiesfocus-manifest.ts,ai-review.ts,processors.ts)buildSystemPromptappends CHILL/ASSERTIVE per profile and stays byte-identical when absentSafety
balanced) — zero behavior change unless a maintainer opts in