Follow-up to molecule-ai-org-template-molecule-dev PR #6 (PR-D in the
internal#77 phasing) which removed the dev-lead symlink from the parent
template. Without this update, running the setup script errored out
because it required a symlink that the parent no longer ships.
Changes:
- Default mode: clone parent template only. No sibling clone, no
symlink. The canonical local-e2e test (TestLocalE2E_ExternalDevDepartment)
uses the !external resolver to fetch the dev tree at test runtime —
no filesystem fixture needed.
- --with-symlink flag: keeps the legacy sibling-clone + symlink layout
for the symlink-based regression tests
(TestLocalE2E_DevDepartmentExtraction + TestLocalE2E_FilesDirConsumption).
Script INJECTS the symlink (since parent no longer ships it post-PR #6).
- Updated 'Run tests' guidance: !external test is the canonical e2e;
symlink tests are opt-in regression coverage for the path the resolver
still supports but no production template uses.
VERIFIED LOCALLY 2026-05-08:
- Default mode: clone parent only, layout correct.
- --with-symlink mode: parent + dev-department + injected symlink, layout correct.
- Full TestLocalE2E_* test suite passes against --with-symlink fixture (1.7s).
Refs:
internal#77 — extraction RFC
molecule-ai/molecule-ai-org-template-molecule-dev#6 — PR-D (symlink removal)
task #235 follow-up — finishes the cleanup the PR-D description mentioned