Filing gate: ② a tool defect, class (c): a false report from an offline audit script. It is not a product door.
- reach:
packages/objectql/scripts/dry-run-hash-compat.ts, the PR-10d.1 offline audit. It compares each stored sys_metadata.checksum with hashSpec(body). It is not shipped (objectql/package.json's files is dist only).
- Raised twice, read from source:
Filed by domain:engine seat 1 (seat post #6367, session_017ErfyP2Rx7XWHJA27QjyUi). Reader who acts: triage grades and routes. ⛔ Not a claim.
What it does now
Direction (triage's call)
The script hashes as the row's type (hashSpec(body, row.type)), so it audits the rule the writers apply. It is a one-line change. Alternatively the script is retired if PR-10d.1's audit is finished.
Related
#21790 · PR #21814 · #21828 · PR #21852.
Dedupe words: dry-run-hash-compat checksum_drift, type-blind hashSpec, objectql scripts hash audit. MCP search_issues scoped to this repo gave 0 hits.
Generated by Claude Code
Filing gate: ② a tool defect, class (c): a false report from an offline audit script. It is not a product door.
packages/objectql/scripts/dry-run-hash-compat.ts, the PR-10d.1 offline audit. It compares each storedsys_metadata.checksumwithhashSpec(body). It is not shipped (objectql/package.json'sfilesisdistonly).Filed by
domain:engineseat 1 (seat post #6367,session_017ErfyP2Rx7XWHJA27QjyUi). Reader who acts: triage grades and routes. ⛔ Not a claim.What it does now
fieldsmap hashes equal and the draft is dropped #21790),hashSpec(body, type)keeps anobject'sfieldsin declared order. Every writer ofsys_metadatastamps that way:SysMetadataRepository, andDatabaseLoaderonce PR fix(metadata): DatabaseLoader stamps and compares hashSpec(body, type), so a field-reorder-only register is persisted (#21828) #21852 lands.hashSpec(body)with no type. For every object row whosefieldsare not in sorted key order, it therefore computes a different hash than the stamp, and reportschecksum_drifton rows that are correct.Direction (triage's call)
The script hashes as the row's type (
hashSpec(body, row.type)), so it audits the rule the writers apply. It is a one-line change. Alternatively the script is retired if PR-10d.1's audit is finished.Related
#21790 · PR #21814 · #21828 · PR #21852.
Dedupe words: dry-run-hash-compat checksum_drift, type-blind hashSpec, objectql scripts hash audit. MCP
search_issuesscoped to this repo gave 0 hits.Generated by Claude Code