Repository navigation
Closed
5 / 55 of 5 issues completedClosed
5 / 55 of 5 issues completed
Copy link
Labels
area:workspaceWorkspace tooling, justfile, templateseffort:largeMore than 4 hours or multi-sessionfeatureNew feature or requestpriority:highShould be done in the current milestonesemver:minorNew feature, backward-compatible
Milestone
Description
Description
Replace the current dual-system approach (sync-manifest.txt + prepare-build.sh for build-time copies, and sync-workspace.sh for pre-commit-time generation with transformations) with a single declarative Python manifest that handles both what gets copied into assets/workspace/ and how files are transformed.
Problem Statement
We currently have two competing systems for getting files into the workspace template:
sync-manifest.txt+prepare-build.sh— build-time overlay that copies repo-root files intobuild/assets/workspace/. Tested viatest_manifest_files(SHA-256 checksum verification).sync-workspace.sh— pre-commit hook that copies + transforms files intoassets/workspace/(committed to the repo).
This causes:
- Duplicate logic for copying files
- Commented-out manifest entries to avoid conflicts
- Fragile awk/sed/grep transformations scattered across a shell script
- Two systems to maintain, with neither being the full picture
Proposed Solution
Create a single Python manifest (scripts/sync_manifest.py) that declaratively describes both file mappings and transformations:
MANIFEST = [
# Copy as-is
Entry(src=".yamllint"),
Entry(src=".hadolint.yaml"),
Entry(src=".github/workflows/scorecard.yml"),
# Copy with transformations
Entry(src=".cursor/rules/", transforms=[
Sed(file="commit-messages.mdc", pattern=r"Full reference: \[docs/.*\]\n", replace=""),
]),
Entry(src=".pre-commit-config.yaml", transforms=[
RemoveHooks(["generate-docs", "sync-workspace"]),
Sed(pattern="s|bandit -r packages/vig-utils/src/ scripts/ assets/workspace/|bandit -r src/|g"),
]),
]prepare-build.shcallsuv run python scripts/sync_manifest.py sync build/assets/workspace/- The
just sync-workspacerecipe calls the same script targetingassets/workspace/ test_manifest_filesreads the same manifest, skipping checksum verification for transformed entries- Remove
sync-workspace.sh,remove-precommit-hooks.py, and the pre-commitsync-workspacehook
Alternatives Considered
- Keep both systems — current state; causes confusion and manifest/test drift
- Add transformations to
prepare-build.shas shell code — keeps bash, but transformations stay fragile and non-declarative - YAML/TOML manifest — possible, but Python gives us type safety and the transform functions live next to the data
Additional Context
- Related to Add Cursor commands and rules for agent-driven development workflows #63 (agent-driven development workflows — the workspace sync was introduced here)
- The existing
sync-manifest.txtwas introduced in PR feat: automate and standardize repository setup #54 alongsideprepare-build.sh - BATS tests for
prepare-build.shexist (tests/bats/prepare-build.bats) and will need updating test_manifest_filesintest_image.pyverifies checksums and will need a "skip transforms" path
Impact
- Beneficiaries: Maintainers adding new workspace template files or transformations
- Compatibility: No change to the built image content — only build pipeline internals
- Risks: Low; the manifest is tested and the output is identical
Changelog Category
Changed
Sub-issues
Collapse Sub-issuesSub-issues
Loading 5 sub-issues
Metadata
Metadata
Assignees
Labels
area:workspaceWorkspace tooling, justfile, templateseffort:largeMore than 4 hours or multi-sessionfeatureNew feature or requestpriority:highShould be done in the current milestonesemver:minorNew feature, backward-compatible
Activity
refactor: replace sync-manifest.txt with declarative Python manifest
refactor: replace sync-manifest.txt with declarative Python manifest
chore: fix trailing blank line in pr-65.md
chore: merge feature/61 (agent-friendly templates and changelog rule)
refactor: rename start-issue command to claim-issue with assignment c…
chore: add plan.md transform to sync manifest
gerchowl commentedon Feb 18, 2026
Design: Skill Namespace Renaming (Colon-Separated Prefixes)
Problem
15 flat skill folders in
.cursor/skills/make it hard to filter and invoke the right skill quickly. No grouping or namespace hints in the names.Approach
Add colon-separated namespace prefixes to skill folder names. Cursor doesn't support nested skill directories, so the namespace is encoded in the flat folder name itself (e.g.,
git:commit). Typingcode:in the skill picker filters to implementation skills only.Mapping
issue:createcreate-issueissue:claimclaim-issueissue:triageissue-triagedesign:brainstormbrainstormdesign:planplancode:executeexecute-plancode:tddtddcode:debugdebugcode:verifyverifycode:reviewreviewgit:commitcommit-msgci:checkcheck-cici:fixfix-cipr:createsubmit-prpr:post-mergeafter-pr-mergeWorkflow flow (left to right)
What changes
For each skill rename:
.cursor/skills/<old>/→.cursor/skills/<new>/name:frontmatter inSKILL.md../old/SKILL.md→../new/SKILL.md)scripts/sync_manifest.pytransform targetsassets/workspace/.cursor/skills/<old>/→assets/workspace/<new>/(or re-run sync).github/label-taxonomy.toml,CHANGELOG.mdConstraints
:) chosen as separator — unambiguous, no collision with kebab-case wordsassets/workspace/.cursor/skills/is a sync mirror; rename source first, then syncrefactor: namespace-prefix all Cursor skill names with colon separator
refactor: consolidate label taxonomy as single source of truth
feat: add autonomous CI check and fix capabilities
fix(agent): address PR #68 review comments
chore: merge branch 'dev' into feature/67-declarative-sync-manifest
fix: correct BATS test failures in init-workspace and prepare-build s…
feat: agent-driven development workflows, templates, and declarative …
chore: release 0.3.0 (#270)