intentumdiff-python 0.0.1__py3-none-manylinux_2_39_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- intentumdiff/__init__.py +134 -0
- intentumdiff/_differ_gate.py +210 -0
- intentumdiff/_differ_presentation.py +786 -0
- intentumdiff/_differ_runtime.py +320 -0
- intentumdiff/analysis/__init__.py +1 -0
- intentumdiff/analysis/compile_commands.py +151 -0
- intentumdiff/analysis/cross_file.py +71 -0
- intentumdiff/analysis/diagnostics.py +309 -0
- intentumdiff/analysis/guardrail_reports.py +254 -0
- intentumdiff/analysis/guardrails.py +318 -0
- intentumdiff/analysis/invariances.py +1207 -0
- intentumdiff/analysis/keyed_profiles.py +25 -0
- intentumdiff/analysis/resource_profiles.py +14 -0
- intentumdiff/analysis/schema_resolver.py +816 -0
- intentumdiff/analysis/text_review.py +46 -0
- intentumdiff/analysis/user_schemas.py +430 -0
- intentumdiff/assets.py +45 -0
- intentumdiff/cache/__init__.py +37 -0
- intentumdiff/cache/duckdb_store.py +98 -0
- intentumdiff/cache/sqlite_store.py +149 -0
- intentumdiff/cache/store.py +190 -0
- intentumdiff/cli/__init__.py +199 -0
- intentumdiff/cli/_commands.py +2141 -0
- intentumdiff/cli/_parser.py +1061 -0
- intentumdiff/cli/_shared.py +644 -0
- intentumdiff/content_type.py +59 -0
- intentumdiff/core/__init__.py +1 -0
- intentumdiff/core/commit_differ.py +599 -0
- intentumdiff/core/config.py +51 -0
- intentumdiff/core/cst_serializer.py +101 -0
- intentumdiff/core/diffignore.py +87 -0
- intentumdiff/core/index.py +189 -0
- intentumdiff/core/indexer.py +792 -0
- intentumdiff/core/models.py +837 -0
- intentumdiff/differ.py +2195 -0
- intentumdiff/github_app.py +287 -0
- intentumdiff/intentumdiff_rust_core/__init__.py +7 -0
- intentumdiff/intentumdiff_rust_core/ffi.py +8 -0
- intentumdiff/intentumdiff_rust_core/libintentumdiff_rust_core.so +0 -0
- intentumdiff/invariances/__init__.py +2 -0
- intentumdiff/invariances/rules.schema.json +283 -0
- intentumdiff/invariances/rules.yaml +349 -0
- intentumdiff/live_server.py +1314 -0
- intentumdiff/lsp/__init__.py +67 -0
- intentumdiff/lsp/client.py +544 -0
- intentumdiff/lsp/config.py +96 -0
- intentumdiff/lsp/enricher.py +227 -0
- intentumdiff/lsp/exceptions.py +27 -0
- intentumdiff/lsp/launcher.py +273 -0
- intentumdiff/lsp/servers.py +356 -0
- intentumdiff/lsp_server/__init__.py +14 -0
- intentumdiff/lsp_server/_codelens.py +67 -0
- intentumdiff/lsp_server/_diagnostics.py +62 -0
- intentumdiff/lsp_server/_handlers.py +175 -0
- intentumdiff/lsp_server/server.py +205 -0
- intentumdiff/plugins/__init__.py +1 -0
- intentumdiff/plugins/adapter.py +397 -0
- intentumdiff/plugins/builtins.py +323 -0
- intentumdiff/plugins/exceptions.py +93 -0
- intentumdiff/plugins/hub.py +1155 -0
- intentumdiff/plugins/language_metadata.py +250 -0
- intentumdiff/plugins/loader.py +1252 -0
- intentumdiff/plugins/registry.py +1079 -0
- intentumdiff/plugins/registry.schema.json +99 -0
- intentumdiff/plugins/registry_schema.py +280 -0
- intentumdiff/plugins/wit/plugin.wit +351 -0
- intentumdiff/rust_core.py +2370 -0
- intentumdiff/serve/__init__.py +19 -0
- intentumdiff/serve/_app.py +485 -0
- intentumdiff/serve/_static/index.html +326 -0
- intentumdiff/serve/_static/playground.js +567 -0
- intentumdiff/sources/__init__.py +1 -0
- intentumdiff/sources/base.py +28 -0
- intentumdiff/sources/file_source.py +48 -0
- intentumdiff/sources/git_source.py +375 -0
- intentumdiff/sources/live_buffer_source.py +113 -0
- intentumdiff/sources/patch_source.py +126 -0
- intentumdiff/sources/string_source.py +44 -0
- intentumdiff/testing.py +165 -0
- intentumdiff/vcs/__init__.py +37 -0
- intentumdiff/vcs/_safe_path.py +50 -0
- intentumdiff/vcs/base.py +136 -0
- intentumdiff/vcs/git_backend.py +97 -0
- intentumdiff/vcs/git_cli.py +100 -0
- intentumdiff/vcs/hg_backend.py +94 -0
- intentumdiff/vcs/perforce_backend.py +109 -0
- intentumdiff/vcs/svn_backend.py +105 -0
- intentumdiff/wasm/.gitkeep +2 -0
- intentumdiff/wasm/abap_parser.wasm +0 -0
- intentumdiff/wasm/adf_parser.wasm +0 -0
- intentumdiff/wasm/asciidoc_parser.wasm +0 -0
- intentumdiff/wasm/asm_parser.wasm +0 -0
- intentumdiff/wasm/assemblyscript_parser.wasm +0 -0
- intentumdiff/wasm/astro_parser.wasm +0 -0
- intentumdiff/wasm/bash_parser.wasm +0 -0
- intentumdiff/wasm/clojure_parser.wasm +0 -0
- intentumdiff/wasm/cmake_parser.wasm +0 -0
- intentumdiff/wasm/cpp_parser.wasm +0 -0
- intentumdiff/wasm/csharp_parser.wasm +0 -0
- intentumdiff/wasm/css_parser.wasm +0 -0
- intentumdiff/wasm/dart_parser.wasm +0 -0
- intentumdiff/wasm/databricks_parser.wasm +0 -0
- intentumdiff/wasm/dax_parser.wasm +0 -0
- intentumdiff/wasm/delphi_parser.wasm +0 -0
- intentumdiff/wasm/dockerfile_parser.wasm +0 -0
- intentumdiff/wasm/elixir_parser.wasm +0 -0
- intentumdiff/wasm/freebasic_parser.wasm +0 -0
- intentumdiff/wasm/generic_parser.wasm +0 -0
- intentumdiff/wasm/gitignore_parser.wasm +0 -0
- intentumdiff/wasm/go_parser.wasm +0 -0
- intentumdiff/wasm/gomod_parser.wasm +0 -0
- intentumdiff/wasm/graphql_parser.wasm +0 -0
- intentumdiff/wasm/groovy_parser.wasm +0 -0
- intentumdiff/wasm/haskell_parser.wasm +0 -0
- intentumdiff/wasm/html_parser.wasm +0 -0
- intentumdiff/wasm/ini_parser.wasm +0 -0
- intentumdiff/wasm/java_parser.wasm +0 -0
- intentumdiff/wasm/js_ts_parser.wasm +0 -0
- intentumdiff/wasm/json_parser.wasm +0 -0
- intentumdiff/wasm/kotlin_parser.wasm +0 -0
- intentumdiff/wasm/latex_parser.wasm +0 -0
- intentumdiff/wasm/lua_parser.wasm +0 -0
- intentumdiff/wasm/make_parser.wasm +0 -0
- intentumdiff/wasm/markdown_parser.wasm +0 -0
- intentumdiff/wasm/mdx_parser.wasm +0 -0
- intentumdiff/wasm/ocaml_parser.wasm +0 -0
- intentumdiff/wasm/odin_parser.wasm +0 -0
- intentumdiff/wasm/parser_manifest.json +590 -0
- intentumdiff/wasm/perl_parser.wasm +0 -0
- intentumdiff/wasm/php_parser.wasm +0 -0
- intentumdiff/wasm/plsql_parser.wasm +0 -0
- intentumdiff/wasm/po_parser.wasm +0 -0
- intentumdiff/wasm/postscript_parser.wasm +0 -0
- intentumdiff/wasm/powershell_parser.wasm +0 -0
- intentumdiff/wasm/proto_parser.wasm +0 -0
- intentumdiff/wasm/puppet_parser.wasm +0 -0
- intentumdiff/wasm/python_parser.wasm +0 -0
- intentumdiff/wasm/qsharp_parser.wasm +0 -0
- intentumdiff/wasm/r_parser.wasm +0 -0
- intentumdiff/wasm/reasonml_parser.wasm +0 -0
- intentumdiff/wasm/ruby_parser.wasm +0 -0
- intentumdiff/wasm/rust_parser.wasm +0 -0
- intentumdiff/wasm/sas_parser.wasm +0 -0
- intentumdiff/wasm/scala_parser.wasm +0 -0
- intentumdiff/wasm/scss_parser.wasm +0 -0
- intentumdiff/wasm/sql_parser.wasm +0 -0
- intentumdiff/wasm/squirrel_parser.wasm +0 -0
- intentumdiff/wasm/svelte_parser.wasm +0 -0
- intentumdiff/wasm/swift_parser.wasm +0 -0
- intentumdiff/wasm/terraform_parser.wasm +0 -0
- intentumdiff/wasm/toml_parser.wasm +0 -0
- intentumdiff/wasm/tsql_parser.wasm +0 -0
- intentumdiff/wasm/vbnet_parser.wasm +0 -0
- intentumdiff/wasm/vue_parser.wasm +0 -0
- intentumdiff/wasm/wat_parser.wasm +0 -0
- intentumdiff/wasm/xml_parser.wasm +0 -0
- intentumdiff/wasm/yaml_parser.wasm +0 -0
- intentumdiff/wasm/zig_parser.wasm +0 -0
- intentumdiff/watcher.py +259 -0
- intentumdiff_python-0.0.1.dist-info/METADATA +112 -0
- intentumdiff_python-0.0.1.dist-info/RECORD +165 -0
- intentumdiff_python-0.0.1.dist-info/WHEEL +4 -0
- intentumdiff_python-0.0.1.dist-info/entry_points.txt +80 -0
- intentumdiff_python-0.0.1.dist-info/licenses/LICENSE +21 -0
- intentumdiff_python-0.0.1.dist-info/sboms/intentumdiff-rust-core.cyclonedx.json +10968 -0
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./rules.schema.json
|
|
2
|
+
version: 1
|
|
3
|
+
rules:
|
|
4
|
+
- id: generic.style_only_shortcut.source_equivalence
|
|
5
|
+
status: implemented
|
|
6
|
+
languages:
|
|
7
|
+
- abap
|
|
8
|
+
- adf
|
|
9
|
+
- asm
|
|
10
|
+
- assemblyscript
|
|
11
|
+
- astro
|
|
12
|
+
- bash
|
|
13
|
+
- c
|
|
14
|
+
- clojure
|
|
15
|
+
- cmake
|
|
16
|
+
- cpp
|
|
17
|
+
- csharp
|
|
18
|
+
- css
|
|
19
|
+
- dart
|
|
20
|
+
- databricks-workflow
|
|
21
|
+
- dax
|
|
22
|
+
- delphi
|
|
23
|
+
- dockerfile
|
|
24
|
+
- elixir
|
|
25
|
+
- generic
|
|
26
|
+
- go
|
|
27
|
+
- gomod
|
|
28
|
+
- groovy
|
|
29
|
+
- haskell
|
|
30
|
+
- hcl
|
|
31
|
+
- html
|
|
32
|
+
- java
|
|
33
|
+
- javascript
|
|
34
|
+
- json
|
|
35
|
+
- kotlin
|
|
36
|
+
- lua
|
|
37
|
+
- m
|
|
38
|
+
- make
|
|
39
|
+
- markdown
|
|
40
|
+
- mdx
|
|
41
|
+
- odin
|
|
42
|
+
- perl
|
|
43
|
+
- php
|
|
44
|
+
- plsql
|
|
45
|
+
- postscript
|
|
46
|
+
- proto
|
|
47
|
+
- powershell
|
|
48
|
+
- puppet
|
|
49
|
+
- python
|
|
50
|
+
- qsharp
|
|
51
|
+
- r
|
|
52
|
+
- ruby
|
|
53
|
+
- rust
|
|
54
|
+
- sas
|
|
55
|
+
- scala
|
|
56
|
+
- scss
|
|
57
|
+
- sql
|
|
58
|
+
- ini
|
|
59
|
+
- toml
|
|
60
|
+
- squirrel
|
|
61
|
+
- svelte
|
|
62
|
+
- swift
|
|
63
|
+
- tsx
|
|
64
|
+
- tsql
|
|
65
|
+
- typescript
|
|
66
|
+
- vbnet
|
|
67
|
+
- vue
|
|
68
|
+
- wat
|
|
69
|
+
- xml
|
|
70
|
+
- yaml
|
|
71
|
+
- zig
|
|
72
|
+
evaluator: style_only_shortcut_evidence
|
|
73
|
+
group_kind: IGNORED_STYLE
|
|
74
|
+
enabled: true
|
|
75
|
+
risk: amber
|
|
76
|
+
equivalence_kind: syntactic_trivia
|
|
77
|
+
stage: parser_normalization
|
|
78
|
+
guarantee: parser-proven
|
|
79
|
+
explanation: The parser-normalized tree is unchanged after trivia filtering, so source-only layout or
|
|
80
|
+
comment edits were ignored while preserving source-span evidence.
|
|
81
|
+
guards:
|
|
82
|
+
- Only fires after host-side filtered CST structural hashes are identical.
|
|
83
|
+
- Does not run parser plugins or attach semantic node IDs on the fast path.
|
|
84
|
+
- Does not apply when any semantic tree change survives to review output.
|
|
85
|
+
notes: Runtime evidence rule for the fast style-only shortcut; source spans are used because semantic
|
|
86
|
+
nodes are not constructed on this path.
|
|
87
|
+
- id: core.integer_literal.canonical_value.safe
|
|
88
|
+
status: implemented
|
|
89
|
+
languages:
|
|
90
|
+
- python
|
|
91
|
+
- javascript
|
|
92
|
+
- typescript
|
|
93
|
+
- tsx
|
|
94
|
+
- csharp
|
|
95
|
+
evaluator: integer_literal_equivalence
|
|
96
|
+
node_types:
|
|
97
|
+
- integer
|
|
98
|
+
- integer_literal
|
|
99
|
+
- numeric_literal
|
|
100
|
+
- number
|
|
101
|
+
group_kind: IGNORED_STYLE
|
|
102
|
+
enabled: true
|
|
103
|
+
risk: green
|
|
104
|
+
equivalence_kind: canonical_value_equivalence
|
|
105
|
+
stage: post_diff_refinement
|
|
106
|
+
guarantee: spec-defined
|
|
107
|
+
explanation: Both integer literal spellings parse to the same exact integer value.
|
|
108
|
+
guards:
|
|
109
|
+
- Only exact integer leaves are enabled; floats, decimals, BigInt suffixes, type suffixes, and overflow-sensitive
|
|
110
|
+
contexts are not hidden.
|
|
111
|
+
- The evaluator records both original spellings and the shared canonical integer value.
|
|
112
|
+
source_refs:
|
|
113
|
+
- https://docs.python.org/3/reference/lexical_analysis.html
|
|
114
|
+
- https://tc39.es/ecma262/
|
|
115
|
+
- https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure
|
|
116
|
+
examples:
|
|
117
|
+
- old: '1_000'
|
|
118
|
+
new: '1000'
|
|
119
|
+
canonical: int(1000)
|
|
120
|
+
- old: '0xff'
|
|
121
|
+
new: '255'
|
|
122
|
+
canonical: int(255)
|
|
123
|
+
- id: core.number_literal.canonical_value.safe
|
|
124
|
+
status: implemented
|
|
125
|
+
languages:
|
|
126
|
+
- json
|
|
127
|
+
- javascript
|
|
128
|
+
- typescript
|
|
129
|
+
- tsx
|
|
130
|
+
evaluator: number_literal_equivalence
|
|
131
|
+
node_types:
|
|
132
|
+
- number
|
|
133
|
+
- numeric_literal
|
|
134
|
+
- integer
|
|
135
|
+
- float
|
|
136
|
+
group_kind: IGNORED_STYLE
|
|
137
|
+
enabled: true
|
|
138
|
+
risk: green
|
|
139
|
+
equivalence_kind: canonical_value_equivalence
|
|
140
|
+
stage: post_diff_refinement
|
|
141
|
+
guarantee: spec-defined
|
|
142
|
+
explanation: Both number literal spellings parse to the same IEEE-754 double value.
|
|
143
|
+
guards:
|
|
144
|
+
- Only exact bit-identical f64 values are enabled; NaN payloads, infinities, and signed-zero mismatches
|
|
145
|
+
are not hidden.
|
|
146
|
+
- The evaluator records both original spellings and the shared canonical value.
|
|
147
|
+
source_refs:
|
|
148
|
+
- https://www.rfc-editor.org/rfc/rfc8259#section-6
|
|
149
|
+
- https://tc39.es/ecma262/#sec-ecmascript-language-types-number-type
|
|
150
|
+
examples:
|
|
151
|
+
- old: 1e3
|
|
152
|
+
new: '1000'
|
|
153
|
+
canonical: f64(1000.0)
|
|
154
|
+
- old: '1.0'
|
|
155
|
+
new: '1'
|
|
156
|
+
canonical: f64(1.0)
|
|
157
|
+
- id: core.string_literal.decoded_value.safe
|
|
158
|
+
status: implemented
|
|
159
|
+
languages:
|
|
160
|
+
- python
|
|
161
|
+
- javascript
|
|
162
|
+
- typescript
|
|
163
|
+
- tsx
|
|
164
|
+
- csharp
|
|
165
|
+
evaluator: string_literal_equivalence
|
|
166
|
+
node_types:
|
|
167
|
+
- string
|
|
168
|
+
- string_literal
|
|
169
|
+
- character_literal
|
|
170
|
+
group_kind: IGNORED_STYLE
|
|
171
|
+
enabled: true
|
|
172
|
+
risk: amber
|
|
173
|
+
equivalence_kind: canonical_value_equivalence
|
|
174
|
+
stage: post_diff_refinement
|
|
175
|
+
guarantee: spec-defined-with-guards
|
|
176
|
+
explanation: Both string literal spellings decode to the same plain string value.
|
|
177
|
+
guards:
|
|
178
|
+
- Only plain non-interpolated string leaves are enabled.
|
|
179
|
+
- Raw strings, byte strings, regex literals, templates, f-strings, verbatim strings, and source-map-sensitive
|
|
180
|
+
constructs remain visible.
|
|
181
|
+
source_refs:
|
|
182
|
+
- https://docs.python.org/3/reference/lexical_analysis.html
|
|
183
|
+
- https://tc39.es/ecma262/
|
|
184
|
+
- https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure
|
|
185
|
+
examples:
|
|
186
|
+
- old: '''semanticdiff.com'''
|
|
187
|
+
new: '"semanticdiff.com"'
|
|
188
|
+
canonical: string(semanticdiff.com)
|
|
189
|
+
- id: python.formatting.call_wrapping_equivalence
|
|
190
|
+
status: implemented
|
|
191
|
+
languages:
|
|
192
|
+
- python
|
|
193
|
+
evaluator: formatting_suppression_evidence
|
|
194
|
+
group_kind: IGNORED_STYLE
|
|
195
|
+
enabled: true
|
|
196
|
+
risk: amber
|
|
197
|
+
equivalence_kind: syntactic_trivia
|
|
198
|
+
stage: group_emission
|
|
199
|
+
guarantee: parser-defined-with-guards
|
|
200
|
+
explanation: Formatting-only Python call wrapping and stable wrapper churn were ignored because the
|
|
201
|
+
review-level semantic changes are already represented by more precise changes.
|
|
202
|
+
guards:
|
|
203
|
+
- Only emits evidence from already-suppressed stable wrapper, reorder, or parent-child noise.
|
|
204
|
+
- Does not hide surviving meaningful literal, identifier, call, deletion, or refactoring changes.
|
|
205
|
+
source_refs:
|
|
206
|
+
- https://docs.python.org/3/reference/lexical_analysis.html
|
|
207
|
+
- id: javascript.formatting.call_argument_wrapping_equivalence
|
|
208
|
+
status: implemented
|
|
209
|
+
languages:
|
|
210
|
+
- javascript
|
|
211
|
+
- typescript
|
|
212
|
+
- tsx
|
|
213
|
+
evaluator: formatting_suppression_evidence
|
|
214
|
+
group_kind: IGNORED_STYLE
|
|
215
|
+
enabled: true
|
|
216
|
+
risk: amber
|
|
217
|
+
equivalence_kind: syntactic_trivia
|
|
218
|
+
stage: group_emission
|
|
219
|
+
guarantee: parser-defined-with-guards
|
|
220
|
+
explanation: Formatting-only JavaScript call and argument wrapping were ignored because the review-level
|
|
221
|
+
semantic changes are already represented by more precise changes.
|
|
222
|
+
guards:
|
|
223
|
+
- Only emits evidence from already-suppressed stable wrapper, reorder, or parent-child noise.
|
|
224
|
+
- Does not hide surviving meaningful literal, API, call, deletion, or refactoring changes.
|
|
225
|
+
source_refs:
|
|
226
|
+
- https://tc39.es/ecma262/
|
|
227
|
+
- id: csharp.formatting.initializer_query_output_wrapping_equivalence
|
|
228
|
+
status: implemented
|
|
229
|
+
languages:
|
|
230
|
+
- csharp
|
|
231
|
+
evaluator: formatting_suppression_evidence
|
|
232
|
+
group_kind: IGNORED_STYLE
|
|
233
|
+
enabled: true
|
|
234
|
+
risk: amber
|
|
235
|
+
equivalence_kind: syntactic_trivia
|
|
236
|
+
stage: group_emission
|
|
237
|
+
guarantee: parser-defined-with-guards
|
|
238
|
+
explanation: Formatting-only C# initializer, LINQ query, and output-call wrapper churn was ignored because
|
|
239
|
+
the review-level semantic changes are already represented by more precise changes.
|
|
240
|
+
guards:
|
|
241
|
+
- Only emits evidence from already-suppressed stable wrapper, reorder, or parent-child noise.
|
|
242
|
+
- Does not hide surviving meaningful numeric, ordering, format-string, deletion, or refactoring changes.
|
|
243
|
+
source_refs:
|
|
244
|
+
- https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure
|
|
245
|
+
- id: css.color.canonical_equivalence
|
|
246
|
+
status: implemented
|
|
247
|
+
languages:
|
|
248
|
+
- css
|
|
249
|
+
evaluator: css_color_equivalence
|
|
250
|
+
node_types:
|
|
251
|
+
- color_value
|
|
252
|
+
- plain_value
|
|
253
|
+
- identifier
|
|
254
|
+
- hash_color
|
|
255
|
+
- rule_set
|
|
256
|
+
- declaration
|
|
257
|
+
group_kind: IGNORED_STYLE
|
|
258
|
+
enabled: true
|
|
259
|
+
risk: green
|
|
260
|
+
equivalence_kind: canonical_value_equivalence
|
|
261
|
+
stage: post_diff_refinement
|
|
262
|
+
guarantee: spec-defined
|
|
263
|
+
explanation: Both CSS color spellings resolve to the same canonical sRGB color.
|
|
264
|
+
guards:
|
|
265
|
+
- Only exact named, hex, and simple rgb() sRGB cases are enabled in the current evaluator.
|
|
266
|
+
- Do not hide CSS variables, currentColor, system colors, relative colors, color-mix(), cascade-dependent
|
|
267
|
+
values, or lossy color-space conversions.
|
|
268
|
+
source_refs:
|
|
269
|
+
- https://www.w3.org/TR/css-color-4/
|
|
270
|
+
- https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/CSS_value_serialization
|
|
271
|
+
- https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/
|
|
272
|
+
examples:
|
|
273
|
+
- old: blue
|
|
274
|
+
new: '#0000ff'
|
|
275
|
+
canonical: srgb(0,0,255,1)
|
|
276
|
+
- old: '#00f'
|
|
277
|
+
new: rgb(0 0 255)
|
|
278
|
+
canonical: srgb(0,0,255,1)
|
|
279
|
+
- id: markup.attribute_order_and_boolean_equivalence
|
|
280
|
+
status: implemented
|
|
281
|
+
languages:
|
|
282
|
+
- html
|
|
283
|
+
- xml
|
|
284
|
+
evaluator: parser_normalization
|
|
285
|
+
group_kind: IGNORED_STYLE
|
|
286
|
+
enabled: true
|
|
287
|
+
risk: amber
|
|
288
|
+
equivalence_kind: unordered_collection_equivalence
|
|
289
|
+
stage: parser_normalization
|
|
290
|
+
guarantee: spec-defined-with-guards
|
|
291
|
+
explanation: Markup attribute order, XML attribute order, HTML boolean attribute spelling, and entity
|
|
292
|
+
spelling are normalised at parse time so equivalent forms produce identical semantic trees.
|
|
293
|
+
guards:
|
|
294
|
+
- Namespace declarations (xmlns / xmlns:*) are consumed during QName resolution and stripped from the
|
|
295
|
+
attribute set.
|
|
296
|
+
- Do not hide spread attributes, framework directives, duplicate attributes, child order, preformatted
|
|
297
|
+
text, or binding syntax.
|
|
298
|
+
- HTML class token order is only amber because source spelling and exact attribute selectors may observe
|
|
299
|
+
it.
|
|
300
|
+
source_refs:
|
|
301
|
+
- https://www.w3.org/TR/2004/REC-xml-infoset-20040204/
|
|
302
|
+
- https://html.spec.whatwg.org/dev/common-microsyntaxes.html
|
|
303
|
+
|
|
304
|
+
- id: catalog.parser_only_languages
|
|
305
|
+
# NOT an evaluator: the explicit classification of languages that ship a parser
|
|
306
|
+
# but have NO invariance rules yet (issue #55). The catalog-coverage contract
|
|
307
|
+
# (test_builtin_catalog_covers_every_registered_parser_language) reads this so
|
|
308
|
+
# every language is deliberately classified — adding a language means either
|
|
309
|
+
# giving it real rules or consciously listing it here.
|
|
310
|
+
enabled: false
|
|
311
|
+
status: catalog
|
|
312
|
+
explanation: >-
|
|
313
|
+
Classification only — these languages ship a parser but have no invariance
|
|
314
|
+
evaluators yet. Listed so the catalog-coverage contract proves every language
|
|
315
|
+
is deliberately classified.
|
|
316
|
+
notes: >-
|
|
317
|
+
Issue #55 pruned 14 dead dormant rules; this entry is the surviving explicit
|
|
318
|
+
exemption list. Move a language OUT by giving it real evaluator-backed rules.
|
|
319
|
+
source_refs:
|
|
320
|
+
- https://github.com/buchochelliq-labs/intentumdiff/issues/55
|
|
321
|
+
languages:
|
|
322
|
+
- asciidoc
|
|
323
|
+
- gitignore
|
|
324
|
+
- graphql
|
|
325
|
+
- latex
|
|
326
|
+
- ocaml
|
|
327
|
+
- po
|
|
328
|
+
- reasonml
|
|
329
|
+
|
|
330
|
+
# ── FUTURE CANDIDATES (issue #55) ──────────────────────────────────────────
|
|
331
|
+
# Pruned dormant rules (were enabled: false, never evaluated). Full definitions
|
|
332
|
+
# live in git history; re-add with an EVALUATOR + per-language tests, never as
|
|
333
|
+
# dead configuration. The shell/config family should stay out entirely — the #46
|
|
334
|
+
# campaign showed hiding shell/config changes is the disease, not a feature.
|
|
335
|
+
# - generic.trivia.parser_discarded_equivalence
|
|
336
|
+
# - generic.parentheses.unnecessary_grouping
|
|
337
|
+
# - generic.integer_literal.canonical_value
|
|
338
|
+
# - generic.string_escape.decoded_value
|
|
339
|
+
# - python.keyword_argument_reorder.guarded
|
|
340
|
+
# - ecmascript.literal_and_jsx_text_equivalence
|
|
341
|
+
# - static_typed.trivia_literal_equivalence
|
|
342
|
+
# - dynamic_language.literal_equivalence
|
|
343
|
+
# - shell_and_config.trivia_equivalence
|
|
344
|
+
# - sql.keyword_case_and_whitespace
|
|
345
|
+
# - analytics_languages.presentation_equivalence
|
|
346
|
+
# - css.length_time_angle.canonical_equivalence
|
|
347
|
+
# - data.json_object_member_order
|
|
348
|
+
# - data.yaml_representation_equivalence
|
|
349
|
+
# - low_level_and_legacy.parser_only_catalog
|