Skip to content

Publish packages under @codraoss, enforce the precision gates, and add per-language + secondary-reviewer config - #90

Merged
devarshishimpi merged 7 commits into
mainfrom
feature/packages-publish-improve-evals
Aug 19, 2026
Merged

Publish packages under @codraoss, enforce the precision gates, and add per-language + secondary-reviewer config#90
devarshishimpi merged 7 commits into
mainfrom
feature/packages-publish-improve-evals

Conversation

@devarshishimpi

@devarshishimpi devarshishimpi commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Description

Two things bundled together since they ended up touching the same files.

Publishing: renamed @codra to @codraoss, added LICENSE/README/tsup config
to each package, wired up changesets, and added CI checks (build, publint,
export map validation) so a broken package fails the PR instead of the
publish. CLA check now checks every commit author, not just the opener.

Precision: two previously logged-only signals are now enforced (evidence on
untouched lines, refuted absence claims), the dedupe key bug is fixed, and
review config gained per-language overrides plus an optional secondary
reviewer (unioned, not voted). Added a migration for tracking degraded
reviews.

Closes #66 #74 #76

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Chore (refactoring, dependency updates, etc.)

Breaking: package scope rename, and the new gates will drop some findings
that used to get posted.

How Has This Been Tested?

npm test, npm run typecheck, npm run lint. New specs for the blame
gate, dedupe, language gates/thresholds, fragmented packing, and the
secondary reviewer. Package build verified via npm run build:packages plus
publint and the export check; no dry-run publish to the real registry.

  • Unit Tests
  • Integration Tests
  • Manual Dashboard Verification
  • Manual GitHub Webhook Verification

Checklist:

  • I have starred Codra on GitHub
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • I have signed the CLA

devarshishimpi and others added 5 commits August 17, 2026 01:23
…c npm publishing

Add LICENSE/README, tsup build configs, and publishConfig.exports to
each publishable package (api, core, db, models, provider-github,
schema, ui), wire up changesets for versioning/release, and add
check-package-exports/swap-publish-exports scripts plus CI validation
(build, publint, exports check). Also hardens CLA check to verify
every commit author in a PR, not just the opener.
…back chain

Adds `full_file_context` config to feed a validated post-change file into
review prompts, plus `review_breadth` to decouple pipeline findings from the
posted comment cap. Also adds truncation salvage and per-rung timeout
budgeting to the model fallback chain.
Condenses multi-line comments to one-liners (or drops redundant ones); no behavior changes.
…, track degraded reviews

Enforces two previously logged-only signals: findings whose evidence only
appears on untouched context lines, and absence claims refuted by finding
the identifier in the file. Fixes LLM dedupe key to include path/anchor.

Adds per-language severity/confidence overrides and an optional secondary
reviewer whose findings are unioned with the primary's, never voted on.
Extends full_file_context to fragmented diffs.

Adds migration 004 for degraded/reviewer_model columns and a skip reason
on verifyFindings, so degraded or unverified reviews are queryable.
reviewFile sizes its output budget from reviewBreadth (25 by default),
but the chunking spec still computed it from generatorFindingCap(max_comments)
(20), so the thinking-budget assertion expected 2048 and got 2165.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@devarshishimpi
devarshishimpi force-pushed the feature/packages-publish-improve-evals branch from fae1323 to 4fcf9d3 Compare August 19, 2026 15:33
@devarshishimpi
devarshishimpi marked this pull request as ready for review August 19, 2026 15:39
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@codra-app-personal codra-app-personal Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codra Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4fcf9d3760

ℹ️ About Codra in GitHub

Your team has set up Codra to review pull requests in this repo. Reviews are triggered when you:

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codra-app review"

If Codra has suggestions, it will comment; otherwise it will react with 👍.

Codra can also answer questions or update the PR. Try commenting "@codra-app address that feedback".

@codra-app-personal codra-app-personal Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codra Review

Nothing to flag. Reviewed 88 files (3098 changed lines) and found no issues worth raising.

Reviewed commit: 9769f99704

ℹ️ About Codra in GitHub

Your team has set up Codra to review pull requests in this repo. Reviews are triggered when you:

  • Open a pull request for review
  • Mark a draft as ready

Every review posts a summary here. A clean pass also gets a 👍 on the pull request itself.

@devarshishimpi
devarshishimpi merged commit fd13054 into main Aug 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restructure Codra into a workspace of focused packages

1 participant