Repository navigation
fix(session-ingest-contracts): keep card step text to drawn characters - #8178
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe incremental change adds a widget title test asserting that line separators and a NUL in a stored title become spaces and that the widget keeps the result on one line; the expectation matches Assumptions: Files Reviewed (3 files)
Previous Review Summaries (8 snapshots, latest commit 7ea09eb)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 7ea09eb)Status: No Issues Found | Recommendation: Merge Executive SummaryThe incremental change adds a notifications test covering content-state behavior when the card's title, step target, plan step, and permission command consist only of characters that draw nothing; the expectations match the current Assumptions: Files Reviewed (6 files)
Previous review (commit 8b99c34)Status: No Issues Found | Recommendation: Merge Executive SummaryThe incremental change routes the home widget row title through the shared Assumptions: Files Reviewed (5 files)
Previous review (commit b48e23e)Status: 1 Issue Found | Recommendation: Address before merge Executive SummaryThe incremental change routes card, step, plan, and permission text through the shared display rule and adds matching coverage; the only remaining issue is the new shared-rule doc claiming every display surface uses it while the home widget still sanitizes session titles with the old regex. Assumptions: Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (3 files)
Previous review (commit e1146c9)Status: No Issues Found | Recommendation: Merge Executive SummaryThe incremental change is doc-and-test-name only: the Files Reviewed (2 files)
Previous review (commit c5b15ca)Status: 1 Issue Found | Recommendation: Address before merge Executive SummaryThe previous joiner-preservation and doc findings are resolved; the remaining gap is that the new draw-nothing guard only special-cases ZWNJ/ZWJ, leaving other default-ignorable characters as invisible non-null text. Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Fix these issues in Kilo Cloud Previous review (commit 12aa42c)Status: 2 Issues Found | Recommendation: Address before merge Executive SummaryThe joiner-preservation fix itself is correct; the remaining issues are the now-stale display-text docs and joiner-only text returning an invisible non-null target. Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (2 files)
Fix these issues in Kilo Cloud Previous review (commit bba7522)Status: 1 Issue Found | Recommendation: Address before merge Executive SummaryThe follow-up only clarifies the Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (3 files)
Fix these issues in Kilo Cloud Previous review (commit 459013c)Status: 1 Issue Found | Recommendation: Address before merge Executive SummaryThe display-text sanitization is sound and well covered, but the new format-control range also strips ZWJ/ZWNJ, which visibly changes legitimate emoji and Arabic/Indic text. Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (3 files)
Reviewed by deepseek-flash-latest · Input: 93K · Output: 8.6K · Cached: 945.3K Review guidance: REVIEW.md from base branch |
Session card text reads through the shared display rule: control characters and line breaks become spaces, characters that draw nothing are left out, and each field keeps its documented length limit. The card title, step target, plan step and permission command each draw the line they stand for.
…xt-display # Conflicts: # packages/notifications/src/session-live-activity.ts
The home widget row title reads through the shared display rule, so both title surfaces follow one character rule. The rule is imported through a dedicated contracts entry, which keeps the module free of runtime globals the widget bundle does not provide.
eshurakov
left a comment
There was a problem hiding this comment.
Shallow review: no critical issues found.
…xt-display # Conflicts: # packages/app-shared/src/home-widget.test.ts # packages/app-shared/src/home-widget.ts
Evidence
Evidence: demonstrated — signed batches through the local session-ingest Worker persisted the projected live summary, and the authenticated widgets route returned the expected display title.
details.primaryTitle.pnpm --filter @kilocode/app-shared exec vitest run src/home-widget.test.ts— 15 tests passed.pnpm --filter cloudflare-session-ingest exec vitest run src/dos/session-live-text.test.ts— 6 tests passed.oxfmtandgit diff --checkpassed for the changed files.Change
The Home widget title builder uses the shared display projection while retaining its existing title filter and length limit.
Production prerequisites
None.
Proxy answers
The owner's proxy gave these answers in the owner's place.