{"band":"adequate","note":"Deterministic layer only. No model calls were made and no source content left this machine.","layer":"deterministic","coverage":{"statement":"A repository answers roughly three and a half of seven dimensions. The rest are reported as not assessable, with the questions a human would ask instead.","languages_read":["1C Enterprise","4D","ABAP","ABAP CDS","AGS Script","AIDL","AL","ALGOL","AMPL","ANTLR","APL","ASL","ASP.NET","ATS","ActionScript","Ada","Agda","Aiken","Aleo","Alloy","AngelScript","Answer Set Programming","Apex","Apollo Guidance Computer","AppleScript","Arc","ArkTS","AspectJ","Assembly","Augeas","AutoHotkey","AutoIt","Awk","B (Formal Method)","B4X","BAML","BQN","Ballerina","Batchfile","Beef","Befunge","Bend","Berry","Bicep","Bison","BitBake","BlitzBasic","BlitzMax","Bluespec","Boo","Boogie","Brightscript","C","C#","C++","C2hs Haskell","C3","CAP CDS","CLIPS","CMake","COBOL","CQL","CWeb","Cadence","Cairo","CameLIGO","Cangjie","Cap'n Proto","Carbon","CartoCSS","Ceylon","Chapel","Charity","ChucK","Circom","Cirru","Clarion","Clarity","Classic ASP","Clean","Click","Clojure","Clue","CodeQL","CoffeeScript","ColdFusion","ColdFusion CFC","Common Lisp","Common Workflow Language","Component Pascal","Crystal","Csound","Csound Document","Csound Score","Cuda","Curry","Cycript","Cypher","Cython","D","DIGITAL Command Language","DM","Dafny","Dart","Daslang","DataWeave","Dhall","Dockerfile","Dogescript","Dylan","E","ECL","EQ","EdgeQL","Elixir","Elm","Elvish","Emacs Lisp","EmberScript","Erlang","F#","F*","FIRRTL","FLUX","FPP","Factor","Fancy","Fantom","Fennel","Filebench WML","Flix","Fluent","Forth","Fortran","Fortran Free Form","FreeBASIC","FreeMarker","Futhark","G-code","GAML","GAMS","GAP","GDB","GDScript","GDShader","GLSL","GSC","Genero 4gl","Genshi","Gentoo Ebuild","Gentoo Eclass","Gherkin","Gleam","Glimmer JS","Glimmer TS","Glyph","Gno","Gnuplot","Go","Golo","Gosu","Grace","Grammatical Framework","Groovy","Groovy Server Pages","HCL","HIP","HLSL","Hack","Harbour","Hare","Haskell","Haxe","HiveQL","HolyC","Hurl","Hy","IDL","IGOR Pro","IL Assembly","ISPC","Idris","ImHex Pattern Language","ImageJ Macro","Imba","Inform 7","Ink","Inno Setup","Io","Ioke","Isabelle","J","JASS","JCL","JFlex","JSONiq","Jac","Jai","Janet","Java","Java Server Pages","Java Template Engine","JavaScript","JavaScript+ERB","JetBrains MPS","Jison","Jison Lex","Jolie","Jsonnet","Julia","Just","KCL","KRL","Kaitai Struct","KakouneScript","Koka","Kotlin","LFE","LLVM","LLVM TableGen","LOLCODE","LSL","LabVIEW","Langium","Lasso","Lean","Leo","Lex","LigoLANG","LilyPond","Linker Script","Liquidsoap","Literate Agda","Literate CoffeeScript","Literate Haskell","LiveCode Script","LiveScript","Lobster","Logos","Logtalk","LookML","Lua","Luau","M","M4","MATLAB","MAXScript","MLIR","MQL4","MQL5","MUF","Macaulay2","Makefile","Mako","Max","MeTTa","Mercury","Metal","MiniD","MiniZinc","Mint","Mirah","Modelica","Modula-3","Module Management System","Mojo","Monkey","MoonBit","MoonScript","Motorola 68K Assembly","Move","Myghty","NASL","NSIS","NWScript","Nearley","NetLinx","NetLinx+ERB","NetLogo","Nextflow","Nim","Nit","Nix","Nu","NumPy","OCaml","OMNeT++ NED","Oberon","Objective-C","Objective-C++","Objective-J","Odin","Omgrofl","Opa","Opal","Open Policy Agent","OpenCL","OpenQASM","OpenSCAD","OverPy","OverpassQL","Ox","Oxygene","Oz","P4","PDDL","PEG.js","PHP","PLSQL","PLpgSQL","POV-Ray SDL","Pact","Pan","Papyrus","Parrot","Parrot Assembly","Parrot Internal Representation","Pascal","Pawn","Pep8","Perl","PigLatin","Pike","PogoScript","Polar","Pony","Portugol","Power Query","PowerBuilder","PowerShell","Praat","Processing","Prolog","Promela","Propeller Spin","Puppet","PureBasic","PureScript","Pyret","Python","Q#","QML","QMake","QuakeC","Quint","R","RAScript","REALbasic","REXX","RPGLE","Racket","Ragel","Raku","Rascal","ReScript","Reason","ReasonLIGO","Rebol","Red","Redcode","RenderScript","Rhai","Ring","RobotFramework","Roc","Rocq Prover","Rouge","Ruby","Rust","SAS","SMT","SQF","SQL","SQLPL","SWIG","Sage","Sail","Salt","Scala","Scenic","Scheme","Scilab","Self","Shell","ShellSession","Shen","Sieve","Slang","Slash","SmPL","Smali","Smithy","Snakemake","Solidity","SourcePawn","Squirrel","Stan","Standard ML","Starlark","Stata","SurrealQL","Swift","SystemVerilog","TI Program","TL-Verilog","TLA","TSX","TXL","Tact","Talon","Tape","Tcl","Tcsh","Thrift","Toit","Tolk","Turing","TypeScript","Unified Parallel C","Uno","UnrealScript","Untyped Plutus Core","UrWeb","VBA","VBScript","VCL","VHDL","Vala","Verilog","Verse","Vim script","Visual Basic .NET","Visual Basic 6.0","Volt","Vyper","WDL","WGSL","WebAssembly","WebIDL","Whiley","Witcher Script","Wolfram Language","Wollok","Wren","X10","XC","XProc","XQuery","XS","XSLT","Xojo","Xonsh","Xtend","YARA","Yacc","Yul","ZAP","ZIL","Zeek","ZenScript","Zephir","Zig","Zimpl","eC","fish","hoon","mIRC Script","mcfunction","mupad","nesC","ooc","sed","wisp","xBase"],"total_dimensions":7,"assessable_dimensions":6},"dimensions":[{"id":"01","band":"strong","name":"Architecture & Codebase — including AI provenance","coverage":"full","findings":[{"id":"01.6","band":"adequate","layer":"deterministic","title":"apps/erp/app/modules/inventory/inventory.service.ts is 26,612 lines, 286× this codebase's median file","signal":"oversized_modules","weight":"corroborating","context":true,"evidence":[{"ref":"line-count","kind":"path","path":"apps/erp/app/modules/inventory/inventory.service.ts","detail":"26,612 lines (286× median)","line_end":26612,"line_start":1},{"ref":"line-count","kind":"path","path":"apps/erp/app/modules/production/production.service.ts","detail":"25,073 lines (269× median)","line_end":25073,"line_start":1},{"ref":"line-count","kind":"path","path":"apps/erp/app/modules/accounting/accounting.service.ts","detail":"21,603 lines (232× median)","line_end":21603,"line_start":1},{"ref":"line-count","kind":"path","path":"apps/erp/app/modules/sales/sales.service.ts","detail":"20,195 lines (217× median)","line_end":20195,"line_start":1},{"ref":"line-count","kind":"path","path":"apps/erp/app/modules/shared/shared.service.ts","detail":"17,263 lines (185× median)","line_end":17263,"line_start":1}],"observed":{"largest":26612,"library":{"n":382,"share":95,"value":286.2,"cutoff":138.63,"material":true,"percentile":85},"threshold":1000,"files_over":147,"median_lines":93},"standing":"Measured against its own codebase's median, it is larger than 95% of 382 surveyed projects' largest files.","dimension":"01","rationale":"The median source file here is 93 lines. 147 files exceed 1,000 lines, the largest being 26,612. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."}],"signals_run":11,"conclusive_signals":10,"what_a_person_adds":[{"id":"01.38","kind":"H+","where":"The team","measured":"No architecture or design document is in the tree, across 8,388 product files.","question":"Where does the design live, and who holds it?"},{"id":"01.39","kind":"H","where":"Your architects, with the product roadmap","question":"Is the architecture right for the next three years of the product?"},{"id":"01.40","kind":"H","where":"The team's reasoning at the time","question":"Were the home-grown components reasonable choices when they were made, and are they now?"}]},{"id":"02","band":"adequate","name":"Engineering Process & SDLC Maturity","coverage":"high","findings":[{"id":"02.4","band":"adequate","layer":"deterministic","title":"Nothing in the history is tagged as a release","signal":"release_cadence","weight":"corroborating","evidence":[{"ref":"tag-list","kind":"metric","detail":"0 tags across 6,170 commits and 1418 days"}],"observed":{},"dimension":"02","rationale":"Across 3.9 years of history there is not one tag. There may still be a deployment process, but this repository holds no record of what shipped when — which is the record a buyer needs to reconstruct an incident or a regression after the fact."},{"id":"02.16","band":"adequate","layer":"deterministic","title":"Tests are retried until they pass","signal":"flaky_test_markers","weight":"corroborating","context":true,"evidence":[{"ref":"packages/jobs/src/workflows/engine/ledger.test.ts","kind":"path","path":"packages/jobs/src/workflows/engine/ledger.test.ts","detail":"test retry","line_end":53,"line_start":53}],"observed":{"test_retries":0,"suite_retries":2},"dimension":"02","rationale":"The suite is configured to retry failing tests (packages/jobs/src/workflows/engine/ledger.test.ts). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."},{"id":"02.24","band":"adequate","layer":"deterministic","title":"9% of recent commits change more than 2,000 lines","signal":"commit_size","weight":"corroborating","evidence":[{"ref":"git log --numstat","kind":"metric","detail":"382 commits over 2,000 lines"}],"observed":{"share":0.094,"commits":4081,"over_2000_lines":382},"dimension":"02","rationale":"382 of 4081 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large."}],"signals_run":16,"conclusive_signals":16,"what_a_person_adds":[{"id":"02.32","kind":"H","where":"The code host's pull request data","question":"Is review real or a rubber stamp? Comment depth and time to approve need the pull request history."},{"id":"02.38","kind":"H","where":"The issue tracker: backlog, sprint history, estimate accuracy","question":"Is delivery planned and measured, or heroic?"},{"id":"02.37","kind":"H","where":"Tickets, chat and postmortems","question":"How are incidents run, reviewed and learned from?"}]},{"id":"03","band":"adequate","name":"Organization & Key-Person Risk","coverage":"partial","findings":[{"id":"03.1","band":"adequate","layer":"deterministic","title":"Bus factor 1: recent work is concentrated in one contributor","signal":"contributor_concentration","weight":"corroborating","evidence":[{"ref":"git shortlog -sn","kind":"metric","detail":"last 24 months: top author more than half of 4,445 commits; bus factor 1; 45 authors"}],"observed":{"years":3.9,"window":"last 24 months","authors":50,"top_share":"more than half","bus_factor":1,"authors_in_window":45,"top_share_all_time":"more than half","bus_factor_all_time":1},"dimension":"03","rationale":"In the last 24 months, one contributor authored more than half of 4,445 non-merge commits among 45 authors; across all history, more than half of 5,676. This is the single most expensive thing to discover after closing, and the repository cannot tell you whether that person is part of the transaction."}],"signals_run":10,"conclusive_signals":9,"what_a_person_adds":[{"id":"03.29","kind":"H+","where":"The deal terms","measured":"One contributor authored more than half of the commits in this history.","question":"Is that person part of the transaction, and for how long after it?"},{"id":"03.28","kind":"H","where":"The team; review history only suggests candidates","question":"Who mentors whom, and would that survive a departure?"},{"id":"03.30","kind":"H","where":"Recruiting data and the org chart","question":"Can the team grow, and who stands behind the top three contributors?"},{"id":"03.31","kind":"H","where":"HR data","question":"Is the seniority mix sound, and will pay survive your salary bands?"},{"id":"03.14","kind":"H","where":"Interviews and on-call history","question":"Is the pace sustainable? Commit times cannot say: git keeps no reliable local time."},{"id":"03.32","kind":"H","where":"Interviews","question":"Does the team want to stay after close?"},{"id":"03.33","kind":"H","where":"Time with the team","question":"How are decisions made and disagreements resolved?"}]},{"id":"04","band":"adequate","name":"Product & Engineering Maturity","coverage":"minimal","findings":[{"id":"04.3","band":"adequate","layer":"deterministic","title":"133 direct dependencies in a single manifest","signal":"dependency_sprawl","weight":"corroborating","evidence":[{"ref":"direct-dependencies","kind":"path","path":"apps/erp/package.json","detail":"133 declared"},{"ref":"direct-dependencies","kind":"path","path":"apps/mes/package.json","detail":"88 declared"},{"ref":"direct-dependencies","kind":"path","path":"packages/react/package.json","detail":"88 declared"},{"ref":"direct-dependencies","kind":"path","path":"apps/starter/package.json","detail":"40 declared"}],"observed":{"set_aside":{"ci/package.json":"not product code (ci)","docs/package.json":"not product code (docs)","docs/content/package.json":"not product code (docs)","scripts/pr-complexity/package.json":"not product code (tooling)","contrib/building/examples/upload-3d-model/package.json":"not product code (example)","contrib/building/examples/quote-configurator/package.json":"not product code (example)"},"by_manifest":{"package.json":12,"apps/erp/package.json":133,"apps/mes/package.json":88,"packages/ee/package.json":39,"packages/kv/package.json":6,"apps/academy/package.json":35,"apps/starter/package.json":40,"packages/api/package.json":10,"packages/dev/package.json":10,"packages/env/package.json":3,"packages/lib/package.json":19,"packages/auth/package.json":13,"packages/form/package.json":14,"packages/jobs/package.json":37,"packages/files/package.json":14,"packages/query/package.json":7,"packages/react/package.json":88,"packages/serve/package.json":7,"packages/utils/package.json":10,"packages/config/package.json":4,"packages/locale/package.json":3,"packages/logger/package.json":10,"packages/stripe/package.json":11,"packages/tiptap/package.json":33,"packages/viewer/package.json":12,"packages/account/package.json":18,"packages/database/package.json":14,"packages/planning/package.json":7,"packages/printing/package.json":5,"packages/documents/package.json":16,"packages/onboarding/package.json":12,"packages/workflows-core/package.json":1}},"dimension":"04","rationale":"apps/erp/package.json declares 133 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits."},{"id":"04.19","band":"adequate","layer":"deterministic","title":"13% of bug fixes add or change a test","signal":"fixes_with_tests","weight":"corroborating","evidence":[{"ref":"fix commits touching tests","kind":"metric","detail":"217 of 1685"}],"observed":{"fixes":1685,"share":0.129,"with_tests":217},"dimension":"04","rationale":"Of 1685 fixes in the last 24 months, 217 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong."}],"signals_run":19,"conclusive_signals":11,"what_a_person_adds":[{"id":"04.11","kind":"H+","where":"The team","measured":"2,806 commits landed in the last year, against 1,631 the year before (+72%).","question":"What drove it: new people, a deadline, or code produced faster than before?"},{"id":"04.32","kind":"H","where":"The data room and the team's record of estimates","question":"Can this team deliver the stated roadmap on the stated timeline?"},{"id":"04.31","kind":"H","where":"Budget and roadmap decisions","question":"Does leadership know about the debt, and is time budgeted to repay it?"},{"id":"04.33","kind":"H","where":"Revenue, customer and churn data","question":"Is the engineering shape consistent with the commercial story?"}]},{"id":"05","band":"adequate","name":"Security & Reliability Posture","coverage":"partial","findings":[{"id":"05.1","band":"adequate","layer":"deterministic","title":"2 credential-shaped strings in the tree sit in tests, examples, documentation or local development settings","signal":"committed_secrets","weight":"corroborating","evidence":[{"kind":"metric","ref":"JWT","detail":"2 cited: JWT, where fakes are usual"}],"observed":{"sample_matches":2,"inert_tokens_set_aside":0},"dimension":"05","rationale":"Strings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.","locations_withheld":2},{"id":"05.6","band":"adequate","layer":"deterministic","title":"3 Dockerfiles run the application as root","signal":"container_runs_as_root","weight":"corroborating","evidence":[{"ref":"no-USER-instruction","kind":"path","path":".oss-scanner/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"packages/database/supabase/edge-runtime/Dockerfile","detail":"runs as root"}],"observed":{"rootful":3,"dockerfiles":4},"dimension":"05","rationale":"No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically."},{"id":"05.27","band":"adequate","layer":"deterministic","title":"The build runs third-party code it does not pin","signal":"supply_chain_pinning","weight":"corroborating","context":true,"evidence":[{"ref":".github/workflows/build-images.yml","kind":"path","path":".github/workflows/build-images.yml","detail":"action pinned by tag","line_end":54,"line_start":54},{"ref":".github/workflows/build-images.yml","kind":"path","path":".github/workflows/build-images.yml","detail":"action pinned by tag","line_end":65,"line_start":65},{"ref":".github/workflows/deploy.yml","kind":"path","path":".github/workflows/deploy.yml","detail":"download piped into a shell","line_end":67,"line_start":67}],"observed":{"action_refs":69,"pipe_to_shell":2,"unpinned_third_party":8},"dimension":"05","rationale":"8 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day; 2 steps pipe a download straight into a shell. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."},{"id":"05.20","band":"adequate","layer":"deterministic","title":"12 SQL statements built from strings","signal":"sql_from_strings","weight":"corroborating","context":true,"evidence":[{"ref":"packages/database/src/datasets/bootstrap.ts","kind":"path","path":"packages/database/src/datasets/bootstrap.ts","detail":"SQL built from a string","line_end":354,"line_start":354},{"ref":"packages/database/src/datasets/tiers/08-change-orders.ts","kind":"path","path":"packages/database/src/datasets/tiers/08-change-orders.ts","detail":"SQL built from a string","line_end":206,"line_start":206},{"ref":"packages/database/src/seed-printing.ts","kind":"path","path":"packages/database/src/seed-printing.ts","detail":"SQL built from a string","line_end":468,"line_start":468}],"observed":{"files":6,"sites":12,"value_interpolated":3},"dimension":"05","rationale":"12 places in product code build SQL by formatting or joining strings rather than passing parameters. 3 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"05.26","band":"adequate","layer":"deterministic","title":"27 locked dependencies have published vulnerabilities, 4 high or critical in what ships","signal":"known_vulnerabilities","weight":"corroborating","evidence":[{"ref":"pnpm-lock.yaml","kind":"path","path":"pnpm-lock.yaml","detail":"zod 3.25.76: GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6"},{"ref":"pnpm-lock.yaml","kind":"path","path":"pnpm-lock.yaml","detail":"zod 4.1.11: GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6"},{"ref":"pnpm-lock.yaml","kind":"path","path":"pnpm-lock.yaml","detail":"zod 4.5.4: GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6"}],"observed":{"advisories":39,"dependencies":2919,"high_or_critical":5,"pinned_to_a_commit":0,"ecosystems_not_read":[],"vulnerable_packages":27,"set_aside_not_imported":0,"high_or_critical_shipping":4,"high_or_critical_not_shipped":{"dev":1}},"unproven":true,"dimension":"05","rationale":"27 of 2,919 locked dependencies match 39 published advisories in OSV, 5 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user."},{"id":"05.48","band":"adequate","layer":"deterministic","title":"42 places insert HTML from a variable without sanitising it","signal":"unsafe_html","weight":"corroborating","context":true,"evidence":[{"ref":"apps/academy/app/root.tsx","kind":"path","path":"apps/academy/app/root.tsx","detail":"HTML from a variable","line_end":207,"line_start":207},{"ref":"apps/erp/app/components/ActionTasks/ActionTaskCard.tsx","kind":"path","path":"apps/erp/app/components/ActionTasks/ActionTaskCard.tsx","detail":"HTML from a variable","line_end":142,"line_start":142},{"ref":"apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeContent.tsx","kind":"path","path":"apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeContent.tsx","detail":"HTML from a variable","line_end":76,"line_start":76}],"observed":{"sites":42},"dimension":"05","rationale":"42 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"05.8","band":"adequate","layer":"deterministic","title":"Manifest says MIT, licence file says AGPL-3.0","signal":"license_manifest_conflict","weight":"corroborating","evidence":[{"ref":"Cargo.toml","kind":"path","path":"Cargo.toml","detail":"declares MIT","line_end":8,"line_start":8},{"ref":"LICENSE","kind":"path","path":"LICENSE","detail":"text of AGPL-3.0"}],"observed":{"file":"AGPL-3.0","manifest":"MIT"},"unproven":true,"dimension":"05","rationale":"Cargo.toml declares MIT. LICENSE contains the text of AGPL-3.0. Package managers and downstream users read the first; auditors and acquirers read the second. One of them is wrong, and until it is settled the terms this code is offered under are genuinely ambiguous."},{"id":"05.61","band":"adequate","layer":"deterministic","title":"Part of the code is under a separate licence: packages/ee/","signal":"paid_edition","weight":"corroborating","evidence":[{"ref":"packages/ee/LICENSE","kind":"path","path":"packages/ee/LICENSE","detail":"licence: AGPL-3.0"}],"observed":{"directories":1},"dimension":"05","rationale":"A directory named for a paid edition carries its own licence. That code is usually not open source even where the rest is; what the buyer may do with each part differs."}],"signals_run":34,"conclusive_signals":26,"what_a_person_adds":[{"id":"05.38","kind":"H+","where":"The provider's console and audit log","measured":"05.5 found credential-shaped strings in this repository.","question":"Was each one revoked at the provider? Deleting it from the code revokes nothing; only the provider's audit log shows that it was."},{"id":"05.43","kind":"H+","where":"The security owner","measured":"A threat model is in the tree (.oss-scanner/threat_model.md).","question":"Does it name the assets this code actually handles, and is it current against the deployment?"},{"id":"05.41","kind":"H","where":"Ticketing and chat","question":"What has actually broken, how often, and how badly?"},{"id":"05.42","kind":"H","where":"Reports in the data room","question":"What did external testing find, and was it fixed?"},{"id":"05.44","kind":"H","where":"Audit reports; policy files in the tree are not evidence","question":"What is the SOC 2, ISO 27001 or GDPR status, and where is the evidence?"}]},{"id":"06","band":"adequate","name":"Observability & Operations","coverage":"partial","findings":[{"id":"06.2","band":"adequate","layer":"deterministic","title":"No structured logging library is in use","signal":"structured_logging","weight":"corroborating","evidence":[{"ref":"logging-scan","kind":"metric","detail":"searched 9,507 files for 10 structured logging libraries; 0 matched"}],"observed":{},"dimension":"06","rationale":"Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find."},{"id":"06.9","band":"adequate","layer":"deterministic","title":"No error reporter is wired in","signal":"error_reporting","weight":"corroborating","context":true,"evidence":[{"ref":"error reporting","kind":"metric","detail":"no error reporter initialised"}],"observed":{"installed":[],"initialised":0,"config_files":0},"dimension":"06","rationale":"Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."}],"signals_run":16,"conclusive_signals":11,"what_a_person_adds":[{"id":"06.19","kind":"H+","where":"The operations team","measured":"Backup or restore tooling is in the tree (packages/database/supabase/migrations/20260204065851_restore_default_cc_views.sql).","question":"Has a restore ever been rehearsed, and how long did it take?"},{"id":"06.10","kind":"H+","where":"The alerting tool and the on-call rota","measured":"No alert rule is defined in the repository.","question":"Where are alerts defined, who receives them, and when did one last fire?"},{"id":"06.29","kind":"H","where":"Pager history and dashboard logs","question":"Are the dashboards opened, the alerts acknowledged and the pages answered?"},{"id":"06.30","kind":"H","where":"Production metrics","question":"Are the service-level objectives actually met?"},{"id":"06.31","kind":"H","where":"Pager exports and interviews","question":"Who carries the pager, and how often does it go off?"},{"id":"06.32","kind":"H","where":"Cloud billing and capacity plans","question":"What does it cost to run, and how much headroom is there?"}]},{"id":"07","band":"not assessable","name":"Fit with the Acquirer","coverage":"none","findings":[],"signals_run":0,"conclusive_signals":0,"what_a_person_adds":[{"id":"07.1","kind":"H+","question":"This is primarily a TypeScript codebase. Does your engineering organisation already run TypeScript in production, or would this be the first?"},{"id":"07.10","kind":"H+","question":"The bulk of this system sits in packages/, apps/, crates/. Which of your existing systems would each of those have to absorb or replace?"},{"id":"07.9","kind":"H+","question":"34% of lines added in the last 12 months (16% of added lines) came through AI-declared commits. Does your organisation have a policy on inheriting and maintaining that code, and does your engineering team's tooling match how it was produced?"},{"id":"07.2","kind":"H+","question":"The repository carries deployment configuration (.oss-scanner/Dockerfile and 7 more). Does that match your deployment and on-call model, or does it need rehosting first?"},{"id":null,"kind":"H+","question":"What is your tolerance for the findings above remaining unaddressed for the first two quarters after close, given everything else that will compete for this team's time?"},{"id":"07.11","kind":"H","where":"Your architecture","question":"Which of these systems duplicate yours, and which get retired?"},{"id":"07.12","kind":"H","where":"The engagement","question":"What will integration cost, and in what order?"},{"id":"07.13","kind":"H","where":"Your org design","question":"Where does the team land in your organisation, and who reports to whom?"},{"id":"07.14","kind":"H","where":"Deal terms","question":"Are there earn-outs, retention packages or contractor IP to assign?"},{"id":"07.15","kind":"H","where":"Customer contracts","question":"Do customer contracts limit hosting, regions or vendors?"}],"not_assessable_reason":"structurally not assessable from a repository"}],"repository":{"loc":2055286,"head":"038bfc918caa387fcbe5c5b776811420e5e0a714","slug":"crbnos/carbon","tags":0,"stars":2756,"shallow":false,"span_days":1417.6,"last_commit":"2026-10-23T19:03:26+00:00","surveyed_at":"2026-10-23T19:36:28.024857+00:00","commits_read":6170,"first_commit":"2022-12-06T03:34:06+00:00","truncated_at":null,"window_start":"2022-12-06T03:34:06+00:00","tracked_files":10090,"history_complete":true},"generated_at":"2026-10-23T19:43:29.671965+00:00","generated_by":"borehole 0.7.15","rejection_log":[{"reason":"change is spread across the codebase rather than pooling in a few files","signal":"hotspot_concentration","observed":{"files":22585,"top5_share":0.03},"dimension":"04","conclusive":true},{"reason":"debt markers are sparse","signal":"debt_markers","observed":{"markers":237,"per_kloc":0.12,"lines_read":2046060},"dimension":"04","conclusive":true},{"reason":"tests are kept inside the files they test, which a count by file name cannot see","signal":"test_growth","observed":{"files_with_inline_tests":26},"dimension":"04","conclusive":false},{"reason":"rework is not rising against new work","signal":"churn_trend","observed":{"late_delete_per_insert":0.715,"early_delete_per_insert":0.689,"single_commit_deletions_set_aside":[]},"dimension":"04","conclusive":true},{"reason":"every pinned runtime is still supported","signal":"eol_runtime","observed":{"pinned":["node 24"],"eol_as_of":"2026-09-24"},"dimension":"04","conclusive":true},{"reason":"fixing is not crowding out building","signal":"fix_share_trend","observed":{"fix_share_by_quarter_newest_first":[0.53,0.41,0.38,0.33,0.29,0.25,0.33,0.27]},"dimension":"04","conclusive":true},{"reason":"columns, once added, stay","signal":"schema_churn","observed":{"dropped_within_90_days":43,"columns_added_last_year":561},"dimension":"04","conclusive":true},{"reason":"little code is kept for the old way","signal":"compat_layers","observed":{"share":0.001,"code_files":7104,"compat_files":7,"oldest_months":3},"dimension":"04","conclusive":true},{"reason":"one library per job, mostly","signal":"dependency_redundancy","observed":{"jobs_doubled":{}},"dimension":"04","conclusive":true},{"reason":"a telemetry or error-reporting library is referenced","signal":"telemetry_presence","observed":{"note":"presence only; whether anyone watches it is not visible here","sample":[".env.example: ","apps/assembler/Cargo.toml: opentelemetry","apps/assembler/src/telemetry.rs: OpenTelemetry"],"matches":53},"dimension":"06","conclusive":true},{"reason":"a health or readiness check is defined","signal":"healthcheck_presence","observed":{"sample":[".ai/runs/1081/outcome.json: /health",".env.example: ","apps/academy/app/utils/path.ts: /health"]},"dimension":"06","conclusive":true},{"reason":"the service is visible in more than one way","signal":"telemetry_depth","observed":{"kinds":["metrics","traces"]},"dimension":"06","conclusive":true},{"reason":"a frontend: console output is the browser's, not the server's","signal":"print_logging","observed":{},"dimension":"06","conclusive":false},{"reason":"a request can be followed through the logs","signal":"correlation_ids","observed":{"tracing":true,"request_id_sites":42},"dimension":"06","conclusive":true},{"reason":"the product's code names no reporting host","signal":"usage_reporting_default","observed":{"settings_on":0,"settings_off":0,"reporting_hosts":[]},"dimension":"06","conclusive":true},{"reason":"no alert rules in the repository; they may live in a console","signal":"alert_rules","observed":{"alert_files":0},"dimension":"06","conclusive":false},{"reason":"every deployed image names a version","signal":"deployed_image_floats","observed":{"images":15,"floating":0},"dimension":"06","conclusive":true},{"reason":"no Kubernetes probes","signal":"probes_identical","observed":{},"dimension":"06","conclusive":false},{"reason":"no Kubernetes deployments","signal":"single_replica","observed":{},"dimension":"06","conclusive":false},{"reason":"environment differences live in configuration","signal":"environment_branching","observed":{"sites":9},"dimension":"06","conclusive":true},{"reason":"releases are marked","signal":"release_markers","observed":{"tags_last_year":0,"release_commits":0,"changelog_commits":11,"commits_last_year":2811},"dimension":"06","conclusive":true},{"reason":"migrations do not run at container start","signal":"migrate_on_start","observed":{},"dimension":"06","conclusive":true},{"reason":"no feature-flag service; flags may live elsewhere","signal":"feature_flags","observed":{"sdk_files":0,"evaluation_sites":0},"dimension":"06","conclusive":false},{"reason":"more than one contributor active in the trailing year","signal":"active_contributors","observed":{"all_time":50,"active_12mo":41},"dimension":"03","conclusive":true},{"reason":"every substantial directory has been touched by more than one person","signal":"knowledge_silos","observed":{"authors":50,"directories":7},"dimension":"03","conclusive":true},{"reason":"a healthy share of contributors committed more than once","signal":"drive_by_contributors","observed":{"share":0.38,"authors":50,"one_commit_authors":19},"dimension":"03","conclusive":true},{"reason":"the dominant contributor is still active","signal":"contributor_attrition","observed":{"authors":50,"top_share":"more than half","top_contributor_last_committed":"within the last three months"},"dimension":"03","conclusive":true},{"reason":"more than one person changes the critical paths","signal":"critical_path_ownership","observed":{"authors":45,"sole_owned_areas":[]},"dimension":"03","conclusive":true},{"reason":"the second and third contributors are still active","signal":"second_contributor_attrition","observed":{"gone":[]},"dimension":"03","conclusive":true},{"reason":"the team has not narrowed to one person","signal":"bus_factor_trend","observed":{"by_year_newest_first":[2,1,1,1]},"dimension":"03","conclusive":true},{"reason":"too few regular contributors to see a trend","signal":"joiners_and_leavers","observed":{"left":1,"joined":20,"regular_last_year":21,"regular_prior_year":2},"dimension":"03","conclusive":false},{"reason":"a meaningful share of recent change carries evidence of review","signal":"merge_discipline","observed":{"merges":414,"window":"last 24 months","with_tracked":19,"with_reviewed":0,"reviewed_share":0.296,"commits_in_window":4878,"squashed_with_pr_ref":812,"with_signed_off_other":1,"reviewed_share_all_time":0.271,"with_committed_by_other":1246},"dimension":"02","conclusive":true},{"reason":"CI configuration is present in the working tree","signal":"ci_presence","observed":{"count":10,"configs":[".github/workflows/agent-labels.yml",".github/workflows/build-images.yml",".github/workflows/check.yml",".github/workflows/deploy.yml",".github/workflows/functions.yml"]},"dimension":"02","conclusive":true},{"reason":"tests are present in a normal proportion to source","signal":"test_presence","observed":{"tests":996,"source":8071,"test_ratio":0.123},"dimension":"02","conclusive":true},{"reason":"commit subjects generally carry content","signal":"conventional_commits","observed":{"sampled":5695,"low_content_share":0.01},"dimension":"02","conclusive":true},{"reason":"process scaffolding is present in the repository","signal":"branch_protection_hints","observed":{"present":["CI workflows","contribution guidance"]},"dimension":"02","conclusive":true},{"reason":"CI invokes a test runner","signal":"ci_runs_tests","observed":{"sample":[".github/workflows/check.yml"],"configs":10,"with_tests":1},"dimension":"02","conclusive":true},{"reason":"few tests are switched off","signal":"skipped_tests","observed":{"focused":0,"skipped":6,"test_files":1149,"files_with_skips":1},"dimension":"02","conclusive":true},{"reason":"no test run in CI is written so that it cannot fail","signal":"ci_test_gating","observed":{"configs":10},"dimension":"02","conclusive":true},{"reason":"change is rarely undone","signal":"revert_share","observed":{"share":0.003,"reverts":12,"recent_commits":4445},"dimension":"02","conclusive":true},{"reason":"dependencies move with the code","signal":"dependency_update_cadence","observed":{"lockfiles":3,"commits_since":12,"days_since_lockfile_changed":0},"dimension":"02","conclusive":true},{"reason":"a linter or formatter runs in the build","signal":"lint_in_build","observed":{"wired":39,"ci_configs":10,"product_files":7104},"dimension":"02","conclusive":true},{"reason":"the typical branch reaches the trunk quickly","signal":"long_lived_branches","observed":{"share":0.019,"merges":215,"long_lived":4,"median_days":0},"dimension":"02","conclusive":true},{"reason":"the largest burst was data and assets (64% of it), which explains the rate: translations arrive from a vendor in bulk, dependencies and generated code are committed whole, a merged pull request is dated when it merged, not when it was written, a branch merged by a merge commit was reviewed as one piece, and an export or mirror tool dates history when it replays it","signal":"burst_import","observed":{"kinds":["data and assets"],"largest_commits":"8eef0ef..a34042e","bursts_explained":1,"largest_net_added":10248},"dimension":"01","conclusive":true},{"reason":"first commit is not a disproportionate share of the codebase","signal":"initial_dump","observed":{"insertions":22954,"share_of_insertions":0.0023},"dimension":"01","conclusive":true},{"reason":"commit subjects vary in wording and length","signal":"message_uniformity","observed":{"length_stdev":27.11,"repeat_share":0.053},"dimension":"01","conclusive":true},{"reason":"most files were revisited after they were first written","signal":"revision_depth","observed":{"files_seen":8189,"write_once_share":0.288},"dimension":"01","conclusive":true},{"reason":"errors are rarely thrown away","signal":"swallowed_errors","observed":{"loc":2055286,"files":10,"per_kloc":0.01,"swallowed":14},"dimension":"01","conclusive":true},{"reason":"every base image names a version","signal":"build_reproducibility","observed":{"floating":0,"from_lines":20},"dimension":"01","conclusive":true},{"reason":"no language migration is stalled halfway","signal":"unfinished_migration","observed":{},"dimension":"01","conclusive":true},{"reason":"not a data or machine-learning repository","signal":"notebook_outputs","observed":{},"dimension":"01","conclusive":false},{"reason":"no model weights are committed","signal":"weights_in_git","observed":{"files":0},"dimension":"01","conclusive":true},{"reason":"at least one standard guard rail is configured","signal":"security_guardrails","observed":{"present":[".github/SECURITY.md",".github/dependabot.yml"]},"dimension":"05","conclusive":true},{"reason":"a lockfile is committed, so builds are reproducible","signal":"dependency_pinning","observed":{"lockfile":true},"dimension":"05","conclusive":true},{"reason":"a licence file is present","signal":"license_present","observed":{"found":true},"dimension":"05","conclusive":true},{"reason":"no environment file is committed outside tests and examples","signal":"secrets_management_pattern","observed":{"env_files":0},"dimension":"05","conclusive":true},{"reason":"not assessed for TSX or TypeScript, the languages the product is written in: this check's patterns read other languages only","signal":"outbound_timeouts","observed":{"languages_not_read":["TSX","TypeScript"],"calls_without_timeout":0},"dimension":"05","conclusive":false},{"reason":"too few migrations to judge","signal":"migration_reversibility","observed":{"migrations":0},"dimension":"05","conclusive":false},{"reason":"product code does not build shell commands from strings","signal":"shell_from_strings","observed":{"sites":0},"dimension":"05","conclusive":true},{"reason":"no code-executing deserialiser in product code","signal":"unsafe_deserialization","observed":{"sites":0},"dimension":"05","conclusive":true},{"reason":"no Kubernetes workload manifests","signal":"resource_limits","observed":{"workloads":0},"dimension":"05","conclusive":false},{"reason":"no workload runs privileged or in the host's namespaces","signal":"privileged_workloads","observed":{"sites":0,"behind_a_setting_or_built_here":0},"dimension":"05","conclusive":true},{"reason":"only publishable values carry a public prefix","signal":"public_env_secret","observed":{"names":0,"sites":0,"not_secrets":0},"dimension":"05","conclusive":true},{"reason":"production builds do not publish source maps","signal":"source_maps_shipped","observed":{"sites":0},"dimension":"05","conclusive":true},{"reason":"no signing keystore or profile is committed","signal":"signing_material","observed":{"files":0},"dimension":"05","conclusive":true},{"reason":"not a mobile app","signal":"cleartext_traffic","observed":{},"dimension":"05","conclusive":false},{"reason":"not a data or machine-learning repository","signal":"dataset_provenance","observed":{},"dimension":"05","conclusive":false},{"reason":"the project is itself AGPL-3.0, so copyleft components carry no obligation it has not already accepted","signal":"license_copyleft_inherited","observed":{"own_license":"AGPL-3.0","copyleft_components":1},"dimension":"05","conclusive":true},{"reason":"no vendored third-party code is committed","signal":"license_vendored_unlicensed","observed":{"components":0},"dimension":"05","conclusive":true},{"reason":"the licence is recognisable as AGPL-3.0","signal":"license_grant_unclear","observed":{"class":"network-copyleft","license":"AGPL-3.0"},"dimension":"05","conclusive":true},{"reason":"no widely used compiled library is committed to the product","signal":"committed_native_libraries","observed":{"libraries":0,"recognised":[]},"dimension":"05","conclusive":true},{"reason":"the history scanned covers 6 months, less than the 12 this question needs","signal":"flags_accumulating","observed":{"months_scanned":6},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 6 months, less than the 18 this question needs","signal":"api_versions_coexisting","observed":{"months_scanned":6},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 6 months, less than the 24 this question needs","signal":"deprecations_lingering","observed":{"months_scanned":6},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 6 months, less than the 24 this question needs","signal":"dependency_churn","observed":{"months_scanned":6},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 6 months, less than the 24 this question needs","signal":"ci_platforms_dropped","observed":{"months_scanned":6},"dimension":"04","conclusive":false},{"reason":"the README's first screen states no end, move or freeze","signal":"repository_status","observed":{"statements":0},"dimension":"04","conclusive":true},{"reason":"nothing says development happens elsewhere","signal":"development_elsewhere","observed":{"no_pr_statements":0,"mirror_statements":0,"replayed_commit_share":0.0},"dimension":"02","conclusive":true},{"reason":"the root licence has not changed in the history read","signal":"licence_changes","observed":{"licence_versions":1,"unreleased_changes":0},"dimension":"05","conclusive":true},{"reason":"too few tagged releases to judge a cadence","signal":"releases_stopped","observed":{"tags":0},"dimension":"04","conclusive":false},{"reason":"too few release tags to tell","signal":"release_branch","observed":{"tags":0},"dimension":"04","conclusive":false},{"reason":"no file says one person maintains it","signal":"single_maintainer","observed":{"statements":0},"dimension":"03","conclusive":true},{"reason":"record incomplete: no advisory found in the sources that answered; NVD: 32 records name carbon with nothing tying them to this repository (CVE-2004-1624, CVE-2008-1895, CVE-2008-1896, …)","signal":"project_advisories","observed":{"sources":["OSV by commit","OSV crates.io assembler (declared here)","OSV crates.io collision (declared here)","OSV crates.io converter (declared here)","OSV crates.io draco-bridge (declared here)","OSV crates.io occt-bridge (declared here)","OSV crates.io optimize (declared here)","OSV crates.io planner (declared here)","OSV crates.io thumbnail (declared here)","GitHub repository advisories","NVD"],"affecting":0,"exploited":0,"advisories":0,"version_from":"the root manifest; no release is tagged","fix_unreleased":0,"sources_failed":[],"version_unknown":0,"high_or_critical":0,"surveyed_version":"0.1.0","record_incomplete":["NVD: 32 records name carbon with nothing tying them to this repository (CVE-2004-1624, CVE-2008-1895, CVE-2008-1896, …)"],"affecting_newest_release":0},"dimension":"05","conclusive":false},{"reason":"record incomplete: no advisory against the project in the last 24 months; NVD: 32 records name carbon with nothing tying them to this repository (CVE-2004-1624, CVE-2008-1895, CVE-2008-1896, …)","signal":"advisory_record","observed":{"newest":null,"critical":0,"affecting":0,"could_not_tell":0,"last_24_months":0,"sources_failed":[],"high_or_critical":0,"record_incomplete":["NVD: 32 records name carbon with nothing tying them to this repository (CVE-2004-1624, CVE-2008-1895, CVE-2008-1896, …)"]},"dimension":"05","conclusive":false},{"reason":"no affecting advisory is on CISA's Known Exploited list","signal":"project_exploited","observed":{"exploited":0},"dimension":"05","conclusive":false}],"schema_version":"1","repository_says":[{"line":null,"path":"packages/ee/LICENSE","text":"Part of the code is under a separate licence: packages/ee/","finding":"05.61"}],"surveyed_commit":null,"provenance_disclosure":{"agents":["Claude","CodeRabbit"],"recent":{"since":"2025-10-23","until":"2026-10-23","window":"the last 12 months","measures":"share of lines added in the last 12 months to 2026-10-23 by commits declaring an AI agent as co-author: the same floor as the all-time share, over a shorter window","confidence":"low","ai_line_share":0.3357,"total_commits":2825,"ai_commit_share":0.1823,"confidence_basis":["21% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","no widespread author/committer date divergence","the declared share is neither decisive nor negligible, so the true figure is more sensitive to undeclared work"],"declared_commits":515,"total_lines_added":3999308,"declared_lines_added":1342574},"window":null,"excluded":"lockfiles, vendored and generated paths are excluded from both measurements so that code nobody wrote cannot move the share","measures":"share of lines added by commits declaring an AI agent as co-author, as a proportion of all lines ever added","confidence":"low","measurable":true,"ai_line_share":0.1582,"total_commits":5695,"affects_rating":false,"excluded_lines":1317012,"ai_commit_share":0.0904,"confidence_basis":["11% of non-merge commits carry any trailer at all","low trailer coverage: the convention may not be in consistent use","no widespread author/committer date divergence","the declared share is neither decisive nor negligible, so the true figure is more sensitive to undeclared work"],"declared_commits":515,"total_lines_added":8483947,"surviving_ai_lines":null,"surviving_measures":"share of lines still present in the working tree that originate in an AI-declared commit; null unless the scan was run with --deep","commit_share_by_year":{"2022":0.0,"2023":0.0,"2024":0.0,"2025":0.0006,"2026":0.2062},"declared_agent_names":["Claude","Claude Fable 5","Claude Fable 5.1","Claude Haiku 4.5","Claude Opus 4.5","Claude Opus 4.6","Claude Opus 4.6 (1M context)","Claude Opus 4.7 (1M context)","Claude Opus 4.8","Claude Opus 4.8 (1M context)","Claude Opus 5","Claude Opus 5 (1M context)","Claude Opus 5.5","Claude Opus 5.5 (1M context)","Claude Sonnet 4.6","coderabbitai[bot]"],"declared_lines_added":1342574,"surviving_line_share":null,"floor_not_measurement":"This is a lower bound. It counts what the repository declares. Undeclared AI authorship is invisible here, and a single rebase removes the trailers this rests on. Absence of a declaration is absence of disclosure, not absence of AI authorship.","surviving_total_lines":null},"reliance":"An automated reading of a repository's code and its history up to one commit, with public advisory records. It may be wrong, it is not legal, financial, investment or security advice, and it does not replace diligence by a qualified person. It is provided for information: nobody may rely on it (Borehole's terms, section 3).","published_under_todays_rules":["4 findings from checks Borehole's calibration found wrong more often than right are no longer published.","The file and line of 2 credential-shaped matches are withheld. File and line are shown to whoever GitHub says controls this repository, signed in, and to a buyer of this report."]}