Skip to content

feat: Add docsense-agent kit. - #228

Merged
akshatvirmani merged 11 commits into
Lamatic:mainfrom
mehwishafsa:docsense-agent
Aug 7, 2026
Merged

feat: Add docsense-agent kit.#228
akshatvirmani merged 11 commits into
Lamatic:mainfrom
mehwishafsa:docsense-agent

Conversation

@mehwishafsa

@mehwishafsa mehwishafsa commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

DocSense — Adaptive Document-Intake Agent

An agentic document-intake kit for accountants. It reads each client document as it arrives and infers what's still missing — instead of relying on a static checklist.

The problem: you never know the full list of documents you need until you start reading what the client sends. A foreign payment means an extra tax form; a large cash deposit means a source-of-funds note. Today that depends on one person's memory.

What it does: reads each document, extracts the facts, and proposes new requirements the document triggers — each with cited evidence. For returning clients it stays quiet on routine items and surfaces only what's different this year.

Architecture: the Lamatic flow (docsense-intake: extraction → reasoning) does the fuzzy LLM work; a deterministic state model (apps/lib/requirement-state.ts) tracks the living requirement list and diffs returning clients against their baseline — so every requirement is explainable, never hallucinated.

Built with a two-node Lamatic flow + a Next.js app. Tested end-to-end.

  • Added new DocSense kit scaffolding and docs:

    • kits/docsense-agent/README.md
    • kits/docsense-agent/agent.md
    • kits/docsense-agent/.env.example
    • kits/docsense-agent/.gitignore
    • kits/docsense-agent/lamatic.config.ts
    • kits/docsense-agent/constitutions/default.md
  • Added DocSense Lamatic flow + assets:

    • Flow definition: kits/docsense-agent/flows/docsense-intake.ts
    • Model configs:
      • kits/docsense-agent/model-configs/docsense-intake_llmnode-599_generative-model-name.ts
      • kits/docsense-agent/model-configs/docsense-intake_llmnode-421_generative-model-name.ts
    • Prompts (enforced “JSON only”, no prose/markdown):
      • kits/docsense-agent/prompts/docsense-intake_llmnode-599_system_0.md
      • kits/docsense-agent/prompts/docsense-intake_llmnode-599_user_1.md
      • kits/docsense-agent/prompts/docsense-intake_llmnode-421_system_0.md
      • kits/docsense-agent/prompts/docsense-intake_llmnode-421_user_1.md
  • Added Next.js app kit for running the DocSense intake:

    • App config/metadata:
      • kits/docsense-agent/apps/README.md
      • kits/docsense-agent/apps/.env.example
      • kits/docsense-agent/apps/.gitignore
      • kits/docsense-agent/apps/package.json
      • kits/docsense-agent/apps/tsconfig.json
      • kits/docsense-agent/apps/next.config.mjs
      • kits/docsense-agent/apps/components.json
    • App shell:
      • kits/docsense-agent/apps/app/layout.tsx
      • kits/docsense-agent/apps/app/page.tsx
      • kits/docsense-agent/apps/app/globals.css
    • UI components:
      • kits/docsense-agent/apps/components/header.tsx
      • kits/docsense-agent/apps/components/theme-provider.tsx
      • kits/docsense-agent/apps/components/ui/accordion.tsx
      • kits/docsense-agent/apps/components/ui/alert-dialog.tsx
      • kits/docsense-agent/apps/components/ui/alert.tsx
      • kits/docsense-agent/apps/components/ui/aspect-ratio.tsx
      • kits/docsense-agent/apps/components/ui/avatar.tsx
      • kits/docsense-agent/apps/components/ui/badge.tsx
      • kits/docsense-agent/apps/components/ui/breadcrumb.tsx
      • kits/docsense-agent/apps/components/ui/button-group.tsx
      • kits/docsense-agent/apps/components/ui/button.tsx
      • kits/docsense-agent/apps/components/ui/calendar.tsx
      • kits/docsense-agent/apps/components/ui/card.tsx
      • kits/docsense-agent/apps/components/ui/carousel.tsx
      • kits/docsense-agent/apps/components/ui/chart.tsx
      • kits/docsense-agent/apps/components/ui/checkbox.tsx
      • kits/docsense-agent/apps/components/ui/collapsible.tsx
      • kits/docsense-agent/apps/components/ui/command.tsx
      • kits/docsense-agent/apps/components/ui/context-menu.tsx
      • kits/docsense-agent/apps/components/ui/dialog.tsx
      • kits/docsense-agent/apps/components/ui/drawer.tsx
      • kits/docsense-agent/apps/components/ui/dropdown-menu.tsx
      • kits/docsense-agent/apps/components/ui/empty.tsx
      • kits/docsense-agent/apps/components/ui/field.tsx
      • kits/docsense-agent/apps/components/ui/form.tsx
      • kits/docsense-agent/apps/components/ui/hover-card.tsx
      • kits/docsense-agent/apps/components/ui/input-group.tsx
      • kits/docsense-agent/apps/components/ui/input-otp.tsx
      • kits/docsense-agent/apps/components/ui/input.tsx
      • kits/docsense-agent/apps/components/ui/item.tsx
      • kits/docsense-agent/apps/components/ui/kbd.tsx
      • kits/docsense-agent/apps/components/ui/label.tsx
      • kits/docsense-agent/apps/components/ui/menubar.tsx
      • kits/docsense-agent/apps/components/ui/navigation-menu.tsx
      • kits/docsense-agent/apps/components/ui/pagination.tsx
      • kits/docsense-agent/apps/components/ui/popover.tsx
      • kits/docsense-agent/apps/components/ui/progress.tsx
      • kits/docsense-agent/apps/components/ui/radio-group.tsx
      • kits/docsense-agent/apps/components/ui/resizable.tsx
      • kits/docsense-agent/apps/components/ui/scroll-area.tsx
      • kits/docsense-agent/apps/components/ui/select.tsx
      • kits/docsense-agent/apps/components/ui/separator.tsx
      • kits/docsense-agent/apps/components/ui/sheet.tsx
      • kits/docsense-agent/apps/components/ui/sidebar.tsx
      • kits/docsense-agent/apps/components/ui/skeleton.tsx
      • kits/docsense-agent/apps/components/ui/slider.tsx
      • kits/docsense-agent/apps/components/ui/sonner.tsx
      • kits/docsense-agent/apps/components/ui/spinner.tsx
      • kits/docsense-agent/apps/components/ui/switch.tsx
      • kits/docsense-agent/apps/components/ui/table.tsx
      • kits/docsense-agent/apps/components/ui/tabs.tsx
      • kits/docsense-agent/apps/components/ui/textarea.tsx
      • kits/docsense-agent/apps/components/ui/toast.tsx
      • kits/docsense-agent/apps/components/ui/toaster.tsx
      • kits/docsense-agent/apps/components/ui/toggle-group.tsx
      • kits/docsense-agent/apps/components/ui/toggle.tsx
      • kits/docsense-agent/apps/components/ui/tooltip.tsx
      • kits/docsense-agent/apps/components/ui/use-mobile.tsx
      • kits/docsense-agent/apps/components/ui/use-toast.ts
    • App hooks:
      • kits/docsense-agent/apps/hooks/use-mobile.ts
      • kits/docsense-agent/apps/hooks/use-toast.ts
    • Lamatic + intake orchestration and deterministic requirement engine:
      • kits/docsense-agent/apps/lib/lamatic-client.ts
      • kits/docsense-agent/apps/lib/requirement-state.ts
      • kits/docsense-agent/apps/lib/utils.ts
      • kits/docsense-agent/apps/actions/orchestrate.ts
  • DocSense flow behavior (kits/docsense-agent/flows/docsense-intake.ts):

    • Trigger node: a GraphQL “API Request” receives document: string.
    • Extraction LLM node (LLMNode_599): uses the 599 system/user prompts to output structured JSON facts from the document.
    • Reasoning LLM node (LLMNode_421): uses the 421 prompts to compare extracted facts against the client’s current state and output JSON with:
      • satisfies (requirements satisfied)
      • triggers (newly triggered requirements, each citing the triggering fact)
      • with returning-client suppression based on baselineRoutine.
    • Response node: maps LLMNode_421.output.generatedResponse into the flow’s final result (so the API response isn’t empty) and sets JSON response headers.
  • How it works end-to-end (kit + app):

    • The Next.js server action intakeDocument(...) calls the Lamatic docsense-intake flow with { document: documentText }, waits for checkStatus(requestId) when needed, parses the JSON payload robustly (handles wrapper shapes / optional ```json fences), and extracts satisfies + `triggers`.
    • For returning clients, it routes inferred triggers through baseline anomaly detection before updating state.
    • The deterministic requirement-state engine (applyDocument, detectAnomalies, outstanding) updates the client profile, computes newlySurfaced, and returns what’s still missing (outstanding requirements) for UI display.

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Changes

DocSense Agent Kit

Layer / File(s) Summary
Intake contracts and flow configuration
kits/docsense-agent/README.md, kits/docsense-agent/flows/..., kits/docsense-agent/apps/lib/..., kits/docsense-agent/prompts/...
Defines the intake flow, prompts, model configuration, deterministic requirement state, environment setup, constitution, and kit metadata.
Intake orchestration and application flow
kits/docsense-agent/apps/actions/..., kits/docsense-agent/apps/app/..., kits/docsense-agent/apps/lib/...
Connects document submission to Lamatic processing, updates requirement state, and renders the Next.js analysis interface.
Reusable UI component system
kits/docsense-agent/apps/components/..., kits/docsense-agent/apps/hooks/..., kits/docsense-agent/apps/app/globals.css
Adds the shared Tailwind foundation and reusable Radix, form, navigation, chart, feedback, layout, and interaction components used by the app.

Suggested reviewers: amanintech, d-pamneja

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.45% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The description is helpful but doesn't follow the required checklist template or cover several required sections like contribution type and validation details. Rewrite it using the repo template headings, and add the checklist items for contribution type, general requirements, file structure, and validation.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly states the main change: adding the docsense-agent kit.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

:robot_face: AgentKit Structural Validation

New Contributions Detected

  • Kit: kits/docsense-agent

Check Results

Check Status
No edits to existing kits ✅ Pass
Required root files present ✅ Pass
Flow .ts files present ✅ Pass
lamatic.config.ts valid ✅ Pass
No changes outside kits/ ✅ Pass

🎉 All checks passed! This contribution follows the AgentKit structure.

@mehwishafsa

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 23

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@kits/docsense-agent/.env.example`:
- Line 1: Remove the leading BOM character from the .env.example file so line 1
begins directly with the DOCSENSE_INTAKE variable declaration, preserving the
existing key and value unchanged.

In `@kits/docsense-agent/apps/.env.example`:
- Line 1: Rewrite the .env.example file so line 1 starts directly with the
DOCSENSE_INTAKE key, removing the leading UTF-8 BOM character while preserving
the existing variable name and value.

In `@kits/docsense-agent/apps/actions/orchestrate.ts`:
- Around line 91-92: Update the docId generation in the ReceivedDoc construction
to use a collision-resistant unique identifier rather than Date.now() alone,
ensuring concurrent submissions receive distinct IDs and their evidence trails
cannot overwrite each other.
- Around line 82-84: Validate the parsed LLM output in the reasoning flow before
assigning `satisfies` and `triggers`. Define and apply a zod schema that
enforces each satisfy entry and `InferredTrigger` field shape, including
required `requirementId`, and use only the validated values when calling
`applyDocument` and `detectAnomalies`; handle invalid output according to the
existing error path.
- Around line 91-96: Update the ReceivedDoc construction in the orchestration
flow to populate docType and extractedFacts from the flow’s actual structured
extraction output instead of the hardcoded "unknown" and empty object. Preserve
the existing docId and receivedAt behavior, and pass the payload fields expected
by requirement-state.ts into each stored receivedDocs entry.

In `@kits/docsense-agent/apps/app/layout.tsx`:
- Around line 10-12: Update the metadata title and description in the layout
configuration to use DocSense branding instead of the leftover “v0 App” and
“Created with v0” scaffold values, while leaving the generator setting
unchanged.

In `@kits/docsense-agent/apps/app/page.tsx`:
- Around line 31-47: Update handleAnalyze to wrap the intakeDocument call and
response handling in try/catch/finally. In the catch block, set an appropriate
error message from the thrown error, and move setLoading(false) into finally so
loading always ends for success, returned failures, and thrown server or network
errors.

In `@kits/docsense-agent/apps/components/header.tsx`:
- Around line 7-42: Update the header component’s hardcoded Tailwind color
classes, including border-slate-200, bg-white, text-slate-800, text-rose-500,
and the Docs/GitHub color classes, to use the app’s theme-aware CSS-variable
utility classes consistent with page.tsx, card.tsx, and drawer.tsx. Preserve the
existing layout, spacing, hover behavior, and link styling while ensuring all
header colors adapt to dark mode and custom themes.

In `@kits/docsense-agent/apps/components/ui/button-group.tsx`:
- Around line 1-5: Add the namespace React import used by the
React.ComponentProps references in the button-group component, matching the
import style of sibling components; leave the existing Slot, cva, cn, and
Separator imports unchanged.

In `@kits/docsense-agent/apps/components/ui/carousel.tsx`:
- Around line 96-105: Update the cleanup function in the React.useEffect
subscription around api, onSelect, and the reInit/select listeners to detach the
reInit listener as well as the select listener. Preserve the existing
subscription behavior and ensure both handlers are removed when the effect
reruns or unmounts.

In `@kits/docsense-agent/apps/components/ui/empty.tsx`:
- Around line 71-82: Update EmptyDescription so its props use the React
component props type for a div, matching the element it renders. Preserve the
existing className handling, data-slot attribute, and rendered styling.

In `@kits/docsense-agent/apps/components/ui/form.tsx`:
- Around line 28-30: Update FormFieldContext to use a null default, then change
useFormField to validate the context before reading fieldContext.name or calling
useFormState/getFieldState. Throw the existing missing-FormField error when no
context is present, while preserving normal field state behavior for valid
FormField usage.

In `@kits/docsense-agent/apps/components/ui/input-group.tsx`:
- Around line 64-79: Remove the role="group" attribute from the InputGroupAddon
component’s returned div, leaving the parent InputGroup as the sole group
landmark while preserving the addon’s other attributes and behavior.
- Around line 70-76: Update InputGroupAddon’s click handling so consumer props
do not overwrite the internal focus behavior: place prop spreading before the
internal onClick or explicitly compose both handlers. Change the queried control
selector to focus either the group’s input or textarea, while preserving the
existing button-click exclusion.

In `@kits/docsense-agent/apps/components/ui/label.tsx`:
- Around line 8-22: No functional change is required: keep the Label component’s
current prop spreading and ref behavior under React 19.2.0. Only convert Label
to React.forwardRef if consistency with other exposed UI primitives is
explicitly desired; otherwise leave the implementation unchanged.

In `@kits/docsense-agent/apps/components/ui/spinner.tsx`:
- Around line 1-5: Add the missing React import required by the
React.ComponentProps type annotation in Spinner, following the explicit import
pattern used by the surrounding UI components. Keep the existing Loader2Icon,
cn, and Spinner implementation unchanged.

In `@kits/docsense-agent/apps/lib/requirement-state.ts`:
- Around line 114-152: Update applyDocument so requirement status changes do not
mutate objects from the input profile: when marking a satisfied requirement as
received, create and store a replacement Requirement object in reqById while
preserving all existing fields. Keep the returned updated profile and
newlySurfaced behavior unchanged, and ensure the original profile.requirements
entries remain untouched.

In `@kits/docsense-agent/apps/next.config.mjs`:
- Around line 6-8: Document the rationale for setting images.unoptimized to true
in the Next.js configuration by adding a brief inline comment explaining why
built-in image optimization is intentionally disabled. Keep the existing
configuration value unchanged.
- Around line 3-5: Remove the ignoreBuildErrors setting from the Next.js
typescript configuration so production builds fail on TypeScript errors. Do not
replace it with a production-wide suppression; if development-only behavior is
required, gate it explicitly to development while keeping production validation
enabled.

In `@kits/docsense-agent/apps/README.md`:
- Around line 1-12: Update the README content for the DocSense Agent rather than
the copied Generation kit: change the title and descriptive references, use the
DocSense Vercel deployment settings with root directory kits/docsense-agent and
DOCSENSE_INTAKE, update setup instructions to reference DocSense, replace
AGENTIC_GENERATE_CONTENT with DOCSENSE_INTAKE, and revise the repository
structure to match the actual DocSense kit layout.

In `@kits/docsense-agent/flows/docsense-intake.ts`:
- Around line 143-154: Update the API Response node configuration identified by
nodeId "graphqlResponseNode" so its outputMapping maps the DocSense reasoning
node's payload into result. Replace the empty mapping while preserving the
existing response settings, ensuring executeFlow returns the reasoning output
for apps/actions/orchestrate.ts to parse.
- Around line 56-71: Update the triggerNode_1 configuration so its values
declaration uses the input name document instead of sampleInput, preserving the
existing string type/schema and trigger metadata to match the payload consumed
by the extraction flow.

In
`@kits/docsense-agent/model-configs/docsense-intake_llmnode-599_generative-model-name.ts`:
- Around line 4-13: The generativeModelName configuration has a
credential/provider mismatch. Update credential_name in the configuration entry
with provider_name "gemini" and model_name "gemini/gemini-2.5-flash" to the
correct Gemini credential name, preserving the existing credentialId mapping.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: eba7c51f-9690-47c5-9898-da926c389f1d

📥 Commits

Reviewing files that changed from the base of the PR and between dafde4c and 3991fe5.

⛔ Files ignored due to path filters (1)
  • kits/docsense-agent/apps/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (88)
  • kits/docsense-agent/.env.example
  • kits/docsense-agent/.gitignore
  • kits/docsense-agent/README.md
  • kits/docsense-agent/agent.md
  • kits/docsense-agent/apps/.env.example
  • kits/docsense-agent/apps/.gitignore
  • kits/docsense-agent/apps/README.md
  • kits/docsense-agent/apps/actions/orchestrate.ts
  • kits/docsense-agent/apps/app/globals.css
  • kits/docsense-agent/apps/app/layout.tsx
  • kits/docsense-agent/apps/app/page.tsx
  • kits/docsense-agent/apps/components.json
  • kits/docsense-agent/apps/components/header.tsx
  • kits/docsense-agent/apps/components/theme-provider.tsx
  • kits/docsense-agent/apps/components/ui/accordion.tsx
  • kits/docsense-agent/apps/components/ui/alert-dialog.tsx
  • kits/docsense-agent/apps/components/ui/alert.tsx
  • kits/docsense-agent/apps/components/ui/aspect-ratio.tsx
  • kits/docsense-agent/apps/components/ui/avatar.tsx
  • kits/docsense-agent/apps/components/ui/badge.tsx
  • kits/docsense-agent/apps/components/ui/breadcrumb.tsx
  • kits/docsense-agent/apps/components/ui/button-group.tsx
  • kits/docsense-agent/apps/components/ui/button.tsx
  • kits/docsense-agent/apps/components/ui/calendar.tsx
  • kits/docsense-agent/apps/components/ui/card.tsx
  • kits/docsense-agent/apps/components/ui/carousel.tsx
  • kits/docsense-agent/apps/components/ui/chart.tsx
  • kits/docsense-agent/apps/components/ui/checkbox.tsx
  • kits/docsense-agent/apps/components/ui/collapsible.tsx
  • kits/docsense-agent/apps/components/ui/command.tsx
  • kits/docsense-agent/apps/components/ui/context-menu.tsx
  • kits/docsense-agent/apps/components/ui/dialog.tsx
  • kits/docsense-agent/apps/components/ui/drawer.tsx
  • kits/docsense-agent/apps/components/ui/dropdown-menu.tsx
  • kits/docsense-agent/apps/components/ui/empty.tsx
  • kits/docsense-agent/apps/components/ui/field.tsx
  • kits/docsense-agent/apps/components/ui/form.tsx
  • kits/docsense-agent/apps/components/ui/hover-card.tsx
  • kits/docsense-agent/apps/components/ui/input-group.tsx
  • kits/docsense-agent/apps/components/ui/input-otp.tsx
  • kits/docsense-agent/apps/components/ui/input.tsx
  • kits/docsense-agent/apps/components/ui/item.tsx
  • kits/docsense-agent/apps/components/ui/kbd.tsx
  • kits/docsense-agent/apps/components/ui/label.tsx
  • kits/docsense-agent/apps/components/ui/menubar.tsx
  • kits/docsense-agent/apps/components/ui/navigation-menu.tsx
  • kits/docsense-agent/apps/components/ui/pagination.tsx
  • kits/docsense-agent/apps/components/ui/popover.tsx
  • kits/docsense-agent/apps/components/ui/progress.tsx
  • kits/docsense-agent/apps/components/ui/radio-group.tsx
  • kits/docsense-agent/apps/components/ui/resizable.tsx
  • kits/docsense-agent/apps/components/ui/scroll-area.tsx
  • kits/docsense-agent/apps/components/ui/select.tsx
  • kits/docsense-agent/apps/components/ui/separator.tsx
  • kits/docsense-agent/apps/components/ui/sheet.tsx
  • kits/docsense-agent/apps/components/ui/sidebar.tsx
  • kits/docsense-agent/apps/components/ui/skeleton.tsx
  • kits/docsense-agent/apps/components/ui/slider.tsx
  • kits/docsense-agent/apps/components/ui/sonner.tsx
  • kits/docsense-agent/apps/components/ui/spinner.tsx
  • kits/docsense-agent/apps/components/ui/switch.tsx
  • kits/docsense-agent/apps/components/ui/table.tsx
  • kits/docsense-agent/apps/components/ui/tabs.tsx
  • kits/docsense-agent/apps/components/ui/textarea.tsx
  • kits/docsense-agent/apps/components/ui/toast.tsx
  • kits/docsense-agent/apps/components/ui/toaster.tsx
  • kits/docsense-agent/apps/components/ui/toggle-group.tsx
  • kits/docsense-agent/apps/components/ui/toggle.tsx
  • kits/docsense-agent/apps/components/ui/tooltip.tsx
  • kits/docsense-agent/apps/components/ui/use-mobile.tsx
  • kits/docsense-agent/apps/components/ui/use-toast.ts
  • kits/docsense-agent/apps/hooks/use-mobile.ts
  • kits/docsense-agent/apps/hooks/use-toast.ts
  • kits/docsense-agent/apps/lib/lamatic-client.ts
  • kits/docsense-agent/apps/lib/requirement-state.ts
  • kits/docsense-agent/apps/lib/utils.ts
  • kits/docsense-agent/apps/next.config.mjs
  • kits/docsense-agent/apps/package.json
  • kits/docsense-agent/apps/tsconfig.json
  • kits/docsense-agent/constitutions/default.md
  • kits/docsense-agent/flows/docsense-intake.ts
  • kits/docsense-agent/lamatic.config.ts
  • kits/docsense-agent/model-configs/docsense-intake_llmnode-421_generative-model-name.ts
  • kits/docsense-agent/model-configs/docsense-intake_llmnode-599_generative-model-name.ts
  • kits/docsense-agent/prompts/docsense-intake_llmnode-421_system_0.md
  • kits/docsense-agent/prompts/docsense-intake_llmnode-421_user_1.md
  • kits/docsense-agent/prompts/docsense-intake_llmnode-599_system_0.md
  • kits/docsense-agent/prompts/docsense-intake_llmnode-599_user_1.md

Comment thread kits/docsense-agent/.env.example Outdated
Comment thread kits/docsense-agent/apps/.env.example Outdated
Comment thread kits/docsense-agent/apps/actions/orchestrate.ts Outdated
Comment thread kits/docsense-agent/apps/actions/orchestrate.ts Outdated
Comment thread kits/docsense-agent/apps/actions/orchestrate.ts
Comment thread kits/docsense-agent/apps/next.config.mjs
Comment thread kits/docsense-agent/apps/README.md
Comment thread kits/docsense-agent/flows/docsense-intake.ts
Comment thread kits/docsense-agent/flows/docsense-intake.ts
@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@akshatvirmani

Copy link
Copy Markdown
Contributor

/validate

@github-actions

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@github-actions

Copy link
Copy Markdown
Contributor

Studio Runtime Validation (Phase 2)

Studio validation passed. The kit loaded successfully in Lamatic Studio.

This PR is ready for final review and merge.

@akshatvirmani

Copy link
Copy Markdown
Contributor

@mehwishafsa please resolve the comments above

@mehwishafsa

mehwishafsa commented Jul 13, 2026 via email

Copy link
Copy Markdown
Contributor Author

@akshatvirmani

Copy link
Copy Markdown
Contributor

/validate

@github-actions

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@akshatvirmani

Copy link
Copy Markdown
Contributor

Hello

@mehwishafsa great! One thing: please resolve the remaining coderabbit comments

@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@akshatvirmani

Copy link
Copy Markdown
Contributor

@mehwishafsa yeah that would be great if you resolve them

@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@mehwishafsa

Copy link
Copy Markdown
Contributor Author

Hi @akshatvirmani CodeRabbit has approved and all checks are green. I'm working on the two items you mentioned now. Given the challenge timeline, would it be possible to merge once those are in? Want to make sure the submission lands in time. Thanks so much for all the reviews!

@mehwishafsa

Copy link
Copy Markdown
Contributor Author

Done @akshatvirmani I've pushed the fix so docType and extractedFacts now pass through to the stored ReceivedDoc instead of being hardcoded (the reasoning node can echo them through, with safe fallbacks). The remaining shadcn/ui component points are minor and in generated scaffold happy to address those too if you'd like them in before merge, otherwise I think this is good to go. Thanks again!

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@mehwishafsa

Copy link
Copy Markdown
Contributor Author

@akshatvirmani just flagging on timing the challenge deadline is close for me, and the video submission step requires the PR to be merged first. The PR has the passing-checks label and CodeRabbit's approval, with the fix you asked for pushed. Would it be possible to merge when you have a moment? Really appreciate it

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@akshatvirmani

Copy link
Copy Markdown
Contributor

/validate

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@akshatvirmani akshatvirmani added tier-1 Strong tier-2 Consider and removed tier-1 Strong tier-3 Pass labels Aug 7, 2026
@akshatvirmani
akshatvirmani merged commit e0d0f8c into Lamatic:main Aug 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants