Repository navigation
D130 (a2) — shell: « Refaire… » offers the formats, the default marked; the summary written in the one chosen names it - #1340
Conversation
… deleted — the built-in ones hidden only —, one the default, one chosen in « Refaire » Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b
…hanged, deleted; the six built in hidden only; one the default; summarising/v1's --format file tests/formats.rs, before src/formats.rs exists: the store of a person's formats and the file kitokey-summary reads. The screen follows D123's tabs. Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-format reads The six built in hidden and shown again, never changed nor deleted; a person's own made, duplicated, renamed, changed, deleted within minutes/v5's bounds, its structure drawn from its first name and kept; one the default, never hidden. tests/formats.rs: 7 passed. Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ey were formats, formats_hidden and format_default, written as the destinations are; one written by hand outside its bounds left aside, the rest read; only a built-in hidden, the default one offered. tests/formats.rs: 9 passed. Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ral, --structure, --format and its file formats::argument and Summarising::start_as; start as before. tests/formats.rs 10 passed, tests/summarising.rs 9 passed. Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mary names its format formats_offered; minutes_redo takes the format chosen, for that making alone, else Settings' default; Minutes::structure read from v5's front matter; the six names, the list's label, the default's mark and the line in words.rs. Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…marked; the summary written in the one chosen names it The summary's stand-in writes minutes/v5 in the format --format gives it. Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…before « Agent-Session: da9226c3-d369-4ef3-93c4-bca2b7179a8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…for a format deleted since; the page's BUILT_IN as formats.rs's lina's three points on #1340, their oracles, red: the « Format » row shown empty when formats_offered fails; a v5 summary in a format deleted since named by its id; nothing tied window.js's BUILT_IN to formats::BUILT_IN (the test guards it, seen red on the two first swapped). Agent-Session: b9c1bafa-f4f1-4a3a-ad04-6eecce28bd6c Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mat deleted since lina's points 1 and 2 on #1340: the row shown once formats_offered gives at least one (none read: the making in the default, as before); the summary's line shown once its format is known, removed otherwise — never a structure's id said to the person. Agent-Session: b9c1bafa-f4f1-4a3a-ad04-6eecce28bd6c Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ozen core, and checks it took The wrapper set on `__TAURI__.core.invoke` was a no-op: Tauri 2.12.3 freezes `core` (bundle.global.js), so the check saw the list read and shown at the fix too. The object is replaced whole now, the page reading `window.__TAURI__.core` at each call, and CZ checks the replacement took before it judges the row. Agent-Session: b9c1bafa-f4f1-4a3a-ad04-6eecce28bd6c Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rmat-chosen (#1340) The formats' choice moved into main's Refaire dialog (redoDialog, D121): the « Format » row before its note for the summary, its value given to minutes_redo. The old Refaire panels are gone with main. The scenario takes the letter DI, because CZ is D128b's command palette on main. It opens the dialog through redo_open and redo-dialog-*. Agent-Session: 577b2c59-0079-4edc-a825-c63a57ed052e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rmat-chosen (#1340) Agent-Session: 577b2c59-0079-4edc-a825-c63a57ed052e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test sheetVerifier: session 4dbd79e9-5788-40c1-9bce-4a83655185b7 (lina, kitokey-lina[bot])
Verifier's remarks: (1) F4's survivor shows that nothing pins D130's « for this making ». Approval: not given, F4 failed. |
…d by tests/formats.rs lina's mutant on #1340 (`.remove` → `.get` where a making takes the meeting's format) survived: nothing checked that the next making, started outside Refaire (the confidential switch, a model fetched), returns to Settings' default. The choice is now taken through `formats::for_making`, and tests/formats.rs checks it: the format chosen first, then the default, another meeting's choice kept. The behaviour is unchanged. Agent-Session: 577b2c59-0079-4edc-a825-c63a57ed052e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…real making, not the helper alone lina's point on #1340 at 57bf9d5: tests/formats.rs holds `formats::for_making`, not main.rs's path, and a `.get` written around the helper passed. DI now makes the summary again in Point d'équipe through Refaire. Its minutes are then said written by a service, and the confidential switch makes them again here, through write_minutes_from and an Ollama stand-in. That making must take Settings' default (`--format` and its file), never Point d'équipe. Agent-Session: 577b2c59-0079-4edc-a825-c63a57ed052e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test sheetVerifier: session 4dbd79e9-5788-40c1-9bce-4a83655185b7 (lina, kitokey-lina[bot])
Verifier's remarks: (1) Signed again at 4868296 after my sheet at 8437eb9: its F4 survivor (the choice kept past its making) is now pinned twice, by Approval: the sheet passes; the coordinator merges in its order. |
There was a problem hiding this comment.
Approved as the verifier of #1340 at 4868296: session 4dbd79e9-5788-40c1-9bce-4a83655185b7 (lina, UI engineer: design system and accessibility). The sheet passes (comment 7289119647): cargo 602 ok, DI and the six Refaire scenarios green, 9 mutants of 9 killed, the « Format » list labelled and axe-clean.
…rmat-chosen (#1340) tests/silence.rs: formats_offered (D130) and searched (D127) both kept, each its own entry. Agent-Session: 577b2c59-0079-4edc-a825-c63a57ed052e Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test sheetVerifier: session 4dbd79e9-5788-40c1-9bce-4a83655185b7 (lina, kitokey-lina[bot])
Verifier's remarks: (1) Signed again at 711445b, the merge of main d43ebc0. #1400 changed Approval: the sheet passes at 711445b. |
… shard holds it alone under the window's 1200 s Counted at 691 s, the shard planner gave focus_swept's shard 14 scenarios more: 1188 s measured of the 1200 s budget, and #1340's attest was cut twice in versions_kept. Replayed alone or in that exact sequence, versions_kept passes at 711445b and d43ebc0: no hang. With 1062.5, the 3 window shards measure 1061 / 957 / 902 s. Agent-Session: 58f81df5-60f9-4ae1-936d-f6c5dc099c8b Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test sheetVerifier: session 4dbd79e9-5788-40c1-9bce-4a83655185b7 (lina, kitokey-lina[bot])
Verifier's remarks: (1) Signed again at 704f21e. Only Approval: the sheet passes at 704f21e. |
There was a problem hiding this comment.
Approved again as the verifier of #1340 at 704f21e: session 4dbd79e9-5788-40c1-9bce-4a83655185b7 (lina, UI engineer: design system and accessibility). Every automated row replayed at this head: cargo 610 ok, DI and the six Refaire scenarios green (BE on its re-run off load), 9 mutants of 9 killed, the probe clean.
…t as measured here #1340's focus_swept 1062.5 replaced by its two halves, measured. formats_redone, new in main, counted at the median until a run measures it. Agent-Session: 7368a2a3-2f44-4202-9dcb-56104a1d9256 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Module
shell— exactly one:src/formats.rs(argument),src/summarising.rs(start_as),src/main.rs(formats_offered,minutes_redo's format, the making),src/minutes.rs(structure),src/words.rs,ui/window.js,scripts/e2e_window.py(CZ), and their tests. It giveskitokey-summarysummarising/v1's--structureor--format(#1309, merged) and readsminutes/v5'sstructure.After D130 (a1), #1324, merged (13528bc):
mainmerged in at 205ee8e — (a1) landed squashed, soformats.rs,words.rsandtests/formats.rswere taken frommainand this branch's own diff applied on them,format_nameskept once, (a1)'s; its diff is its own.Deliverable
Deliverable: D130
Its second of three pull requests: (a1) #1324, the formats kept; this one, the summary written in the format chosen; (b), the formats' screen in Settings' « Écoute et rédaction » section, where D123 moves it into its tab, neither waiting on the other.
D130's second criterion: given « Refaire… » on a summary, when its dialog opens, then it offers the formats — the default marked —, a choice applying to that meeting; the summary is written in the format chosen through D129's
summarising/v1; the summary's line of provenance names its format; held by the e2e with the summary's stand-in (CZ).What it changes
flowchart LR R["« Refaire… »: Format<br/>the shown ones, the default marked and chosen"]:::consumer -->|"minutes_redo(format)"| Q["the making<br/>the choice, else Settings' default"]:::producer Q -->|"formats::argument"| A{"which"}:::producer A -->|"general: nothing (minutes/v4)"| K["kitokey-summary"]:::outside A -->|"a built-in: --structure name"| K A -->|"a person's own: --format file"| K F["<config>/kitokey/formats/<s>.json"]:::file --> K K --> M["minutes.md"]:::file M -->|"minutes/v5's structure"| L["the summary's line: Format « name »"]:::consumer classDef producer fill:#065f46,color:#fff classDef consumer fill:#1e3a8a,color:#fff classDef file fill:#374151,color:#fff classDef outside fill:#78350f,color:#fffLegend: green, the shell's code; blue, what the person sees; grey, files on the machine; brown, the step's own program.
generalgives no argument —minutes/v4, as before, its sections the same —; another built-in,--structureand its name; a person's own,--formatand its file, written beside the settings (formats/<structure>.json).general; every other argument; the six structures' sections as the page names them.Oracle
tests/formats.rs:formats::argument— nothing forgeneral,--structure stand_up,--formatand its file exactlyformats::file's, the default for one hidden or deleted.tests/summarising.rs:start_asgives the format after the model, the stand-in refusing any other arguments.tests/minutes.rs:structureread from v5's own example and a person's, none from v3.formats_redone, CZ until 73f3c94: main gave CZ to D128b's palette, the e2e): the list as offered,interviewhidden, the person's own after, its default marked and chosen; the default a person's own, so--formatand its file; the line « Format « Point client » »;--structure stand_upchosen; Général, no structure. The summary's stand-in writesminutes/v5from the file--formatgives it.i-nora-d130-cz-red): no list (got: False),kitokey-summarygiven no--format, no line, thenNoSuchElementExceptiononredo-format.argumentandstart_asunknown to the tests before they were written.Minutes::structurewas written in the same step as its test: not seen red on its own.i-nora-d130-cz-green2), and again at 205ee8e aftermainmerged in (partiali-nora-d130-cz-a2main-205ee8e); the run before it, at 419c75a, failed one check of my own test's — it expected a no-break space after « Format », wherewords.rshas a plain one —, corrected.generalgiven--structure→tests/formats.rs; the format dropped from the command →tests/summarising.rs; a hidden format kept →tests/formats.rs;structurenever read →tests/minutes.rs; the choice of « Refaire… » ignored, the default always → CZ (partiali-nora-d130-cz-m5: « FAIL another built-in chosen » and « FAIL Général chosen »,--formatgiven each time) — 5 killed of 5.formats_offeredgives at least one — none read, no list, the making in the default; (2) no line for minutes in a format no longer known — never its id; (3)the_page_lists_the_built_in_formats_as_formats_rs_doesreadswindow.js'sBUILT_INagainstformats::BUILT_IN. Red: (2) at df1941b (« Format « point_ancien » »); (3) with the first two swapped inwindow.js; (1) at b8498a8 with the fix reverted by a patch (partiali-nora-d130-cz-lina3-red2-b8498a87: both FAIL). Green at b8498a8, every check ok (partiali-nora-d130-cz-lina3-green2-b8498a87). (1)'s first check, at 5442f1c, was a no-op: Tauri 2.12.3 freezes__TAURI__.core(bundle.global.js), so a wrapper set oncore.invokenever takes; CZ replaceswindow.__TAURI__whole and checks the replacement took before it judges the row.redoDialog, D121). The « Format » row moved into it, before its note, and its value goes tominutes_redo. DI opens the dialog throughredo_openandredo-dialog-*. Green at 73f3c94: DI with the scenarios that open Refaire (partiali-nora-1340-di2-73f3) andprevious_summary_backandcancelled_at_once(partiali-nora-1340-f3b-73f3), each « its checks passed », the tree unchanged. The shell'scargo testgives 600 passed.git diff <main> <head> | git patch-idgives 00768928 for both). Green at 8437eb9: DI with the Refaire scenarios and F3's (partiali-nora-1340-di-8437), « its checks passed », 130 ok, the tree unchanged. The shell'scargo testgives 601 passed, 0 failed..remove→.geton the meeting's chosen format survived, because nothing checked that a making started outside Refaire returns to the default. At 57bf9d5 the choice is taken throughformats::for_making, andtests/formats.rs::a_format_chosen_in_refaire_serves_one_making_alonechecks it. Red: with.getinfor_making,left: "stand_up",right: "point_client". Green: the shell'scargo testgives 602 passed, 0 failed, 0 « NOT RUN »; fmt and clippy are clean. The behaviour is unchanged..getwritten aroundfor_makingpassed. At 4868296 (e2e only), DI makes the summary in Point d'équipe through Refaire. Its minutes are then said a service's, and the confidential switch makes them again here, throughwrite_minutes_from. That making must take Settings' default (--formatand its file). Red: withv1340-get-around-for-making.patch(format_chosen…get(&folder).cloned()in main.rs), partiali-nora-1340-red-4868, one FAIL alone, « Refaire in Point d’équipe, then made again here as the switch says confidential: Settings' default, its file, never Point d’équipe », got--structure stand_up. Green: partiali-nora-1340-green-4868, « its checks passed », the tree unchanged.tests/silence.rswas settled by keeping both entries,formats_offeredandsearched. The change's own diff outsidesilence.rsis identical to 4868296's (patch-id dbba107d). Green at 711445b: DI (partiali-nora-1340-di-7114), and the shell'scargo testgives 610 passed.e2e_times.txtat 704f21e. Shard 2 was killed by its 1200 s timeout duringversions_kept, in both runs. There was no hang.versions_keptpasses alone and in shard 2's exact sequence (partialsi-nora-1340-ve-*andi-nora-1340-ves2-*, at 711445b and at d43ebc0). That sequence measures 1188 s, ande2e.shgives 1200 s to the whole run, not to each scenario.focus_sweptmeasures about 1060 s since 2026-11-30, bute2e_times.txtstill counted 691.3 s, so the shard planner gave its shard 14 scenarios more. One line ofe2e_times.txtnow says 1062.5.e2e_shards.lists, fed with the run's own measured times, gives the window's 3 shards 1061 s (focus_sweptalone), 957 s and 902 s.cargo test --locked --no-fail-fast: every suite green, none « NOT RUN »;cargo clippy --all-targets -- -D warningsclean;cargo fmt --checkclean; ruff clean on the e2e.Kind of oracle: the module's tests, and the e2e against the summary's stand-in.
Review budget
.github/workflows/governance.yml,MAX_LINES), 12 files; of which the tests and the e2e: 244.Contracts
summarising/v1's--structureand--formatand readsminutes/v5'sstructureas D129 — contracts: summarising/v1 takes a format a person made (--format <file>), minutes/v5's about in their words, in place #1309 says them; no contract changed here.Definition of Done
aboutgoes to the provider as the six structures' do (D129, D129 — summary: kitokey-summary writes minutes/v5 in a format a person made (--format <file>); the six structures unchanged #1321); nothing new leaves the machineTest sheet
The verifier's section:
shellisstandardand user-facing, a sheet is due. Written at opening (205ee8e); everything runs once, at the head that merges.Verifier: session 44c23727-79e0-44b5-8ad6-25ac1f2730f5 (lina, kitokey-lina[bot])
cargo test --locked --no-fail-fast -- --nocapture), then all pass,tests/formats.rs,tests/summarising.rsandtests/minutes.rsamong them, with no « NOT RUN »formats_redone) runs, then « Refaire… » offers the shown formats by their names, the default marked and chosen; the default a person's own gives--formatand its file; another built-in--structureand its name; Général neither; the summary's line names its formatredo_choice_starts_nothing,redo_offers_the_services_models,models_advanced,previous_summary_back,gestures_answer,cancelled_at_once), then they pass: the list added moves nothing else of the dialogSummary
DONE
formats.rs's by a test (lina's three points).VERIFIED
i-nora-d130-cz-lina3-*); the module's suites green; 5 of 5 mutants killed, CZ's by a partial.ASSUMED
generalkeeps writingminutes/v4rather than v5'sgeneral: the same sections, no change for anyone who never chooses a format.NOT VERIFIED
RISKS
focus_sweptalone now takes 88 % of a window shard's 1200 s (1062 s), and it grows with each surface. An issue apart asks for it to be split or bounded; this change only corrects its time.🤖 Generated with Claude Code