Inspection Tracker Skill
Overview
The Inspection Tracker skill manages all construction inspections and permits throughout the project lifecycle. It provides real-time scheduling, result logging, re-inspection workflows, permit tracking, and comprehensive status reporting with integration into daily project management routines.
Data Model
Inspection Object
{
"id": "INSP-001",
"type": "Concrete Pre-placement",
"date_scheduled": "2025-03-15T09:00:00Z",
"date_completed": null,
"inspector": "John Smith",
"result": null,
"notes": "",
"deficiencies": [],
"re_inspection_required": false,
"re_inspection_id": null,
"linked_schedule_activity": "SAC-042",
"linked_hold_point": "HP-08",
"linked_spec_section": "03 30 00",
"location": "Building A, Level 2",
"photos": [],
"status": "scheduled"
}
Fields:
id: Unique identifier (INSP-001, INSP-002, etc.)
type: Inspection classification (see Standard & Special Inspection Types)
date_scheduled: ISO 8601 timestamp
date_completed: Completion timestamp; null if not yet completed
inspector: Name of inspector; external if not in approved list
result: pass, fail, conditional, cancelled, or null if pending
notes: Detailed observations, findings, or cancellation reason
deficiencies: Array of identified issues requiring correction (if result = fail)
re_inspection_required: Boolean; true if result = fail
re_inspection_id: Reference to linked re-inspection (INSP-NNN)
linked_schedule_activity: Schedule activity ID for smart linking (e.g., SAC-042)
linked_hold_point: Spec hold point reference (e.g., HP-08)
linked_spec_section: CSI specification section (e.g., 03 30 00)
location: Physical location (room, area, grid reference)
photos: Array of photo file paths or URLs for evidence
status: scheduled, completed, cancelled, hold (awaiting prerequisites)
Permit Object
{
"id": "PERMIT-001",
"type": "Building Permit",
"number": "BP-2025-4521",
"date_applied": "2025-02-01",
"date_issued": "2025-02-20",
"expiration": "2026-02-20",
"jurisdiction": "City Building Department",
"status": "active",
"conditions": ["Final inspection before occupancy", "Weekly inspection during excavation"],
"inspections_required": ["INSP-001", "INSP-003"],
"notes": ""
}
Fields:
id: Unique identifier (PERMIT-001, PERMIT-002, etc.)
type: Permit classification
number: Official permit number
date_applied: Application submission date
date_issued: Date permit was issued; null if pending
expiration: Expiration date for renewal tracking
jurisdiction: Issuing authority
status: applied, issued, active, expired, renewed
conditions: Array of permit conditions or special requirements
inspections_required: Array of inspection IDs required per permit
notes: Additional remarks or tracking notes
Standard Inspection Types
| ID |
Type |
Typical Spec Section |
Hold Point |
Notes |
| 01 |
Foundation |
03 11 00 |
HP-01 |
Before concrete placement |
| 02 |
Concrete Pre-placement |
03 30 00 |
HP-02 |
Rebar, formwork, reinforcement |
| 03 |
Rebar |
03 20 00 |
HP-03 |
Size, spacing, cover verification |
| 04 |
Formwork |
03 10 00 |
HP-04 |
Structural adequacy, bracing |
| 05 |
Structural Steel |
05 12 00 |
HP-05 |
Connections, bolt torque, straightness |
| 06 |
Underground Utilities |
33 00 00 |
HP-06 |
Location, depth, protection |
| 07 |
Electrical |
26 00 00 |
HP-07 |
Rough-in, panel installation, grounding |
| 08 |
Plumbing |
22 00 00 |
HP-08 |
Rough-in, pressure test, slope |
| 09 |
Mechanical |
23 00 00 |
HP-09 |
Equipment installation, ductwork |
| 10 |
Fire Protection |
21 00 00 |
HP-10 |
Sprinkler lines, device placement |
| 11 |
Insulation |
07 21 00 |
HP-11 |
R-value verification, continuity |
| 12 |
Fireproofing |
07 81 00 |
HP-12 |
Applied thickness, coverage |
| 13 |
Final |
01 77 00 |
HP-13 |
Walk-through, punch list generation |
Healthcare-Specific Inspections
| Type |
Trigger |
Requirement |
Notes |
| Life Safety |
Continuous |
Code compliance |
ADA accessibility, egress paths, alarm systems |
| ADA Compliance |
Pre-occupancy |
Americans with Disabilities Act |
Ramps, doors, restrooms, signage |
| State Health Dept |
Final |
Health Dept approval |
Medical gas outlets, emergency systems, infection control |
| Infection Control |
Pre-occupancy |
Special protocols |
HVAC testing, surface finishes, hand hygiene stations |
PEMB-Specific Special Inspections
Pre-Engineered Metal Building (PEMB) requires specialized inspections per AWS D1.1 and manufacturer specs:
| Type |
Tolerance |
Requirement |
Notes |
| Anchor Bolt |
±1/8" |
Location & elevation |
Grid reference, hold-down torque verification |
| High-Strength Bolt |
±1/32" |
Proper tension |
Calibrated wrench, bolt grade certification |
| Moment Connection |
±1/4" |
Beam-to-column welds |
100% visual + UT inspection required |
Special Inspection IDs: INSP-PEMB-001, INSP-PEMB-002, etc.
Auto-Linking Intelligence
The inspection-tracker skill automatically links inspections to project intelligence:
Schedule Activity Linking
Query project intelligence for schedule activities matching inspection date and type:
- "Concrete Pour Day" → auto-link to concrete pre-placement inspection
- "Steel Erection Week 3" → auto-link to structural steel inspection
- "Electrical Rough-In Phase" → auto-link to electrical inspection
Hold Point Linking
Cross-reference spec hold points from project spec database:
- Inspection type matched to standard hold point (HP-02, HP-05, etc.)
- Override if project-specific hold point defined
- Display linked hold point ID to superintendent
Specification Section Linking
Auto-populate CSI specification section reference:
- Foundation → 03 11 00
- Concrete → 03 30 00
- Structural Steel → 05 12 00
- Electrical → 26 00 00
Hold Point Auto-Population
Read specs-quality.json → hold_points[] → match inspection type to hold point by work_type:
- Pull the hold point's
inspection_name, trigger condition, inspector, and spec_reference
- Auto-populate the inspection's
linked_hold_point and linked_spec_section fields
- Example: Scheduling "Concrete Pre-placement" → match hold_points where work_type contains "Concrete" → auto-link HP-02 with trigger "Before concrete placement" and spec reference
Weather Threshold Check
Before scheduling outdoor inspections:
- Read
specs-quality.json → weather_thresholds[] → match by the inspection's work type
- Cross-check forecasted weather against
min_temp, max_temp, max_wind, and moisture_ok
- Flag if weather conditions may prevent the inspection or the underlying work (e.g., concrete pour inspection + temp < 40°F cold weather threshold)
- Include mitigation measures from the spec when flagging
Spec Section Deep-Link
When an inspection type is identified:
- Read
specs-quality.json → spec_sections[] → find the matching CSI section
- Pull specific
testing requirements (frequency, type, agency), acceptance criteria from key_req, and required documentation
- Auto-populate inspection notes with testing protocol and acceptance criteria
- Example: Compaction inspection → pull "95% modified Proctor, testing every 500 CY" from spec section
Schedule Activity Linking (Enhanced)
- Read
schedule.json → critical_path[] and milestones[] → match inspection date/type to schedule activities
- Auto-link inspection to schedule activity and flag if the activity is on the critical path
- If critical path: add note "Critical path activity — inspection delay will impact project completion"
Drawing Reference
When inspection location is identified:
- Read
plans-spatial.json → sheet_cross_references.drawing_index[] → find relevant structural/MEP drawings for the inspection location and discipline
- Include referenced sheet numbers in inspection record for field use
- Example: Foundation inspection at Grid C-3 → reference sheets S2.1, S5.1
Re-Inspection Workflow
When inspection result = fail:
Create Re-Inspection Entry:
- Auto-generate new INSP ID (sequential)
- Set type as "{Original Type} (Re-inspection)"
- Set
related_to field to original inspection ID
- Suggest date 48 hours after deficiency notification
Track Deficiencies:
- Collect detailed deficiency descriptions
- Log which contractor responsible for correction
- Reference section of spec violated
- Attach photos of deficiency
Notification:
- Alert responsible trade contractor
- Flag in morning brief
- Include in daily report until re-inspection passed
Closure:
- Log re-inspection result
- Document corrective action taken
- Release hold if pass
- Create additional re-inspection if still fail
Permit Tracking & Expiration Alerts
Auto-Alert Thresholds:
- 30 days to expiration: Yellow flag in status report; suggest renewal inquiry
- 7 days to expiration: Red flag; escalate to project manager
- Expired: Red flag; mark status as
expired; notify responsible party
Renewal Workflow:
- Track date application submitted for renewal
- Update status to
renewed upon reissuance
- Maintain continuous permit coverage throughout project
Integration Points
Morning Brief (/morning-brief)
Display under "Inspections & Permits" section:
- Upcoming inspections (next 24 hours) — show type, time, location, inspector
- Overdue inspections (no result logged) — Red flag with days overdue
- Permits expiring within 30 days — Yellow alert with days remaining
Look-Ahead Schedule (/look-ahead)
Include scheduled inspections in weekly look-ahead:
- Inspections integrated by date into weekly view
- Show impact on critical path if hold point inspection
- Cross-reference with material delivery/contractor schedule
- Highlight PEMB special inspections with bold/asterisk
Daily Report (/daily-report)
Section: "Inspections Today"
- Scheduled inspections for the day (time, type, location, inspector)
- Completed inspections from previous day (result, notes summary)
- Pending re-inspections affecting schedule
- Permit status reminder (expiring within 14 days)
Error Handling & Validation
- Duplicate Re-inspection: Warn if re-inspection already exists for same deficiency
- Invalid Inspector: Log "External Inspector" if not in approved list; alert PM
- Missing Linked Activity: Alert if schedule activity cannot be found; allow manual entry
- Permit Conflict: Warn if inspection scheduled outside permit scope
- Date Validation: Reject inspection scheduled before permit issued
- Status Consistency: Prevent result logging if status ≠
scheduled
Triggers & Voice Commands
- "Schedule an inspection"
- "Log inspection INSP-042"
- "Show inspection status"
- "What inspections are overdue?"
- "Upcoming inspections?"
- "Schedule a rebar inspection for Monday"
- "Inspection failed — need re-inspection"
- "Track permits"
- "When does the building permit expire?"
- "Special inspection — anchor bolts"
- "Healthcare inspection — state health dept"
Safety Incident Cross-Reference
For safety incidents discovered during inspections, route to the safety-management skill for incident documentation, root cause analysis (5-Why, Fishbone), OSHA recordkeeping (300/300A/301), and corrective action tracking. Write incident data to safety-log.json, not inspection-log.json.
When an inspection failure reveals a safety concern:
- Log the inspection result normally in
inspection-log.json (result: "fail", deficiencies noted)
- Create a separate safety incident via the safety-management skill → writes to
safety-log.json
- Cross-reference the inspection ID in the safety incident record
- The safety-management skill handles TRIR calculation, OSHA compliance, and corrective action lifecycle
Extended reference: Detailed examples, templates, scoring rubrics, and best practices are in references/skill-detail.md.
1---2name: inspection-tracker3description: Track inspections and permits through the construction lifecycle. Handles scheduling, result logging, re-inspection tracking, permit management, and status reporting. Healthcare-specific: state health dept inspections, life safety, ADA compliance. PEMB-specific: anchor bolt, high-strength bolt, moment connection special inspections. Integrates with morning brief and look-ahead. Triggers: "inspection", "schedule inspection", "log inspection", "inspection status", "permit", "failed inspection", "re-inspect", "upcoming inspections", "special inspection".4---56# Inspection Tracker Skill78## Overview910The Inspection Tracker skill manages all construction inspections and permits throughout the project lifecycle. It provides real-time scheduling, result logging, re-inspection workflows, permit tracking, and comprehensive status reporting with integration into daily project management routines.1112## Data Model1314### Inspection Object1516```json17{18 "id": "INSP-001",19 "type": "Concrete Pre-placement",20 "date_scheduled": "2025-03-15T09:00:00Z",21 "date_completed": null,22 "inspector": "John Smith",23 "result": null,24 "notes": "",25 "deficiencies": [],26 "re_inspection_required": false,27 "re_inspection_id": null,28 "linked_schedule_activity": "SAC-042",29 "linked_hold_point": "HP-08",30 "linked_spec_section": "03 30 00",31 "location": "Building A, Level 2",32 "photos": [],33 "status": "scheduled"34}35```3637**Fields:**38- `id`: Unique identifier (INSP-001, INSP-002, etc.)39- `type`: Inspection classification (see Standard & Special Inspection Types)40- `date_scheduled`: ISO 8601 timestamp41- `date_completed`: Completion timestamp; null if not yet completed42- `inspector`: Name of inspector; external if not in approved list43- `result`: `pass`, `fail`, `conditional`, `cancelled`, or `null` if pending44- `notes`: Detailed observations, findings, or cancellation reason45- `deficiencies`: Array of identified issues requiring correction (if result = fail)46- `re_inspection_required`: Boolean; true if result = fail47- `re_inspection_id`: Reference to linked re-inspection (INSP-NNN)48- `linked_schedule_activity`: Schedule activity ID for smart linking (e.g., SAC-042)49- `linked_hold_point`: Spec hold point reference (e.g., HP-08)50- `linked_spec_section`: CSI specification section (e.g., 03 30 00)51- `location`: Physical location (room, area, grid reference)52- `photos`: Array of photo file paths or URLs for evidence53- `status`: `scheduled`, `completed`, `cancelled`, `hold` (awaiting prerequisites)5455### Permit Object5657```json58{59 "id": "PERMIT-001",60 "type": "Building Permit",61 "number": "BP-2025-4521",62 "date_applied": "2025-02-01",63 "date_issued": "2025-02-20",64 "expiration": "2026-02-20",65 "jurisdiction": "City Building Department",66 "status": "active",67 "conditions": ["Final inspection before occupancy", "Weekly inspection during excavation"],68 "inspections_required": ["INSP-001", "INSP-003"],69 "notes": ""70}71```7273**Fields:**74- `id`: Unique identifier (PERMIT-001, PERMIT-002, etc.)75- `type`: Permit classification76- `number`: Official permit number77- `date_applied`: Application submission date78- `date_issued`: Date permit was issued; null if pending79- `expiration`: Expiration date for renewal tracking80- `jurisdiction`: Issuing authority81- `status`: `applied`, `issued`, `active`, `expired`, `renewed`82- `conditions`: Array of permit conditions or special requirements83- `inspections_required`: Array of inspection IDs required per permit84- `notes`: Additional remarks or tracking notes8586## Standard Inspection Types8788| ID | Type | Typical Spec Section | Hold Point | Notes |89|----|------|----------------------|------------|-------|90| 01 | Foundation | 03 11 00 | HP-01 | Before concrete placement |91| 02 | Concrete Pre-placement | 03 30 00 | HP-02 | Rebar, formwork, reinforcement |92| 03 | Rebar | 03 20 00 | HP-03 | Size, spacing, cover verification |93| 04 | Formwork | 03 10 00 | HP-04 | Structural adequacy, bracing |94| 05 | Structural Steel | 05 12 00 | HP-05 | Connections, bolt torque, straightness |95| 06 | Underground Utilities | 33 00 00 | HP-06 | Location, depth, protection |96| 07 | Electrical | 26 00 00 | HP-07 | Rough-in, panel installation, grounding |97| 08 | Plumbing | 22 00 00 | HP-08 | Rough-in, pressure test, slope |98| 09 | Mechanical | 23 00 00 | HP-09 | Equipment installation, ductwork |99| 10 | Fire Protection | 21 00 00 | HP-10 | Sprinkler lines, device placement |100| 11 | Insulation | 07 21 00 | HP-11 | R-value verification, continuity |101| 12 | Fireproofing | 07 81 00 | HP-12 | Applied thickness, coverage |102| 13 | Final | 01 77 00 | HP-13 | Walk-through, punch list generation |103104## Healthcare-Specific Inspections105106| Type | Trigger | Requirement | Notes |107|------|---------|-------------|-------|108| Life Safety | Continuous | Code compliance | ADA accessibility, egress paths, alarm systems |109| ADA Compliance | Pre-occupancy | Americans with Disabilities Act | Ramps, doors, restrooms, signage |110| State Health Dept | Final | Health Dept approval | Medical gas outlets, emergency systems, infection control |111| Infection Control | Pre-occupancy | Special protocols | HVAC testing, surface finishes, hand hygiene stations |112113## PEMB-Specific Special Inspections114115Pre-Engineered Metal Building (PEMB) requires specialized inspections per AWS D1.1 and manufacturer specs:116117| Type | Tolerance | Requirement | Notes |118|------|-----------|-------------|-------|119| Anchor Bolt | ±1/8" | Location & elevation | Grid reference, hold-down torque verification |120| High-Strength Bolt | ±1/32" | Proper tension | Calibrated wrench, bolt grade certification |121| Moment Connection | ±1/4" | Beam-to-column welds | 100% visual + UT inspection required |122123**Special Inspection IDs:** INSP-PEMB-001, INSP-PEMB-002, etc.124125## Auto-Linking Intelligence126127The inspection-tracker skill automatically links inspections to project intelligence:128129### Schedule Activity Linking130Query project intelligence for schedule activities matching inspection date and type:131- "Concrete Pour Day" → auto-link to concrete pre-placement inspection132- "Steel Erection Week 3" → auto-link to structural steel inspection133- "Electrical Rough-In Phase" → auto-link to electrical inspection134135### Hold Point Linking136Cross-reference spec hold points from project spec database:137- Inspection type matched to standard hold point (HP-02, HP-05, etc.)138- Override if project-specific hold point defined139- Display linked hold point ID to superintendent140141### Specification Section Linking142Auto-populate CSI specification section reference:143- Foundation → 03 11 00144- Concrete → 03 30 00145- Structural Steel → 05 12 00146- Electrical → 26 00 00147148### Hold Point Auto-Population149Read `specs-quality.json` → `hold_points[]` → match inspection type to hold point by `work_type`:150- Pull the hold point's `inspection_name`, `trigger` condition, `inspector`, and `spec_reference`151- Auto-populate the inspection's `linked_hold_point` and `linked_spec_section` fields152- Example: Scheduling "Concrete Pre-placement" → match hold_points where work_type contains "Concrete" → auto-link HP-02 with trigger "Before concrete placement" and spec reference153154### Weather Threshold Check155Before scheduling outdoor inspections:156- Read `specs-quality.json` → `weather_thresholds[]` → match by the inspection's work type157- Cross-check forecasted weather against `min_temp`, `max_temp`, `max_wind`, and `moisture_ok`158- Flag if weather conditions may prevent the inspection or the underlying work (e.g., concrete pour inspection + temp < 40°F cold weather threshold)159- Include mitigation measures from the spec when flagging160161### Spec Section Deep-Link162When an inspection type is identified:163- Read `specs-quality.json` → `spec_sections[]` → find the matching CSI section164- Pull specific `testing` requirements (frequency, type, agency), acceptance criteria from `key_req`, and required documentation165- Auto-populate inspection notes with testing protocol and acceptance criteria166- Example: Compaction inspection → pull "95% modified Proctor, testing every 500 CY" from spec section167168### Schedule Activity Linking (Enhanced)169- Read `schedule.json` → `critical_path[]` and `milestones[]` → match inspection date/type to schedule activities170- Auto-link inspection to schedule activity and flag if the activity is on the critical path171- If critical path: add note "Critical path activity — inspection delay will impact project completion"172173### Drawing Reference174When inspection location is identified:175- Read `plans-spatial.json` → `sheet_cross_references.drawing_index[]` → find relevant structural/MEP drawings for the inspection location and discipline176- Include referenced sheet numbers in inspection record for field use177- Example: Foundation inspection at Grid C-3 → reference sheets S2.1, S5.1178179## Re-Inspection Workflow180181When inspection result = `fail`:1821831. **Create Re-Inspection Entry:**184 - Auto-generate new INSP ID (sequential)185 - Set type as "{Original Type} (Re-inspection)"186 - Set `related_to` field to original inspection ID187 - Suggest date 48 hours after deficiency notification1881892. **Track Deficiencies:**190 - Collect detailed deficiency descriptions191 - Log which contractor responsible for correction192 - Reference section of spec violated193 - Attach photos of deficiency1941953. **Notification:**196 - Alert responsible trade contractor197 - Flag in morning brief198 - Include in daily report until re-inspection passed1992004. **Closure:**201 - Log re-inspection result202 - Document corrective action taken203 - Release hold if pass204 - Create additional re-inspection if still fail205206## Permit Tracking & Expiration Alerts207208**Auto-Alert Thresholds:**209- **30 days to expiration:** Yellow flag in status report; suggest renewal inquiry210- **7 days to expiration:** Red flag; escalate to project manager211- **Expired:** Red flag; mark status as `expired`; notify responsible party212213**Renewal Workflow:**214- Track date application submitted for renewal215- Update status to `renewed` upon reissuance216- Maintain continuous permit coverage throughout project217218## Integration Points219220### Morning Brief (`/morning-brief`)221Display under "Inspections & Permits" section:222- Upcoming inspections (next 24 hours) — show type, time, location, inspector223- Overdue inspections (no result logged) — Red flag with days overdue224- Permits expiring within 30 days — Yellow alert with days remaining225226### Look-Ahead Schedule (`/look-ahead`)227Include scheduled inspections in weekly look-ahead:228- Inspections integrated by date into weekly view229- Show impact on critical path if hold point inspection230- Cross-reference with material delivery/contractor schedule231- Highlight PEMB special inspections with bold/asterisk232233### Daily Report (`/daily-report`)234Section: "Inspections Today"235- Scheduled inspections for the day (time, type, location, inspector)236- Completed inspections from previous day (result, notes summary)237- Pending re-inspections affecting schedule238- Permit status reminder (expiring within 14 days)239240## Error Handling & Validation241242- **Duplicate Re-inspection:** Warn if re-inspection already exists for same deficiency243- **Invalid Inspector:** Log "External Inspector" if not in approved list; alert PM244- **Missing Linked Activity:** Alert if schedule activity cannot be found; allow manual entry245- **Permit Conflict:** Warn if inspection scheduled outside permit scope246- **Date Validation:** Reject inspection scheduled before permit issued247- **Status Consistency:** Prevent result logging if status ≠ `scheduled`248249## Triggers & Voice Commands250251- "Schedule an inspection"252- "Log inspection INSP-042"253- "Show inspection status"254- "What inspections are overdue?"255- "Upcoming inspections?"256- "Schedule a rebar inspection for Monday"257- "Inspection failed — need re-inspection"258- "Track permits"259- "When does the building permit expire?"260- "Special inspection — anchor bolts"261- "Healthcare inspection — state health dept"262263## Safety Incident Cross-Reference264265For safety incidents discovered during inspections, route to the **safety-management** skill for incident documentation, root cause analysis (5-Why, Fishbone), OSHA recordkeeping (300/300A/301), and corrective action tracking. Write incident data to `safety-log.json`, not `inspection-log.json`.266267When an inspection failure reveals a safety concern:2681. Log the inspection result normally in `inspection-log.json` (result: "fail", deficiencies noted)2692. Create a separate safety incident via the safety-management skill → writes to `safety-log.json`2703. Cross-reference the inspection ID in the safety incident record2714. The safety-management skill handles TRIR calculation, OSHA compliance, and corrective action lifecycle272273---274275> **Extended reference**: Detailed examples, templates, scoring rubrics, and best practices are in `references/skill-detail.md`.