Repository navigation
drafts: separate workspace projection ownership - #193
Merged
Merged
Conversation
Engine: codex
Engine: codex
4 tasks
There was a problem hiding this comment.
Codex review of 14f9808: nothing found.
No merge-blocking defects found in the workspace ownership extraction.
Contributor
Author
|
Judgment: land. What I checked, against main's rules (
It's a pure refactor that a revert can undo, so it lands. |
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.
Fixes #58
Separate draft workspace projection from lifecycle transitions. The programs slice was completed in #63; #34 is closed and merged, with no active overlapping PR.
Ownership plan recorded before broad edits: move
workspaceand its response types intact intoevaluation_drafts/workspace.rs. Keep record loading, status derivation, and contributor-event appending as explicit crate-visible interfaces owned by the lifecycle module, alongside create/transfer/submit. Re-export existing public workspace names fromevaluation_draftsso callers retain their imports. Update the development source map.Impact: no service/refusal, authorization, transaction, serialization, schema, canonical/export-byte, or public signature changes. No migration or ADR is needed for this ownership-only extraction. Rung 1: one owning module for workspace projection; compatible re-exports introduce no duplicate implementation.
Plan and acceptance: integrator owns extraction and verification, authorized by the owner's issue #58 assignment; no numeric effort budget. First extract without body changes, then compare moved text against base, run programs/programs_api/enrollments/evaluation_drafts/draft_review and affected finalization/export suites, then all CONTRIBUTING gates including all browser scenarios. Next action: perform extraction. Local and hosted evidence will be recorded separately here.
Implementation complete at
14f9808646a153eb71c9787ec0e1e908982afff5: lifecycle owner is 658 lines; workspace owner is 379 lines. Compared every moved response type and the entire workspace function against origin/main (929531e): identical except the leading separator blank line removed by formatting. All existing public names are re-exported; no caller changes.Local checks passed:
cargo fmt --check,scripts/check-guidance-names.sh(12 files),git diff --check, extraction comparison. The first strict extraction comparison detected that single leading blank line; the inspected unified diff and corrected comparison confirm no moved-body edits.Local proof is blocked before execution:
heavy -- cargo test -p consolebook-server --test programs --test programs_api --test enrollments --test evaluation_drafts --test draft_review --test finalization --test record_export --test amendments --test trainee_packet --test installation_export --test export_stream_bytesexited becauseheavy: cannot open /run/burrow-heavy/slot1: No such file or directory (os error 2). No integration test ran and no full local gate receipt is claimed. Heavy work was not run outside the required limiter. Hosted flake and pr-gate checks cover the Rust integration suites and full browser suite; their results remain pending on the final head.Next action: inspect exact-head hosted verification and review, address findings, and reconcile acceptance before completion.
Hosted verification observed on head
14f9808646a153eb71c9787ec0e1e908982afff5: pr-gate passed web install/check/build, all workspace Rust tests (including the named integration suites), binary build, and 70 browser scenarios. Flake gate passed; both release architecture builds and CodeQL passed. These are hosted results, not a local proof receipt. The review found no defects, and the independent judgment recommends landing. Next action: await steward merge.