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]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
bba18a4687
commit
3eca4ed70c
@@ -6,16 +6,17 @@
|
||||
|
||||
import { useState } from "react";
|
||||
|
||||
import { ComposeWizard } from "./ComposeWizard";
|
||||
import { CreateClawForm } from "./CreateClawForm";
|
||||
import { TeamWizard } from "./TeamWizard";
|
||||
|
||||
type Scope = "choose" | "single" | "team";
|
||||
type Scope = "choose" | "single" | "team" | "company" | "org";
|
||||
|
||||
const TIERS: { key: Scope; title: string; blurb: string; soon?: boolean }[] = [
|
||||
{ key: "single", title: "Single claw", blurb: "One agent, crafted by you — maximum control & fidelity." },
|
||||
{ key: "team", title: "Team", blurb: "A baseline topology staffed with templated claws." },
|
||||
{ key: "company" as Scope, title: "Company", blurb: "A topology of teams.", soon: true },
|
||||
{ key: "org" as Scope, title: "Organization", blurb: "Multiple company templates.", soon: true },
|
||||
{ key: "company", title: "Company", blurb: "A topology of teams." },
|
||||
{ key: "org", title: "Organization", blurb: "A topology of companies." },
|
||||
];
|
||||
|
||||
export function DeployWizard() {
|
||||
@@ -23,6 +24,8 @@ export function DeployWizard() {
|
||||
|
||||
if (scope === "single") return <CreateClawForm />;
|
||||
if (scope === "team") return <TeamWizard />;
|
||||
if (scope === "company") return <ComposeWizard tier="company" />;
|
||||
if (scope === "org") return <ComposeWizard tier="org" />;
|
||||
|
||||
return (
|
||||
<div className="grid w-full max-w-2xl grid-cols-1 gap-3 sm:grid-cols-2">
|
||||
|
||||
Reference in New Issue
Block a user