You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d1ba685
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spec): re-measure the four #9881/#9972 objectui pin citations at the current pin, and gate the class (#10439)
* fix(spec): re-measure the four #9881/#9972 objectui pin citations and gate the class
Fixes#10274
* docs(spec): regenerate the expression-bindable-text-keys reference for the normalized pin citation
The module docblock feeds content/docs/references/ via gen:docs, so the
citation-spelling normalization propagates. Generated, not hand-edited:
pnpm --filter @objectstack/spec gen:schema && ... gen:docs
---------
Co-authored-by: Claude <noreply@anthropic.com>
why: 'type-checks packages/spec/scripts/** (the generators and gate scripts themselves) under tsconfig.scripts.json — no artifact, and no debt ledger by design (#5475)',
262
262
},
263
+
// #10274. Audits this package's own PROSE: a read-point record that says
264
+
// "`.objectui-sha` = `<sha>`" is asserting the pin this repo builds against,
265
+
// and #10137 moved the pin under four such records without anything failing.
266
+
//
267
+
// NO_GENERATOR, and here the classification is the SAFETY PROPERTY rather than
268
+
// a bookkeeping choice. The `gen:` a reader would reach for — rewrite each
269
+
// cited sha to the pin file — is the one operation this gate must never offer:
270
+
// the sha is not the record, the objectui file:line anchors beside it are, and
271
+
// they are only true of the tree they were counted in. Regenerating the sha
272
+
// alone would leave every record CLAIMING the current pin while its anchors
273
+
// still described the old one, i.e. it would convert a loud "unverifiable" into
274
+
// a silent lie. #10274 measured that as real, not theoretical: re-measuring the
275
+
// four records found two anchors that had been wrong since they were written.
276
+
// A failure here is always a re-measurement, never a command.
277
+
{
278
+
check: 'check:objectui-pin-citations',
279
+
why: 'audits spec source prose: a citation in the asserting spelling (`.objectui-sha` = `<sha>`) must equal the root pin file — no artifact, and deliberately no `gen:`, because rewriting the sha without re-measuring the anchors beside it is the failure mode (#10274)',
0 commit comments