mirror of
https://github.com/luxfi/brand-rules.git
synced 2026-10-30 17:01:22 +00:00
One published package for LP-0010 / HIP-0303 / ZIP-0031 / PIP-0006 /
LIP-0006 (no-crossover) enforcement. Replaces per-org copies of the
brand-rules YAML files with a single source of truth that:
* Ships the 5 per-org rule files (rules/{lux,hanzo,zoo,pars,liquidity}.yml)
* Exports a programmatic loader (rulesFor / rulePath / SUPPORTED_ORGS)
* Provides a node CLI (brand-check) that mirrors the bash validator
* Provides the bash validator (scripts/brand-check.sh) for legacy use
* Adds ZIP-0031 §6 academic-collab exemptions for zoo (model_card*,
*.bib, papers/**, datasets/**/README*)
CI workflows (ci.yml) run lint + unit tests + CLI smoke against clean
and dirty fixtures. publish.yml fires on v* tags using the luxfi org
NPM_TOKEN secret.
Co-existing with hanzoai/.github's vendored copies until npm publish
is live; consumer-side swap PR follows.
Tests: 20/20 passing. CLI flags dirty fixture with 5 violations across
2 files, exit 1; clean fixture exits 0.
17 lines
287 B
Go
17 lines
287 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
// Cross-org tooling refs survive the line-level exemption.
|
|
luxhsm "github.com/luxfi/hsm"
|
|
hanzobase "github.com/hanzoai/base"
|
|
_ "github.com/zooai/agents"
|
|
)
|
|
|
|
func main() {
|
|
fmt.Println("Lux Network node up")
|
|
_ = luxhsm.Version
|
|
_ = hanzobase.Version
|
|
}
|