Repository navigation
feat: CS-18 convert-witness scenario -- planted-call adjudication over the exported ms_convert face (pillar 3) - #131
Merged
Conversation
…r the exported ms_convert face (pillar 3) The eighteenth pillar-3 witness. bench/scenarios/run_convert_witness.R replays 38 observation arms plus 8 boundary-twin rows live through the canonical pipeline and commits five TSV ledgers; the law file carries 10 test_that units (233 expectations, 0 failed / 0 error / 0 skipped / 0 warning). One validator serves both option names -- the ten-arm resolver runs twice, so a bad bundled name speaks msuiter_error_option under the "from must be ..." or "to must be ..." head, and every shape, length, label, positivity and signature-matrix law speaks msuiter_error_input; ten precedence discriminators pin each fires anchor present against its anti anchor absent. D11 cross-platform posture: the accepted arms return a real float matrix (kernel round-trip error ~1e-16), so the accepted renders commit a DISCRETE column-sum glyph (0/1/? at 1e-9) in place of the payload -- the first witness in the series to commit a glyph rather than a class token for its accepting arms. Integer, label, logical, class and clause bytes are byte-committed; floats are censused finite/in-domain only. Governance: T0 seal 626 -> 627 (generator refusal witnessed verbatim before the deliberate re-seal), reified manifest 112 files, new law file on shard 4. Docs quartet landed (devlog, paper-draft, docs-bridge, _pkgdown.yml); docs-bridge and pkgdown-coherence green locally. Local gate: frozen 2W/1N baseline (CITATION.cff top-level + Rust crates download; CITATION.cff placement NOTE), 0 errors, CHECK-EXIT=1. Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this lands
The eighteenth pillar-3 witness: CS-18 convert-witness, adjudicating the
exported opportunity-converter face
ms_convert()over plantedsignature-and-opportunity calls.
bench/scenarios/run_convert_witness.R-- the runner: 38 observation armsplus 8 boundary-twin rows replayed live through the canonical pipeline, five
TSV ledgers committed, dual-kernel sha256 attestation on the plant/spec
corpora and on each written file.
tests/testthat/test-scenario-convert-witness.R-- 10test_thatunits,233 expectations, 0 failed / 0 error / 0 skipped / 0 warning.
bench/scenarios/out/cs18_{laws,specs,precedence,degenerates,scalars}.tsv-- the receipts.
What the face demonstrates
One validator serves both option names: the ten-arm resolver
.ms_convert_resolve_opps()runs TWICE, so a bad bundled name speaksmsuiter_error_optionunder the leading head "from must be a bundled table ora custom frequency vector" or its "to must be ..." twin (sharing the
[V]-discipline panel bullet verbatim), and every shape, length, label,positivity and signature-matrix law speaks
msuiter_error_input. The 38-rowclass census (
msuiter_error_input=17,msuiter_error_option=8,s7:matrix=11,s7:msuiter::MsSignature=1,s7:character=1) is recomputedfrom the frozen vectors inside the law file.
Ten precedence discriminators each pin fires-anchor-present against
anti-anchor-absent: signature-shape outranks both option laws, rownames
outranks the
tolaw,fromresolves beforeto, length outranks labels, andthe multi-column law outranks labels.
D11 cross-platform posture (the new thing)
The accepted arms return a REAL float matrix (kernel round-trip error
~1e-16), so under the D11 posture no float payload can ride a byte-committed
column. The accepted renders therefore commit a discrete column-sum glyph
(
0/1/?at a 1e-9 threshold, seven orders above the observed error) inplace of the numbers -- the first witness in the series to commit a glyph
rather than a class token for its accepting arms. Integer, label, logical,
class and clause bytes stay byte-committed; floats are censused finite/in-domain
only.
Honest note from the lane-building
The runner's own degenerate rail caught a drafted-innocent bug before any
witness byte was trusted: the
fromopt-vs-tooptboundary contrast had beenwritten against a clause head literal one word short.
head1()splits on" | "and returns the WHOLE first clause, so the first runner invocation diedon the rail's own
stopif. The fix went into BOTH the runner tail and the U7unit via the assemblers (never hand-edited in place). That is why the
boundary-contrast assertions are
" | "-split rather than substring-based -- asubstring rail would have passed the short literal vacuously.
Governance
(the DEFECT line naming 627 against the sealed 626) before the deliberate
re-seal, per the budget law.
paper-draft.qmdreference,docs-bridge.Rmdrow,_pkgdown.ymlarticles row.test-docs-bridge.Rnb=15 andtest-pkgdown-coherence.Rnb=18 both greenlocally (0 failed / 0 error / 0 warning, 1 R-CMD-check-context skip each,
zero census violations).
Local gate
Frozen 2W/1N baseline, 0 errors, CHECK-EXIT=1 (43m 18.8s):
top-level files--CITATION.cffnon-standard top-level entry(pre-existing).
Rust compilation-- "Downloads Rust crates" (pre-existing).package subdirectories--CITATION.cffplacement (pre-existing).No new warnings or notes;
checking tests ... [34m/34m] OK,checking re-building of vignette outputs ... [425s/422s] OK.Test plan
(
tools/ci/shard-manifest.tsvregenerated in-workflow)🤖 Generated with Claude Code