Skip to content

Operation Contracts

Operation contracts define what an agent can safely call, what params are required, what paths are created, and which evals are affected.

Creates a parcel from boundary geometry.

FieldValue
targetPathsite.{site}.parcels
Required paramsid, boundary
Optional paramscoordinateSpace, source, metadata
Createssite.{site}.parcels.{parcel}
Affects evalsparcel.boundary_closed, parcel.no_self_intersection, parcel.edge_classification_complete
{
"type": "plotParcel",
"targetPath": "site.main.parcels",
"params": {
"id": "pcl_001",
"coordinateSpace": "site.main.frames.local",
"boundary": {
"unit": "mm",
"edges": [
{ "id": "front", "from": [0, 0], "to": [42000, 0], "tags": ["frontage"] },
{ "id": "east", "from": [42000, 0], "to": [39000, 28000] },
{ "id": "rear", "from": [39000, 28000], "to": [4000, 31000] },
{ "id": "west", "from": [4000, 31000], "to": [0, 0] }
]
}
}
}

Adds a deterministic planning constraint to a parcel, site, envelope, or building.

FieldValue
targetPath.constraints group
Required paramskind, rule-specific params
Optional paramsid, authority, source, metadata
CreatesConstraint path under target constraints group
Affects evalsPlanning evals matching rule kind
{
"type": "addPlanningRule",
"targetPath": "site.main.parcels.pcl_001.constraints.setbacks",
"params": {
"id": "front",
"kind": "setback",
"from": "boundary.edges.front",
"distance": "5000mm"
}
}

Creates a terrain surface from points, contours, grid data, or an imported source.

FieldValue
targetPathsite.{site}.terrain
Required paramsid, representation
Optional paramssource, points, contours, breaklines, coordinateSpace
Createssite.{site}.terrain.{surface}
Affects evalsterrain.valid_surface, terrain.slope_threshold, terrain.drainage_conflict
{
"type": "createTerrainSurface",
"targetPath": "site.main.terrain",
"params": {
"id": "existing",
"representation": "contours",
"source": "survey.existing_topo"
}
}

Derives a buildable envelope from parcel geometry and constraints.

FieldValue
targetPathsite.{site}.parcels.{parcel}
Required paramsrules
Optional paramsoutputPath, tolerance
Createssite.{site}.envelopes.{envelope}
Affects evalsplanning.setback_distance, planning.lot_coverage, planning.envelope_compliance
{
"type": "computeBuildableEnvelope",
"targetPath": "site.main.parcels.pcl_001",
"params": {
"rules": ["constraints.setbacks", "constraints.height_limit", "constraints.lot_coverage"],
"outputPath": "site.main.envelopes.primary",
"tolerance": { "linear": "5mm" }
}
}

Generates floorplates inside an envelope or massing volume.

FieldValue
targetPathbuildings.{building}
Required paramsenvelope
Optional paramslevels, floorToFloor, maxDepth, strategy, tolerance
Createsbuildings.{building}.levels.{level}.floorplate
Affects evalsbuilding.footprint_inside_envelope, building.floorplate_efficiency, planning.far
{
"type": "generateFloorplates",
"targetPath": "buildings.b_001",
"params": {
"envelope": "site.main.envelopes.primary",
"floorToFloor": "3100mm",
"maxDepth": "14500mm",
"strategy": "maximize_gfa"
}
}

Places or updates a building core.

FieldValue
targetPathbuildings.{building}.systems.core.{core}
Required paramsstrategy
Optional paramsstairs, elevators, shafts, minClearances, tolerance
CreatesCore, stairs, elevators, shafts, and related relations
Affects evalsbuilding.core_placement, building.egress_routes, building.service_shaft_continuity
{
"type": "placeCore",
"targetPath": "buildings.b_001.systems.core.main",
"params": {
"strategy": "central",
"stairs": 2,
"elevators": 2
}
}

Repairs or adjusts massing so it fits an envelope.

FieldValue
targetPathbuildings.{building} or buildings.{building}.massing.{mass}
Required paramsenvelope
Optional paramspreserveGfa, allowedMoves, tolerance
CreatesUpdated massing and derived floorplate changes
Affects evalsplanning.envelope_compliance, planning.lot_coverage, planning.far
{
"type": "fitMassingToEnvelope",
"targetPath": "buildings.b_001",
"params": {
"envelope": "site.main.envelopes.primary",
"preserveGfa": false,
"allowedMoves": ["shrink_footprint", "reduce_upper_levels"]
}
}