How iamkr07/groundset-experience works
Purpose and Entry Point
This is a Vite-powered React/TypeScript single-page interface for inspecting an auditable decision workflow. The app appears focused on presenting evidence extraction, rule evaluation, decisions, timelines, and developer/system inspection views rather than executing backend workflow logic.
Browser bootstrap occurs in src/main.tsx; the application composition root is src/App.tsx. Global visual styling is defined in src/index.css.
Application Shell and View Coordination
src/App.tsx is the central control boundary for the UI. It likely owns top-level state for the currently inspected decision and coordinates which panels or drawers are visible.
The shell assembles the primary narrative components:
• src/components/Hero.tsx
• src/components/InspectDecision.tsx
• src/components/DecisionCard.tsx
This makes App.tsx the primary place to modify screen-level layout, selected-decision state, and cross-component interactions.
Decision Inspection Surface
The decision-centric portion of the UI presents a decision and allows deeper examination of its underlying evidence and processing.
Key components:
• src/components/DecisionCard.tsx — summary/card representation of a decision.
• src/components/InspectDecision.tsx — detailed decision inspection experience.
• src/components/EvidenceCard.tsx — individual supporting evidence representation.
• src/components/ExtractionPanel.tsx — extracted fields or structured information associated with source evidence.
Primary flow is likely: decision selection → decision detail → evidence/extraction inspection. The components are presentation boundaries; no server, persistence, or API client layer is present in the repository tree.
Audit and Rule Explainability Timelines
The interface separates decision provenance into time-ordered views:
• src/components/AuditTimeline.tsx
• src/components/RuleTimeline.tsx
AuditTimeline.tsx represents the broader audit trail, while RuleTimeline.tsx focuses on rule evaluation or rule-related events. These are architecturally important because they expose the rationale/provenance layer independently of the decision summary.
Drawer-Based Deep Inspection
Secondary views are implemented as drawers, creating explicit detail boundaries without replacing the main decision screen:
• src/components/InspectorDrawer.tsx — general inspection side panel.
• src/components/DeveloperViewDrawer.tsx — developer-oriented diagnostics or implementation-facing detail.
• src/components/SystemFlowDrawer.tsx — system/process-flow visualization or explanation.
These drawers likely receive selected decision or workflow context from the app shell. Changes to drill-down behavior should preserve this parent-controlled coordination rather than duplicating state inside unrelated cards.
Runtime, Styling, and Infrastructure
The runtime is a client-side React application compiled and served by Vite:
• package.json
• vite.config.ts
• src/main.tsx
Styling is Tailwind/PostCSS-based:
• tailwind.config.ts
• postcss.config.js
• src/index.css
There are no visible backend services, API adapters, database schemas, authentication modules, or deployment infrastructure files. Therefore, current workflow/audit data is likely static, embedded in component state, or supplied through UI-local props rather than retrieved from an external service.
Main Architectural Boundaries
1. Bootstrap/runtime: src/main.tsx mounts the React tree.
2. Application orchestration: src/App.tsx composes views and should own shared interaction state.
3. Decision presentation: src/components/DecisionCard.tsx, src/components/InspectDecision.tsx.
4. Evidence/extraction detail: src/components/EvidenceCard.tsx, src/components/ExtractionPanel.tsx.
5. Audit/rule provenance: src/components/AuditTimeline.tsx, src/components/RuleTimeline.tsx.
6. Advanced contextual views: src/components/InspectorDrawer.tsx, src/components/DeveloperViewDrawer.tsx, src/components/SystemFlowDrawer.tsx.
Main entry points: App.tsx Application shell · InspectDecision.tsx Decision inspector · main.tsx React bootstrap · DecisionCard.tsx Decision card
Components 14
Client Runtime
- Vite runtime · Compiles and serves the client application.
vite.config.ts - React bootstrap
src/main.tsx - Application shell · Owns shared selection and drawer coordination.
src/App.tsx - Global styles
src/index.css
Decision Surface
- Hero
src/components/Hero.tsx - Decision card
src/components/DecisionCard.tsx - Decision inspector · Presents the selected decision and its supporting detail.
src/components/InspectDecision.tsx - Evidence card
src/components/EvidenceCard.tsx - Extraction panel
src/components/ExtractionPanel.tsx
Provenance
- Audit timeline · Shows the broader time-ordered audit trail.
src/components/AuditTimeline.tsx - Rule timeline · Shows rule evaluation events.
src/components/RuleTimeline.tsx
Deep Inspection
- Inspector drawer
src/components/InspectorDrawer.tsx - Developer view drawer
src/components/DeveloperViewDrawer.tsx - System flow drawer
src/components/SystemFlowDrawer.tsx
Connections 17
- Vite runtime → React bootstrap: serves
- React bootstrap → Application shell: mounts
- React bootstrap → Global styles: loads
- Application shell → Hero: composes
- Application shell → Decision card: composes
- Application shell → Decision inspector: coordinates selected decision
- Decision card → Decision inspector: selects decision
- Decision inspector → Evidence card: shows supporting evidence
- Evidence card → Extraction panel: reveals extracted fields
- Decision inspector → Audit timeline: exposes audit trail
- Decision inspector → Rule timeline: exposes rule evaluations
- Application shell → Inspector drawer: controls context
- Application shell → Developer view drawer: controls context
- Application shell → System flow drawer: controls context
- Inspector drawer → Decision inspector: drills into
- Developer view drawer → Decision inspector: inspects decision context
- System flow drawer → Audit timeline: explains process context