Repository navigation
feat(umbrella): register the two OpenClaw upstream forks as submodules (#472) - #473
Conversation
#472) The umbrella is a view of the org: every active, non-fork repo on `main` is a gitlink here, plus the third-party upstreams the org vendors a mirror of. The OpenClaw family has been pinned only as `layer-openclaw` (the gateway layer candy) — the two upstream forks it packages had no row at all. Both were stale mirrors, so the sync came first (#472): opencharly/openclaw f3af0db8 -> 9354a2ca (2005 commits, 0 ahead of it) opencharly/openclaw-enterprise ce6535a7 -> 3d180654 (900 commits, 0 ahead of it) `opencharly/openclaw` could not be fast-forwarded while the org ruleset still targeted it: it was created 2026-10-10T21:56:07Z, after the last `org-ruleset.sh apply`, so it had never entered the ruleset's computed exclude set (forks are excluded by design). `gh repo sync` returned `Required workflow 'charly/pr-validator' is not satisfied` / `Required status check "validate / validate" is expected`, rc=1, head unchanged. Unblocked by adding the single name `openclaw` to ruleset 23827016's `repository_name.exclude` (25 -> 26 names; name, target, enforcement, bypass_actors, ref_name and the five rules byte-identical), at the operator's explicit direction and recorded on opencharly/.github#179. - `.gitmodules`: the two entries, each with `branch = main` — the remote default that `task verify` audits. - the gitlinks: `openclaw` at 9354a2ca (that repo's `refs/heads/main` per `git ls-remote`), `openclaw-enterprise` at 3d180654. - README org-map: both rows under Product & tooling, that section "7 repos" -> "9 repos", and the header "422 today" -> "424 today". `openclaw`'s history is 8.6 GB (its `main` tree is 625 MB across 53 384 blobs), so its checkout is deliberately NOT materialized: the umbrella records gitlinks, and `verb:git-submodules {mode: verify}` audits a pin without a checkout. The first `git submodule update --init openclaw` is what pays that 8.6 GB. Gate on this tree: `task org-map` 1 step 0 failed; `task verify` 21 steps 0 failed ("0 policy pin(s) hold across 424 submodule(s); 3 checkout(s) clean at their gitlink; 421 uninitialized (pin audited, no checkout)"), zero warnings. Closes #472 Agent: dsh-openclaw-upstream Assisted-by: DSH DeepSeek V4.1 Flash (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — diff adds two org-owned submodules + Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…s submodules (#474) (#475) Follow-up to the pair landed in #473: the org mirrors four more repos from the `openclaw` GitHub org, and none of them had an umbrella row. The umbrella is a view of the org, so the vendored upstreams it derives from belong in it beside `openclaw` and `openclaw-enterprise`. Sync first, as the pin policy requires — a pin is the repo's own default-branch HEAD: opencharly/clawsweeper ed9ee7a8 -> 1fa8e7d2 (42 commits, 0 fork-local) opencharly/crabbox 87489604 -> 30150b9a (790 commits, 0 fork-local) opencharly/crabhelm 919e2805 -> 919e2805 (already identical; created 2026-10-13T11:06:17Z) opencharly/lobster 1fb7da8f -> 1fb7da8f (already identical; created 2026-10-13T11:08:32Z) `clawsweeper` is the second instance of the blocker opencharly/.github#179 tracks — a fork created after the last `org-ruleset.sh apply`, so it still carried the required-check arm no mirror-fork push can satisfy, and `gh repo sync` refused it (rc=1, head unchanged) while `crabbox`, already excluded, synced on the first try. Unblocked exactly as `openclaw` was and at the operator's explicit direction: the single name `clawsweeper` added to ruleset 23827016's `repository_name.exclude` (26 -> 27 names; name, target, enforcement, bypass_actors, ref_name and the five rules read back byte-identical), recorded on #179 before the edit. - `.gitmodules`: four entries, each `branch = main` — the remote default `task verify` audits. - the gitlinks: `clawsweeper` 1fa8e7d2, `crabbox` 30150b9a, `crabhelm` 919e2805, `lobster` 1fb7da8f — each equal to its fork's `refs/heads/main`, read back with `git ls-remote`. - README org-map: four rows under Product & tooling, that section "9 repos" -> "13 repos" (now "the six vendored OpenClaw upstream forks"), header "424 today" -> "428 today". Closes #474 Agent: dsh-openclaw-forks Assisted-by: DSH DeepSeek V4.1 Flash (fully tested and validated) Co-authored-by: Andreas Trawoeger <[email protected]>
|
Addendum to
It is non-blocking for this PR: the tree it lands is unaffected, and the gate on the final tree passed with zero warnings. Classified as file it — separable from the pin registration, and not something this PR could have fixed in the umbrella. Agent: dsh-openclaw-forks |
Summary
Registers the org's two OpenClaw upstream forks as umbrella submodules — after fast-forwarding
BOTH to their upstreams, because a pin must be the repo's own default-branch HEAD and both were
stale mirrors.
opencharly/openclawf3af0db89354a2ca0fork-localopencharly/openclaw-enterprisece6535a73d1806540fork-local.gitmodules— two entries, eachbranch = main, the remote default thattask verifyaudits.openclawat9354a2ca,openclaw-enterpriseat3d180654.README.md— both rows in Product & tooling, that section7 repos->9 repos, and theheader
422 today->424 today.The unblock, and why it is in this body.
opencharly/openclawcould not be fast-forwardedwhile the org ruleset still targeted it: it was created
2026-10-10T21:56:07Z, after the lastorg-ruleset.sh apply, so it had never entered the ruleset's computedrepository_name.exclude(forks are excluded by design —
scripts/org-ruleset.shcomputes that set, it is never declared).gh repo synctherefore returned rc=1 with the head unchanged, while its siblingopenclaw-enterprise(created2026-10-09T05:51:15Z, already excluded) synced on the first try.Adding the single name
openclawto ruleset23827016's exclude list is a security-machinerychange, made at the operator's explicit direction and recorded on opencharly/.github#179 BEFORE
the edit; the live result is the ruleset fence below.
Not materialized, deliberately, with the cost stated.
opencharly/openclaw's history is8.6 GB, while its
maintree is 625 MB across 53 384 blobs (git/trees?recursive=1), sovirtually all of it is history. The umbrella records gitlinks and
verb:git-submodules {mode: verify}audits a pin without a checkout, so that 8.6 GB is paid by whoever first runsgit submodule update --init openclaw— not by every session that touches this repo or by everyfresh worktree.
openclaw-enterprise(72 MB) is materialized and audited as a clean checkout.How tested
Head
4e035568064843b8d64a10c10c02ca546e4d25d7. The gate is the one the rulebook names for a diff that touches a submodule,gitlink or pin —
./charly/bin/charly task verify— pluscharly task org-map, which owns theREADME org-map tables. Both ran on this commit, with the worktree-local binary
(
charly version2026.286.0739, built inside this worktree'scharly/from the pin theumbrella records,
e17644367), and both exited 0 with zero warnings. TheWARNING: charly is a dev/worktree build …banner line is filtered out of the paste; every other line is verbatim.The two pins are the forks' own default-branch HEADs — the policy the README's Pinning section
states — and the new paths sit in the state that section describes:
The ruleset edit, read live. The exclude set gained exactly one name; the five rules and the
single bypass actor are unchanged, and
openclawnow carries no rule at all where it carriedfive:
Rulebook compliance
/charly-internals:git-workflowwas loaded before the first tool action, as the SkillDispatcher selects it twice for this change (the git/
gh-workflow row and the pinning/gitlinkrow); its umbrella-mechanics reference supplied the session-worktree path, the pin discipline
and the
charly taskverbs used here.## Filed issues: the ruleset-scopeblocker (resolved in place, tracked at R1: a first-party fork repo never gets allow_auto_merge, so a PASS verdict cannot arm native auto-merge .github#179) and one warning seen once from
the main clone's older binary, which does not reproduce on this tree. The gate on the final
tree has zero warnings.
.gitmodulesis the pin list,README.mdits view, andthe two moved together in this commit; no second list, alias or shim is introduced.
gh repo sync(the GitHub-nativefast-forward, no
--force) and the pin is read fromgit ls-remote— the same valuecharly task synccomputes. No force-push, no branch checkout, no invented SHA, no sleep.this change adds no user-facing command, so no documented command gains a new prerequisite.
stale doc left to delete (the retired family submodules left in the feat(umbrella)!: land the OpenClaw family cutover — import, retirement, pins, bindings, ratchet #450 cutover).
git status --shortwas empty before the commit and after it; the tracked maincheckout was never edited (all work is in
.worktrees/dsh-openclaw-upstream/opencharly); noforce-push, no history rewrite, no hook bypass, and no direct push to
main.(
git ls-remote, above), the checkout audit is theverb:git-submodulesmessage pasted above,and the README tables are judged by
org-map's reconciliation, which fails on a rowlesssubmodule or a mismatched count.
no deploy, check bed or service.
2026.286.0739) built bycharly/scripts/bootstrap-charly.shinside this worktree'scharly/, not with the mainclone's binary (which is built from an older
charlypin).task org-map1 step0 failed,
task verify21 steps 0 failed, zero warnings, both pasted above. Nodisposable: truetarget is affected — this diff changes pins and prose, not runtime.Change classification
Pin (two gitlinks +
.gitmodules) plus docs (the README org map). Not a runtime change: nocandy, box, deploy, plan, schema or Go source is touched, so
/charly-check:checkselects nobed for it and the named gate for a gitlink/pin diff is the
./charly/bin/charly task verifyrun above. One repo, one squash.
Filed issues
None — no R1 finding needed a new issue. The blocker was resolved in place and its mechanism was
already tracked, so the measurement went to the existing thread instead of a duplicate:
openclawinstance (a forkcreated after the last apply inherits the ruleset and cannot be advanced by any push) plus the
directed one-name edit are recorded there.
plugin verb "openclaw" takes a MAP inputwarning that the main clone's older binary emitted mid-session and that theworktree-local binary does not reproduce.
Closes #472
Agent: dsh-openclaw-upstream
Assisted-by: DSH DeepSeek V4.1 Flash (fully tested and validated)