Files
zeekay d696a015aa fix(brand): one name for the script language, and a guard that keeps it
The rename runs on the way in and nothing checked it afterwards, so paths and
content drifted apart in three places, and each one broke something quietly.

The script language had three names at once.
Files on disk carried `.iql`/`.iqle`, the source matchers said `.script`, and
the bytecode matchers said `.hoge`, so the test harness globbed zero files and
the STL compiler regenerated an empty table.
It is `script` now, in one place: `.script` source, `.scriptc` bytecode,
`bin/script` to run one and `bin/scriptc` to compile one.

190 TypeScript specifiers named files that had been renamed away, which is the
whole CDP consumer graph -- the event worker, not the web boot.
`--check` only ever read Python imports; it reads both module systems now, and
repoints both.

`-hog-` became `-mascot-` in paths while content said `script`, so the code
review product's skill directories stopped matching the prefix that discovers
them and it ran with no perspectives at all.

PATH_REGEX is CONTENT_REGEX -- the same list, not a copy -- so a rule can no
longer land in one and miss the other, and the four disagreeing `hog` path
rules collapse into the one word rule content already had.

`HOGLI_*` becomes `INSIGHTSCLI_*` at every reader and writer, with no alias: an
env var read under two names is two names.
The seven casings of `hogql` and five of `hogvm` collapse into one rule per
prefix casing, which leaves the suffix alone because `QL` is SQL's and `VM` is
a virtual machine's.

`--check` now refuses every retired spelling, in content and in paths, and
draws the line the rules draw: `insights_hogfunction` is a Postgres table so it
is left alone, and a migration filename is its identity in `django_migrations`
so it is frozen rather than failed.
Third-party names we cannot rename are reported as pending, never exempted.
2026-08-08 18:38:11 -07:00

39 lines
4.1 KiB
Plaintext

["_H", 1, 32, "this is a secure string", 32, "string:", 36, 0, 2, "print", 2, 35, 32, "md5Hex(string):", 36, 0, 2,
"md5Hex", 1, 2, "print", 2, 35, 32, "md5Hex(null):", 31, 2, "md5Hex", 1, 2, "print", 2, 35, 32, "md5(string, 'hex'):",
36, 0, 32, "hex", 2, "md5", 2, 2, "print", 2, 35, 32, "md5(null, 'hex'):", 31, 32, "hex", 2, "md5", 2, 2, "print", 2,
35, 32, "md5(string, 'binary'):", 36, 0, 32, "binary", 2, "md5", 2, 2, "print", 2, 35, 32, "md5(null, 'binary'):", 31,
32, "binary", 2, "md5", 2, 2, "print", 2, 35, 32, "md5(string, 'base64'):", 36, 0, 32, "base64", 2, "md5", 2, 2,
"print", 2, 35, 32, "md5(null, 'base64'):", 31, 32, "base64", 2, "md5", 2, 2, "print", 2, 35, 32,
"md5(string, 'base64url'):", 36, 0, 32, "base64url", 2, "md5", 2, 2, "print", 2, 35, 32, "md5(null, 'base64url'):", 31,
32, "base64url", 2, "md5", 2, 2, "print", 2, 35, 32, "sha256Hex(string):", 36, 0, 2, "sha256Hex", 1, 2, "print", 2, 35,
32, "sha256Hex(null):", 31, 2, "sha256Hex", 1, 2, "print", 2, 35, 32, "sha256(string, 'hex'):", 36, 0, 32, "hex", 2,
"sha256", 2, 2, "print", 2, 35, 32, "sha256(null, 'hex'):", 31, 32, "hex", 2, "sha256", 2, 2, "print", 2, 35, 32,
"sha256(string, 'binary'):", 36, 0, 32, "binary", 2, "sha256", 2, 2, "print", 2, 35, 32, "sha256(null, 'binary'):", 31,
32, "binary", 2, "sha256", 2, 2, "print", 2, 35, 32, "sha256(string, 'base64'):", 36, 0, 32, "base64", 2, "sha256", 2,
2, "print", 2, 35, 32, "sha256(null, 'base64'):", 31, 32, "base64", 2, "sha256", 2, 2, "print", 2, 35, 32,
"sha256(string, 'base64url'):", 36, 0, 32, "base64url", 2, "sha256", 2, 2, "print", 2, 35, 32,
"sha256(null, 'base64url'):", 31, 32, "base64url", 2, "sha256", 2, 2, "print", 2, 35, 32, "sha1Hex(string):", 36, 0, 2,
"sha1Hex", 1, 2, "print", 2, 35, 32, "sha1Hex(null):", 31, 2, "sha1Hex", 1, 2, "print", 2, 35, 32,
"sha1(string, 'hex'):", 36, 0, 32, "hex", 2, "sha1", 2, 2, "print", 2, 35, 32, "sha1(null, 'hex'):", 31, 32, "hex", 2,
"sha1", 2, 2, "print", 2, 35, 32, "sha1(string, 'binary'):", 36, 0, 32, "binary", 2, "sha1", 2, 2, "print", 2, 35, 32,
"sha1(null, 'binary'):", 31, 32, "binary", 2, "sha1", 2, 2, "print", 2, 35, 32, "sha1(string, 'base64'):", 36, 0, 32,
"base64", 2, "sha1", 2, 2, "print", 2, 35, 32, "sha1(null, 'base64'):", 31, 32, "base64", 2, "sha1", 2, 2, "print", 2,
35, 32, "sha1(string, 'base64url'):", 36, 0, 32, "base64url", 2, "sha1", 2, 2, "print", 2, 35, 32,
"sha1(null, 'base64url'):", 31, 32, "base64url", 2, "sha1", 2, 2, "print", 2, 35, 32, "1", 32, "string", 32, "more", 32,
"keys", 43, 4, 32, "data:", 36, 1, 2, "print", 2, 35, 32, "sha256HmacChainHex(data):", 36, 1, 2, "sha256HmacChainHex",
1, 2, "print", 2, 35, 32, "sha256HmacChain(data, 'hex'):", 36, 1, 32, "hex", 2, "sha256HmacChain", 2, 2, "print", 2, 35,
32, "sha256HmacChain(data, 'base64'):", 36, 1, 32, "base64", 2, "sha256HmacChain", 2, 2, "print", 2, 35, 32,
"sha256HmacChain(data, 'binary'):", 36, 1, 32, "binary", 2, "sha256HmacChain", 2, 2, "print", 2, 35, 32,
"sha256HmacChain(data, 'base64url'):", 36, 1, 32, "base64url", 2, "sha256HmacChain", 2, 2, "print", 2, 35, 32,
"sha1HmacChainHex(data):", 36, 1, 2, "sha1HmacChainHex", 1, 2, "print", 2, 35, 32, "sha1HmacChain(data, 'hex'):", 36, 1,
32, "hex", 2, "sha1HmacChain", 2, 2, "print", 2, 35, 32, "sha1HmacChain(data, 'base64'):", 36, 1, 32, "base64", 2,
"sha1HmacChain", 2, 2, "print", 2, 35, 32, "sha1HmacChain(data, 'binary'):", 36, 1, 32, "binary", 2, "sha1HmacChain", 2,
2, "print", 2, 35, 32, "sha1HmacChain(data, 'base64url'):", 36, 1, 32, "base64url", 2, "sha1HmacChain", 2, 2, "print",
2, 35, 32, "sha1Hex('abc'):", 32, "abc", 2, "sha1Hex", 1, 2, "print", 2, 35, 32, "sha1Hex(''):", 32, "", 2, "sha1Hex",
1, 2, "print", 2, 35, 32, "rfc2202 case 1:", 32,
"\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b",
32, "Hi There", 43, 2, 2, "sha1HmacChainHex", 1, 2, "print", 2, 35, 32, "rfc2202 case 2:", 32, "Jefe", 32,
"what do ya want for nothing?", 43, 2, 2, "sha1HmacChainHex", 1, 2, "print", 2, 35, 32, "rfc2202 case 5:", 32,
"\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f", 32, "Test With Truncation", 43, 2, 2, "sha1HmacChainHex", 1, 2, "print", 2,
35, 35, 35]