mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
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.
5 lines
438 B
Plaintext
5 lines
438 B
Plaintext
["_H", 1, 32, "-- test if else --", 2, "print", 1, 35, 29, 40, 8, 33, 1, 2, "print", 1, 35, 39, 6, 33, 2, 2, "print", 1,
|
|
35, 29, 40, 8, 33, 1, 2, "print", 1, 35, 39, 6, 33, 2, 2, "print", 1, 35, 30, 40, 8, 33, 1, 2, "print", 1, 35, 39, 6,
|
|
33, 2, 2, "print", 1, 35, 29, 40, 8, 33, 1, 2, "print", 1, 35, 39, 6, 33, 2, 2, "print", 1, 35, 29, 36, 0, 40, 14, 33,
|
|
3, 33, 2, 36, 1, 6, 2, "print", 1, 35, 35, 39, 6, 33, 2, 2, "print", 1, 35, 35]
|