{"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.3","band":"adequate","layer":"deterministic","title":"Commit messages are templated rather than written","signal":"message_uniformity","weight":"corroborating","context":true,"evidence":[{"ref":"commit-subjects","kind":"metric","detail":"164× 'Update README.md'"},{"ref":"commit-subjects","kind":"metric","detail":"135× 'Add files via upload'"},{"ref":"commit-subjects","kind":"metric","detail":"80× 'update README.md'"}],"observed":{},"dimension":"01","rationale":"41% of commit subjects are exact repeats of another subject, and subject length varies by only 39.1 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."}],"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 383 product files.","question":"Where does the design live, and who holds it?"},{"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":[{"id":"02.6","band":"adequate","layer":"deterministic","title":"Almost no process scaffolding exists in the repository","signal":"branch_protection_hints","weight":"corroborating","context":true,"evidence":[{"ref":"process-scaffolding","kind":"metric","detail":"1 of 5 markers present across 523 tracked files"}],"observed":{},"dimension":"02","rationale":"Of five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.","context_why":"A note that does not affect this rating: in Borehole's calibration, this check's notes were usually true but overstated."}],"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":"not assessable","name":"Organization & Key-Person Risk","coverage":"partial","findings":[{"id":"03.27","band":"adequate","layer":"deterministic","title":"Regular contributors fell from 15 to 2 in a year","signal":"joiners_and_leavers","weight":"corroborating","evidence":[{"ref":"regular contributors by year","kind":"metric","detail":"15 then 2; 12 stopped committing, 0 began"}],"observed":{"left":12,"joined":0,"regular_last_year":2,"regular_prior_year":15},"dimension":"03","rationale":"12 people who committed regularly the year before made no commits in the last year, and 0 new regular contributors arrived. Ask whether the work they did is still covered."}],"signals_run":10,"conclusive_signals":8,"what_a_person_adds":[{"id":"03.29","kind":"H","where":"The deal terms","question":"Which of the people who wrote this are part of the transaction, and for how long after it?"},{"id":"03.22","kind":"H","where":"The team","question":"Is that code finished, or abandoned, and who still knows how it works?"},{"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?"}],"not_assessable_reason":"one author wrote nearly all of this repository's commits, so a finding about one contributor would be about someone its history all but names; the public report does not carry those, and does not rate this dimension without them","withheld_about_one_person":3},{"id":"04","band":"adequate","name":"Product & Engineering Maturity","coverage":"minimal","findings":[{"id":"04.19","band":"adequate","layer":"deterministic","title":"10% of bug fixes add or change a test","signal":"fixes_with_tests","weight":"corroborating","evidence":[{"ref":"fix commits touching tests","kind":"metric","detail":"8 of 83"}],"observed":{"fixes":83,"share":0.096,"with_tests":8},"dimension":"04","rationale":"Of 83 fixes in the last 24 months, 8 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":15,"what_a_person_adds":[{"id":"04.11","kind":"H+","where":"The team","measured":"59 commits landed in the last year, against 736 the year before (-92%).","question":"Is that maintenance mode, a pivot, or fewer people working on it? The count looks the same for all three."},{"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.2","band":"adequate","layer":"deterministic","title":"None of the standard security guard rails are configured","signal":"security_guardrails","weight":"corroborating","evidence":[{"ref":"guardrail-scan","kind":"metric","detail":"checked 5 kinds of guard rail across 523 tracked files; 0 present"}],"observed":{},"dimension":"05","rationale":"There is no disclosure policy, no automated dependency updates, no named code owners and no pre-commit configuration. None of these is load-bearing on its own. Their collective absence says that security posture here is whatever the current team happens to remember to do, which is not a posture that survives the team changing."},{"id":"05.6","band":"adequate","layer":"deterministic","title":"1 Dockerfile runs the application as root","signal":"container_runs_as_root","weight":"corroborating","evidence":[{"ref":"no-USER-instruction","kind":"path","path":"docker/Dockerfile","detail":"runs as root"}],"observed":{"rootful":1,"dockerfiles":1},"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.25","band":"adequate","layer":"deterministic","title":"1 environment file is committed","signal":"secrets_management_pattern","weight":"corroborating","context":true,"evidence":[{"ref":"libs/chatchat-server/.env","kind":"path","path":"libs/chatchat-server/.env","detail":"committed environment file"}],"observed":{"env_files":1},"dimension":"05","rationale":"libs/chatchat-server/.env is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.","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.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/_release.yml","kind":"path","path":".github/workflows/_release.yml","detail":"action pinned by tag","line_end":202,"line_start":202},{"ref":".github/workflows/_release.yml","kind":"path","path":".github/workflows/_release.yml","detail":"action pinned by tag","line_end":249,"line_start":249}],"observed":{"action_refs":25,"pipe_to_shell":0,"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. 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":"5 outbound calls can wait forever","signal":"outbound_timeouts","weight":"corroborating","context":true,"evidence":[{"ref":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_poi_search.py","kind":"path","path":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_poi_search.py","detail":"outbound call without a timeout","line_end":19,"line_start":19},{"ref":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_weather.py","kind":"path","path":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_weather.py","detail":"outbound call without a timeout","line_end":22,"line_start":22},{"ref":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_weather.py","kind":"path","path":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_weather.py","detail":"outbound call without a timeout","line_end":37,"line_start":37}],"observed":{"calls_without_timeout":5},"dimension":"05","rationale":"5 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.20","band":"adequate","layer":"deterministic","title":"3 SQL statements built from strings","signal":"sql_from_strings","weight":"corroborating","context":true,"evidence":[{"ref":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/relyt_kb_service.py","kind":"path","path":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/relyt_kb_service.py","detail":"SQL built from a string","line_end":33,"line_start":33},{"ref":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/relyt_kb_service.py","kind":"path","path":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/relyt_kb_service.py","detail":"SQL built from a string","line_end":45,"line_start":45},{"ref":"libs/chatchat-server/chatchat/server/knowledge_base/migrate.py","kind":"path","path":"libs/chatchat-server/chatchat/server/knowledge_base/migrate.py","detail":"SQL built from a string","line_end":82,"line_start":82}],"observed":{"files":2,"sites":3,"value_interpolated":0},"dimension":"05","rationale":"3 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. 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.21","band":"adequate","layer":"deterministic","title":"9 shell commands built from strings","signal":"shell_from_strings","weight":"corroborating","context":true,"evidence":[{"ref":"libs/chatchat-server/chatchat/server/llm_api_shutdown.py","kind":"path","path":"libs/chatchat-server/chatchat/server/llm_api_shutdown.py","detail":"command run through a shell","line_end":31,"line_start":31},{"ref":"libs/chatchat-server/chatchat/server/llm_api_stale.py","kind":"path","path":"libs/chatchat-server/chatchat/server/llm_api_stale.py","detail":"command run through a shell","line_end":244,"line_start":244},{"ref":"libs/chatchat-server/chatchat/server/llm_api_stale.py","kind":"path","path":"libs/chatchat-server/chatchat/server/llm_api_stale.py","detail":"command run through a shell","line_end":245,"line_start":245}],"observed":{"sites":9},"dimension":"05","rationale":"9 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.","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.45","band":"adequate","layer":"deterministic","title":"2 workload settings give a container the host","signal":"privileged_workloads","weight":"corroborating","evidence":[{"ref":"docker/docker-compose.yaml","kind":"path","path":"docker/docker-compose.yaml","detail":"privileged or host namespace","line_end":9,"line_start":9},{"ref":"docker/docker-compose.yaml","kind":"path","path":"docker/docker-compose.yaml","detail":"privileged or host namespace","line_end":34,"line_start":34}],"observed":{"sites":2,"behind_a_setting_or_built_here":0},"unproven":true,"dimension":"05","rationale":"2 places in the deployment configuration run a container privileged or in the host's network, process or IPC namespace. A compromise of that container is a compromise of the machine, and most acquirers' security reviews block it. Node agents (network, storage, monitoring) are excluded."},{"id":"05.8","band":"adequate","layer":"deterministic","title":"Manifest says MIT, licence file says Apache-2.0","signal":"license_manifest_conflict","weight":"corroborating","evidence":[{"ref":"pyproject.toml","kind":"path","path":"pyproject.toml","detail":"declares MIT","line_end":6,"line_start":6},{"ref":"LICENSE","kind":"path","path":"LICENSE","detail":"text of Apache-2.0"}],"observed":{"file":"Apache-2.0","manifest":"MIT"},"dimension":"05","rationale":"pyproject.toml declares MIT. LICENSE contains the text of Apache-2.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.65","band":"adequate","layer":"deterministic","title":"8 advisories against this project in the last 24 months, 1 high or critical","signal":"advisory_record","weight":"corroborating","evidence":[{"ref":"CVE-2026-51884","kind":"advisory","detail":"2026-10-01: CVE-2026-51884 (critical): The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filen"},{"ref":"GHSA-jv4p-mhmp-69vw","kind":"advisory","detail":"2026-05-05: GHSA-jv4p-mhmp-69vw (low): Langchain-Chatchat Uses Insufficiently Random Values"},{"ref":"GHSA-wmvv-fhm6-w34x","kind":"advisory","detail":"2026-05-05: GHSA-wmvv-fhm6-w34x (low): Langchain-Chatchat Uses a Broken or Risky Cryptographic Algorithm"},{"ref":"GHSA-x229-w2j4-h748","kind":"advisory","detail":"2026-05-05: GHSA-x229-w2j4-h748 (low): Langchain-Chatchat has a Race Condition in its OpenAI-Compatible File Upload API"},{"ref":"CVE-2026-7844","kind":"advisory","detail":"2026-05-05: CVE-2026-7844 (low): A vulnerability was detected in chatchat-space Langchain-Chatchat up to 0.3.1.3. This vulnerability affects the function files/list_files/retrieve_file/retrieve"}],"observed":{"newest":"2026-10-01","critical":1,"affecting":3,"could_not_tell":5,"last_24_months":8,"sources_failed":[],"known_exploited":0,"high_or_critical":1},"dimension":"05","rationale":"The newest was published on 2026-10-01. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries."}],"signals_run":34,"conclusive_signals":24,"what_a_person_adds":[{"id":"05.43","kind":"H+","where":"The security owner","measured":"No threat model is in the tree of what looks like a running service.","question":"Does one exist elsewhere, and who owns it?"},{"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.1","band":"adequate","layer":"deterministic","title":"No telemetry or error reporting is wired in anywhere","signal":"telemetry_presence","weight":"corroborating","evidence":[{"ref":"telemetry-scan","kind":"metric","detail":"searched 421 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched"}],"observed":{},"dimension":"06","rationale":"None of 421 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one."},{"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 421 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":10,"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":"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 Python codebase. Does your engineering organisation already run Python in production, or would this be the first?"},{"id":"07.10","kind":"H+","question":"The bulk of this system sits in libs/, markdown_docs/, docker/. 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 (docker/Dockerfile and 1 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":48380,"head":"49165d6af4438aa7e8a1f71ce276db55f4405151","slug":"chatchat-space/Langchain-Chatchat","tags":31,"stars":38702,"shallow":false,"span_days":954.9,"last_commit":"2025-11-10T09:27:42+00:00","surveyed_at":"2026-10-23T19:55:42.463081+00:00","commits_read":2471,"first_commit":"2023-03-31T12:09:40+00:00","truncated_at":null,"window_start":"2023-03-31T12:09:40+00:00","tracked_files":523,"history_complete":true},"generated_at":"2026-10-23T19:56:41.405161+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":6836,"top5_share":0.058},"dimension":"04","conclusive":true},{"reason":"debt markers are sparse","signal":"debt_markers","observed":{"markers":34,"per_kloc":0.71,"lines_read":47995},"dimension":"04","conclusive":true},{"reason":"direct dependency counts are unremarkable","signal":"dependency_sprawl","observed":{"set_aside":{},"by_manifest":{"pyproject.toml":0,"libs/python-sdk/pyproject.toml":3,"libs/chatchat-server/pyproject.toml":55}},"dimension":"04","conclusive":true},{"reason":"rework is not rising against new work","signal":"churn_trend","observed":{"late_delete_per_insert":0.352,"early_delete_per_insert":0.625,"single_commit_deletions_set_aside":["a74c5ba"]},"dimension":"04","conclusive":true},{"reason":"every pinned runtime is still supported","signal":"eol_runtime","observed":{"pinned":["python 3.11"],"eol_as_of":"2026-09-24"},"dimension":"04","conclusive":true},{"reason":"fewer than six busy quarters to compare","signal":"fix_share_trend","observed":{"fix_share_by_quarter_newest_first":[0.0]},"dimension":"04","conclusive":false},{"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.0,"code_files":236,"compat_files":0,"oldest_months":0},"dimension":"04","conclusive":true},{"reason":"no JavaScript manifest to read","signal":"dependency_redundancy","observed":{},"dimension":"04","conclusive":false},{"reason":"none at all is 06.1","signal":"telemetry_depth","observed":{"kinds":[]},"dimension":"06","conclusive":false},{"reason":"raw prints are few, or outnumbered by logger calls","signal":"print_logging","observed":{"prints":110,"logger_calls":170},"dimension":"06","conclusive":true},{"reason":"a request can be followed through the logs","signal":"correlation_ids","observed":{"tracing":false,"request_id_sites":1},"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":2,"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":0},"dimension":"06","conclusive":true},{"reason":"fewer than 100 commits in the last year","signal":"release_markers","observed":{"commits_last_year":59},"dimension":"06","conclusive":false},{"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":"withheld: this check's result would describe one person","signal":"contributor_concentration","observed":{},"dimension":"03","conclusive":true},{"reason":"withheld: this check's result would describe one person","signal":"knowledge_silos","observed":{},"dimension":"03","conclusive":false},{"reason":"withheld: this check's result would describe one person","signal":"drive_by_contributors","observed":{},"dimension":"03","conclusive":true},{"reason":"withheld: this check's result would describe one person","signal":"critical_path_ownership","observed":{},"dimension":"03","conclusive":true},{"reason":"withheld: this check's result would describe one person","signal":"second_contributor_attrition","observed":{},"dimension":"03","conclusive":false},{"reason":"a meaningful share of recent change carries evidence of review","signal":"merge_discipline","observed":{"merges":144,"window":"last 24 months","with_tracked":2,"with_reviewed":0,"reviewed_share":0.558,"commits_in_window":943,"squashed_with_pr_ref":192,"with_signed_off_other":0,"reviewed_share_all_time":0.499,"with_committed_by_other":471},"dimension":"02","conclusive":true},{"reason":"CI configuration is present in the working tree","signal":"ci_presence","observed":{"count":7,"configs":[".github/workflows/_integration_test.yml",".github/workflows/_release.yml",".github/workflows/_test.yml",".github/workflows/_test_release.yml",".github/workflows/close-issue.yml"]},"dimension":"02","conclusive":true},{"reason":"tests are present in a normal proportion to source","signal":"test_presence","observed":{"tests":31,"source":267,"test_ratio":0.116},"dimension":"02","conclusive":true},{"reason":"tags are present","signal":"release_cadence","observed":{"tags":31,"sample":["v0.1.0","v0.1.1","v0.1.10","v0.1.11","v0.1.12"]},"dimension":"02","conclusive":true},{"reason":"commit subjects generally carry content","signal":"conventional_commits","observed":{"sampled":2086,"low_content_share":0.113},"dimension":"02","conclusive":true},{"reason":"CI invokes a test runner","signal":"ci_runs_tests","observed":{"sample":[".github/workflows/_integration_test.yml",".github/workflows/_release.yml",".github/workflows/_test.yml"],"configs":7,"with_tests":3},"dimension":"02","conclusive":true},{"reason":"few tests are switched off","signal":"skipped_tests","observed":{"focused":0,"skipped":0,"test_files":47,"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":7},"dimension":"02","conclusive":true},{"reason":"change is rarely undone","signal":"revert_share","observed":{"share":0.001,"reverts":1,"recent_commits":799},"dimension":"02","conclusive":true},{"reason":"no lockfile to date","signal":"dependency_update_cadence","observed":{"lockfiles":0},"dimension":"02","conclusive":false},{"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":3,"ci_configs":7,"product_files":236},"dimension":"02","conclusive":true},{"reason":"the typical branch reaches the trunk quickly","signal":"long_lived_branches","observed":{"share":0.079,"merges":63,"long_lived":5,"median_days":0},"dimension":"02","conclusive":true},{"reason":"changes arrive in reviewable sizes","signal":"commit_size","observed":{"share":0.032,"commits":776,"over_2000_lines":25},"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":4,"bursts_by_volume":0},"dimension":"01","conclusive":true},{"reason":"first commit is not a disproportionate share of the codebase","signal":"initial_dump","observed":{"insertions":221,"share_of_insertions":0.0},"dimension":"01","conclusive":true},{"reason":"no module is an outlier against this codebase's own norm","signal":"oversized_modules","observed":{"largest":998,"threshold":1000,"median_lines":33},"dimension":"01","conclusive":true},{"reason":"little shipping code is repeated verbatim across files","signal":"duplicated_blocks","observed":{"share":0.0224,"product_files":234,"distinct_blocks":17492,"duplicated_blocks":392},"dimension":"01","conclusive":true},{"reason":"errors are rarely thrown away","signal":"swallowed_errors","observed":{"loc":48380,"files":3,"per_kloc":0.06,"swallowed":3},"dimension":"01","conclusive":true},{"reason":"every base image names a version","signal":"build_reproducibility","observed":{"floating":0,"from_lines":1},"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; the only other matches are expired or licence tokens or placeholders, which grant nothing","signal":"committed_secrets","observed":{"note":"the working tree only; the history is 05.5","patterns":8,"files_read":421,"inert_tokens_set_aside":1,"fixture_matches_ignored":0},"dimension":"05","conclusive":true},{"reason":"no manifest whose pinning can be read without a lockfile","signal":"dependency_pinning","observed":{"checked":["requirements.txt","package.json","Gemfile"]},"dimension":"05","conclusive":false},{"reason":"a licence file is present","signal":"license_present","observed":{"found":true},"dimension":"05","conclusive":true},{"reason":"too few migrations to judge","signal":"migration_reversibility","observed":{"migrations":0},"dimension":"05","conclusive":false},{"reason":"no code-executing deserialiser in product code","signal":"unsafe_deserialization","observed":{"sites":0},"dimension":"05","conclusive":true},{"reason":"no TLS verification is switched off in product code","signal":"tls_verification_off","observed":{"files":0,"sites":0,"pinned_instead":0,"behind_an_opt_in":0},"dimension":"05","conclusive":true},{"reason":"no Kubernetes workload manifests","signal":"resource_limits","observed":{"workloads":0},"dimension":"05","conclusive":false},{"reason":"no lockfile this survey can read, or a collector older than 0.4.0","signal":"known_vulnerabilities","observed":{"dependencies":0,"ecosystems_not_read":[]},"dimension":"05","conclusive":false},{"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":"no third-party code is committed to this repository, so the licences it depends on are resolved at build time and are not readable here","signal":"license_copyleft_inherited","observed":{"vendored_paths":0},"dimension":"05","conclusive":false},{"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 Apache-2.0","signal":"license_grant_unclear","observed":{"class":"permissive","license":"Apache-2.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":"few or no feature flags in the history","signal":"flags_accumulating","observed":{"live":0,"retired":0,"flags_seen":0,"stale_over_a_year":0},"dimension":"04","conclusive":false},{"reason":"one API version is served, or none","signal":"api_versions_coexisting","observed":{"live":["v1"],"versions_seen":["v1"]},"dimension":"04","conclusive":true},{"reason":"few deprecations have outlived two years","signal":"deprecations_lingering","observed":{"older_than_two_years":0,"files_with_deprecations":8},"dimension":"04","conclusive":true},{"reason":"few dependencies were added and dropped within 60 days","signal":"dependency_churn","observed":{"dependencies_seen":272,"added_in_two_years":195,"removed_within_60_days":15},"dimension":"04","conclusive":true},{"reason":"no platform was dropped from CI in the last two years","signal":"ci_platforms_dropped","observed":{"platforms_seen":["Linux","Windows","macOS"],"dropped_in_two_years":[]},"dimension":"04","conclusive":true},{"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":"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":19.5,"days_since_last_tag":833,"commits_last_90_days":0},"dimension":"04","conclusive":true},{"reason":"the newest release was cut from the branch surveyed","signal":"release_branch","observed":{"elsewhere":0,"on_branch":31,"tags_in_window":31,"direction_known":true,"later_on_branch":0},"dimension":"04","conclusive":true},{"reason":"withheld: this check's result would describe one person","signal":"single_maintainer","observed":{},"dimension":"03","conclusive":true},{"reason":"no affecting advisory is on CISA's Known Exploited list","signal":"project_exploited","observed":{"exploited":0},"dimension":"05","conclusive":true}],"schema_version":"1","repository_says":[{"line":1,"path":".gitmodules","text":"1 submodule(s) this survey does not read: chatchat/chatchat/data/knowledge_base/samples/content/wiki"}],"surveyed_commit":null,"provenance_disclosure":{"agents":[],"recent":null,"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.0,"total_commits":2086,"affects_rating":false,"excluded_lines":58188,"ai_commit_share":0.0,"confidence_basis":["5% 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","deep scan blamed 515 of 523 counted files"],"declared_commits":0,"total_lines_added":8133216,"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":{"2023":0.0,"2024":0.0,"2025":0.0},"declared_agent_names":[],"declared_lines_added":0,"surviving_line_share":0.0,"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":2759665},"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":["Words about people are today's: bands rather than exact shares, dates or day counts, and what the history measured rather than why.","5 findings from checks Borehole's calibration found wrong more often than right are no longer published.","3 findings about one contributor are withheld: one author wrote nearly all of this repository's commits; a buyer of this report reads them."]}