Files
piik/docs/standards
T
AAA 6f98d93c36 docs(architecture): record the 3.0 core and answer cross-review
Adopt the shared Rust core decision as the existing 3.0 architecture record,
separating domain rules from its optional SQLite implementation and keeping
user/accepted design authority above implementation evidence. Scope the replaced
Go-backend decision to 3.0; public 2.x remains separately accepted.

Answer every third-round item and request a failure snapshot from the machine
that reproduces RTP lease reuse. Clarify that the earlier shared-future checks
were local mechanism experiments rather than retained App integration tests.
Keep unfinished package and field validation in the existing TODO.
6f98d93c36 · 2026-11-24 13:33:05 -05: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 room, routing, media and lifecycle contracts below describe published 2.x. The 3.0 entries distinguish today's prototype from the target designs for hosting and routing. 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
Published 2.x room authority, invitation/password access and persistence Rooms and access
Published 2.x routes, capacity, P2P/SFU transitions and route operations Routing and transport
Published 2.x capture, encoders, media adaptation and audio Media quality
Published 2.x workflow, playback and Browser/App lifecycle Presentation and lifecycle
3.0 App and Server UI language selection and launcher handoff Presentation and lifecycle · Visual Language
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
Runtime settings, defaults, bounds and diagnostics Configuration
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.