[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-273459-105":59,"doc-detail-273459-en":131,"doc-similar-273459":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","executable-code-knowledge-code-as-a-native-validation-carrying-knowledge-representation-for-ai-coding-agents","Executable Code Knowledge - Code as a Native, Validation-Carrying Knowledge Representation for AI Coding Agents","","AI coding agents require more than relevant code snippets; they need business semantics, validation evidence, explicit relations, and assurance that their context is up to date. Many systems infer or externalize this knowledge via retrieval, summaries, graphs, rules, or reverse specifications. This work studies a complementary approach where selected code units directly carry agent-usable knowledge through Executable Code Knowledge (ECK) and Executable Code Knowledge Units (ECKUs).",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/executable-code-knowledge-code-as-a-native-validation-carrying-knowledge-representation-for-ai-coding-agents/273459/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/executable-code-knowledge-code-as-a-native-validation-carrying-knowledge-representation-for-ai-coding-agents/273459.png","ImageObject",300,407,{"name":92,"@type":93},"Ava Thompson","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-17","2026-09-15",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",18,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What problem does Executable Code Knowledge (ECK) address for AI coding agents?","Question",{"text":113,"@type":114},"It addresses the gap in representing software knowledge so agents can identify business semantics, authoritative validation evidence, impacted relations, and whether context is still fresh. Existing systems often lack explicit evidence-to-rule linkage and freshness guarantees.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What is an Executable Code Knowledge Unit (ECKU)?",{"text":118,"@type":114},"An ECKU is a source-bound object that combines stable identity, semantics, executable behavior, contracts, evidence, relations, provenance, validation state, and a query interface, enabling agent-facing operations.",{"name":120,"@type":111,"acceptedAnswer":121},"How does the evaluation measure ECK’s effectiveness?",{"text":122,"@type":114},"It evaluates declared-evidence recovery, exact changed-line impact against independent manual labels, deterministic consumption of impact reports, projection fidelity, and freshness sensitivity/specificity across Python repositories and controlled patch tasks.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},273459,1789471518,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":130,"read_time":145,"preview_page_count":19,"preview_urls":146},1649267921044,"https://us-avatar.wpscdn.com/avatar/1800007509477c92dfb?_k=1786009248482753345","Executable Code Knowledge: Code as a Native, Validation-Carrying Knowledge Representation for AI Coding  \nAgents  \nXueping Gao  \nAlibaba Cloud  \nHangzhou, China  \n[xueping.gxp@alibaba-inc.com](xueping.gxp@alibaba-inc.com)  \narXiv :2608 . 16295v1 [ cs .CL] 17 Aug 2026  \nAbstract  \nAI coding agents need more than relevant snippets: they need business semantics, validation evidence, relations, and assurance that their context is current. Existing systems usually infer or externalize this knowledge through retrieval, summaries, graphs, rules, or reverse specifications. We investigate a complementary representation in which selected code units directly carry agent-usable knowledge. We introduce Executable Code Knowledge (ECK) and define an Executable Code Knowledge Unit (ECKU) as a source-bound object combining stable identity, semantics, executable behavior, contracts, evidence, relations, provenance, validation state, and a query interface. Our Python prototype supports code-local authoring, manifest export, evidence execution, exact changed-line impact, freshness checking, and agent-facing projections. Across three real Python repositories and 26 controlled patch tasks, direct ECK provides executable test coverage for 11/11 evidence-bearing tasks and exact selectors for 9/11; hiding declared evidence reduces exact recovery to 1/11 (paired exact McNemar p=0.0078) . ECK-derived rules recover 11/11 exact selectors, showing that rules are effective delivery artifacts while ECK supplies source binding, validation state, impact, and freshness. Exact changed-line impact matches independently authored labels on all 26 patches (12 unit links; precision, recall, and F1 all 1.000). AST-bounded fingerprints classify 50 positive changes and 17 unrelated same-file controls correctly, whereas static rules snapshots detect none of the 50 stale cases. Model-backed patch-review and cross-layer studies measure projection fidelity rather than independent impact discovery. These results support a hybrid architecture: retrieval for coverage, ECK for source and evidence governance, and projections for delivery.  \nKeywords  \nAI coding agents, executable knowledge, code representation, validation evidence, freshness, patch impact  \n1 Introduction  \nAI coding agents are increasingly evaluated on repository-level issue resolution, code retrieval, tool use, and test-based validation. This shift has exposed a gap in how software knowledge is represented. Agents do not only need snippets that look similar toa request. They need to know which behavior is a business rule, which tests are authoritative, which API or data relation is affected, and whether the context they are using is still fresh.  \nMost current systems construct such knowledge from code after the fact:  \nThis extractive pipeline is useful and often necessary for coverage. However, it has an authority problem. Retrieved chunks can suggest where to look, but they usually do not state which evidence validates a rule. Static graphs expose structure, but they do not say whether a relation is a domain invariant or an incidental call edge. Generated summaries and reverse-engineered specifications can be helpful, but their claims must still be traced, validated, and kept fresh.  \nThis paper asks a different question:  \nCan code itself directly represent knowledge for AI coding agents, rather than serving only as text tobe mined into external knowledge objects?  \nWe answer yes for a specific class of high-value code units. We propose Executable Code Knowledge (ECK): a representation in which selected implementation units directly carry domain semantics, executable behavior, contracts, evidence, relations, provenance, validation state, and query operations. The unit of representation is an Executable Code Knowledge Unit (ECKU) .  \nECK is not intended to annotate every function or replace retrieval over the whole repository. Instead, it targets code units where correctness and context are especially valua","cbCaikIla8u3bKZv","https://ap.wps.com/l/cbCaikIla8u3bKZv","pdf",456757,11,"English","# Introduction\n## Contributions\n# Motivation\n## Pricing rule example","[{\"question\":\"What problem does Executable Code Knowledge (ECK) address for AI coding agents?\",\"answer\":\"It addresses the gap in representing software knowledge so agents can identify business semantics, authoritative validation evidence, impacted relations, and whether context is still fresh. Existing systems often lack explicit evidence-to-rule linkage and freshness guarantees.\"},{\"question\":\"What is an Executable Code Knowledge Unit (ECKU)?\",\"answer\":\"An ECKU is a source-bound object that combines stable identity, semantics, executable behavior, contracts, evidence, relations, provenance, validation state, and a query interface, enabling agent-facing operations.\"},{\"question\":\"How does the evaluation measure ECK’s effectiveness?\",\"answer\":\"It evaluates declared-evidence recovery, exact changed-line impact against independent manual labels, deterministic consumption of impact reports, projection fidelity, and freshness sensitivity/specificity across Python repositories and controlled patch tasks.\"}]","Executable Code Knowledge - Code as a Native, Validation-Carrying Knowledge Representation for AI Coding Agents | PDF",28,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/1abc35e3ebfaaea47d2018056bb6f2f0.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/abd862c1f3ebe4ea37a56f2d1d1f075e.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/12c720f513970b5ce8be1da87987e82f.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ab1d30731b8fc6111be0341b59c4ab81.webp",980,1268,{"list":164,"token":66},[165,171,177,184,191,198,204,211,218,224],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":19,"category_name":40,"create_tm":170},694793,"A New Approach to the Semantics of Model Diagrams - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230006941644/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=vyny45rMJj8pjANuhyYQp%2FhLS3Q%3D","a-new-approach-to-the-semantics-of-model-diagrams-paper",1794347813,{"doc_id":172,"doc_title":173,"file_type":138,"home_preview_img_url":174,"slug":175,"view_count":39,"category_name":40,"create_tm":176},509418,"Protecting Floating-Point Computation for Deep Neural Network Binaries with Mixed Boolean-Arithmetic Obfuscation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935322727/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=PxXFwp7vMtpOxTZSJ95crkwaWSs%3D","protecting-floating-point-computation-for-deep-neural-network-binaries-with-mixed-boolean-arithmetic-obfuscation",1791235483,{"doc_id":178,"doc_title":179,"file_type":138,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},82535,"Auditing Forgetting in Limited Memory Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808759542/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=eAQxjSmzmrd8c4289kpNh8g3Xec%3D","auditing-forgetting-in-limited-memory-language-models",31,1784181343,{"doc_id":185,"doc_title":186,"file_type":138,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":40,"create_tm":190},86136,"Generative Chinese Statute Retrieval","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809507105/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=D1bazc%2FoDfxvlFy7yq%2BnXPcJRgM%3D","generative-chinese-statute-retrieval",23,1784208830,{"doc_id":192,"doc_title":193,"file_type":138,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},273697,"Inject, Align, Recover - Staged Post-Training for Retrieval-Free Document Knowledge Internalization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899555541/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=N1NmMOYzXKPV4b8eo1e7sXoLgcY%3D","inject-align-recover-staged-post-training-for-retrieval-free-document-knowledge-internalization",15,1789472527,{"doc_id":199,"doc_title":200,"file_type":138,"home_preview_img_url":201,"slug":202,"view_count":46,"category_name":40,"create_tm":203},122278,"Multimodal Deep Learning for Android Malware Classification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836681529/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=P3RfTEbOQh0yyXKkjyBXKaJSdTw%3D","multimodal-deep-learning-for-android-malware-classification",1785809783,{"doc_id":205,"doc_title":206,"file_type":138,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":40,"create_tm":210},86372,"Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809410871/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=2cMsaJ%2BmL4Fd2ARvRLX909zm1Dg%3D","conditional-memory-via-scalable-lookup-a-new-axis-of-sparsity-for-large-language-models",42,1784211155,{"doc_id":212,"doc_title":213,"file_type":138,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":40,"create_tm":217},83610,"Knowledge Over Parameters: Evolving Smart Contract Vulnerability Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808992014/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=JLbnT%2F9a14tRZn%2BEE%2B%2Fd04yBKUI%3D","knowledge-over-parameters-evolving-smart-contract-vulnerability-detection",24,1784189251,{"doc_id":219,"doc_title":220,"file_type":138,"home_preview_img_url":221,"slug":222,"view_count":189,"category_name":40,"create_tm":223},82238,"Malaika Understanding Malware through Tri-Grounded Agentic Reasoning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808724312/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=K8YdGTfEQMWuAuD7ZCTUcPN1KqY%3D","malaika-understanding-malware-through-tri-grounded-agentic-reasoning",1784179048,{"doc_id":225,"doc_title":226,"file_type":138,"home_preview_img_url":227,"slug":228,"view_count":41,"category_name":40,"create_tm":229},86120,"Retrieval Oriented Code Representations in Agentic Bug Localization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809379371/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=FfAiAd%2B6JWM2gyZinXbqKpl6dE8%3D","retrieval-oriented-code-representations-in-agentic-bug-localization",1784208642]