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.
7.1 KiB
Agent Context And Documentation Governance
- Reviewed: 2026-08-27
- Scope: repository context, durable memory, documentation types, and decisions
- Status: evidence; repository policy is owned by documentation ownership
Findings
Repository Context
OpenAI's agent-first repository treats AGENTS.md as a map into a structured,
versioned knowledge base. Its reported failure mode for one large instruction
file is the same one observed in Piik: scarce context is crowded out, every
rule appears equally important, stale guidance accumulates, and ownership is
hard to verify. The recommended corrective structure is progressive disclosure,
cross-links, and mechanical freshness/structure checks. Codex concatenates the
applicable project instruction chain until project_doc_max_bytes, whose
default is 32 KiB.
Hermes distinguishes project conventions (AGENTS.md) from user preference,
personality, and learned memory. Its persistent memory is deliberately bounded
and curated; full session history remains searchable on demand rather than being
injected into every prompt. Memory is a frozen session-start snapshot, so it
cannot replace current repository truth. Its context-file limit is configurable
or dynamically derived with a 20,000-character floor, and it recommends staying
below that value and using nested context for genuinely distinct subtrees. Its
bounded-memory guidance starts consolidation at 80% rather than treating the
hard limit as the normal operating target.
Piik therefore warns at 80% of a loader limit, then fails at the loading boundary:
32 KiB for the Codex chain and 20,000 characters for Hermes. The same envelope applies to the
repo Ponytail skill because AGENTS.md requires it for coding work. A failure tells the
maintainer to use nested/path-scoped context, on-demand skills or linked docs,
remove duplication and completed history, and delete stale conclusions; raising
the ceiling is not the default remedy.
Sources:
- OpenAI Harness engineering
- OpenAI Codex
AGENTS.md - Hermes file ownership
- Hermes context files
- Hermes persistent memory
Documentation Shape
Diataxis separates tutorial, how-to, reference, and explanation because mixing reader goals makes each form harder to use. Piik's internal product modules are compact reference; ADRs are explanation of a decision; deployment is a how-to/reference boundary; research is evidence and explanation. The framework does not require creating all four categories when there is no reader need.
An ADR should be a short record of one decision: context, decision, material consequences, status, and links to supporting evidence. If a decision changes, the old record is superseded instead of being expanded into a current manual.
Git commits and pull requests own completed history. Current product and operations documents should not preserve rejected alternatives, release diaries, or agent process solely for chronology.
Sources:
Instructions And Skills
Reviewed: 2026-10-17. These are source-derived design considerations, not a benchmark of agent reliability or another set of mandatory instructions.
OpenAI's current guidance favors task-scoped references, short skill descriptions and explicit completion boundaries. Its documented OSS workflow separates repository policy from reusable skill methods. The Agent Skills community guidance likewise recommends coherent purposes, detail proportional to task fragility, and refinement against real execution. A skill need not carry its own scripts, reference tree or elaborate procedure to be useful.
Codex loads an instruction chain from global scope through the working directory; more specific project instructions follow broader ones. Skill descriptions select workflows whose bodies load on use. Same-named skills are not merged, so Piik links its repo adaptations explicitly. This loading behavior is distinct from project authority: a skill cannot grant a release, change an accepted product contract or weaken a user's task boundary.
The community Ponytail and Stop That Shit approaches support reuse and completion with less speculative work. Piik keeps those principles but evaluates total ownership and the complete experience, rather than line count or the first working implementation. Its Ponytail adaptation removes forced persistence, fixed response length and per-branch test prescriptions; upstream attribution remains in the skill's provenance. New mechanisms still need relevant end-to-end evidence. Required design thinking does not imply a separate design document, review agent or approval for each edit.
Sources:
- OpenAI: Rethinking skills and prompts
- OpenAI: Using skills for OSS maintenance
- Codex instruction discovery and skill loading
- Agent Skills best practices and specification
- Stop That Shit and STSS: complete the responsibility and omit unnecessary work or self-justifying prose.
- Avoid Over-Defensive Programming: fix the producing owner; Piik does not adopt a per-branch reporting procedure.
The earlier community reports about small-task expansion and ignored context motivate inspecting useful output and execution cost; they are anecdotes, not statistical evidence about a model.
Applicability
Piik is small enough that a vector database, memory provider, generated code map, parallel agent-context format, or separate RFC repository would add more ownership than it removes. The useful practices are bounded always-on context, one owner per fact, domain-shaped reference, evidence on demand, short ADRs, link checks, and Git-backed history. Exact repository policy remains in documentation ownership, not in this research note.