Omar Sobh
d2b1f0569e
cm-api: quota — enforce max_active_runs on run enqueue
...
Adds a Quota.max_active_runs ceiling (queued + running topology runs at
once, per workspace) to stop a single workspace flooding the shared queue.
Free tier: 10, Pro: 25, Team: 100. Enforced at every /run enqueue site:
run_org, run_company, run_team, and the webhook trigger. Webhooks return
429 rather than 402 so external callers can back off — the guard is what
stops a leaked webhook token from being weaponized into a queue flood.
A single team run also spawns a tier-tree of children, so the practical
cap grows with the topology — this counts the outer runs, not every step.
2026-07-05 18:49:03 -07:00
Omar Sobh and Claude Opus 4.8
34f744734b
Large World graph, agent platform, brain stack & dashboard rebuild
...
Frontend
- Large World: collapse org/company/team tiers into one expandable React Flow
hierarchy (WorldFlow) with per-click expand, persisted node positions, a
compact tree sidebar, wrench multi-select delete across levels, and a sized
right slide-out (phone/tablet/full) showing an agent summary + drill button.
- Agent page: GitHub-style animated contribution grid (VitalsCard), collapsible
System Prompt + Personality cards, restructured anatomy cards, bigger avatar
with name/title header row, Markdown/JSON-aware rendering, brain registry +
history, avatar generate/upload.
- User-icon menu (Infrastructure/Brains/Tools/Profile/Credits) + ToolPanel;
Master Planner deploy wizard (Specialists/Swarm/Scheduled/Triggered);
Team Runs view; reap-progress modal; dashboard is the single live interface.
Backend
- cm-brain crate (.brain as the agent definition) + brain apply/history.
- Hard-purge reap (FK-ordered) + sandbox release + SSE batch-delete.
- Swarm self-verifying loop, mode-aware planner, web.search tool, webhooks
(migration 0013), org/company/team delete endpoints, scheduler sweeps.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected] >
2026-06-22 23:21:54 -07:00
Omar Sobh and Claude Opus 4.8
3eca4ed70c
Recursive deploy ladder: Company + Org tiers, mesh mark, two-tier rail
...
Completes the scale ladder (single → team → company → org). Every tier is a
topology whose nodes are the tier below; running a parent recursively runs each
child's sub-topology down to the leaf claws.
Backend:
- migration 0011: companies/company_teams, orgs/org_companies, topology_runs.tier
- cm-db repos for companies + orgs (mirror teams)
- TurnRequest.attrs (forwarded from node.attrs) for child-id binding
- SubTopologyExecutor (recursive_exec.rs): a parent "turn" runs the child's
sub-topology; durability via parent updated_at keepalive + cancel propagation
+ depth cap; boxed future breaks the org→company recursion
- topology_worker selects executor by job.tier
- routes: /api/companies, /api/orgs (create/list/get/run) + unified
/api/structure/{level}/{id} for the zoom canvas
Frontend:
- MeshMark: node-mesh brand glyph (replaces the claw PNG), tier variants
- TopologyGraphView: optional onNodeClick/nodeMeta + dark-token theming
- StructureCanvas + Breadcrumb: one recursive zoom view for every tier
(drill down on node click, breadcrumb up); TeamRunPanel extracted + shared
- two-tier Discord-style rail: StructureRail (mesh mark + org/company/team
glyphs + tools popover + deploy + user) | RosterColumn (selected group's
children, or your claws); SecondaryNav for cross-cutting tools
- ComposeWizard (company/org) wired into DeployWizard; /companies + /orgs pages
Co-Authored-By: Claude Opus 4.8 <[email protected] >
2026-06-18 14:25:06 -07:00