Skip to content

fix(workspace): sync scripts referenced by justfiles into manifest (#190) - #191

Merged
gerchowl merged 1 commit into
devfrom
bugfix/190-sync-missing-workspace-scripts
Feb 24, 2026
Merged

gerchowl merged 1 commit into
devfrom
bugfix/190-sync-missing-workspace-scripts

Conversation

@gerchowl

@gerchowl gerchowl commented Feb 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes #190 — scripts referenced by synced justfiles and pre-commit were not deployed to workspaces.

Changes

  1. Manifest entries — Add resolve-branch.sh, derive-branch-summary.sh, check-skill-names.sh to scripts/manifest.toml with dest .devcontainer/scripts/

  2. Path resolution — Update justfile.worktree to use source_directory() / "scripts" instead of $(pwd)/scripts/:

    • Devcontainer repo: source_directory() = repo root → scripts/ ✓
    • Deployed workspace: source_directory() = .devcontainer/ → .devcontainer/scripts/ ✓
  3. Pre-commit transform — Add Sed transform to update check-skill-names.sh path from scripts/ to .devcontainer/scripts/ in synced .pre-commit-config.yaml

Note

Issue #190 lists devc-remote.sh as a fourth script; it does not exist in the current codebase. The three scripts that exist are now synced. If devc-remote.sh is added later, a manifest entry can be added in a follow-up.

Verification

  • uv run python scripts/sync_manifest.py sync assets/workspace/ — all entries sync successfully
  • just -f justfile.worktree --list — parses correctly
  • uv run pytest tests/test_transforms.py tests/test_utils.py — 78 passed

)

- Add manifest entries for resolve-branch.sh, derive-branch-summary.sh,
  check-skill-names.sh → .devcontainer/scripts/
- Update justfile.worktree to use source_directory() / "scripts" for
  portable path resolution (devcontainer repo vs deployed workspace)
- Add Sed transform for check-skill-names.sh path in synced pre-commit

Refs: #190
Co-authored-by: Cursor <[email protected]>
@gerchowl
gerchowl merged commit 32a71ad into dev Feb 24, 2026
11 checks passed
@gerchowl
gerchowl deleted the bugfix/190-sync-missing-workspace-scripts branch February 24, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant