Files
piik/docs/todo.md
T
AAA 19ef572644 docs(adr): propose one vocabulary for extension
The owner wants bots, API clients, plugins, new activities and providers to be the same kind of thing underneath, with built-in features on the same points, and the scaffolding designed now. ADR-0020 proposes it from the primary documents of the harness the owner named and of seven older designs, and from three designers who worked from the requirements alone: one vocabulary of points, contributions, scopes, kinds and static compositions; four places where code runs, with authority that never comes from being an extension; a kind with a fallback as the only thing that crosses machines; and a proof on one built-in feature before any point is promised.
2026-11-25 12:18:22 +08:00

30 KiB

Current TODO Ledger

Last reviewed: 2026-11-24

This ledger contains unfinished work and explicit owner holds. Product modules own behavior; research and Git/PRs own evidence and completed history.

The first 3.0 internal test targets Windows and Android. Prioritize confirmed blocking defects in startup, room access, conversation, media, recovery and shutdown. UI polish, terminal presentation and alternative views follow during the feedback period; they do not delay that delivery.

Now

  • Capture a visible H.264 stall on an affected setup. Correlate presented frames, received frames and the selected route across the stall. Two foreground viewers continued playing in the direct and Server relay controls.

Active work

  • Browser session ownership. Continue accepted ADR-0015 from the confirmed history owner toward follow-latest, interaction lifetime and operation feedback. Agree the next file handoff first; retain request correlation and local playback choices at their existing owners.
  • Native optional-flow probing. Measure an optional trial arriving beside steady selected media on a controlled link. Record the SDK estimate, media, padding and minimum/desired demand before changing probe policy. Distinguish insufficient observed capacity from a trial that has not prompted new probing.
  • Current-attempt route feedback. Project known rejected or exhausted route attempts through the existing status owner, with a specific recovery action. New peers, access or forwarding changes may enable a later attempt.
  • Audio device acceptance. Verify physical output selection, unplugging and recovery across shared players. Keep failures actionable without silently changing the selected device. Room microphones, source audio inputs and system-output capture retain their separate scopes.
  • Webpage source selection and watching continuity. Reduce the steps to choose and replace a webpage video. Keep existing viewers' surfaces during replacement or temporary source absence, release old media and permissions, and end retained viewing on explicit exit. Complete matching-package checks for same-page candidates and reconnection across consecutive source replacements.
  • Webpage viewer readiness. Reproduce reports of a loading viewer shown as already watching, including Native original-page playback. Keep membership distinct from proved playable media in the viewer surface and participant list.
  • Virtual LAN invitations time out. Investigate intermittent page access and media failures reported on Android across several browsers in 2.x. Correlate the selected virtual address, effective firewall rules and incoming requests before attributing the failure to page loading or media routing.
  • Intermittent App-to-Browser virtual LAN video. After initial playback is reachable, correlate the reported roughly 22-second connection replacement cycle with receiver frame counters and the first flow-retirement event. Host capture and encoding continue during the observed cycle.
  • Original webpage closes when a viewer joins. On the reporting Windows setup, correlate the stop reason with the activity, selected page and App control connection. Preserve original-page playback when the selected video element changes its resource URL; keep media-byte grants bound to the selected resource. Original-page controls
  • Contracts fixed before release. Decide ADR-0017: before the first public 3.0 release, settle the compatibility baseline and matrix, explicit reply outcomes, release storage fixtures, a new history lineage on restore, and one owner for history rules with strict IndexedDB durability. Schema generation, a state revision, a generic activity envelope and the encoding of wire keys wait for a consumer. The design review records the evidence.
  • Freeze the first public 3.0 contract. Confirm the module and connection-pool owners and public compatibility boundary against actual readers, writers and stored samples. Keep API/Bot capabilities within existing actions and authority. ADR-0016 records the adopted architecture separately from public release acceptance.
  • Restored history identity. Keep an offline reader's old position from hiding new messages after a backup restores an earlier sequence. Give restored history a durable lineage distinct from ordinary writer reconnection, and verify unread, pagination and deletion behavior without a transaction-wide event log.
  • Browser room persistence. Evaluate persistent-storage permission at explicit Browser hosting separately from transaction durability and local caches. The browser may decline; report the actual storage state without blocking the basic room flow.
  • Calibrate 3.0 forwarding on independent networks. Compare the bounded probe and standby policy with on-demand routing on Browser/App combinations under matched workloads. Measure time to usable media, coverage, connection attempts, idle cost and disruption. Repeat the file and voice recovery control on a shared physical uplink before tuning fanout and retry/standby budgets. Reuse local diagnostics for aggregate candidate outcomes, first frame and hops. Compare capability-based relay ties and grandparent standby reuse before changing either policy; any remotely collected telemetry needs its own decision.
  • Public Demo room acceptance. Verify invite-only discovery and entry on the deployed public Demo. Local package control
  • Physical camera orientation. Check portrait capture on a phone through Native and pooled Browser paths. Compare the orientation of the source and the decoded viewer picture after a device rotation.
  • Two-App connection failure. Correlate the reported failed attempt's actual source/viewer endpoints, App control state, Native session generations, STUN observations and ordinary/enhanced ICE outcome. Two open Apps do not establish that their Native endpoints participated in the media route.
  • beta.33 Browser window selection stalls. Reproduce manual selection of another Chrome window on the reporting machine, including window audio.
  • App source selection fails or disconnects. On the reporting platform, capture the failed source request's elapsed time and outcome. If App control disconnects during webpage selection, capture its first close diagnostic to distinguish a control failure from a picker timeout or enumeration failure. On Android, verify request-scoped system selection on the matching package: rejected admission, cancellation with the picker open, and a cancelled request's delayed intent while another selection is pending.
  • Member-video viewing on the reporting network. Verify the authorized source with the updated App and Browser on that network. Record the selected player and sharing mode, then locate any remaining source-access or delivery failure. Member-video controls
  • beta.33 shared-screen blur and brief stalls. Correlate capture, encoder input/output, requested/applied quality, selected route and receiver cadence during an actual episode before attributing it to conservative probing. Check equivalent 2.x timeout owners separately from the new webpage-player path.
  • beta.32/33: no media with a weak site and strong source. Capture the affected peers' source limit, selected route and first received media on independent networks. The three-browser control measures how a prior viewer's pending assignment occupies a source slot.
  • Native performance under the reported workload. Measure capture, conversion, encoding and decoded cadence on the affected machines during normal use and contention. Identify the limiting stage before changing quality policy. Explicit hardware-encoder failure recovery does not establish smooth playback or lower resource use while hardware encoding still succeeds.
  • Windows H.264 format changes. Verify hardware output renegotiation on the Intel setup reported in #452. Retain the hardware and software encoder's frame, bitrate and retirement contracts; injected notifications are separate from driver-generated changes.
  • 2.x periodic brief picture stalls. With a particular Host or Viewer, normally clear playback pauses for less than half a second every few seconds or tens of seconds, skips several frames and sometimes briefly blurs. A roughly 2% loss observation is not yet correlated with the stall. Compare existing sender, relay and receiver timing, frame dimensions and repair counters before attributing this to loss, codec adaptation or changing sender latency. Keep optional receive buffering separate from identifying this report's cause.
  • Whole-system sound in beta.29. The reporter hears normal sound in beta.25, but beta.29 needs any process excluded before sound reaches viewers. Compare default-endpoint packets and queue/output progress with process loopback on that setup; the capture and mixing code is unchanged between the two builds. Keep this report distinct from the earlier process-specific noise.
  • Host UDP errors and blurry viewing. A reported beta.25 Host repeatedly prints Windows network-unreachable error 10051 while a friend can view a blurry picture. Identify whether the errors affect the selected media path or other ICE candidates, and correlate receive resolution with network and encoder budgets. The old console line lacks that association; do not treat the newer removed-local-address repair as resolution without a matching control.
  • beta.25 mobile reconnect report. Identify the actual Browser RTC setup error or socket-close cause on the reporting phone. The supplied recording shows site reconnection while waiting for a shared picture. A reproduced RTC constructor failure is now isolated from the site socket; confirm the reporting device's cause before treating this boundary repair as resolution of that report.
  • 3.0 viewing remains at 60 fps above the requested setting. Collect the actual capture source, applied resolution/frame rate and receiver counters for the reported path. Compare capture, encoded, received and decoded cadence; identify the displayed statistic. Controlled worker measurements stay in the encoder assessment.
  • 3.0 Windows shared-sound noise. The reporter confirms electrical or crackling sound in beta9/10 as well as beta2, while 2.x sounds normal. Excluding the window titled Piik removes it; excluding a silent unrelated window does not. Its selected process identity remains unconfirmed. The PCM continuity correction fixes a separate reproduced defect; verify the updated candidate on the reported setup and whether intended sound remains after exclusion. Neither that correction nor the earlier local-preview fix yet explains the PID-specific report.
  • Release mirror platform integration. Verify a supported way to create the platform's Release tag or trigger its immediate synchronization during publication. Do not assume disabling Pull synchronization makes the repository writable. Mirror operations owns setup.
  • Windows sound only works with exclusion (#534). Compare the affected application's playback endpoint with Piik's default-endpoint capture. The output-routing control reproduces this contrast with an alternate output device; the reported change after first using exclusion remains to be located.
  • Blue-tinted sharing (#529). The report has no source, codec, GPU or HDR/SDR details. Existing SDR conversion evidence cannot identify its cause; obtain a sender/receiver colour-bar or solid-colour comparison before changing bitrate, colour metadata or filters.
  • 3.0 iOS/iPadOS room voice feedback. With noise processing disabled on the phone/tablet, a computer listener reports mono sound. Check that device's raw capture channels against its received sound; the shared microphone, two-hop relay and per-person volume paths retain stereo in controlled input. Media fidelity owns the evidence. Keep the published 2.x mono contract separate.
  • Virtual-LAN page loading. Investigate the UU report where only the tab title appears and the page never loads. Static compression reduces transfer size; capture the stalled document/script response to locate this failure.
  • Linux capture ends after selection (#499). Follow #499 on niri/Wayland with GStreamer NVENC. The Browser report records capture ending before connection cleanup; obtain the native capture failure to distinguish the encoder and Portal.
  • Mouse input stops when Host Chrome is minimized (#502). The supplied v2.5.2 reports retain the grant and receive authorized mouse events, but Windows SendInput rejects a button event and subsequent release attempts. The reporter still sees remote control stop after returning to the desktop in v2.8.0; obtain a matching diagnostic and distinguish mouse from keyboard input. Capture whether local physical input also stops during the refusal to identify its OS trigger. Keep the existing grant/release semantics and locate the OS rejection trigger before adding desktop recovery. Any recovery must restore the calling thread's desktop context and release owned handles. The local controlled Chrome trial did not reproduce the failure; reporter-machine SendInput and physical-input acceptance remain open.
  • 2.x: return LiveKit to an upstream pin. Follow upstream #5016. Once upstream supplies the allocator input Piik needs, verify recovery and remove the temporary replacement. Dependency provenance owns the patch and removal boundary.
  • Replace the official webrtc-rs/rtc Git pin with a published release. Follow the merged parser repair in Native dependency provenance. Once a release includes it, verify the consumers and remove the Cargo patch entries.
  • Return portmapper to an upstream release. Follow upstream PR #268, then verify an official release containing the repair. Native dependency provenance owns the temporary pin and removal procedure.
  • Refresh the MPD script runtime. QuickJS-NG 0.18.0, including allocation-failure cleanup fixes, merged in rquickjs #793 on 2026-11-24. Verify MPD parser and Rust binding behavior when a published crate includes the update, before replacing the 0.14.0 pin.
  • GNOME cancellation cleanup submission. Submit the independently verified Mutter repair when GitLab authentication is available, under the upstream contribution rules. The network design owns its cause and validation; Piik does not bundle a compositor fork.
  • 2.x: return Pion to an upstream pin. Follow upstream #3668. Once upstream includes equivalent H.264 profile matching, verify the receiver and forwarding controls and remove the temporary replacement. Dependency provenance owns the patch and removal boundary.

Next

  • Quiet topology improvement. Decide ADR-0018. Stage 0 is offline: replay the planner on exported diagnostics and look for an opportunity that recurs. The first production step is one leaf moved to a strictly better place with the present proof, then one more child tried on unmet demand. The evidence lists the measurements still missing, first of them the wait after a silent parent death.
  • The life of a message. Decide ADR-0019: edit by the author with no earlier version kept, delete as today, one revision per message, and search at the writer. Five points of the stored format are settled before it is first published.
  • One vocabulary for extension. Decide ADR-0020: points, contributions, scopes, kinds and static compositions; a kind with a fallback as the only thing that crosses machines; a program as a participant. Its envelope joins the contract settled before release, and watch-together is the first feature moved onto it as proof.
  • Separate the canon from derived design in the documents. Where a record states a founding idea beside defaults, numbers or mechanisms, link the canon and keep the derived design. Start with ADR-0001, whose rationale is still current under a historical status, the status lines of ADR-0002, 0005, 0007, 0009, 0010 and 0013 for 3.0, and the two meanings each of "relay" and "host".
  • Shared participant boundaries and decoding. Measure avoidable WASM projection crossings and unused return data before changing their boundaries. Keep image restoration owned by each physical connection. Any generated types must replace their old owner and retain runtime validation, omission and null semantics.
  • Routing authority placement. Measure the writer turn and storage validation cost before proposing domain-owned repair. Decide the revocable grant and writer-disconnect semantics separately from physical pair reuse.
  • Prepared socket adoption. Verify that an active ICE engine can adopt an enhanced-discovery socket while keeping the physical pair and deadline. Retain bounded cross-peer coordination and cancellation; complete the existing kernel-NAT control before replacing the current preparation transition.
  • Physical keyframe acceptance. Check Android codec initialization, requested keyframes and rebuilding with the longer interval. Extend the Windows hardware control beyond the tested NVIDIA encoder and short sequence.
  • Rust formatting and diagnostics. At an agreed file handoff, apply a separate mechanical format pass and review actionable Clippy findings by owner. Keep style-only changes separate from behavior fixes and new lint gates.
  • Whole-page collaboration. Choose the intended co-browsing flow before extending synchronized playback. Evaluate a shared page with explicitly granted page-scoped input and each site's own collaborative links. Reuse the existing media and input owners; verify viewport coordinates, focused text entry and native dialogs before offering page-only control.
  • App update distribution. Configure the production signing identity and decide the beta-feed policy before distributing updater-capable packages; retain manual download. The delivery proposal keeps authority, active sessions and data outside the download operation.
  • Managed one-click deployment. Validate an ordinary Piik room and data recovery on a persistent hosting target. The deployment assessment distinguishes a full Server from a Vercel-hosted frontend that still needs an external Server.
  • Accept the unified 3.0 sharing experience. Review the optional screen-centred view with the owner and repeat the first share on the release candidate. End separate 2.x maintenance at the accepted 3.0 cutover. Decide separately whether to offer a short room-code locator.
  • 3.0 playable-route improvement. Define when a sustained limit warrants replacing a playable upstream. Set bounded candidate attempts, a resource budget for overlap and strict-benefit proof through the current switch owner. Account for disruption on a rejected trial and delayed natural recovery. Controlled switch evidence Separately compare stable downstream senders during input replacement, measuring SDP, keyframes and visible gaps while retaining generation and access fencing.
  • Field-test same-room screen recovery. On restricted networks, compare on-demand relay under the layered-forwarding validation plan after model review. Measure first picture, recovery when a peer leaves, load on an existing call and the cost of finding a path through two idle peers.
  • NAT field coverage. Measure difficult physical networks and sustained concurrent use. Random-mapping and linear-extension controls Verify interface-scoped mDNS candidate resolution before adding a resolver. Define optional Server-port STUN exposure and authenticated ICE dispatch before adding a discovery responder to its existing socket owner.
  • Codec capability and efficiency comparison. Measure actual platform encoder/decoder and Browser capabilities, then compare one available codec with H.264 using synthetic text and motion. Compare hardware and software execution under CPU/GPU contention, separating capture/copy, encoding and network cost. Include compatible H.264 forwarding cost and sustained runtime adaptation; keep congestion control with the RTC owner. Actual GPU-contention measurements are still needed to establish hardware/software switching benefit. AV1/HEVC product integration remains a separate decision. Review the codec interoperability proposal before extending codec or conversion implementations.
  • Browser content and pool tradeoffs. Compare text/motion hints through the actual startup, clone and pool paths before changing persistent content policy. Compare pooled and ordinary Host/relay delivery at matching quality, separating sender encoding from receiver and measurement cost. Keep the current pool until measured delivery tradeoffs justify narrowing or removing it.
  • Native representation selection. Compare forwarding an available lower layer with encoding full-size output at the granted rate. Reuse existing encoder grants and prove readability, cadence and resource cost before changing layer preference.
  • Native send-consent lifetime. Complete the Windows WebView control of the integrated SDK's RFC 7675 correction in both negotiation roles. Preserve permitted paths during ICE restart and reject retired credentials independently of candidate viability. Reuse the completed Native/Chrome controls. Keep transport consent and Piik route recovery with their existing owners.
  • Shared-link website coverage. Extend actual website and official embedded-player coverage toward VideoTogether's playback coverage. Verify source-issued media grants, supported commercial live sources, target Browsers and cross-network delivery. Trace observed responses through frame association before extending discovery. Verify provider restoration in the matching App and explicit audio selection on a real page with multiple AAC tracks. Retry girigirilove when the original player is accessible. Explain the trusted-site scope and local website login before use. Playback and authority boundaries · Website evidence
  • 3.0 Native platform acceptance. Complete same-room Windows/Android admission, two-way chat, Android image preview and live audio/video on the matched packages. Verify physical Android capture and media-path recovery, and the Windows WebView entry with physical microphones and cameras. Verify voice-overlay dismissal and pointer passthrough, and attachment saving across native panel closure. Investigate the observed WebView renderer exit during room navigation. Exercise macOS Quit, Dock/Finder return, permissions, physical capture, sound and input. Verify Linux hardware encoding and physical sound, and complete the remaining Linux distribution OBS checks. Verify the App source picker and Browser sharing on Cinnamon/X11 without a ScreenCast portal backend before deciding the native capture support scope. #552 · Device evidence · Local OBS coverage
  • Enhanced microphone suppression on physical devices (#518). Compare matched-level voice clarity, acoustic echo and mobile runtime cost for the optional RNNoise mode. Microphone assessment

Held By Owner

  • Non-Web desktop interface. Keep the graphical status-window proof and native widget rewrite out of the desktop product. Runtime assessment
  • Automatic room-voice exclusion from Native display sound. Deferred from the first 3.0 internal test. Keep Browser playback; the playback/AEC boundary owns the later design constraints.
  • iOS native App. Paused in favor of Browser use. Preserve the isolated implementation on feat/ios-client; native development and publication stay outside the current phase.
  • Additional collaboration cursors. Deferred by the owner. Keep the shared system mouse; do not add multi-cursor or pointer-ownership visualization.
  • Persistent-loss estimator replacement. Deferred on 2026-10-18. Keep mature congestion control and accept quality reduction under sustained high loss; concrete accounting/recovery defects remain ordinary bug fixes. Evidence.
  • 2.x remote control across multiple screens. Deferred on 2026-10-17. Keep remote input bound to one process-wide source.
  • 32-bit Windows/Linux Apps. Deferred on 2026-10-02. No package or website option is planned.
  • Windows ARM64 App. Deferred on 2026-10-03. Keep Windows downloads x64-only.
  • Alternative public-invitation providers. Deferred on 2026-10-16. Keep Cloudflare Quick Tunnel. The provider assessment owns alternatives and tradeoffs.

Parked Product Work

  • NDI and additional codecs (#535, #530). Assess NDI through the existing OBS/DistroAV-to-WHIP input before considering another native dependency. VP9/AV1/SVC support needs a concrete interoperability and resource decision. AV1 and H.265 implementation is deferred by the owner; compare hardware efficiency, frame delivery and compatible fallback before proposing adoption. Transport feedback and retransmission remain with the existing RTC owner; investigate a demonstrated defect there separately from codec expansion.
  • Native H264 scene-change latency. Revisit an encoder or SDK improvement that reduces coded-frame bursts while preserving quality and live recovery. Encoder assessment
  • Keyframe request spacing. Measure repeated receiver requests against existing output deduplication before adding a minimum interval that could delay recovery.
  • Server TCP media candidates. Verify pinned SDK framing, Browser interoperability and integration with the existing pair owner before proposing a transport option. A TCP protocol enum alone does not establish support.
  • Virtual gamepads beyond Windows. Verify Linux desktop permissions and physical game recognition. macOS virtual HID needs an entitled App and SDK/runtime checks. Co-play assessment
  • Platform output. A registered receiver may act as an ordinary Viewer after the platform-output gate passes.
  • Additional languages. Review community catalogs and rendered UI through the translation guide.
  • Windows code signing. Revisit when a trusted signing service is available; sign executables before archive checksums. Signing does not guarantee the end of antivirus cloud scanning.
  • macOS distribution signing. Developer ID signing and Apple notarization need an Apple Developer identity. #489 reports first-launch blocking; the troubleshooting guide provides a scoped opening procedure, not a signing fix. Verify downloaded bundles on a Mac when signing becomes available.
  • Managed Demo hosting. Keep the existing P2P-only Demo pending a concrete option. Provider assessment
  • Phone as a Host microphone. Revisit only for a concrete use case that justifies the pairing and input boundary.
  • Mobile controlled endpoints. Separate scope from desktop keyboard/mouse control and desktop co-play.