Documentation Fixes Applied โ 2026-05-22
Summary of Changesโ
| Task | Status | Files Modified |
|---|---|---|
| P0-1: Terminology Fixes | โ Complete | docs/user-stories.md |
| P0-2: /am/ Routes* | โ Complete | docs/api/reference.md |
| P0-3: Agent Dispatch Path | โ Complete | docs/technical-scopes.md |
| P0-4/5: Expert Pool Removal | โ Complete | docs/design/VIEWS_BY_ROLE.md, docs/design/INFORMATION_ARCHITECTURE.md, docs/ops/pool-seed.sql (deleted) |
| P0-10: Onboarding Simplification | โ Complete | docs/features/onboarding.md, docs/design/VIEWS_BY_ROLE.md |
| Tool Permission UI Fix | โ Complete | docs/user-stories.md, docs/design/INFORMATION_ARCHITECTURE.md |
| API Endpoint Audit | โ Complete | docs/api/reference.md (+50 endpoints) |
| IA.md Route Cleanup | โ Complete | docs/design/INFORMATION_ARCHITECTURE.md |
Detailed Changesโ
1. Terminology Fixes (P0-1)โ
Fixed in user-stories.md:
- โ "AI agents" โ "Specialists" (client-facing AI personas)
- โ "AI agent" โ "AI Agent" (sandboxed backend runtime)
- โ "expert" โ "Expert" (human reviewers, capitalized)
- โ "agent" โ "Specialist" in client-facing contexts
- โ "my agent" โ "my Specialist" consistently
- โ "the agent" โ "the Specialist" consistently
- โ "agent actions" โ "Expert actions" (where referring to human)
- โ Updated Expert section header to clarify: "A human domain Expert who supervises Specialist AI Agents"
- โ Fixed E-P1 user story to reference "assigned clients" instead of "pools"
- โ Fixed E-R11 to remove pool reference
2. /am/* Routes Deprecated (P0-2)โ
Fixed in api/reference.md:
- โ
Added deprecation notice to
/am/*section header - โ
Marked all
/am/*endpoints with โ ๏ธ Legacy badge - โ
Added note to use
/ops/clientsinstead of/am/orgs - โ
Created new "Organizations (Ops Portal) โ Preferred" section documenting
/ops/*routes - โ
Fixed endpoint
assign-agentโassign-specialist
3. Agent Dispatch Path (P0-3)โ
Fixed in technical-scopes.md:
- โ
Updated dispatch path from
/graph/invoketo/v1/chatvia Hermes CLI - โ
Added note that LangGraph
/graph/invokewas removed
4. Expert Pool Removal (P0-4/5)โ
Fixed:
- โ
user-stories.md: Fixed E-P1 to reference direct assignment instead of pools - โ
design/VIEWS_BY_ROLE.md: Deprecated/workspace/poolsscreen - โ
design/VIEWS_BY_ROLE.md: Updated settings to show "Assigned Organizations" instead of "Pools I'm a member of" - โ
design/VIEWS_BY_ROLE.md: Updated analytics to show "org average" instead of "pool average" - โ
design/INFORMATION_ARCHITECTURE.md: Removed/workspace/poolsand/workspace/collabroutes - โ
design/INFORMATION_ARCHITECTURE.md: Removed/ops/poolsfrom Superadmin nav - โ
Deleted
docs/ops/pool-seed.sql
5. Onboarding Simplification (P0-10)โ
Fixed:
- โ
features/onboarding.md: Updated from 6-step to 4-step wizard - โ Removed dedicated Steps 2.4 (Channels) and 2.5 (Optional/Billing)
- โ
Added note that channels and billing are post-onboarding from
/client/settings/* - โ
design/VIEWS_BY_ROLE.md: Updated AM wizard Step 4 to reflect simplified checklist
6. Tool Permission UI Discrepancy Fixedโ
Fixed in user-stories.md:
- โ Changed SA-P5 from "[Implemented]" to "โ Not implemented โ API only"
- โ Added note: API exists but no frontend UI built
Fixed in design/INFORMATION_ARCHITECTURE.md:
- โ Updated Tools tab description to "API only; no frontend UI"
- โ Changed status from "P0 โ done" to "P1 gap โ API exists"
Fixed in gaps table:
- โ Un-crossed-out "Tool permission management UI" in gaps list
7. API Endpoint Audit โ 50+ Endpoints Addedโ
Added to api/reference.md:
- โ
Auto-Reply Configuration (
GET/PATCH /orgs/:orgId/auto-reply-config) - โ Email Whitelist (AM and Client routes)
- โ
Expert-Org Assignment (
/organizations/:orgId/experts,/am/orgs/:orgId/experts) - โ
Client Context (
/client/context,/client/specialists,/client/org-info) - โ
Corrections (
/corrections,/learning/corrections/export, stats) - โ
Scheduler (
/scheduler/jobs,/scheduler/health) - โ Superadmin Operations (invite-token, delete org, RAGFlow provision, rebrand, deactivate)
- โ
Upload (
/upload,/upload/signed-url) - โ
Org Audit (
/orgs/:orgId/audit) - โ
Onboarding (
/onboarding/:token/business-context,/api/slugs/:slug/resolve) - โ
Expert Queue Additional (
PATCH /expert-queue/:id,/expert-queue/admin/resurface-snoozed) - โ
Nango Integrations (
/v1/integrations/nango/session,/v1/integrations/credentials/nango/confirm) - โ
Marketing (
/marketing/companies/lead,/marketing/experts/application,/marketing/specialists)
8. Information Architecture Cleanupโ
Fixed in design/INFORMATION_ARCHITECTURE.md:
- โ
Removed
/workspace/collabfrom Expert site map - โ
Removed
/workspace/poolsfrom Expert site map - โ
Updated
/workspace/analyticsdescription (removed "pool") - โ
Removed
/ops/poolsfrom Superadmin site map - โ
Removed
/superadmin/poolslegacy redirect - โ Updated Superadmin tab bar (removed Pools)
- โ
Updated
/ops/clients/[id]route description (Tools tab is API only)
โ All Flagged Items Resolvedโ
Based on your responses:
-
โ Specialist-Agent-Expert Architecture โ Docs already reflect this correctly in
user-stories.mdintro andAGENT_ARCHITECTURE.md -
โ API Endpoint Audit โ Completed. Added 50+ missing endpoints to
api/reference.md -
โ Update IA.md โ Completed. Removed
/workspace/pools,/workspace/collab,/ops/pools -
โ Tool Permission UI โ Fixed. Marked as "โ Not implemented" (API only)
Files Modified Summaryโ
docs/
โโโ api/reference.md (+ deprecation notices, /ops/* section, +50 endpoints)
โโโ features/onboarding.md (+ simplified 4-step wizard)
โโโ design/VIEWS_BY_ROLE.md (+ deprecated pools, updated wizard)
โโโ design/INFORMATION_ARCHITECTURE.md (+ removed pools/collab, updated nav, fixed tools tab)
โโโ technical-scopes.md (+ fixed agent dispatch path)
โโโ user-stories.md (+ terminology fixes, fixed tool permission status)
โโโ ops/pool-seed.sql (DELETED)
This report was generated on 2026-05-22. All P0 items addressed. Ready for Docusaurus rebuild.