release: ship meeting minutes and portable DOCX in 0.2.2
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Пакет шаблона протокола внутри приложения
|
||||
|
||||
Исходный комплект хранится в `Sources/IrizDictate/Resources/MeetingMinutes` без изменений. `Package.swift` включает его через `.copy("Resources/MeetingMinutes")` в `IrizApp_IrizDictate.bundle`.
|
||||
|
||||
Установленное приложение и приложение внутри DMG содержат один и тот же путь:
|
||||
|
||||
```text
|
||||
iriz.app/Contents/Resources/IrizApp_IrizDictate.bundle/MeetingMinutes/
|
||||
```
|
||||
|
||||
Весь комплект переносится целиком: DOCX-шаблон, `fields.json`, `data.schema.json`, manifest, документация, примеры, тесты, вспомогательные скрипты и PT Serif с лицензией OFL. `scripts/build_app.sh` и `scripts/make_release.sh` сохраняют существующее копирование всех соседних SwiftPM-бандлов. Новый обязательный ресурс не заменяет языковой `IrizApp_IrizCore.bundle`.
|
||||
|
||||
Оба сборщика останавливаются, если комплект отсутствует, содержит симлинк, обязательный файл пуст или отсутствует, либо изменён шаблон. Проверка повторяется в установленном кандидате и в смонтированном DMG. При отказе до замены установленное приложение не меняется; при отказе после замены действует существующий откат. Выпуск не попадает в `dist`, пока проверки образа не прошли.
|
||||
|
||||
SHA-256 эталонного `template.docx`:
|
||||
|
||||
```text
|
||||
8b4ffde7a7d09c6f3450b2de8667334fe79f544157553c3e81d77456b43807ff
|
||||
```
|
||||
|
||||
## Работа без каталога сборки
|
||||
|
||||
`MeetingTemplate` ищет ресурс относительно bundle приложения или тестового модуля. Абсолютный путь разработчика к `.build` и `Bundle.module` не нужны для запуска упакованного приложения. В `Tests/IrizDictateTests/MeetingDOCXTests.swift` есть проверка отдельно перенесённого `.app`, у которого комплект есть только в `Contents/Resources`.
|
||||
|
||||
Экспорт DOCX выполняется Swift-кодом с системным `/usr/bin/ditto` для ZIP-контейнера. Вложенные `scripts/*.py` и `tests/*.py` — часть исходного комплекта для ручной проверки; приложение их не запускает. Python не является runtime-зависимостью экспорта. Это не отменяет существующее использование Python самим release-сборщиком на машине разработчика или CI.
|
||||
|
||||
## Регрессии упаковки
|
||||
|
||||
```bash
|
||||
bash scripts/build_app_test.sh --selftest
|
||||
bash scripts/make_release_test.sh --selftest
|
||||
```
|
||||
|
||||
Моки работают в собственных временных каталогах, не используют общую `.build`, не подписывают настоящий код, не монтируют образы и не обращаются к `/Applications`. Проверяются полный перенос комплекта и отказы при его потере или изменении. Реальную упаковку нового комплекта и экспорт из скопированного приложения нужно проверить отдельно; зелёный CI baseline 0.2.1 до этой интеграции их не подтверждает.
|
||||
@@ -0,0 +1,98 @@
|
||||
# Meeting transcripts and minutes
|
||||
|
||||
<p align="center"><img src="assets/pantheon/doc-contributing.png" alt="A voice waveform beside a blank tablet: retain the source, then fill the minutes" width="100%"></p>
|
||||
|
||||
Open **Settings → Meetings**, install a speech model using the controls on that
|
||||
page, and drop a Russian-language recording into the queue. A live recording
|
||||
can also start from the menu bar. Meeting audio is retained; ordinary dictation
|
||||
does not retain audio.
|
||||
|
||||
Before processing, choose local transcription alone or consent to send the
|
||||
transcript to the selected CLI agent. The dialog names the destination and
|
||||
model. This is separate from consent for dictation cleanup. Configure the CLI
|
||||
in **Prompt mode** if it is missing. Provider charges and access limits may
|
||||
apply. The audio file is not included in the agent request.
|
||||
|
||||
## What is saved
|
||||
|
||||
The meeting archive contains a copy of the audio, the original recognition
|
||||
text in Markdown, and an immutable `meeting-source.json`. Each export creates
|
||||
a new version folder containing:
|
||||
|
||||
- `meeting-minutes.docx`: part I, minutes; part II, the full available transcript
|
||||
starting on a new page;
|
||||
- `meeting-data.json`: the exact fields and repeated blocks used for that DOCX;
|
||||
- `clarifications.txt`: unknown details and checks still needed.
|
||||
|
||||
All 38 common fields and seven block types are validated. Every actual card
|
||||
must contain its required keys. Missing information is marked explicitly;
|
||||
empty lists do not fabricate attendees, decisions or tasks. The agent is
|
||||
instructed to separate proposals from agreed decisions; check that distinction
|
||||
against the recording. The document is never automatically approved.
|
||||
|
||||
Local-only processing produces a transcript and an unfilled minutes form.
|
||||
Choose **Fill minutes** to populate the minutes through the agent later.
|
||||
If the agent or exporter fails, the saved source stays available. A retry reads
|
||||
that source without recognizing the audio again, and does not overwrite older
|
||||
exports. Recent meetings remain accessible after restarting the app. Archives
|
||||
from older versions without a source snapshot must be imported again to use
|
||||
the new export.
|
||||
|
||||
## Accuracy and limits
|
||||
|
||||
The transcript preserves the text returned by the speech engine, including
|
||||
repetitions and unfinished phrases. This does not make automatic recognition
|
||||
a human-verified verbatim transcript: compare it with the recording before
|
||||
relying on names, dates, decisions or assignments.
|
||||
|
||||
Only usable timing data from the speech engine becomes a timestamp. Unknown
|
||||
timing, uncertain speakers and incomplete alignment are explicit. A failed
|
||||
alignment retains the entire recognition text; it does not discard the tail
|
||||
or invent timestamps. Speaker labels identify detected voices, not verified
|
||||
people. An import date is not used as the meeting date, and a complete file
|
||||
does not prove that the whole meeting was recorded.
|
||||
|
||||
Agent requests currently accept up to 120,000 UTF-8 bytes of recognition text.
|
||||
Larger sources remain saved but are not sent or silently truncated. The agent
|
||||
response must pass structural and source-evidence checks; at most one repair
|
||||
request follows an invalid response. Refusal, timeout and cancellation do not
|
||||
trigger a hidden provider switch.
|
||||
|
||||
## Template and privacy
|
||||
|
||||
The supplied template, schema and fonts are included in the app. Export does
|
||||
not require a Desktop folder, Python, an internet download or the source
|
||||
checkout. The native filler is tested against the package's Python filler.
|
||||
The original template stays unchanged. PT Serif, page settings, headings and
|
||||
footer numbering are retained; authoring instructions are removed from the
|
||||
output. A document reader may substitute fonts if PT Serif is not installed
|
||||
in that reader's environment; the font files and OFL license are bundled.
|
||||
|
||||
Meeting files are stored as plaintext with owner-only file permissions, not
|
||||
app-level encryption. FileVault provides disk encryption if enabled. The
|
||||
external agent sees the transcript only after the separate consent step.
|
||||
Custom CLI configuration may change its actual endpoint. An argument-based
|
||||
CLI also exposes its prompt to processes running under the same account;
|
||||
the consent dialog warns about this.
|
||||
|
||||
The plain `iriz transcribe` command remains a text-only file transcription
|
||||
command; the meeting workflow described here is in the app. See the
|
||||
[resource and packaging contract](MEETING-RESOURCES.md) for build checks.
|
||||
|
||||
## Speaker models
|
||||
|
||||
The Meetings page has a separate **Download speaker models · 22 MB** button.
|
||||
This optional download is 21,599,417 bytes across 21 pinned files. Progress,
|
||||
cancellation and retry are shown in the page. A restart checks the installed
|
||||
files again; recognition does not silently download them. Without these
|
||||
models, transcription still works but speakers remain undetermined.
|
||||
|
||||
The models are [Speaker Diarization CoreML by FluidInference](https://huggingface.co/FluidInference/speaker-diarization-coreml/blob/1ed7a662fdc7109e36d822db793ee6eebdaf8594/README.md),
|
||||
revision `1ed7a662fdc7109e36d822db793ee6eebdaf8594`. That model card declares
|
||||
CC BY 4.0 and credits the upstream
|
||||
[Pyannote Community-1 model](https://huggingface.co/pyannote/speaker-diarization-community-1).
|
||||
The model license is distinct from the FluidAudio SDK license. The app downloads
|
||||
the pinned model bytes without modifying them and verifies their sizes and
|
||||
SHA-256 hashes before publishing the cache. These weights are not bundled
|
||||
in the app or DMG. The download path does not enable networking in the speech
|
||||
recognizer and does not upload audio or transcript text.
|
||||
+8
-1
@@ -39,6 +39,13 @@ Builds live under `release/build`; output goes to `release/dist`. Both stay out
|
||||
|
||||
The builder checks app and framework architectures, deployment targets, language resources, bundled dependencies, code signatures and the mounted image. Previous output is kept until the new images pass. A failed build leaves its log and staging directory for diagnosis; it detaches only its own mounted image.
|
||||
|
||||
The meeting template is a required runtime resource, not a developer-only
|
||||
document. Both app builders verify its complete bundle and the template hash,
|
||||
including inside the mounted DMG. For a meeting-feature release, also run the
|
||||
DOCX, transcript, generator and archive suites and test an export from the
|
||||
copied app. See [MEETING-RESOURCES.md](MEETING-RESOURCES.md). An older successful
|
||||
CI run does not verify a newly added template or export path.
|
||||
|
||||
For an experimental universal build, set `IRIZ_RELEASE_VARIANTS='arm64 universal'`. Its extra `x86_64` slice is a packaging check, not proof that recognition works on an Intel Mac. Do not advertise it as tested Intel support.
|
||||
|
||||
## GitHub Actions
|
||||
@@ -49,7 +56,7 @@ The standard ARM64 `macos-26` runner uses Xcode 26.6, listed in [GitHub's runner
|
||||
|
||||
Before testing, the hosted-runner setup enables the built-in English and Russian input sources and sets iriz's own language preference to Russian. It does not select a different active keyboard, change the system language, grant permissions or replace the native keyboard map with a fixture. Setup refuses to write outside a GitHub-hosted macOS runner, and a failed prerequisite stops the build before the tests.
|
||||
|
||||
To verify the full build for a version that is already published, use **Run workflow → build_only: true**. This runs the tests, builds and verifies the DMG, and uploads the four files as an Actions artifact. The entire release-writing job is skipped: no draft, tag, asset or Latest change. With the default `false`, an existing release makes the draft job fail without changing it.
|
||||
To verify the full build for a version that is already published, use **Run workflow → build_only: true**. This runs the tests, builds and verifies the DMG, and uploads the four files as an Actions artifact. The entire release-writing job is skipped: no draft, tag, asset or Latest change. With the default `false`, an already published release is a successful no-op only if its exact tag ref resolves to the commit that produced the build, including annotated tags. The job logs `already published, left unchanged` and neither edits the release nor uploads assets. This does not verify the existing assets; independent download and installation checks still decide acceptance. An existing draft, mismatched ref or source commit, invalid API response or API failure stops the job without writes. If no release exists, the job still creates only a new draft, without overwriting assets.
|
||||
|
||||
A maintainer reviews the draft, the release notes and a clean-machine install, runs the publication checks, then publishes it. Publishing is a separate action. No Apple credentials are required by this workflow and no background updater is installed in the app.
|
||||
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
# iriz 0.2.2
|
||||
|
||||
## English
|
||||
|
||||
Meeting minutes now use the supplied document template inside the app.
|
||||
|
||||
- DOCX: minutes first, then the full available recognition transcript on a new
|
||||
page. The matching JSON and a list of details to check are saved alongside it.
|
||||
- Filling decisions and action items uses your selected CLI agent only after
|
||||
separate consent to send the transcript. Outputs remain drafts.
|
||||
- Original audio and recognition text are retained before filling. Retry uses
|
||||
the saved source; older exports are not overwritten. Recent meetings survive
|
||||
an app restart.
|
||||
- Speaker-model download is an explicit, verified 22 MB step. Whisper meeting
|
||||
transcription requests engine timestamps. Uncertain timing and speaker
|
||||
assignment are marked instead of invented; incomplete alignment keeps the
|
||||
entire recognition text.
|
||||
- Escape stops a meeting recording without discarding its audio. Cancelling
|
||||
filling before the export commit leaves previous documents intact.
|
||||
- Plain-text Codex requests no longer point to a missing JSON schema file.
|
||||
|
||||
The template, schema, scripts and PT Serif files travel inside the DMG.
|
||||
Runtime DOCX export uses native macOS tools and does not require Python.
|
||||
See [the meeting guide](https://github.com/zarubinvibe/iriz/blob/v0.2.2/docs/MEETINGS.md) for setup, privacy and limits.
|
||||
|
||||
Automatic recognition and generated minutes still require comparison with the
|
||||
recording. This release is not notarized. Apple Silicon on macOS 14+ remains
|
||||
the download target; Intel operation is not claimed as tested.
|
||||
|
||||
Checks include native transcription of synthetic audio through DOCX/JSON
|
||||
export, template/Python-filler parity and the automated test suite. Live
|
||||
microphone operation, actual provider-generated minutes, VoiceOver and visual
|
||||
Word pagination were not checked for this release. Tests do not substitute
|
||||
for reviewing a real meeting against its recording.
|
||||
|
||||
## Русский
|
||||
|
||||
Шаблон протокола теперь встроен в приложение и DMG. После локального
|
||||
распознавания сохраняются аудио, исходный текст, DOCX, JSON и список уточнений.
|
||||
В DOCX сначала идёт протокол, затем с новой страницы — вся доступная расшифровка.
|
||||
|
||||
Заполнение решений и поручений выбранным CLI-агентом требует отдельного
|
||||
согласия на передачу текста. Результат остаётся черновиком. При отказе можно
|
||||
повторить заполнение из архива без нового распознавания и без перезаписи
|
||||
предыдущих документов.
|
||||
|
||||
Модели голосов скачиваются отдельной кнопкой: около 22 МБ, с проверкой хешей,
|
||||
прогрессом и отменой. Whisper для встреч запрашивает таймкоды движка; если
|
||||
привязка ненадёжна, это обозначается, а исходный текст не теряется. Escape
|
||||
останавливает запись встречи, сохраняя звук. Исправлен также обычный текстовый
|
||||
запрос к Codex, который раньше ссылался на отсутствующий файл схемы.
|
||||
|
||||
Экспорт не требует Python. [Настройка и ограничения](https://github.com/zarubinvibe/iriz/blob/v0.2.2/docs/MEETINGS.md).
|
||||
Автоматический текст и протокол нужно сверить с записью. Выпуск без нотаризации;
|
||||
файл предназначен для Apple Silicon и macOS 14+, работа на Intel не заявлена
|
||||
как проверенная.
|
||||
|
||||
Проверены распознавание синтетического аудио с экспортом DOCX/JSON, совпадение
|
||||
с Python-заполнителем и автоматические тесты. Живой микрофон, заполнение
|
||||
реальным провайдером, VoiceOver и визуальные переносы страниц в Word для этого
|
||||
выпуска не проверялись. Настоящую встречу всё равно нужно сверить с записью.
|
||||
|
||||
## 简体中文
|
||||
|
||||
会议模板现已包含在应用和 DMG 中。本地识别后保存录音、原始文本、DOCX、JSON
|
||||
和待核实事项。DOCX 先放纪要,再另起一页放完整的可用转写。
|
||||
|
||||
通过所选 CLI 代理填写决策和任务前,会单独征求发送文本的同意。结果仍是草稿。
|
||||
失败后可以从存档重试,不必重新识别录音,也不会覆盖旧文档。
|
||||
|
||||
说话人模型通过独立按钮下载,约 22 MB,包含哈希校验、进度和取消操作。
|
||||
Whisper 会议识别会请求引擎时间戳;无法可靠对齐时会明确标注,并保留全部原文。
|
||||
Escape 停止会议录音但不丢弃音频。普通 Codex 文本请求也已修复,不再指向不存在的
|
||||
JSON 模式文件。
|
||||
|
||||
导出不需要 Python。详见[设置与限制](https://github.com/zarubinvibe/iriz/blob/v0.2.2/docs/MEETINGS.md)。自动识别文本和纪要仍需与
|
||||
录音核对。本版本尚未通过 Apple 公证;下载面向 Apple Silicon 和 macOS 14+,
|
||||
不宣称已验证 Intel 运行。
|
||||
|
||||
已检查合成音频的本地识别至 DOCX/JSON 导出、与 Python 填充脚本的一致性及自动化
|
||||
测试。本版本未检查真实麦克风、实际提供商生成的纪要、VoiceOver 和 Word 可视分页。
|
||||
这些测试不能代替将真实会议纪要与录音逐项核对。
|
||||
Reference in New Issue
Block a user