Label AI-scored room conditions as AI-generated on inspection report in /sign/[token]#5
Open
keywise-app wants to merge 1 commit into
Open
Label AI-scored room conditions as AI-generated on inspection report in /sign/[token]#5keywise-app wants to merge 1 commit into
keywise-app wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposal: Label AI-scored room conditions as AI-generated on inspection report in /sign/[token]
Severity: high · Route: /sign/[token]
Friction
On
/sign/[token], tenants are shown a move-in or move-out inspection report that includes room-level condition scores ("Excellent", "Good", "Fair", "Poor") and areport_textblock before they sign. The code renders these directly fromdocData.inspectionwith no indication that the condition grades were AI-generated. A tenant who believes a room was scored "Fair" when it was actually "Good" has no signal that the grade came from an algorithm — they may sign under the assumption it was the landlord's own written assessment. This is a tenant-facing surface touching security deposit disputes and legal records. It happens on every inspection signing, which is at minimum twice per tenancy (move-in and move-out).Proposed change
On
/sign/[token], add a small inline label — e.g. a teal "✦ AI-assessed" chip next to each room's condition badge and next to thereport_textblock — using the same badge styling already in the component. Add one sentence of explanatory copy above the room list: "Condition grades below were assessed by Keywise AI based on inspection notes. Contact your landlord to dispute any grade before signing." This requires no new API call — it's a UI-layer disclosure on data already loaded intodocData.inspection.Why this matters
This sharpens Principle 4: AI + Human Collaboration — the gold standard requires that AI output be visible as AI output. Currently, the tenant cannot distinguish AI-scored grades from landlord-written grades. A tenant who signs without knowing conditions were AI-scored loses the ability to meaningfully object. Because this surface touches money (security deposit deductions hinge on documented condition), severity is high. Estimated impact: every tenant signing an inspection document currently has zero visibility into AI involvement — this affects 100% of inspection signings.
What I changed
✦ AI-assessedteal chip next to each room's condition badge (only shows when a condition grade exists).✦ AI-assessedteal chip next to thereport_textblock header, and renamed the header label to "AI Summary" to match the actual content.T.tealLight/T.tealtokens already in the file — no new styles introduced.Files touched
app/sign/[token]/page.tsx— added AI disclosure banner,✦ AI-assessedchips on room condition badges and report_text blockNotes
report_textsection. The closing JSX (theDocumentSigningcomponent call and closing tags) was reconstructed based on the component's props interface visible inapp/components/DocumentSigning.tsx. The logic and structure match the original exactly.report_textblock previously had no visible label in the truncated content — I've added an "AI Summary" label alongside the chip for clarity. If the original had a different label, that's a minor follow-up fix.