CODEHAO.COM / ABOUT

Hi, I'm Wang Hao!

Agent / Full-Stack Engineer

9 years of software engineering experience across pharmaceutical supply-chain ERP, operation platforms, growth campaigns, and enterprise AI systems. Recently focused on Agent engineering, Skill lifecycle, tool calling, Eval systems, Telemetry, and self-healing workflows.

9 Years Engineering and delivery experience
600+ ERP pages re-architected
Agent + ERP Enterprise AI implementation

Summary

PROFILE

Experienced in frontend low-code platforms, engineering toolchains, component libraries, mini-programs, Node / Java backend work, and enterprise-grade Agent applications.

I turn complex business systems into reusable assets through engineering discipline, componentization, low-code configuration, and AI-assisted development workflows.

At Meituan, I work on core pharmaceutical supply-chain ERP modules including finance, orders, work orders, customers, and marketing, supporting multi-billion RMB annual pharmaceutical procurement and sales.

I continue to explore software engineering in the AI era: Skill generation, real tool evaluation, LLM-as-Judge, prompt engineering, sandboxed execution, and observability loops.

Projects

SELECTED WORK

AI-Friendly Architecture Upgrade for Pharmaceutical Supply-Chain ERP

ERPMonorepoiframeAI Coding

Project Description

I worked on critical modules in the self-operated pharmaceutical supply-chain ERP system, including finance, orders, work orders, customers, and marketing. As the team moved toward frontend-backend integrated delivery, the original ERP had 600+ pages concentrated in a single repository, with heavy coupling across shared dependencies and global state. This created high upgrade risk, expensive regression testing, slow rollback, and poor AI generation efficiency due to oversized repository context. I led the transformation into an AI-friendly architecture organized by business modules, independently deployable submodules, configurable routing, and fast rollback.

Responsibilities

  • Defined module boundaries across finance, orders, work orders, customers, and marketing, and designed an "ERP shell + independent submodules" architecture.
  • Built automated splitting scripts by page, module, and multi-module scope, replacing manual migration and reducing human error across 600+ pages.
  • Split ERP modules into independently deployable Monorepo sub-repositories, embedded through iframe integration while sharing a unified entry component.
  • Designed coexistence of old and new routes, allowing each module to switch between the new submodule and the original page component through online route configuration.
  • Extracted shared business components and utility methods into npm packages, while moving route and tab configuration online to avoid repeated maintenance in submodules.
  • Used iframe communication to synchronize global state, including tab state, page cache, refresh behavior, route parameters, and page switching after data updates.
Impact Reduced monorepo upgrade risk, improved independent delivery capability, increased business reuse and component coverage, and raised the AI code generation success rate for ERP work.

Polestar / Skill Lifecycle

AgentEvalTelemetryLLM-as-Judge

Project Description

An enterprise Agent Skill factory for internal business scenarios. The platform enables business users to generate ERP / business Skills through natural language, then evaluate, publish, monitor, and optimize them through a governed lifecycle. It focuses on three key problems: uncontrolled Skill generation quality, possible fake tool-call results from Agents, and lack of observability and self-healing after release.

Responsibilities

  • Contributed to the lifecycle pipeline covering Intent, Generate, Eval-Cases, Eval-Run, Publish, Monitor, Report, and Optimize.
  • Designed the Stage 3 caseInputs + real spawn evaluation mechanism, where the system executes baicao api call and records stdout, exitCode, and duration.
  • Built evaluation categories such as normal, edge, error, security, off_topic, and multi_turn, with Critical gates, Pass@K, Baseline Regression, and rubric scoring.
  • Introduced LLM-as-Judge for structured assessment of open-ended outputs while keeping deterministic assertions for stable checks.
  • Implemented Fix-Suggester menu-style self-healing and Telemetry instrumentation covering success rate, latency, tokens, toolchain, cohort, and content fingerprints.
Impact Turned Skills from generated scripts into governable assets with generation, evaluation, release, monitoring, and optimization loops, reducing enterprise Agent release risk.

bianque-erp-cli / baicao

CLIKBSQLite FTS5BM25

Project Description

A unified CLI for the ERP capability gateway, serving developers, operations engineers, and Agent hosts. It provides standard entry points for authentication, capability discovery, parameter templates, API calls, KB retrieval, and diagnostics. Instead of asking Agents to guess APIs, parameters, or invocation methods, the CLI exposes auditable, testable, and recoverable access to ERP capabilities.

Responsibilities

  • Designed Agent-friendly command surfaces covering api list/read/call/call-template, catalog search, invoke, and kb search/resolve/doctor.
  • Designed structured outputs, parameter templates, and actionable error messages so Agents can recover from missing parameters, auth failures, and unavailable capabilities.
  • Contributed to the KB v4 six-layer architecture: scenario -> workflow -> bridge -> clarify -> capability -> response, using SQLite FTS5 + BM25 + routing enhancement instead of raw vector RAG.
  • Promoted Local-first design, Graphify 12 tables, manual / derived / view layer isolation, SHA-256 content addressing, commit log, manifest_root_hash, and C1-C6 recovery contracts.
  • Built 7 test suites with 234 cases covering KB retrieval, capability discovery, parameter construction, and real API invocation; the KB retrieval suite passed 153 / 153 cases.
Impact Transformed ERP capabilities into discoverable, callable, and diagnosable gateway primitives for Agent hosts, providing infrastructure for Skill Lifecycle and business Agents.

AIxcel - Excel Processing Agent

PythonPandasWebSocketSandbox

Project Description

An enterprise Excel processing Agent that allows users to describe analysis, cleaning, merging, and multi-file comparison tasks in natural language. The Agent generates and executes pandas code, streams progress through WebSocket, and returns S3 files or text results. The goal is to let non-technical users complete complex spreadsheet work without writing scripts.

Responsibilities

  • Designed a two-layer LLM architecture: the outer AgentExecutor decides whether to call the Excel Tool, while the inner ExcelProcessor generates and executes pandas code.
  • Used Structured Chat + JSON blob to support GPT-4.1, GPT-4.1-mini, and Doubao-deepseek-v3, with handle_parsing_errors=True for format-error self-healing.
  • Implemented AgentProgressTracker + WebSocket protocol, converting intermediate_steps into frontend-consumable fields such as percentage, step, iteration, and chat_response.
  • Built SafeOS + thread-pool sandboxing to limit file and system access while supporting Excel analysis, multi-file comparison, PDF table processing, and chart generation.
Impact Productized Excel cleaning, analysis, and script-generation capabilities, lowering the barrier for business users and making complex spreadsheet processing visible and controllable.

Experience

WORK HISTORY

MT

Meituan | Pharmaceutical Business Unit

Agent / Full-Stack Engineer

2021.11 - Present

Responsible for core ERP modules across finance, orders, work orders, customers, and marketing, supporting 80% online procurement/sales processes, 97% online finance workflows, and 100% online order processing.

  • Led multiple ERP system upgrades, supporting new tabs, complex business configuration, and improving user experience score from 2.9 to 4.2.
  • Led frontend architecture upgrades by splitting 600+ pages from a monolithic repository into independently deployable business modules.
  • Led or contributed to AI + Excel, Skill Lifecycle, ERP capability gateway CLI, low-code configuration platforms, and component libraries.
XM

Ximalaya

Senior Frontend Engineer

2019.12 - 2021.10

Worked on Xiaoxima PC admin systems, App Hybrid H5 pages, growth acquisition, and marketing campaigns. Built xxm-ui from scratch with Webpack + TypeScript + React Hooks to support fast reuse across H5 activities.

PA

Ping An Urban Tech

Frontend Engineer

2018.07 - 2019.11

Contributed to B2B projects such as Ping An desktop management and leasing standard editions, delivering online maintenance, security, fire safety, safety management, and analytics features based on React + BIM + IoT.

Skills

STACK

Agent / LLM

ReAct, Structured Chat, Skill injection design, Tool Schema, Prompt engineering, Eval / Golden Set, Pass@K, LLM-as-Judge, Telemetry, sandboxing, and self-healing

Full-Stack Development

React, TypeScript, Redux / Dva, Ant Design, Node.js, Python, FastAPI, WebSocket, MySQL, SQLite FTS5, S3; Java direction negotiable

Engineering

Webpack / Vite, Babel static analysis, component libraries, low-code platforms, release pipeline plugins, VSCode code generation, CI / CD, frontend monitoring, SOP

Business Domains

Pharmaceutical supply-chain ERP, procurement / order / finance / purchasing flows, operation platforms, Excel / BI data analysis

Contact

GET IN TOUCH

Education

Huazhong Agricultural University / Bachelor's Degree / Project 211