Files
piik/docs/standards
T
AAA 4debe7c58a merge(review): add microphone modes and preserve playback intent
Integrate the Browser push-to-talk and activation modes, local operation feedback and shared content-hint mapping. A held action owns its release across fast key events, rebinding and focus changes; capture applies the current press before publication. Voice readiness follows actual local playback events. Screen intent comes from the publication source through probe, ordinary sender, shared encoder and rollback.

Keep scoped flow/link debug events. Defer whole HostInput recording and periodic sampling that cannot establish a replay or quality comparison; retain the existing opt-in exporter. Omit the picture-specific Server-help claim until the relevant offered kind is available to that surface. Preserve committed quick-room reuse and recorded pending picker fixes.

TypeScript and all 2393 Web tests pass. Real Chrome AudioWorklet/WebRTC/PiP controls verify decoded PCM release and activation without a physical microphone. Production voice settings pass narrow/wide bilingual theme and keyboard controls. Recovery timing remains an explicitly isolated experiment, not a production routing change.
4debe7c58a · 2026-11-25 02:51:19 -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.