Piik can now let one invited Viewer control the Host's shared desktop or window, using the existing media route and explicit source-scoped consent. This phase also finishes Viewer playback settings, the combined interaction window, the shared control/theme/icon polish, and concrete forwarding-feedback recovery fixes. Remote input stays off by default, uses one controller and releases held input on revocation, retirement or loss. Existing 2.x sharing remains compatible; new capabilities are negotiated with supporting App/Site/relay peers. No virtual input driver, new media listener or route planner is added. Validation: full Web check (97 files / 1,677 tests), Windows Go/native checks; seven real Browser/App lifecycle scenarios covering P2P, SFU and fallback-to-direct continuity; existing cross-version and physical Windows routed-input evidence; native macOS/Linux packaging, Go race/security and container checks through the publishing pipeline. Physical macOS/Linux permissions, mobile devices, mixed DPI and commercial games retain their documented limits. README/wiki keep deployment under the optional self-hosted Server chapters. Refs #472, #477, #479, #480. Issue follow-up happens after publication; unmatched field reports remain open. ## Release notes ### 中文 这是一次功能更新:一起看屏幕时,可以把键鼠交给一位朋友操作,聊天和表情也整合进了同一个互动窗口。本次还整理了分享与播放设置,并修复部分连接恢复和中转画质停滞的问题。 #### 新功能与体验 - **可选键鼠远控**:房主可以让一位朋友操作当前分享的桌面或窗口,随时撤回授权;换源或停播后关闭远控。提供手机触控、缩放和小键盘。当前实机验证覆盖 Windows App。 - **观众播放设置**:新增完整显示、等比铺满、拉伸铺满,以及自动/仅 P2P/仅 SFU 线路选择;站点和房主的线路限制仍然生效。 - **互动窗口**:聊天、参与者和表情放在同一窗口;可以从聊天头像选择接收者,新增点赞、倒彩等表情。支持的浏览器可以独立置顶,继续查看聊天和互动。全屏保留弹幕开关。 - **分享与播放设置更清楚**:暂停与停止相邻,画面、声音、连接和远控各有对应入口。观众播控在移动鼠标时显现,远控时收进画面边缘的小抽屉;点击画面不再意外暂停。没有声音输入时播控给出明确反馈,恢复输入后保留观众的音量设置。 #### 修复 - **连接与播放修复**:修正部分中转路径的媒体时钟、往返时间与重复反馈统计,改善这些错误导致的画质恢复停滞;重新进入房间后,SFU 连接仍可继续尝试直连。同步底层握手恢复修复。 - **界面修复**:修复浮窗返回后遮挡全屏、无法操作,窄屏控件错位、菜单超出边界等问题。虚拟键盘长按不会选中文字,拖出、取消或失焦后释放按键。页面和选源面板统一中性底色;App 图标与 favicon 保留小电视轮廓,精修对比度与底板层次。 - **兼容性修复**:新表情按站点支持情况显示,避免旧站点拒收后断开连接。补齐旧浏览器的浮层支持;修正 macOS `.app` 对包外启动文件的依赖。macOS 的 Finder、权限和远控仍需实机验证。 #### 更新说明 沿用 2.x 兼容边界。使用远控需要更新房主 App 和所连接的站点;要获得完整的中转修复,请同时更新 App 与自部署 Server。 ### English This feature update lets a Host hand keyboard and mouse control to one friend while sharing a screen. Chat and reactions now share one interaction window. It also clarifies sharing and playback settings and fixes specific connection-recovery and server-forwarding quality stalls. #### Features and experience - **Optional keyboard and mouse control:** the Host can let one friend control the shared desktop or window and revoke access at any time. Changing sources or stopping sharing disables control. Touch controls, zoom and an on-screen keyboard are included. Physical validation currently covers the Windows App. - **Viewer playback settings:** choose fit, crop or stretch, and Auto, P2P-only or SFU-only routing. Site and Host restrictions still apply. - **One interaction window:** chat, participants and reactions stay together. Choose a recipient from their chat avatar and use new reactions, including thumbs up and down. Supported browsers can detach the window and keep chat and reactions visible on top. Fullscreen retains the chat-overlay toggle. - **Clearer sharing and playback controls:** pause and stop stay together, with separate picture, sound, connection and remote-control settings. Pointer movement reveals the playback bar during viewing; remote control uses a small drawer at the picture edge. Clicking the picture no longer pauses it accidentally. Sound controls reflect missing input and retain the Viewer's volume when it returns. #### Fixes - **Connection and playback fixes:** correct media clocks, round-trip-time updates and duplicate feedback accounting on affected forwarding paths, improving recovery from the quality stalls caused by those errors. Rejoining a room restores direct-connection attempts while SFU playback continues. Incorporate upstream handshake-recovery fixes. - **Interface fixes:** returning a detached tool during fullscreen no longer leaves an inaccessible panel over the picture. Fix compact-layout shifts and overflowing menus. Holding a virtual key no longer selects its label; release, cancellation and focus loss clear held keys. Pages and the source picker use shared neutral surfaces. Refine App icons and favicons while retaining the familiar television outline. - **Compatibility fixes:** show new reactions only when the site supports them, preventing disconnects on older sites. Support popovers on older browsers and remove the macOS `.app` launcher's dependency on files outside the bundle. Finder, permissions and remote input still need physical macOS validation. #### Updating The existing 2.x compatibility boundary is retained. Remote control needs an updated Host App and site; update both App and self-hosted Server for the complete forwarding fix.
136 lines
9.1 KiB
Markdown
136 lines
9.1 KiB
Markdown
# Documentation Ownership
|
|
|
|
The repository is the durable source across sessions, devices and agents.
|
|
Use [the documentation map](../README.md) 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](../../AGENTS.md); delivery and
|
|
verification procedures stay in [CONTRIBUTING.md](../../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](./engineering.md) | Current responsibility map and shared coding rules |
|
|
| Names, terminology and voice | [Naming and copy](./naming.md) | Product/tool names, role labels and Chinese/English writing conventions |
|
|
| Translation contributions | [Translation guide](../guide/translating.md) and its Chinese counterpart | Catalog editing, new-language registration and translation review |
|
|
| Illustration, palette, motion and accessible layout | [Visual language](./visual-language.md) | Shared Browser/App design grammar |
|
|
| Status projection | [Media status](./media-status.md) | Which facts each display surface may express |
|
|
| Release identity and compatibility | [Versioning](./versioning.md) | Version roles, protected interfaces and public-readiness boundary |
|
|
| Current product behavior | [Rooms](./rooms-access.md), [routing](./routing-transport.md), [media](./media-quality.md), [lifecycle](./presentation-lifecycle.md) | 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 |
|
|
| Unresolved physical acceptance | `docs/verification-status.md` | Still-relevant evidence gaps across modules |
|
|
| 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.
|
|
|
|
The public documentation website renders selected repository Markdown without
|
|
owning another copy. Its [reader index](../guide/README.md) serves usage and support;
|
|
the repository map remains the developer/maintainer entry. The
|
|
[website runbook](../operations/website.md#documentation-build) owns generation and
|
|
publication. Keep all troubleshooting procedures in their guide, with short links
|
|
from introductions rather than duplicate answers.
|
|
|
|
## Updating A Rule
|
|
|
|
1. 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.
|
|
2. 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.
|
|
3. 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.
|
|
|
|
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](../../CONTRIBUTING.md).
|
|
|
|
## 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](./engineering.md#ablation-and-review).
|
|
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](../research/agent-context-governance.md) 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`](../../scripts/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.
|