Skip to content

Architecture Map

This page maps product capabilities to code boundaries.

Frontend Boundary

CapabilityFile
Project detailapps/web/app/[locale]/market/projects/[projectNo]/page.tsx
Validation panelapps/web/components/project-validation-panel.tsx
Agent Protocolapps/web/components/project-agent-protocol-panel.tsx
Workbenchapps/web/components/workbench/workbench-panel.tsx
Project action semanticsapps/web/lib/project-action-registry.ts
API clientapps/web/lib/api/index.ts

API Boundary

ModuleResponsibility
ProjectControllerProject creation, query, tasks, roles, commercialization entry
ProjectValidationProtocolControllerlaunch, task, proof, review, feedback, reward
ProjectAgentProtocolControllerAgent inbox and action
WorkbenchControllerCurrent account work queue
ProjectMemoryControllermemory source, entry, agent context
ShareReleaseControllershare release approval

Service Boundary

ServiceSource of truth
ProjectValidationProtocolServiceValidation protocol state machine
ProjectCommercializationServicedirections, proof stats, share pool, revenue pool
ProjectSharePoolServiceshare pool budget, reservation, minting
WorkbenchQueryServicework item projection
OrganizationAuthorityServiceProject capability
ProjectMemoryServicesource contract, active memory, agent context

Agent Boundary

FileResponsibility
skills/monopolyfun-agent/SKILL.mdSkill contract
scripts/agent-turn.mjsSingle-turn entrypoint
scripts/route-intent.mjsNatural language to action
scripts/execute-action.mjsGuarded API action
scripts/verify-action.mjsReadback verification

Change Checks

Change typeRequired check
Project behaviorProject detail, API readback, Workbench, Agent action
Validation behaviortask, proof, review, reward, settlement
Order behaviorOrderActionPolicy and UI actions
Memory behaviorsource, entry, contractHash, agent context
Skill behaviorroute, execute, verify, project smoke

Verification Commands

bash
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.