04 · MARKDOWN KIT
Measurement without executables: the markdown kit
A survey is an estimate based on what respondents know; real legacy systems hide undocumented coupling and privilege drift. Bringing an executable into a closed network or uploading code is hard to get past security. So stage two hands over one plain-text markdown kit (.md) anyone can read, your own agent runs it, and only numbers come back.
The LLM never guesses the numbers
Asked to compute matrix powers or SCCs in its head, an LLM can hallucinate. In the kit, the agent does not calculate: it runs the kit’s deterministic scripts read-only in your environment and gathers the results.
The kit’s five layers
Layer 1
Security assertion & read-only contract
Binds the in-house agent to read-only access, no network calls, and output of only hash IDs and the 12 values, with no file, class or table names, IPs or accounts.
Layer 2
Artifact discovery & asset weighting
Rules to find code, ORM and DDL; Terraform, Kubernetes, IAM and gateway config; LLM SDK, MCP, token exchange and commit handlers. Core modules and enforcement points are tagged in a local file that never leaves.
Layer 3
Deterministic extraction & graph scripts
Python reference code, mostly standard library, that actually computes the dependency graph and reachability matrix, Tarjan SCCs, shared tables, multi-layer reachability and AI control patterns; the in-house agent only wires adapters for your languages and layout.
Layer 4
Local verification log
Shows on your screen only why each number came out (e.g. which two modules form a cycle), so engineers can confirm the facts come from their code. The log stays inside.
Layer 5
Numbers-only output schema
The final JSON holds only numbers, booleans and fixed values. The web form blocks anything else in the browser before it is sent.
This is all you submit
{
"schema_version": "kssaa-metrics-1.0",
"system_track": "legacy_ai_integrated",
"scope_stats": { "module_count_N": 142, "persistence_unit_count_D": 86, "workload_count_S": 24, "ai_tool_binding_count": 15 },
"metrics": {
"K_CPL_01_SPC_pct": 28.4, "K_CPL_02_CCCR_pct": 4.2, "K_CPL_02_core_cycle_count": 1,
"K_CPL_03_SRDL_pct": 76.5, "K_CPL_04_SMPR_pct": 11.6, "K_CPL_04_sensitive_shared_count": 2,
"K_TBR_01_UBPC_count": 1, "K_TBR_02_ADSI_pct": 8.3, "K_TBR_02_core_shadow_edge_count": 0,
"K_TBR_03_EPER_pct": 31.2, "K_TBR_03_shared_wildcard_flag": true,
"K_TBR_04_EWIC_pct": 40.0, "K_TBR_04_sensitive_unbound_count": 3,
"K_AID_01_DTMR_pct": 86.7, "K_AID_01_unmediated_exec_count": 2,
"K_AID_02_DAAR_pct": 33.3, "K_AID_02_static_master_account_flag": true,
"K_AID_03_HISI_pct": 0.0, "K_AID_03_inband_approval_count": 1,
"K_AID_04_BALS_pct": 50.0, "K_AID_04_unbounded_workflow_count": 2
}
}Open a sample kit (.md, Korean)Legacy onlyLegacy + AI