Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1106 commits
Select commit Hold shift + click to select a range
e2e824c
refactor(ir): read a closed type's verdict from its zero value
OmarAlJarrah Dec 2, 2026
7bf20ef
refactor(ir): read a model's property counts through one reader
OmarAlJarrah Dec 2, 2026
edeae9b
test(pass): hold the member-count check to linear work
OmarAlJarrah Dec 2, 2026
549e28f
Merge commit 'e2e824cd0' into wip/s8-refbounds
OmarAlJarrah Dec 2, 2026
ec8f7ad
fix(compilers/openapi): report a union a bottom keeps once
OmarAlJarrah Dec 2, 2026
484c63e
refactor(compilers/openapi): read alias links in merge off ir's depths
OmarAlJarrah Dec 2, 2026
63339d8
fix(pass): report a crossed composition cycle in the bounds check
OmarAlJarrah Dec 2, 2026
6845c04
Merge commit 'e2e824cd0' into wip/c1
OmarAlJarrah Dec 2, 2026
bd2ff5d
refactor(compilers/openapi): read a value's instance kind through typ…
OmarAlJarrah Dec 2, 2026
0ce4aab
refactor(compilers/compile): hand every settlement one alias index
OmarAlJarrah Dec 2, 2026
9904007
refactor(pass): read alias chains through the run's index alone
OmarAlJarrah Dec 2, 2026
62a139a
Merge commit '6845c04df' into wip/c1-alias
OmarAlJarrah Dec 2, 2026
405462d
fix(pass): judge a value under an alias whose encoding names no scheme
OmarAlJarrah Dec 2, 2026
56050e8
docs: word the property-count comments in the glossary's terms
OmarAlJarrah Dec 2, 2026
72ff768
Merge remote-tracking branch 'origin/fix/openapi-schema-composition' …
OmarAlJarrah Dec 2, 2026
f29c3cc
test: hold the architecture tables and lints to the moved readers
OmarAlJarrah Dec 2, 2026
d911b0c
refactor(compilers/openapi): type three answers and share one written…
OmarAlJarrah Dec 2, 2026
e74f389
fix(compilers/openapi): name the least index that read a node by number
OmarAlJarrah Dec 2, 2026
eb257cf
refactor(compilers/openapi): type the union keyword and elect it once
OmarAlJarrah Dec 2, 2026
4a65f5b
fix(compilers/openapi): fold reports name their models and types
OmarAlJarrah Dec 2, 2026
0bdaa6b
Merge branch 'wip/c1-pass' into wip/c1
OmarAlJarrah Dec 2, 2026
613225d
Merge branch 'wip/c1-alias' into wip/c1
OmarAlJarrah Dec 2, 2026
abc0929
docs(ir): count the value sets a $ref now bounds
OmarAlJarrah Dec 2, 2026
45c670f
Merge commit '72ff76802' into wip/c3b
OmarAlJarrah Dec 2, 2026
d6141be
perf(compilers/openapi): write a position's pointer key at each sort
OmarAlJarrah Dec 2, 2026
55139d4
Merge commit '72ff76802' into wip/s8
OmarAlJarrah Dec 2, 2026
a4a454a
fix(compilers/openapi): say a fold report once whatever entry brings it
OmarAlJarrah Dec 2, 2026
c0431e0
fix(compilers/openapi): call a crossed cycle's counts intersected
OmarAlJarrah Dec 2, 2026
feeffc1
fix(compilers/openapi): judge a union's shape once, in its reading
OmarAlJarrah Dec 2, 2026
c469abb
Merge branch 'wip/c1-report' into wip/c1
OmarAlJarrah Dec 2, 2026
1a051af
test(ir/irverify): classify the property-count reader's component places
OmarAlJarrah Dec 2, 2026
a1dfa76
Merge commit '55139d4e8' into wip/c1
OmarAlJarrah Dec 2, 2026
d796c6f
refactor(compilers/openapi): type what the union lowering encoded
OmarAlJarrah Dec 2, 2026
dbce1d2
Merge commit '55139d4e8' into wip/c3b
OmarAlJarrah Dec 2, 2026
e48ea6d
refactor(compilers/openapi): read a conjunction's rest once, typed
OmarAlJarrah Dec 2, 2026
2a5b1f6
refactor(compilers/openapi): name a decision's outcome
OmarAlJarrah Dec 2, 2026
f49aac7
Merge commit 'a1dfa76ed' into wip/c3b
OmarAlJarrah Dec 2, 2026
3a1f324
fix(compilers/openapi): report a copy annotated apart in a held type
OmarAlJarrah Dec 2, 2026
701f4f0
refactor(compilers/openapi): read the null walk's edges off its reading
OmarAlJarrah Dec 2, 2026
4acdac8
refactor(compilers/openapi): keep an entry's passed union through the…
OmarAlJarrah Dec 2, 2026
bd1ae86
Merge commit '3a1f3244e' into wip/c3b
OmarAlJarrah Dec 2, 2026
cb17618
test(compilers/openapi): pin the meet and collapse guards a lowering …
OmarAlJarrah Dec 2, 2026
1df388d
refactor(ir): name an admission answer for what it is
OmarAlJarrah Dec 2, 2026
0d0ba6a
refactor(pass): name the alias-chain reading and budgets for what the…
OmarAlJarrah Dec 2, 2026
b3279b2
refactor(compilers/openapi): read each comma-ok in one statement
OmarAlJarrah Dec 2, 2026
34f77cf
test(internal/archtest): name the union reading's readers in its cycle
OmarAlJarrah Dec 2, 2026
72693a1
refactor(compilers/openapi): name the merge fold in the glossary's words
OmarAlJarrah Dec 2, 2026
7bf05f2
Merge commit '34f77cfc7' into wip/rename-a
OmarAlJarrah Dec 2, 2026
f2c4e21
refactor(compilers/compile): name the alias reading's digests as digests
OmarAlJarrah Dec 2, 2026
6d4f6b0
refactor(compilers/openapi): name annotation's pending keeps for what…
OmarAlJarrah Dec 2, 2026
ff2c2a9
refactor(compilers/openapi): name the type array's union lowering
OmarAlJarrah Dec 2, 2026
48d82b8
refactor(compilers/openapi): name reftable's pure references and cach…
OmarAlJarrah Dec 2, 2026
535cc90
refactor(compilers/openapi): name operation's uses, numbering and cho…
OmarAlJarrah Dec 2, 2026
a2e6ced
refactor(compilers/openapi): name where a node is placed
OmarAlJarrah Dec 2, 2026
bb48c81
refactor: spell out the abbreviated type-definition and keyword names
OmarAlJarrah Dec 2, 2026
6a7bde4
refactor(compilers/openapi): name the union beside the rest
OmarAlJarrah Dec 2, 2026
04486a7
refactor(compilers/openapi): name why a $ref conjunct is kept
OmarAlJarrah Dec 2, 2026
c96f1f6
refactor: name one-letter parameters after the type they take
OmarAlJarrah Dec 2, 2026
060dfe1
refactor(compilers/openapi): retire elect for lowered and chosen
OmarAlJarrah Dec 2, 2026
7059d16
refactor(compilers/openapi): name an intersection for what it is
OmarAlJarrah Dec 2, 2026
d36e81a
refactor(compilers/openapi): name a null verdict's readings
OmarAlJarrah Dec 2, 2026
c89074c
refactor(compilers/openapi): name how a branch overlaps the rest
OmarAlJarrah Dec 2, 2026
74e754c
refactor: keep renamed parameters from shadowing imports
OmarAlJarrah Dec 2, 2026
1437386
refactor(compilers/openapi): name the catch-all source
OmarAlJarrah Dec 2, 2026
e1934b2
refactor(compilers/openapi): name the kinds of a type word
OmarAlJarrah Dec 2, 2026
0ee92a1
docs(ir): name the admission section for its answers
OmarAlJarrah Dec 2, 2026
427bcee
refactor(compilers/openapi): name the lowered union's site
OmarAlJarrah Dec 2, 2026
616fc67
refactor(compilers/openapi): name the refinement decision
OmarAlJarrah Dec 2, 2026
8da11e8
refactor(compilers/openapi): split a keyword's name from its value an…
OmarAlJarrah Dec 2, 2026
88980a9
refactor(compilers/openapi): name a conjunct's reading's fields
OmarAlJarrah Dec 2, 2026
97e02ef
refactor(compilers/openapi): name what each held record holds
OmarAlJarrah Dec 2, 2026
a56844b
refactor(compilers/openapi): name the rest holding one $ref
OmarAlJarrah Dec 2, 2026
a74fa7e
refactor(compilers/openapi): name a tag reading's aliased types
OmarAlJarrah Dec 2, 2026
9e65c92
refactor(compilers/openapi): name how a const and enum overlap
OmarAlJarrah Dec 2, 2026
7264329
refactor(compilers/openapi): name what restates and declares
OmarAlJarrah Dec 2, 2026
b183206
refactor(compilers/openapi): name a branch's restated schemas
OmarAlJarrah Dec 2, 2026
8f7f6fd
refactor(compilers/openapi): name the rest's member filter
OmarAlJarrah Dec 2, 2026
f7b1b4f
refactor(compilers/openapi): name the parts of two reports
OmarAlJarrah Dec 2, 2026
e7d0121
refactor(compilers/openapi): give declaration indices a type and resu…
OmarAlJarrah Dec 2, 2026
7f65ee3
refactor(compilers/openapi): name one-letter fields by type
OmarAlJarrah Dec 2, 2026
419f1c1
refactor(compilers/openapi): name a pending keep for what it is
OmarAlJarrah Dec 2, 2026
db437be
docs: point at the pending keeps' file
OmarAlJarrah Dec 2, 2026
8d3b217
refactor(compilers/openapi): name the kinds a policy infers
OmarAlJarrah Dec 2, 2026
ec6fb78
refactor(compilers/openapi): name the flattened entries
OmarAlJarrah Dec 2, 2026
8338b6b
refactor: drop the Value suffix from locals now their types carry the…
OmarAlJarrah Dec 2, 2026
a90d3a0
refactor(compilers/openapi): name each twin literally
OmarAlJarrah Dec 2, 2026
0ee4cc4
refactor(compilers/openapi): name the keep code's coined words
OmarAlJarrah Dec 2, 2026
4102820
refactor(compilers/openapi): name the w, p and h receivers
OmarAlJarrah Dec 2, 2026
39ca291
refactor(compilers/openapi): spell out abbreviated locals
OmarAlJarrah Dec 2, 2026
156e2df
refactor(compilers/openapi): name statement and branch locals
OmarAlJarrah Dec 2, 2026
00236e0
refactor(compilers/openapi): retire stand in its other senses
OmarAlJarrah Dec 2, 2026
6583917
refactor: name one-letter locals and parameters for what they hold
OmarAlJarrah Dec 2, 2026
4bd39c6
refactor(compilers/openapi): name one-letter locals by noun
OmarAlJarrah Dec 2, 2026
5f89864
refactor(compilers/openapi): name schema files by what they hold
OmarAlJarrah Dec 2, 2026
ef09df1
refactor(compilers/openapi): cite schema's renamed functions
OmarAlJarrah Dec 2, 2026
8072b0f
style(compilers/openapi): reflow comments the renames lengthened
OmarAlJarrah Dec 2, 2026
a833546
Merge commit '74e754c99' into wip/rename-c
OmarAlJarrah Dec 2, 2026
36a8759
Merge commit '65839179f' into wip/rename-c
OmarAlJarrah Dec 2, 2026
0af0a35
test(internal/archtest): follow the renamed cycle narrowing
OmarAlJarrah Dec 2, 2026
60fee39
test(compilers/openapi): size the kept keys a fold test collects
OmarAlJarrah Dec 2, 2026
8b522ae
refactor(ir)!: rename the related role kept to chosen
OmarAlJarrah Dec 2, 2026
e0c3f94
refactor(compilers/openapi): name a node's writing site a conjunct site
OmarAlJarrah Dec 2, 2026
4e6e577
refactor(compilers/openapi): name a node's pending keeps for the rules
OmarAlJarrah Dec 2, 2026
26bf6fa
docs(emitters): sweep retired words out of the emitter documents
OmarAlJarrah Dec 2, 2026
6f71fbc
refactor(compilers/openapi): name the flattened allOf entries as such
OmarAlJarrah Dec 2, 2026
bd8e33a
docs(skills): drop retired words from skill prose
OmarAlJarrah Dec 2, 2026
11e5817
refactor(compilers/openapi): name a kept allOf entry KeptAllOfEntry
OmarAlJarrah Dec 2, 2026
d72ebe3
docs(ir): replace retired words with their literal ones
OmarAlJarrah Dec 2, 2026
bd7ca1d
docs: replace retired words with their literal ones
OmarAlJarrah Dec 2, 2026
e6e508d
refactor(compilers/openapi): spell the keep functions with keep
OmarAlJarrah Dec 2, 2026
61c0d8a
refactor(compilers/openapi): name the use-bound keywords as the rules do
OmarAlJarrah Dec 2, 2026
6f75fb8
docs(compilers/openapi): use the rules' words in the first half
OmarAlJarrah Dec 2, 2026
b7a82c3
docs(compilers/openapi): retire old words from the later rules
OmarAlJarrah Dec 2, 2026
a151b8c
refactor(compilers/openapi): name the reference table's sites, not en…
OmarAlJarrah Dec 2, 2026
59296ad
Merge branch 'wip/rename-b-p1a' into wip/rename-b
OmarAlJarrah Dec 2, 2026
ef0beeb
Merge branch 'wip/rename-b-p1b' into wip/rename-b
OmarAlJarrah Dec 2, 2026
1931f85
Merge branch 'wip/rename-b-p2a' into wip/rename-b
OmarAlJarrah Dec 2, 2026
c77c9e6
Merge branch 'wip/rename-b-p3' into wip/rename-b
OmarAlJarrah Dec 2, 2026
72677c6
Merge branch 'wip/rename-b-p2b' into wip/rename-b
OmarAlJarrah Dec 2, 2026
6613d18
refactor(compilers/openapi): name the document view's ChainEndNode
OmarAlJarrah Dec 2, 2026
f11bf9e
refactor(compilers/openapi): name merge's alias chain memos for what …
OmarAlJarrah Dec 2, 2026
3801ada
refactor(ir): name disagreeing constraint keywords and their intersec…
OmarAlJarrah Dec 2, 2026
1ffd0a2
style(compilers/openapi): align the fields the memo rename lengthened
OmarAlJarrah Dec 2, 2026
cfaa15c
refactor(compilers/openapi): name the fold's two alike questions apart
OmarAlJarrah Dec 2, 2026
df0a8a5
refactor(compilers/openapi): name merge's alias chain helpers by cont…
OmarAlJarrah Dec 2, 2026
69f229c
refactor(compilers/openapi): name a keyword's scope KeywordScope
OmarAlJarrah Dec 2, 2026
f4cee3e
refactor(compilers/openapi): spell typeformat's instance kinds as JSO…
OmarAlJarrah Dec 2, 2026
7523442
refactor(compilers/openapi): name a carrier's keyword keeps for what …
OmarAlJarrah Dec 2, 2026
cb5a364
refactor(compilers/openapi): name schema's type registry parameter types
OmarAlJarrah Dec 2, 2026
310a4f4
test(compilers/openapi): name schema's test cases testCase
OmarAlJarrah Dec 2, 2026
9b95184
style(compilers/openapi): use the rules' words in annotation
OmarAlJarrah Dec 2, 2026
47ec773
style(compilers/openapi): use the rules' words in merge
OmarAlJarrah Dec 2, 2026
7c767f8
style(ir): use the glossary's words in ir's comments and names
OmarAlJarrah Dec 2, 2026
c1c35da
style(pass): use the rules' words in pass's comments and names
OmarAlJarrah Dec 2, 2026
3c88cb2
style(engine): use the rules' words in engine's and cmd's names
OmarAlJarrah Dec 2, 2026
94c579a
style(internal/harness): name chosen and passed-over places
OmarAlJarrah Dec 2, 2026
7cb9f17
style(internal): use the rules' words in archtest and tools
OmarAlJarrah Dec 2, 2026
cbac2fd
style(compilers): use the rules' words in compilers and compile
OmarAlJarrah Dec 2, 2026
7878f52
style(compilers/openapi): use the rules' words in the compiler
OmarAlJarrah Dec 2, 2026
b36182c
style(compilers/openapi): use the rules' words in load, reftable
OmarAlJarrah Dec 2, 2026
ac1f714
style(compilers/openapi): use the rules' words in operation
OmarAlJarrah Dec 2, 2026
c843e05
style(compilers/openapi): use the rules' words in pagination
OmarAlJarrah Dec 2, 2026
5ef6b69
style(compilers/openapi): use the rules' words in specrules
OmarAlJarrah Dec 2, 2026
017e6e9
style(compilers/openapi): use the rules' words in readers
OmarAlJarrah Dec 2, 2026
3074835
style(compilers/openapi): use the rules' words in other packages
OmarAlJarrah Dec 2, 2026
bac1f07
fix(compilers/openapi): keep the streaming diagnostic's message as it…
OmarAlJarrah Dec 2, 2026
019ef0a
Merge branch 'wip/rename-b-k3a' into wip/rename-b
OmarAlJarrah Dec 2, 2026
437a4fb
Merge branch 'wip/rename-b-k3b' into wip/rename-b
OmarAlJarrah Dec 2, 2026
8a24c7c
test(internal/archtest): name CarrierKeywordKeeps in the call-shape note
OmarAlJarrah Dec 2, 2026
a6746b3
style(compilers/openapi): use the rules' words in schema's names
OmarAlJarrah Dec 2, 2026
34f2057
fix(compilers/openapi): keep the member-round budget message as it was
OmarAlJarrah Dec 2, 2026
536e417
Merge branch 'wip/rename-b-k1' into wip/rename-b
OmarAlJarrah Dec 2, 2026
31816d4
style(compilers/openapi): use the rules' words in e2e
OmarAlJarrah Dec 2, 2026
b98a810
style(compilers/openapi): finish the rules' words in e2e names
OmarAlJarrah Dec 2, 2026
ff0af4e
Merge branch 'wip/rename-b-k2' into wip/rename-b
OmarAlJarrah Dec 2, 2026
b843255
docs(skills): cite the run's answer memos in lowering by their name
OmarAlJarrah Dec 2, 2026
17c9c66
docs: name the chosen role in the sequence-order oracle's paragraph
OmarAlJarrah Dec 2, 2026
0912fc6
refactor(compilers/openapi): make KeptKeywordSource a plain enum
OmarAlJarrah Dec 2, 2026
7b63c0b
test: drop six tests another test catches the defect of
OmarAlJarrah Dec 2, 2026
c5a64b0
docs(ir): name renamed parameters in doc comments
OmarAlJarrah Dec 2, 2026
8ea31c4
docs(ir): trim comments to what the code does not say
OmarAlJarrah Dec 2, 2026
b69dfad
refactor(compilers/openapi): read a kept entry's members once
OmarAlJarrah Dec 2, 2026
ae3b6df
docs(compilers/openapi): trim the annotation package's comments
OmarAlJarrah Dec 2, 2026
a3b4a50
refactor(pass): read the route check's subtypes from irfacts
OmarAlJarrah Dec 2, 2026
20a8456
docs(ir/irfacts): trim composition and alias comments to the why
OmarAlJarrah Dec 2, 2026
dc89a64
docs(ir/irverify): trim the discriminator and bound comments
OmarAlJarrah Dec 2, 2026
f043b75
docs(ir/irfacts): name current parameters in doc comments
OmarAlJarrah Dec 2, 2026
3d8d865
docs(ir/irverify): name current parameters in doc comments
OmarAlJarrah Dec 2, 2026
6cabcf6
docs(pass): trim comments to the why, naming current parameters
OmarAlJarrah Dec 2, 2026
d745438
docs(stronglyconnected): trim comments to the contract
OmarAlJarrah Dec 2, 2026
991e7b5
docs(rfc3339): trim comments the constants already carry
OmarAlJarrah Dec 2, 2026
1602418
docs(compilers/openapi): trim reftable's new comments to the why
OmarAlJarrah Dec 2, 2026
36aa97c
docs(compilers/openapi): trim the new diagnostic codes' comments
OmarAlJarrah Dec 2, 2026
7ec6bc7
docs(compilers/openapi): trim provenance's pointer order docs
OmarAlJarrah Dec 2, 2026
e64343a
docs(compilers/compile): trim the alias-chain check's comments
OmarAlJarrah Dec 2, 2026
9991d20
docs(compilers/openapi): trim specrules' value-reading comments
OmarAlJarrah Dec 2, 2026
2a16c64
docs(compilers/openapi): trim operation's chain reading comments
OmarAlJarrah Dec 2, 2026
78d2527
docs(compilers/openapi): trim naming's pointer-spelling comments
OmarAlJarrah Dec 2, 2026
aac0924
docs(compilers/openapi): point format's kinds at formatAppliesTo
OmarAlJarrah Dec 2, 2026
3d9de1f
docs(compilers/openapi): trim alias index and minting comments
OmarAlJarrah Dec 2, 2026
1c21bcf
docs(compilers/openapi): trim loop advice and chain memo docs
OmarAlJarrah Dec 2, 2026
68d5b82
docs(compilers/openapi): drop a narrating word from a fold note
OmarAlJarrah Dec 2, 2026
2bd8f9e
docs(compilers): name the current parameters in doc comments
OmarAlJarrah Dec 2, 2026
396a376
refactor: spell a constraint keyword's value in package ir
OmarAlJarrah Dec 2, 2026
06d83ed
refactor: turn a judged bool into an Admission in one function
OmarAlJarrah Dec 2, 2026
563dc01
docs(ir): cut what the admission and bound comments restate
OmarAlJarrah Dec 2, 2026
790d12a
docs(compilers/openapi): trim the merge helpers' comments
OmarAlJarrah Dec 2, 2026
14def28
docs(compilers/openapi): trim merge's bound and member comments
OmarAlJarrah Dec 2, 2026
f0b94d7
docs(compilers/openapi): trim merge's fold and judge comments
OmarAlJarrah Dec 2, 2026
182e66a
refactor(compilers/openapi): call schema wrappers' targets
OmarAlJarrah Dec 2, 2026
52f4a72
refactor(compilers/openapi): keep boundValue to multipleOf
OmarAlJarrah Dec 2, 2026
ff9e8bd
refactor(compilers/openapi): read a type's kinds from one table
OmarAlJarrah Dec 2, 2026
ce55b62
docs(ir): name stronglyconnected among irfacts' imports
OmarAlJarrah Dec 2, 2026
3365398
docs(compilers/openapi): trim the new schema files' doc comments
OmarAlJarrah Dec 2, 2026
f522673
docs(compilers/openapi): trim value-set and bound doc comments
OmarAlJarrah Dec 2, 2026
c7619c0
docs(compilers/openapi): trim the schema dispatch's doc comments
OmarAlJarrah Dec 2, 2026
d1cbb85
docs(compilers/openapi): trim schema's kind and keeper docs
OmarAlJarrah Dec 2, 2026
44dd7c2
docs(compilers/openapi): trim schema's bound and hoist docs
OmarAlJarrah Dec 2, 2026
6e64148
docs(compilers/openapi): trim schema's entry and union docs
OmarAlJarrah Dec 2, 2026
d5dba9c
docs(compilers/openapi): trim the ancestor and route comments
OmarAlJarrah Dec 2, 2026
b649983
docs(compilers/openapi): trim the allOf refinement comments
OmarAlJarrah Dec 2, 2026
533d47c
docs(compilers/openapi): trim union body and value set comments
OmarAlJarrah Dec 2, 2026
a44ecd1
docs(compilers/openapi): name the model readers' parameters
OmarAlJarrah Dec 2, 2026
26e381c
docs(compilers/openapi): trim the bound root and null docs
OmarAlJarrah Dec 2, 2026
4691484
docs(compilers/openapi): trim declaration and discriminator docs
OmarAlJarrah Dec 2, 2026
75600f9
docs(compilers/openapi): trim the union and variant docs
OmarAlJarrah Dec 2, 2026
6da9e79
docs(compilers/openapi): trim the statement table's new docs
OmarAlJarrah Dec 2, 2026
0f4e265
docs(compilers/openapi): trim the fold and null store comments
OmarAlJarrah Dec 2, 2026
6a080b0
docs(compilers/openapi): trim unread and dynamic ref comments
OmarAlJarrah Dec 2, 2026
8152d0a
docs(compilers/openapi): trim refined keeps and scalar comments
OmarAlJarrah Dec 2, 2026
4797e95
docs(compilers/openapi): trim the statement key reader comments
OmarAlJarrah Dec 2, 2026
4c6c618
refactor(compilers/openapi): read inline conjuncts in one place
OmarAlJarrah Dec 2, 2026
57a339f
refactor(compilers/openapi): read $ref conjuncts in one place
OmarAlJarrah Dec 2, 2026
3ee7f8b
refactor(compilers/openapi): read admission's allOf edges once
OmarAlJarrah Dec 2, 2026
681a26a
refactor(compilers/openapi): read multipart allOf from Entries
OmarAlJarrah Dec 2, 2026
d7942b1
docs(compilers/openapi): trim conjunct readers' schema comments
OmarAlJarrah Dec 2, 2026
b357643
docs(compilers/openapi): rewrap the multipart walk's doc comment
OmarAlJarrah Dec 2, 2026
91abd1a
refactor(compilers/openapi): list a value set's conjuncts once
OmarAlJarrah Dec 2, 2026
92ebf12
fix(compilers/openapi): read $ref chains through one walker
OmarAlJarrah Dec 2, 2026
62e83dc
fix(compilers/openapi): judge a member by one reader of a schema
OmarAlJarrah Dec 2, 2026
df0c500
docs(compilers/openapi): trim the chain and value-set comments
OmarAlJarrah Dec 2, 2026
bc929c1
refactor(compilers/openapi): leave two chain walks by one return
OmarAlJarrah Dec 2, 2026
c527579
perf(compilers/openapi): place only the referents a run keeps
OmarAlJarrah Dec 2, 2026
7451acf
test(compilers/openapi): keep two test comments within the cap
OmarAlJarrah Dec 2, 2026
3206826
test(harness): write the integer formats among the schema cases
OmarAlJarrah Dec 2, 2026
8437494
test: drop pass and case tests another test catches the defect of
OmarAlJarrah Dec 2, 2026
1d8b503
test(compilers/openapi): drop tests other tests already catch
OmarAlJarrah Dec 2, 2026
506352c
Merge commit '7451acf60' into wip/reduce-tests
OmarAlJarrah Dec 2, 2026
186b6ac
test(compilers/openapi): say what the union-alone lowering test pins
OmarAlJarrah Dec 2, 2026
646493d
test(compilers/openapi): drop the e2e helpers the removed tests used
OmarAlJarrah Dec 2, 2026
cf8eb74
test(harness): record the integer format cases outside the core
OmarAlJarrah Dec 2, 2026
c32b99d
refactor(compilers/openapi): read value and bound kinds once
OmarAlJarrah Dec 2, 2026
6b9ed8e
fix(compilers/openapi)!: judge a union by value beside one passed over
OmarAlJarrah Dec 2, 2026
aa15d61
refactor: type a range's side, an adopted node and a reached vertex
OmarAlJarrah Dec 2, 2026
00d2f9c
refactor: name each at parameter for what it holds
OmarAlJarrah Dec 2, 2026
d88ed68
fix(compilers/openapi): say chose, not kept, in the fold's reports
OmarAlJarrah Dec 2, 2026
1c6be86
docs: record 0.74.0's new findings and the fold's adoption rule
OmarAlJarrah Dec 2, 2026
e702088
test(compilers/openapi): expect chose in the schema fold assertions
OmarAlJarrah Dec 2, 2026
85611b9
fix(compilers/openapi)!: read an if's branches as any schema's kinds
OmarAlJarrah Dec 2, 2026
9b37c34
Merge origin/main into fix/openapi-schema-composition
OmarAlJarrah Dec 2, 2026
5582284
docs(skills): drop retired words from the rules #2379 added
OmarAlJarrah Dec 2, 2026
14669f3
fix(compilers/openapi): keep an entry discriminator's extra keys
OmarAlJarrah Dec 2, 2026
46bc511
Merge commit '558228447' into wip/final-correct
OmarAlJarrah Dec 2, 2026
17f9c15
docs(compilers/openapi): keep readUnexpanded's comment within the cap
OmarAlJarrah Dec 2, 2026
75ecb22
fix(compilers/openapi)!: give a filtered union's members their notes
OmarAlJarrah Dec 2, 2026
104f45c
test(compilers/openapi): say an if branch leads back to its schema
OmarAlJarrah Dec 2, 2026
221c3fc
test(compilers/openapi): expect a held filtered union kept nowhere
OmarAlJarrah Dec 2, 2026
4f84688
test(archtest): hold the walk's settle to its if-reading edge
OmarAlJarrah Dec 2, 2026
7ab9463
fix(compilers/openapi)!: give members their notes beside an enum
OmarAlJarrah Dec 2, 2026
da466db
fix(compilers/openapi)!: read a union beside an emptied set as dead
OmarAlJarrah Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ design.
`TestAppendTypeIDs_ReadsWhatTheTypeGraphReads` holds `appendTypeIDs` to `ir.TypeEdges` for a type
definition's fields, and nothing holds it for a position only an operation holds.
- **Why.** `appendTypeIDs` reads an operation by reflection, so such a position becomes a GraphQL
root and the check on field arguments goes silent on its type, which classifying the position
root and the check on field arguments reports nothing on its type, which classifying the position
does not show (#1223).
- **Probe.** `git grep -nE 'TypeFor\[(ir\.)?TypeID\]' -- '*.go' ':!*_test.go'` lists the code readers
(documents: `references/ir-lessons.md#reference-lists-in-documents`).
Expand Down Expand Up @@ -299,12 +299,12 @@ design.
(`references/ir-lessons.md#disjoint-declarations-take-the-flattening`), while what the member
renders as is the taken one.
- **Why.** A redaction an overridden declaration asked for was dropped (#1211). On #1700, tag
inference read only the taken declaration, so a body redeclaring the tag as a plain string hid
each variant's pin, and the mapping was keyed by component names (#1704).
inference read only the taken declaration, so a declaration redeclaring the tag as a plain string
hid each variant's pin, and the mapping was keyed by component names (#1704).
- **Probe.** Compile a composition that redeclares the member more loosely than what it composes,
and read the reader's result.

## Disjoint member declarations take the flattening's winner
## Disjoint member declarations take the flattening's choice
`disjoint-declarations-take-the-flattening`

- **Rule.** What a flattened member's instance carries conjoins its declarations where they admit a
Expand Down
14 changes: 7 additions & 7 deletions .claude/skills/morphic-checking-style/references/departures.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ the rule here rather than reading it across.
`ir-shapes-stand`

- **Rule.** Rule 5.27 avoids embedding in a public struct. `docs/ir` is normative for
`ir` and stands where the two differ: each type kind embeds `TypeCommon`, and `Header` embeds
`ir` and governs where the two differ: each type kind embeds `TypeCommon`, and `Header` embeds
`Property` so the two encode flat as one object.
- **Why.** A header's shape was weighed against fields on `Property`, and chosen so that the type
states the rule and no check has to (#1144).
Expand All @@ -108,9 +108,9 @@ the rule here rather than reading it across.

- **Rule.** Rule 6.4 bars a project helper that takes `*testing.T` and fails the test itself, test
double setup excepted, and rule 6.3 asks `t.Helper()` of every helper. Here a helper asserting
through testify stands and starts with `t.Helper()`, and one a table runs as a case's body needs
no such call: it is the case, and its failure reports its own line (`CONTRIBUTING.md`, "A test is
named for what it tests"). Another assertion library stays barred.
through testify is allowed and starts with `t.Helper()`, and one a table runs as a case's body
needs no such call: it is the case, and its failure reports its own line (`CONTRIBUTING.md`, "A
test is named for what it tests"). Another assertion library stays barred.
- **Why.** The rule's concerns are a lost caller's line and a stop at the first failure, which
`t.Helper()` and `assert` answer, so rewriting the helpers would add no correctness (#1173).
`thelper` reads a signature, so it reported 298 functions and none was a breach (#1178).
Expand All @@ -120,7 +120,7 @@ the rule here rather than reading it across.
`assert-equal-on-plain-values`

- **Rule.** Rule 6.16 takes `cmp` for structs, slices, maps and interfaces and bars
`reflect.DeepEqual`, which `assert.Equal` calls. Here `assert.Equal` or `require.Equal` stands on
`reflect.DeepEqual`, which `assert.Equal` calls. Here `assert.Equal` or `require.Equal` applies to
a value with no unexported field or `Equal` method, which `cmp` alone calls; any other takes
`cmp.Diff` with a direction key (rule 6.15), and no test calls `reflect.DeepEqual`.
- **Why.** Such a value lacks the rule's reasons: the two agree on nil against empty, order and NaN,
Expand All @@ -135,8 +135,8 @@ the rule here rather than reading it across.
## Alias a type to name it at a boundary or to shorten it
`type-aliases-that-stand`

- **Rule.** Rule 5.9 keeps type aliases for migration. Three kinds stand here: a public face naming
a type an internal package declares, which no caller outside could name otherwise, as
- **Rule.** Rule 5.9 keeps type aliases for migration. Three kinds are kept here: a public face
naming a type an internal package declares, which no caller outside could name otherwise, as
`compilers/openapi/options.go` does; a shape `docs/ir` gives, as `ir.Lifecycle`; and a
package's private shorthand for a long type, as `schemaRef`. Any other alias is held to the rule.
- **Why.** A defined type in the public face would restate a vocabulary, and two declarations of one
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/morphic-curating-skills/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ next changes (`references/recorded-lessons.md#recorded-lesson-goes-to-the-skills
the lesson applies. If none does, widen a description or add a skill: a rule no trigger
reaches is never read.
4. **Not in the repository.** A fact about one machine or person stays out; a shell's documented
default may stand where a command needs it.
default may stay where a command needs it.

List the skills with `grep -h '^description:' .claude/skills/*/SKILL.md`, not a hand list.

Expand Down
4 changes: 2 additions & 2 deletions .claude/skills/morphic-curating-skills/scripts/skills_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ def go_sources(root: Path) -> Path | None:
def path_word(word: str) -> str:
"""Return what a word of a code span spells, for the checks a one-word span and a command's
words share. A double quote, which leaves $GOROOT to expand, is no part of a path wherever it
stands, so "$(go env GOROOT)"/src/... names the toolchain's src; a single quote and a shell's
punctuation around the word are none either. Any other variable keeps its $, which
is written, so "$(go env GOROOT)"/src/... names the toolchain's src; a single quote and a
shell's punctuation around the word are none either. Any other variable keeps its $, which
NOT_A_PATH reads: $PWD/ir names no path in the tree."""
word = word.replace('"', "").strip("'();,")
return word if word.startswith("$") and not GOROOT_VAR.match(word) else word.strip("$")
Expand Down
6 changes: 3 additions & 3 deletions .claude/skills/morphic-designing-code/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: morphic-designing-code
description: Use when writing or restructuring production Go code in this repository (a new type, method, package, helper or interface, a walk, index or lookup over a document, a value with a format or a state meaning none, a limit, or code in a shared layer), or before adding or growing a script, prescribed command, CI step, Makefile target or custom check.
description: Use when writing or restructuring production Go code in this repository (a new type, method, package, helper or interface, a walk, index or lookup over a document, a value with a format or a state meaning none, a limit, or code in a shared layer), defining or using a term in a document or comment, or before adding or growing a script, prescribed command, CI step, Makefile target or custom check.
---

# Designing morphic code
Expand All @@ -22,8 +22,8 @@ Each row names a rule and code to copy.
| any function | ask what would make it wrong, and refuse that at entry (`CLAUDE.md`, "Assert aggressively") | `Classify` in `compilers/openapi/internal/value/scalar.go` |
| work on a path every input takes | ask what it costs before writing it (`.claude/skills/morphic-reviewing-prs/references/performance.md#price-common-path`) | `TestWalkValues_StructsAndMapsCostNoAllocation` |
| a lowering, check, pass or helper | `references/design-rules.md#functional-core` | `Read` in `compilers/openapi/internal/annotation/annotation.go` |
| a name | `references/design-rules.md#name-what-it-holds` | `HasFilename` in `ir/operation.go` |
| state every walk of a run must share | `references/design-rules.md#shared-run-state` | `readings` in `compilers/openapi/internal/lowering/lowering.go` |
| a name or a term | `references/design-rules.md#name-what-it-holds`, `references/design-rules.md#one-sense-per-word` | `HasFilename` in `ir/operation.go` |
| state every walk of a run must share | `references/design-rules.md#shared-run-state` | `answerMemos` in `compilers/openapi/internal/lowering/lowering.go` |
| a walk, index, lookup or cache over a document | `references/design-rules.md#read-once-per-run`, pruned by `references/design-rules.md#prune-a-visitor-to-its-carriers` | `checkInferred` in `ir/irverify/inferred.go` |
| a struct, or a field on one | `references/design-rules.md#fields-in-optimal-size-order` | `HTTPBinding` in `ir/bindings.go` |
| a value with a format, or a state meaning none | `references/design-rules.md#type-the-form` | `Limit` in `compilers/openapi/internal/budget/limit.go` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ and how several declarations of one thing fold into it.
set before the registry at every later step, and register once after the last step, so only the
final node is registered and one no later step keeps never is.
- **Why.** A ring of three models each redeclaring `id` as another enum, folded pairwise with each
step registered, ended in `compile/registry-refused` and kept the first fold's `b, c, d` where all
three meet at `c, d` (#2370).
step registered, ended in `compile/registry-refused` and kept the first fold's `b, c, d` where the
intersection of all three is `c, d` (#2370).
- **Probe.** `references/deciding-once.md#fold-the-whole-set`'s triple sweep compiles with no
`compile/registry-refused` and to one registry; with a plant registering each step's node, it
reports that code.
Expand Down
40 changes: 27 additions & 13 deletions .claude/skills/morphic-designing-code/references/design-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,32 @@ and stays simple. Each rule is a cost a later refactor or performance change had
`name-what-it-holds`

- **Rule.** A name is long, literal and plain: the specification's term where it has one
(`foldingAllOfEntries`, not `voicesAmong`), the kind of thing it declares (`Measurements`, not
an `Index` that indexes nothing), a question for a bool (`HasFilename`), and its type's noun for a
(`allOfEntryFoldingOf`, not `voicesAmong`), the kind it declares (`Measurements`, not an
`Index` that indexes nothing), a question for a bool (`HasFilename`), and its type's noun for a
parameter (`schema`, not `s`). One letter names only a loop counter, a receiver, a comparison
pair or a standard-library convention (`t *testing.T`). A figurative word, an abbreviation or a
noun another package uses otherwise is renamed, not explained in a doc comment, but a normative
document's term stays, figurative or not
(`references/design-rules.md#normative-term-outranks-figurative`).
noun another package uses otherwise is renamed, not explained in a doc comment
(`references/design-rules.md#one-sense-per-word`), but a normative document's term stays,
figurative or not (`references/design-rules.md#normative-term-outranks-figurative`).
- **Why.** Names that needed their comments, and comments that needed other coined names, left
the code and the compiled IR unreadable to their owner (#2130).
- **Probe.** `references/design-rules.md#one-letter-names-by-kind` lists a change's one-letter
names, and `references/design-rules.md#read-each-declared-name` reads the rest.

## Keep each defined word to the one sense its glossary gives it
`one-sense-per-word`

- **Rule.** A word that `docs/ir/README.md#words`, or the table of words the rules use opening
`docs/compilers/openapi.md`, defines keeps that sense in code, comments and documents. A change
needing a new term adds it to the table in the same change. A word the table retires is not
written again, bar a diagnostic code, rule key or code name that keeps it.
- **Why.** At 7ac4686c7 (#2354), `docs/compilers/openapi.md` wrote *entry* for an `allOf` element
and for an Unmodeled entry and *stand* in several senses, and the schema code's comments coined
*voice* and *ledger*, which no document defined.
- **Probe.** This lists a change's added lines writing a retired word, each read for a code name
or key:
`git diff origin/main -U0 | grep -E '^\+[^+]' | grep -iwE 'stand(s|ing)?|voices?|claims?|ledgers?|elect(s|ed|ion)?|beats?|winners?|losers?|keepers?|meets?|joins?|silent|inert|verdicts?'`.

## Read each name a change declares against what it holds
`read-each-declared-name`

Expand Down Expand Up @@ -290,13 +304,13 @@ and stays simple. Each rule is a cost a later refactor or performance change had
(`.claude/skills/morphic-checking-style/references/departures.md#bounded-recursion-stands`);
whether the pin covers other packages is #1525.

## Hold each part of a charge to the cost it stands for
## Hold each part of a charge to the cost it represents
`charge-each-part-to-its-cost`

- **Rule.** For each part of what a bound's charge weighs, grow that part alone, on `main` and on
the branch. A charge growing while the cost stays flat refuses a valid document for nothing, and
a cost growing while the charge stays flat is a copy left unbounded. Read a survey of cost per
unit of charge at both ends: the low end is a charge standing for almost no cost.
unit of charge at both ends: the low end is a charge representing almost no cost.
- **Why.** A `$ref` budget's first revision charged at every use a response's inline schema, which
lowers once, refusing 400 `$ref`s `main` compiles, and charged nothing for an alias's own fields,
which copy at every use, through four rounds reading the survey's high end (#1430).
Expand Down Expand Up @@ -339,12 +353,12 @@ and stays simple. Each rule is a cost a later refactor or performance change had
it does not read) was chosen for, and the caller's. Where the fallback is unsafe for the caller,
the reader reports that it fell back, as `Budget.Exhausted` reports a cut, and the caller takes
its own safe answer.
- **Why.** `conjunctTypes` answers `anyInstance` for what it skips, keeping
`allof-disjoint-conjuncts` silent. #1656 reused it as `Merger.Untyped` (now `Walk.Untyped`), where
`anyInstance` let `{allOf: [{$ref: NotStr}], properties: …}` beside `{type: string}` lower to a
bare string past three rounds (#1673).
- **Why.** `conjunctTypes` answers `anyInstance` for what it skips, so
`allof-disjoint-conjuncts` reports nothing. #1656 reused it as `Merger.Untyped` (now
`Walk.Untyped`), where `anyInstance` let `{allOf: [{$ref: NotStr}], properties: …}` beside
`{type: string}` lower to a bare string past three rounds (#1673).
- **Probe.** Through the new caller, compile one input per construct the reader does not read
(`references/design-rules.md#reused-reader-past-its-bound`), checking each verdict against the
(`references/design-rules.md#reused-reader-past-its-bound`), checking each answer against the
source.

## Probe a reused reader past every bound it holds
Expand All @@ -355,7 +369,7 @@ and stays simple. Each rule is a cost a later refactor or performance change had
- **Why.** On #1977, reusing the 64-type composition walk missed a 65-level hierarchy taking the
base's description over the leaf's through eight review rounds (#1983).
- **Probe.** Through the new caller, compile inputs at N and N+1 of each bound the reader holds and
check each verdict against the source.
check each answer against the source.

## Keep code that needs no morphic concept apart from the domain
`domain-free-code-lives-apart`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ Reading the code shows neither a quadratic loop nor an escape. These rules say w
input measures one arm. Generate an input per arm, quote the range rather than one figure, and
name any arm left out with the reason: reading does not find the dear one.
- **Why.** A PR read every enum member through a switch on primitive kind, and one figure, 2.1%,
stood for every format. Measured per format, `uuid` added 0.15% and `double` 35.45%, by rebuilding
a constant on each call (#1191, #1205).
was taken for every format. Measured per format, `uuid` added 0.15% and `double` 35.45%, by
rebuilding a constant on each call (#1191, #1205).
- **Probe.** List each arm with the input that reached it, and take each arm's instructions on both
builds (`references/reading-a-run.md#instructions-not-wall-clock`).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ which of them to keep. `references/finding-cost.md` says where to look for the c

- **Rule.** On a host with neither `/usr/bin/time -l` nor `perf`, run base and head alternately and
compare the user plus sys seconds of `bash -c 'time -p <bin> compile <spec>'`, saying that is what
was measured. A benchmark is no stand-in for a claim about a spec: `go test -bench` reports wall
was measured. A benchmark is no substitute for a claim about a spec: `go test -bench` reports wall
clock, which load skews, and each one reads the fixtures it names.
- **Why.** A Linux host with no `perf` left a review of a cost claim no instrument (#1162).
- **Probe.** `command -v perf`, then each side's range from the alternated runs against the gap.
Expand Down Expand Up @@ -148,7 +148,7 @@ which of them to keep. `references/finding-cost.md` says where to look for the c
to 39 M above their later runs (#2360), and binaries unused twelve minutes at load 85, under
100 MB free, 69 to 70 M (#2379).
- **Probe.** Copy the binary with `cp`, then run the measuring command three times on the copy: the
first count stands out.
first count is well above the rest.

## Keep a collector-off reading only from a run that held its allocation
`collector-off-run-held`
Expand Down
Loading
Loading