cleanup: local-e2e-setup.sh — symlink injection optional via --with-symlink #5

Merged
claude-ceo-assistant merged 1 commits from cleanup/post-prd-setup-script into main 2026-05-08 12:35:40 +00:00

1 Commits

Author SHA1 Message Date
claude-ceo-assistant
82d1070a44 cleanup: local-e2e-setup.sh — symlink injection optional via --with-symlink
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
2026-05-08 05:35:25 -07:00