Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7d4fedb
feat(plugins): move Plugin interface to version 0.3.0
avidianity Nov 24, 2026
d7ee195
feat(cli): key result cache by plugin interface version
avidianity Nov 24, 2026
34a9ae1
feat(plugins): add per-function coverage facts to Code model
avidianity Nov 24, 2026
4e993ac
feat(host): report incompatible 0.2.0 plugins in check and doctor
avidianity Nov 24, 2026
6f5efab
Merge branch 'feat/248-function-coverage-facts' into feat/222-plugin-…
avidianity Nov 24, 2026
c11af0a
Merge branch 'feat/246-legacy-v0-2-0-error' into feat/222-plugin-inte…
avidianity Nov 24, 2026
37ac8e7
feat(plugins): add program-start mark to file-model
avidianity Nov 24, 2026
c5ba421
feat(plugins): add per-language coverage statement to CodeModel and M…
avidianity Nov 24, 2026
240b5ee
Merge branch 'feat/249-language-coverage-statement' into feat/222-plu…
avidianity Nov 24, 2026
9d5b016
feat(cli): count program-start Production files as entry points
avidianity Nov 24, 2026
83feb49
Merge branch 'feat/265-program-start-entry-point' into feat/222-plugi…
avidianity Nov 24, 2026
bb376c6
feat(plugins): export hazard rule capability and names from Language …
avidianity Nov 24, 2026
1111b75
Merge branch 'feat/250-hazard-rules-export' into feat/222-plugin-inte…
avidianity Nov 24, 2026
c9a9376
feat(plugins): support multi-file resolved imports
avidianity Nov 24, 2026
5a92f6b
Merge branch 'feat/259-multi-file-resolved-imports' into feat/222-plu…
avidianity Nov 24, 2026
531518f
feat(plugins): add per-file hazard lines to Code model and Metric plu…
avidianity Nov 24, 2026
a89ac11
Merge branch 'feat/251-hazard-lines-per-file' into feat/222-plugin-in…
avidianity Nov 24, 2026
d800be2
test(cli): cover multi-file folder imports in orphan files
avidianity Nov 24, 2026
81e2c75
test(cli): verify multi-file import boundary findings
avidianity Nov 24, 2026
f1ab833
feat(metrics): harden and test multi-file import cycle detection
avidianity Nov 24, 2026
d5d5a89
Merge branch 'feat/261-multi-file-orphan-files' into feat/222-plugin-…
avidianity Nov 24, 2026
2c491d1
Merge branch 'feat/262-multi-file-import-boundaries' into feat/222-pl…
avidianity Nov 24, 2026
d035747
fix(metrics): initialize hazard_lines in boundaries tests
avidianity Nov 24, 2026
7182c23
Merge branch 'feat/260-multi-file-import-cycles' into feat/222-plugin…
avidianity Nov 24, 2026
ec8c489
feat(cli): list multi-file imports along trace paths
avidianity Nov 24, 2026
de0ed8c
Merge branch 'feat/263-multi-file-trace' into feat/222-plugin-interfa…
avidianity Nov 24, 2026
4d97027
feat(cli): reject out-of-range hazard lines before reporting
avidianity Nov 24, 2026
7332d0d
Merge branch 'feat/252-hazard-line-bounds' into feat/222-plugin-inter…
avidianity Nov 24, 2026
6958f09
feat(cli): reject Hazard lines with unlisted rule names
avidianity Nov 24, 2026
6dc0d18
feat(plugins): export has-imports on Language plugin interface
avidianity Nov 24, 2026
86e3f02
Merge branch 'feat/253-hazard-rule-validation' into feat/222-plugin-i…
avidianity Nov 24, 2026
9ba701c
Merge branch 'feat/254-no-imports-language' into feat/222-plugin-inte…
avidianity Nov 24, 2026
768f03d
feat(host): gate conformance import checks on has_imports
avidianity Nov 24, 2026
ff0c6b7
feat(report): omit import Metrics for languages without imports in TO…
avidianity Nov 24, 2026
b62e03a
Merge branch 'feat/256-absent-import-metrics-toon-json' into feat/222…
avidianity Nov 24, 2026
c4eec6b
feat(report): omit import Metrics in Markdown and SARIF for languages…
avidianity Nov 24, 2026
534cfd0
feat(report): count only import-bearing languages in import Metric to…
avidianity Nov 24, 2026
1d0ecee
Merge branch 'feat/258-import-totals-only-import-languages' into feat…
avidianity Nov 24, 2026
b0e0b57
Merge remote-tracking branch 'origin/main' into feat/222-plugin-inter…
avidianity Nov 24, 2026
361b5d9
refactor(plugins): reduce complexity and duplication in 0.3.0 changes
avidianity Nov 24, 2026
2176e7b
fix(plugins): close Round 1 verification findings for 0.3.0 interface
avidianity Nov 24, 2026
3f6a877
fix(cli): preserve workspace roots in package-scoped trace and clear …
avidianity Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ People and coding agents follow the same rules in this repository: read [.rules]

## Adding a Language or Metric plugin

Read [docs/plugins.md](./docs/plugins.md) to build an external WebAssembly Plugin against `codeint:plugin@0.2.0`, or inspect `plugins/languages/` to see how built-in Language plugins implement the Code model contract.
Read [docs/plugins.md](./docs/plugins.md) to build an external WebAssembly Plugin against `codeint:plugin@0.3.0`, or inspect `plugins/languages/` to see how built-in Language plugins implement the Code model contract.

## Code of Conduct

Expand Down
2 changes: 1 addition & 1 deletion GLOSSARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ A directional rule or public-file constraint governing which architectural zones
_Avoid_: layer rule, module fence

**Orphan file**:
A Production source file unreachable through runtime imports from any manifest-declared or configured entry point, classified as unreferenced or test-only.
A Production source file unreachable through runtime imports from any manifest-declared, program-start, or configured entry point, classified as unreferenced or test-only.
_Avoid_: dead file, unused file

**Dependency hygiene**:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Four core Metrics are calibrated against pre-2023 human-written repositories:
Additional independent Metrics and structural checks run in the same pass:

- **Cognitive complexity**: share of total nesting-weighted cognitive complexity held by functions scoring over 15.
- **Orphan files**: Production files unreachable from manifest-declared and configured `entry_points`, classified as `unreferenced` or `test-only`.
- **Orphan files**: Production files unreachable from manifest-declared, program-start, and configured `entry_points`, classified as `unreferenced` or `test-only`.
- **Dependency hygiene**: three independent Metrics (`unused_dependencies`, `unlisted_dependencies`, and `dev_in_production_dependencies`) comparing `package.json`, `Cargo.toml`, `pyproject.toml`, `composer.json`, and `pubspec.yaml` against imported external packages while excluding standard-library built-ins.
- **Architectural import boundaries**: named zones, built-in `layered` and `hexagonal` presets, `public_files` encapsulation, directional `allow`/`deny` rules, and pre-edit `codeint guard <path>` checks before a file even exists on disk.

Expand Down Expand Up @@ -79,7 +79,7 @@ Beyond static snapshots, codeint helps humans and coding agents understand how f

codeint is written in safe Rust (`#![forbid(unsafe_code)]`, [ADR 0004](./docs/adr/0004-forbid-unsafe-code.md)) around two clean seams: Language plugins lower source files into a language-neutral Code model, and Metric plugins compute Metrics and Findings over that model.
It reads tracked files and commit history directly from Git objects without modifying your working tree, scanning `laravel/framework` (132k Production lines) in `0.47s` and `flutter/packages` (434k Production lines) in `3.68s` on Apple Silicon.
External WebAssembly Plugins implement the versioned `codeint:plugin@0.2.0` WIT contract with mandatory SHA-256 verification, zero host capabilities, and configurable memory and time caps.
External WebAssembly Plugins implement the versioned `codeint:plugin@0.3.0` WIT contract with mandatory SHA-256 verification, zero host capabilities, and configurable memory and time caps.

Read [docs/guide/philosophy-and-architecture.md](./docs/guide/philosophy-and-architecture.md) for the full architecture diagram and design rationale.

Expand Down
Loading
Loading