Native-ASR Tromso caption companion Campaign 1 - #6
Draft
gracee3 wants to merge 7 commits into
Draft
Conversation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Add scripts/models provenance, which verifies every alias first and only then emits the strict versioned contract (header plus one 7-field record per alias), so a consumer never observes a partial contract. The cascade wrapper binds audited sessions to that contract and the supervisor validates it before any audit staging, failing closed with no published destination and no private staging left behind. Audits remain private, atomic, and no-overwrite; graceful failures and cancellation remove the staging directory, while an abrupt SIGKILL can leave exactly one private staging directory as recoverable evidence, never a published audit. Tests cover the provenance contract, the wrapper bridge (including a failing provenance tool), and the crash path with a failure-safe scoped EXIT trap that kills/reaps/closes and cleans the workspace itself, restoring the original workspace-only trap after the assertions.
Add the data-driven Tromso annotation profile (tui/profiles/tromso-v1.json) and its parser/validator (tui/src/profile.rs), plus the review candidate state and explainable rule engine (tui/src/review.rs). The paused surface is a split transcript + review pane; controls gain review navigation, per-field editing, and per-field copy. Profile validation enforces the guide's exact six roles / ten sound tags / nine canonical backchannels, the 200 ms sound boundary, trimmed-nonempty source/delimiter/locale/speaker/other_tag fields and descriptions, and alias uniqueness/collision. Also add the Project Tromso Bootcamp Guide that governs WP4.
Add the deterministic in-crate WP5 scenario test covering revalidation, revision/correction ordering, spoken/written draft separation, rule suggestions, pin, exact RecordingClipboard field payloads with parsed structured JSON, degraded state, and reset. Add the reproducible demo document and README link. Update handoff, plan, and goal docs to reflect independent Codex acceptance.
Owner
Author
|
Portfolio handoff Outcome: Campaign 1 (WP0-WP5) independently accepted and published for review. Validation:
Boundaries and risks:
Immediate next action: review the draft PR and decide whether to authorize a live local PipeWire/model smoke gate before marking ready. Do not merge automatically. |
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.
Implements Campaign 1 of the local-first Tromso caption companion across WP0-WP5. Adds bounded capture/event delivery, live sidecar controls, provenance-bound private audit journals, a versioned Tromso profile and human review surface, explicit clipboard transfer, and a deterministic end-to-end closure scenario. Human decisions remain authoritative; there is no SuperAnnotate automation, cloud processing, production audio, or bundled model weights. Independent verification passed: focused WP5 scenario, 131 Rust unit tests plus 1 PTY test, formatting, all-target check, all-feature Clippy with warnings denied, diff validation, and repository-wide just check. Live PipeWire/model operation remains a separately authorized hardware gate and was not run. Campaigns 2-4 are deferred.