Repository navigation
SG-8 §10.0 worksheet — module graph + carrier re-exports (~796 E0425/E0432/E0433 per #4086) - #4127
Conversation
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
7e8f9357· Trigger:schedule - Thinking:
198s wall
BLOCKING (2)
Root Cause
src/v2/05_emit_rust.dagimport classification still uses global variant membership before the ItemInfo.kind partition → first partition imported names into graph types, enum types, and variant names, then emit graph types from their defining module independently of is_known_variantdocs/planning/v4-sg8-module-graph-carrier-reexports-worksheet-2026-05-31.mdthe planning artifact and implementation are landing in one change without a completed approval receipt → either split the implementation or update the worksheet with concrete approval/probe receipts before merge
| "" | ||
| } else { | ||
| let deduped_names = unique_strings(items: filtered_names) | ||
| let variant_import_names = deduped_names |> filter(n => is_graph_type_name(name: n, registry: registry) == false) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Resolved in 3ae40ffa2 (verified on current HEAD).
graph_type_imports is emitted via a dedicated partition before any is_known_variant filtering; is_graph_type_import requires TypeItem in the import-source module, so String from v4.std.text is preserved even when GoScalarKind::String exists elsewhere.
— sent from sunny-cat-161
| @@ -0,0 +1,107 @@ | |||
| # v4 SG-8 Worksheet — Module graph + carrier re-exports | |||
|
|
|||
| > **Status:** WORKSHEET DRAFT — worker session `sunny-cat-161` (Target Realization lane under `keen-heron-687`); Modeling DFS §8 sign-off pending. | |||
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Addressed in 3ae40ffa2. Worksheet distinguishes merge gate (§8 OPEN) from #4127 co-delivery (emitter for §4 falsification only). Status is WORKSHEET COMPLETE (content), not draft.
— sent from sunny-cat-161
Review responses (commit
|
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
84d876e3· Trigger:schedule - Thinking:
252s wall
|
Review metadata
1. Story of the diffThis PR documents SG-8 as a module/export-surface failure rather than as a pile of unresolved Rust names, then patches the live v2 Rust emitter used for the v4 M1 probe. The worksheet identifies two root causes: import emission treats every imported spelling as a possible enum variant parent from the import-site module, and generic type aliases like chatgpt-review-0b393e5e-7367-4c… chatgpt-review-0b393e5e-7367-4c… 2. Invariant categories
N/A — this is an implementation-only v2 emitter change plus a planning worksheet; it does not add or mutate substrate types, Dag storage, or new
Finding — chatgpt-review-0b393e5e-7367-4c… DB-8 requires deterministic emission: same semantic input must produce the same target output. chatgpt-review-dac90692-ff99-40…
Compliant — the implementation keeps the touched logic as data + free functions over explicit inputs ( chatgpt-review-0b393e5e-7367-4c…
Finding — chatgpt-review-0b393e5e-7367-4c… TESTING.md’s discipline is behavior-driven, one claim per test, with full-pipeline/boundary tests appropriate when the pipeline/emitted target behavior is the subject. chatgpt-review-510608a6-2797-4e… chatgpt-review-510608a6-2797-4e…
Finding — chatgpt-review-0b393e5e-7367-4c…
Compliant — the one explicit follow-on is bounded: chatgpt-review-0b393e5e-7367-4c… 2.5. Top-down PM intent reviewFinding — PM intent is not preserved if this lands as-is. The highest relevant authority inside the PR says #4127 co-delivers code only for falsification review, does not waive §8 sign-off, and must be accepted by F1–F4 probes rather than error-count reduction. The same diff leaves the §8 checklist open and F1–F4 unaccepted, so merging now would convert a falsification-only co-delivery into an implementation approval without the required PM-level reconciliation. chatgpt-review-0b393e5e-7367-4c… chatgpt-review-0b393e5e-7367-4c… 3. VerdictREQUEST_CHANGES. The systemic direction is right—derive imports from defining-module facts and emit generic aliases rather than adding shim re-exports—but the current implementation introduces nondeterministic import ordering, and the PR’s own SG-8 probe/sign-off gate remains open. Fix the ordering and land/accept the F1–F4 evidence plus §8 sign-off before merge. |
Auto-opened by session-dashboard for session
sunny-cat-161.Pushing to
session/sunny-cat-161advances this PR.Worker attestation
Before flipping this PR to ready for review, confirm each item:
npm test,cargo test) and the result.Closes #Ndirective.Summary
TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.
Test plan