Feat: develop a unit externally - #407
Draft
jeromevdl wants to merge 27 commits into
Draft
Conversation
jeromevdl
force-pushed
the
feat/workflow-handoff
branch
from
August 19, 2026 13:54
590cbe9 to
84b1afd
Compare
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.
Important
This PR is a follow-up to #403 and depends on the native workspace exporter introduced there.
It must not be merged before #403 is merged.
While #403 is open, this PR should be reviewed as a stacked change against
feat/workflow-exporter. After #403 merges, the PR can be rebased or retargeted tomain.Summary
This PR adds an additional native workspace export mode for one Construction unit: code-generation only, with workflow continuation in Collaborative AI-DLC.
When a non-autonomous unit reaches the existing validation gate immediately before
code-generation, the developer can either:another preferred environment.
The second option parks only that unit lane. Independent lanes and the overall intent remain running. The developer downloads a native AI-DLC workspace scoped to the selected unit, pushes changes to the existing unit branch, then submits the native
code-generation-planandcode-summary. Collaborative AI-DLC validates and imports the result, completes the parkedcode-generationstage, and resumes the normal cloud workflow.What changed
Construction gate and handoff
code-generation.HUMAN#,STAGE#, andUNIT#lifecycle instead of adding a separate handoff state machine.Unit-scoped native export
unit-handoffprojection mode on top of the exporter from feat: export native AI-DLC workspaces #403.code-generationstage is parked on the current external-development task.code-generationstage. Later stages remain cloud-owned and run after the handoff is accepted.workflow-continuationexports unchanged.Submission and workflow continuation
code-generation-plan.mdandcode-summary.md.Relationship to #324
This PR implements a practical first slice of #324 using the workflow and exporter infrastructure that already exists. It intentionally does not implement the RFC's full session platform.
Implemented
Not implemented in this PR
For these reasons, this PR only references #324 (but does not close it).
Verification
Related to #324.