Skip to content

feat: the seven cstream repos become umbrella submodules - #69

Merged
atrawog merged 1 commit into
mainfrom
feat/cstream-submodules
Aug 30, 2026
Merged

atrawog merged 1 commit into
mainfrom
feat/cstream-submodules

Conversation

@atrawog

@atrawog atrawog commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes the cstream plan's last step. The stack has been landing as PRs across seven standalone
repos while the umbrella — the view of the org — could not see any of them: 349 submodules, none
of them cstream.

All 9 changed paths, accounted for:

path change
.gitmodules 7 new entries (349 → 356)
README.md 2 org-map rows
gst-wayland-display new gitlink — the GStreamer Wayland-compositor fork (waylanddisplaysrc) cstream nests Hyprland into
charly-streamer new gitlink — product code: Rust streamer + session leader, Go gateway + broker
plugin-cstream new gitlink — serves the cstream: check verb
layer-gst-wayland-display new gitlink — installs libgstwaylanddisplaysrc.so
pod-cstream new gitlink — transport spine + cstream-session.target
pod-hyprland new gitlink — the nested-compositor primitive
layer-cstream-desktop new gitlink — the metalayer composing the two pods

gst-wayland-display tracks stable, not main

main does not exist in that fork. Every entry's branch = is read from the repo's real
default via the GitHub API rather than assumed — which is what the README already requires:
"nothing ever assumes main — defaults are resolved via git ls-remote --symref, so a future
default-branch rename keeps working."
A blanket -b main would have created a dangling pin that
verify only catches later.

Why only 2 README rows for 7 repos

The org map is a selective index, not an inventory — it lists infrastructure and notable
standalone repos, and contains no pod-* entries at all among the ~330 candy repos already
submoduled. The two added match that granularity:

  • gst-wayland-display — a patched upstream fork, exactly the pixelflux precedent already in
    the table (which likewise notes its non-main default branch).
  • charly-streamer — the product code.

The pods, layers and the plugin are ordinary candy repos and are no more listed than their ~330
siblings. No pinning-policy edit is needed: rule 3 already covers "everything else → its own
default-branch HEAD"
, so the new entries fall under the existing rule rather than needing a new
clause.

How tested

On the final committed tree (56e1588):

$ task verify
check-policy-b: OK — 6 distro pins equal charly's gitlinks
verify-pins: OK — 356 submodules, policy B holds
exit=0

$ task harness
check-harness-parity: OK — 5 shared harness files identical to charly/
exit=0

The pre-commit gate also ran both on the commit itself:

pre-commit: running the umbrella gate…
check-policy-b: OK — 6 distro pins equal charly's gitlinks
check-harness-parity: OK — 5 shared harness files identical to charly/
pre-commit: OK

Working tree hygiene

verify fails on a dirty submodule, and 17 were dirty before this change — stale checkouts, not
edits
: each was at a different commit than the recorded gitlink with zero local changes
(measured per submodule). They were brought to their recorded pins with
git submodule update --init --force, which is the precondition the plan documents. One residual —
charly — was at the right commit but is itself a superrepo whose nested box/omarchy gitlink was
stale; updating that nested submodule cleared it. Final tree: 0 dirty.

What these gitlinks point at

Each is the repo's default-branch HEAD, and for the four cstream candy repos that is the merged
WP9b chain:

repo landed as
pod-hyprland #6 → v2026.242.2008 — compositor is enable: false + wanted_by: [cstream-session.target]
pod-cstream #13 → v2026.242.2156 — ships that target
layer-cstream-desktop #8 → v2026.242.2221 — pins both above
distro-cachyos #49 — the check-cstream-vm bed + the layer pin

Rulebook compliance

  • R0 — skills honoured. /charly-internals:git-workflow for the branch/PR/landing mechanics.
  • R1 — RCA every anomaly. The 17 dirty submodules were diagnosed (stale checkouts vs. edits)
    before being touched, rather than force-reset on sight; the residual charly entry was traced to
    a nested gitlink rather than assumed to be the same cause.
  • R2 — nothing parked. This is the plan's final step; nothing deferred.
  • R3 — no duplication. Submodule rows only; no policy re-statement, because the existing rule 3
    already covers these repos.
  • R4 — no workaround. No hand-edited gitlinks — every pin is git submodule add against the
    repo's real default branch.
  • R5 — delete legacy completely. Nothing superseded; purely additive.
  • R6 — git safety. git status inspected before the submodule update and before staging; no
    force-push; no direct push to main; no hook bypass — the pre-commit gate ran and passed.
  • R7 — prove the gate, not the plan. task verify and task harness pasted above, run on the
    final committed tree.
  • R10 — fresh disposable proof. N/A for a gitlink change; the candy beds that prove this stack
    ran in their own repos' PRs, each disposable: true and each pasted there.

Change classification

  • Change class: umbrella gitlinks + .gitmodules + 2 README rows. No Go, no schema, no
    workflow, no candy manifests.
  • Verification gate: task verify + task harness (the full pinning and parity gates).
  • Breaking change + rollback: none — purely additive. Rollback is a revert; no existing
    submodule moves.
  • Producer → consumer order: all seven repos already exist and are merged/tagged upstream; the
    umbrella is the last consumer in the chain.

Attribution tier: fully tested and validated


Assisted-by: Claude Code claude-opus-5[1m] (fully tested and validated)

Closes the cstream plan's last step. The stack has been landing as PRs across
seven standalone repos while the umbrella -- the view of the org -- could not
see any of them: 349 submodules, none of them cstream.

Added (356 submodules now):

    gst-wayland-display        the GStreamer Wayland-compositor fork (branch: stable)
    charly-streamer            Rust streamer + leader, Go gateway + broker
    plugin-cstream             the cstream: check verb
    layer-gst-wayland-display  installs libgstwaylanddisplaysrc.so
    pod-cstream                transport spine + the session target
    pod-hyprland               the nested-compositor primitive
    layer-cstream-desktop      the metalayer composing the two pods

gst-wayland-display tracks `stable`, NOT `main` -- `main` does not exist in that
fork. Each entry's `branch =` is read from the repo's real default via the
GitHub API rather than assumed, which is what the README already requires
("nothing ever assumes `main`").

README: two org-map rows, for the two repos at the map's granularity -- a
patched upstream fork (the pixelflux precedent) and the product code. The pods,
layers and the plugin are ordinary candy repos and are no more listed than the
other ~330; the map is a selective index, not an inventory. No pinning-policy
edit is needed: rule 3 already covers "everything else -> its own default-branch
HEAD".

Gates on the final tree:

    task verify   -> check-policy-b: OK - 6 distro pins equal charly's gitlinks
                     verify-pins: OK - 356 submodules, policy B holds
    task harness  -> OK - 5 shared harness files identical to charly/

Claude-Session: https://claude.ai/code/session_01Gf42A3bau77JigFYLALrnq
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 56e1588f2de7 (branch: feat/...)

Security screen: PASS — no scope mismatch (all 9 changed paths accounted for in the body), no secrets/exfiltration, no guardrail weakening, submodules point to legitimate opencharly org repos with explained branch pins.

Checklist: All applicable rules PASS or NA.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@atrawog
atrawog merged commit c9e0923 into main Aug 30, 2026
1 check passed
@atrawog
atrawog deleted the feat/cstream-submodules branch August 30, 2026 23:45
charly-auto-merge Bot added a commit that referenced this pull request Aug 30, 2026
aitrawog pushed a commit that referenced this pull request Nov 17, 2026
I framed #72 as the seam covers the four consumers, so InjectSecretsIntoPlans is a duplicate. Two
measurements say otherwise.

The two call sites are two different destinations: overlay.go deliverSecretEnv feeds the overlay image
BUILD, where oci.Emit walks the plans and the value lands in a Containerfile step env; secrets_artifacts.go
feeds plugin-fleet artifact assembly at apply/venue time. Neither is the runtime Env the config-time seam
writes, so neither is a duplicate of it.

And nothing in this tree authors a build-time secret: four secret_require sites, all runtime env, none in an
add_candy overlay candy. deliverSecretEnv delivers nothing today, and deleting it would remove a build-time
CAPABILITY, not a duplicate.

So #72 is three units: A, deliverSecretEnv in overlay.go, unused but a real capability that would need
--mount=type=secret if used; B, plugin-fleet artifact path, blocked because the handle-shaped answer has no
dispatch (spec#370); C, the four consumers, DONE by the seam and proven by check-seam-proof.

And the correction: I wrote that deleting ahead of a working env seam is the regression #69 recorded. That is
no longer the hazard. The hazard now is deleting a BUILD-time mechanism because its RUNTIME neighbour works.

Rule 12: a measurement that splits an issue is worth more than a deletion that guesses.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
aitrawog added a commit that referenced this pull request Nov 24, 2026
Resolves two conflicts against the pin wave that landed as #1267:

- plugin-marketplace: kept THIS branch's pin (4c82ccb7, PR #69's CHANGELOG
  commit); #1267's pin (a8881e82) is its ancestor, so keeping the branch's is
  the forward move, not an overwrite.
- scripts/check-harness-config.mjs: kept #1267's landed MAX_UNROUTED comment and
  value (222) verbatim, so the ceiling has ONE statement, and kept this branch's
  fixture-oracle fix (a skill is a directory that HOLDS a SKILL.md, with a
  planted empty directory as the control) — the part #1267 did not carry.

The other 27 paths #1267 already advanced now match main; the branch keeps the
five pins that are still strictly newer than main's (each proven by ancestry).

Agent: `immich-consolidation` · Claude Code session `113f762e-5d70-484a-9ed9-e34c6423c926`
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant