## Problem and outcome / 问题与结果 Planned release: **v2.3.0**, preserving the published 2.x sharing contracts. Friends can now talk in a Piik room before, during or after screen sharing. Room voice, media forwarding and the picture retain separate lifetimes under the existing room authority and route controller. This phase also improves direct LAN entry, native capture startup, interaction controls and first-use documentation. Related: #484, #437, #486, #488, #485 and #489. These references do not declare all reported hardware or distribution problems fixed. ## Release notes **Less typing. More talking.** Piik now supports room voice, with or without screen sharing. **聊不够?开麦吧!** Piik 现已支持房间语音,不开播也能聊。 ### English This update adds room voice alongside sharing, chat and reactions, with clearer controls and direct HTTPS invitations for local and virtual networks. #### Highlights - Create a room before sharing. The Host opens or closes room voice; friends can join, control their own microphone and listening, or mute someone locally. Joining voice keeps the microphone off until you enable it. - Choose your microphone, adjust microphone, master and individual listening volumes from 0% to 200%, and enable voice processing in the interaction window. Audio icons offer quick volume sliders. The microphone icon shows live input level. Voice continues when the picture stops. - Use a local HTTPS invitation for microphone and remote-control features on a LAN or virtual LAN. A temporary local certificate requires a browser warning confirmation; a self-hosted Server can also use supplied certificate files. - Rotate your local picture, optionally volunteer more relay capacity, and download a native Windows x64 Server package. #### Fixes and polish - Align Windows automatic encoder probes with the surfaces used during actual capture; keep video capture progressing while optional source audio starts. - Correct Linux desktop pixel-aspect negotiation and accept fitted native source dimensions without forcing a different aspect ratio. - Avoid retaining false media queue congestion when producer and consumer clocks disagree. - Distinguish chat authors with identical names, clarify remote permissions, and keep floating tools, contextual hints and microphone indicators aligned. - Separate first-use guides, room tools and troubleshooting so help is easier to find. Use updated Server/Web pages for room voice and update the App for the native capture and local HTTPS improvements. Established 2.x sharing remains supported. macOS builds do not yet carry Developer ID signing or Apple notarization; see the first-launch instructions. The macOS audio-startup changes still need confirmation on an affected Mac. ### 中文 本次更新为分享、聊天和表情互动加入房间语音,同时打磨操作控件,并为局域网和虚拟局域网提供直接 HTTPS 邀请。 #### 主要变化 - 不开播也能创建房间。房主开启或关闭房间语音;朋友可以加入、自行开关麦克风和收听,或仅在自己这边静音某人。加入语音时默认不开麦。 - 在互动窗口选择麦克风、分别调整 0%–200% 的麦克风、总收听与个人音量,并设置语音处理。音频图标可展开快捷音量条,麦克风图标显示实时输入音量。停止画面分享后,语音仍可继续。 - 局域网和虚拟局域网可使用本地 HTTPS 邀请,启用麦克风和远程控制;临时本地证书需要在浏览器确认警告。自部署服务端也可使用自行提供的证书文件。 - 可旋转本地观看画面、自愿增加转发容量,并提供 Windows x64 服务端下载包。 #### 修复与打磨 - Windows 自动编码探测使用与实际采集一致的输入;可选来源音频启动期间,画面采集继续运行。 - 修正 Linux 桌面采集的像素比例协商;原生来源保留实际画幅,不再要求固定比例的尺寸。 - 避免生产者和消费者时钟不一致时,错误保留媒体队列拥塞状态。 - 区分同名聊天作者,明确远控授权,并统一浮窗、上下文提示与麦克风指示器的细节。 - 分开首次使用、房间工具和故障排查文档,让帮助更容易查找。 房间语音需使用更新后的服务端和网页;原生采集与本地 HTTPS 改进需更新 App。既有 2.x 分享仍保持兼容。 macOS 构建仍未正式签名和公证,首次启动请参照文档;音频启动调整仍需在受影响的 Mac 上确认。 ## Verification / 验证 Full Web checks, Go tests/vet/build/native probes, reachable vulnerability checks, normal-page P2P/SFU voice and compatible sharing, LAN HTTPS, detached interaction tools, responsive controls and tooltip/pure-visual checks provide acceptance evidence. Physical macOS/Linux capture and acoustic behavior on arbitrary devices are not established by these controls. Scoped contributions from #488 (Linux pixel aspect) and #485 (Windows Server packaging) are retained as their original authors' patch commits in this PR. The remaining implementation and integration belong to the maintainer. ## Impact / 影响 Preserve the published 2.x sharing contract. New room-voice behavior is opt-in; Host voice activation, capture and picture lifetimes remain distinct. Local certificate material remains in memory; no system trust installation is performed.
9.6 KiB
Documentation Ownership
The repository is the durable source across sessions, devices and agents. Use the documentation map to find a topic, then update its owner. Chat, agent summaries and an old branch do not replace current code, contracts and evidence. Task authority stays in AGENTS.md; delivery and verification procedures stay in CONTRIBUTING.md.
Owners
| Topic | Owner | Keep here |
|---|---|---|
| Universal constraints and navigation | AGENTS.md |
Short mandatory boundaries and links; no procedure manual |
| Reusable agent methods | .agents/skills/*/SKILL.md |
Task triggers and methods under project constraints; link to domain rules and delivery rather than repeat them |
| Branches, review, validation, PRs, releases and cleanup | CONTRIBUTING.md |
Executable workflow |
| Module boundaries, interface discipline and ablation | Engineering | Current responsibility map and shared coding rules |
| Names, terminology and voice | Naming and copy | Product/tool names, role labels and Chinese/English writing conventions |
| Translation contributions | Translation guide and its Chinese counterpart | Catalog editing, new-language registration and translation review |
| Illustration, palette, motion and accessible layout | Visual language | Shared Browser/App design grammar |
| Status projection | Media status | Which facts each display surface may express |
| Release identity and compatibility | Versioning | Version roles, protected interfaces and public-readiness boundary |
| Current product behavior | Rooms, routing, media, lifecycle | One owner per domain; promises, boundaries and non-obvious invariants |
| Architecture decisions | docs/adr/ |
Decision status, rationale and consequences; explicitly supersede changed clauses |
| Measurements and external evidence | docs/research/ |
Date, sources, observations, inference, limits and license scope |
| Deployment and configuration | docs/deployment.md, docs/operations/, docs/standards/configuration.md |
Runnable operator reference; no per-release diary |
| Compact product map | docs/project-memory.md |
Stable summaries and domain navigation, not implementation inventories |
| Current execution/deployment index | docs/status.md |
Current boundaries and pointers; exact artifact identity stays in release metadata |
| Remaining work and decisions | docs/todo.md |
One task ledger, with executable work separated from parked ideas |
| Evidence boundaries | docs/verification-status.md |
Compact limits that affect product claims; no duplicate retest ledger |
| Completed history | Git commits and PRs | Changes and outcomes; do not reproduce them in memory or TODO |
Source schemas and existing conformance fixtures own exact interface fields; package comments own local lock/resource invariants. The engineering reference links to them instead of copying every field. README and guides explain how to use the product; technical details link to the relevant owner. English/Chinese entry guides are intentional translations and must change together; technical references keep one version.
First-use guides stop at a working room. Detailed controls belong to task guides, symptom-based checks to troubleshooting, and build/release procedures to maintainer references. Remove repaired incident narratives instead of appending them to the reader's path; retain checks for current platform and network limitations.
The public documentation website renders selected repository Markdown without owning another copy. Its reader index serves usage and support; the repository map remains the developer/maintainer entry. The website runbook owns generation and publication. Keep all troubleshooting procedures in their guide, with short links from introductions rather than duplicate answers.
Updating A Rule
- Trace the current product contract, actual callers and relevant evidence. Search hits are leads, not proof of a defect. Separate an implementation mismatch from a historical decision or a still-unaccepted proposal.
- Update the existing owner first. Add a new owner only for a distinct topic with real consumers; give it an entry in the documentation map. Delete replaced normative text elsewhere and link to the owner.
- Keep current owners consistent. Update memory/status only when their compact snapshot materially changes; put unresolved work in TODO. Checkpoint and integration timing follows CONTRIBUTING, not an automatic extra commit for every small edit.
When semantics are disputed, record the decision needed and hold only dependent implementation. At handoff or a material phase change, persist accepted rules, remaining work and actual blockers before relying on a conversation summary. Do not store tool transcripts, raw logs, temporary paths or repeated completed checklists as product truth. After an audit, put accepted constraints in their existing owners and unresolved work in TODO, then remove the report and handoff bundle. Do not create dated audit-summary directories or replacement archives of completed work. Remove repaired, sufficiently verified work from TODO and compact snapshots. An unmatched historical report alone does not create a permanent retest task; keep its discussion in the issue and reopen work when new evidence warrants it.
Published copy describes Piik's behavior and design directly. Remove discarded design labels, private operational details and conversational comparisons to other products. Describe visual choices in Piik's own design vocabulary. Retain relevant public technical references beside the claims they support, using accurate names and direct links without implying affiliation or endorsement. Local research inventories do not belong in product copy; keep source provenance accurate rather than relabel private observations as public documentation. Credit reused code and assets through their existing license and notice owners; a reference or thank-you does not replace permission or required attribution. Preserve accepted contributors' authorship under CONTRIBUTING.
Consolidation And Ablation
Keep one owner per fact, with short summaries where navigation needs them. Consolidation is not concatenating documents into one giant manual. Remove stale procedures and duplicated prescriptions; preserve still-consumed behavior, failure boundaries, reasoning and reproducible evidence. An ADR can retain a historical decision when its superseded status is clear.
Document cost is part of engineering ablation. Do not delete a product promise solely to shrink a file. Archive completed work in Git, keep candidate ideas out of active instructions, and never promote an agent suggestion to accepted policy simply by writing it in a checklist.
The top-level context stays a map. Directory-specific instructions belong near the code only when that module exists and the rule is needed every time. The context-governance research owns the external rationale; the existing hygiene scripts own executable limits. Their gardening warnings invite review, not arbitrary compression; hard failures for broken links, required owners and instruction-loading limits remain binding.
Agent Instructions And Skills
Keep broadly applicable project constraints near the top of AGENTS.md, with
explicit task triggers for required skills. Domain standards define accepted
behavior; skills explain how to do a recurring kind of work. Neither research
examples nor skill defaults can expand user authorization or replace a domain
decision. Use repo-linked adaptations when a global skill has the same name;
names alone do not establish which instructions were loaded.
Give each skill one recognizable purpose and a short description stating when it applies. Keep useful, non-obvious decisions in its body. Link to existing owners for details; add supporting files only when a real workflow needs them. Do not create nested instruction files merely to split a short document, copy the same rules into multiple tool formats, or require every installed skill on every turn. Relevant instructions remain applicable without repeated loading.
When changing instructions, check actual task behavior: would a scoped layout fix trigger unrelated network gates, a review silently authorize edits, or a simplicity rule permit incomplete UX? Check intended triggers and nearby tasks that should not trigger the workflow. Preserve necessary safety and compatibility while removing conflicting or redundant procedures. Use metadata/link checks for structure and representative work for behavior; passing a schema validator does not establish that a skill is effective. Add no permanent prompt test suite or hooks without a demonstrated recurring need.
Checks
For documentation work use the existing link, whitespace and repository-hygiene
checks; do not rerun unrelated media benchmarks. The shared
required-project-paths.txt lists durable
owners for both hygiene entry points. No additional checker is needed for each
new convention.
At a meaningful integration boundary check that current documents agree, links resolve, and memory/status/TODO still describe what remains. Expensive evidence retains its measured revision, environment and limits; rerun it when a relevant contract, dependency, platform, workload or unexplained failure changes.