Display capture stopped setting "motion", so the automatic codec preflight's clone inherited an empty hint. Chromium then keeps the desktop source's screencast flag, and every default probe encoded as screen content while a Balanced or Fluency share encodes with "motion". The H.264 decision was made on a configuration the share does not use. preferredVideoCodecForTrack now takes the sender's hint and sets it on its clone. startScreen passes screenContentHint for the stored preference and the track's display surface, the same mapping configureVideoSender applies. The relay probe in media.ts passes none and is unchanged: it probes a received track, as before. The media-quality standard names the preflight among the hint's readers. Verified: npx tsc -b --pretty false; npx vitest run (159 files, 2360 tests), including new tests that the probe clone carries the given hint without touching the source, and that startScreen passes "detail" only for Clarity on a display surface.
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.