Repository navigation
D127c — shell: a meeting not named by its user titled from its summary's first highlight, marked as Kitokey's beside its date - #1418
Open
kitokey-ines[bot] wants to merge 7 commits into
Open
kitokey-ines[bot] wants to merge 7 commits into
kitokey-ines[bot] wants to merge 7 commits into
Conversation
…ht, marked as Kitokey's, the date beneath, the user's name winning; AL and DG follow (D127 criterion 3) Agent-Session: cabe12ee-7978-42b1-82ad-5090c4cba137 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rst highlight, marked as Kitokey's beside its date; the user's name wins (D127 criterion 3) Agent-Session: cabe12ee-7978-42b1-82ad-5090c4cba137 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…127 criterion 3) Agent-Session: cabe12ee-7978-42b1-82ad-5090c4cba137 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…et reference (D127 criterion 3) Agent-Session: cabe12ee-7978-42b1-82ad-5090c4cba137 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t once; the mark sits on the date's line of text (D127 criterion 3) Agent-Session: cabe12ee-7978-42b1-82ad-5090c4cba137 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… ex. » keeps its first sentence whole (#1418 review, nora) Agent-Session: cabe12ee-7978-42b1-82ad-5090c4cba137 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rk said once, its tooltip in the row alone (#1418 review, nora) Agent-Session: cabe12ee-7978-42b1-82ad-5090c4cba137 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 tasks
kitokey-marc Bot
added a commit
that referenced
this pull request
Dec 1, 2026
…1418) Agent-Session: 99665288-bff6-40d5-88d9-773f58745c6f Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 of 15 tasks
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.
Head: 713dc9e. For the decider, in one sentence: a meeting you did not name now takes a title from its summary — the summary's own title, or else its first highlight's first sentence — marked « ✦ Titre proposé par Kitokey » beside its date; the name you type wins and removes the mark.
Deliverable: D127
Closes #1240
Module
shell, exactly one:src/minutes.rs:highlight, the first section's first paragraph or item, as a title;src/sessions.rs:title_of(the user's name, else the summary's title, else its highlight) andListed.guessed;src/main.rs: a notification names the meeting throughtitle_of, as the list does;src/words.rs:title_guessed, fr and en;ui/window.js,ui/window.css: the mark beside the date, in the row and on the page; it goes when the user names the meeting;tests/titled.rs(new),tests/minutes.rs;scripts/e2e_window.py: DLtitled_from_highlight, AL and DG following the criterion;MANIFEST.yaml:highlightamong pulldown-cmark's readers.This pull request touches a single module
Deliverable
D127, criterion 3: « Given a meeting without a title of its own, when its summary exists, then its row and its page take a title from the summary's first highlight, marked as Kitokey's, the date as its subtitle; the user's own title wins; held by the e2e ». Criterion 1 was #1400. Criterion 2, the 500 meetings, is still open: D127 is not delivered by this PR.
What it changes
title.txt), else the summary'stitle:(D48), else its first highlight. With neither, the date, as before[mm:ss]and the final period left out; cut on a word with « … » within the contract's 80 characterstitle:included (the coordinator's decision, 2026-12-01: a title the model wrote is a guess, #1240). In the row: the sparkles icon (D126's),role=img, named and in its tooltip « Titre proposé par Kitokey ». On the page: the icon and those words beside the date, with no tooltip repeating themmeeting_saidthroughtitle_of). Deliberate and not held by a test of its own:title_ofis held bytests/titled.rs, its call inmain.rsby none (#1418 review, nora)Conventions followed. The icon is the design system's own (D126). The mark has an accessible name, is never interactive and takes no tab stop. The date stays one line of text (D89's check). No market reference is given here: none was read and dated for this PR.
Kept: one rule for every guessed title, and the date kept as the subtitle. Left out: a title written back to the summary, a « confirm this title » action, and a title asked of the model when it gave none.
Oracle
i-d127c3-red-de3cb367(titled_from_highlight,meeting_named,found_by_what_was_said): 57 ok, 6 FAIL — DL's (no title from the highlight, no cut, no mark in the row, none on the page) and AL's two checks the criterion changes (aminutes/v1without a title named by its date). DG passes on main.i-d127c3-green2-d75bdbd5(titled_from_highlight,meeting_named,found_by_what_was_said,meeting_renamed,pages_seen,store_shots,palette_used): 240 ok, 5 FAIL. Two real defects, fixed in ee69690: the page's mark, aninline-flex, read as two more lines of the date bypages_seen(D89), and it stayed on the page after the user named the meeting.i-d127c3-green3-ee696902(titled_from_highlight,pages_seen,meeting_renamed,meeting_named): 157 ok, 0 FAIL.tests/titled.rsred on « M. Dupont présente le budget. » (got « M »), then green at 701945e/713dc9e9 (titled 4/4, minutes 24/24); the page's mark loses its repeated tooltip.i-d127c3-green4-713dc9e9(titled_from_highlight): 19 ok, 0 FAIL.cargo test --locked --offline --no-fail-fast(shell), at e1d67a7: 608 passed and 1 failed (tests/minutes.rs, which the criterion changes), then that test updated: 24/24.lookanddesignagain at ee69690: 34/34. No « NOT RUN ». clippy-D warningsandcargo fmt --checkclean.Tests changed by the criterion, none loosened:
meeting_named: aminutes/v1without a title is now titled by its first highlight, « Le budget », the date beneath it; a meeting without a summary keeps its date.found_by_what_was_said: its summarised meeting takes atitle:of other words (« Point du mois »), so it stays found by its summary and not by a title; a summary's result names its meeting as its row does.tests/minutes.rsa_session_listed_says_its_minutes_title: « old » and « long » (no title, or one out of bounds) now take their first highlight.Kind of oracle: the window's e2e with axe-core on the list and the page, and the shell's tests (
tests/titled.rs).Review budget
git diff --statfrom main: 10 files, 336 lines added and 16 removed, 130 of them the new test file. The oracle first, then the product.Contracts
minutes/v1–v5are read as before; nothing is written to them.Definition of Done
role=imgand its label in the row, words on the page), not interactive, axe clean on the list and on the pageTest sheet
Verifier: (the coordinator names one)
cargo test --locked -- --nocapture), when they run, then all pass, with no « NOT RUN »tests/titled.rsrun, then each failsSummary
DONE
VERIFIED
tests/minutes.rs, which the criterion changes); that test updated, 24/24.lookanddesignat ee69690: 34/34. clippy and fmt clean.ASSUMED
minutes/v5's first section included).NOT VERIFIED
RISKS
meeting_saidinmain.rsis not held by a test (see above).🤖 Generated with Claude Code