Skip to content

chore: resync sync-brand-numbers.mjs with the source copy - #17

Merged
VickyXAI merged 1 commit into
mainfrom
chore/resync-brand-script
Jul 27, 2026
Merged

chore: resync sync-brand-numbers.mjs with the source copy#17
VickyXAI merged 1 commit into
mainfrom
chore/resync-brand-script

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

The script is vendored byte-for-byte from BlockRunAI/blockrun:brand/sync-brand-numbers.mjs. This copy had fallen 24 lines behind it.

Three fixes landed upstream after the initial distribution and never reached here:

Fix Why it matters
Skip nested repos Walking into a submodule rewrites its markers from the wrong repo's snapshot, and reports drift that belongs to that repo's CI
Do not follow symlinked directories blockrun/docs -> awesome-blockrun/docs is the live case — it edited a submodule behind the nested-repo skip. A link pointing at an ancestor would also recurse forever
Scan .txt llms.txt is the file agents read to learn what BlockRun serves, and could not be bound at all before

Why nobody noticed

Nothing compared the copies. A file described as byte-for-byte identical across five repos had no check that it actually was — which is the same failure mode the whole brand-numbers system exists to prevent, reproduced in the mechanism itself.

blockrun CI gains a job that diffs every vendored copy against the source, in the same shape as its existing clawrouter-install-sync guard. That job lands after these four PRs, so it starts green.

--check still passes here with the new script.

The script is vendored byte-for-byte from BlockRunAI/blockrun:brand/, and this
copy had fallen 24 lines behind it. Three fixes landed upstream after the
initial distribution and never reached here:

- skip nested repos. Walking into a submodule rewrites its markers from the
  WRONG repo's snapshot and reports drift that belongs to its CI.
- do not follow symlinked directories. blockrun's docs/ -> awesome-blockrun/docs
  is the live case; a link pointing at an ancestor would also recurse forever.
- scan .txt, for llms.txt — the file agents read to learn what BlockRun serves,
  which could not be bound at all before.

None of this was detectable: nothing compared the copies. blockrun CI gains a
job that does, in the same shape as its existing clawrouter-install-sync guard.
@VickyXAI
VickyXAI merged commit 1b206e2 into main Jul 27, 2026
3 checks passed
@VickyXAI
VickyXAI deleted the chore/resync-brand-script branch July 27, 2026 06:50
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