thyn-ai/codna

Install codna from PyPI, then fix, review, or classify a repository through the same packaged local runtime users run locally.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-keyOptional Codna license / metering key. Local packaged runs can leave this empty when provider keys are supplied by environment.no""
package-specPyPI package spec to install. Default installs the latest published codna package; pin for deterministic CI, e.g. codna==0.1.43.nocodna
modeWhat codna does: 'fix' opens a fix PR; 'review' posts or computes PR review findings; 'secure' runs read-only SARIF reachability classification.nofix
prReview mode: PR to review/post to: number, owner/repo#123, or PR URL. Defaults to the triggering pull_request number.no""
diffReview mode: optional diff range, e.g. origin/main...HEAD. Defaults to the PR base...head.no""
postReview mode: post findings to the PR. Set 'false' to compute findings only.notrue
min-confidenceReview mode: only report findings at or above this confidence.no""
blockingReview mode: 'true' makes the Codna Review check fail on a blocking-severity finding.nofalse
effortReview mode: review depth: low, medium, or high.no""
issueFix mode: what is broken. Optional if from-junit is set.no""
from-junitFix mode: path to a JUnit/pytest XML report; codna derives failing tests from it.no""
from-sarifSecure mode: path to the scanner's SARIF report. Required when mode=secure.no""
reachability-engineSecure mode reachability engine: remote or local.noremote
verificationSecure mode optional codna-security.yaml manifest.no""
base-branchBase branch for the pull request. Empty uses the repository default branch.no""
modelPlanner/review model. Use provider-qualified IDs for deterministic routing, e.g. openai/gpt-5.norepository.verified_agentic_v1
github-tokenToken with contents:write and pull-requests:write. Defaults to the workflow token.no${{ github.token }}
namedescription
pull-request-urlURL of the pull request codna opened. Empty if no PR was opened.