WFDASH-WEBAPP/docs
Dave 37933ccdc0 feat(orders): quote matching is AI-only
The rule-based matcher no longer writes or shows suggestions: on
2026-10-24 it had left 2,888 on unlinked orders, one quote suggested
to 309 of them.

- createOrder runs the AI order assistant (matchOrder) straight after
  intake when it is switched on, instead of the rule-based suggestion
- order page: Re-match / Try again and the rule-based suggestion card
  are gone; Match with AI is the action, and "Match by reference" saves
  the reference then runs the AI (the run route takes { reference })
- the unauthenticated /orders/[id]/quote-match route is removed
- the sweep route and MCP orders.quote_match_sweep run the AI batch
  (matchUnlinkedOrders, shared with the tick)
- scripts/2026-10-24-clear-rule-quote-suggestions.ts clears the old
  suggestions (dry run unless --apply); replaces the rematch script,
  which would have written rule-based ones again
- also fixes the setState-in-effect lint error on the order page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 20:49:26 +02:00
..
agents docs(hermes): bump tool count + add 'three quote-creation tools' callout 2026-08-27 07:50:17 +02:00
api-reference feat(quotes): add person_hint for customer resolution in forwarded emails 2026-08-27 11:11:44 +02:00
audit docs(quote-assistant): runbook accuracy, MCP tool listed in API docs 2026-10-16 23:42:44 +02:00
bugs docs(bugs): add post-mortem for MCP initialize handshake bug 2026-08-05 01:53:02 +02:00
example-quotes feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
pocketbase feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
sops refactor(sops): streamline SOP documents for roles, consolidating content into quickstart guides for easier reference 2026-09-03 17:57:49 +02:00
superpowers docs(plan): AI order assistant implementation plan 2026-10-24 11:41:21 +02:00
theme-preview feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
0136daf3-3ebd-4bca-876e-316271a40303.jsonl feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
AGENT_INSTRUCTIONS.md docs(mcp): document stock_items.set_pricing and create pricing fields 2026-10-01 01:02:44 +02:00
api-mcp-layer.md docs(quote-assistant): runbook accuracy, MCP tool listed in API docs 2026-10-16 23:42:44 +02:00
collection-ai-checks.md feat(collection-confirm): collected stock orders go through Collection Confirm 2026-10-19 17:03:33 +02:00
collection-return-to-pool.md feat(collection): return mistaken pickups to pool 2026-10-21 03:37:01 +02:00
core-recheck-matrix.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
counter-pwa.md feat(counter): add standalone counter order PWA 2026-08-13 09:27:20 +02:00
deliveries-n8n-workflow.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
dev-guide.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
django-nextjs-parity-backlog.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
driver-app-data-source.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
migration-audit.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
n8n-ai-insights-prompt.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
n8n-mcp-setup.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
n8n-watchdog-agent-instructions.md fix(quotes-intake): clamp email_body to PB's 5000-char cap 2026-09-08 10:28:20 +02:00
order-assistant.md feat(orders): quote matching is AI-only 2026-10-24 20:49:26 +02:00
order-items-schema-standard.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
order-workflow-rules.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
orders-first-rollout.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
pricelist-extraction.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
qa-review.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
qa-review.verify.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
quote-assistant.md docs(quote-assistant): runbook accuracy, MCP tool listed in API docs 2026-10-16 23:42:44 +02:00
quotes-email-monitor.md feat(quotes): resolve customer from person_hint when rep forwards email 2026-08-27 10:45:51 +02:00
quotes-outbound-attachments-deploy.md feat(quotes): split attachments into internal vs outbound with operator upload UI 2026-09-09 13:43:56 +02:00
rep-performance-data-source.md feat(audit): implement audit trail for delivery notes and orders 2026-09-30 01:48:44 +02:00
SHIPPED.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
tv-dashboard.md feat(tv-dashboard): enhance TV dashboard with driver stops and performance metrics 2026-08-19 10:16:49 +02:00
wfdash-v5-deployment.md feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00