Repository navigation
Commit 0aebd94
authored
Phase 10: deviation reconciliation — the repairs, three gates and the as-built ledger (#102)
* feat: repair the core defects phase 9 and the reviews found
Status maps every three-place code with #standard? for the protocol
range (HTTP-10); Protocol admits HTTP/1.0 (HTTP-33); URL.parse! wraps
every URI error and refuses a host-less http URL (HTTP-47); Model.own
drops a default proc; the HeaderSyntax predicates are total; a closed
stream is refused at Body.stream; the NaN and Complex duration guards;
the configuration chain no longer nests per configure (CFG-13); the
async logging step stops counting the caller's continuation; the proxy
warning's credential belt is unanchored (OBS-11, CFG-22). Every shipped
signature gains the SPDX header (NFR-13). The runtime manifest gains
Protocol::HTTP_1_0 and Status#standard?; the pins the repairs
invalidated move with them.
* feat: map an HTTP/1.0 or vendor-status head in both transports
Both ResponseMappers now hand HTTP/1.0 and any three-place status to
the model (TRANSPORT-24); their YARD says so, and net_http's stray
@decode_content tag is backticked. The adapter pins that used HTTP/1.0
as the unmappable head now use HTTP/1.2. Every shipped signature in
the four adapter gems gains the SPDX header (NFR-13).
* feat: fold TransportSuite onto Runner and fix the gem-name rule
TransportSuite.run delegates to Runner.run, tearing its fresh cases
down through the around wrapper so Runner is not widened. The default
gem-name rule in PackagingCase reaches all six namespaces: -core is the
root and http/json are acronyms (NFR-15). The NFR-13 pin over this
repository's own signatures now expects :passed.
* feat: add gates:ledger_audit, gates:spdx_rbs and gates:sole_parse
Twenty-four blocking gates, the three new ones in DEFAULT_GATES and in
CI's gates job, each with a fixture workspace that turns it red. The
require allowlist refuses a dexpace/ path with a dot segment, and the
rubocop gate runs with --ignore-parent-exclusion.
* feat: add the probe's ninth check, chapters
A requirement ID attributed to a product-spec chapter that does not
carry it, read clause by clause, with ranges expanded and negations
skipped.
* feat: flip docs/deviations.md to as-built verdicts
All nineteen rows carry a verdict citing gems/ paths and defined
constants, and the amendment set is C1-C18. It rides here because
gates:ledger_audit reads it at run time.
* fix: close the proxy prefix leak, total Status, forward-bind chapters
Review round 0 of phase 10 found four code-layer defects.
R0-4: the proxy warning belt stopped at the first '/', '?' or '#', so
a password holding one leaked its prefix into Kernel#warn and the
config sink. ProxyResolution now scrubs the raw value from the
authority's start through the LAST '@' before the redactor runs.
R0-5: Status.of still threw outside 0..999, narrower than HTTP-10's
"any code MUST return a Status". Construction is now total over
Integer; #standard? stays the protocol range.
R0-6: docs/deviations.md row 10 cited send(:new) as the bypass, but
it runs the validating #initialize. The row is now "confirmed,
narrower" (allocate and duck typing remain) with amendment C19.
R0-8: the chapters check listed "appears in" as a negation, blinding
it to the usual positive attribution. An ID run followed by that
phrase now binds forward to the chapter it introduces.
* fix: give ledger_audit's disable a reason, negate "does not appear"
The one rubocop:disable phase 10 added in tools/ledger_audit.rb
carried no reason; it now says why the row check threads the root
and the resolver (review round 1, R1-3).
The chapters check's forward "appears in" binding turned a negative
sentence ("SEAM-13 does not appear in <chapter>") into a positive
attribution. NEGATION gains "not appear in", "does not appear" and
"do not appear" (R1-4).
* fix: read never-appear and n't-appear as chapter negations
Review round 2 (R2-2) found two more negated spellings of 'appears
in' that bound forward and would fire as a wrong attribution:
'never appears in' and 'doesn't appear in'. Add 'never appear' and
"n't appear" to the chapters check's NEGATION union; 'appears
nowhere' was already there.1 parent b242de6 commit 0aebd94
378 files changed
Lines changed: 1856 additions & 165 deletions
File tree
- .claude/skills/housekeeping
- test
- .github/workflows
- docs
- gems
- dexpace-async-thread/sig/dexpace/async
- thread
- dexpace-conformance
- lib/dexpace/conformance
- sig/dexpace
- conformance
- codec_suite
- executor_suite
- invariant_suite
- packaging_suite
- transport_suite
- wire_server
- test/dexpace/conformance
- dexpace-core
- lib/dexpace
- async
- cancellation
- configuration
- http
- body
- instrumentation
- io
- proxy
- sig
- dexpace
- async
- auth
- bridge
- cancellation
- configuration
- context
- error
- http
- body
- headers
- query
- request_options
- request
- response
- instrumentation
- io
- outcome
- page
- pipeline
- proxy
- recovery
- redirect
- resilience
- serde
- sse
- test/dexpace
- http
- page
- dexpace-serde-json/sig/dexpace/serde
- json
- dexpace-transport-async_http
- lib/dexpace/transport/async_http
- sig/dexpace/transport
- async_http
- test/dexpace/transport/async_http
- dexpace-transport-net_http
- lib/dexpace/transport/net_http
- sig/dexpace/transport
- net_http
- test/dexpace/transport/net_http
- tasks
- test
- fixtures
- gates
- ledger
- gems/dexpace-probe/lib
- workspace
- docs
- sdk-design-ruby
- gems/dexpace-probe/lib
- require_allowlist
- sole_parse
- workspace/tools
- spdx_rbs
- workspace/gems/dexpace-probe/sig/dexpace
- surface
- gates
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
732 | 733 | | |
733 | 734 | | |
734 | 735 | | |
| 736 | + | |
| 737 | + | |
735 | 738 | | |
736 | 739 | | |
737 | 740 | | |
738 | 741 | | |
739 | | - | |
| 742 | + | |
| 743 | + | |
740 | 744 | | |
741 | 745 | | |
742 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments