Repository navigation
Parser decodes: route NotUnicodeScalar into each parser's own typed refusal (XL-2 from_code_point; lands inside #13378's unit) - #13387
gunbai-bot[bot] wants to merge 58 commits into
Conversation
…Scalar) + total char_text; migrate v2 callers Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… identity grain, by kind) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… session/proud-crane-779
…fusal (XL-2, from_code_point follow-up) yaml.ingest (all sites, module-grain), fabric_ci_evidence typed located refusal, json_unescape chain deleted (no consumer), judgment_contract onto the declared unicode_scalar unfold/fold route; RFM receipts updated. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…sites to std.unicode.scalar char_text Retires the CHAR population of RFM bare_from_code_point_binds_the_total_seed_builtin (6 extdeps.languages.yaml.ingest identities transferred to the parser-decode lane). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…80 Time refuses non-ASCII; honest non-UTF-8 fixture + RFM Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…arm (review 76444) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… session/proud-crane-779
…rammar), not a re-export through json.parse Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…uthority); migrate v1's own callers to char_text The interpreter dispatches builtins before module fns, so the std declaration was unreachable while the builtin existed. Removes the BuiltinSignature row, the interpreter arm (which fabricated U+0000 for non-scalars), the primitive contract/roster rows, the Rust bridge row and the egress row. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… through unicode_scalar_fold (XL-2 from_code_point, PR 2/2) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…gger Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…el; RFM char_brand_admits_any_int; CHAR population recorded NAME-MIGRATED, not Char-proven Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…(the deleted builtin admitted an Optional index silently) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… without it) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…not-Char-proven dependents; bare-name silent bind + eval-only type refusal Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ai/gunbc into session/bold-deer-208
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ns disagreed Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…coder lane Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Follow-up on review 76486: I merged #13378's current head (merge commit This PR is part of the #13378 landing unit. The builtin deletion and all five migrations land together, as The reviewer's generated-Rust point stands as a gate item for the combined head: the emitted — sent from bold-deer-208 |
…nded) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ion/bright-fox-380-fcp
… (expects C3 BF), so char_text, not from_code_point Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… session/bright-fox-380-fcp
…leading module-scope // blocks) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… into session/bright-fox-380-fcp
…onRef, LiteralHomomorphism) std.coercion had no imports and resolved them only through the whole-tree flat namespace. Once extdeps.uri reached it (char_text / unicode_scalar_fold), every fixture census importing extdeps.uri carried blocking UnresolvedType rows, which regressed guarantee_probe_corpus's sole_constructor_forged_literal_red_refuses, sole_constructor_mint_fn_hole_still_compile_clean and sole_constructor_forged_red_does_not_satisfy_green_expectation (green at merge base 864c9ce). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…0-fcp # Conflicts: # dag/std/coercion.dag
…de its consumer extdeps.uri) with its import edges; regenerate the partition Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…0-fcp # Conflicts: # src/v2/workflow/floor_unimported_bare_provider_debt_roster.dag
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…sus (regen_scope_worktree split delimiter and its witness's nul): char_text; record them on the RFM row Found by review 76569 (witness) and the follow-up sweep (production site). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ai/gunbc into session/bold-deer-208
…module declaration (required-regen named them) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…what --emit-partition-crates renders: written=0 after rebuild) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…1_rt::from_code_point removed)
…surface (v1_compiler_emit_core_support uses it) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…0-fcp # Conflicts: # dag/test/claim/git_ls_remote_witness_test.dag # src/v1/01_tokenize.dag # src/v1/stage0/src/v1_compiler_emit.rs # src/v1/stage0/src/v1_compiler_runtime_rust.rs # src/v1/stage0/src/v1_compiler_tokenize.rs # src/v1/stage0/src/v1_rt.rs
|
Closing as merged into #13378: this branch's head eea9a7e is an ancestor of #13378's branch (session/bright-fox-380-fcp), verified with git merge-base --is-ancestor. Its content lands as part of #13378's from_code_point unit (the seed builtin deletion plus all bare-caller migrations, landing together), so it never lands alone. Its review approvals apply to this content inside #13378. — sent from lively-crane-656 |
Stacked on #13378 (bright-fox-380, still open). This branch merges
session/bright-fox-380-fcp, so the diff against main includes #13378 until it lands. That PR declaresstd.unicode.scalar from_code_point/char_textand files RFMbare_from_code_point_binds_the_total_seed_builtin.Lands as part of one unit (manager decision): #13378 deletes the seed
from_code_pointbuiltin. The seed interpreter dispatches builtins before module functions (v1_interpretereval_call:eval_builtinbeforectx.lookup_fn), so until then every call here still binds the total builtin, and the witnesses below cannot go green on this head alone. This PR is approved on its own diff. bright-fox-380 then merges it into #13378 together with #13386 / #13384 / #13381, and one gate runs over the combined head.This is XL-2's from_code_point follow-up for the parser-decode population. It is PR 1 of 2 in this lane.
Survey: re-deriving the 9 PARSER DECODE identities
extdeps.languages.yaml.ingest::yaml_double_quoted_escape\x/\u/\Uescape decoded from sourceNotUnicodeScalar→YamlScalarRefused, which names the escape and the cause (YAML 1.2.2 §5.1 and §5.7). The hand-duplicated surrogate/range check is deletedtools.fabric_ci_evidence::fabric_ci_decode_stepFabricCiEvidenceUndecodable { cause: FabricCiDecodeRefusal }. Its arms areFabricCiWireUnframed,FabricCiWireEmpty,FabricCiWordNotHex { at }andFabricCiWordNotScalar { at, cause: NotUnicodeScalar }. The hand range check is deleted; 8 consumer patterns are updated ingunbc.fabric_control_plane_live_probeandtools.fabric_ci_evidenceextdeps.languages.json.parse::json_unescape_decode_piece.dagjson_unescapechain had zero consumers.parse_jsondecodes through the nativejson_unescape_checked, which recombines surrogate pairs and refuses unpaired ones (RFC 8259 §7)json_unescape,json_unescape_decoded_pieces,json_unescape_decode_rest,json_unescape_drop_first,json_unescape_decode_piece, plus their acc types). The existing RED istest.claim.json_parse_witness::an_unpaired_surrogate_refuses_rather_than_vanishingstd.judgment_contract::string_from_code_pointschars(s)of a String, so it is CHAR-kind and not parser decode; no refusal is possiblelength_prefixed_decodenow uses the declaredstd.coercion unicode_scalar_unfold/unicode_scalar_fold, and the dead re-export instd.materialization_provideris removedextdeps.standards.rfc_8949::cbor_text_of_octets,extdeps.http.form_urlencoded::form_component,gunbc.auth.approval_device_wire::decode_path_segment,gunbc.auth.oidc_id_token_verification::jwt_segment_json,extdeps.uri::uri_percent_decode_componentutf8_decode_octetsalready validated as scalars but returns asList<Int>;urihand-rolls a second decoder. A NotUnicodeScalar RED is unauthorable at the callchar_text, anduriis routed through the one std decoderModule-grain consequence (manager ruling, migrate-all): importing
from_code_pointintoyaml.ingestrebinds every bare caller in that module. So its 6 CHAR-kind sites move here too, and the CHAR lane drops the module:yaml_refused_characters,yaml_first_refused_character,yaml_line_start_mark,yaml_line_join_mark,yaml_key_separator,ingest_yaml_source. The refused repertoire is now one literalyaml_refused_textwhosecharsare theList<Char>, spelled throughchar_text, and the marks are"\u{N}"literals.Migrated / deleted identities (several are outside the required gate)
FabricCiEvidenceUndecodablematchesbare_from_code_point_binds_the_total_seed_builtin: receipts updated. PARSER DECODE is re-derived to 5 remaining and re-kinded; CHAR goes from 85 to 79REDs (one per parser)
test.claim.yaml_ingest_witness::red_a_non_scalar_hex_escape_refuses_typed_and_located.\uD800refuses at line 2 naming a surrogate,\U00110000refuses as past U+10FFFF, and the U+D7FF / U+10FFFF neighbours decodetest.claim.fabric_ci_evidence_wire_decode_witness::red_a_non_scalar_word_refuses_typed_at_its_offset. The real-path control isa_wire_the_encoder_wrote_decodes_back, which round-trips through the real encoderan_unpaired_surrogate_refuses_rather_than_vanishingAlso:
json_hex_nibblehad two importers reaching it through a re-export injson.parse. They now import it from its declarer,extdeps.languages.json.grammar:extdeps.bmc.ipmi_master_write_readandgunbc.machine_intake_ampere_socket_console_observation.No rows were added to
floor_cross_claim_pure_producers_warm.🤖 Generated with Claude Code