Skip to main content
Loading navigation
Back to prompt library

Build a Multi-Tenant Lease Fit-Out Demolition Tracker — implementation

Linked challenge: Build a Multi-Tenant Lease Fit-Out Demolition Tracker

Prompt source

implementation94 lines11 sectionsNo variables1 code block
## Build
Assess interior commercial tenant improvement plans against base building IFC models using ifcedit and ifcdiff principles. Track architectural components scheduled for salvage, alteration, or demolition.

## User
Commercial Tenant Improvement Coordinator

## Workflow
1. Compare base building IFC interior partition walls and doors against tenant fit-out plan.
2. Categorize elements into retain, modify, salvage, and demolish lifecycle stages.
3. Calculate total wall surface area and recyclable scrap metal stud weight.
4. Generate demolition authorization bill of quantities for general contractor review.

## Interface
Interactive spatial floor plan highlighting elements color-coded by lifecycle state with exportable BOM.

## Data
Sample commercial office IFC interior models with tagged tenant partition walls and doors.
Starter examples below are synthetic. They are not downloaded records.

## Source
[IfcOpenShell](https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.8.0/README.md)
Applies IfcOpenShell ifcedit mutation functions and ifcdiff comparison approaches to track fit-out revisions.

## Tools
mastra-ai, pydantic, fastapi.
Mastra AI provides deterministic workflow execution for managing demolition step gates and audit trails.
Standard reasoning LLM via hosted API to structure lifecycle categorization and material estimation.

## Deliverables
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

## Acceptance
- Accurately flags differences between base architectural model and fit-out layout.
- Assigns appropriate lifecycle status based on geometry and position matching.
- Computes aggregate demolition volume and expected metal framing scrap tonnage.

## Starter Examples
```json
[
  {
    "input": {
      "base_elements": [
        {
          "guid": "WALL-001",
          "type": "IfcWallStandardCase",
          "area_m2": 24,
          "stud_gauge": "20GA"
        },
        {
          "guid": "DOOR-001",
          "type": "IfcDoor",
          "width_m": 0.9
        }
      ],
      "fitout_elements": [
        {
          "guid": "WALL-001",
          "action": "RETAIN"
        },
        {
          "guid": "DOOR-001",
          "action": "DEMOLISH"
        }
      ]
    },
    "expected_output": {
      "retained_count": 1,
      "demolished_count": 1,
      "salvageable_doors": 1,
      "demolition_waste_area_m2": 0,
      "contractor_signoff_required": true
    }
  },
  {
    "input": {
      "base_elements": [
        {
          "guid": "WALL-002",
          "type": "IfcWallStandardCase",
          "area_m2": 35,
          "stud_gauge": "20GA"
        }
      ],
      "fitout_elements": [
        {
          "guid": "WALL-002",
          "action": "DEMOLISH"
        }
      ]
    },
    "expected_output": {
      "retained_count": 0,
      "demolished_count": 1,
      "salvageable_doors": 0,
      "demolition_waste_area_m2": 35,
      "contractor_signoff_required": true
    }
  }
]
```

## Safety
Fit-out demolition quantities are preliminary estimates; licensed structural engineers must inspect load-bearing walls.
Use mock external writes. Require human review before any real deployment.