Skip to content

AI Estimate triage tools (ai 1.13.0) — Production Readiness Audit

FieldValue
Date2026-09-16
StatusGo for production — Backend + Docs; no SPA/Mobile code
ScopeAsk EloSync Estimate tools: get_estimate, confirmed writes update_estimate_status / assign_estimate / add_estimate_note; catalog ai 1.12.0 → 1.13.0
CompanionAI deployment · AI Lead assign + note · AI Invoice triage · AI tools · Tenant AI API · User guide · Estimates · CHANGELOG

Executive summary

Additive AI tools depth on the existing AIGateway + AIToolRegistry + PendingAiActionService path. Reads: fetch one estimate. Writes: three low-risk tools that propose pending actions; mutations run only after POST /ai/actions/{id}/confirm. Status changes call EstimateService::changeStatus (same as HTTP POST …/status). Status auth mirrors the controller: Sent → send, Accepted → accept, else → update. Registry visibility for status uses AiToolAnyOfPermissions (estimates.update | estimates.send | estimates.accept). Assign uses estimates.assign + EligibleEstimateAssignee at propose and confirm. Notes are text-only with confirm-time max:5000. No new Spatie permissions, no Estimates catalog bump, no Frontend/Mobile changes.

Go / No-Go: Go. Cutover: migrate-only catalog bump to 1.13.0, entitle ai + estimates, staging smoke propose→confirm.

GateResult
Platform freeze (no parallel AI stack)Pass
UUID estimate lookup; soft-deleted excludedPass
Status propose/confirm: target-dependent send/accept/update + changeStatusPass
Status tool visible with any of update/send/acceptPass
Assign gated by estimates.assign + eligible assignee (propose and confirm)Pass
Note gated by estimates.update + policy update + body max 5000 on confirmPass
Propose does not mutatePass
Catalog migrate-only ai 1.13.0 + CatalogSeeder syncPass
Docs (tools, API, user tip, Estimates cross-links, overview, ops, roadmap, changelog, upgrade, VitePress)Pass
Pest write confirmation + registryPass
Playwright AI e2eN/A — no SPA surface change

Locked-decision matrix

DecisionBackendFrontendMobileDocs
Read tool: get one estimatePassPass
Confirmed writes via existing pending actionsPassPass (generic UI)Pass (generic UI)Pass
Status via HTTP /status semanticsPassPass
AiToolAnyOfPermissions for status visibilityPassPass
Catalog MINOR ai 1.13.0 only (not estimates)PassPass

Authz map (HTTP ↔ AI)

ActionHTTPAI tool / confirm
Get oneview (assignee-scoped unless assign / superadmin)get_estimate
Change statustarget-dependent (send / accept / update) + POST …/statusupdate_estimate_statusEstimateAiSupport::authorizeStatusChange + changeStatus
Assign / unassignassignassign_estimate + EligibleEstimateAssignee at propose and confirm
Note (text)updateadd_estimate_note + confirm max:5000

Upgrade & staging smoke

  1. php artisan migrate --force — catalog ai1.13.0 (do not db:seed).
  2. Entitle ai + estimates.
  3. Smoke: Ask EloSync fetch estimate → propose status/assign/note → Confirm.

Rollback

Roll back the catalog bump migration (down1.12.0). Tools remain in code but version claim reverts; no schema change.

Monitoring

Unchanged from AI platform readiness (Nightwatch / logs on AI gateway + pending action confirm failures).

Official documentation for the EloSync SaaS Platform.