diff --git a/README.md b/README.md index 307602d..d9a7d94 100644 --- a/README.md +++ b/README.md @@ -131,26 +131,11 @@ These scenarios use simulated payment/identity adapters and mocked persistence. The frontend is organized around six personas. Backend services own their business data and communicate through authenticated APIs and Kafka events. -```mermaid -flowchart LR - UI[React role workspaces] --> GW[API gateway] - GW --> AUTH[Authentication and tenant scope] - GW --> T[Ticket lifecycle and conversations] - GW --> O[AI workflow and controlled actions] - GW --> R[Routing and SLA queues] - GW --> K[Knowledge lifecycle and retrieval] - O --> A[AI analysis and evidence processing] - O --> R - O --> K - T -->|Transactional outbox| E[(Kafka)] - E --> O - O -->|Triage result| E - E --> T - K --> V[(PostgreSQL / pgvector)] - T --> S[(MinIO attachments)] -``` +[![ResolveIQ architecture showing role workspaces, authenticated APIs, grouped support services, Kafka, PostgreSQL/pgvector and MinIO, with human approval, reliable processing and scoped access safeguards](docs/assets/readme/architecture.png)](docs/assets/readme/architecture.svg) + +Read from top to bottom: **people use role workspaces → the gateway routes scoped requests → services manage support, AI workflows and knowledge → infrastructure stores data and carries events**. -The diagram highlights the main workflow; discovery, other service-owned PostgreSQL schemas and observability are omitted for readability. [Detailed architecture](docs/part1/ARCHITECTURE_AND_DEMO_EVIDENCE.md) +Related services are grouped to keep the overview readable. Arrows show selected request and retrieval paths; internal service calls, the full Kafka return path, MinIO attachment access, discovery and observability are omitted. Authentication checks also run in the owning services. Click the image for the full-size vector, or explore the [detailed architecture](docs/part1/ARCHITECTURE_AND_DEMO_EVIDENCE.md). | Engineering decision | Implementation and purpose | | --- | --- | diff --git a/docs/assets/readme/README.md b/docs/assets/readme/README.md index 636d8dc..b462ed6 100644 --- a/docs/assets/readme/README.md +++ b/docs/assets/readme/README.md @@ -13,3 +13,5 @@ The five PNGs are unmodified 1920×1080 browser captures from the October 5, 202 | `knowledge-release.png` | Prepared six-customer cohort sanitized, evaluated and released by a Knowledge Manager | UI confidence, incident counts and evaluation values in these screenshots describe the local configured demo. They are not measured production accuracy, adoption or business-impact figures. The full demonstration is available through the stable GitHub attachment URL in the root README. + +`architecture.png` is a diagram, not a product screenshot. Its companion `architecture.svg` provides a full-size vector. Both derive from the validated [architecture source and review](../../diagrams/README.md); larger labels and a safeguard summary make the static image readable in the README. diff --git a/docs/assets/readme/architecture.png b/docs/assets/readme/architecture.png new file mode 100644 index 0000000..1467860 Binary files /dev/null and b/docs/assets/readme/architecture.png differ diff --git a/docs/assets/readme/architecture.svg b/docs/assets/readme/architecture.svg new file mode 100644 index 0000000..9b1d8ee --- /dev/null +++ b/docs/assets/readme/architecture.svg @@ -0,0 +1,598 @@ + + + ResolveIQ architecture: role workspaces, scoped APIs, support services, and infrastructure + Selected API paths connect six React role workspaces through the gateway to tickets and routing, AI orchestration and analysis, and knowledge retrieval. Authentication enforces tenant and role scope. Kafka, PostgreSQL with pgvector, and MinIO support the services. Human review, idempotent processing, and scoped access are application safeguards. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Role workspaces · React · six personas · Architecture component + + + + Role workspaces + React · six personas + + + + API gateway · Routes authenticated requests · Architecture component + + + + API gateway + Routes authenticated requests + + + + Authentication · JWT · tenant and role scope · Architecture component + + + + Authentication + JWT · tenant and role scope + + + + Tickets + routing · Conversations · queues · SLA · Architecture component + + + + Tickets + routing + Conversations · queues · SLA + + + + AI orchestration + analysis · Triage · evidence · action policy · Architecture component + + + + AI workflow + Orchestration + analysis + + + + Knowledge + retrieval · Citations · review · release · Architecture component + + + + Knowledge + retrieval + Citations · review · release + + + + Kafka · Outbox events · triage results · Architecture component + + + + Kafka + Outbox events · triage results + + + + PostgreSQL / pgvector · Service-owned data · hybrid search · Architecture component + + + + PostgreSQL / pgvector + Service-owned data · hybrid search + + + + MinIO · Ticket attachment storage · Architecture component + + + + MinIO + Ticket attachment storage + + + + + + HTTPS + + + + Auth APIs + + + + Ticket / routing APIs + + + + Workflow APIs + + + + Knowledge APIs + + + + Transactional outbox + + + + Hybrid retrieval + + + + + + + + ResolveIQ · architecture at a glanceHuman approvalReview before sends and actionsReliable processingOutbox events and idempotent retriesScoped accessTenant, role and ownership checks diff --git a/docs/diagrams/README.md b/docs/diagrams/README.md new file mode 100644 index 0000000..807bc0d --- /dev/null +++ b/docs/diagrams/README.md @@ -0,0 +1,29 @@ +# Architecture image source and review + +The README image is a compact architecture overview, not a deployment map. It groups Ticket + Routing and Orchestration + Analysis services, and shows selected request paths. The caption explicitly identifies omitted relationships and service-side authentication checks. The existing detailed architecture remains the source for the full topology. + +## Source + +- `support-architecture.json`: Archify architecture specification. +- `support-architecture.html`: delivered standalone viewer; download and open locally to explore it. +- `../assets/readme/architecture.svg`: clean SVG export adapted for README reading, with larger sans-serif labels, a title and three safeguard cards. +- `../assets/readme/architecture.png`: 2200 × 1440 raster rendering of that SVG for reliable GitHub display. + +Repository evidence: root `pom.xml`, gateway routes/security, and `../part1/ARCHITECTURE_AND_DEMO_EVIDENCE.md`. This is a service overview of the implemented local project. It asserts neither cloud deployment nor production acceptance. + +## Review receipt + +Reviewed October 6, 2026. + +- Diagram type: architecture +- Specification SHA-256: `2237b6a92c59df77af468b22a82ba2db9cb2c7c60a87e6e72a04b895c9a5d585` +- Delivered HTML SHA-256: `ce38122046532c955289e5c389eb6396bff93a885136f75f52bdc421beec62c9` +- Validation: 9/9 showcase checks; 0 errors, 0 warnings. +- Automated browser evidence: passed; 1440×900, 1600×1000, 1920×1080, 2048×1320 containment; endpoint light/dark captures. +- Visual review: passed for the standalone viewer in light/dark and the README image at reading width. +- Correction rounds: 2. + +The Archify receipt applies to the delivered viewer. The larger-label README derivative is reviewed separately; it does not inherit the viewer's validation receipt. + +- `architecture.svg` SHA-256: `cd191baacb93b3d5e7f442720eb8cfe742866ea5e5e21a850caa91aa92c504e3` (151276 bytes). +- `architecture.png` SHA-256: `597e18356a66bb26dd23be51254e80a8b7a9abd91f3c0c14e7f0170fef9a29b8` (201581 bytes). diff --git a/docs/diagrams/support-architecture.html b/docs/diagrams/support-architecture.html new file mode 100644 index 0000000..0b94e53 --- /dev/null +++ b/docs/diagrams/support-architecture.html @@ -0,0 +1,14931 @@ + + + + + + + ResolveIQ — support architecture Diagram + + + + + + + + +
+ +
+
+
+

ResolveIQ — support architecture

+
+
+ + + + + + + +
+ + ResolveIQ — support architecture + An architecture diagram generated by Archify. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Role workspaces · React · six personas · Architecture component + + + + Role workspaces + React · six personas + + + + API gateway · Routes authenticated requests · Architecture component + + + + API gateway + Routes authenticated requests + + + + Authentication · JWT · tenant and role scope · Architecture component + + + + Authentication + JWT · tenant and role scope + + + + Tickets + routing · Conversations · queues · SLA · Architecture component + + + + Tickets + routing + Conversations · queues · SLA + + + + AI orchestration + analysis · Triage · evidence · action policy · Architecture component + + + + AI orchestration + analysis + Triage · evidence · action policy + + + + Knowledge + retrieval · Citations · review · release · Architecture component + + + + Knowledge + retrieval + Citations · review · release + + + + Kafka · Outbox events · triage results · Architecture component + + + + Kafka + Outbox events · triage results + + + + PostgreSQL / pgvector · Service-owned data · hybrid search · Architecture component + + + + PostgreSQL / pgvector + Service-owned data · hybrid search + + + + MinIO · Ticket attachment storage · Architecture component + + + + MinIO + Ticket attachment storage + + + + + + HTTPS + + + + Auth APIs + + + + Ticket / routing APIs + + + + Workflow APIs + + + + Knowledge APIs + + + + Transactional outbox + + + + Hybrid retrieval + + + + + + + + +

+ + + + + + + + + +
+ + +
+ +
+ +
+ + + + diff --git a/docs/diagrams/support-architecture.json b/docs/diagrams/support-architecture.json new file mode 100644 index 0000000..642a76d --- /dev/null +++ b/docs/diagrams/support-architecture.json @@ -0,0 +1,192 @@ +{ + "schema_version": 1, + "diagram_type": "architecture", + "meta": { + "title": "ResolveIQ \u2014 support architecture", + "quality_profile": "showcase", + "locale": "en", + "viewBox": [ + 1100, + 560 + ] + }, + "components": [ + { + "id": "workspaces", + "type": "frontend", + "label": "Role workspaces", + "sublabel": "React \u00b7 six personas", + "pos": [ + 390, + 20 + ], + "size": [ + 260, + 76 + ] + }, + { + "id": "gateway", + "type": "backend", + "label": "API gateway", + "sublabel": "Routes authenticated requests", + "pos": [ + 390, + 140 + ], + "size": [ + 260, + 76 + ] + }, + { + "id": "identity", + "type": "security", + "label": "Authentication", + "sublabel": "JWT \u00b7 tenant and role scope", + "pos": [ + 760, + 140 + ], + "size": [ + 280, + 76 + ] + }, + { + "id": "support", + "type": "backend", + "label": "Tickets + routing", + "sublabel": "Conversations \u00b7 queues \u00b7 SLA", + "pos": [ + 40, + 300 + ], + "size": [ + 280, + 88 + ] + }, + { + "id": "ai", + "type": "backend", + "label": "AI orchestration + analysis", + "sublabel": "Triage \u00b7 evidence \u00b7 action policy", + "pos": [ + 390, + 300 + ], + "size": [ + 320, + 88 + ] + }, + { + "id": "knowledge", + "type": "backend", + "label": "Knowledge + retrieval", + "sublabel": "Citations \u00b7 review \u00b7 release", + "pos": [ + 780, + 300 + ], + "size": [ + 280, + 88 + ] + }, + { + "id": "events", + "type": "messagebus", + "label": "Kafka", + "sublabel": "Outbox events \u00b7 triage results", + "pos": [ + 40, + 450 + ], + "size": [ + 280, + 88 + ] + }, + { + "id": "data", + "type": "database", + "label": "PostgreSQL / pgvector", + "sublabel": "Service-owned data \u00b7 hybrid search", + "pos": [ + 390, + 450 + ], + "size": [ + 320, + 88 + ] + }, + { + "id": "files", + "type": "cloud", + "label": "MinIO", + "sublabel": "Ticket attachment storage", + "pos": [ + 780, + 450 + ], + "size": [ + 280, + 88 + ] + } + ], + "connections": [ + { + "id": "browser-api", + "from": "workspaces", + "to": "gateway", + "label": "HTTPS", + "variant": "emphasis", + "labelDy": 24 + }, + { + "id": "scope", + "from": "gateway", + "to": "identity", + "label": "Auth APIs", + "variant": "security" + }, + { + "id": "support-api", + "from": "gateway", + "to": "support", + "label": "Ticket / routing APIs" + }, + { + "id": "ai-api", + "from": "gateway", + "to": "ai", + "label": "Workflow APIs", + "fromSide": "bottom", + "toSide": "top" + }, + { + "id": "knowledge-api", + "from": "gateway", + "to": "knowledge", + "label": "Knowledge APIs" + }, + { + "id": "outbox", + "from": "support", + "to": "events", + "label": "Transactional outbox", + "variant": "dashed", + "labelDy": 24 + }, + { + "id": "retrieval-data", + "from": "knowledge", + "to": "data", + "label": "Hybrid retrieval" + } + ] +}