Repository navigation
v4 debt paydown: §A1 dissolve landed-T-25-core formatter refinement gates (69 sites). Per docs/audit/v4-deferral-audit-2026-05-29.md §A1, replace annotated Int/String fields with Refined<Int>/Refined<String> + Validation predicates against the landed src/v4/std/refinement.dag (PR #3354). Breakdown: #3914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c56bb27
WIP: v4 debt paydown: §A1 dissolve landed-T-25-core formatter refinem…
briansrls 99672dd
WIP: v4 debt paydown: §A1 dissolve landed-T-25-core formatter refinem…
briansrls 6b72325
rustfmt.dag: narrow refined-String docstrings to enforced predicate, …
briansrls fd5d745
WIP: v4 debt paydown: §A1 dissolve landed-T-25-core formatter refinem…
briansrls 36c4c88
rustfmt.dag: gate RustfmtSemverVersion grammar gap per openai-pro REQ…
briansrls 1aa42c4
§A1 black smoke #[ignore]: record P5(b) deferral in INVARIANTS_OPS + …
briansrls 5db3303
test ratchet: update ci_srv* pool string matchers for Refined<Int> wrap
briansrls 9fa7f78
Merge remote-tracking branch 'origin/main' into session/wise-lynx-130
briansrls fe9cc18
WIP: v4 debt paydown: §A1 dissolve landed-T-25-core formatter refinem…
briansrls ca30c4c
clang_format.dag: sentinel-as-coproduct refactor per codex BLOCKING +…
briansrls 00f0576
Merge origin/main: resolve swift_format/ci.dag conflicts
briansrls b33e259
chore: empty commit to force fresh CI checkout (runner srv2-21 stale …
briansrls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BLOCKING: BlackPositiveInt is only a bare alias to Refined, so the Validation is not carried by the field type and Refined { base: 0 } still inhabits BlackConfig.line_length, violating P2/P6 illegal-states and API-level enforcement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolution: audit pattern stands (manager direction).
§A1 of docs/audit/v4-deferral-audit-2026-05-29.md (canonical on main since b9bae8e) explicitly cites
extdeps/posix.dagandextdeps/formatters/ktfmt.dag:29as the reference dissolution shape. Both are baretype X = Refined<B>aliases over the landedsrc/v4/std/refinement.dag(PR #3354) and both ship on main today. Under those landed references,Refined { base: N }is constructible directly — the substrate's contract is "go throughrefineat the boundary," not "opaque carrier." This PR matches the reference pattern exactly.Opaque-constructor / witness-binding semantics for
Refined<B>would be a load-bearing edit tosrc/v4/std/refinement.dagitself — explicitly outside §A1 scope (which dissolves consumer gates against the landed substrate), and per the project's intro docs requires its own escalation, not in-PR scope creep on a dissolution sweep.Tracking the opaque-constructor question as a possible separate substrate follow-on; not blocking §A1.