Skip to content

fix(estate-rules): de-corrupt check-no-vlang.sh — ban V-lang, not Zig - #5

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/axiom-jl-registry-infra-kr7t4a
Jul 1, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
claude/axiom-jl-registry-infra-kr7t4a

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Applies the same de‑corruption as the canonical rsr-template-repo fix (companion PR) to this repo's propagated copy of the estate V‑lang guard. The script had been corrupted by a bad find/replace (V/vlang → zig): it banned the literal string zig and described the rule as "ziguage is banned / zig (vlang.io) is banned" — but vlang.io is the V language's site and Zig is the estate's default FFI/API language. So it wrongly failed on legitimate Zig while no longer catching V‑lang (the actually‑banned language).

Changes

  • scripts/check-no-vlang.sh: removed the two erroneous zig patterns (kept the genuine V markers gen-v-connector / V-TRIPLE / v-triple / vlang / connectors/v-); corrected all prose to name V‑lang, with Zig as the documented replacement. Non‑inventive — only the corruption was removed.
  • .github/workflows/estate-rules.yml: fixed the mangled comment + step name.

RSR Quality Checklist

Required

  • No banned language patterns (the fix re‑enables the V‑lang ban, stops banning Zig)
  • No unsafe blocks / banned functions (N/A)
  • SPDX headers intact
  • No secrets/credentials/.env
  • Tests/fmt/lint — shell guards verified by direct execution (below)

As Applicable

  • Documentation (script header + workflow comment) corrected to match reality

Testing

AFTER (fixed):  check-no-vlang.sh cicd-squabbler → PASS (exit 0)
                check-no-vlang.sh Axiom.jl (Zig-heavy) → PASS (exit 0)  [was FAIL: 4632 before]
NEGATIVE:       file with `import vlang`/`gen-v-connector`/`V-TRIPLE` → FAIL (exit 1)  [still caught]

Provenance

Canonical fix is in rsr-template-repo (companion PR); this mirrors it to keep the copy in sync.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UPFC9YQ7g9gc3VnRox42Q1


Generated by Claude Code

… (in-scope propagated copy)

The V-lang guard had been corrupted by a bad find/replace (V/vlang -> zig): it
banned the literal string zig (twice in PATTERNS) and described the rule as
'ziguage is banned / zig (vlang.io) is banned'. But vlang.io IS the V language
site, and Zig is the estate DEFAULT FFI/API language -- so the check wrongly
failed every repo that uses Zig (4632 false hits against a Zig repo) while no
longer targeting V-lang, the actually-banned language.

- scripts/check-no-vlang.sh: removed the two erroneous zig patterns (kept the
  genuine V markers gen-v-connector/V-TRIPLE/v-triple/vlang/connectors/v-);
  corrected all prose to name V-lang, with Zig documented as the allowed
  replacement (zig-unified-api-adapter). Non-inventive: only removed the
  corruption, did not fabricate replacement patterns.
- .github/workflows/estate-rules.yml: fixed the mangled comment + step name.

Verified: PASS (exit 0) on Zig-heavy repos (Axiom.jl, this repo); still FAILs
(exit 1) on genuine V-lang content (vlang/gen-v-connector/V-TRIPLE).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UPFC9YQ7g9gc3VnRox42Q1
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review July 1, 2026 07:52
@hyperpolymath
hyperpolymath merged commit 3496235 into main Jul 1, 2026
20 of 23 checks passed
@hyperpolymath
hyperpolymath deleted the claude/axiom-jl-registry-infra-kr7t4a branch July 1, 2026 07:53
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.

2 participants