{"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":"pkg/logql/syntax/ast.go is 2,919 lines, 20× this codebase's median file","signal":"oversized_modules","weight":"corroborating","context":true,"evidence":[{"ref":"line-count","kind":"path","path":"pkg/logql/syntax/ast.go","detail":"2,919 lines (20× median)","line_end":2919,"line_start":1},{"ref":"line-count","kind":"path","path":"pkg/loki/modules.go","detail":"2,621 lines (18× median)","line_end":2621,"line_start":1},{"ref":"line-count","kind":"path","path":"pkg/querier/queryrange/codec.go","detail":"2,582 lines (18× median)","line_end":2582,"line_start":1},{"ref":"line-count","kind":"path","path":"pkg/storage/stores/shipper/indexshipper/tsdb/index/index.go","detail":"2,524 lines (17× median)","line_end":2524,"line_start":1},{"ref":"line-count","kind":"path","path":"pkg/distributor/distributor.go","detail":"2,015 lines (14× median)","line_end":2015,"line_start":1}],"observed":{"largest":2919,"library":{"n":382,"share":20,"value":20.6,"cutoff":138.63,"material":false,"percentile":85},"threshold":1420,"files_over":11,"median_lines":142},"dimension":"01","rationale":"The median source file here is 142 lines. 11 files exceed 1,420 lines, the largest being 2,919. 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: measured against its own codebase's median, it is below the 85th percentile of 382 surveyed projects' largest files, where this check begins to count."}],"signals_run":11,"conclusive_signals":10,"what_a_person_adds":[{"id":"01.38","kind":"H+","where":"The team","measured":"The tree carries design documentation (docs/sources/get-started/architecture.md and 6 more).","question":"Does it match what the team believes today? Ask them to walk through it against the code."},{"id":"01.35","kind":"H+","where":"The team and the submodule owners","measured":"The repository pulls code in through git submodules (.gitmodules).","question":"A buyer receives pointers, not that code. Can every submodule be fetched without the team's credentials, and who owns each one?"},{"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":"strong","name":"Engineering Process & SDLC Maturity","coverage":"high","findings":[],"signals_run":16,"conclusive_signals":15,"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":"strong","name":"Organization & Key-Person Risk","coverage":"partial","findings":[],"signals_run":10,"conclusive_signals":10,"what_a_person_adds":[{"id":"03.29","kind":"H+","where":"The deal terms","measured":"1,303 people have committed here.","question":"Which of them are you acquiring, and which are you replacing?"},{"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":"135 direct dependencies in a single manifest","signal":"dependency_sprawl","weight":"corroborating","evidence":[{"ref":"direct-dependencies","kind":"path","path":"go.mod","detail":"135 declared"},{"ref":"direct-dependencies","kind":"path","path":"operator/go.mod","detail":"24 declared"},{"ref":"direct-dependencies","kind":"path","path":"operator/api/loki/go.mod","detail":"5 declared"},{"ref":"direct-dependencies","kind":"path","path":"pkg/push/go.mod","detail":"3 declared"}],"observed":{"set_aside":{},"by_manifest":{"go.mod":135,"operator/go.mod":24,"pkg/push/go.mod":3,"operator/.bingo/go.mod":0,"operator/api/loki/go.mod":5}},"dimension":"04","rationale":"go.mod declares 135 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.60","band":"adequate","layer":"deterministic","title":"The repository says it is feature-complete, in maintenance mode, or needs maintainers","signal":"repository_status","weight":"corroborating","evidence":[{"ref":"README.md","kind":"path","path":"README.md","detail":"…n the stack, because Promtail is considered to be feature complete, and future development for logs collection will be ","line_end":27,"verbatim":true,"line_start":27}],"observed":{"stopped":0,"statements":1},"dimension":"04","rationale":"Its own README says so on line 27: \"…n the stack, because Promtail is considered to be feature complete, and future development for logs collection will be \". New features are not planned, or the project is asking for maintainers. Ask who will carry it forward."},{"id":"04.62","band":"adequate","layer":"deterministic","title":"Releases are cut from another branch than the one surveyed","signal":"release_branch","weight":"corroborating","context":true,"evidence":[{"ref":"d3b4a2f76","kind":"commit","detail":"tag v3.7.9"}],"observed":{"elsewhere":111,"on_branch":17,"tags_in_window":128,"direction_known":true,"later_on_branch":0},"dimension":"04","rationale":"The newest release, v3.7.9, is not on the branch this survey read; the newest release on it is v2.1.0. The shipped product may differ from what this report describes. Survey the release branch too.","context_why":"A note that does not affect this rating: notes like it are common in well-run projects."}],"signals_run":19,"conclusive_signals":12,"what_a_person_adds":[{"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.6","band":"adequate","layer":"deterministic","title":"8 Dockerfiles run the application as root","signal":"container_runs_as_root","weight":"corroborating","evidence":[{"ref":"no-USER-instruction","kind":"path","path":"clients/cmd/docker-driver/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"clients/cmd/fluent-bit/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"cmd/logcli/Dockerfile","detail":"runs as root"},{"ref":"no-USER-instruction","kind":"path","path":"cmd/logql-analyzer/Dockerfile","detail":"runs as root"}],"observed":{"rootful":8,"dockerfiles":13},"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/deploy-pr-preview.yml","kind":"path","path":".github/workflows/deploy-pr-preview.yml","detail":"action pinned by tag","line_end":17,"line_start":17},{"ref":".github/workflows/helm-ci.yml","kind":"path","path":".github/workflows/helm-ci.yml","detail":"action pinned by tag","line_end":23,"line_start":23}],"observed":{"action_refs":188,"pipe_to_shell":0,"unpinned_third_party":3},"dimension":"05","rationale":"3 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. 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.13","band":"adequate","layer":"deterministic","title":"4 outbound calls can wait forever","signal":"outbound_timeouts","weight":"corroborating","context":true,"evidence":[{"ref":"pkg/lokifrontend/frontend/v2/frontend.go","kind":"path","path":"pkg/lokifrontend/frontend/v2/frontend.go","detail":"outbound call without a timeout","line_end":248,"line_start":248},{"ref":"pkg/lokifrontend/frontend/v2/frontend.go","kind":"path","path":"pkg/lokifrontend/frontend/v2/frontend.go","detail":"outbound call without a timeout","line_end":324,"line_start":324},{"ref":"pkg/lokifrontend/frontend/v2/frontend.go","kind":"path","path":"pkg/lokifrontend/frontend/v2/frontend.go","detail":"outbound call without a timeout","line_end":368,"line_start":368}],"observed":{"calls_without_timeout":4},"dimension":"05","rationale":"4 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.","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.9","band":"adequate","layer":"deterministic","title":"2 vendored components with no licence","signal":"license_vendored_unlicensed","weight":"corroborating","context":true,"evidence":[{"ref":".github/vendor/workflows","kind":"path","path":".github/vendor/workflows","detail":"1 tracked files, no licence file"},{"ref":"operator/website/node_modules","kind":"path","path":"operator/website/node_modules","detail":"1 tracked files, no licence file"}],"observed":{"unlicensed":[".github/vendor/workflows","operator/website/node_modules"],"total_components":20,"stated_in_headers_or_notices":1},"dimension":"05","rationale":"Third-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.","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.60","band":"adequate","layer":"deterministic","title":"Relicensed: Apache-2.0 → AGPL-3.0 (2021-04-20)","signal":"licence_changes","weight":"corroborating","context":true,"evidence":[{"ref":"059d7d856","kind":"commit","path":"LICENSE","detail":"Apache-2.0 from 2018-12-11"},{"ref":"a9d85de4a","kind":"commit","path":"LICENSE","detail":"AGPL-3.0 from 2021-04-20"}],"observed":{"since":"2021-04-20","latest":"AGPL-3.0","weaker":true,"narrowed_at":"2021-04-20","narrowed_days":2011,"licence_versions":2,"source_available":false,"narrowed_recently":false,"unreleased_changes":0},"dimension":"05","rationale":"The root licence changed 1 time(s). The latest terms restrict what users, hosts or a buyer may do in ways the earlier ones did not. Code taken under the old terms stays under them, so both matter in diligence.","context_why":"A note that does not affect this rating: a licence change is a fact for the first screen, and only a narrowing of rights within two years of the surveyed commit costs \"strong\"."},{"id":"05.65","band":"adequate","layer":"deterministic","title":"4 advisories against this project in the last 24 months, 3 high or critical","signal":"advisory_record","weight":"corroborating","context":true,"evidence":[{"ref":"CVE-2026-9703","kind":"advisory","detail":"2026-10-15: CVE-2026-9703 (high): Grafana's data source proxy did not apply role-based access control to write requests forwarded to Loki data sources. A user holding only the Viewer role on an "},{"ref":"CVE-2026-21729","kind":"advisory","detail":"2026-07-16: CVE-2026-21729 (high): Loki queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy."},{"ref":"CVE-2026-42129","kind":"advisory","detail":"2026-06-22: CVE-2026-42129 (high): A user with Viewer permissions can use a path traversal in the Loki data source plugin to reach administrative Loki endpoints and read sensitive backend configu"},{"ref":"GHSA-497x-rrr9-68jp","kind":"advisory","detail":"2026-04-15: GHSA-497x-rrr9-68jp (moderate), fixed in 3.6.4: Grafana Loki Path Traversal - CVE-2021-36156 Bypass"}],"observed":{"newest":"2026-10-15","critical":0,"affecting":0,"could_not_tell":4,"last_24_months":4,"sources_failed":["OSV RubyGems fluent-plugin-grafana-loki (an empty record for a package published here)","OSV RubyGems logstash-output-loki (an empty record for a package published here)"],"known_exploited":0,"high_or_critical":3,"record_incomplete":["NVD: 1 record names loki with nothing tying it to this repository (CVE-2005-1943)"]},"dimension":"05","rationale":"The newest was published on 2026-10-15. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 4 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 2.1.0. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names loki with nothing tying it to this repository (CVE-2005-1943).","context_why":"A note that does not affect this rating: it describes the project's advisory record, and no advisory in it is known to affect the surveyed commit."}],"signals_run":34,"conclusive_signals":25,"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 (vendor/github.com/go-jose/go-jose/v4/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.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."},{"id":"06.18","band":"adequate","layer":"deterministic","title":"6 of 10 deployed images carry no version, or `latest`","signal":"deployed_image_floats","weight":"corroborating","context":true,"evidence":[{"ref":"operator/bundle/openshift/manifests/loki-operator.clusterserviceversion.yaml","kind":"path","path":"operator/bundle/openshift/manifests/loki-operator.clusterserviceversion.yaml","detail":"image without a version","line_end":2098,"line_start":2098},{"ref":"operator/bundle/openshift/manifests/loki-operator.clusterserviceversion.yaml","kind":"path","path":"operator/bundle/openshift/manifests/loki-operator.clusterserviceversion.yaml","detail":"image without a version","line_end":2100,"line_start":2100},{"ref":"operator/bundle/openshift/manifests/loki-operator.clusterserviceversion.yaml","kind":"path","path":"operator/bundle/openshift/manifests/loki-operator.clusterserviceversion.yaml","detail":"image without a version","line_end":2102,"line_start":2102}],"observed":{"images":10,"floating":6},"dimension":"06","rationale":"6 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."},{"id":"06.14","band":"adequate","layer":"deterministic","title":"Readiness and liveness probes are identical in 1 of 2 workloads","signal":"probes_identical","weight":"corroborating","evidence":[{"ref":"production/helm/loki/values.yaml","kind":"path","path":"production/helm/loki/values.yaml","detail":"same probe endpoint twice"}],"observed":{"identical":1,"workloads_with_both":2},"dimension":"06","rationale":"Both probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve."}],"signals_run":16,"conclusive_signals":15,"what_a_person_adds":[{"id":"06.19","kind":"H+","where":"The operations team","measured":"Nothing in the tree backs up or restores data.","question":"How is data backed up, and has a restore ever been rehearsed?"},{"id":"06.10","kind":"H+","where":"The alerting tool and the on-call rota","measured":"Alert rules are defined in the repository.","question":"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 Go codebase. Does your engineering organisation already run Go in production, or would this be the first?"},{"id":"07.10","kind":"H+","question":"The bulk of this system sits in vendor/, pkg/, operator/. Which of your existing systems would each of those have to absorb or replace?"},{"id":"07.2","kind":"H+","question":"The repository carries deployment configuration (clients/cmd/docker-driver/Dockerfile and 239 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":1196883,"head":"bd029bce96e26a27fddedeaabb1c6fd70d0370cc","slug":"grafana/loki","tags":401,"stars":29048,"shallow":false,"span_days":3112.3,"last_commit":"2026-10-22T20:01:12+00:00","surveyed_at":"2026-10-22T20:11:19.491532+00:00","commits_read":13777,"first_commit":"2018-04-15T13:31:38+00:00","truncated_at":null,"window_start":"2018-04-15T13:31:38+00:00","tracked_files":17362,"history_complete":true},"generated_at":"2026-10-22T20:19:00.487390+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":37669,"top5_share":0.016},"dimension":"04","conclusive":true},{"reason":"debt markers are sparse","signal":"debt_markers","observed":{"markers":569,"per_kloc":0.48,"lines_read":1192545},"dimension":"04","conclusive":true},{"reason":"test effort kept pace with code written","signal":"test_growth","observed":{"late_test_per_code":0.958,"early_test_per_code":0.727},"dimension":"04","conclusive":true},{"reason":"rework is not rising against new work","signal":"churn_trend","observed":{"late_delete_per_insert":0.568,"early_delete_per_insert":0.414,"single_commit_deletions_set_aside":[]},"dimension":"04","conclusive":true},{"reason":"every pinned runtime is still supported","signal":"eol_runtime","observed":{"pinned":["go 1.27","ruby 4.0"],"eol_as_of":"2026-09-24"},"dimension":"04","conclusive":true},{"reason":"fixes usually come with a test","signal":"fixes_with_tests","observed":{"fixes":1018,"share":0.492,"with_tests":501},"dimension":"04","conclusive":true},{"reason":"fixing is not crowding out building","signal":"fix_share_trend","observed":{"fix_share_by_quarter_newest_first":[0.27,0.32,0.3,0.25,0.3,0.27,0.27,0.33]},"dimension":"04","conclusive":true},{"reason":"no schema migrations to read","signal":"schema_churn","observed":{},"dimension":"04","conclusive":false},{"reason":"little code is kept for the old way","signal":"compat_layers","observed":{"share":0.003,"code_files":12693,"compat_files":40,"oldest_months":86},"dimension":"04","conclusive":true},{"reason":"no JavaScript manifest to read","signal":"dependency_redundancy","observed":{},"dimension":"04","conclusive":false},{"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":[".golangci.yml: OpenTelemetry","cmd/loki/main.go: opentelemetry","go.mod: DataDog"],"matches":149},"dimension":"06","conclusive":true},{"reason":"a structured logging library is referenced","signal":"structured_logging","observed":{"sample":["go.mod","operator/go.mod","pkg/distributor/field_detection_test.go"],"matches":13},"dimension":"06","conclusive":true},{"reason":"a health or readiness check is defined","signal":"healthcheck_presence","observed":{"sample":["cmd/loki/health.go: HealthCheck ","examples/getting-started/docker-compose.yaml:     healthcheck:","examples/ha-monolithic/docker-compose.yaml:   healthcheck:"]},"dimension":"06","conclusive":true},{"reason":"the service is visible in more than one way","signal":"telemetry_depth","observed":{"kinds":["metrics","traces","structured logs"]},"dimension":"06","conclusive":true},{"reason":"raw prints are few, or outnumbered by logger calls","signal":"print_logging","observed":{"prints":27,"logger_calls":74},"dimension":"06","conclusive":true},{"reason":"a request can be followed through the logs","signal":"correlation_ids","observed":{"tracing":true,"request_id_sites":27},"dimension":"06","conclusive":true},{"reason":"reporting is off until someone turns it on","signal":"usage_reporting_default","observed":{"settings_on":0,"settings_off":2,"reporting_hosts":["stats.grafana.org"]},"dimension":"06","conclusive":true},{"reason":"alert rules are defined as code","signal":"alert_rules","observed":{"alert_files":21},"dimension":"06","conclusive":true},{"reason":"an autoscaler or disruption budget is defined","signal":"single_replica","observed":{"workloads":45},"dimension":"06","conclusive":true},{"reason":"environment differences live in configuration","signal":"environment_branching","observed":{"sites":0},"dimension":"06","conclusive":true},{"reason":"releases are marked","signal":"release_markers","observed":{"tags_last_year":63,"release_commits":0,"changelog_commits":118,"commits_last_year":1923},"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":"no single contributor dominates the last 24 months","signal":"contributor_concentration","observed":{"years":8.5,"window":"last 24 months","authors":1303,"top_share":"less than a quarter","bus_factor":7,"authors_in_window":358,"top_share_all_time":"less than a quarter","bus_factor_all_time":14},"dimension":"03","conclusive":true},{"reason":"more than one contributor active in the trailing year","signal":"active_contributors","observed":{"all_time":1303,"active_12mo":161},"dimension":"03","conclusive":true},{"reason":"every substantial directory has been touched by more than one person","signal":"knowledge_silos","observed":{"authors":1303,"directories":10},"dimension":"03","conclusive":true},{"reason":"an open contributor base, where one-commit contributors are normal","signal":"drive_by_contributors","observed":{"authors":1303,"one_off_share":0.701},"dimension":"03","conclusive":true},{"reason":"no contributor dominates enough for their absence to matter","signal":"contributor_attrition","observed":{"authors":1303,"top_share":"less than a quarter","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":358,"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":[6,7,9,13]},"dimension":"03","conclusive":true},{"reason":"the team is not shrinking","signal":"joiners_and_leavers","observed":{"left":17,"joined":18,"regular_last_year":40,"regular_prior_year":43},"dimension":"03","conclusive":true},{"reason":"a meaningful share of recent change carries evidence of review","signal":"merge_discipline","observed":{"merges":0,"window":"last 24 months","with_tracked":5,"with_reviewed":0,"reviewed_share":0.999,"commits_in_window":6359,"squashed_with_pr_ref":6355,"with_signed_off_other":182,"reviewed_share_all_time":0.971,"with_committed_by_other":6355},"dimension":"02","conclusive":true},{"reason":"CI configuration is present in the working tree","signal":"ci_presence","observed":{"count":75,"configs":[".github/workflows/backport.yml",".github/workflows/build-loki-binary.yml",".github/workflows/check.yml",".github/workflows/claude-code-review.yml",".github/workflows/claude.yml"]},"dimension":"02","conclusive":true},{"reason":"tests are present in a normal proportion to source","signal":"test_presence","observed":{"tests":1205,"source":2936,"test_ratio":0.41},"dimension":"02","conclusive":true},{"reason":"tags are present","signal":"release_cadence","observed":{"tags":401,"sample":["2.8.3","helm-loki-3.0.0","helm-loki-3.0.1","helm-loki-3.0.2","helm-loki-3.0.3"]},"dimension":"02","conclusive":true},{"reason":"commit subjects generally carry content","signal":"conventional_commits","observed":{"sampled":13675,"low_content_share":0.003},"dimension":"02","conclusive":true},{"reason":"process scaffolding is present in the repository","signal":"branch_protection_hints","observed":{"present":["CI workflows","CODEOWNERS","a pull-request template","contribution guidance"]},"dimension":"02","conclusive":true},{"reason":"CI invokes a test runner","signal":"ci_runs_tests","observed":{"sample":[".github/workflows/claude-code-review.yml",".github/workflows/claude.yml",".github/workflows/operator.yaml"],"configs":75,"with_tests":3},"dimension":"02","conclusive":true},{"reason":"few tests are switched off","signal":"skipped_tests","observed":{"focused":0,"skipped":0,"test_files":1426,"files_with_skips":0},"dimension":"02","conclusive":true},{"reason":"no test run in CI is written so that it cannot fail","signal":"ci_test_gating","observed":{"configs":75},"dimension":"02","conclusive":true},{"reason":"change is rarely undone","signal":"revert_share","observed":{"share":0.001,"reverts":2,"recent_commits":3541},"dimension":"02","conclusive":true},{"reason":"dependencies move with the code","signal":"dependency_update_cadence","observed":{"lockfiles":4,"commits_since":1,"days_since_lockfile_changed":0},"dimension":"02","conclusive":true},{"reason":"tests are not retried until they pass","signal":"flaky_test_markers","observed":{"test_retries":0,"suite_retries":0},"dimension":"02","conclusive":true},{"reason":"a linter or formatter runs in the build","signal":"lint_in_build","observed":{"wired":6,"ci_configs":75,"product_files":12693},"dimension":"02","conclusive":true},{"reason":"too few merges to judge (squash and rebase leave none)","signal":"long_lived_branches","observed":{"merges":0},"dimension":"02","conclusive":false},{"reason":"changes arrive in reviewable sizes","signal":"commit_size","observed":{"share":0.032,"commits":3142,"over_2000_lines":102},"dimension":"02","conclusive":true},{"reason":"no commit run met both the rate and the net-addition threshold","signal":"burst_import","observed":{"gap_seconds":180,"min_add_ratio":3.0,"min_net_added":2000,"bursts_by_rate":90,"bursts_by_volume":0},"dimension":"01","conclusive":true},{"reason":"first commit is not a disproportionate share of the codebase","signal":"initial_dump","observed":{"insertions":0,"share_of_insertions":0.0},"dimension":"01","conclusive":true},{"reason":"commit subjects vary in wording and length","signal":"message_uniformity","observed":{"length_stdev":21.92,"repeat_share":0.002},"dimension":"01","conclusive":true},{"reason":"most files were revisited after they were first written","signal":"revision_depth","observed":{"files_seen":2286,"write_once_share":0.224},"dimension":"01","conclusive":true},{"reason":"little shipping code is repeated verbatim across files","signal":"duplicated_blocks","observed":{"share":0.0219,"product_files":1736,"distinct_blocks":225442,"duplicated_blocks":4929},"dimension":"01","conclusive":true},{"reason":"errors are rarely thrown away","signal":"swallowed_errors","observed":{"loc":1196883,"files":0,"per_kloc":0.0,"swallowed":0},"dimension":"01","conclusive":true},{"reason":"every base image names a version","signal":"build_reproducibility","observed":{"floating":0,"from_lines":26},"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":"no credential-shaped strings outside test and fixture paths","signal":"committed_secrets","observed":{"note":"the working tree only; the history is 05.5","patterns":8,"files_read":4486,"inert_tokens_set_aside":0,"fixture_matches_ignored":0},"dimension":"05","conclusive":true},{"reason":"at least one standard guard rail is configured","signal":"security_guardrails","observed":{"present":[".github/renovate.json5","CODEOWNERS"]},"dimension":"05","conclusive":true},{"reason":"dependencies are substantially pinned","signal":"dependency_pinning","observed":{"unpinned":1},"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":"too few migrations to judge","signal":"migration_reversibility","observed":{"migrations":0},"dimension":"05","conclusive":false},{"reason":"no SQL is assembled from strings in product code","signal":"sql_from_strings","observed":{"files":0,"sites":0,"value_interpolated":0},"dimension":"05","conclusive":true},{"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":"every workload declares limits","signal":"resource_limits","observed":{"workloads":46,"without_limits":0},"dimension":"05","conclusive":true},{"reason":"no locked dependency has a published advisory","signal":"known_vulnerabilities","observed":{"advisories":0,"dependencies":448,"high_or_critical":0,"pinned_to_a_commit":0,"ecosystems_not_read":[],"vulnerable_packages":0,"set_aside_not_imported":1,"high_or_critical_shipping":0},"dimension":"05","conclusive":true},{"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":"deployment configuration references secrets, never holds them","signal":"credentials_in_deploy_config","observed":{"files":0,"sites":0},"dimension":"05","conclusive":true},{"reason":"not a frontend","signal":"public_env_secret","observed":{},"dimension":"05","conclusive":false},{"reason":"not a frontend","signal":"unsafe_html","observed":{},"dimension":"05","conclusive":false},{"reason":"not a frontend","signal":"source_maps_shipped","observed":{},"dimension":"05","conclusive":false},{"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":"every licence found in vendored code is permissive or weak-copyleft","signal":"license_copyleft_inherited","observed":{"vendored_paths":13035},"dimension":"05","conclusive":true},{"reason":"no packaging manifest states a licence","signal":"license_manifest_conflict","observed":{"manifests_checked":["package.json","pyproject.toml","Cargo.toml","composer.json"]},"dimension":"05","conclusive":false},{"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 3 months, less than the 12 this question needs","signal":"flags_accumulating","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 18 this question needs","signal":"api_versions_coexisting","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 24 this question needs","signal":"deprecations_lingering","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 24 this question needs","signal":"dependency_churn","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"reason":"the history scanned covers 3 months, less than the 24 this question needs","signal":"ci_platforms_dropped","observed":{"months_scanned":3},"dimension":"04","conclusive":false},{"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":"no directory carries a separate paid-edition licence","signal":"paid_edition","observed":{"directories":0},"dimension":"05","conclusive":true},{"reason":"releases keep pace with development","signal":"releases_stopped","observed":{"median_gap_days":6.0,"days_since_last_tag":0,"commits_last_90_days":1342},"dimension":"04","conclusive":true},{"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; OSV RubyGems fluent-plugin-grafana-loki (an empty record for a package published here), OSV RubyGems logstash-output-loki (an empty record for a package published here) did not; NVD: 1 record names loki with nothing tying it to this repository (CVE-2005-1943); 1 is fixed in the surveyed commit, and the release users run is not placed by this history","signal":"project_advisories","observed":{"sources":["OSV by commit","OSV Go github.com/grafana/loki/v3","OSV npm logqltest (declared here)","GitHub repository advisories","NVD"],"affecting":0,"exploited":0,"advisories":5,"version_from":"the newest release tag in the surveyed history, 11,890 commits before the surveyed commit","fix_unreleased":0,"sources_failed":["OSV RubyGems fluent-plugin-grafana-loki (an empty record for a package published here)","OSV RubyGems logstash-output-loki (an empty record for a package published here)"],"version_unknown":4,"high_or_critical":0,"surveyed_version":"2.1.0","record_incomplete":["NVD: 1 record names loki with nothing tying it to this repository (CVE-2005-1943)"],"affecting_newest_release":2},"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":27,"path":"README.md","text":"The repository says it is feature-complete, in maintenance mode, or needs maintainers","finding":"04.60"},{"line":null,"path":null,"text":"Releases are cut from another branch than the one surveyed","finding":"04.62"},{"line":null,"path":"LICENSE","text":"Relicensed: Apache-2.0 → AGPL-3.0 (2021-04-20)","finding":"05.60"},{"line":78,"path":"README.md","text":"names CNCF"},{"line":1,"path":".gitmodules","text":"1 submodule(s) this survey does not read: operator/website/themes/doks"}],"surveyed_commit":{"says":"The newest release, v3.7.9, is not on the branch this survey read; the newest release on it is v2.1.0","kinds":["not the release line"],"advice":"Read this report as describing that commit, not the release users run. Survey the release branch or tag as well.","newest_release":{"sha":"d3b4a2f76bfc5625abee7ceb00b8896fa3c31549","tag":"v3.7.9"}},"provenance_disclosure":{"agents":["Claude","Cursor","GitHub Copilot"],"recent":{"since":"2025-10-22","until":"2026-10-22","window":"the last 12 months","measures":"share of lines added in the last 12 months to 2026-10-22 by commits declaring an AI agent as co-author: the same floor as the all-time share, over a shorter window","confidence":"moderate","ai_line_share":0.0644,"total_commits":3317,"ai_commit_share":0.0247,"confidence_basis":["53% of non-merge commits carry any trailer at all","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":82,"total_lines_added":506989,"declared_lines_added":32639},"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":"moderate","measurable":true,"ai_line_share":0.0147,"total_commits":13675,"affects_rating":false,"excluded_lines":24309929,"ai_commit_share":0.0063,"confidence_basis":["49% 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"],"declared_commits":86,"total_lines_added":2405021,"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":{"2018":0.0,"2019":0.0,"2020":0.0,"2021":0.0,"2022":0.0,"2023":0.0,"2024":0.0,"2025":0.002,"2026":0.0279},"declared_agent_names":["Claude","Claude Opus 4.6","Claude Opus 4.6 (1M context)","Claude Opus 4.7 (1M context)","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.5","Claude Sonnet 4.6","Claude Sonnet 5","Claude Sonnet 5.5","Copilot","Copilot Autofix powered by AI","Cursor"],"declared_lines_added":35419,"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":["2 findings from checks Borehole's calibration found wrong more often than right are no longer published."]}