Files
piik/docs/standards
T
AAA 2921ebe9c2 refactor(site): retire the 2.x README fixture and what only it kept
This line's guide images already come from production components, and
the maintenance branch owns its 2.x screenshots and README stills. The
fixture under site/film/ui still built the 2.x room here, from
components the 3.0 product's entry no longer reaches, and was the one
thing outside previews and tests that kept them.

Gone: the fixture, its entry, page and license output in the website
build and its include in the scripts' TypeScript project; the 14
modules only it kept (the 2.x status model, presence and viewer
presentation, and the playback bar, room chip, couch, status
indicator, host toolbar and room interactions panel); and what only
they kept, followed until nothing more fell out: the title-frame
catalogues of each locale with their reader and useDocumentTitle, 109
copy keys, one stylesheet and the rules of 130 classes, Row, the TV
frame's indicator slot, the SFU route and relay-volunteer sections of
PlaybackSettings, and the shared-protocol shapes only they read.

Kept: the public film and its build, the product's own title
(usePageTitle with composeDocumentTitle), and every preview section and
test assertion about product components. The playback preview and the
status scenarios existed for the removed modules and went. Four test
files held only removed modules and went, with the title hook's; four
mixed files lost the cases about them.

How it was established: the product's entry reaches 303 files before
and after; the type check proves the copy keys, since every use is
typed against the English catalogue; every removed rule belongs to a
class no source file writes, and no class still written lost every
rule it had, except lr-playback-compact-picture, whose only rules
needed the old bar as an ancestor.

Documents: the three that described the fixture no longer do and keep
the rule that current screenshots use real components. In the visual
language standard two rows of the text-only table described the title
catalogues and the status model and are removed, with the sentence
that named the presence module, so that its links resolve.
2921ebe9c2 · 2026-11-29 19:38:39 +08:00
History
..

Piik standards

Current product and engineering rules live here. Start with the affected subject; the ownership map explains where each fact belongs. AGENTS.md owns task authority and Contributing owns delivery.

The 3.0 entries distinguish today's prototype from the target designs for hosting and routing. Published 2.x rules are maintained in the 2.x standards on main. Engineering, visual language and delivery rules apply to both lines.

Subject Standard
Module responsibility, resources, interfaces and contextual consistency Engineering
Product names, terminology, Chinese/English voice and content layers Naming and copy
3.0 authority, activities, routing and runtime lifetimes Channel/network model
3.0 room policy, history, identity and file storage Room-data model
3.0 target channel modes, authority and moderation Server hosting design
3.0 target forwarding model and candidate delivery details Channel, room and activity forwarding
3.0 remote input authorization, simultaneous control and release Remote control
3.0 capture, encoders, media adaptation and audio Media quality
3.0 App and Server UI language selection and launcher handoff Naming and copy · Interface languages
Evidence behind each status, indicator, overlay and notice Media status
Action ownership, grouping, layout, controls, cast, colour and motion Interface design and visual language
Website, README and introduction-film composition Public introduction
3.0 Server and App settings, startup and diagnostics Server and App runtime
Compatibility, build identity, publication and release notes Versioning
Documentation responsibilities and updating a rule Documentation ownership

Before another implementation of a familiar concept, identify its fact, owner, scope and lifetime. Apply the existing rule, or explain the contextual difference at that rule's owner. Source schemas and focused tests own exact implementation details; standards need not repeat every field or function.

ADRs preserve decisions and supersession. Research preserves dated observations and limits. TODO owns work that remains, including accepted targets not yet implemented. A recorded target is not a claim of completed verification. User guides remain in the documentation index.