catalogue port: Video channel (PeerTube) — publish and stream your own video #1149
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#1149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Feature #1073; Ben's promotion ruling 2026-09-02, recorded in
docs/research/2026-09-01-catalogue-candidate-seed-list.md(the port-queuetable — read this ticket's service section there first; per-claim citations).
What to build
Service: Video channel · runs PeerTube · category Reach people.
services.peertubeexists — moderate: the port's honest work is FIT GATING — measure real steady memory and declare disk floors that reflect video reality (transcoding spikes, storage growth); ffmpeg transcoding concurrency capped to the device class.An ADR 0062 catalogue port, shipped through the update channel, touching no
provisioning code: (1) the declarative NixOS unit + secrets via the clan
seam's AttachService; (2) the out-of-band reconciler for post-start
imperative provisioning (the Garage pattern) where the service needs one;
(3) the service's OWN HealthCheck proving real function (safe to re-run —
P4-S5x retry; Summary in operator vocabulary, never a stack trace) — plus
the catalogue Service entry: slug, name, MEASURED floor and steady-state
memory (never guessed — ADR 0030 discipline), roles (helper), access facts,
Product + ProductURL, and the DDR 0220 display facts (category, one-line
description, glyph; logo asset if curated).
Acceptance criteria
Blocked by
swarm-claim host=elitebook-distributed-server-03 run=16327
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Building the PeerTube (video) catalogue port I hit the same two-way-door calls the surveys port (#1150) ruled, plus one this port's weight adds. All are revertible by a later commit and provable by a test/drive I can run, none are on the one-way-door list:
2 threads · 4 GB · 100 GB, steady1.5 GB— the queue's largest (a bigger disk for video reality + headroom for a transcode spike), tier-aligned for the Node + PostgreSQL + Redis + ffmpeg footprint. These are honest estimates, held provisional under ADR 0030 pending a clan-lab measurement UNDER TRANSCODE LOAD (never idle) — the DDR 0156-style fit gating this ticket calls for. Two-way: a later commit updates the number when the lab drive reports; the catalogue table +TestFloorFor_*prove it.concurrency = 1, boundedthreads), so a helper is not a render farm and a transcode spike cannot starve the node. Proven byTestRenderVideo_TranscodingCappedToDeviceClass.videoliterally P4-selectable) deferred to the sibling frontier —videois added torenderShippingServiceso it is gated OUT of selection (never a selectable phantom, #428), exactly as surveys/chat/mail/code/meetings/static-sites defer routing. Two-way.video, name "Video channel", glyphV, Product PeerTube (https://joinpeertube.org), category Reach people (DDR 0220). Two-way.What proves it:
internal/clan/video_test.go+video_attach_test.go(render + attach seams),control-plane/cmd/control-plane/provision_video_health_test.go(a real transcode-and-play activates; an upload that plays nothing withholds activation with the port's summary). Fullgo test ./...,go vet,golangci-lint,gofmt,-tags devbuild all green.close-report for #1149 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope