REA Accounting
The Resource-Event-Agent event ledger that underpins scoring and contribution tracking
Why REA
The event shape
interface REAEvent {
id: string;
timestamp: number;
resource?: {
type?: string;
quantity?: number;
unit?: string;
resourceId?: string | number;
[key: string]: any;
};
provider?: { id?: string | number; type?: string; name?: string; [key: string]: any };
receiver?: { id?: string | number; type?: string; name?: string; [key: string]: any };
context?: {
holonId?: string;
questId?: string | null;
itemId?: string | number;
expenseId?: string;
note?: string | null;
[key: string]: any;
};
eventType?: string;
status?: string;
[key: string]: any;
}Storage
The Event Factory
Where it plugs in
MCP tool surface
See also
Last updated
Was this helpful?