Files
Piik/docs/maintenance.md
T
AAA f92162b3bb feat: launch Piik with a unified interface and public website
Piik now has one public presentation and a coordinated App/Server release path. This phase unifies the room UI, rewrites the bilingual README and guides, adds a static website with an inline product film, and prepares matching GitHub/Gitee packages and update links.

The film uses the current homepage and shared product controls on one seekable timeline. Runtime fixes preserve presentation when the App opens a room, normalize Site origins, and keep capture and media-recovery status in the television indicator. New visits use Chinese for a Chinese system language and English otherwise; explicit language and visual-mode choices remain available. An optional site passphrase controls site entry, while room authorization remains enforced.

GitHub is the release authority. Gitee mirrors verified packages and provides update metadata when GitHub is unavailable. Reviewed PR release notes become the GitHub Release description. The separate public demo uses P2P only, with HTTPS and STUN verified.

Validation: 756 Web tests, TypeScript and production build; Go core tests, formatting, vet and available target builds; bounded Windows capture and App/Site interoperability; browser film checks, audible playback and narrow layouts; anonymous Gitee Windows-package download, checksum and launcher/update-link checks. Public demo acceptance covers authenticated WebSocket signaling, synthetic P2P video and room cleanup on one network. macOS/Linux physical capture and the wider device/network/endurance matrix remain explicitly deferred.

Publication builds every package from the merged source SHA. The repository is public, main protection is active, and Pages is configured for piik.tv. CI/publisher and Pages deployment records own publication results.

## Release notes

### 中文

Piik 是免费开源的屏幕共享工具。开个房间,发出邀请,最多 20 位朋友就能用浏览器加入观看。

- 使用浏览器或 Piik App 分享游戏、窗口和整个屏幕。
- 优先建立直连;自托管站点可开启媒体转发作为备用线路。
- Piik App 支持本地房间、临时公网邀请和已有站点。
- Piik Server 内置网页界面、房间管理和连接服务,方便自行部署。
- 提供中英文界面与使用指南,以及 GitHub、Gitee 两条下载线路。

[官网](https://piik.tv) · [在线体验](https://demo.piik.tv) · [使用指南](https://github.com/TNTcraftHIM/Piik/blob/main/docs/guide/getting-started.zh-CN.md) · [自行部署](https://github.com/TNTcraftHIM/Piik/blob/main/docs/operations/self-hosting.zh-CN.md) · [Gitee 下载](https://gitee.com/TNTcraftHIM/Piik/releases)

Windows App 和桌面浏览器是本次主要验证的平台。macOS 和 Linux 尚未经过实机测试,欢迎有设备的朋友测试并反馈。演示站和 App 公网邀请使用 P2P,受限网络下可能无法连接;自托管站点可开启媒体转发。

### English

Piik is free, open-source screen sharing for you and up to 20 viewers. Start a room, send an invitation, and your friends can join in a browser.

- Share games, windows or a whole screen from your browser or Piik App.
- Direct connections come first, with optional media forwarding on self-hosted sites.
- Piik App supports local rooms, temporary public invitations and existing sites.
- Piik Server includes the web interface, rooms and connection services for self-hosting.
- English and Chinese interfaces and guides are available, with GitHub and Gitee downloads.

[Website](https://piik.tv) · [Online demo](https://demo.piik.tv) · [User guide](https://github.com/TNTcraftHIM/Piik/blob/main/docs/guide/getting-started.md) · [Self-hosting](https://github.com/TNTcraftHIM/Piik/blob/main/docs/operations/self-hosting.md) · [Gitee downloads](https://gitee.com/TNTcraftHIM/Piik/releases)

Windows App and desktop browsers are the primary validated paths. macOS and Linux have not yet been tested on physical devices; testing and feedback are welcome. The demo and App public invitations rely on P2P and may not connect on restrictive networks. Self-hosted sites can enable media forwarding.
2026-09-12 22:09:12 +08:00

6.2 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
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
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 docs/product/ 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/reference/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.

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. Retain primary technical evidence and required attribution or license notices; rewriting prose must not obscure the origin of reused work.

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.

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.