Graduate project
graduate_projectGraduates a project from incubator to dedicated repo by copying code (excluding pad/junk files) to a target path, updating stage and repo settings. Dry-run default; use apply:true to execute.
Instructions
One-command incubator → dedicated-repo graduation (lifecycle "Option C"). Copies the project's CODE out to targetPath, EXCLUDING pad files (featurelist/buglist/scratchpad/etc) and junk (node_modules, .git, *.log, .zip, tmp_, ...), then repoints codeLocation, sets stage=graduated and gitTargets.codeRepo, and records the move in the scratchpad. The pad STAYS in the boards dir — it is only read, never modified or deleted — and the target repo additionally gets a read-only snapshot mirror of the pad files under .featureboard/. When commit is on and git is available the copied code + mirror are git-init'd (if needed) and committed; git absence/failure is tolerated as a warning. DRY-RUN BY DEFAULT: apply is false unless you pass apply:true, so the first call returns the plan (source, target, files, skipped) without touching the filesystem. CADSolver was the manual prototype.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | false = dry-run plan only; true = actually move the code. | |
| commit | No | git-init (if needed) + commit the copied code in the target. | |
| project | Yes | ||
| excludes | No | Extra basename glob-ish excludes on top of the defaults. | |
| targetPath | Yes | Destination directory for the graduated code repo. |