Skip to content

feat: add five missing video codec libraries - #633

Merged
hanthor merged 20 commits into
mainfrom
hive/adopt-627
Oct 31, 2026
Merged

hanthor merged 20 commits into
mainfrom
hive/adopt-627

Conversation

@hivecommons-hive

@hivecommons-hive hivecommons-hive Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Depends on #821. That PR carries the RPM Fusion/negativo17 provenance policy, the rpmfusion-free lookaside and the codec-tail import guidance, split out at maintainer request. This PR adds only five codec recipes: x264, x265, vvenc, vvdec and xavs2. libxavs is still pending. Validation (tools/validate.py) here stays red until #821 merges; it passes with #821 applied.

Supersedes #627 (adopted after CI went red and the contributor was unavailable; original commits by @arteeh preserved).

Part of #476 (partial batch: libxavs still pending; hosted builds and runtime proof outstanding)

This branch is #627's head 6e8b73f85972 as pushed by @arteeh (fork arteeh/utah-packages), unchanged. Last lane reason on the original: check-failure.

Hive fix agent: rebase this branch on main, fix the failing checks / review asks, and push to THIS branch. Keep the original author's commits and their Signed-off-by; add your own sign-off on your commits. Do not open another PR.

Refs #476 (closed by #746; this PR adds docs/skills/multimedia-closure.md, packages/vvdec/.gitignore, packages/vvdec/.hummingbird-upstream.json, packages/vvdec/sources, packages/vvdec/vvdec-increase-test-timeout.patch and 31 more)

Import SHA-512-locked upstream payloads with pinned Fedora, RPM Fusion and negativo17 recipes. Build x264 before FFmpeg and retain the VVC decoder test archive through the RPM Fusion source lookaside. Reconcile the recipe backlog without claiming runtime publication.

Hive-Run: #476
Hive-Plan: codecs-media-source-imports
Hive-Spec: issue-476#implementation-3
Assisted-by: GPT-6.1 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: arteeh <arteeh@users.noreply.github.com>
@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it labels Oct 25, 2026
…codecs

Reject provenance whose package field differs from its recipe directory so
the master-branch remote guard cannot be satisfied by a mislabeled field.
Record pr = 627 on the seven codec [resolved] backlog entries.

Hive-Fix-Attempt: 1/6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@hivecommons-hive

hivecommons-hive Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor Author

🐝 Possible duplicate

This PR changes exactly the same files as #627, which was opened first:

Evidence — identical changed-file set (55 file(s)):

  • .packit.yaml
  • config/factory-build-backlog.toml
  • config/upstream-sources.json
  • docs/architecture.md
  • docs/skills/multimedia-closure.md
  • packages/libultrahdr/.gitignore
  • packages/libultrahdr/.hummingbird-upstream.json
  • packages/libultrahdr/README.md
  • packages/libultrahdr/libultrahdr.spec
  • packages/libultrahdr/packit.yaml
  • …and 45 more

This is a suggestion, not a verdict. Hive will not close, label, approve or merge anything here — a human decides.

It was produced by comparing changed-file sets across open PRs, which is a candidate generator: PRs that share a file are not necessarily the same work. Here the patches DIFFER, so this is the weaker tier: dependency-bump PRs that edit one shared manifest, and unrelated fixes to one busy file, both land in it. Read the diffs before acting.

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HUMAN DECISION NEEDED — dispatch the seven-package Canary lane (hosted build proof) before merging; no CI run on this head has built any of the new codec recipes.

Summary: This change imports seven video/image codec recipes (x264, x265, vvdec, vvenc, svt-vp9, xavs2, libultrahdr) and tightens the rules that verify where recipes and test data come from. Two things need attention: the merge would automatically close the tracking issue even though that issue still has unfinished items and asks for build proof that does not exist yet, and none of the seven new recipes has actually been built by the hosted pipeline on this revision.

What I need from you: Change the PR body from "Closes #476" to "Refs #476", and run the codec Canary lane.


intent-alignment

  • PR body says Closes #476, but #476 names 12 outputs and states "this batch closes only when every named output is resolved or explicitly blocked by a linked decision"; libxavs remains in config/factory-build-backlog.toml area codecs-media (still pending in reports/factory-build-backlog.json), and the issue's acceptance list (hosted run URLs, NEVRAs, Hummingbird+factory runtime proof) is unmet. The superseded #627 deliberately used Refs #476 for exactly this reason. Merging as-is auto-closes an open contract. Fix: replace Closes #476 with Refs #476 (the [resolved] comment at config/factory-build-backlog.toml:474 already says "publication and runtime proof remain separate").

correctness

  • Both Canary runs on head 6e8b73f (40227663977, 40237340754) ran the default lane set only — libical, vulkan-headers, vulkan-loader, python-typing-inspection; LANE_PACKAGES was empty in the changes job. None of the seven new specs has a hosted build. packages/x264/x264.spec is the one most in need of it: it diverges from the RPM Fusion donor (Source0 swapped to the VideoLAN commit archive at x264.spec:46, %setup -q -n %{name}-%{commit} at :103, %bcond bootstrap 1 at :14 flipping gpac/ffmpeg off and dropping libavcodec-freeworld), so the donor's build history does not vouch for it. packages/vvdec/vvdec.spec:17 also depends on the new rpmfusion-free lookaside path (tools/source_pipeline.py:115-118) for a 232 MB bitstreams.tar.xz that %check requires — only unit-tested with a mocked fetch (tests/test_source_pipeline.py:450-472). Request: dispatch Canary with lane_packages='["libultrahdr","svt-vp9","x264","x265","vvdec","vvenc","xavs2"]' and record the run URL on #476.

No findings from: security, style, docs-currency.

Confidence: 2/5 (needs attention) — 1 high finding; 1 medium finding

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot added stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 25, 2026
The Canary check on 82728d9 came from fork PR #627's run of the same
commit, which cannot publish the canary image. A new commit on this
in-repo branch gets its own Canary run.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary: This change adds packaging recipes for seven video and image codec libraries (x264, x265, and friends) so the project can build them itself. The recipes and tooling look sound and all local checks pass, but the pull request is worded so that merging it would mark the whole tracking issue as finished, even though one library in that issue is still missing and none of the seven have been built yet. One small bookkeeping field also points at the older, abandoned copy of this pull request.

What I need from you: Change the closing keyword to a non-closing reference and point the backlog record at this PR.


intent-alignment

  • (medium) PR body says Fixes #476 (partial batch: libxavs still pending; hosted builds and runtime proof outstanding). Merging will auto-close #476, but #476's own boundary says "this batch closes only when every named output is resolved or explicitly blocked by a linked decision. Do not report blocked work as completed." libxavs is still pending in config/factory-build-backlog.toml:71, and the issue's acceptance list (hosted build run URLs, NEVRAs, runtime proof) is explicitly unmet per the PR body. Fix: replace Fixes #476 with Refs #476 / Part of #476 so the issue stays open for the remaining work.

docs-currency

  • (low) config/factory-build-backlog.toml:475-481 records pr = 627 on the seven new [resolved] entries. The section header (:472-473) says each entry names what closed the gap; #627 is the superseded original and will close unmerged, so the record will point at a PR that never landed. Fix: pr = 633.

correctness

  • (info) No hosted build has exercised any of the seven new specs. The only Canary run on this branch (40237340754) is for commit 6e8b73f, not head 6284327, and it built only libical, vulkan-headers, vulkan-loader. The two hive commits (82728d9, 6284327) triggered no CI at all. Verified locally at head instead: python3 tools/validate.py → validated 559 source RPMs (5 master, 550 rawhide, 4 upstream); tools/factory_build_backlog.py --check consistent; pytest tests -q → 1360 passed. Both new remote payloads resolve (pkgs.rpmfusion.org/.../vvdec/bitstreams.tar.xz HTTP 200, 232 MB; VideoLAN x264-b35605ac….tar.bz2 HTTP 200). Spec-level build proof remains outstanding as the PR body states.

No findings from: security, style.

Confidence: 3/5 (needs attention) — 1 medium finding; 2 perspectives requested changes

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

Hive-Fix-Attempt: 2/6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no findings from correctness, security, intent-alignment, style, docs-currency.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot added stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it stage/stalled In its current stage longer than expected and removed stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) stage/stalled In its current stage longer than expected labels Oct 26, 2026
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no findings from correctness, security, intent-alignment, style, docs-currency.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

Needs a decision, not a merge: GitHub refused the merge: branch protection requires an approving review from someone with write access, and the Hive App cannot give it. A GitHub Approve review on this head (or an App bypass in the branch rules) lets the hive merge it; the hive retries once GitHub reports the PR unblocked, or within 30 minutes.

Head: verdict approved @c4e45ea, 21/21 checks green, soak 0s of 30m0s.

Clear the cause and the hive re-evaluates on its next pass; the stage moves to stage/090-ready-for-human-merge, stage/095-pre-merge-soak or the merge queue on its own. An approval does not bypass CI, hold labels or other merge gates.

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

stage 080-awaiting-merge-admission → 070-fixing: conflicting

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

# Conflicts:
#	config/factory-build-backlog.toml
#	docs/architecture.md
#	reports/factory-build-backlog.json
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

Summary: This PR adds recipes for several missing video codec libraries (vvdec, vvenc, x264, x265, xavs2). It had fallen out of date with main, so I merged main in and fixed the shared registry files. Nothing about the packages themselves changed.


Merged origin/main (a merge, not a rebase: the branch history already held several merge commits). Conflicts were in config/factory-build-backlog.toml (kept both [resolved] sets), docs/architecture.md and reports/factory-build-backlog.json. I regenerated .packit.yaml, the architecture counts and the backlog snapshot with tools/render_packit_config.py --write, tools/render_architecture_counts.py --write and tools/factory_build_backlog.py. The counts are now 680 recipes (5 master, 670 rawhide, 5 upstream), matching tools/validate.py. The earlier advisory CI failure came from the old validator message and should clear on re-run. Nothing was run locally beyond the generators and the validator. New head: 596c310.

hive/awaiting-ci: CI pending — sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: 74a1ebe00051a45c647c2a3f32dae84814e1796b

— hive: agent=scanner backend=copilot model=claude-opus-5.5 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no findings from correctness, security, intent-alignment, style, docs-currency.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

Needs a decision, not a merge: GitHub refused the merge: branch protection requires an approving review from someone with write access, and the Hive App cannot give it. A GitHub Approve review on this head (or an App bypass in the branch rules) lets the hive merge it; the hive retries once GitHub reports the PR unblocked, or within 30 minutes.

Head: verdict approved @596c310, 21/21 checks green, soak 0s of 30m0s.

Clear the cause and the hive re-evaluates on its next pass; the stage moves to stage/090-ready-for-human-merge, stage/095-pre-merge-soak or the merge queue on its own. An approval does not bypass CI, hold labels or other merge gates.

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

stage 080-awaiting-merge-admission → 070-fixing: conflicting

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: merged main into the branch to clear the merge conflict (generated counts and backlog report regenerated); CI pending — sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: 74a1ebe00051a45c647c2a3f32dae84814e1796b

— hive: agent=scanner backend=copilot model=claude-opus-5.5 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary: This re-review covers only the latest change to the pull request that adds five video codec recipes: it merged the project's main branch into the branch. That merge itself is fine, but main has since moved again, so the automated checks on this pull request are red for reasons unrelated to the codec work. One more sync with main, plus regenerating two bookkeeping files, will make it green.

What I need from you: Merge main into the branch again and regenerate the recipe counts and backlog snapshot.


correctness

  • (low, in-scope) CI red at merge ref is main drift, not this delta. Head 78d7475 vs its merge-base 44613cae is consistent: 682 package dirs, 682 .packit.yaml:packages, 682 config/upstream-sources.json entries (no duplicate names), docs/architecture.md:81,133,137-139,144,163 say 682. But #823 landed on main after this merge (imath, rygel → 684 recipes; backlog resolved 352/pending 154), so tests/test_architecture_counts.py:46,61,64,88,106 fail with 682 != 684 and tools/factory_build_backlog.py --check reports totals drift: live {'backlog': 162, 'resolved': 352} vs snapshot {'backlog': 164, 'resolved': 350} (reports/factory-build-backlog.json:875-880). Fix: merge main again, run python3 tools/factory_build_backlog.py to regenerate reports/factory-build-backlog.json, and bump the counts in docs/architecture.md to 684 / validated 684 source RPMs (5 master, 674 rawhide, 5 upstream).

No findings from: security, intent-alignment, style, docs-currency.

Confidence: 3/5 (needs attention) — 1 perspective requested changes

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

stage 080-awaiting-merge-admission → 070-fixing: required-check-failing:Unit tests

hivecommons-hive Bot and others added 2 commits October 31, 2026 11:19
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Main gained imath and rygel (#823), bringing the inventory to 684
packages. Regenerate docs/architecture.md counts via
tools/render_architecture_counts.py --write and the backlog snapshot via
tools/factory_build_backlog.py.

Hive-Fix-Attempt: 5/6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no findings from correctness, security, intent-alignment, style, docs-currency.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

Needs a decision, not a merge: GitHub refused the merge: branch protection requires an approving review from someone with write access, and the Hive App cannot give it. A GitHub Approve review on this head (or an App bypass in the branch rules) lets the hive merge it; the hive retries once GitHub reports the PR unblocked, or within 30 minutes.

Head: verdict approved @337fa03, 21/21 checks green, soak 0s of 30m0s.

Clear the cause and the hive re-evaluates on its next pass; the stage moves to stage/090-ready-for-human-merge, stage/095-pre-merge-soak or the merge queue on its own. An approval does not bypass CI, hold labels or other merge gates.

hanthor and others added 2 commits October 31, 2026 17:03
Refresh architecture and backlog state from the current inventory. Add one inventory regeneration command, repair invalid imported YAML whitespace, and preserve workflow output values with grouped redirection.

Assisted-by: GPT-6.1 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
Merge the verified factory validation baseline without flattening contributor history. Regenerate combined inventory, reject new direct test success fallbacks with the existing inherited-count ratchet, and propagate all built x265 TestBench failures. Remove the prohibited historical DELTA session artifact carrying committed conflict markers.

Assisted-by: GPT-6.1 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

stage 080-awaiting-merge-admission → 070-fixing: conflicting

Merge current main (a590886) preserving all PR recipes and source locks, and regenerate combined inventory with just regenerate-inventory.

Assisted-by: GPT-6.1 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
@hanthor

hanthor commented Oct 31, 2026

Copy link
Copy Markdown
Member

Merged current main (a590886a) without rewriting branch history (8a98c78d6d47e50e8030fc06bb38eba506df2ac1), replaced x265.spec %check test/TestBench || : with test/TestBench || exit $? so built bit-depth test failures propagate, extended tools/check_suppressed_tests.py to ratchet new direct test-command success fallbacks, and regenerated combined inventory with just regenerate-inventory. Verified locally with just check.

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
8a98c78

⚠️ Sentinel alert — maintainer review required

Hive flagged this PR (author @hivecommons-hive[bot], head 8a98c78d6d47) because it matches behaviors that can override security controls, escalate privileges or damage the codebase. This is a heuristic, not an accusation — a maintainer should confirm the change is intended before it merges.

  • sensitive_path — changes 1 sensitive path(s) (Touches a sensitive path (OWNERS, workflows, policies, hive config, security docs, …))
    • .github/workflows/rebuild-rpms.yml

Hive added the sentinel-alert label. While it is present, Hive will not approve this PR, apply LGTM/approval labels, or merge it through any auto-merge lane. Remove the label once reviewed; Hive will not re-apply it unless new commits are pushed. Tune paths and behaviors under sentinel in hive.yaml or the dashboard Security tab.

This PR is the hive's adoption of #627. Its code is @arteeh's, so Hive judges it by that author, not by the hive account that opened it.

Drop the style-only grouped GITHUB_OUTPUT edit carried in from the interim baseline branch; main intentionally kept the original workflow so recipe PRs do not touch pipeline paths.

Assisted-by: GPT-6.1 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
@hanthor

hanthor commented Oct 31, 2026

Copy link
Copy Markdown
Member

Follow-up c05c6c6eb0cce42707717dc7bdbdaaf50d378ee6: restored .github/workflows/rebuild-rpms.yml to match main. My earlier sync carried a style-only edit from an interim baseline revision; this PR no longer touches workflow files. just check passes.

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no findings from correctness, security, intent-alignment, style, docs-currency.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

⚠️ Hold-gate mergeability: this PR has a real conflict with its base

This PR is hold-gated and has fallen behind its base branch. The hive tried to merge the base in to keep it mergeable while it waits on review, but that merge conflicts and the hive cannot resolve it automatically.

It will stay held and will NOT merge on its own even once reviewed — removing hold alone will not be enough. Someone will need to merge or rebase the base branch in by hand (or resolve the conflict another way) before this PR can merge.

Merge current main, keep both independent catalog records (#633 codecs, #761 spice-webdavd), and regenerate derived inventory.

Assisted-by: GPT-6.1 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) sentinel-alert stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants