Repository navigation
feat(notes): action-item owner, due and context on web, macOS and mobile - #20725
Git-on-my-level wants to merge 28 commits into
Conversation
Meeting-note action items now read the same on web, macOS and mobile: the item, then owner and due date on one line, then the context on its own line. An unknown owner or due date is left out instead of saying "Unknown". - web share page: drop "Due Unknown" and the unknown-owner avatar; the context moves to its own line. The agent Markdown export keeps its explicit Unknown markers. - macOS: ActionItem now decodes and caches owner_name, due_at and context; the row shows them, and Add to Tasks keeps the due date. - mobile: the summary shows the note's tasks again (read-only, after the sections, as on the Mac) with the same metadata. The reader's own items say "You". Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
All reported issues were addressed across 16 files
You’re at about 98% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6387095123
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Meeting-note action items now read the same on web, macOS and mobile: the item, then owner and due date on one line, then the context on its own line. An unknown owner or due date is left out instead of saying "Unknown". - web share page: drop "Due Unknown" and the unknown-owner avatar; the context moves to its own line. The agent Markdown export keeps its explicit Unknown markers. - macOS: ActionItem now decodes and caches owner_name, due_at and context; the row shows them, and Add to Tasks keeps the due date. - mobile: the summary shows the note's tasks again (read-only, after the sections, as on the Mac) with the same metadata. The reader's own items say "You". Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…overage Structured.toJson() wrote description-only strings, so the Flutter conversation cache dropped owner/due/context on every restart; it now emits the full action-item objects while the legacy String branch still decodes old caches. Structured.encode(to:) on macOS rebuilt items with dueAt: nil and no ownerName/context; it now maps all three fields, and a new Structured-level round-trip test pins it. The widget test now covers a due-dated row (keeping the no-Unknown assertions), the share HTTP test asserts the owner inside .sn-owner, and the meta separator rides at the owner's tail so a wrapped due date never starts a row with a stray dot.
6387095 to
4ef1a4e
Compare
…ta' into lane/meeting-note-action-meta # Conflicts: # app/changelog/unreleased/20261005-meeting-note-tasks.json # app/lib/backend/schema/structured.dart # app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart # app/lib/pages/conversation_detail/widgets/summary_tab.dart # app/test/widgets/conversation_action_items_section_test.dart # desktop/macos/Desktop/Sources/MainWindow/Components/ConversationActionItemRow.swift # desktop/macos/Desktop/Sources/Services/APIClient/APIClient+ConversationModels.swift # desktop/macos/Desktop/Tests/ActionItemRowMetadataTests.swift # desktop/macos/changelog/unreleased/20261005-meeting-note-action-item-owner-due.json # web/frontend/src/__tests__/shared-note.test.mjs # web/frontend/src/app/memories/[id]/share-note.css # web/frontend/src/components/memories/summary/action-items.tsx # web/frontend/src/lib/shared-note.mjs # web/frontend/tests/share-http.test.mjs
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0ebf66b0aa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address review feedback on the action-item task flows: - TasksStore.createTask now inserts completed creates into completedTasks and passes 'completed' to the backend create, so a checked-off summary item no longer resurfaces as an open task after refresh. - TasksStore.toggleTask reports whether the mutation took effect; ConversationActionItemsSection only patches the conversation summary after a confirmed task mutation (or a completed create), so the two surfaces can no longer disagree. - Action-item session identity binds segments + description + due date on both macOS and mobile: segment IDs are evidence references, not unique identities, and one segment can carry several commitments.
|
Fixed in 925dc4d: |
|
Fixed in 925dc4d: |
|
Fixed in 925dc4d: session identity now binds segments + description + due date on both macOS and mobile (the widget's duplicate |
|
Monitor run summary (925dc4d) — addressed all three review threads:
Verification: Flutter focused suite green, Two honest caveats: (1) the branch still conflicts with |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 925dc4d24b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…oggles Reconcile the action-item flows with main's canonical candidate promotion (#19815): Add-to-Tasks now goes through ConversationSummaryTaskPromoter, whose accept path persists target_task_id server-side, replacing the offline TasksStore.createTask add path whose task link lived only in page state. The completion toggle stays, and a cached task is re-read from SQLite before toggling so a local_<rowid> id can never reach toggleTask after its create-sync finished (its local-only branch would skip the backend and desync the surfaces). Also keep the action-item metadata (owner, due, certainty, context) when linking a conversation to its promoted task, and restrict owner suppression to email-shaped names so a handle like @alex stays visible, matching the Flutter and web adapters.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7503b2963f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ionItem The origin/main merge moved recurrenceRule ahead of completed in APIClient.createActionItem's parameter list; this call site kept the pre-merge order, so the desktop Swift compile failed with 'argument recurrenceRule must precede argument completed'.
ConversationSummaryTaskPromoter.linkedConversation, merged from origin/main (#19815), is a @mainactor static method; calling it from a nonisolated synchronous test failed the desktop Swift compile. Mark the test class @mainactor like ConversationSummaryTaskPromoterTests.
This PR made TasksStore.toggleTask return whether the completion mutation took effect; the three Task-wrapped call sites in TasksStoreOwnerBoundaryTests still discarded the result, which the Swift compiler rejects as an unused Bool expression. Assert the outcome at each site: false when the owner lease was revoked mid-flight, true when the toggle completed under the captured lease.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6d06b2c998
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…s, canonical promotion Trusted-bot review round on the action-item metadata work: - Mobile: task-session identity now includes the row index, so identical extracted twins keep separate pending state, idempotency keys, task links and widget keys; a conversation PATCH failure compensates the task it just created (delete) or toggled (restore); the row is re-resolved against the provider's current items before patching so a reprocessed note cannot redirect the write onto another row. - macOS: completion-created tasks go through ConversationSummaryTaskPromoter (durable target_task_id link, backend-addressable id — no local-only ids), the conversation PATCH failure rolls the task back, and completion overrides key by row identity instead of the description. - Apple Reminders: a completed create propagates isCompleted/completionDate to the new EKReminder instead of appearing open in Reminders. - Web: the Markdown export marks tentative due dates, matching the page. - Backend: a linked row (target_task_id) mirrors exactly its task instead of every standalone task sharing the description; unlinked rows keep the legacy description mirror. - Tests: hermetic mirror regression suite; twins/rollback/reprocess mobile tests; tentative-export test; manifest registers the two new writer files; the owner-boundary assertion now matches toggleTask's stale-lease bail.
The section's rows now take part in the tab's search: the page counts matches in each row's description, verbatim owner name and context (the localized "You" label, email-shaped names and deleted rows are not searchable), passes the section its offset into the tab's results, and the rows highlight their matches and scroll to the tab's current result exactly like the note's own paragraphs.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Addressed the outstanding trusted-bot review round and pushed two commits ( Row identity & idempotency (P1) — task-session identity now includes the row index, so identical extracted twins keep separate pending state, idempotency keys, task links and widget keys (mobile), and macOS completion overrides key by the row's per-row identity instead of Failure atomicity (P1) — mobile compensates the task it just created (delete) or toggled (restore) when the conversation PATCH fails; macOS rolls the task back in the catch path; the row is re-resolved against the provider's current items before patching, so a reprocessed note cannot redirect the write onto another row. macOS promotion & sync (P1) — completion-created tasks go through Web export (P2) — the Markdown export marks tentative due dates, matching the share page. Summary search (P2) — the section's rows now participate in the Summary tab's search: the page counts matches in each row's description, verbatim owner name and context (localized "You", email-shaped names and deleted rows are not searchable), passes the section its offset, and rows highlight matches and scroll to the tab's current result like the note's own paragraphs. Push notes: the local |
set_action_item_status now reads the row's target_task_id to scope the standalone-task mirror; the fake predating that field made the route's mirror raise inside its except and skip the mirror entirely, so the two reminder tests failed with mark_action_item_completed called 0 times.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Conversations can contain desktop-extracted action items while mobile Tasks has no way to review them. Task Integrations is also hidden behind an export glyph. Mobile now shows the existing server Suggested projection in Tasks, lets readers explicitly add or dismiss suggestions, recovers older desktop summary rows through the existing generation-fenced summary promoter, and exposes a named Task Integrations entry in Settings/search and the Tasks menu. The backend now accepts historical text summary rows, converting only the selected row when acceptance saves its durable task link. Candidate preparation and acceptance use the existing bounded Firestore contention retry helper, including read-time aborts and exhausted SDK retries; unknown/ambiguous failures are not retried by that helper. Acceptance reads and upserts the exact canonical task ID. A successful receipt survives a failed read without repeating acceptance; older Tasks, Home and pagination responses cannot erase the saved task or resurrect a resolved suggestion. New incomplete tasks exit an automatically selected Completed view while manual view choices remain respected. Overlapping reads are query/session-owned; point reads, Undo and optimistic creates cannot skip server pages. A save that invalidates initial loading schedules a replacement read, and summary retries renew keys only for confirmed terminal proposals while retaining ambiguous retries. Summary recovery preserves original storage coordinates through malformed-row filtering and conversation caching, so the selected row stays the selected row. Phone extraction retains its existing direct writer; this does not introduce a second manual-create path for phone summaries. Refs #20595 and #12368. #12424 already restored the mobile-origin backend writer. #20725 remains separate and open; this PR completes the mobile access/recovery path through canonical acceptance rather than depending on that broader notes UI change. Validation: - 195 focused schema, cache, task-provider, widget, Settings and production-wiring tests passed, including overlapping reads, first-load recovery, terminal suggestion retries, fresh/cached summaries with invalid leading rows and canonical approval. The latest backend run passed 386 Candidate lifecycle/router, summary promotion and capture/extraction/identity tests. Another 26 real Firestore emulator checks passed, covering concurrent preparation/acceptance, definite read/commit aborts, generation fences, expiry, text rows, canonical task reads/refresh/pagination and integration reads. The 23 selected hermetic mobile journey assertions also passed. The recovery/expiry suites are now registered in the existing backend emulator CI runner and its path triggers; the complete runner passed locally, including the 26 task checks. - Analyzer checks, all 51 local preflight checks, backend type checking (zero errors), API compatibility/code-generation checks and the normal pre-push gate passed. Native iPhone simulator build and agent-flutter checks passed; the cached-summary fixture rejects any prepare/accept request that does not use the original stored coordinate. - Mobile GitHub CI passed on 94798e1 (6,793 Dart tests); fresh CI for the final backend/CI head 7375693 is queued and is not yet confirmed green. Workflow-selected native platform/journey CI jobs were skipped; local iPhone simulator and selected hermetic journey evidence are recorded above. No store release or production account recovery is claimed. - Live read-only verification on 2026-10-20: production https://api.omi.me/openapi.json returned 200 and publishes all nine required route boundaries. Production Cloud Logging shows successful control and summary-preparation requests; this proves existing route availability, not deployment of this PR. A local curl → uvicorn → production FastAPI router → Firestore emulator smoke passed 10 requests with one-task receipt replay (synthetic identity/auth boundary, no customer records or external notifications). - Architecture and implementation checklist: app/docs/task-delivery.md. Release and customer verification: - Needs merge, deployment of the backend serving the mobile task APIs, an authenticated synthetic production smoke, then an iOS/Android mobile release. Deploy backend first: legacy text-row support and contention retries are new server code. Existing universal APIs require no UID allowlist, bulk migration or new index. Relevant backend APIs: Candidate control/list/read/prepare/accept/reject, canonical task point/list reads and task-integration reads. Existing route/schema availability is verified; this PR’s new server behavior is not deployed. - Does not claim an account-specific historical backfill or recovery. Verify one affected phone/pendant conversation delivers tasks, and an older desktop summary can add a task that remains after refresh/reopen. Verify Task Integrations opens from Settings and the Tasks header/menu on a physical phone. - Keep #20595 open until the affected customers' records and released app behavior are verified. ## Product invariants affected INV-TASK-2: desktop capture remains suggestion-only; only explicit approval invokes canonical acceptance. Phone capture policy is unchanged. INV-UI-3: uses shared Omi controls/sheets, existing localized copy and localized Settings search. INV-PERF-1: uses the bounded server Suggested projection and the existing shared task owner; no history polling or additional capture pipeline. Failure-Class: new ## UI evidence   Additional saved-task, integration destination and summary-recovery captures are recorded in the sibling evidence.json manifest.
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
There was a problem hiding this comment.
60 issues found across 142 files
Confidence score: 2/5
- Task identity can drift or collide: in
conversation_action_items_section.dart, row position changes the persisted identity and matching ignoressourceSegmentIds; inConversationDetailSections.swift, identical rows can share a state key. Use stable, distinct row identities so reprocessing or toggling one item doesn’t affect another. - In
ConversationDetailSections.swift, the first completion toggle for an unlinked task can fail becausetoggleTaskrequires it to already exist inActionItemStorage. Ensure the task is stored before calling the toggle. - In
conversation_action_items_section.dart, a stale row snapshot can direct the final patch to the wrong item, and a missing row skips rollback of the task mutation. Resolve the row from current provider state and roll back when it can’t be found. - In
action_items_provider.dart, a keyed retry can return an already-exported item but still create another Apple Reminder. Skip export when the returned item is already linked or exported.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart">
<violation number="1" location="app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart:190">
P1: The row index makes the persisted task identity and idempotency key change whenever extraction reorders rows. Keep task identity independent of mutable display position, or use a stable server/item identity, so reprocessed notes cannot promote the same item twice.</violation>
<violation number="2" location="app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart:255">
P2: A missing or moved row leaves the task mutation applied because this early return bypasses the rollback below. Roll back the created or updated task before returning when `_resolveRow` cannot find the row.</violation>
<violation number="3" location="app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart:287">
P1: Include `sourceSegmentIds` in `sameRow` matching. Otherwise identical action items backed by different transcript segments can have the wrong row completed or reopened after the list changes.</violation>
<violation number="4" location="app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart:376">
P1: Do not pass a pre-await row snapshot to the final conversation patch. Re-read the provider rows immediately before resolving and updating the index, or pass a getter so reprocessing cannot redirect the patch to a different row.</violation>
</file>
<file name="desktop/macos/Desktop/Sources/MainWindow/Pages/ConversationDetailSections.swift">
<violation number="1" location="desktop/macos/Desktop/Sources/MainWindow/Pages/ConversationDetailSections.swift:106">
P2: `actionItemIdentity` omits the row index, so identical rows sharing source segments, description, and due date use one state key. Toggling or promoting one row then changes the other row's override and task state; include the row index or another per-row identity.</violation>
<violation number="2" location="desktop/macos/Desktop/Sources/MainWindow/Pages/ConversationDetailSections.swift:185">
P1: `toggleCompletion` passes a freshly promoted backend task directly to `TasksStore.toggleTask`, but `toggleTask` requires the task to exist in `ActionItemStorage` before it calls the API. The first check of an unlinked item therefore fails for the newly created task; sync it locally before toggling or use a remote-safe mutation path.</violation>
</file>
<file name="app/lib/providers/action_items_provider.dart">
<violation number="1" location="app/lib/providers/action_items_provider.dart:589">
P2: This linked-task entry point reuses toggle handling that does not identify the latest request, so concurrent toggles can leave the local state different from the server. Track the latest mutation per task and ignore stale success or rollback responses.</violation>
<violation number="2" location="app/lib/providers/action_items_provider.dart:902">
P2: A keyed retry returns the existing action item, but this path still treats every non-null response as new and creates another Apple Reminder. Skip direct export when the returned item is already exported or linked, or distinguish newly created responses before syncing.</violation>
</file>
<file name="app/lib/l10n/app_localizations_kn.dart">
<violation number="1" location="app/lib/l10n/app_localizations_kn.dart:12467">
P2: The visible Kannada tentative-date label drops the required `~` marker, so the UI is inconsistent with the tentative-date contract. Preserve the marker in this localized string, while keeping the separate semantics string for the spoken wording.</violation>
<violation number="2" location="app/lib/l10n/app_localizations_kn.dart:12494">
P2: This status announces consent/approval instead of an incomplete state to Kannada users, including screen-reader users. Translate it as an incomplete/pending status, such as `ಅಪೂರ್ಣ` or `ಪೂರ್ಣಗೊಂಡಿಲ್ಲ`.</violation>
</file>
<file name="app/lib/l10n/app_sr.arb">
<violation number="1" location="app/lib/l10n/app_sr.arb:11403">
P2: The Serbian tentative due-date label drops the required `~` marker. Add the marker to the visible translation so tentative dates remain consistently identifiable across locales.</violation>
</file>
<file name="app/lib/l10n/app_id.arb">
<violation number="1" location="app/lib/l10n/app_id.arb:3878">
P2: This heading translates “Action items” as `Tindakan` (“actions”), unlike the locale’s existing action-item terminology. Use `Item Tindakan` so the heading identifies actionable items rather than a generic actions section.</violation>
<violation number="2" location="app/lib/l10n/app_id.arb:3889">
P2: `Tertunda` means “pending/delayed,” not “Not completed,” so Indonesian users will see the wrong state label. Translate this as `Belum selesai` to match the source status and existing incomplete-task wording.</violation>
</file>
<file name="app/test/widgets/conversation_action_items_section_test.dart">
<violation number="1" location="app/test/widgets/conversation_action_items_section_test.dart:497">
P2: This vanished-row case only checks that the conversation PATCH was skipped. `setCompleted` updates the linked task before resolving `currentRows`, so the test passes while Tasks can still change; record and assert the task update or rollback too.</violation>
</file>
<file name="app/lib/l10n/app_de.arb">
<violation number="1" location="app/lib/l10n/app_de.arb:3846">
P2: This translation removes the required `~` marker from tentative due dates. Keep the marker in the German visible label so tentative dates remain distinguishable, for example `Fällig ~{date}`.</violation>
</file>
<file name="app/lib/l10n/app_nl.arb">
<violation number="1" location="app/lib/l10n/app_nl.arb:3846">
P2: This Dutch label drops the required `~` marker for tentative due dates, so Dutch users cannot see the same explicit tentative-date marker as other clients. Preserve the marker in the localized value, for example `Vervaldatum ~{date}`.</violation>
</file>
<file name="app/lib/l10n/app_localizations_id.dart">
<violation number="1" location="app/lib/l10n/app_localizations_id.dart:12442">
P2: This Indonesian visible label omits the required `~` marker for tentative due dates. Preserve the marker in the localized string; the separate semantics string already provides the spoken tentative wording.</violation>
</file>
<file name="app/lib/l10n/app_mk.arb">
<violation number="1" location="app/lib/l10n/app_mk.arb:11403">
P2: This localized due-date label drops the `~` marker required for tentative dates. Preserve the marker in the Macedonian display string.</violation>
</file>
<file name="app/lib/l10n/app_localizations_mr.dart">
<violation number="1" location="app/lib/l10n/app_localizations_mr.dart:12437">
P2: This visible Marathi date label drops the required `~` marker for tentative dates. Preserve the marker here; the separate semantics string should remain spoken wording without the symbol.</violation>
</file>
<file name="app/lib/l10n/app_localizations_he.dart">
<violation number="1" location="app/lib/l10n/app_localizations_he.dart:12344">
P2: `tentativeTaskDueDateSemantics` translates “tentatively due” as “temporarily due.” Screen readers therefore announce a temporary date instead of an estimated/tentative date; use the same `משוער` wording as the visible label and regenerate this file.</violation>
</file>
<file name="app/lib/l10n/app_localizations_uk.dart">
<violation number="1" location="app/lib/l10n/app_localizations_uk.dart:12454">
P2: This translation changes “Show in Transcript” into “Show transcript,” which can make the menu action sound like it opens or displays the whole transcript. Translate the relation explicitly as `Показати в транскрипті`.</violation>
<violation number="2" location="app/lib/l10n/app_localizations_uk.dart:12458">
P2: This tentative due-date label drops the required visible `~` marker for Ukrainian users. Preserve the marker in the localized string (for example, `Термін ~ $date`).</violation>
<violation number="3" location="app/lib/l10n/app_localizations_uk.dart:12485">
P2: The incomplete action-item status is translated as “Waiting,” so Ukrainian users and screen readers do not receive the `Not completed` state. Use `Не завершено` to match the completed pair.</violation>
</file>
<file name="app/lib/l10n/app_localizations_mk.dart">
<violation number="1" location="app/lib/l10n/app_localizations_mk.dart:12480">
P2: This new action-item section is labeled “Activities” (`Активности`), while the existing Macedonian action-item labels consistently use `Задачи`. Use the established translation so the new meeting section has the same heading and meaning as the rest of the app.</violation>
</file>
<file name="app/lib/l10n/app_hu.arb">
<violation number="1" location="app/lib/l10n/app_hu.arb:3942">
P2: The Hungarian tentative-date label drops the required `~` marker, so tentative dates do not use the specified visual indicator in this locale. Preserve the marker in the translated value (the accessibility-only `tentativeTaskDueDateSemantics` string can remain fully verbal).</violation>
</file>
<file name="backend/tests/unit/test_conversation_action_item_mirror.py">
<violation number="1" location="backend/tests/unit/test_conversation_action_item_mirror.py:232">
P2: This callback discards `due_at`, so the regression tests pass even if reopening a linked task sends the wrong reminder date. Record and assert the full reminder payload, including a `False` toggle with the linked due date.</violation>
</file>
<file name="app/lib/l10n/app_en.arb">
<violation number="1" location="app/lib/l10n/app_en.arb:14850">
P2: These ARB descriptions provide no translator context because they only repeat the key names. Replace them with concise usage descriptions, especially distinguishing menu actions, status labels, and the visual versus accessibility tentative due-date strings.</violation>
</file>
<file name="backend/tests/unit/test_shared_conversation_field_exposure.py">
<violation number="1" location="backend/tests/unit/test_shared_conversation_field_exposure.py:220">
P2: This test does not verify that the public conversation projection preserves confirmed or tentative due certainty. Populate the source `ActionItem` and assert the value after `_call_shared` so projection regressions fail.</violation>
</file>
<file name="app/lib/services/integrations/apple_reminders_service.dart">
<violation number="1" location="app/lib/services/integrations/apple_reminders_service.dart:82">
P2: Completed action items can still be exported as open Apple Reminders because existing outbound-sync and explicit-export callers omit this new parameter and therefore take the `false` default. Pass `item.completed` from those callers (or make the parameter required so every caller handles the state).</violation>
</file>
<file name="backend/routers/conversations.py">
<violation number="1" location="backend/routers/conversations.py:1437">
P2: The direct lookup can mirror into soft-deleted tasks because it only checks whether the document exists. Skip rows with `deleted` set before marking or syncing, so toggling a conversation item cannot mutate a deleted task or recreate its reminder.</violation>
</file>
<file name="app/lib/l10n/app_pl.arb">
<violation number="1" location="app/lib/l10n/app_pl.arb:3881">
P2: Polish tentative due dates omit the required `~` marker because this visible label translates it to `około`. Keep the marker in the visible translation, for example `Termin ~{date}`; the accessibility-only key already provides the wording.</violation>
</file>
<file name="app/lib/l10n/app_ru.arb">
<violation number="1" location="app/lib/l10n/app_ru.arb:3881">
P2: This visible tentative-date string drops the required `~` marker, so Russian users cannot see that the due date is tentative. Preserve the marker in the translation, for example `Срок ~{date}`.</violation>
</file>
<file name="app/lib/l10n/app_vi.arb">
<violation number="1" location="app/lib/l10n/app_vi.arb:3846">
P2: The visible Vietnamese tentative due-date label drops the required `~` marker. Preserve the marker in this translation so tentative dates remain consistently identifiable across locales.</violation>
</file>
<file name="app/lib/l10n/app_fr.arb">
<violation number="1" location="app/lib/l10n/app_fr.arb:3881">
P2: The French visible tentative-date label drops the required `~` marker. Preserve the marker in this translation so tentative due dates have the same visual indicator as the other platforms.</violation>
</file>
<file name="app/lib/l10n/app_ta.arb">
<violation number="1" location="app/lib/l10n/app_ta.arb:11403">
P2: This translation drops the required `~` marker from tentative due dates. Preserve the marker before `{date}` so Tamil displays the same tentative-date indicator as the template.</violation>
</file>
<file name="app/lib/l10n/app_th.arb">
<violation number="1" location="app/lib/l10n/app_th.arb:3846">
P2: The Thai visual label drops the required `~` marker for tentative due dates. Preserve the marker in this translation so tentative dates remain visibly distinct from confirmed dates.</violation>
</file>
<file name="app/lib/l10n/app_ko.arb">
<violation number="1" location="app/lib/l10n/app_ko.arb:3854">
P2: `notCompletedStatus` says `대기 중` (pending/waiting), which changes the meaning of the English “Not completed” status and can make an unfinished item appear to be waiting. Translate this as `미완료` to match the existing incomplete-status terminology.</violation>
</file>
<file name="app/lib/l10n/app_bn.arb">
<violation number="1" location="app/lib/l10n/app_bn.arb:11403">
P2: The Bengali visible due-date label drops the required `~` marker, so tentative dates no longer use the specified visual convention in this locale. Keep the marker in the visual string; the separate semantics key already provides the spoken wording.</violation>
</file>
<file name="app/lib/l10n/app_da.arb">
<violation number="1" location="app/lib/l10n/app_da.arb:3896">
P2: `notCompletedStatus` is shown for an incomplete action item, but `Afventende` means pending or waiting rather than not completed. Use `Ufuldført` so the Danish status matches the source meaning.</violation>
</file>
<file name="app/lib/l10n/app_el.arb">
<violation number="1" location="app/lib/l10n/app_el.arb:3846">
P2: This visible tentative-date label drops the required `~` marker. Preserve the marker in the Greek translation so tentative dates use the same visual convention as the other locales.</violation>
</file>
<file name="app/lib/l10n/app_sl.arb">
<violation number="1" location="app/lib/l10n/app_sl.arb:11400">
P2: Use the established Slovenian action-item label here; `Dejanja` reads as generic “actions” rather than action items and conflicts with the existing `Naloge` headings.</violation>
<violation number="2" location="app/lib/l10n/app_sl.arb:11410">
P2: Replace the Croatian/Serbian status text with Slovenian, such as `Dokončano`, so completed items remain localized in Slovenian.</violation>
<violation number="3" location="app/lib/l10n/app_sl.arb:11411">
P2: Translate this as `Nedokončano` (or equivalent Slovenian wording); `Čakajoče` incorrectly labels every incomplete item as pending.</violation>
</file>
<file name="app/lib/l10n/app_ca.arb">
<violation number="1" location="app/lib/l10n/app_ca.arb:3846">
P2: This translation drops the `~` marker required for tentative due dates. Retain the marker in the Catalan value so the visual date consistently communicates uncertainty.</violation>
</file>
<file name="app/lib/l10n/app_localizations_be.dart">
<violation number="1" location="app/lib/l10n/app_localizations_be.dart:12462">
P2: This Belarusian visible due-date label drops the literal `~` required for tentative dates. Preserve the marker in the ARB translation and regenerate the localization file.</violation>
</file>
<file name="app/lib/l10n/app_ja.arb">
<violation number="1" location="app/lib/l10n/app_ja.arb:3854">
P2: Japanese screen readers announce unchecked action items as “on hold,” misrepresenting their state as paused rather than not completed. Translate this status as `未完了` to match the source meaning.</violation>
</file>
<file name="app/lib/l10n/app_localizations_hr.dart">
<violation number="1" location="app/lib/l10n/app_localizations_hr.dart:12466">
P2: This Croatian string drops the required `~` marker, so tentative due dates are not displayed consistently with the feature contract. Preserve the marker in the visible translation, for example `Rok ~$date`; keep the accessible semantics string worded out as it is.</violation>
</file>
<file name="app/lib/l10n/app_localizations_vi.dart">
<violation number="1" location="app/lib/l10n/app_localizations_vi.dart:12421">
P2: This label omits “in” and describes showing the transcript rather than showing the action item in it. Translate it as `Hiển thị trong bản chép lời`.</violation>
</file>
<file name="app/lib/l10n/app_lt.arb">
<violation number="1" location="app/lib/l10n/app_lt.arb:3850">
P2: This tooltip says “Update task” even though the control reopens a completed task. Translate it as “Atidaryti užduotį iš naujo” so Lithuanian users understand the action.</violation>
</file>
<file name="app/lib/l10n/app_ro.arb">
<violation number="1" location="app/lib/l10n/app_ro.arb:3845">
P2: `Afișează transcrierea` means “Show the transcript,” not “Show in transcript,” so this menu action’s Romanian label misstates where it navigates. Translate it as `Afișează în transcriere`.</violation>
<violation number="2" location="app/lib/l10n/app_ro.arb:3846">
P2: This is the visible label for tentative due dates, but it omits the required `~` marker; Romanian users will see tentative wording without the cross-platform marker. Preserve the marker in the translation, for example `Scadență ~{date}`.</violation>
</file>
<file name="app/lib/l10n/app_es.arb">
<violation number="1" location="app/lib/l10n/app_es.arb:3846">
P2: This Spanish visible label drops the `~` marker promised for tentative dates. Preserve the marker in the sighted-user string, for example `Vence ~{date}`; the longer tentative wording can remain in `tentativeTaskDueDateSemantics`.</violation>
</file>
<file name="desktop/macos/Desktop/Sources/MainWindow/Components/ConversationActionItemRow.swift">
<violation number="1" location="desktop/macos/Desktop/Sources/MainWindow/Components/ConversationActionItemRow.swift:135">
P2: This identifier cannot reliably target a completion control: duplicate action items share `item.id`, and the enclosing row hides this child from accessibility queries. Pass a stable per-row identity and apply it to the exposed row/control instead.</violation>
</file>
<file name="app/lib/pages/conversation_detail/widgets/summary_tab.dart">
<violation number="1" location="app/lib/pages/conversation_detail/widgets/summary_tab.dart:144">
P2: The page counts action-item matches even when this branch hides the entire section for discarded conversations. Searching a discarded note can therefore advertise hidden matches and navigate to nonexistent rows; exclude discarded items from the page’s search count as well.</violation>
</file>
<file name="app/lib/l10n/app_tr.arb">
<violation number="1" location="app/lib/l10n/app_tr.arb:3881">
P2: This Turkish display string drops the required `~` marker for tentative dates. Preserve the marker in the localized value so Turkish users can distinguish tentative dates consistently.</violation>
</file>
<file name="app/lib/l10n/app_localizations_fi.dart">
<violation number="1" location="app/lib/l10n/app_localizations_fi.dart:12434">
P2: This Finnish tentative-date label drops the required `~` marker. Keep the marker in `app_fi.arb` and regenerate this file so Finnish rows match the tentative-date display contract.</violation>
</file>
<file name="app/lib/pages/conversation_detail/page.dart">
<violation number="1" location="app/lib/pages/conversation_detail/page.dart:199">
P2: Search counts action items even when the Summary tab omits them for discarded conversations. Exclude discarded conversations from this count so navigation cannot target an invisible row.</violation>
</file>
<file name="app/lib/l10n/app_cs.arb">
<violation number="1" location="app/lib/l10n/app_cs.arb:3846">
P2: This visible Czech due-date label drops the `~` marker required for tentative dates. Preserve the marker in the translation, for example `Termín: ~{date}`; keep the prose wording in `tentativeTaskDueDateSemantics` for accessibility.</violation>
</file>
<file name="desktop/macos/Desktop/Sources/Stores/TasksStore.swift">
<violation number="1" location="desktop/macos/Desktop/Sources/Stores/TasksStore.swift:3114">
P2: `createTask(completed: true)` writes `completedAt`, but unchecking only changes `completed`; clear `completedAt` when completion is reversed to avoid stale completion metadata.</violation>
</file>
<file name="app/lib/l10n/app_localizations_et.dart">
<violation number="1" location="app/lib/l10n/app_localizations_et.dart:12445">
P2: The successful Add to Tasks state is translated as “Task created,” so Estonian users lose the distinction between creating the note action item and adding it to the task list. Translate this status as “Ülesannetesse lisatud” to preserve the source meaning.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
| /// own description and due date disambiguate rows that share evidence. The | ||
| /// row's position disambiguates remaining twins: two rows with equal | ||
| /// description, due date and evidence are two commitments, not one. | ||
| static String identity(ActionItem item, {int? row}) => |
There was a problem hiding this comment.
P1: The row index makes the persisted task identity and idempotency key change whenever extraction reorders rows. Keep task identity independent of mutable display position, or use a stable server/item identity, so reprocessed notes cannot promote the same item twice.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart, line 190:
<comment>The row index makes the persisted task identity and idempotency key change whenever extraction reorders rows. Keep task identity independent of mutable display position, or use a stable server/item identity, so reprocessed notes cannot promote the same item twice.</comment>
<file context>
@@ -0,0 +1,768 @@
+ /// own description and due date disambiguate rows that share evidence. The
+ /// row's position disambiguates remaining twins: two rows with equal
+ /// description, due date and evidence are two commitments, not one.
+ static String identity(ActionItem item, {int? row}) =>
+ '${row ?? ''}|${item.sourceSegmentIds.join('|')}|${item.description}|${item.dueAt?.millisecondsSinceEpoch ?? ''}';
+
</file context>
| dueAt: task.dueAt, conversationId: task.conversationId, source: task.source, priority: task.priority) | ||
| // Only the summary reflects a task mutation that actually took effect; | ||
| // TasksStore reports false when the toggle failed and rolled back. | ||
| let toggled = await TasksStore.shared.toggleTask(toggleInput) |
There was a problem hiding this comment.
P1: toggleCompletion passes a freshly promoted backend task directly to TasksStore.toggleTask, but toggleTask requires the task to exist in ActionItemStorage before it calls the API. The first check of an unlinked item therefore fails for the newly created task; sync it locally before toggling or use a remote-safe mutation path.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At desktop/macos/Desktop/Sources/MainWindow/Pages/ConversationDetailSections.swift, line 185:
<comment>`toggleCompletion` passes a freshly promoted backend task directly to `TasksStore.toggleTask`, but `toggleTask` requires the task to exist in `ActionItemStorage` before it calls the API. The first check of an unlinked item therefore fails for the newly created task; sync it locally before toggling or use a remote-safe mutation path.</comment>
<file context>
@@ -98,6 +124,105 @@ struct ConversationActionItemsSection: View {
+ dueAt: task.dueAt, conversationId: task.conversationId, source: task.source, priority: task.priority)
+ // Only the summary reflects a task mutation that actually took effect;
+ // TasksStore reports false when the toggle failed and rolled back.
+ let toggled = await TasksStore.shared.toggleTask(toggleInput)
+ guard toggled else {
+ failedActionItemIDs.insert(identity)
</file context>
| bool sameRow(ActionItem candidate) => | ||
| candidate.description == item.description && | ||
| candidate.dueAt == item.dueAt && | ||
| candidate.targetTaskId == item.targetTaskId; |
There was a problem hiding this comment.
P1: Include sourceSegmentIds in sameRow matching. Otherwise identical action items backed by different transcript segments can have the wrong row completed or reopened after the list changes.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart, line 287:
<comment>Include `sourceSegmentIds` in `sameRow` matching. Otherwise identical action items backed by different transcript segments can have the wrong row completed or reopened after the list changes.</comment>
<file context>
@@ -0,0 +1,768 @@
+ bool sameRow(ActionItem candidate) =>
+ candidate.description == item.description &&
+ candidate.dueAt == item.dueAt &&
+ candidate.targetTaskId == item.targetTaskId;
+ if (row != null && row < rows.length && sameRow(rows[row])) return row;
+ final matches = rows.where(sameRow).toList();
</file context>
| candidate.targetTaskId == item.targetTaskId; | |
| candidate.targetTaskId == item.targetTaskId && listEquals(candidate.sourceSegmentIds, item.sourceSegmentIds); |
| index, | ||
| value, | ||
| row: index, | ||
| currentRows: context.read<ConversationDetailProvider>().conversationOrNull?.structured.actionItems, |
There was a problem hiding this comment.
P1: Do not pass a pre-await row snapshot to the final conversation patch. Re-read the provider rows immediately before resolving and updating the index, or pass a getter so reprocessing cannot redirect the patch to a different row.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/widgets/conversation_action_items_section.dart, line 376:
<comment>Do not pass a pre-await row snapshot to the final conversation patch. Re-read the provider rows immediately before resolving and updating the index, or pass a getter so reprocessing cannot redirect the patch to a different row.</comment>
<file context>
@@ -0,0 +1,768 @@
+ index,
+ value,
+ row: index,
+ currentRows: context.read<ConversationDetailProvider>().conversationOrNull?.structured.actionItems,
+ );
+ if (!mounted) return;
</file context>
| // several commitments, and the backend allows multiple identical items in a | ||
| // conversation. Bind the item's own content so distinct rows stay distinct. | ||
| let due = item.dueAt.map { "\($0.timeIntervalSince1970)" } ?? "" | ||
| return "\(item.sourceSegmentIDs.joined(separator: "|"))|\(item.description)|\(due)" |
There was a problem hiding this comment.
P2: actionItemIdentity omits the row index, so identical rows sharing source segments, description, and due date use one state key. Toggling or promoting one row then changes the other row's override and task state; include the row index or another per-row identity.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At desktop/macos/Desktop/Sources/MainWindow/Pages/ConversationDetailSections.swift, line 106:
<comment>`actionItemIdentity` omits the row index, so identical rows sharing source segments, description, and due date use one state key. Toggling or promoting one row then changes the other row's override and task state; include the row index or another per-row identity.</comment>
<file context>
@@ -72,17 +85,30 @@ struct ConversationActionItemsSection: View {
+ // several commitments, and the backend allows multiple identical items in a
+ // conversation. Bind the item's own content so distinct rows stay distinct.
+ let due = item.dueAt.map { "\($0.timeIntervalSince1970)" } ?? ""
+ return "\(item.sourceSegmentIDs.joined(separator: "|"))|\(item.description)|\(due)"
+ }
+
</file context>
|
|
||
| @override | ||
| String tentativeTaskDueDate(String date) { | ||
| return 'Eräpäivä noin $date'; |
There was a problem hiding this comment.
P2: This Finnish tentative-date label drops the required ~ marker. Keep the marker in app_fi.arb and regenerate this file so Finnish rows match the tentative-date display contract.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_localizations_fi.dart, line 12434:
<comment>This Finnish tentative-date label drops the required `~` marker. Keep the marker in `app_fi.arb` and regenerate this file so Finnish rows match the tentative-date display contract.</comment>
<file context>
@@ -12419,4 +12419,44 @@ class AppLocalizationsFi extends AppLocalizations {
+
+ @override
+ String tentativeTaskDueDate(String date) {
+ return 'Eräpäivä noin $date';
+ }
+
</file context>
| // The tab renders its action items after the note; their matches count | ||
| // toward the tab's total and are navigated inside the section. | ||
| count = _summaryContentSearchResults + | ||
| conversationActionItemSearchMatchCount(provider.conversation.structured.actionItems, _searchQuery); |
There was a problem hiding this comment.
P2: Search counts action items even when the Summary tab omits them for discarded conversations. Exclude discarded conversations from this count so navigation cannot target an invisible row.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/page.dart, line 199:
<comment>Search counts action items even when the Summary tab omits them for discarded conversations. Exclude discarded conversations from this count so navigation cannot target an invisible row.</comment>
<file context>
@@ -175,15 +183,20 @@ class ConversationDetailPageState extends State<ConversationDetailPage> with Tic
+ // The tab renders its action items after the note; their matches count
+ // toward the tab's total and are navigated inside the section.
+ count = _summaryContentSearchResults +
+ conversationActionItemSearchMatchCount(provider.conversation.structured.actionItems, _searchQuery);
}
</file context>
| "meetingActionItemsTitle": "Akční položky", | ||
| "addToTasks": "Přidat do úkolů", | ||
| "showInTranscript": "Zobrazit přepis", | ||
| "tentativeTaskDueDate": "Termín přibližně {date}", |
There was a problem hiding this comment.
P2: This visible Czech due-date label drops the ~ marker required for tentative dates. Preserve the marker in the translation, for example Termín: ~{date}; keep the prose wording in tentativeTaskDueDateSemantics for accessibility.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_cs.arb, line 3846:
<comment>This visible Czech due-date label drops the `~` marker required for tentative dates. Preserve the marker in the translation, for example `Termín: ~{date}`; keep the prose wording in `tentativeTaskDueDateSemantics` for accessibility.</comment>
<file context>
@@ -3839,5 +3839,17 @@
+ "meetingActionItemsTitle": "Akční položky",
+ "addToTasks": "Přidat do úkolů",
+ "showInTranscript": "Zobrazit přepis",
+ "tentativeTaskDueDate": "Termín přibližně {date}",
+ "tentativeTaskDueDateSemantics": "Předběžný termín {date}",
+ "openTask": "Otevřít úkol",
</file context>
| "tentativeTaskDueDate": "Termín přibližně {date}", | |
| "tentativeTaskDueDate": "Termín: ~{date}", |
| priority: priority, | ||
| category: tags?.first, | ||
| dueAt: dueAt, | ||
| completedAt: completed ? Date() : nil, |
There was a problem hiding this comment.
P2: createTask(completed: true) writes completedAt, but unchecking only changes completed; clear completedAt when completion is reversed to avoid stale completion metadata.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At desktop/macos/Desktop/Sources/Stores/TasksStore.swift, line 3114:
<comment>`createTask(completed: true)` writes `completedAt`, but unchecking only changes `completed`; clear `completedAt` when completion is reversed to avoid stale completion metadata.</comment>
<file context>
@@ -3098,10 +3106,12 @@ class TasksStore: ObservableObject {
priority: priority,
category: tags?.first,
dueAt: dueAt,
+ completedAt: completed ? Date() : nil,
recurrenceRule: recurrenceRule,
metadataJson: metadataJson
</file context>
| String get addingToTasks => 'Lisatakse ülesannetesse'; | ||
|
|
||
| @override | ||
| String get taskAddedToTasks => 'Ülesanne loodud'; |
There was a problem hiding this comment.
P2: The successful Add to Tasks state is translated as “Task created,” so Estonian users lose the distinction between creating the note action item and adding it to the task list. Translate this status as “Ülesannetesse lisatud” to preserve the source meaning.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_localizations_et.dart, line 12445:
<comment>The successful Add to Tasks state is translated as “Task created,” so Estonian users lose the distinction between creating the note action item and adding it to the task list. Translate this status as “Ülesannetesse lisatud” to preserve the source meaning.</comment>
<file context>
@@ -12409,4 +12409,44 @@ class AppLocalizationsEt extends AppLocalizations {
+ String get addingToTasks => 'Lisatakse ülesannetesse';
+
+ @override
+ String get taskAddedToTasks => 'Ülesanne loodud';
+
+ @override
</file context>
| String get taskAddedToTasks => 'Ülesanne loodud'; | |
| String get taskAddedToTasks => 'Ülesannetesse lisatud'; |
|
Mobile, conversation summary. Web, shared note. macOS. All three surfaces rendered. |
|
Folded into the survivor #24485 (head What carried over: action-item owner/due/context end to end — backend wire fields and the target-task-precise mirror (a row with Note: the owner/due metadata now reads main's wire schema (owner/capture_owner/due_confidence/source_segment_ids on GeneratedActionItem), so the client wrapper keeps both main's cache-coordinate machinery and this PR's fields; |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
What
Meeting-note action items now use the same metadata and the section name Action items on web, macOS and mobile. Tentative dates display as
Due ~Wed, Oct 7and expose “tentatively due …” to accessibility; confirmed and unspecified dates keep the existing presentation. Unknown owner, due date and context are omitted.due_at. Cache encoding keeps owner, due date/certainty and context. “Try with Apps” starts collapsed.The native apps show “You” for the reader’s own items (
capture_owner == "user"); the public share page keeps the owner’s name. Email-shaped owner names are omitted. The separate task list continues to say “Tasks”.The web Markdown export for agents is unchanged and retains
Owner: Unknown/Due: Unknown;shared-export.test.mjspins that behavior.Data
The wire already carries
due_certainty,target_task_idandsource_segment_ids; this change retains them in the client models and their caches. The public share projection now includes optionaldue_certainty, which is represented in the checked-in app-client OpenAPI schema and generated TypeScript clients. FlutterStructured.toJson()writes full action-item objects while its decoder still accepts legacy description strings; macOSStructured.encode(to:)preserves owner, due date/certainty and context.ActionItemdecodes and encodes due certainty, target task ID and source segment IDs. These fields survive the JSON summary cache round trip, and legacy rows without them still decode.ActionItemcarries those fields throughfromGeneratedandtoGenerated. Task creation uses a stable idempotency key for each extracted item, so repeated toggles reuse the same task.scripts/l10n.pywith translations for all 49 locales.Verification
cd web/frontend && npm test && npm run test:share-http— both passed (185 unit tests and the HTTP share test).BACKEND_UNIT_TEST_FILE_LIST=/tmp/omi-lane-a-backend-tests.txt bash backend/test.sh— 13 passed for the selected share projection test file.backend/.venv/bin/python backend/scripts/export_openapi.py --surface app-client --write docs/api-reference/app-client-openapi.json— regenerated the schema with nullabledue_certaintyenumerated asconfirmed/tentative; the four generated TypeScript clients were refreshed from that schema and the generator check passes.cd desktop/macos && ./scripts/dev-feedback.py --once swift 'ActionItemRowMetadataTests'— 9 passed, including tentative date, ActionItem and Structured cache round trips, and collapsed disclosure tests. Local Xcode toolchain; not visually verified in a running app.flutter test test/backend/structured_sections_test.dart test/widgets/conversation_action_items_section_test.dart test/providers/siri_task_mutation_test.dart— 31 passed, covering conversation-cache round trips, legacy cache decoding, metadata adapters, tentative presentation/accessibility, menu actions, and repeated complete/reopen/add operations.python3 app/scripts/l10n.py check— 49 locales, 3685 keys.python3 .github/scripts/check_mobile_ux_contract.py --changed-files <changed app/lib files> --base origin/main— passed INV-UI-3.bash app/test.shafter merging the remote cache fix: 4731 passed, 0 failed.scripts/pr-preflight --pr-body-file <this file>: all 53 selected checks passed in 666.74 seconds before the remote cache, OpenAPI schema and generated client updates. Pre-merge repositoryOMI_PR_BODY_FILE=<this file> make preflight: all 53 checks passed in 289.89 seconds before the remote cache, OpenAPI schema and generated client updates. Post-mergeOMI_PR_BODY_FILE=<this file> make preflight: all 53 checks passed in 344.38 seconds before the final OpenAPI artifact and generated TypeScript client updates.No running macOS app or physical device was used.
Product invariants affected
Failure-Class: FC-mirrored-model-omits-new-member
Line-Count-Exception: desktop/macos/Desktop/Sources/Stores/TasksStore.swift | 3713 -> 3730 | reason: createTask accepts an initial completed state so extracted action items can be checked off without creating an open task first; toggleTask now reports whether the completion mutation took effect so conversation summaries only mirror toggles that reached the backend.
Line-Count-Exception: backend/routers/conversations.py | 2266 -> 2277 | reason: set_action_item_status now scopes its standalone-task mirror to the row's durable target_task_id when present instead of flipping every task that shares the description, keeping sibling tasks with equal wording independent.
🤖 Generated with Claude Code