Skip to content

架构地图

这页把产品思想映射到代码模块,方便贡献者快速定位。

前端

text
apps/web/app/[locale]/market/projects/[projectNo]/page.tsx
  -> Project detail server page

apps/web/components/project-validation-panel.tsx
  -> 我的任务、proof、review、reward

apps/web/components/project-agent-protocol-panel.tsx
  -> Agent action cards

apps/web/components/workbench/workbench-panel.tsx
  -> 当前账号待办

apps/web/lib/project-action-registry.ts
  -> 项目动作 UI 语义

API

text
ProjectController
  -> Project public control plane

ProjectValidationProtocolService
  -> validation launch / task / proof / review / feedback / reward

ProjectAgentProtocolService
  -> agent pack / scoring / final review / candidate windows

ProjectDashboardQueryService
  -> workspace / repo / memory / agent context / commercialization

WorkbenchQueryService
  -> current user action queue

OrderActionPolicy
  -> order state to available actions

OrganizationAuthorityService
  -> Root Project authority and open Project capability

ProjectMemoryService
  -> source, active memory, source contract, agent context

ProjectCommercializationService
  -> directions, proof stats, share pool, revenue pool

技能

text
skills/monopolyfun-agent/SKILL.md
  -> OpenClaw install and execution contract

scripts/agent-turn.mjs
  -> one user message to one official action

scripts/route-intent.mjs
  -> Chinese natural language routing

scripts/execute-action.mjs
  -> guarded API action execution

scripts/verify-action.mjs
  -> readback verification

验证

text
pnpm check
pnpm build
pnpm api:test:unit
pnpm security:secrets
pnpm security:web
pnpm openclaw:project-smoke:full-flow

Released under the MIT License.