Skip to content

Certify

Continuously evaluate every code unit in your repository. Score against versioned policies. Assign time-bound certification you can actually trust.

CI tells you whether code passes right now.
Certify tells you whether code should still be trusted.

Most engineering teams assume code that once passed review can be trusted indefinitely. That assumption is wrong. Standards evolve, dependencies change, systems grow more complex.

Certify introduces continuous code certification — measurable quality scores with certification that expires intentionally. When certification lapses, code is re-evaluated against current standards.


Discover

Finds every function, method, type, and file in your repository using language-aware adapters.

Evaluate

Collects deterministic evidence from linters, test runners, git history, AST analysis, and code metrics. Scores across 9 quality dimensions.

Certify

Assigns time-bound certification status — certified, probationary, or decertified — with expiration dates that enforce recertification.

Report

Generates a complete report card with per-unit scoring, dimension breakdowns, browsable static site, and a live README badge.


Terminal window
certify init # bootstrap config, policies, CI workflows
certify scan # discover all certifiable code units
certify certify # evaluate, score, and certify
certify report # generate your report card
certify architect # AI-powered architectural review
certify doctor # diagnose setup and configuration issues
certify onboard # interactive step-by-step guide

Every code unit is scored across:

DimensionWhat it measures
CorrectnessLint errors, vet issues, test failures
MaintainabilityCyclomatic complexity, function length
ReadabilityLine length, documentation, TODO count
TestabilityTest coverage, test existence
SecuritySecurity-sensitive patterns (panic, os.Exit)
Architectural FitnessPackage structure, dependency patterns
Operational QualityGit churn, contributor count
PerformanceAlgorithmic complexity, nesting depth, quadratic patterns
Change RiskRecent changes, author concentration

Certifications are time-bound — they expire by design.

StatusMeaning
🟢 CertifiedMeets all required policies
🟡 Certified with ObservationsAcceptable but with minor issues
🟠 ProbationaryRequires improvement soon
🔴 DecertifiedFails required policies
ExpiredCertification window elapsed — needs recertification

Default certification window: 90 days. Risk factors adjust automatically — high-churn code gets shorter windows, stable code gets longer ones.


The certify architect command runs a 6-phase AI analysis of your entire codebase:

  1. Architecture narration — how packages compose, where data flows
  2. Code quality patterns — anti-patterns, complexity hotspots
  3. Test strategy — coverage gaps, missing test categories
  4. Security & operations — structural risk from AST analysis
  5. Recommendations — specific improvements with projected metric deltas
  6. Synthesis — executive summary, risk matrix, prioritized roadmap

All metrics are grounded in real AST-computed data — no fabricated values.

Architect Review guide →


For multi-repo projects using git submodules, --workspace mode treats your entire workspace as a single system:

Terminal window
certify certify --workspace # certify all submodules
certify architect --workspace # holistic system-level review
certify report --workspace # aggregated workspace report

Cross-submodule dependencies, shared library quality, and system-level architecture are analyzed holistically.

Workspace guide →


A complete per-unit certification of your entire codebase:

# 🟢 Certify — Report Card
## Dimension Averages
| correctness | 95.0% | ██████████████████░░ |
| maintainability | 93.3% | ██████████████████░░ |
| readability | 92.4% | ██████████████████░░ |
| testability | 90.0% | █████████████████░░░ |
## All Units
| Score | function | B+ | 87.4% | certified | 2026-06-07 |
| CertifyUnit | function | B | 85.6% | certified | 2026-06-07 |
... every unit in your repo

Also available as a browsable static HTML site: certify report --site


VSCode Extension

See certification grades inline on every function. Open an interactive dashboard. Configure AI providers visually. Browse models from any OpenAI-compatible endpoint.

Terminal window
code --install-extension iksnae.certify-vscode

Supports 11 provider presets — OpenRouter, Groq, Together, Fireworks, OpenAI, Google AI, Ollama, LM Studio, vLLM, and any custom endpoint.

Extension guide →


Install in 30 seconds

Terminal window
go install github.com/iksnae/code-certification/cmd/certify@latest
certify onboard

Installation guide →

Certify your first repo

Walk through bootstrapping, scanning, certifying, and reading your first report card. Use certify onboard to track your progress.

Quick start →